/**
 * Minified by jsDelivr using Terser v5.48.0.
 * Original file: /npm/@scalar/api-reference@1.59.3/dist/browser/standalone.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.nonce=document.head.querySelector("meta[property=csp-nonce]")?.content,e.setAttribute("id","scalar-style"),e.appendChild(document.createTextNode('/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-font-weight:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-mask-linear:linear-gradient(#fff, #fff);--tw-mask-radial:linear-gradient(#fff, #fff);--tw-mask-conic:linear-gradient(#fff, #fff);--tw-mask-left:linear-gradient(#fff, #fff);--tw-mask-right:linear-gradient(#fff, #fff);--tw-mask-bottom:linear-gradient(#fff, #fff);--tw-mask-top:linear-gradient(#fff, #fff);--tw-mask-top-from-position:0%;--tw-mask-top-to-position:100%;--tw-mask-top-from-color:black;--tw-mask-top-to-color:transparent;--tw-mask-bottom-from-position:0%;--tw-mask-bottom-to-position:100%;--tw-mask-bottom-from-color:black;--tw-mask-bottom-to-color:transparent;--tw-leading:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}[data-v-b258a15f],[data-v-b258a15f]:before,[data-v-b258a15f]:after,[data-v-b258a15f]::backdrop{--tw-outline-style:solid}}}@layer scalar-base{body{line-height:inherit;margin:0}:root{--scalar-border-width:.5px;--scalar-radius:3px;--scalar-radius-lg:6px;--scalar-radius-xl:8px;--scalar-font:"Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--scalar-font-code:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--scalar-heading-1:24px;--scalar-page-description:16px;--scalar-heading-2:20px;--scalar-heading-3:16px;--scalar-heading-4:16px;--scalar-heading-5:16px;--scalar-heading-6:16px;--scalar-paragraph:16px;--scalar-small:14px;--scalar-mini:13px;--scalar-micro:12px;--scalar-bold:600;--scalar-semibold:500;--scalar-regular:400;--scalar-font-size-1:21px;--scalar-font-size-2:16px;--scalar-font-size-3:14px;--scalar-font-size-4:13px;--scalar-font-size-5:12px;--scalar-font-size-6:12px;--scalar-font-size-7:10px;--scalar-line-height-1:32px;--scalar-line-height-2:24px;--scalar-line-height-3:20px;--scalar-line-height-4:18px;--scalar-line-height-5:16px;--scalar-font-normal:400;--scalar-font-medium:500;--scalar-font-bold:700;--scalar-text-decoration:none;--scalar-text-decoration-hover:underline;--scalar-link-font-weight:inherit;--scalar-sidebar-indent:20px;--scalar-sidebar-padding:12px}.dark-mode{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--scalar-scrollbar-color:#ffffff2e;--scalar-scrollbar-color-active:#ffffff5c;--scalar-button-1:#fff;--scalar-button-1-hover:#ffffffe6;--scalar-button-1-color:black;--scalar-shadow-1:0 1px 3px 0 #0000001a;--scalar-shadow-2:0 0 0 .5px var(--scalar-border-color), #0f0f0f33 0px 3px 6px, #0f0f0f66 0px 9px 24px;--scalar-lifted-brightness:1.45;--scalar-backdrop-brightness:.5;--scalar-text-decoration-color:currentColor;--scalar-text-decoration-color-hover:currentColor}.light-mode{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--scalar-scrollbar-color-active:#0000005c;--scalar-scrollbar-color:#0000002e;--scalar-button-1:#000;--scalar-button-1-hover:#000c;--scalar-button-1-color:#fff;--scalar-shadow-1:0 1px 3px 0 #0000001c;--scalar-shadow-2:#00000014 0px 13px 20px 0px, #00000014 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness:1;--scalar-backdrop-brightness:1;--scalar-text-decoration-color:currentColor;--scalar-text-decoration-color-hover:currentColor}.light-mode .dark-mode{--lightningcss-light: !important;--lightningcss-dark:initial!important;color-scheme:dark!important}@media (width<=460px){:root{--scalar-font-size-1:22px;--scalar-font-size-2:14px;--scalar-font-size-3:12px}}@media (width<=720px){:root{--scalar-heading-1:24px;--scalar-page-description:20px}}:root{--scalar-text-decoration:underline;--scalar-text-decoration-hover:underline}.light-mode{--scalar-background-1:#fff;--scalar-background-2:#f6f6f6;--scalar-background-3:#e7e7e7;--scalar-background-accent:#8ab4f81f;--scalar-color-1:#1b1b1b;--scalar-color-2:#757575;--scalar-color-3:#8e8e8e;--scalar-color-accent:#09f;--scalar-border-color:#dfdfdf}.dark-mode{--scalar-background-1:#0f0f0f;--scalar-background-2:#1a1a1a;--scalar-background-3:#272727;--scalar-color-1:#e7e7e7;--scalar-color-2:#a4a4a4;--scalar-color-3:#797979;--scalar-color-accent:#00aeff;--scalar-background-accent:#3ea6ff1f;--scalar-border-color:#2d2d2d}.light-mode,.dark-mode{--scalar-sidebar-background-1:var(--scalar-background-1);--scalar-sidebar-color-1:var(--scalar-color-1);--scalar-sidebar-color-2:var(--scalar-color-2);--scalar-sidebar-border-color:var(--scalar-border-color);--scalar-sidebar-item-hover-background:var(--scalar-background-2);--scalar-sidebar-item-hover-color:var(--scalar-sidebar-color-2);--scalar-sidebar-item-active-background:var(--scalar-background-2);--scalar-sidebar-color-active:var(--scalar-sidebar-color-1);--scalar-sidebar-indent-border:var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-hover:var(--scalar-sidebar-border-color);--scalar-sidebar-indent-border-active:var(--scalar-sidebar-border-color);--scalar-sidebar-search-background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.light-mode,.dark-mode{--scalar-sidebar-search-background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.light-mode,.dark-mode{--scalar-sidebar-search-color:var(--scalar-color-3);--scalar-sidebar-search-border-color:var(--scalar-border-color)}.light-mode{--scalar-color-green:#069061;--scalar-color-red:#ef0006;--scalar-color-yellow:#edbe20;--scalar-color-blue:#0082d0;--scalar-color-orange:#ff5800;--scalar-color-purple:#5203d1;--scalar-link-color:var(--scalar-color-1);--scalar-link-color-hover:var(--scalar-link-color);--scalar-button-1:#000;--scalar-button-1-hover:#000c;--scalar-button-1-color:#fff;--scalar-tooltip-background:#1a1a1ae6;--scalar-tooltip-color:#ffffffd9;--scalar-color-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-color-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%)}}.light-mode{--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%)}}.light-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%)}}.light-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}.dark-mode{--scalar-color-green:#00b648;--scalar-color-red:#dc1b19;--scalar-color-yellow:#ffc90d;--scalar-color-blue:#4eb3ec;--scalar-color-orange:#ff8d4d;--scalar-color-purple:#b191f9;--scalar-link-color:var(--scalar-color-1);--scalar-link-color-hover:var(--scalar-link-color);--scalar-button-1:#fff;--scalar-button-1-hover:#ffffffe6;--scalar-button-1-color:black;--scalar-tooltip-background:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.dark-mode{--scalar-tooltip-background:color-mix(in srgb, var(--scalar-background-1), #fff 10%)}}.dark-mode{--scalar-tooltip-color:#fffffff2;--scalar-color-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.dark-mode{--scalar-color-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%)}}.dark-mode{--scalar-background-alert:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.dark-mode{--scalar-background-alert:color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%)}}.dark-mode{--scalar-background-danger:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.dark-mode{--scalar-background-danger:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}@supports (color:color(display-p3 1 1 1)){.light-mode{--scalar-color-accent:color(display-p3 0 .6 1);--scalar-color-green:color(display-p3 .023529 .564706 .380392);--scalar-color-red:color(display-p3 .937255 0 .023529);--scalar-color-yellow:color(display-p3 .929412 .745098 .12549);--scalar-color-blue:color(display-p3 0 .509804 .815686);--scalar-color-orange:color(display-p3 1 .4 .02);--scalar-color-purple:color(display-p3 .321569 .011765 .819608)}.dark-mode{--scalar-color-accent:color(display-p3 .07 .67 1);--scalar-color-green:color(display-p3 0 .713725 .282353);--scalar-color-red:color(display-p3 .862745 .105882 .098039);--scalar-color-yellow:color(display-p3 1 .788235 .05098);--scalar-color-blue:color(display-p3 .305882 .701961 .92549);--scalar-color-orange:color(display-p3 1 .552941 .301961);--scalar-color-purple:color(display-p3 .694118 .568627 .976471)}}:root,:host{--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--ease-in:cubic-bezier(.4, 0, 1, 1);--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}body{background-color:var(--scalar-background-1);margin:0}}@layer scalar-theme;:where(.scalar-app){font-family:var(--scalar-font);color:var(--scalar-color-1);-webkit-text-size-adjust:100%;tab-size:4;line-height:1.15}:where(.scalar-app) *,:where(.scalar-app) :before,:where(.scalar-app) :after{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--scalar-border-color);outline-width:1px;outline-style:none;outline-color:var(--scalar-color-accent);font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;text-align:inherit;line-height:inherit;color:inherit;margin:unset;padding:unset;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:where(.scalar-app) :before,:where(.scalar-app) :after{--tw-content:""}:where(.scalar-app) button,:where(.scalar-app) input,:where(.scalar-app) optgroup,:where(.scalar-app) select,:where(.scalar-app) textarea{background:0 0}:where(.scalar-app) ::file-selector-button{background:0 0}:where(.scalar-app) ol,:where(.scalar-app) ul,:where(.scalar-app) menu{list-style:none}:where(.scalar-app) input:where(:not([type=button],[type=reset],[type=submit])),:where(.scalar-app) select,:where(.scalar-app) textarea{border-radius:var(--scalar-radius);border-width:1px}:where(.scalar-app) input::placeholder{color:var(--scalar-color-3);font-family:var(--scalar-font)}:where(.scalar-app) input[type=search]::-webkit-search-cancel-button{appearance:none}:where(.scalar-app) input[type=search]::-webkit-search-decoration{appearance:none}:where(.scalar-app) summary::-webkit-details-marker{display:none}:where(.scalar-app) input:-webkit-autofill{-webkit-background-clip:text!important;background-clip:text!important}:where(.scalar-app) :focus-visible{border-radius:var(--scalar-radius);outline-style:solid}:where(.scalar-app) button:focus-visible,:where(.scalar-app) [role=button]:focus-visible{outline-offset:-1px}:where(.scalar-app) button,:where(.scalar-app) [role=button]{cursor:pointer}:where(.scalar-app) :disabled{cursor:default}:where(.scalar-app) img,:where(.scalar-app) svg,:where(.scalar-app) video,:where(.scalar-app) canvas,:where(.scalar-app) audio,:where(.scalar-app) iframe,:where(.scalar-app) embed,:where(.scalar-app) object{vertical-align:middle;display:block}:where(.scalar-app) [hidden]{display:none}.scalar-app .cm-scroller,.scalar-app .custom-scroll{scrollbar-color:transparent transparent;scrollbar-width:thin;-webkit-overflow-scrolling:touch;overflow-y:auto}.scalar-app .custom-scroll-self-contain-overflow{overscroll-behavior:contain}.scalar-app .cm-scroller:hover,.scalar-app .custom-scroll:hover,.scalar-app.scalar-scrollbars-obtrusive .cm-scroller,.scalar-app.scalar-scrollbars-obtrusive .custom-scroll{scrollbar-color:var(--scalar-scrollbar-color,transparent) transparent}.scalar-app .cm-scroller:hover::-webkit-scrollbar-thumb{background:var(--scalar-scrollbar-color);background-clip:content-box;border:3px solid #0000}.scalar-app .custom-scroll:hover::-webkit-scrollbar-thumb{background:var(--scalar-scrollbar-color);background-clip:content-box;border:3px solid #0000}.scalar-app .cm-scroller::-webkit-scrollbar-thumb:active{background:var(--scalar-scrollbar-color-active);background-clip:content-box;border:3px solid #0000}.scalar-app .custom-scroll::-webkit-scrollbar-thumb:active{background:var(--scalar-scrollbar-color-active);background-clip:content-box;border:3px solid #0000}.scalar-app .cm-scroller::-webkit-scrollbar-corner{background:0 0}.scalar-app .custom-scroll::-webkit-scrollbar-corner{background:0 0}.scalar-app .cm-scroller::-webkit-scrollbar{width:12px;height:12px}.scalar-app .custom-scroll::-webkit-scrollbar{width:12px;height:12px}.scalar-app .cm-scroller::-webkit-scrollbar-track{background:0 0}.scalar-app .custom-scroll::-webkit-scrollbar-track{background:0 0}.scalar-app .cm-scroller::-webkit-scrollbar-thumb{background:padding-box content-box;border:3px solid #0000;border-radius:20px}.scalar-app .custom-scroll::-webkit-scrollbar-thumb{background:padding-box content-box;border:3px solid #0000;border-radius:20px}@media (pointer:coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}:where(.scalar-app) [class*=rotate-],:where(.scalar-app) [class*=translate-],:where(.scalar-app) [class*=scale-]{transform:none}.loader-wrapper[data-v-27df5cd8]{--loader-size:50%;justify-content:center;align-items:center;display:flex;position:relative}.svg-loader[data-v-27df5cd8]{width:var(--loader-size);height:var(--loader-size);fill:none;stroke:currentColor;background-color:#0000;top:1rem;right:.9rem;overflow:visible}.svg-path[data-v-27df5cd8]{stroke-width:12px;fill:none;transition:all .3s}.svg-x-mark[data-v-27df5cd8]{stroke-dasharray:57;stroke-dashoffset:57px;transition-delay:0s}.svg-check-mark[data-v-27df5cd8]{stroke-dasharray:149;stroke-dashoffset:149px;transition-delay:0s}.icon-is-invalid .svg-x-mark[data-v-27df5cd8],.icon-is-valid .svg-check-mark[data-v-27df5cd8]{stroke-dashoffset:0;transition-delay:.3s}.circular-loader[data-v-27df5cd8]{transform-origin:50%;background:0 0;animation:.7s linear infinite rotate-27df5cd8,.4s fade-in-27df5cd8;transform:scale(3.5)}.loader-path[data-v-27df5cd8]{stroke-dasharray:50 200;stroke-dashoffset:-100px;stroke-linecap:round}.loader-path-off[data-v-27df5cd8]{stroke-dasharray:50 200;stroke-dashoffset:-100px;opacity:0;transition:opacity .3s}@keyframes fade-in-27df5cd8{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes rotate-27df5cd8{0%{transform:scale(3.5)rotate(0)}to{transform:scale(3.5)rotate(360deg)}}.scalar-code-block pre{font-variant-ligatures:none}.scalar-code-block.bg-b-1 .scalar-code-copy-backdrop{background-color:var(--scalar-background-1)}.scalar-code-block.bg-b-2 .scalar-code-copy-backdrop{background-color:var(--scalar-background-2)}.scalar-code-block.bg-b-2 .scalar-code-copy{background-color:var(--scalar-background-3)}.toggle-icon-ellipse[data-v-60be8692]{background:var(--scalar-background-1);border-radius:50%;width:7px;height:7px;transition:width .3s ease-in-out,height .3s ease-in-out;display:inline-block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px}.toggle-icon-moon-mask[data-v-60be8692]{background:var(--scalar-background-1);border:1px solid;border-radius:50%;width:100%;height:100%;transition:transform .3s ease-in-out;display:block;position:absolute;bottom:2.5px;left:2.5px;transform:translate(4px,-4px)}.toggle-icon-sun-ray[data-v-60be8692]{background:currentColor;border-radius:8px;width:12px;height:1px;transition:transform .3s ease-in-out;position:absolute}.toggle-icon-sun-ray[data-v-60be8692]:nth-of-type(2){transform:rotate(90deg)}.toggle-icon-sun-ray[data-v-60be8692]:nth-of-type(3){transform:rotate(45deg)}.toggle-icon-sun-ray[data-v-60be8692]:nth-of-type(4){transform:rotate(-45deg)}.toggle-icon-dark .toggle-icon-ellipse[data-v-60be8692]{width:10px;height:10px;-webkit-mask-image:radial-gradient(circle at 0 100%,pink 10px,#0000 12px);mask-image:radial-gradient(circle at 0 100%,pink 10px,#0000 12px)}.toggle-icon-dark .toggle-icon-sun-ray[data-v-60be8692]{transform:scale(0)}.toggle-icon-dark .toggle-icon-moon-mask[data-v-60be8692]{transform:translate(0)}.dark-mode .scalar-dropdown-item[data-v-f5e0d3d8]:hover,.dark-mode .scalar-dropdown-item[data-highlighted][data-v-f5e0d3d8],.dark-mode .scalar-dropdown-item[data-v-3402682d]:hover{filter:brightness(1.1)}.scalar-icon[data-v-b651bb23],.scalar-icon[data-v-b651bb23] *{stroke-width:var(--c07589c2)}.scalar-app :where(code.hljs) *{font-size:inherit;font-family:var(--scalar-font-code);text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;tab-size:4;line-height:1.4}.scalar-app code.hljs{all:unset;font-size:inherit;color:var(--scalar-color-2);font-family:var(--scalar-font-code);counter-reset:linenumber}.scalar-app .hljs{color:var(--scalar-color-2);background:0 0}.scalar-app .hljs .line:before{color:var(--scalar-color-3);counter-increment:linenumber;content:counter(linenumber);min-width:calc(var(--line-digits) * 1ch);text-align:right;margin-right:.875rem;display:inline-block}.scalar-app .hljs-comment,.scalar-app .hljs-quote{color:var(--scalar-color-3);font-style:italic}.scalar-app .hljs-number{color:var(--scalar-color-orange)}.scalar-app .hljs-regexp,.scalar-app .hljs-string,.scalar-app .hljs-built_in{color:var(--scalar-color-blue)}.scalar-app .hljs-title.class_{color:var(--scalar-color-1)}.scalar-app .hljs-keyword{color:var(--scalar-color-purple)}.scalar-app .hljs-title.function_{color:var(--scalar-color-orange)}.scalar-app .hljs-subst,.scalar-app .hljs-name{color:var(--scalar-color-blue)}.scalar-app .hljs-attr,.scalar-app .hljs-attribute{color:var(--scalar-color-1)}.scalar-app .hljs-addition,.scalar-app .hljs-literal,.scalar-app .hljs-selector-tag,.scalar-app .hljs-type{color:var(--scalar-color-green)}.scalar-app .hljs-selector-attr,.scalar-app .hljs-selector-pseudo{color:var(--scalar-color-orange)}.scalar-app .hljs-doctag,.scalar-app .hljs-section,.scalar-app .hljs-title{color:var(--scalar-color-blue)}.scalar-app .hljs-selector-id,.scalar-app .hljs-template-variable,.scalar-app .hljs-variable{color:var(--scalar-color-1)}.scalar-app .hljs-name,.scalar-app .hljs-section,.scalar-app .hljs-strong{font-weight:var(--scalar-semibold)}.scalar-app .hljs-bullet,.scalar-app .hljs-link,.scalar-app .hljs-meta,.scalar-app .hljs-symbol{color:var(--scalar-color-blue)}.scalar-app .hljs-deletion{color:var(--scalar-color-red)}.scalar-app .hljs-formula{background:var(--scalar-color-1)}.scalar-app .hljs-emphasis{font-style:italic}.scalar-app .credential .credential-value{color:#0000;font-size:0}.scalar-app .credential:after{content:"·····";color:var(--scalar-color-3);-webkit-user-select:none;user-select:none}.hljs.language-html{color:var(--scalar-color-1)}.hljs.language-html .hljs-attr{color:var(--scalar-color-2)}.hljs.language-curl .hljs-string{color:var(--scalar-color-blue)}.hljs.language-curl .hljs-literal{color:var(--scalar-color-1)}.hljs.language-php .hljs-variable{color:var(--scalar-color-blue)}.hljs.language-objectivec .hljs-meta{color:var(--scalar-color-1)}.hljs.language-objectivec .hljs-built_in,.hljs-built_in{color:var(--scalar-color-orange)}.scalar-app .markdown{--scalar-refs-heading-spacing:24px;--markdown-border:var(--scalar-border-width) solid var(--scalar-border-color);--markdown-spacing-sm:12px;--markdown-spacing-md:16px;--markdown-line-height:1.625;--markdown-heading-line-height:1.15;font-family:var(--scalar-font);word-break:break-word;line-height:var(--markdown-line-height)}.scalar-app .markdown>*{margin-bottom:var(--markdown-spacing-md)}.scalar-app .markdown>:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):last-child{margin-bottom:0}.scalar-app .markdown h1,.scalar-app .markdown h2,.scalar-app .markdown h3,.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{font-weight:var(--scalar-bold);margin-top:var(--scalar-refs-heading-spacing);margin-bottom:var(--markdown-spacing-sm);line-height:var(--markdown-heading-line-height,1.15);scroll-margin-top:1rem;display:block}.scalar-app .markdown h1{font-size:1.5rem}.scalar-app .markdown h2,.scalar-app .markdown h3{font-size:1.25rem}.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{font-size:1rem}.scalar-app .markdown b,.scalar-app .markdown strong{font-weight:var(--scalar-bold)}.scalar-app .markdown p{color:inherit;line-height:var(--markdown-line-height);display:block}.scalar-app .markdown img{border-radius:var(--scalar-radius);max-width:100%;display:inline-block;overflow:hidden}.scalar-app .markdown ul,.scalar-app .markdown ol{line-height:var(--markdown-line-height);flex-direction:column;gap:2px;padding-left:1.6em;display:flex}.scalar-app .markdown li{margin-top:2px;padding-left:7px}.scalar-app ol>li::marker{font:var(--scalar-font);font-variant-numeric:tabular-nums;font-weight:var(--scalar-semibold);white-space:nowrap}.scalar-app ol>*>li::marker{font:var(--scalar-font);font-variant-numeric:tabular-nums;font-weight:var(--scalar-semibold);white-space:nowrap}.scalar-app .markdown ol{list-style-type:decimal}.scalar-app .markdown ol ol{list-style-type:lower-alpha}.scalar-app .markdown ol ol ol ol,.scalar-app .markdown ol ol ol ol ol ol ol{list-style-type:decimal}.scalar-app .markdown ol ol ol ol ol,.scalar-app .markdown ol ol ol ol ol ol ol ol{list-style-type:lower-alpha}.scalar-app .markdown ol ol ol,.scalar-app .markdown ol ol ol ol ol ol,.scalar-app .markdown ol ol ol ol ol ol ol ol ol{list-style-type:lower-roman}.scalar-app .markdown ul>li,.scalar-app .markdown ul>*>li{list-style-type:disc}.scalar-app .markdown table{table-layout:fixed;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);border-spacing:0;width:max-content;max-width:100%;margin:1em 0;display:table;position:relative;overflow-x:auto}.scalar-app .markdown tbody,.scalar-app .markdown thead{vertical-align:middle}.scalar-app .markdown tbody{display:table-row-group}.scalar-app .markdown thead{display:table-header-group}.scalar-app .markdown tr{border-color:inherit;vertical-align:inherit;display:table-row}.scalar-app .markdown td,.scalar-app .markdown th{vertical-align:top;min-width:1em;line-height:var(--markdown-line-height);word-break:break-word;font-size:var(--scalar-small);color:var(--scalar-color-1);border-right:var(--markdown-border);border-bottom:var(--markdown-border);padding:8.5px 16px;display:table-cell;position:relative}.scalar-app .markdown td>*,.scalar-app .markdown th>*{margin-bottom:0}.scalar-app .markdown th:empty{display:none}.scalar-app .markdown td:first-of-type,.scalar-app .markdown th:first-of-type{border-left:none}.scalar-app .markdown td:last-of-type,.scalar-app .markdown th:last-of-type{border-right:none}.scalar-app .markdown tr:last-of-type td{border-bottom:none}.scalar-app .markdown th{font-weight:var(--scalar-bold);text-align:left;background:var(--scalar-background-2);border-left-color:#0000}.scalar-app .markdown th:first-of-type{border-top-left-radius:var(--scalar-radius)}.scalar-app .markdown th:last-of-type{border-top-right-radius:var(--scalar-radius)}.scalar-app .markdown tr>[align=left]{text-align:left}.scalar-app .markdown tr>[align=right]{text-align:right}.scalar-app .markdown tr>[align=center]{text-align:center}.scalar-app .markdown details{border:var(--markdown-border);border-radius:var(--scalar-radius-xl);color:var(--scalar-color-1)}.scalar-app .markdown details>:not(summary){margin:var(--markdown-spacing-md);margin-bottom:0}.scalar-app .markdown details>p:has(>strong):not(:has(:not(strong))){margin-bottom:8px}.scalar-app .markdown details>p:has(>strong):not(:has(:not(strong)))+*{margin-top:0}.scalar-app .markdown details>table{width:calc(100% - calc(var(--markdown-spacing-md) * 2))}.scalar-app .markdown summary{min-height:40px;font-weight:var(--scalar-semibold);line-height:var(--markdown-line-height);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:2.5px;align-items:flex-start;gap:8px;padding:7px 14px;display:flex;position:relative}.scalar-app .markdown summary:hover{background-color:var(--scalar-background-2)}.scalar-app .markdown details[open]{padding-bottom:var(--markdown-spacing-md)}.scalar-app .markdown details[open]>summary{border-bottom:var(--markdown-border);border-bottom-right-radius:0;border-bottom-left-radius:0}.scalar-app .markdown summary:before{content:"";width:var(--markdown-spacing-md);height:var(--markdown-spacing-md);background-color:var(--scalar-color-3);flex-shrink:0;margin-top:5px;display:block;-webkit-mask-image:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" width=\\"1em\\" height=\\"1em\\"><path d=\\"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" width=\\"1em\\" height=\\"1em\\"><path d=\\"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z\\"></path></svg>")}.scalar-app .markdown summary:hover:before{background-color:var(--scalar-color-1)}.scalar-app .markdown details[open]>summary:before{transition:transform .1s ease-in-out;transform:rotate(90deg)}.scalar-app .markdown details:has(+details){border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0;margin-bottom:0}.scalar-app .markdown details:has(+details)+details{border-top-left-radius:0;border-top-right-radius:0}.scalar-app .markdown details:has(+details)+details>summary{border-top-left-radius:0;border-top-right-radius:0}.scalar-app .markdown a{--font-color:var(--scalar-link-color,var(--scalar-color-accent));--font-visited:var(--scalar-link-color-visited,var(--scalar-color-2));-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);color:var(--font-color);font-weight:var(--scalar-link-font-weight,var(--scalar-semibold));text-underline-offset:.25rem;text-decoration-thickness:1px;-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown a{-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent)}}.scalar-app .markdown a:hover{-webkit-text-decoration-color:var(--scalar-color-1,currentColor);-webkit-text-decoration-color:var(--scalar-color-1,currentColor);-webkit-text-decoration-color:var(--scalar-color-1,currentColor);text-decoration-color:var(--scalar-color-1,currentColor);color:var(--scalar-link-color-hover,var(--scalar-color-accent));-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);text-decoration:var(--scalar-text-decoration-hover)}.scalar-app .markdown a:visited{color:var(--font-visited)}.scalar-app .markdown em{font-style:italic}.scalar-app .markdown sup,.scalar-app .markdown sub{font-size:var(--scalar-micro);font-weight:450}.scalar-app .markdown sup{vertical-align:super}.scalar-app .markdown sub{vertical-align:sub}.scalar-app .markdown del{text-decoration:line-through}.scalar-app .markdown code{font-family:var(--scalar-font-code);background-color:var(--scalar-background-2);box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color);font-size:var(--scalar-micro);border-radius:2px;padding:0 3px}.scalar-app .markdown .hljs{font-size:var(--scalar-small)}.scalar-app .markdown pre code{white-space:pre;padding:var(--markdown-spacing-sm);margin:var(--markdown-spacing-sm) 0;-webkit-overflow-scrolling:touch;min-width:100px;max-width:100%;line-height:1.5;display:block;overflow-x:auto}.scalar-app .markdown hr{border:none;border-bottom:var(--markdown-border)}.scalar-app .markdown blockquote{border-left:2px solid var(--scalar-border-color);padding-left:var(--markdown-spacing-sm)}.scalar-app .markdown blockquote>*{margin-bottom:var(--markdown-spacing-sm)}.scalar-app .markdown li.task-list-item{list-style:none;position:relative}.scalar-app .markdown li.task-list-item>input{appearance:none;width:var(--markdown-spacing-md);height:var(--markdown-spacing-md);border:1px solid var(--scalar-color-3);border-radius:var(--scalar-radius);display:inline;position:absolute;top:.225em;left:-1.4em}.scalar-app .markdown li.task-list-item>input[type=checkbox]:checked{background-color:var(--scalar-color-1);border-color:var(--scalar-color-1)}.scalar-app .markdown li.task-list-item>input[type=checkbox]:before{content:"";border:solid var(--scalar-background-1);opacity:0;border-width:0 1.5px 1.5px 0;width:5px;height:10px;position:absolute;top:1px;left:5px;transform:rotate(45deg)}.scalar-app .markdown li.task-list-item>input[type=checkbox]:checked:before{opacity:1}.scalar-app .markdown .markdown-alert{border-radius:var(--scalar-radius);background-color:var(--scalar-background-2);align-items:stretch}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert{background-color:color-mix(in srgb, var(--scalar-background-2), transparent)}}.scalar-app .markdown .markdown-alert{border:var(--markdown-border);gap:var(--markdown-spacing-sm);padding:10px 14px;display:flex;position:relative}.scalar-app .markdown .markdown-alert .markdown-alert-icon:before{content:"";background-color:currentColor;flex-shrink:0;width:18px;height:18px;margin-top:3px;display:block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{background-color:color-mix(in srgb, var(--scalar-color-blue), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width) solid var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-note{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-blue), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:var(--scalar-color-2)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{background-color:color-mix(in srgb, var(--scalar-color-2), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width) solid var(--scalar-color-2)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-tip{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-2), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-note .markdown-alert-icon:before,.scalar-app .markdown .markdown-alert.markdown-alert-tip .markdown-alert-icon:before{color:var(--scalar-color-blue);-webkit-mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z\\"></path></svg>")}.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{background-color:color-mix(in srgb, var(--scalar-color-orange), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width) solid var(--scalar-color-orange)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-important,.scalar-app .markdown .markdown-alert.markdown-alert-warning{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-orange), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-important .markdown-alert-icon:before,.scalar-app .markdown .markdown-alert.markdown-alert-warning .markdown-alert-icon:before{-webkit-mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z\\"></path></svg>")}.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{background-color:color-mix(in srgb, var(--scalar-color-red), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width) solid var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-caution{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-red), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-caution .markdown-alert-icon:before{color:var(--scalar-color-red);-webkit-mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z\\"></path></svg>")}.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:var(--scalar-color-green)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{background-color:color-mix(in srgb, var(--scalar-color-green), transparent 97%)}}.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width) solid var(--scalar-color-green)}@supports (color:color-mix(in lab, red, red)){.scalar-app .markdown .markdown-alert.markdown-alert-success{border:var(--scalar-border-width) solid color-mix(in srgb, var(--scalar-color-green), transparent 50%)}}.scalar-app .markdown .markdown-alert.markdown-alert-success .markdown-alert-icon:before{color:var(--scalar-color-green);-webkit-mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z\\"></path></svg>");mask-image:url("data:image/svg+xml,<svg data-v-852d534d=\\"\\" xmlns=\\"http://www.w3.org/2000/svg\\" viewBox=\\"0 0 256 256\\" fill=\\"currentColor\\" class=\\"icon-placeholder\\"><path d=\\"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z\\"></path></svg>")}.scalar-app .markdown .markdown-alert.markdown-alert-note .markdown-alert-icon:before{color:var(--scalar-color-blue)}.scalar-app .markdown .markdown-alert.markdown-alert-tip .markdown-alert-icon:before{color:var(--scalar-color-2)}.scalar-app .markdown .markdown-alert.markdown-alert-important .markdown-alert-icon:before{color:var(--scalar-color-purple)}.scalar-app .markdown .markdown-alert.markdown-alert-warning .markdown-alert-icon:before{color:var(--scalar-color-orange)}.scalar-app .markdown .markdown-alert .markdown-alert-content{line-height:var(--markdown-line-height);margin:0}.scalar-app .markdown.markdown-summary.markdown-summary :before,.scalar-app .markdown.markdown-summary.markdown-summary :after{content:none}.scalar-app .markdown.markdown-summary.markdown-summary :not(strong,em,a){font-size:inherit;font-weight:inherit;line-height:var(--markdown-line-height);display:contents}.scalar-app .markdown.markdown-summary.markdown-summary img,.scalar-app .markdown.markdown-summary.markdown-summary svg,.scalar-app .markdown.markdown-summary.markdown-summary hr,.scalar-app .markdown.markdown-summary.markdown-summary pre{display:none}.scalar-modal-layout[data-v-5bb1dcc2]{animation:.3s ease-in-out forwards fadein-layout-5bb1dcc2}.scalar-modal[data-v-5bb1dcc2]{box-shadow:var(--scalar-shadow-2);animation:.3s ease-in-out .1s forwards fadein-modal-5bb1dcc2;transform:translateY(10px)}.scalar-modal-layout-full[data-v-5bb1dcc2]{opacity:1!important;background:0 0!important}.modal-content-search .modal-body[data-v-5bb1dcc2]{flex-direction:column;max-height:440px;padding:0;display:flex;overflow:hidden}@media (width<=720px) and (height<=480px){.scalar-modal-layout .scalar-modal[data-v-5bb1dcc2]{max-height:90svh;margin-top:5svh}}@keyframes fadein-layout-5bb1dcc2{0%{opacity:0}to{opacity:1}}@keyframes fadein-modal-5bb1dcc2{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translate(0)}}.full-size-styles[data-v-5bb1dcc2]{margin:initial;border-right:var(--scalar-border-width) solid var(--scalar-border-color);animation:.3s ease-in-out forwards fadein-layout-5bb1dcc2;left:0;transform:translate(0);background-color:var(--scalar-background-1)!important;max-height:100%!important;box-shadow:none!important;border-radius:0!important;position:absolute!important;top:0!important}@media (width>=800px){.full-size-styles[data-v-5bb1dcc2]{width:50dvw!important}}.full-size-styles[data-v-5bb1dcc2]:after{content:"";width:50dvw;height:100dvh;position:absolute;top:0;right:-50dvw}.group\\/item>*>.scalar-sidebar-indent .scalar-sidebar-indent-border[data-v-3e080c68]{inset-block:-1px}.group\\/item:first-child>*>.scalar-sidebar-indent .scalar-sidebar-indent-border[data-v-3e080c68]{top:0}.group\\/item:last-child>*>.scalar-sidebar-indent .scalar-sidebar-indent-border[data-v-3e080c68]{bottom:0}.group\\/item:last-of-type>.group\\/button>.group\\/button-label>.group\\/button-loading{width:66.6667%}.group\\/items.-translate-x-full .group\\/button{transition-behavior:allow-discrete;max-height:0;transition-property:display,max-height;transition-duration:0s;transition-delay:.3s;display:none}.group\\/item.group\\/nested-items-open>*>.group\\/items.translate-x-0 .group\\/button{max-height:3.40282e38px;display:flex}.animate-sidebar-border-bottom{animation:forwards border-bottom;animation-timeline:scroll();animation-range-end:1px}@keyframes border-bottom{0%{border-bottom-width:0}to{border-bottom-width:var(--scalar-border-width)}}.group\\/sidebar-section:first-of-type>.group\\/spacer-before,.group\\/sidebar-section:last-of-type>.group\\/spacer-after{height:0}.group\\/sidebar-section:has(+.group\\/sidebar-section)>.group\\/spacer-after{height:0;margin-bottom:-1px}:where(body)>.scalar-tooltip{--scalar-tooltip-padding:8px;padding:calc(var(--scalar-tooltip-padding) + var(--scalar-tooltip-offset));z-index:99999;max-width:320px;font-size:var(--scalar-font-size-5);--tw-font-weight:var(--scalar-semibold);line-height:16px;font-weight:var(--scalar-semibold);overflow-wrap:break-word;color:var(--scalar-tooltip-color)}:where(body)>.scalar-tooltip:before{content:"";inset:var(--scalar-tooltip-offset);z-index:calc(1 * -1);border-radius:var(--scalar-radius);background-color:var(--scalar-tooltip-background);--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );position:absolute}:where(body.dark-mode)>.scalar-tooltip:before{--tw-shadow:inset 0 0 0 var(--tw-shadow-color,var(--scalar-border-width)) var(--scalar-border-color);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}.scalar-virtual-text-search-input[data-v-95edadbb]::-webkit-search-cancel-button{display:none}.scalar-virtual-text[data-v-b50a85e1]:focus{outline:none}.scalar-virtual-text-highlight[data-v-b50a85e1]{background:var(--scalar-background-accent);color:inherit;border-radius:2px;padding:1px 0}.scalar-virtual-text-highlight-active[data-v-b50a85e1]{background:var(--scalar-color-accent);color:var(--scalar-background-1);border-radius:2px}.sidebar-heading-type[data-v-1857170e]{text-transform:uppercase;color:var(--method-color,var(--scalar-color-1));font-size:10px;line-height:14px;font-weight:var(--scalar-bold);font-family:var(--scalar-font-code);white-space:nowrap;flex-shrink:0;align-items:center;gap:4px;display:inline-flex;overflow:hidden}.http-bg-gradient[data-v-86e2b3ea]{background:linear-gradient(#ffffffbf,#00000009)}.http-bg-gradient[data-v-86e2b3ea]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .http-bg-gradient[data-v-86e2b3ea]{background:linear-gradient(#ffffff09,#00000026)}.dark-mode .http-bg-gradient[data-v-86e2b3ea]:hover{background:linear-gradient(#00000026,#ffffff09)}.ascii-art-animate .ascii-art-line[data-v-9a695e58]{border-right:1ch solid #0000;animation:4s step-end 1s both typewriter-9a695e58,.5s step-end infinite blinkTextCursor-9a695e58}@keyframes typewriter-9a695e58{0%{width:0}to{width:100%}}@keyframes blinkTextCursor-9a695e58{0%{border-right-color:currentColor}50%{border-right-color:#0000}}.open-api-client-button[data-v-cd067f84]{cursor:pointer;text-align:center;white-space:nowrap;width:100%;height:31px;font-size:var(--scalar-small);border-radius:var(--scalar-radius);box-shadow:0 0 0 .5px var(--scalar-border-color);color:var(--scalar-sidebar-color-1);justify-content:center;align-items:center;gap:6px;padding:9px 12px;line-height:1.385;text-decoration:none;display:flex}.open-api-client-button[data-v-cd067f84]:hover{background:var(--scalar-sidebar-item-hover-background,var(--scalar-background-2))}.address-bar-history-button[data-v-12140f4f]:hover{background:var(--scalar-background-3)}.address-bar-history-button[data-v-12140f4f]:focus-within{background:var(--scalar-background-2)}[data-v-3118bf46] .cm-editor{background:0 0;outline:none;height:100%;padding:0}[data-v-3118bf46] .cm-placeholder{color:var(--scalar-color-3)}[data-v-3118bf46] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-small);max-height:20px;padding:8px 0}[data-v-3118bf46] .cm-tooltip{filter:brightness(var(--scalar-lifted-brightness));border-radius:var(--scalar-radius);box-shadow:var(--scalar-shadow-2);background:0 0!important;border:none!important;outline:none!important;overflow:hidden!important}[data-v-3118bf46] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-3118bf46] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-3118bf46] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-3118bf46] .cm-tooltip-autocomplete ul{position:relative;padding:6px!important}[data-v-3118bf46] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-3118bf46] .cm-activeLine,[data-v-3118bf46] .cm-activeLineGutter{background-color:#0000}[data-v-3118bf46] .cm-selectionMatch,[data-v-3118bf46] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-3118bf46] .cm-css-color-picker-wrapper{outline:1px solid var(--scalar-background-3);border-radius:3px;display:inline-flex;overflow:hidden}[data-v-3118bf46] .cm-gutters{color:var(--scalar-color-3);font-size:var(--scalar-small);background-color:#0000;border-right:none;border-radius:0 0 0 3px;line-height:22px}[data-v-3118bf46] .cm-gutters:before{content:"";border-radius:var(--scalar-radius) 0 0 var(--scalar-radius);background-color:var(--scalar-background-1);width:calc(100% - 2px);height:calc(100% - 4px);position:absolute;top:2px;left:2px}[data-v-3118bf46] .cm-gutterElement{justify-content:flex-end;align-items:center;display:flex;position:relative;font-family:var(--scalar-font-code)!important;padding-left:0!important;padding-right:6px!important}[data-v-3118bf46] .cm-lineNumbers .cm-gutterElement{min-width:fit-content}[data-v-3118bf46] .cm-gutter+.cm-gutter :not(.cm-foldGutter) .cm-gutterElement{padding-left:0!important}[data-v-3118bf46] .cm-scroller{overflow:auto}.line-wrapping[data-v-3118bf46]:focus-within .cm-content{white-space:break-spaces;word-break:break-all;min-height:fit-content;padding:3px 6px;display:inline-table}.cm-pill{font-size:var(--scalar-small);border-radius:30px;padding:0 9px;display:inline-block;color:var(--scalar-color-1)!important}.light-mode .cm-pill{background:var(--scalar-background-3)!important}.dark-mode .cm-pill{background:var(--tw-bg-base)!important}@supports (color:color-mix(in lab, red, red)){.dark-mode .cm-pill{background:color-mix(in srgb, var(--tw-bg-base), transparent 90%)!important}}.cm-pill--context-fn{border:1px dashed var(--scalar-color-3)}@supports (color:color-mix(in lab, red, red)){.cm-pill--context-fn{border:1px dashed color-mix(in srgb, var(--scalar-color-3), transparent 35%)}}.cm-pill--context-fn{padding:0 8px}.light-mode .cm-pill--context-fn{background:var(--scalar-background-3)!important}@supports (color:color-mix(in lab, red, red)){.light-mode .cm-pill--context-fn{background:color-mix(in srgb, var(--scalar-background-3), transparent 40%)!important}}.dark-mode .cm-pill--context-fn{background:var(--scalar-background-3)!important}@supports (color:color-mix(in lab, red, red)){.dark-mode .cm-pill--context-fn{background:color-mix(in srgb, var(--scalar-background-3), transparent 55%)!important}}.cm-pill:first-of-type{margin-left:0}.cm-editor .cm-widgetBuffer{display:none}.cm-foldPlaceholder:hover{color:var(--scalar-color-1)}.cm-foldGutter .cm-gutterElement{font-size:var(--scalar-heading-4);padding:2px!important}.cm-foldGutter .cm-gutterElement:first-of-type{display:none}.cm-foldGutter .cm-gutterElement .cm-foldMarker{padding:2px}.cm-foldGutter .cm-gutterElement:hover .cm-foldMarker{background:var(--scalar-background-2);border-radius:var(--scalar-radius);color:var(--scalar-color-1)}.description[data-v-649f9a0d] .markdown{font-weight:var(--scalar-semibold);color:var(--scalar-color--1);padding:0;display:block}.description[data-v-649f9a0d] .markdown>:first-child{margin-top:0}[data-v-372238a6] .cm-editor{outline:none;width:100%;height:100%}[data-v-372238a6] .cm-line{padding:0}[data-v-372238a6] .cm-content{font-size:var(--scalar-small);align-items:center;padding:0;display:flex}.scroll-timeline-x[data-v-372238a6]{-ms-overflow-style:none;-webkit-mask-image:linear-gradient(90deg,#0000 0,#000 6px calc(100% - 24px),#0000 100%);mask-image:linear-gradient(90deg,#0000 0,#000 6px calc(100% - 24px),#0000 100%)}.scroll-timeline-x-hidden[data-v-372238a6]{overflow-x:auto}.scroll-timeline-x-hidden[data-v-372238a6] .cm-scroller{scrollbar-width:none;-ms-overflow-style:none;padding-right:20px;overflow:auto}.scroll-timeline-x-hidden[data-v-372238a6]::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-hidden[data-v-372238a6] .cm-scroller::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-address[data-v-372238a6]{scrollbar-width:none;line-height:27px}.scroll-timeline-x-address[data-v-372238a6]:after{content:"";cursor:text;width:24px;height:100%;position:absolute;right:0}.scroll-timeline-x-address[data-v-372238a6]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.address-bar-bg-states[data-v-372238a6]{--scalar-address-bar-bg:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.address-bar-bg-states[data-v-372238a6]{--scalar-address-bar-bg:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.address-bar-bg-states[data-v-372238a6]{background:var(--scalar-address-bar-bg)}.address-bar-bg-states[data-v-372238a6]:has(.cm-focused){--scalar-address-bar-bg:var(--scalar-background-1);border-color:var(--scalar-border-color);outline-width:1px;outline-style:solid}.app-exit-button[data-v-42c563b3]{color:#fff;background:#0000001a}.app-exit-button[data-v-42c563b3]:hover{background:#ffffff1a}.fade-request-section-content[data-v-07ff8fc3]{background:linear-gradient(to left, var(--scalar-background-1) 64%, transparent)}.filter-hover[data-v-07ff8fc3]{height:100%;padding-left:24px;padding-right:39px;transition:width 0s ease-in-out .2s;position:absolute;right:0;overflow:hidden}.filter-hover[data-v-07ff8fc3]:hover{z-index:10;width:100%}.filter-hover[data-v-07ff8fc3]:has(:focus-visible){z-index:10;width:100%}.filter-hover[data-v-07ff8fc3]:before{content:"";background-color:var(--scalar-background-1);opacity:0;pointer-events:none;width:100%;height:fit-content;transition:all .3s ease-in-out;position:absolute;top:0;left:0}.filter-hover-item[data-v-07ff8fc3]{opacity:0}.filter-hover-item[data-v-07ff8fc3]:not(:last-of-type){transform:translateY(3px)}.filter-hover:hover .filter-hover-item[data-v-07ff8fc3]{transition:opacity .2s ease-in-out,transform .2s ease-in-out}.filter-hover:hover .filter-hover-item[data-v-07ff8fc3]:last-of-type{transition-delay:50ms}.filter-hover:hover .filter-hover-item[data-v-07ff8fc3]:nth-last-of-type(2){transition-delay:.1s}.filter-hover:hover .filter-hover-item[data-v-07ff8fc3]:nth-last-of-type(3){transition-delay:.15s}.filter-hover:hover .filter-hover-item[data-v-07ff8fc3]:nth-last-of-type(4){transition-delay:.2s}.filter-hover:hover .filter-hover-item[data-v-07ff8fc3]:nth-last-of-type(5){transition-delay:.25s}.filter-hover:hover .filter-hover-item[data-v-07ff8fc3]:nth-last-of-type(6){transition-delay:.3s}.filter-hover:hover .filter-hover-item[data-v-07ff8fc3]:nth-last-of-type(7){transition-delay:.35s}.filter-hover:hover .filter-hover-item[data-v-07ff8fc3]{opacity:1;transform:translate(0)}.filter-hover:has(:focus-visible) .filter-hover-item[data-v-07ff8fc3]{opacity:1;transform:translate(0)}.filter-hover[data-v-07ff8fc3]:hover:before{opacity:.9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.filter-hover[data-v-07ff8fc3]:has(:focus-visible):before{opacity:.9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.filter-button[data-v-07ff8fc3]{top:50%;transform:translateY(-50%)}.context-bar-group:hover .context-bar-group-hover\\:text-c-1[data-v-07ff8fc3]{--tw-text-opacity:1;color:rgb(var(--scalar-color-1) / var(--tw-text-opacity))}.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:text-c-1[data-v-07ff8fc3]{--tw-text-opacity:1;color:rgb(var(--scalar-color-1) / var(--tw-text-opacity))}.context-bar-group:hover .context-bar-group-hover\\:hidden[data-v-07ff8fc3]{display:none}.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:hidden[data-v-07ff8fc3]{display:none}[data-v-36811e28] .cm-editor{padding:0}[data-v-36811e28] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-36811e28] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-36811e28] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-36811e28] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-36811e28] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}.filemask[data-v-36811e28]{-webkit-mask-image:linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);-webkit-mask-image:linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);-webkit-mask-image:linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);mask-image:linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px)}[data-v-aff33ea6] .cm-content{font-size:var(--scalar-small)}.oauth-scope-row-action-rail{--oauth-scope-row-rail-bg:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.oauth-scope-row-action-rail{--oauth-scope-row-rail-bg:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.oauth-scope-row-action-rail{background:linear-gradient(90deg, var(--oauth-scope-row-rail-bg) 0%, var(--oauth-scope-row-rail-bg) 30%, var(--oauth-scope-row-rail-bg) 100%)}@supports (color:color-mix(in lab, red, red)){.oauth-scope-row-action-rail{background:linear-gradient(90deg, color-mix(in srgb, var(--oauth-scope-row-rail-bg), transparent 100%) 0%, color-mix(in srgb, var(--oauth-scope-row-rail-bg), transparent 20%) 30%, var(--oauth-scope-row-rail-bg) 100%)}}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}[data-v-1ee3c31d] .cm-editor{padding:0}[data-v-1ee3c31d] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-1ee3c31d] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-1ee3c31d] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-1ee3c31d] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-1ee3c31d] .cm-line{text-overflow:ellipsis;word-break:break-word;padding:0;overflow:hidden}.required[data-v-1ee3c31d]:after{content:"Required"}input[data-v-1ee3c31d]::placeholder{color:var(--scalar-color-3)}.scalar-password-input[data-v-1ee3c31d]{text-security:disc;-webkit-text-security:disc;-moz-text-security:disc}.request-section-content[data-v-9ee5445b]{--scalar-border-width:.5px}.request-section-content-filter[data-v-9ee5445b]{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons[data-v-9ee5445b]{opacity:1}.group-hover-input[data-v-9ee5445b]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-9ee5445b]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.group:hover .group-hover-input[data-v-9ee5445b]{background:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-9ee5445b]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-9ee5445b]:focus{border-color:var(--scalar-border-color)!important;background:0 0!important}[data-v-8c1df828] .cm-editor{font-size:var(--scalar-small);background-color:#0000;outline:none}[data-v-8c1df828] .cm-gutters{background-color:var(--scalar-background-1);border-radius:var(--scalar-radius) 0 0 var(--scalar-radius)}[data-v-8c1df828] .cm-scroller{min-width:100%;overflow:auto}.light-mode .bg-preview[data-v-8bc927e4]{background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'16\' height=\'16\' fill=\'%23000\' fill-opacity=\'10%25\'%3E%3Crect width=\'8\' height=\'8\' /%3E%3Crect x=\'8\' y=\'8\' width=\'8\' height=\'8\' /%3E%3C/svg%3E")}.dark-mode .bg-preview[data-v-8bc927e4]{background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'16\' height=\'16\' fill=\'%23FFF\' fill-opacity=\'10%25\'%3E%3Crect width=\'8\' height=\'8\' /%3E%3Crect x=\'8\' y=\'8\' width=\'8\' height=\'8\' /%3E%3C/svg%3E")}.scalar-code-block[data-v-bb31ac6f] .hljs *{font-size:var(--scalar-small)}.response-body-virtual[data-headlessui-state=open],.response-body-virtual[data-headlessui-state=open] .diclosure-panel{flex-direction:column;flex-grow:1;display:flex}.scalar-version-number[data-v-0895623d]{width:76px;height:76px;font-size:8px;font-family:var(--scalar-font-code);box-shadow:inset 2px 0px 0 2px var(--scalar-background-2);text-align:center;text-transform:initial;-webkit-text-decoration-color:var(--scalar-color-3);-webkit-text-decoration-color:var(--scalar-color-3);-webkit-text-decoration-color:var(--scalar-color-3);text-decoration-color:var(--scalar-color-3);border-radius:9px 9px 16px 12px;flex-direction:column;justify-content:center;align-items:center;margin-top:-113px;margin-left:-36px;line-height:11px;display:flex;position:absolute;transform:skewY(13deg)}.scalar-version-number a[data-v-0895623d]{background:var(--scalar-background-2);border:.5px solid var(--scalar-border-color);border-radius:3px;padding:2px 4px;font-weight:700;text-decoration:none}.gitbook-show[data-v-0895623d]{display:none}.v-enter-active[data-v-b80db6e2]{transition:opacity .5s}.v-enter-from[data-v-b80db6e2]{opacity:0}.animate-response-heading .response-heading[data-v-7a7c6611]{opacity:1;animation:.2s ease-in-out forwards push-response-7a7c6611}@keyframes push-response-7a7c6611{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.animate-response-heading .animate-response-children[data-v-7a7c6611]{opacity:0;animation:.2s ease-in-out 50ms forwards response-spans-7a7c6611}@keyframes response-spans-7a7c6611{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.request-card[data-v-70ede25b]{color:var(--scalar-color-1);font-size:var(--scalar-font-size-3)}.request-method[data-v-70ede25b]{font-family:var(--scalar-font-code);text-transform:uppercase;margin-right:6px}.request-card-footer[data-v-70ede25b]{flex-shrink:0;justify-content:flex-end;padding:6px;display:flex;position:relative}.request-card-footer-addon[data-v-70ede25b]{flex:1;align-items:center;min-width:0;display:flex}.request-editor-section[data-v-70ede25b]{flex:1;display:flex}.request-card-simple[data-v-70ede25b]{font-size:var(--scalar-small);justify-content:space-between;align-items:center;padding:8px 8px 8px 12px;display:flex}.code-snippet[data-v-70ede25b]{flex-direction:column;width:100%;display:flex}[data-radix-popper-content-wrapper]:has(.scalar-api-client-context-menu){z-index:1000!important}.resizer[data-v-e2c54c18]{cursor:col-resize;z-index:100;border-right:2px solid #0000;width:5px;transition:border-right-color .3s;position:absolute;top:0;bottom:0;right:0}.scalar-dragging{cursor:col-resize}.resizer:hover,.scalar-dragging .resizer{border-right-color:var(--scalar-background-3)}.scalar-dragging:after{content:"";display:block;position:absolute;inset:0}[data-v-69be2d6c] .cm-editor{padding:0}[data-v-69be2d6c] .cm-content{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;align-items:center;width:100%;padding:5px 8px;display:flex}[data-v-69be2d6c] .cm-content:has(.cm-pill){padding:5px 8px}[data-v-69be2d6c] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-69be2d6c] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-69be2d6c] .cm-line{text-overflow:ellipsis;padding:0;overflow:hidden}.scalar .scalar-app-layout[data-v-77897d1c]{background:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:8px;width:100%;max-width:1390px;height:calc(100% - 120px);margin:auto;position:relative;overflow:hidden}@media (width<=720px) and (height<=480px){.scalar .scalar-app-layout[data-v-77897d1c]{height:100%;max-height:90svh}}.scalar .scalar-app-exit[data-v-77897d1c]{cursor:pointer;z-index:-1;background:#00000038;width:100vw;height:100vh;position:fixed;top:0;left:0}.dark-mode .scalar .scalar-app-exit[data-v-77897d1c]{background:#00000073}.scalar .scalar-app-exit[data-v-77897d1c]:before{text-align:center;color:#fff;opacity:.6;font-family:sans-serif;font-size:30px;font-weight:100;line-height:50px;position:absolute;top:0;right:12px}.scalar .scalar-app-exit[data-v-77897d1c]:hover:before{opacity:1}.scalar-container[data-v-77897d1c]{visibility:hidden;opacity:0;pointer-events:none;will-change:opacity;justify-content:center;align-items:center;width:100%;height:100%;transition:opacity .35s,visibility 0s linear .35s;display:flex;position:fixed;top:0;bottom:0;left:0;overflow:hidden}.scalar-container.scalar-client--open[data-v-77897d1c]{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .35s}.scalar .url-form-input[data-v-77897d1c]{min-height:auto!important}.scalar .scalar-container[data-v-77897d1c]{line-height:normal}.ref-search-meta[data-v-d1af4404]{background:var(--scalar-background-1);border-bottom-left-radius:var(--scalar-radius-lg);border-bottom-right-radius:var(--scalar-radius-lg);font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);border-top:var(--scalar-border-width) solid var(--scalar-border-color);gap:12px;padding:6px 12px;display:flex}.authenticationProvided[data-v-e3416cd5]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.authenticationRequired[data-v-d15ef40b]{color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.askForAuthentication[data-v-19cedfcd]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);width:100%;box-shadow:0 var(--scalar-border-width) 0 var(--scalar-background-1), 0 calc(-1 * var(--scalar-border-width)) 0 var(--scalar-background-1);flex-direction:column;margin-bottom:12px;padding:0;display:flex;position:relative}.authContent[data-v-19cedfcd]{grid-template-rows:0fr;width:100%;max-width:520px;min-height:0;margin:auto;transition:grid-template-rows .2s ease-out;display:grid;overflow:hidden}.authContentInner[data-v-19cedfcd]>div{margin:36px 0 48px}.authContent[data-v-19cedfcd] .markdown{margin-bottom:0!important}.askForAuthentication.open .authContent[data-v-19cedfcd]{grid-template-rows:1fr}.continueButton[data-v-19cedfcd]{align-self:flex-end}.toggleButton[data-v-19cedfcd]{cursor:pointer;text-align:left;color:var(--scalar-color-3);border-radius:var(--scalar-radius-lg);background:0 0;border:none;justify-content:space-between;align-items:center;display:flex;position:relative}.authContentInner[data-v-19cedfcd]{min-height:0;overflow:hidden}.authorizeButton[data-v-19cedfcd]{z-index:1;gap:5px;display:flex;background:var(--scalar-color-blue)!important;color:#fff!important;margin:0!important}.autosendPaused[data-v-d08225db]{color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.playIcon[data-v-5749c429]{z-index:1;background:var(--scalar-background-1);border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-5749c429]:before{content:"";box-sizing:border-box;border:1.75px solid;border-bottom-color:#0000;border-image:initial;background:var(--scalar-background-1);border-radius:50%;width:16px;height:16px;animation:.42s linear infinite rotation-5749c429;display:inline-block;position:absolute}.buildingRequest[data-v-5749c429]{color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.buildingRequest svg[data-v-5749c429]{z-index:1;border-radius:50%;width:100%;height:100%}@keyframes rotation-5749c429{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.requestApproved[data-v-bb311586]{color:var(--scalar-color-green);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.requestFailed[data-v-bc27e533]{color:var(--scalar-color-red);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.requestFailedIcon[data-v-bc27e533]{border-radius:50%;width:16px;height:16px;padding:4px;box-shadow:inset 0 0 0 1.5px}.requestRejected[data-v-9803a54c]{color:var(--scalar-color-red);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.requestSuccess[data-v-acc2c0d8]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.light-mode .bg-preview[data-v-92f84612]{background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'16\' height=\'16\' fill=\'%23000\' fill-opacity=\'10%25\'%3E%3Crect width=\'8\' height=\'8\' /%3E%3Crect x=\'8\' y=\'8\' width=\'8\' height=\'8\' /%3E%3C/svg%3E")}.dark-mode .bg-preview[data-v-92f84612]{background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'16\' height=\'16\' fill=\'%23FFF\' fill-opacity=\'10%25\'%3E%3Crect width=\'8\' height=\'8\' /%3E%3Crect x=\'8\' y=\'8\' width=\'8\' height=\'8\' /%3E%3C/svg%3E")}.playIcon[data-v-65dc6dfb]{z-index:1;background:var(--scalar-background-1);border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-65dc6dfb]:before{content:"";box-sizing:border-box;border:1.75px solid;border-bottom-color:#0000;border-image:initial;background:var(--scalar-background-1);border-radius:50%;width:16px;height:16px;animation:.42s linear infinite rotation-65dc6dfb;display:inline-block;position:absolute}.sendingRequest[data-v-65dc6dfb]{color:var(--scalar-color-blue);font-weight:var(--scalar-semibold);min-height:40px;font-size:var(--scalar-font-size-3);align-items:center;gap:6px;display:flex;position:relative}.sendingRequest svg[data-v-65dc6dfb]{z-index:1;border-radius:50%;width:100%;height:100%}@keyframes rotation-65dc6dfb{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.requestHeaderContainer[data-v-7595724d]{justify-content:space-between;align-items:center;padding:0 5px;display:flex}.requestPreview[data-v-7595724d]{border-radius:12px;flex-direction:column;width:100%;display:flex;position:relative}.requestContent[data-v-7595724d]{grid-template-rows:0fr;min-height:0;transition:grid-template-rows .2s ease-out;display:grid;overflow:hidden}.requestPreview.open .requestContent[data-v-7595724d]{grid-template-rows:1fr}.requestPreview.succeeded[data-v-7595724d]{padding:0}.requestContentInner[data-v-7595724d]{min-height:0;overflow:hidden}.code[data-v-7595724d]{font-size:var(--scalar-font-size-4);background:var(--scalar-background-2);border-radius:12px;flex-direction:column;display:flex}@supports (color:color-mix(in lab, red, red)){.code[data-v-7595724d]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.code[data-v-7595724d]{margin-bottom:12px;overflow:hidden}.dark-mode .code[data-v-7595724d]{background:var(--scalar-background-2)}.code h1[data-v-7595724d]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-3);padding:8px}.code[data-v-7595724d] .codeBlock{max-height:calc(50vh - 100px);padding-top:0}.autosendContainer[data-v-7595724d]{justify-content:space-between;display:flex}.sendButton[data-v-7595724d]{background:var(--scalar-color-blue);color:#fff;font-weight:var(--scalar-semibold);padding:5px 10px}.sendButton[data-v-7595724d]:hover,.sendButton[data-v-7595724d]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.sendButton[data-v-7595724d]:hover,.sendButton[data-v-7595724d]:active{background:color-mix(in srgb, var(--scalar-color-blue), black 10%)}}.sendButton[data-v-7595724d]:hover,.sendButton[data-v-7595724d]:active{color:#fff!important}.toggleButton[data-v-7595724d]{cursor:pointer;text-align:left;color:var(--scalar-color-3);border-radius:var(--scalar-radius-lg);background:0 0;border:none;justify-content:space-between;align-items:center;display:flex;position:relative}.toggleButton[data-v-7595724d]:hover{text-decoration:underline}.executeRequestTool[data-v-3e825a81]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);box-shadow:0 var(--scalar-border-width) 0 var(--scalar-background-1), 0 calc(-1 * var(--scalar-border-width)) 0 var(--scalar-background-1);flex-direction:column;gap:10px;margin-bottom:12px;display:flex}.tool[data-v-3e825a81]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:15px;margin-bottom:20px;padding:15px}.playIcon[data-v-9d9724d2]{z-index:1;background:var(--scalar-background-1);border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-9d9724d2]:before{content:"";box-sizing:border-box;border:1.5px solid;border-bottom-color:#0000;border-image:initial;background:var(--scalar-background-1);border-radius:50%;width:16px;height:16px;animation:.42s linear infinite rotation-9d9724d2;display:inline-block;position:absolute}.loadingApiSpecs[data-v-9d9724d2]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);align-items:center;gap:6px;margin-bottom:10px;display:flex}.loadingApiSpecs svg[data-v-9d9724d2]{z-index:1;border-radius:50%;width:100%;height:100%}@keyframes rotation-9d9724d2{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.contextItem[data-v-e6786ce3]{white-space:nowrap;color:var(--scalar-color-2);cursor:pointer;vertical-align:middle;background:var(--scalar-background-2);border-radius:12px;align-items:center;padding:5px 10px;font-size:10px;display:flex}@supports (color:color-mix(in lab, red, red)){.contextItem[data-v-e6786ce3]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.contextItem[data-v-e6786ce3]{max-width:200px}.contextItemText[data-v-e6786ce3]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shimmer[data-v-e6786ce3]{background:var(--scalar-background-2);background-image:linear-gradient(90deg, #202020 0%, var(--scalar-background-2) 40%, var(--scalar-background-3) 80%);background-size:200% 100%;animation:1.4s ease-in-out infinite shimmer-e6786ce3}.light-mode .shimmer[data-v-e6786ce3]{background:var(--scalar-background-2);background-image:linear-gradient(90deg, #fafafa 0%, var(--scalar-background-2) 40%, var(--scalar-background-3) 80%);background-size:200% 100%;animation:1.4s ease-in-out infinite shimmer-e6786ce3}@keyframes shimmer-e6786ce3{0%{background-position:200% 0}to{background-position:-200% 0}}.playIcon[data-v-6e0ac42c]{z-index:1;background:var(--scalar-background-1);border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-6e0ac42c]:before{content:"";box-sizing:border-box;border:1.5px solid;border-bottom-color:#0000;border-image:initial;background:var(--scalar-background-1);border-radius:50%;width:16px;height:16px;animation:.42s linear infinite rotation-6e0ac42c;display:inline-block;position:absolute}.sendingRequest[data-v-6e0ac42c]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);align-items:center;gap:6px;margin-bottom:10px;display:flex}.sendingRequest svg[data-v-6e0ac42c]{z-index:1;border-radius:50%;width:100%;height:100%}@keyframes rotation-6e0ac42c{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.operations[data-v-cbff70ed]{flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:12px;display:flex}.operations[data-v-cbff70ed]:empty{margin-bottom:-12px}.overflowPopover[data-v-cbff70ed]{flex-direction:column;gap:5px;padding:8px;display:flex}.catalogModal .scalar-modal-body{flex-direction:column;display:flex}.searchInput[data-v-18b2aea2]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-bottom:10px}.catalog[data-v-18b2aea2]{font-size:var(--scalar-font-size-3);grid-template-columns:1fr 1fr;gap:10px;display:grid;overflow-y:scroll}.item[data-v-18b2aea2]{background-color:var(--scalar-background-2);border-radius:var(--scalar-radius-lg);align-items:center;gap:10px;padding:15px;transition:background-color .16s;display:flex}.item[data-v-18b2aea2]:hover{background-color:var(--scalar-background-3)!important}@supports (color:color-mix(in lab, red, red)){.item[data-v-18b2aea2]:hover{background-color:color-mix(in srgb, var(--scalar-background-3), transparent 40%)!important}}.left[data-v-18b2aea2]{align-items:center}.right[data-v-18b2aea2]{flex-direction:column;display:flex}.logo[data-v-18b2aea2]{width:25px}.item-top[data-v-18b2aea2]{gap:10px;display:flex}.version[data-v-18b2aea2]{background:var(--scalar-background-3);border-radius:var(--scalar-radius);font-size:var(--scalar-font-size-5);color:var(--scalar-color-3);padding:2px 5px}.description[data-v-18b2aea2]{color:var(--scalar-color-2)}.dropdown-item[data-v-e2c3bd19]{align-items:center;gap:10px;display:flex}.approvalSection[data-v-a7e6c699]{background:var(--scalar-color-blue);width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px}@supports (color:color-mix(in lab, red, red)){.approvalSection[data-v-a7e6c699]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.approvalSection[data-v-a7e6c699]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.approvalText[data-v-a7e6c699]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.approveContainer[data-v-a7e6c699]{gap:5px;display:flex}.actionButton[data-v-a7e6c699]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);border-radius:50px;align-items:center;padding:6px 12px;display:flex}.rejectButton[data-v-a7e6c699]{color:#fff;background:var(--scalar-color-red)}.rejectButton[data-v-a7e6c699]:hover,.rejectButton[data-v-a7e6c699]:active{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.rejectButton[data-v-a7e6c699]:hover,.rejectButton[data-v-a7e6c699]:active{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 10%)}}.rejectButton[data-v-a7e6c699]:hover,.rejectButton[data-v-a7e6c699]:active{color:#fff!important}.approveButton[data-v-a7e6c699]{color:#fff;background:var(--scalar-color-blue)}.approveButton[data-v-a7e6c699]:hover,.approveButton[data-v-a7e6c699]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.approveButton[data-v-a7e6c699]:hover,.approveButton[data-v-a7e6c699]:active{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 10%)}}.approveButton[data-v-a7e6c699]:hover,.approveButton[data-v-a7e6c699]:active{color:#fff!important}.error[data-v-63a481da]{border:var(--scalar-border-width) solid var(--scalar-border-color);background:var(--scalar-color-red);border-radius:16px 16px 0 0;align-items:center;margin-bottom:-16px;padding:8px 8px 24px 12px;display:flex}@supports (color:color-mix(in lab, red, red)){.error[data-v-63a481da]{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}.error[data-v-63a481da]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);position:absolute;top:0;transform:translateY(calc(16px - 100%))}.freeMessagesInfoSection[data-v-913a3815]{background:var(--scalar-color-blue);width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;position:relative}@supports (color:color-mix(in lab, red, red)){.freeMessagesInfoSection[data-v-913a3815]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.freeMessagesInfoSection[data-v-913a3815]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;justify-content:space-between;align-items:center;display:flex}.infoText[data-v-913a3815]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.actionsContainer[data-v-913a3815]{align-items:center;gap:8px;display:flex}.actionButton[data-v-913a3815]{font-weight:var(--scalar-semibold);border-radius:50px;align-items:center;padding:6px 12px;display:flex}.upgradeButton[data-v-913a3815]{color:#fff;font-size:var(--scalar-font-size-3);background:var(--scalar-color-blue)}.upgradeButton[data-v-913a3815]:hover,.upgradeButton[data-v-913a3815]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.upgradeButton[data-v-913a3815]:hover,.upgradeButton[data-v-913a3815]:active{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 10%)}}.upgradeButton[data-v-913a3815]:hover,.upgradeButton[data-v-913a3815]:active{color:#fff!important}.closeButton[data-v-913a3815]{width:28px;height:28px;color:var(--scalar-color-2);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;display:flex}.closeButton[data-v-913a3815]:hover{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.closeButton[data-v-913a3815]:hover{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 80%)}}.closeButton[data-v-913a3815]:hover{color:var(--scalar-color-1)}.paymentSection[data-v-8f005a5c]{background:var(--scalar-color-blue);width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;position:relative}@supports (color:color-mix(in lab, red, red)){.paymentSection[data-v-8f005a5c]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.paymentSection[data-v-8f005a5c]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.approvalText[data-v-8f005a5c]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.paymentContainer[data-v-8f005a5c]{gap:5px;display:flex}.actionButton[data-v-8f005a5c]{font-weight:var(--scalar-semibold);border-radius:50px;align-items:center;padding:6px 12px;display:flex}.rejectButton[data-v-8f005a5c]{color:#fff;background:var(--scalar-color-red)}.rejectButton[data-v-8f005a5c]:hover,.rejectButton[data-v-8f005a5c]:active{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.rejectButton[data-v-8f005a5c]:hover,.rejectButton[data-v-8f005a5c]:active{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 10%)}}.rejectButton[data-v-8f005a5c]:hover,.rejectButton[data-v-8f005a5c]:active{color:#fff!important}.approveButton[data-v-8f005a5c]{color:#fff;font-size:var(--scalar-font-size-3);background:var(--scalar-color-blue)}.approveButton[data-v-8f005a5c]:hover,.approveButton[data-v-8f005a5c]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.approveButton[data-v-8f005a5c]:hover,.approveButton[data-v-8f005a5c]:active{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 10%)}}.approveButton[data-v-8f005a5c]:hover,.approveButton[data-v-8f005a5c]:active{color:#fff!important}.paymentInfo[data-v-8f005a5c]{width:300px;box-shadow:var(--scalar-shadow-2);background:var(--scalar-background-1);pointer-events:none;opacity:0;border-radius:16px;padding:12px;transition:all .2s ease-in-out;position:absolute;bottom:70px;right:0;transform:translateY(-5px)}.paymentInfo h3[data-v-8f005a5c]{font-size:var(--scalar-font-size-1);font-weight:var(--scalar-bold);margin-bottom:18px}.paymentInfo h3 span[data-v-8f005a5c]{font-size:var(--scalar-font-size-2)}.dark-mode .paymentInfo[data-v-8f005a5c]{background:var(--scalar-background-2)}.paymentContainer:hover .paymentInfo[data-v-8f005a5c]{opacity:1;transform:translate(0)}.paymentInfoItem[data-v-8f005a5c]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);justify-content:space-between;margin-top:8px;display:flex}.paymentInfoSection[data-v-8f005a5c]:not(:last-child){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);padding-bottom:8px}.searchItem[data-v-3e0405c7]{font-size:var(--scalar-font-size-3);align-items:center;gap:9px;padding:8px 10px;display:flex}.searchInput[data-v-3e0405c7]{margin-bottom:5px}.searchItem[data-v-3e0405c7]:hover{background:var(--scalar-background-2)}.searchItemLogo[data-v-3e0405c7]{width:15px}.searchIcon[data-v-3e0405c7]{margin-right:7px}.searchResultsEmpty[data-v-3e0405c7]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);margin:10px}.uploadSection[data-v-1e830c40]{background:var(--scalar-color-blue);width:100%;margin-bottom:-16px;padding:8px 8px 24px 12px;position:relative}@supports (color:color-mix(in lab, red, red)){.uploadSection[data-v-1e830c40]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.uploadSection[data-v-1e830c40]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px 16px 0 0;justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.uploadSection.error[data-v-1e830c40]{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.uploadSection.error[data-v-1e830c40]{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}.uploadSection.done[data-v-1e830c40]{background:var(--scalar-color-green)}@supports (color:color-mix(in lab, red, red)){.uploadSection.done[data-v-1e830c40]{background:color-mix(in srgb, var(--scalar-color-green), var(--scalar-background-1) 95%)}}.uploadText[data-v-1e830c40]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.icon[data-v-1e830c40]{width:20px;height:20px}.actionContainer[data-v-109c99b0]{background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.actionContainer[data-v-109c99b0]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.actionContainer[data-v-109c99b0]{border:var(--scalar-border-width) solid var(--scalar-border-color);width:100%;box-shadow:0 24px 0 2px var(--scalar-background-1);border-radius:16px;position:relative}.promptForm[data-v-109c99b0]{background:var(--scalar-background-1);width:100%;box-shadow:var(--scalar-shadow-1), 0 0 0 var(--scalar-border-width) var(--scalar-border-color);border-radius:16px;flex-direction:column;display:flex;position:relative}.inputActionsContainer[data-v-109c99b0]{justify-content:space-between;padding:0 8px 8px;display:flex}.inputActionsLeft[data-v-109c99b0]{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.inputActionsRight[data-v-109c99b0]{gap:5px;display:flex;position:relative}.apiPill[data-v-109c99b0]{font-size:var(--scalar-font-size-3);border:var(--scalar-border-width) solid var(--scalar-border-color);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);pointer-events:all;z-index:1;-webkit-user-select:none;user-select:none;border-radius:16px;align-items:center;gap:4px;height:28px;padding:0 8px;display:flex}.apiPillLogo[data-v-109c99b0]{width:15px}.apiPillRemove[data-v-109c99b0]{border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;margin-right:-6px;display:flex}.apiPill:hover .apiPillRemove[data-v-109c99b0]{background:var(--scalar-background-2)}.dark-mode .apiPill:hover .apiPillRemove[data-v-109c99b0]{background:var(--scalar-background-3)}.apiPillRemove[data-v-109c99b0]:hover{color:var(--scalar-color-1)}.prompt[data-v-109c99b0]{resize:none;field-sizing:content;z-index:1;scrollbar-width:thin;word-wrap:break-word;width:100%;max-width:100%;min-height:64px;max-height:250px;font-family:var(--scalar-font);border:none;outline:none;padding:12px 12px 14px;font-size:16px;overflow-y:auto}.dark-mode .promptForm[data-v-109c99b0]{background:var(--scalar-background-2)}.prompt[data-v-109c99b0]:disabled{color:var(--scalar-color-3)}.addAPIButton[data-v-109c99b0]{color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);width:28px;height:28px;font-weight:var(--scalar-bold);pointer-events:all;z-index:1;box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color);border-radius:100%;justify-content:center;align-items:center;gap:4px;display:flex}.addAPIButton[data-v-109c99b0]:hover{background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.addAPIButton[data-v-109c99b0]:hover{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.addAPIButton[data-v-109c99b0]:hover{box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color)}.dark-mode .addAPIButton[data-v-109c99b0]:hover{background:var(--scalar-background-3)}.settingsButton[data-v-109c99b0]{z-index:1;color:var(--scalar-color-3)!important;border-radius:50%!important;margin:0!important}.settingsButton[aria-disabled=true][data-v-109c99b0]{background:var(--scalar-background-2)}.dark-mode .settingsButton[data-v-109c99b0]:hover{background:var(--scalar-background-3)}.sendButton[data-v-109c99b0]{z-index:1;border:var(--scalar-border-width) solid var(--scalar-color-blue);background:var(--scalar-color-blue)!important;border-radius:50%!important;margin:0!important}.sendButton[data-v-109c99b0]:not([aria-disabled=true]){color:#fff!important}.sendButton[data-v-109c99b0]:not([aria-disabled=true]):hover{background:var(--scalar-color-blue)!important}@supports (color:color-mix(in lab, red, red)){.sendButton[data-v-109c99b0]:not([aria-disabled=true]):hover{background:color-mix(in srgb, var(--scalar-color-blue), transparent 10%)!important}}.sendButton[aria-disabled=true][data-v-109c99b0]{border:var(--scalar-border-width) solid var(--scalar-border-color);background:var(--scalar-background-2)!important;color:var(--scalar-color-3)!important}.dark-mode .sendButton[aria-disabled=true][data-v-109c99b0]{background:var(--scalar-background-3)!important}.contextContainer[data-v-109c99b0]{width:100%;color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);-webkit-user-select:none;user-select:none;justify-content:space-between;padding:10px 12px 12px;display:flex}.settingsButton[data-v-109c99b0]{font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius-lg);margin:-4px -6px;padding:4px 6px}.settingsButton[data-v-109c99b0]:hover{background:var(--scalar-background-2);box-shadow:0 0 var(--scalar-border-width) 0 var(--scalar-border-color);cursor:pointer}.agentLabel[data-v-109c99b0]{cursor:text;width:100%;height:100%;font-size:0;position:absolute}.sendCheckboxContinue[data-v-109c99b0]:has(input){background:var(--scalar-background-2);box-shadow:0 0 0 1.5px var(--scalar-background-2);color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);font-weight:var(--scalar-semibold);-webkit-user-select:none;user-select:none;border-radius:14px;align-items:center;height:28px;display:flex}.dark-mode .sendCheckboxContinue[data-v-109c99b0]:has(input){background:var(--scalar-background-3);box-shadow:0 0 0 1.5px var(--scalar-background-3)}.addMoreContext[data-v-109c99b0]{height:40px;font-size:var(--scalar-font-size-3);color:var(--scalar-color-3);align-items:center;padding:0 8px 0 12px;display:flex;position:relative}.addMoreContext[data-v-109c99b0]:before{content:"";background:var(--scalar-background-1);width:8px;height:8px}@supports (color:color-mix(in lab, red, red)){.addMoreContext[data-v-109c99b0]:before{background:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.addMoreContext[data-v-109c99b0]:before{box-shadow:-.5px -.5px 0 var(--scalar-border-color), inset .5px .5px 1px var(--scalar-border-color);position:absolute;top:-3px;left:18px;transform:rotate(45deg)}.dark-mode .addMoreContext[data-v-109c99b0]:before{box-shadow:-.5px -.5px 0 var(--scalar-border-color)}.addAPIContext[data-v-109c99b0]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.termsAgree[data-v-109c99b0]{cursor:pointer;height:inherit;border-radius:14px;align-items:center;gap:5px;margin:0 5px;display:flex}.termsAgree[data-v-109c99b0]:hover{color:var(--scalar-color-1)}.termsAgree:hover .termsAgreeIcon[data-v-109c99b0]{background:var(--scalar-color-1);color:var(--scalar-background-1)}.termsAgreeIcon[data-v-109c99b0]{width:inherit;height:inherit;background:var(--scalar-background-2);border-radius:50%;padding:2px}.chat[data-v-8e43ed7a]{flex-direction:column;flex:1;width:100%;max-width:744px;padding:24px 0;display:flex}.userMessage[data-v-8e43ed7a]{background:var(--scalar-background-2);width:fit-content;max-width:80%;color:var(--scalar-color-1);padding-top:6px;padding-bottom:6px;border-radius:18px;margin-bottom:12px;margin-left:auto;padding-inline:16px;font-size:16px;line-height:24px}div+.userMessage[data-v-8e43ed7a]{margin-top:64px}.chat[data-v-8e43ed7a]>div:has(.executeRequestTool)+div:has(.executeRequestTool){margin-top:-12px}.spacer[data-v-8e43ed7a]{width:100%;min-height:280px}.formContainer[data-v-8e43ed7a]{z-index:1;width:100%;max-width:744px;position:fixed;bottom:20px}.chat[data-v-8e43ed7a] .markdown{margin-bottom:12px}.agentLogo[data-v-56f7e8dd]{margin-bottom:15px}.startContainer[data-v-56f7e8dd]{flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:720px;height:100%;display:flex;position:relative}.heading[data-v-56f7e8dd]{font-size:1.5rem;font-weight:var(--scalar-font-bold);margin-bottom:50px}.disclaimerText[data-v-56f7e8dd]{text-align:center;color:var(--scalar-color-3);font-size:var(--scalar-font-size-3);text-wrap:balance;margin-top:40px;line-height:1.44}.disclaimerLink[data-v-56f7e8dd]{text-decoration:underline}.wrapper[data-v-f1eee0af]{flex-direction:column;align-items:center;width:100%;height:100%;display:flex}.docSettings[data-v-01a25619]{font-size:var(--scalar-font-size-3);flex-direction:column;gap:12px;max-height:600px;margin-bottom:12px;display:flex}.documentName[data-v-01a25619]{font-weight:var(--scalar-semibold)}.settingsModal .scalar-modal-layout{z-index:10!important}.settingsModal .scalar-modal-body{overflow:hidden auto}.documentList[data-v-dd2544e6]{font-size:var(--scalar-font-size-3);flex-direction:column;margin-bottom:12px;display:flex}.document[data-v-dd2544e6]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);flex-direction:column;width:calc(100% + 24px);padding:0 12px;display:flex;position:relative;left:-12px}.document[data-v-dd2544e6]:first-of-type:not(:last-of-type){border-bottom:none}.documentName[data-v-dd2544e6]{font-weight:var(--scalar-semibold);color:var(--scalar-color-2);align-items:center;gap:4px;padding:12px 0;display:flex}.documentNameActive[data-v-dd2544e6]{color:var(--scalar-color-1)}.settingsHeading[data-v-dd2544e6]{font-size:19px;font-weight:var(--scalar-semibold);align-items:center;gap:5px;margin-bottom:12px;display:flex}.proxyUrlContainer[data-v-dd2544e6]{font-size:var(--scalar-font-size-3);flex-direction:column;gap:5px;display:flex}.proxyUrlContainer label[data-v-dd2544e6]{font-weight:var(--scalar-semibold)}.noDocuments[data-v-dd2544e6]{color:var(--scalar-color-2);margin-bottom:10px}.scalar-app .\\@container{container-type:inline-size}.scalar-app .pointer-events-auto{pointer-events:auto}.scalar-app .pointer-events-none{pointer-events:none}.scalar-app .collapse{visibility:collapse}.scalar-app .invisible{visibility:hidden}.scalar-app .visible{visibility:visible}.scalar-app .floating-bg:before{background-color:var(--scalar-background-2);border-radius:var(--scalar-radius);content:"";opacity:0;z-index:1;width:calc(100% + 8px);height:calc(100% - 4px);transition:opacity .2s ease-in-out;position:absolute;top:2.5px;left:-4px}.scalar-app .floating-bg:hover:before{opacity:1}.scalar-app .centered{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y);position:absolute;top:50%;left:50%}.scalar-app .centered-y{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y);position:absolute;top:50%}.scalar-app .sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.scalar-app .absolute{position:absolute}.scalar-app .fixed{position:fixed}.scalar-app .relative{position:relative}.scalar-app .static{position:static}.scalar-app .sticky{position:sticky}.scalar-app .inset-0{inset:0}.scalar-app .inset-x-0{inset-inline:0}.scalar-app .inset-x-1{inset-inline:4px}.scalar-app .inset-x-px{inset-inline:1px}.scalar-app .-inset-y-0\\.5{inset-block:-2px}.scalar-app .-inset-y-0\\.75{inset-block:-3px}.scalar-app .inset-y-0{inset-block:0}.scalar-app .inset-y-0\\.5{inset-block:2px}.scalar-app .start{inset-inline-start:4px}.scalar-app .end{inset-inline-end:4px}.scalar-app .-top-1{top:-4px}.scalar-app .-top-2{top:-8px}.scalar-app .top-\\(--nested-items-offset\\)\\!{top:var(--nested-items-offset)!important}.scalar-app .top-\\(--refs-header-height\\){top:var(--refs-header-height)}.scalar-app .top-\\(--scalar-custom-header-height\\,0\\){top:var(--scalar-custom-header-height,0)}.scalar-app .top-\\(--scalar-sidebar-sticky-offset\\,0\\){top:var(--scalar-sidebar-sticky-offset,0)}.scalar-app .top-0{top:0}.scalar-app .top-0\\.5{top:2px}.scalar-app .top-1\\/2{top:50%}.scalar-app .top-2{top:8px}.scalar-app .top-2\\.5{top:10px}.scalar-app .top-3\\.5{top:14px}.scalar-app .top-12{top:48px}.scalar-app .top-\\[1lh\\]{top:1lh}.scalar-app .top-\\[calc\\(10px\\+0\\.5lh\\)\\]{top:calc(10px + .5lh)}.scalar-app .top-\\[calc\\(100\\%\\+4px\\)\\]{top:calc(100% + 4px)}.scalar-app .top-px{top:1px}.scalar-app .-right-1{right:-4px}.scalar-app .-right-1\\.5{right:-6px}.scalar-app .-right-\\[30px\\]{right:-30px}.scalar-app .right-0{right:0}.scalar-app .right-0\\.75{right:3px}.scalar-app .right-1{right:4px}.scalar-app .right-1\\.5{right:6px}.scalar-app .right-1\\.25{right:5px}.scalar-app .right-2{right:8px}.scalar-app .right-2\\.5{right:10px}.scalar-app .right-4{right:16px}.scalar-app .right-7{right:28px}.scalar-app .right-12{right:48px}.scalar-app .bottom-1{bottom:4px}.scalar-app .bottom-4{bottom:16px}.scalar-app .bottom-\\[var\\(--scalar-border-width\\)\\]{bottom:var(--scalar-border-width)}.scalar-app .-left-4\\.5{left:-18px}.scalar-app .-left-5{left:-20px}.scalar-app .-left-6{left:-24px}.scalar-app .left-0{left:0}.scalar-app .left-1\\/2{left:50%}.scalar-app .left-2{left:8px}.scalar-app .left-2\\.5{left:10px}.scalar-app .left-3{left:12px}.scalar-app .left-4{left:16px}.scalar-app .left-border{left:var(--scalar-border-width)}.scalar-app .left-px{left:1px}.scalar-app .left-refs-w-sidebar{left:var(--refs-sidebar-width)}.scalar-app .-z-1{z-index:calc(1 * -1)}.scalar-app .-z-2{z-index:calc(2 * -1)}.scalar-app .z-0{z-index:0}.scalar-app .z-1{z-index:1}.scalar-app .z-10{z-index:10;z-index:10}.scalar-app .z-50{z-index:50;z-index:50}.scalar-app .z-\\[1\\]{z-index:1}.scalar-app .z-context{z-index:1000}.scalar-app .z-context-plus{z-index:1001}.scalar-app .z-overlay{z-index:10000}.scalar-app .z-tooltip{z-index:99999}.scalar-app .order-789{order:789}.scalar-app .order-last{order:9999}.scalar-app .col-span-full{grid-column:1/-1}.scalar-app .container{width:100%}@media (width>=400px){.scalar-app .container{max-width:400px}}@media (width>=600px){.scalar-app .container{max-width:600px}}@media (width>=800px){.scalar-app .container{max-width:800px}}@media (width>=1000px){.scalar-app .container{max-width:1000px}}@media (width>=1200px){.scalar-app .container{max-width:1200px}}@media (width>=96rem){.scalar-app .container{max-width:96rem}}.scalar-app .\\!m-0{margin:0!important}.scalar-app .-m-0\\.5{margin:-2px}.scalar-app .-m-1{margin:-4px}.scalar-app .-m-2{margin:-8px}.scalar-app .-m-px{margin:-1px}.scalar-app .m-0{margin:0}.scalar-app .m-1{margin:4px}.scalar-app .m-auto{margin:auto}.scalar-app .-mx-\\(--scalar-sidebar-padding\\){margin-inline:calc(var(--scalar-sidebar-padding) * -1)}.scalar-app .-mx-0\\.25{margin-inline:-1px}.scalar-app .-mx-0\\.75{margin-inline:-3px}.scalar-app .-mx-2{margin-inline:-8px}.scalar-app .-mx-px{margin-inline:-1px}.scalar-app .mx-0\\.5{margin-inline:2px}.scalar-app .mx-1{margin-inline:4px}.scalar-app .mx-1\\.5{margin-inline:6px}.scalar-app .mx-px{margin-inline:1px}.scalar-app .-my-0\\.5{margin-block:-2px}.scalar-app .-my-1{margin-block:-4px}.scalar-app .-my-1\\.5{margin-block:-6px}.scalar-app .-my-2{margin-block:-8px}.scalar-app .-my-px{margin-block:-1px}.scalar-app .my-0\\.75{margin-block:3px}.scalar-app .my-1\\.5{margin-block:6px}.scalar-app .my-2{margin-block:8px}.scalar-app .my-3{margin-block:12px}.scalar-app .my-12{margin-block:48px}.scalar-app .-mt-\\(--scalar-sidebar-padding\\){margin-top:calc(var(--scalar-sidebar-padding) * -1)}.scalar-app .-mt-1{margin-top:-4px}.scalar-app .-mt-1\\.5{margin-top:-6px}.scalar-app .-mt-\\[\\.5px\\]{margin-top:-.5px}.scalar-app .mt-0{margin-top:0}.scalar-app .mt-0\\.5{margin-top:2px}.scalar-app .mt-0\\.25{margin-top:1px}.scalar-app .mt-1{margin-top:4px}.scalar-app .mt-2{margin-top:8px}.scalar-app .mt-3{margin-top:12px}.scalar-app .mt-6{margin-top:24px}.scalar-app .mt-\\[15svh\\]{margin-top:15svh}.scalar-app .mt-\\[20svh\\]{margin-top:20svh}.scalar-app .mt-auto{margin-top:auto}.scalar-app .mt-px{margin-top:1px}.scalar-app .-mr-0\\.5{margin-right:-2px}.scalar-app .-mr-1{margin-right:-4px}.scalar-app .-mr-1\\.5{margin-right:-6px}.scalar-app .-mr-px{margin-right:-1px}.scalar-app .mr-0{margin-right:0}.scalar-app .mr-0\\.5{margin-right:2px}.scalar-app .mr-0\\.75{margin-right:3px}.scalar-app .mr-1{margin-right:4px}.scalar-app .mr-1\\.5{margin-right:6px}.scalar-app .mr-1\\.25{margin-right:5px}.scalar-app .mr-2{margin-right:8px}.scalar-app .mr-3{margin-right:12px}.scalar-app .mr-\\[calc\\(20px-var\\(--scalar-sidebar-indent\\)\\)\\]{margin-right:calc(20px - var(--scalar-sidebar-indent))}.scalar-app .-mb-1{margin-bottom:-4px}.scalar-app .-mb-\\[var\\(--scalar-border-width\\)\\]{margin-bottom:calc(var(--scalar-border-width) * -1)}.scalar-app .mb-0{margin-bottom:0}.scalar-app .mb-1{margin-bottom:4px}.scalar-app .mb-2{margin-bottom:8px}.scalar-app .mb-3{margin-bottom:12px}.scalar-app .mb-4{margin-bottom:16px}.scalar-app .-ml-0\\.5{margin-left:-2px}.scalar-app .-ml-0\\.25{margin-left:-1px}.scalar-app .-ml-0\\.75{margin-left:-3px}.scalar-app .ml-1{margin-left:4px}.scalar-app .ml-2{margin-left:8px}.scalar-app .ml-auto{margin-left:auto}.scalar-app .box-border{box-sizing:border-box}.scalar-app .box-content{box-sizing:content-box}.scalar-app .flex-center{justify-content:center;align-items:center;display:flex}.scalar-app .line-clamp-\\(--markdown-clamp\\){-webkit-line-clamp:var(--markdown-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.scalar-app .line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.scalar-app .\\!block{display:block!important}.scalar-app .\\!hidden{display:none!important}.scalar-app .block{display:block}.scalar-app .contents{display:contents}.scalar-app .flex{display:flex}.scalar-app .grid{display:grid}.scalar-app .hidden{display:none}.scalar-app .inline{display:inline}.scalar-app .inline-block{display:inline-block}.scalar-app .inline-flex{display:inline-flex}.scalar-app .table{display:table}.scalar-app .field-sizing-content{field-sizing:content}.scalar-app .aspect-\\[4\\/3\\]{aspect-ratio:4/3}.scalar-app .aspect-square{aspect-ratio:1}.scalar-app .size-1\\.5{width:6px;height:6px}.scalar-app .size-2\\.5{width:10px;height:10px}.scalar-app .size-2\\.75{width:11px;height:11px}.scalar-app .size-3{width:12px;height:12px}.scalar-app .size-3\\.5{width:14px;height:14px}.scalar-app .size-3\\/4{width:75%;height:75%}.scalar-app .size-4{width:16px;height:16px}.scalar-app .size-4\\.5{width:18px;height:18px}.scalar-app .size-5{width:20px;height:20px}.scalar-app .size-6{width:24px;height:24px}.scalar-app .size-8{width:32px;height:32px}.scalar-app .size-10{width:40px;height:40px}.scalar-app .size-\\[23px\\]{width:23px;height:23px}.scalar-app .size-full{width:100%;height:100%}.scalar-app .h-\\(--refs-sidebar-height\\){height:var(--refs-sidebar-height)}.scalar-app .h-\\(--scalar-address-bar-height\\){height:var(--scalar-address-bar-height)}.scalar-app .h-\\(--scalar-header-height\\){height:var(--scalar-header-height)}.scalar-app .h-0{height:0}.scalar-app .h-1{height:4px}.scalar-app .h-1\\.5{height:6px}.scalar-app .h-2{height:8px}.scalar-app .h-2\\.5{height:10px}.scalar-app .h-2\\.25{height:9px}.scalar-app .h-3{height:12px}.scalar-app .h-3\\.5{height:14px}.scalar-app .h-4{height:16px}.scalar-app .h-4\\.5{height:18px}.scalar-app .h-5{height:20px}.scalar-app .h-6{height:24px}.scalar-app .h-7{height:28px}.scalar-app .h-8{height:32px}.scalar-app .h-10{height:40px}.scalar-app .h-\\[calc\\(100\\%\\+16px\\)\\]{height:calc(100% + 16px)}.scalar-app .h-\\[calc\\(100\\%_-_50px\\)\\]{height:calc(100% - 50px)}.scalar-app .h-auto{height:auto}.scalar-app .h-border{height:var(--scalar-border-width)}.scalar-app .h-dvh{height:100dvh}.scalar-app .h-fit{height:fit-content}.scalar-app .h-full{height:100%}.scalar-app .h-lh{height:1lh}.scalar-app .h-min{height:min-content}.scalar-app .h-px{height:1px}.scalar-app .\\!max-h-\\[initial\\]{max-height:initial!important}.scalar-app .max-h-8{max-height:32px}.scalar-app .max-h-40{max-height:160px}.scalar-app .max-h-80{max-height:320px}.scalar-app .max-h-\\[60svh\\]{max-height:60svh}.scalar-app .max-h-\\[60vh\\]{max-height:60vh}.scalar-app .max-h-\\[80svh\\]{max-height:80svh}.scalar-app .max-h-\\[90svh\\]{max-height:90svh}.scalar-app .max-h-\\[auto\\]{max-height:auto}.scalar-app .max-h-\\[calc\\(100\\%-32px\\)\\]{max-height:calc(100% - 32px)}.scalar-app .max-h-\\[inherit\\]{max-height:inherit}.scalar-app .max-h-dvh{max-height:100dvh}.scalar-app .max-h-fit{max-height:fit-content}.scalar-app .max-h-radix-popper{max-height:calc(var(--radix-popper-available-height) - 8px);max-height:calc(var(--radix-popper-available-height) - 8px);max-height:calc(var(--radix-popper-available-height) - 8px);max-height:calc(var(--radix-popper-available-height) - 8px);max-height:calc(var(--radix-popper-available-height) - 8px);max-height:calc(var(--radix-popper-available-height) - 8px);max-height:calc(var(--radix-popper-available-height) - 8px)}.scalar-app .max-h-screen{max-height:100vh}.scalar-app .min-h-0{min-height:0}.scalar-app .min-h-3{min-height:12px}.scalar-app .min-h-7{min-height:28px}.scalar-app .min-h-8{min-height:32px}.scalar-app .min-h-10{min-height:40px}.scalar-app .min-h-11{min-height:44px}.scalar-app .min-h-16{min-height:64px}.scalar-app .min-h-20{min-height:80px}.scalar-app .min-h-\\[64px\\]{min-height:64px}.scalar-app .min-h-\\[calc\\(4rem\\+0\\.5px\\)\\]{min-height:calc(4rem + .5px)}.scalar-app .min-h-fit{min-height:fit-content}.scalar-app .min-h-header{min-height:48px}.scalar-app .\\!w-fit{width:fit-content!important}.scalar-app .w-\\(--refs-sidebar-width\\){width:var(--refs-sidebar-width)}.scalar-app .w-0\\.5{width:2px}.scalar-app .w-1\\.5{width:6px}.scalar-app .w-2\\.5{width:10px}.scalar-app .w-2\\.25{width:9px}.scalar-app .w-3{width:12px}.scalar-app .w-4{width:16px}.scalar-app .w-4\\.5{width:18px}.scalar-app .w-5{width:20px}.scalar-app .w-6{width:24px}.scalar-app .w-7{width:28px}.scalar-app .w-8{width:32px}.scalar-app .w-36{width:144px}.scalar-app .w-40{width:160px}.scalar-app .w-56{width:224px}.scalar-app .w-64{width:256px}.scalar-app .w-72{width:288px}.scalar-app .w-120{width:480px}.scalar-app .w-\\[38px\\]{width:38px}.scalar-app .w-\\[calc\\(100vw-12px\\)\\]{width:calc(100vw - 12px)}.scalar-app .w-\\[var\\(--scalar-sidebar-indent\\)\\]{width:var(--scalar-sidebar-indent)}.scalar-app .w-auto{width:auto}.scalar-app .w-border{width:var(--scalar-border-width)}.scalar-app .w-content{width:720px}.scalar-app .w-dvw{width:100dvw}.scalar-app .w-fit{width:fit-content}.scalar-app .w-full{width:100%}.scalar-app .w-max{width:max-content}.scalar-app .w-px{width:1px}.scalar-app .max-w-\\(--refs-content-max-width\\){max-width:var(--refs-content-max-width)}.scalar-app .max-w-3xl{max-width:768px}.scalar-app .max-w-64{max-width:256px}.scalar-app .max-w-\\[9rem\\]{max-width:9rem}.scalar-app .max-w-\\[100\\%\\]{max-width:100%}.scalar-app .max-w-\\[160px\\]{max-width:160px}.scalar-app .max-w-\\[220px\\]{max-width:220px}.scalar-app .max-w-\\[360px\\]{max-width:360px}.scalar-app .max-w-\\[480px\\]{max-width:480px}.scalar-app .max-w-\\[540px\\]{max-width:540px}.scalar-app .max-w-\\[640px\\]{max-width:640px}.scalar-app .max-w-\\[800px\\]{max-width:800px}.scalar-app .max-w-\\[1000px\\]{max-width:1000px}.scalar-app .max-w-\\[inherit\\]{max-width:inherit}.scalar-app .max-w-full{max-width:100%}.scalar-app .max-w-screen-padded-4{max-width:calc(100vw - 32px)}.scalar-app .max-w-xs{max-width:320px}.scalar-app .min-w-0{min-width:0}.scalar-app .min-w-2\\.25{min-width:9px}.scalar-app .min-w-3{min-width:12px}.scalar-app .min-w-4{min-width:16px}.scalar-app .min-w-4\\.5{min-width:18px}.scalar-app .min-w-6{min-width:24px}.scalar-app .min-w-7{min-width:28px}.scalar-app .min-w-8{min-width:32px}.scalar-app .min-w-32{min-width:128px}.scalar-app .min-w-48{min-width:192px}.scalar-app .min-w-\\[4\\.5rem\\]{min-width:4.5rem}.scalar-app .min-w-fit{min-width:fit-content}.scalar-app .min-w-full{min-width:100%}.scalar-app .min-w-min{min-width:min-content}.scalar-app .flex-1{flex:1}.scalar-app .flex-shrink,.scalar-app .shrink{flex-shrink:1}.scalar-app .shrink-0{flex-shrink:0}.scalar-app .flex-grow,.scalar-app .grow{flex-grow:1}.scalar-app .grow-3{flex-grow:3}.scalar-app .-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-0{--tw-translate-x:calc(4px * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-2\\.5{--tw-translate-x:calc(4px * 2.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-\\[14px\\]{--tw-translate-x:14px;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-full{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .-translate-y-1\\.5{--tw-translate-y:calc(4px * -1.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-y-0{--tw-translate-y:calc(4px * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-y-1\\.5{--tw-translate-y:calc(4px * 1.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-y-\\[200\\%\\]{--tw-translate-y:200%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scalar-app .scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scalar-app .rotate-45{rotate:45deg}.scalar-app .rotate-90{rotate:90deg}.scalar-app .rotate-180{rotate:180deg}.scalar-app .transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.scalar-app .animate-pulse{animation:var(--animate-pulse)}.scalar-app .cursor-auto{cursor:auto}.scalar-app .cursor-default{cursor:default}.scalar-app .cursor-help{cursor:help}.scalar-app .cursor-not-allowed{cursor:not-allowed}.scalar-app .cursor-pointer{cursor:pointer}.scalar-app .cursor-text{cursor:text}.scalar-app .resize{resize:both}.scalar-app .resize-none{resize:none}.scalar-app .scroll-mt-16{scroll-margin-top:64px}.scalar-app .scroll-mt-24{scroll-margin-top:96px}.scalar-app .list-none{list-style-type:none}.scalar-app .appearance-none{appearance:none}.scalar-app .grid-flow-col{grid-auto-flow:column}.scalar-app .auto-rows-auto{grid-auto-rows:auto}.scalar-app .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.scalar-app .grid-cols-\\[44px_1fr_repeat\\(3\\,auto\\)\\]{grid-template-columns:44px 1fr repeat(3,auto)}.scalar-app .flex-col{flex-direction:column}.scalar-app .flex-row{flex-direction:row}.scalar-app .flex-wrap{flex-wrap:wrap}.scalar-app .content-end{align-content:flex-end}.scalar-app .content-start{align-content:flex-start}.scalar-app .items-baseline{align-items:baseline}.scalar-app .items-center{align-items:center}.scalar-app .items-end{align-items:flex-end}.scalar-app .items-start{align-items:flex-start}.scalar-app .items-stretch{align-items:stretch}.scalar-app .justify-between{justify-content:space-between}.scalar-app .justify-center{justify-content:center}.scalar-app .justify-end{justify-content:flex-end}.scalar-app .justify-start{justify-content:flex-start}.scalar-app .justify-stretch{justify-content:stretch}.scalar-app .gap-0\\.5{gap:2px}.scalar-app .gap-0\\.75{gap:3px}.scalar-app .gap-1{gap:4px}.scalar-app .gap-1\\.5{gap:6px}.scalar-app .gap-1\\.75{gap:7px}.scalar-app .gap-2{gap:8px}.scalar-app .gap-2\\.5{gap:10px}.scalar-app .gap-2\\.25{gap:9px}.scalar-app .gap-3{gap:12px}.scalar-app .gap-4{gap:16px}.scalar-app .gap-6{gap:24px}.scalar-app .gap-7{gap:28px}.scalar-app .gap-10{gap:40px}.scalar-app .gap-12{gap:48px}.scalar-app .gap-\\[1\\.5px\\]{gap:1.5px}.scalar-app .gap-px{gap:1px}.scalar-app .gap-x-2\\.5{column-gap:10px}:where(.scalar-app .space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(4px * 1) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(4px * 1) * calc(1 - var(--tw-space-x-reverse)))}:where(.scalar-app .divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(var(--scalar-border-width) * var(--tw-divide-y-reverse));border-bottom-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-y-reverse)))}.scalar-app .self-center{align-self:center}.scalar-app .self-end{align-self:flex-end}.scalar-app .self-start{align-self:flex-start}.scalar-app .truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.scalar-app .overflow-auto{overflow:auto}.scalar-app .overflow-hidden{overflow:hidden}.scalar-app .overflow-visible{overflow:visible}.scalar-app .overflow-x-auto{overflow-x:auto}.scalar-app .overflow-x-hidden{overflow-x:hidden}.scalar-app .overflow-y-auto{overflow-y:auto}.scalar-app .overflow-y-hidden{overflow-y:hidden}.scalar-app .overflow-y-scroll{overflow-y:scroll}.scalar-app .overscroll-contain{overscroll-behavior:contain}.scalar-app .\\!rounded-none{border-radius:0!important}.scalar-app .rounded{border-radius:var(--scalar-radius)}.scalar-app .rounded-\\[inherit\\]{border-radius:inherit}.scalar-app .rounded-full{border-radius:9999px}.scalar-app .rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-app .rounded-md{border-radius:var(--scalar-radius)}.scalar-app .rounded-none{border-radius:0}.scalar-app .rounded-px{border-radius:1px}.scalar-app .rounded-xl{border-radius:var(--scalar-radius-xl)}.scalar-app .rounded-t{border-top-left-radius:var(--scalar-radius);border-top-right-radius:var(--scalar-radius)}.scalar-app .rounded-t-lg{border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg)}.scalar-app .rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.scalar-app .rounded-t-xl{border-top-left-radius:var(--scalar-radius-xl);border-top-right-radius:var(--scalar-radius-xl)}.scalar-app .\\!rounded-b-xl{border-bottom-right-radius:var(--scalar-radius-xl)!important;border-bottom-left-radius:var(--scalar-radius-xl)!important}.scalar-app .rounded-b{border-bottom-right-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}.scalar-app .rounded-b-lg{border-bottom-right-radius:var(--scalar-radius-lg);border-bottom-left-radius:var(--scalar-radius-lg)}.scalar-app .rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.scalar-app .rounded-b-xl{border-bottom-right-radius:var(--scalar-radius-xl);border-bottom-left-radius:var(--scalar-radius-xl)}.scalar-app .border{border-style:var(--tw-border-style);border-width:var(--scalar-border-width)}.scalar-app .border-0{border-style:var(--tw-border-style);border-width:0}.scalar-app .border-1,.scalar-app .border-\\[1px\\]{border-style:var(--tw-border-style);border-width:1px}.scalar-app .border-x{border-inline-style:var(--tw-border-style);border-inline-width:var(--scalar-border-width)}.scalar-app .border-x-0{border-inline-style:var(--tw-border-style);border-inline-width:0}.scalar-app .border-y{border-block-style:var(--tw-border-style);border-block-width:var(--scalar-border-width)}.scalar-app .border-t{border-top-style:var(--tw-border-style);border-top-width:var(--scalar-border-width)}.scalar-app .border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.scalar-app .\\!border-r{border-right-style:var(--tw-border-style)!important;border-right-width:var(--scalar-border-width)!important}.scalar-app .border-r{border-right-style:var(--tw-border-style);border-right-width:var(--scalar-border-width)}.scalar-app .border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.scalar-app .border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:var(--scalar-border-width)}.scalar-app .border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .border-l{border-left-style:var(--tw-border-style);border-left-width:var(--scalar-border-width)}.scalar-app .border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.scalar-app .border-dashed{--tw-border-style:dashed;border-style:dashed}.scalar-app .border-none{--tw-border-style:none;border-style:none}.scalar-app .\\!border-current{border-color:currentColor!important}.scalar-app .border-\\(--scalar-background-3\\){border-color:var(--scalar-background-3)}.scalar-app .border-border-header{border-color:var(--scalar-header-border-color,var(--scalar-border-color))}.scalar-app .border-c-accent,.scalar-app .border-c-accent\\/30{border-color:var(--scalar-color-accent)}@supports (color:color-mix(in lab, red, red)){.scalar-app .border-c-accent\\/30{border-color:color-mix(in oklab, var(--scalar-color-accent) 30%, transparent)}}.scalar-app .border-c-alert{border-color:var(--scalar-color-alert)}.scalar-app .border-c-danger{border-color:var(--scalar-color-danger)}.scalar-app .border-sidebar-border{border-color:var(--scalar-sidebar-border-color,var(--scalar-border-color))}.scalar-app .border-sidebar-border-search{border-color:var(--scalar-sidebar-search-border-color,var(--scalar-border-color))}.scalar-app .border-transparent{border-color:#0000}.scalar-app .border-r-transparent{border-right-color:#0000}.scalar-app .border-b-sidebar-border{border-bottom-color:var(--scalar-sidebar-border-color,var(--scalar-border-color))}.scalar-app .bg-\\(--bg-light\\){background-color:var(--bg-light)}.scalar-app .bg-b-1,.scalar-app .bg-b-1\\.5{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-b-1\\.5{background-color:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.scalar-app .bg-b-2{background-color:var(--scalar-background-2)}.scalar-app .bg-b-3{background-color:var(--scalar-background-3)}.scalar-app .bg-b-alert{background-color:var(--scalar-background-alert)}.scalar-app .bg-b-btn{background-color:var(--scalar-button-1)}.scalar-app .bg-b-danger{background-color:var(--scalar-background-danger)}.scalar-app .bg-b-header-1{background-color:var(--scalar-header-background-1,var(--scalar-background-1))}.scalar-app .bg-b-header-cta{background-color:var(--scalar-header-call-to-action-color,var(--scalar-button-1))}.scalar-app .bg-b-tooltip{background-color:var(--scalar-tooltip-background)}.scalar-app .bg-backdrop{background-color:#00000038}.scalar-app .bg-border{background-color:var(--scalar-border-color)}.scalar-app .bg-c-accent,.scalar-app .bg-c-accent\\/5{background-color:var(--scalar-color-accent)}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-c-accent\\/5{background-color:color-mix(in oklab, var(--scalar-color-accent) 5%, transparent)}}.scalar-app .bg-c-accent\\/10{background-color:var(--scalar-color-accent)}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-c-accent\\/10{background-color:color-mix(in oklab, var(--scalar-color-accent) 10%, transparent)}}.scalar-app .bg-c-danger{background-color:var(--scalar-color-danger)}.scalar-app .bg-current{background-color:currentColor}.scalar-app .bg-inherit{background-color:inherit}.scalar-app .bg-sidebar-b-1{background-color:var(--scalar-sidebar-background-1,var(--scalar-background-1))}.scalar-app .bg-sidebar-b-active{background-color:var(--scalar-sidebar-item-active-background,var(--scalar-background-2))}.scalar-app .bg-sidebar-b-search{background-color:var(--scalar-sidebar-search-background,var(--scalar-background-2))}.scalar-app .bg-sidebar-c-2\\/15{background-color:var(--scalar-sidebar-color-2,var(--scalar-color-2))}@supports (color:color-mix(in lab, red, red)){.scalar-app .bg-sidebar-c-2\\/15{background-color:color-mix(in oklab, var(--scalar-sidebar-color-2,var(--scalar-color-2)) 15%, transparent)}}.scalar-app .bg-sidebar-indent-border{background-color:var(--scalar-sidebar-indent-border,var(--scalar-border-color))}.scalar-app .bg-sidebar-indent-border-active{background-color:var(--scalar-sidebar-indent-border-active,var(--scalar-color-accent))}.scalar-app .bg-transparent{background-color:#0000}.scalar-app .bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.scalar-app .bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .bg-linear-to-l{--tw-gradient-position:to left}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .bg-linear-to-l{--tw-gradient-position:to left in oklab}}.scalar-app .bg-linear-to-l{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .from-b-1{--tw-gradient-from:var(--scalar-background-1);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.scalar-app .from-40\\%{--tw-gradient-from-position:40%}.scalar-app .to-b-1\\.5{--tw-gradient-to:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .to-b-1\\.5{--tw-gradient-to:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.scalar-app .to-b-1\\.5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.scalar-app .to-b-2{--tw-gradient-to:var(--scalar-background-2);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.scalar-app .to-transparent{--tw-gradient-to:transparent;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.scalar-app .mask-y-from-\\[calc\\(100\\%-8px\\)\\]{-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);--tw-mask-linear:var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top);--tw-mask-top:linear-gradient(to top, var(--tw-mask-top-from-color) var(--tw-mask-top-from-position), var(--tw-mask-top-to-color) var(--tw-mask-top-to-position));--tw-mask-top-from-position:calc(100% - 8px);--tw-mask-bottom:linear-gradient(to bottom, var(--tw-mask-bottom-from-color) var(--tw-mask-bottom-from-position), var(--tw-mask-bottom-to-color) var(--tw-mask-bottom-to-position));--tw-mask-bottom-from-position:calc(100% - 8px);-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;mask-composite:intersect}.scalar-app .mask-y-to-100\\%{-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);-webkit-mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);mask-image:var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic);--tw-mask-linear:var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top);--tw-mask-top:linear-gradient(to top, var(--tw-mask-top-from-color) var(--tw-mask-top-from-position), var(--tw-mask-top-to-color) var(--tw-mask-top-to-position));--tw-mask-top-to-position:100%;--tw-mask-bottom:linear-gradient(to bottom, var(--tw-mask-bottom-from-color) var(--tw-mask-bottom-from-position), var(--tw-mask-bottom-to-color) var(--tw-mask-bottom-to-position));--tw-mask-bottom-to-position:100%;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;mask-composite:intersect}.scalar-app .mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.scalar-app .fill-current{fill:currentColor}.scalar-app .\\!p-0{padding:0!important}.scalar-app .p-\\(--scalar-sidebar-padding\\){padding:var(--scalar-sidebar-padding)}.scalar-app .p-0{padding:0}.scalar-app .p-0\\.5{padding:2px}.scalar-app .p-0\\.75{padding:3px}.scalar-app .p-1{padding:4px}.scalar-app .p-1\\.5{padding:6px}.scalar-app .p-1\\.25{padding:5px}.scalar-app .p-1\\.75{padding:7px}.scalar-app .p-2{padding:8px}.scalar-app .p-2\\.5{padding:10px}.scalar-app .p-3{padding:12px}.scalar-app .p-4{padding:16px}.scalar-app .p-7{padding:28px}.scalar-app .p-\\[3px\\]{padding:3px}.scalar-app .p-px{padding:1px}.scalar-app .px-\\(--scalar-sidebar-padding\\){padding-inline:var(--scalar-sidebar-padding)}.scalar-app .px-0{padding-inline:0}.scalar-app .px-0\\.5{padding-inline:2px}.scalar-app .px-0\\.75{padding-inline:3px}.scalar-app .px-1{padding-inline:4px}.scalar-app .px-1\\.5{padding-inline:6px}.scalar-app .px-1\\.25{padding-inline:5px}.scalar-app .px-2{padding-inline:8px}.scalar-app .px-2\\.5{padding-inline:10px}.scalar-app .px-3{padding-inline:12px}.scalar-app .px-3\\.5{padding-inline:14px}.scalar-app .px-4{padding-inline:16px}.scalar-app .px-5{padding-inline:20px}.scalar-app .px-6{padding-inline:24px}.scalar-app .px-15{padding-inline:60px}.scalar-app .py-0{padding-block:0}.scalar-app .py-0\\.5{padding-block:2px}.scalar-app .py-0\\.25{padding-block:1px}.scalar-app .py-0\\.75{padding-block:3px}.scalar-app .py-1{padding-block:4px}.scalar-app .py-1\\.5{padding-block:6px}.scalar-app .py-1\\.25{padding-block:5px}.scalar-app .py-1\\.75{padding-block:7px}.scalar-app .py-2{padding-block:8px}.scalar-app .py-2\\.5{padding-block:10px}.scalar-app .py-2\\.25{padding-block:9px}.scalar-app .py-3{padding-block:12px}.scalar-app .py-4{padding-block:16px}.scalar-app .py-\\[6\\.75px\\]{padding-block:6.75px}.scalar-app .py-px{padding-block:1px}.scalar-app .pt-\\(--scalar-sidebar-padding\\){padding-top:var(--scalar-sidebar-padding)}.scalar-app .pt-1{padding-top:4px}.scalar-app .pt-2{padding-top:8px}.scalar-app .pt-3{padding-top:12px}.scalar-app .pt-px{padding-top:1px}.scalar-app .pr-0{padding-right:0}.scalar-app .pr-0\\.75{padding-right:3px}.scalar-app .pr-1{padding-right:4px}.scalar-app .pr-1\\.5{padding-right:6px}.scalar-app .pr-2{padding-right:8px}.scalar-app .pr-2\\.5{padding-right:10px}.scalar-app .pr-2\\.25{padding-right:9px}.scalar-app .pr-3{padding-right:12px}.scalar-app .pr-6{padding-right:24px}.scalar-app .pr-8{padding-right:32px}.scalar-app .pr-10{padding-right:40px}.scalar-app .pr-12{padding-right:48px}.scalar-app .pr-20{padding-right:80px}.scalar-app .pr-\\[100\\%\\]{padding-right:100%}.scalar-app .pb-1{padding-bottom:4px}.scalar-app .pb-1\\.5{padding-bottom:6px}.scalar-app .pb-3{padding-bottom:12px}.scalar-app .pb-6{padding-bottom:24px}.scalar-app .pb-12{padding-bottom:48px}.scalar-app .\\!pl-3{padding-left:12px!important}.scalar-app .pl-1{padding-left:4px}.scalar-app .pl-1\\.25{padding-left:5px}.scalar-app .pl-2{padding-left:8px}.scalar-app .pl-3{padding-left:12px}.scalar-app .pl-4{padding-left:16px}.scalar-app .pl-8{padding-left:32px}.scalar-app .pl-8\\.5{padding-left:34px}.scalar-app .pl-\\[100\\%\\]{padding-left:100%}.scalar-app .pl-px{padding-left:1px}.scalar-app .text-center{text-align:center}.scalar-app .text-left{text-align:left}.scalar-app .text-right{text-align:right}.scalar-app .font-code{font-family:var(--scalar-font-code)}.scalar-app .font-sans{font-family:var(--scalar-font)}.scalar-app .text-base{font-size:var(--scalar-font-size-3);line-height:var(--tw-leading,calc(1 / .875))}.scalar-app .text-base\\/4{font-size:var(--scalar-font-size-3);line-height:16px}.scalar-app .text-base\\/5{font-size:var(--scalar-font-size-3);line-height:20px}.scalar-app .text-base\\/5\\.25{font-size:var(--scalar-font-size-3);line-height:21px}.scalar-app .text-lg{font-size:var(--scalar-font-size-2);line-height:var(--tw-leading,calc(1.25 / 1))}.scalar-app .text-sm\\/4{font-size:var(--scalar-font-size-4);line-height:16px}.scalar-app .text-sm\\/none{font-size:var(--scalar-font-size-4);line-height:1}.scalar-app .text-xs\\/4{font-size:var(--scalar-font-size-5);line-height:16px}.scalar-app .text-3xs{font-size:var(--scalar-font-size-7)}.scalar-app .text-\\[6px\\]{font-size:6px}.scalar-app .text-\\[9px\\]{font-size:9px}.scalar-app .text-\\[10px\\]{font-size:10px}.scalar-app .text-\\[11px\\]{font-size:11px}.scalar-app .text-sm{font-size:var(--scalar-font-size-4)}.scalar-app .text-xs{font-size:var(--scalar-font-size-5)}.scalar-app .text-xxs{font-size:var(--scalar-font-size-6)}.scalar-app .leading-5{--tw-leading:calc(4px * 5);line-height:20px}.scalar-app .leading-5\\.5{--tw-leading:calc(4px * 5.5);line-height:22px}.scalar-app .leading-6{--tw-leading:calc(4px * 6);line-height:24px}.scalar-app .leading-\\[1\\.44\\]{--tw-leading:1.44;line-height:1.44}.scalar-app .leading-\\[1\\.45\\]{--tw-leading:1.45;line-height:1.45}.scalar-app .leading-\\[7px\\]{--tw-leading:7px;line-height:7px}.scalar-app .leading-\\[20px\\]{--tw-leading:20px;line-height:20px}.scalar-app .leading-\\[22px\\]{--tw-leading:22px;line-height:22px}.scalar-app .leading-\\[normal\\]{--tw-leading:normal;line-height:normal}.scalar-app .leading-none{--tw-leading:1;line-height:1}.scalar-app .leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.scalar-app .leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.scalar-app .leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.scalar-app .font-bold{--tw-font-weight:var(--scalar-bold);font-weight:var(--scalar-bold)}.scalar-app .font-medium{--tw-font-weight:var(--scalar-semibold);font-weight:var(--scalar-semibold)}.scalar-app .font-normal{--tw-font-weight:var(--scalar-regular);font-weight:var(--scalar-regular)}.scalar-app .font-sidebar{--tw-font-weight:var(--scalar-sidebar-font-weight,var(--scalar-regular));font-weight:var(--scalar-sidebar-font-weight,var(--scalar-regular))}.scalar-app .font-sidebar-active{--tw-font-weight:var(--scalar-sidebar-font-weight-active,var(--scalar-semibold));font-weight:var(--scalar-sidebar-font-weight-active,var(--scalar-semibold))}.scalar-app .text-balance{text-wrap:balance}.scalar-app .text-nowrap{text-wrap:nowrap}.scalar-app .text-pretty{text-wrap:pretty}.scalar-app .text-wrap{text-wrap:wrap}.scalar-app .break-words,.scalar-app .wrap-break-word{overflow-wrap:break-word}.scalar-app .text-ellipsis{text-overflow:ellipsis}.scalar-app .whitespace-nowrap{white-space:nowrap}.scalar-app .whitespace-pre{white-space:pre}.scalar-app .whitespace-pre-wrap{white-space:pre-wrap}.scalar-app .\\!text-c-1{color:var(--scalar-color-1)!important}.scalar-app .text-\\[color\\:var\\(--scalar-color-3\\)\\]{color:var(--scalar-color-3)}.scalar-app .text-b-1{color:var(--scalar-background-1)}.scalar-app .text-b-2{color:var(--scalar-background-2)}.scalar-app .text-blue{color:var(--scalar-color-blue)}.scalar-app .text-c-1{color:var(--scalar-color-1)}.scalar-app .text-c-2{color:var(--scalar-color-2)}.scalar-app .text-c-3{color:var(--scalar-color-3)}.scalar-app .text-c-accent{color:var(--scalar-color-accent)}.scalar-app .text-c-alert{color:var(--scalar-color-alert)}.scalar-app .text-c-btn{color:var(--scalar-button-1-color)}.scalar-app .text-c-danger{color:var(--scalar-color-danger)}.scalar-app .text-c-header-1{color:var(--scalar-header-color-1,var(--scalar-color-1))}.scalar-app .text-c-header-2{color:var(--scalar-header-color-2,var(--scalar-color-2))}.scalar-app .text-c-header-cta{color:var(--scalar-button-1-color)}.scalar-app .text-c-tooltip{color:var(--scalar-tooltip-color)}.scalar-app .text-current{color:currentColor}.scalar-app .text-green{color:var(--scalar-color-green)}.scalar-app .text-grey{color:var(--scalar-color-3)}.scalar-app .text-orange{color:var(--scalar-color-orange)}.scalar-app .text-purple{color:var(--scalar-color-purple)}.scalar-app .text-red{color:var(--scalar-color-red)}.scalar-app .text-sidebar-c-1{color:var(--scalar-sidebar-color-1,var(--scalar-color-1))}.scalar-app .text-sidebar-c-2{color:var(--scalar-sidebar-color-2,var(--scalar-color-2))}.scalar-app .text-sidebar-c-active{color:var(--scalar-sidebar-color-active,var(--scalar-sidebar-color-1))}.scalar-app .text-sidebar-c-search{color:var(--scalar-sidebar-search-color,var(--scalar-color-3))}.scalar-app .text-transparent{color:#0000}.scalar-app .text-white{color:#fff}.scalar-app .text-yellow{color:var(--scalar-color-yellow)}.scalar-app .capitalize{text-transform:capitalize}.scalar-app .uppercase{text-transform:uppercase}.scalar-app .italic{font-style:italic}.scalar-app .tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.scalar-app .line-through{text-decoration-line:line-through}.scalar-app .no-underline{text-decoration-line:none}.scalar-app .underline{text-decoration-line:underline}.scalar-app .decoration-c-3{-webkit-text-decoration-color:var(--scalar-color-3);-webkit-text-decoration-color:var(--scalar-color-3);-webkit-text-decoration-color:var(--scalar-color-3);text-decoration-color:var(--scalar-color-3)}.scalar-app .decoration-dotted{text-decoration-style:dotted}.scalar-app .underline-offset-2{text-underline-offset:2px}.scalar-app .opacity-0{opacity:0}.scalar-app .opacity-40{opacity:.4}.scalar-app .opacity-50{opacity:.5}.scalar-app .opacity-100{opacity:1}.scalar-app .bg-blend-normal{background-blend-mode:normal}.scalar-app .shadow{--tw-shadow:var(--scalar-shadow-1);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-\\[-8px_0_4px_var\\(--scalar-background-1\\)\\]{--tw-shadow:-8px 0 4px var(--tw-shadow-color,var(--scalar-background-1));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-border{--tw-shadow:inset 0 0 0 var(--tw-shadow-color,var(--scalar-border-width)) var(--scalar-border-color);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-lg{--tw-shadow:var(--scalar-shadow-2);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-md{--tw-shadow:var(--scalar-shadow-1);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .outline{outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .-outline-offset-1{outline-offset:calc(1px * -1)}.scalar-app .-outline-offset-2{outline-offset:calc(2px * -1)}.scalar-app .outline-offset-1{outline-offset:1px}.scalar-app .outline-offset-2{outline-offset:2px}.scalar-app .outline-offset-\\[-1px\\]{outline-offset:-1px}.scalar-app .outline-c-danger{outline-color:var(--scalar-color-danger)}.scalar-app .blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.scalar-app .brightness-90{--tw-brightness:brightness(90%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.scalar-app .brightness-lifted{--tw-brightness:brightness(var(--scalar-lifted-brightness));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.scalar-app .filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.scalar-app .backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.scalar-app .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.scalar-app .transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.scalar-app .transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.scalar-app .transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.scalar-app .transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.scalar-app .transition-none{transition-property:none}.scalar-app .duration-100{--tw-duration:.1s;transition-duration:.1s}.scalar-app .duration-150{--tw-duration:.15s;transition-duration:.15s}.scalar-app .duration-200{--tw-duration:.2s;transition-duration:.2s}.scalar-app .duration-300{--tw-duration:.3s;transition-duration:.3s}.scalar-app .duration-400{--tw-duration:.4s;transition-duration:.4s}.scalar-app .duration-500{--tw-duration:.5s;transition-duration:.5s}.scalar-app .ease-\\[cubic-bezier\\(0\\.77\\,0\\,0\\.175\\,1\\)\\]{--tw-ease:cubic-bezier(.77,0,.175,1);transition-timing-function:cubic-bezier(.77,0,.175,1)}.scalar-app .ease-in{--tw-ease:var(--ease-in);transition-timing-function:var(--ease-in)}.scalar-app .ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.scalar-app .ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.scalar-app .ease-spring{--tw-ease:linear(0, .008 1.1%, .034 2.3%, .134 4.9%, .264 7.3%, .683 14.3%, .797 16.5%, .89 18.6%, .967 20.7%, 1.027 22.8%, 1.073 25%, 1.104 27.3%, 1.123 30.6%, 1.119 34.3%, 1.018 49.5%, .988 58.6%, .985 65.2%, 1 84.5%, 1);transition-timing-function:linear(0, .008 1.1%, .034 2.3%, .134 4.9%, .264 7.3%, .683 14.3%, .797 16.5%, .89 18.6%, .967 20.7%, 1.027 22.8%, 1.073 25%, 1.104 27.3%, 1.123 30.6%, 1.119 34.3%, 1.018 49.5%, .988 58.6%, .985 65.2%, 1 84.5%, 1)}.scalar-app .outline-none{--tw-outline-style:none;outline-style:none}.scalar-app .select-none{-webkit-user-select:none;user-select:none}.scalar-app .\\[--scalar-address-bar-height\\:0px\\]{--scalar-address-bar-height:0px}.scalar-app .\\[--scalar-address-bar-height\\:32px\\]{--scalar-address-bar-height:32px}.scalar-app .\\[grid-area\\:header\\]{grid-area:header}.scalar-app .\\[grid-area\\:navigation\\]{grid-area:navigation}:is(.scalar-app .\\*\\:flex>*){display:flex}:is(.scalar-app .\\*\\:size-3>*){width:12px;height:12px}:is(.scalar-app .\\*\\:size-4>*){width:16px;height:16px}:is(.scalar-app .\\*\\:h-5>*){height:20px}:is(.scalar-app .\\*\\:h-8>*){height:32px}:is(.scalar-app .\\*\\:min-w-5>*){min-width:20px}:is(.scalar-app .\\*\\:flex-1>*){flex:1}:is(.scalar-app .\\*\\:cursor-pointer>*){cursor:pointer}:is(.scalar-app .\\*\\:items-center>*){align-items:center}:is(.scalar-app .\\*\\:justify-center>*){justify-content:center}:is(.scalar-app .\\*\\:gap-1>*){gap:4px}:is(.scalar-app .\\*\\:rounded>*){border-radius:var(--scalar-radius)}:is(.scalar-app .\\*\\:rounded-none>*){border-radius:0}:is(.scalar-app .\\*\\:border>*){border-style:var(--tw-border-style);border-width:var(--scalar-border-width)}:is(.scalar-app .\\*\\:border-t>*){border-top-style:var(--tw-border-style);border-top-width:var(--scalar-border-width)}:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:var(--scalar-tooltip-color)}@supports (color:color-mix(in lab, red, red)){:is(.scalar-app .\\*\\:border-border-tooltip>*){border-color:color-mix(in srgb, var(--scalar-tooltip-color), var(--scalar-tooltip-background))}}:is(.scalar-app .\\*\\:px-1>*){padding-inline:4px}:is(.scalar-app .\\*\\:px-1\\.5>*){padding-inline:6px}:is(.scalar-app .\\*\\:pl-4>*){padding-left:16px}.scalar-app .group-first\\/row\\:border-t-0:is(:where(.group\\/row):first-child *){border-top-style:var(--tw-border-style);border-top-width:0}.scalar-app .group-last\\:mr-0:is(:where(.group):last-child *){margin-right:0}.scalar-app .group-last\\:border-b-transparent:is(:where(.group):last-child *){border-bottom-color:#0000}.scalar-app .group-last\\/label\\:rounded-br-lg:is(:where(.group\\/label):last-child *){border-bottom-right-radius:var(--scalar-radius-lg)}.scalar-app .group-open\\:rotate-90:is(:where(.group):is([open],:popover-open,:open) *){rotate:90deg}.scalar-app .group-open\\:flex-wrap:is(:where(.group):is([open],:popover-open,:open) *){flex-wrap:wrap}.scalar-app .group-open\\:whitespace-normal:is(:where(.group):is([open],:popover-open,:open) *){white-space:normal}.scalar-app .group-focus-within\\:flex:is(:where(.group):focus-within *){display:flex}.scalar-app .group-focus-within\\/parameter-item\\:opacity-100:is(:where(.group\\/parameter-item):focus-within *),.scalar-app .group-focus-within\\/scope-row\\:opacity-100:is(:where(.group\\/scope-row):focus-within *){opacity:1}@media (hover:hover){.scalar-app .group-hover\\:flex:is(:where(.group):hover *){display:flex}.scalar-app .group-hover\\:pr-10:is(:where(.group):hover *){padding-right:40px}.scalar-app .group-hover\\:text-c-1:is(:where(.group):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.scalar-app .group-hover\\/button\\:bg-sidebar-indent-border-hover:is(:where(.group\\/button):hover *){background-color:var(--scalar-sidebar-indent-border-hover,var(--scalar-border-color))}.scalar-app .group-hover\\/button\\:text-c-header-1:is(:where(.group\\/button):hover *){color:var(--scalar-header-color-1,var(--scalar-color-1))}.scalar-app .group-hover\\/button\\:opacity-0:is(:where(.group\\/button):hover *){opacity:0}.scalar-app .group-hover\\/heading\\:opacity-100:is(:where(.group\\/heading):hover *),.scalar-app .group-hover\\/item\\:opacity-100:is(:where(.group\\/item):hover *),.scalar-app .group-hover\\/parameter-item\\:opacity-100:is(:where(.group\\/parameter-item):hover *),.scalar-app .group-hover\\/params\\:opacity-100:is(:where(.group\\/params):hover *){opacity:1}.scalar-app .group-hover\\/row\\:flex:is(:where(.group\\/row):hover *){display:flex}.scalar-app .group-hover\\/scope-row\\:text-c-1:is(:where(.group\\/scope-row):hover *){color:var(--scalar-color-1)}.scalar-app .group-hover\\/scope-row\\:opacity-100:is(:where(.group\\/scope-row):hover *){opacity:1}.scalar-app .group-hover\\/scopes-accordion\\:text-c-2:is(:where(.group\\/scopes-accordion):hover *){color:var(--scalar-color-2)}}.scalar-app .group-focus-visible\\:outline:is(:where(.group):focus-visible *){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .group-focus-visible\\/button\\:opacity-0:is(:where(.group\\/button):focus-visible *){opacity:0}.scalar-app .group-focus-visible\\/toggle\\:outline:is(:where(.group\\/toggle):focus-visible *){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .group-has-focus-visible\\/heading\\:opacity-100:is(:where(.group\\/heading):has(:focus-visible) *){opacity:1}.scalar-app .group-has-\\[\\.cm-focused\\]\\:z-1:is(:where(.group):has(.cm-focused) *){z-index:1}.scalar-app .group-has-\\[\\.cm-focused\\]\\:flex:is(:where(.group):has(.cm-focused) *){display:flex}.scalar-app .group-has-\\[\\.cm-focused\\]\\:pr-10:is(:where(.group):has(.cm-focused) *){padding-right:40px}.scalar-app .group-has-\\[\\:focus-visible\\]\\/cell\\:border-c-accent:is(:where(.group\\/cell):has(:focus-visible) *){border-color:var(--scalar-color-accent)}.scalar-app .group-has-\\[\\:focus-visible\\]\\/cell\\:opacity-100:is(:where(.group\\/cell):has(:focus-visible) *){opacity:1}.scalar-app .group-has-\\[\\:focus-visible\\]\\/input\\:block:is(:where(.group\\/input):has(:focus-visible) *){display:block}.scalar-app .group-has-\\[input\\]\\/label\\:mr-0:is(:where(.group\\/label):has(:is(input)) *){margin-right:0}.scalar-app .group-has-\\[\\~\\*_\\[aria-expanded\\=true\\]\\]\\/button\\:opacity-0:is(:where(.group\\/button):has(~* [aria-expanded=true]) *),.scalar-app .group-has-\\[\\~\\*\\:focus-within\\]\\/button\\:opacity-0:is(:where(.group\\/button):has(~:focus-within) *),.scalar-app .group-has-\\[\\~\\*\\:hover\\]\\/button\\:opacity-0:is(:where(.group\\/button):has(~:hover) *){opacity:0}.scalar-app .group-aria-expanded\\/button\\:rotate-180:is(:where(.group\\/button)[aria-expanded=true] *),.scalar-app .group-aria-expanded\\/combobox-button\\:rotate-180:is(:where(.group\\/combobox-button)[aria-expanded=true] *){rotate:180deg}.scalar-app .group-hocus\\/copy-button\\:sr-only:is(:is(:where(.group\\/copy-button):hover,:where(.group\\/copy-button):focus-visible) *){clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.scalar-app .group-hocus\\/copy-button\\:not-sr-only:is(:is(:where(.group\\/copy-button):hover,:where(.group\\/copy-button):focus-visible) *){clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.scalar-app .group-hocus\\/copy-button\\:block:is(:is(:where(.group\\/copy-button):hover,:where(.group\\/copy-button):focus-visible) *){display:block}.scalar-app .group-hocus-within\\/code-block\\:-left-0\\.5:is(:is(:where(.group\\/code-block):hover,:where(.group\\/code-block):focus-within) *){left:-2px}.scalar-app .group-hocus-within\\/code-block\\:inline:is(:is(:where(.group\\/code-block):hover,:where(.group\\/code-block):focus-within) *){display:inline}.scalar-app .group-hocus-within\\/code-block\\:opacity-100:is(:is(:where(.group\\/code-block):hover,:where(.group\\/code-block):focus-within) *){opacity:1}.scalar-app .group-\\[\\.alert\\]\\:bg-b-alert:is(:where(.group).alert *){background-color:var(--scalar-background-alert)}.scalar-app .group-\\[\\.alert\\]\\:bg-transparent:is(:where(.group).alert *){background-color:#0000}.scalar-app .group-\\[\\.alert\\]\\:shadow-none:is(:where(.group).alert *){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .group-\\[\\.alert\\]\\:outline-orange:is(:where(.group).alert *){outline-color:var(--scalar-color-orange)}.scalar-app .group-\\[\\.error\\]\\:bg-b-danger:is(:where(.group).error *){background-color:var(--scalar-background-danger)}.scalar-app .group-\\[\\.error\\]\\:bg-transparent:is(:where(.group).error *){background-color:#0000}.scalar-app .group-\\[\\.error\\]\\:text-red:is(:where(.group).error *){color:var(--scalar-color-red)}.scalar-app .group-\\[\\.error\\]\\:shadow-none:is(:where(.group).error *){--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.scalar-app .group-\\[\\.error\\]\\:outline-red:is(:where(.group).error *){outline-color:var(--scalar-color-red)}.scalar-app .peer-checked\\:text-c-1:is(:where(.peer):checked~*){color:var(--scalar-color-1)}@media (hover:hover){.scalar-app .peer-hover\\/button\\:opacity-100:is(:where(.peer\\/button):hover~*){opacity:1}}.scalar-app .peer-focus-visible\\/button\\:opacity-100:is(:where(.peer\\/button):focus-visible~*){opacity:1}.scalar-app .peer-has-\\[\\.cm-focused\\]\\:opacity-0:is(:where(.peer):has(.cm-focused)~*){opacity:0}.scalar-app .peer-has-\\[\\.color-selector\\]\\:hidden:is(:where(.peer):has(.color-selector)~*){display:none}.scalar-app .placeholder\\:font-\\[inherit\\]::placeholder{font-family:inherit}:is(.scalar-app .\\*\\:not-first\\:before\\:content-\\[\\\'_·_\\\'\\]>*):not(:first-child):before{--tw-content:" · ";content:var(--tw-content)}.scalar-app .after\\:pointer-events-none:after{content:var(--tw-content);pointer-events:none}.scalar-app .after\\:absolute:after{content:var(--tw-content);position:absolute}.scalar-app .after\\:inset-0:after{content:var(--tw-content);inset:0}.scalar-app .after\\:inset-x-0:after{content:var(--tw-content);inset-inline:0}.scalar-app .after\\:-top-0\\.5:after{content:var(--tw-content);top:-2px}.scalar-app .after\\:-bottom-0\\.5:after{content:var(--tw-content);bottom:-2px}.scalar-app .after\\:block:after{content:var(--tw-content);display:block}.scalar-app .after\\:h-0\\.75:after{content:var(--tw-content);height:3px}.scalar-app .after\\:rounded:after{content:var(--tw-content);border-radius:var(--scalar-radius)}.scalar-app .after\\:bg-blue:after{content:var(--tw-content);background-color:var(--scalar-color-blue)}.scalar-app .after\\:opacity-15:after{content:var(--tw-content);opacity:.15}.scalar-app .after\\:content-\\[\\\'\\:\\\'\\]:after{--tw-content:":";content:var(--tw-content)}.scalar-app .first\\:rounded-t-\\[inherit\\]:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}:is(.scalar-app .\\*\\:first\\:rounded-l>*):first-child{border-top-left-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}:is(.scalar-app .\\*\\:first\\:border-t-0>*):first-child,:is(.scalar-app .first\\:\\*\\:border-t-0:first-child>*){border-top-style:var(--tw-border-style);border-top-width:0}.scalar-app .last\\:rounded-b-\\[inherit\\]:last-child{border-bottom-right-radius:inherit;border-bottom-left-radius:inherit}.scalar-app .last\\:rounded-b-lg:last-child{border-bottom-right-radius:var(--scalar-radius-lg);border-bottom-left-radius:var(--scalar-radius-lg)}.scalar-app .last\\:border-r-0:last-child{border-right-style:var(--tw-border-style);border-right-width:0}:is(.scalar-app .\\*\\:last\\:rounded-r>*):last-child{border-top-right-radius:var(--scalar-radius);border-bottom-right-radius:var(--scalar-radius)}.scalar-app .last-of-type\\:first-of-type\\:border-b-0:last-of-type:first-of-type{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .empty\\:hidden:empty{display:none}.scalar-app .focus-within\\:bg-b-1:focus-within{background-color:var(--scalar-background-1)}.scalar-app .focus-within\\:text-c-1:focus-within{color:var(--scalar-color-1)}.scalar-app .focus-within\\:opacity-100:focus-within{opacity:1}.scalar-app .focus-within\\:outline-none:focus-within{--tw-outline-style:none;outline-style:none}@media (hover:hover){.scalar-app .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}.scalar-app .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}.scalar-app .hover\\:bg-b-header-2:hover{background-color:var(--scalar-header-background-2,var(--scalar-background-2))}.scalar-app .hover\\:bg-c-accent\\/20:hover{background-color:var(--scalar-color-accent)}@supports (color:color-mix(in lab, red, red)){.scalar-app .hover\\:bg-c-accent\\/20:hover{background-color:color-mix(in oklab, var(--scalar-color-accent) 20%, transparent)}}.scalar-app .hover\\:bg-h-btn:hover{background-color:var(--scalar-button-1-hover)}.scalar-app .hover\\:bg-h-header-cta:hover{background-color:var(--scalar-header-call-to-action-color,var(--scalar-button-1))}@supports (color:color-mix(in lab, red, red)){.scalar-app .hover\\:bg-h-header-cta:hover{background-color:color-mix(in srgb, var(--scalar-header-call-to-action-color,var(--scalar-button-1)), var(--scalar-header-background-1,var(--scalar-background-1)) 15%)}}.scalar-app .hover\\:bg-sidebar-b-1:hover{background-color:var(--scalar-sidebar-background-1,var(--scalar-background-1))}.scalar-app .hover\\:bg-sidebar-b-hover:hover{background-color:var(--scalar-sidebar-item-hover-background,var(--scalar-background-2))}.scalar-app .hover\\:bg-linear-to-b:hover{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .hover\\:bg-linear-to-b:hover{--tw-gradient-position:to bottom in oklab}}.scalar-app .hover\\:bg-linear-to-b:hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .hover\\:bg-linear-to-t:hover{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .hover\\:bg-linear-to-t:hover{--tw-gradient-position:to top in oklab}}.scalar-app .hover\\:bg-linear-to-t:hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .hover\\:text-c-1:hover{color:var(--scalar-color-1)}.scalar-app .hover\\:text-c-2:hover{color:var(--scalar-color-2)}.scalar-app .hover\\:text-c-header-1:hover{color:var(--scalar-header-color-1,var(--scalar-color-1))}.scalar-app .hover\\:text-sidebar-c-1:hover{color:var(--scalar-sidebar-color-1,var(--scalar-color-1))}.scalar-app .hover\\:text-sidebar-c-hover:hover{color:var(--scalar-sidebar-item-hover-color,var(--scalar-sidebar-color-2))}.scalar-app .hover\\:underline:hover{text-decoration-line:underline}.scalar-app .hover\\:opacity-100:hover{opacity:1}.scalar-app .hover\\:brightness-75:hover{--tw-brightness:brightness(75%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.scalar-app .hover\\:brightness-90:hover{--tw-brightness:brightness(90%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.scalar-app .focus\\:border-b-1:focus{border-bottom-style:var(--tw-border-style);border-bottom-width:1px;border-color:var(--scalar-background-1)}.scalar-app .focus\\:text-c-1:focus{color:var(--scalar-color-1)}.scalar-app .focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.scalar-app .focus-visible\\:border-c-btn:focus-visible{border-color:var(--scalar-button-1-color)}.scalar-app .focus-visible\\:opacity-100:focus-visible{opacity:1}.scalar-app .focus-visible\\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.scalar-app .active\\:bg-b-btn:active{background-color:var(--scalar-button-1)}.scalar-app .active\\:text-c-1:active{color:var(--scalar-color-1)}.scalar-app .active\\:brightness-90:active{--tw-brightness:brightness(90%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.scalar-app .disabled\\:pointer-events-none:disabled{pointer-events:none}.scalar-app .disabled\\:cursor-default:disabled{cursor:default}.scalar-app .disabled\\:text-c-2:disabled{color:var(--scalar-color-2)}.scalar-app .disabled\\:opacity-30:disabled{opacity:.3}.scalar-app .has-focus-visible\\:outline:has(:focus-visible){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .has-\\[\\:focus-visible\\]\\:absolute:has(:focus-visible){position:absolute}.scalar-app .has-\\[\\:focus-visible\\]\\:z-1:has(:focus-visible){z-index:1}.scalar-app .has-\\[\\:focus-visible\\]\\:rounded-\\[4px\\]:has(:focus-visible){border-radius:4px}.scalar-app .has-\\[\\:focus-visible\\]\\:bg-b-1:has(:focus-visible){background-color:var(--scalar-background-1)}.scalar-app .has-\\[\\:focus-visible\\]\\:bg-sidebar-b-1:has(:focus-visible){background-color:var(--scalar-sidebar-background-1,var(--scalar-background-1))}.scalar-app .has-\\[\\:focus-visible\\]\\:opacity-100:has(:focus-visible){opacity:1}:is(.scalar-app .has-\\[\\:focus-visible\\]\\:outline:has(:focus-visible),.scalar-app .has-\\[input\\:focus-visible\\]\\:outline:has(:is(input:focus-visible))){outline-style:var(--tw-outline-style);outline-width:1px}.scalar-app .has-\\[\\&\\[aria-expanded\\=true\\]\\]\\:opacity-100:has([aria-expanded=true]){opacity:1}@media not all and (width>=800px){.scalar-app .max-md\\:absolute\\!{position:absolute!important}.scalar-app .max-md\\:top-4{top:16px}.scalar-app .max-md\\:z-5{z-index:5}.scalar-app .max-md\\:w-full\\!{width:100%!important}.scalar-app .max-md\\:pt-2{padding-top:8px}.scalar-app .max-md\\:pt-12{padding-top:48px}.scalar-app .max-md\\:pl-4\\!{padding-left:16px!important}.scalar-app .max-md\\:pl-10{padding-left:40px}.scalar-app .max-md\\:pl-14{padding-left:56px}}@media (width>=800px){.scalar-app .md\\:pointer-events-none{pointer-events:none}.scalar-app .md\\:absolute{position:absolute}.scalar-app .md\\:inset-x-1{inset-inline:4px}.scalar-app .md\\:top-1\\/2{top:50%}.scalar-app .md\\:mt-0{margin-top:0}.scalar-app .md\\:-ml-1\\.25{margin-left:-5px}.scalar-app .md\\:w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}.scalar-app .md\\:-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .md\\:flex-row{flex-direction:row}.scalar-app .md\\:px-1\\.5{padding-inline:6px}.scalar-app .md\\:opacity-0{opacity:0}:is(.scalar-app .md\\:\\*\\:border-t-0>*){border-top-style:var(--tw-border-style);border-top-width:0}@media (hover:hover){.scalar-app .md\\:group-hover\\/upload\\:pointer-events-auto:is(:where(.group\\/upload):hover *){pointer-events:auto}.scalar-app .md\\:group-hover\\/upload\\:opacity-100:is(:where(.group\\/upload):hover *){opacity:1}}}@media (width>=1000px){.scalar-app .lg\\:-mr-1{margin-right:-4px}.scalar-app .lg\\:flex{display:flex}.scalar-app .lg\\:hidden{display:none}.scalar-app .lg\\:min-h-header{min-height:48px}.scalar-app .lg\\:w-\\[calc\\(100vw-32px\\)\\]{width:calc(100vw - 32px)}.scalar-app .lg\\:w-full{width:100%}.scalar-app .lg\\:p-0{padding:0}.scalar-app .lg\\:pr-24{padding-right:96px}}@media (width>=1200px){.scalar-app .xl\\:mb-1\\.5{margin-bottom:6px}.scalar-app .xl\\:flex{display:flex}.scalar-app .xl\\:h-full{height:100%}.scalar-app .xl\\:min-w-0{min-width:0}.scalar-app .xl\\:flex-row{flex-direction:row}.scalar-app .xl\\:gap-12{gap:48px}.scalar-app .xl\\:overflow-hidden{overflow:hidden}.scalar-app .xl\\:rounded-none{border-radius:0}.scalar-app .xl\\:border-r{border-right-style:var(--tw-border-style);border-right-width:var(--scalar-border-width)}.scalar-app .xl\\:border-none{--tw-border-style:none;border-style:none}.scalar-app .xl\\:pr-0\\.5{padding-right:2px}.scalar-app .xl\\:pl-2{padding-left:8px}:is(.scalar-app .\\*\\:xl\\:border-t-0>*){border-top-style:var(--tw-border-style);border-top-width:0}:is(.scalar-app .\\*\\:xl\\:border-l>*){border-left-style:var(--tw-border-style);border-left-width:var(--scalar-border-width)}.scalar-app .xl\\:first\\:ml-auto:first-child{margin-left:auto}:is(.scalar-app .\\*\\:first\\:xl\\:border-l-0>*):first-child{border-left-style:var(--tw-border-style);border-left-width:0}}@container (width>=768px){.scalar-app .\\@3xl\\:order-0{order:0}.scalar-app .\\@3xl\\:mb-0{margin-bottom:0}.scalar-app .\\@3xl\\:ml-0\\.75{margin-left:3px}.scalar-app .\\@3xl\\:flex{display:flex}.scalar-app .\\@3xl\\:hidden{display:none}.scalar-app .\\@3xl\\:flex-nowrap{flex-wrap:nowrap}}.scalar-app .dark\\:bg-\\(--bg-dark\\):where(.dark-mode,.dark-mode *){background-color:var(--bg-dark)}.scalar-app .dark\\:bg-b-3:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-3)}.scalar-app .dark\\:bg-backdrop-dark:where(.dark-mode,.dark-mode *){background-color:#00000073}.scalar-app .dark\\:bg-linear-to-t:where(.dark-mode,.dark-mode *){--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:bg-linear-to-t:where(.dark-mode,.dark-mode *){--tw-gradient-position:to top in oklab}}.scalar-app .dark\\:bg-linear-to-t:where(.dark-mode,.dark-mode *){background-image:linear-gradient(var(--tw-gradient-stops))}@media (hover:hover){.scalar-app .dark\\:hover\\:bg-b-3:where(.dark-mode,.dark-mode *):hover{background-color:var(--scalar-background-3)}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to bottom in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-b:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{--tw-gradient-position:to top in oklab}}.scalar-app .dark\\:hover\\:bg-linear-to-t:where(.dark-mode,.dark-mode *):hover{background-image:linear-gradient(var(--tw-gradient-stops))}}.scalar-app .ui-open\\:rotate-90[data-headlessui-state~=open],:where([data-headlessui-state~=open]) :is(.scalar-app .ui-open\\:rotate-90){rotate:90deg}.scalar-app .ui-open\\:rotate-180[data-headlessui-state~=open],:where([data-headlessui-state~=open]) :is(.scalar-app .ui-open\\:rotate-180){rotate:180deg}.scalar-app .last\\:ui-open\\:border-b-0:last-child[data-headlessui-state~=open],:where([data-headlessui-state~=open]) .scalar-app .last\\:ui-open\\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.scalar-app .ui-not-open\\:hidden[data-headlessui-state]:not([data-headlessui-state~=open]),:where([data-headlessui-state]:not([data-headlessui-state~=open])) :is(.scalar-app .ui-not-open\\:hidden):not([data-headlessui-state]){display:none}.scalar-app .ui-not-open\\:rotate-0[data-headlessui-state]:not([data-headlessui-state~=open]),:where([data-headlessui-state]:not([data-headlessui-state~=open])) :is(.scalar-app .ui-not-open\\:rotate-0):not([data-headlessui-state]){rotate:none}:is(.scalar-app .ui-active\\:\\*\\:bg-b-2[data-headlessui-state~=active]>*),:is(:where([data-headlessui-state~=active]) :is(.scalar-app .ui-active\\:\\*\\:bg-b-2)>*){background-color:var(--scalar-background-2)}@media (width<=720px) and (height<=480px){.scalar-app .zoomed\\:static{position:static}.scalar-app .zoomed\\:p-1{padding:4px}.scalar-app .zoomed\\:whitespace-normal\\!{white-space:normal!important}}.scalar-app .highlighted\\:bg-b-2[data-highlighted]{background-color:var(--scalar-background-2)}.app-platform-mac :is(.scalar-app .mac\\:h-12){height:48px}.app-platform-mac :is(.scalar-app .mac\\:app-drag-region){-webkit-app-region:drag;-webkit-app-region:drag}.scalar-app .\\[\\&_a\\]\\:underline a{text-decoration-line:underline}.scalar-app .\\[\\&_a\\:hover\\]\\:text-c-1 a:hover{color:var(--scalar-color-1)}.scalar-app .\\[\\&_code\\]\\:font-code code{font-family:var(--scalar-font-code)}.scalar-app .\\[\\&_em\\]\\:text-c-1 em{color:var(--scalar-color-1)}.scalar-app .\\[\\&_em\\]\\:not-italic em{font-style:normal}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-mask-linear{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-radial{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-conic{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-left{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-right{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-bottom{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-top{syntax:"*";inherits:false;initial-value:linear-gradient(#fff, #fff)}@property --tw-mask-top-from-position{syntax:"*";inherits:false;initial-value:0%}@property --tw-mask-top-to-position{syntax:"*";inherits:false;initial-value:100%}@property --tw-mask-top-from-color{syntax:"*";inherits:false;initial-value:black}@property --tw-mask-top-to-color{syntax:"*";inherits:false;initial-value:transparent}@property --tw-mask-bottom-from-position{syntax:"*";inherits:false;initial-value:0%}@property --tw-mask-bottom-to-position{syntax:"*";inherits:false;initial-value:100%}@property --tw-mask-bottom-from-color{syntax:"*";inherits:false;initial-value:black}@property --tw-mask-bottom-to-color{syntax:"*";inherits:false;initial-value:transparent}@property --tw-leading{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes pulse{50%{opacity:.5}}@media (width<=1000px){.agent-scalar.agent-scalar[data-v-34fa4e92]{border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg);inset-inline:0;top:48px}.agent-scalar.agent-scalar[data-v-34fa4e92],.agent-scalar-overlay.agent-scalar-overlay[data-v-34fa4e92]{z-index:15}}.scalar-mcp-layer[data-v-d469cd5e]{background:0 0;flex-direction:column;justify-content:flex-end;gap:2px;height:32px;transition:all .4s ease-in-out;display:flex;position:relative}.scalar-mcp-layer[data-v-d469cd5e]:hover{height:172px}.scalar-mcp-layer-link[data-v-d469cd5e]:hover{cursor:pointer!important}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-d469cd5e]{cursor:pointer;text-align:center;white-space:nowrap;width:100%;height:31px;font-size:var(--scalar-small);border-radius:var(--scalar-radius);border:var(--scalar-border-width) solid var(--scalar-border-color);color:var(--scalar-sidebar-color-1);background:var(--scalar-background-1);align-items:center;gap:6px;padding:9px 6px;line-height:1.385;text-decoration:none;transition:transform .2s ease-in-out;display:flex;position:absolute;bottom:0}.scalar-mcp-layer-link[data-v-d469cd5e]:after{content:"";width:100%;height:2px;position:absolute;bottom:-2px;left:0}.scalar-mcp-layer div.scalar-mcp-layer-link[data-v-d469cd5e]{cursor:default}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-d469cd5e]:last-child{position:relative;transform:translate(0,0)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-d469cd5e]:nth-last-child(2){transform:translateY(-2px)scale(.99)}.scalar-mcp-layer:hover a[data-v-d469cd5e]:nth-last-child(2){transform:translateY(calc(-100% - 2px))scale(.99)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-d469cd5e]:nth-last-child(3){transform:translateY(-4px)scale(.98)}.scalar-mcp-layer:hover a[data-v-d469cd5e]:nth-last-child(3){transform:translateY(calc(-200% - 4px))scale(1)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-d469cd5e]:nth-last-child(4){transform:translateY(-6px)scale(.97)}.scalar-mcp-layer:hover a[data-v-d469cd5e]:nth-last-child(4){transform:translateY(calc(-300% - 6px))scale(1)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-d469cd5e]:nth-last-child(5){transform:translateY(-8px)scale(.96)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-d469cd5e]:nth-last-child(5){transform:translateY(calc(-400% - 8px))scale(1)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-d469cd5e]{transition:transform .2s ease-in-out .1s}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-d469cd5e]:hover{background:var(--scalar-background-2)}.scalar-mcp-layer .mcp-logo[data-v-d469cd5e]{width:16px;height:16px;color:var(--scalar-sidebar-color-1)}.mcp-nav[data-v-d469cd5e]{color:var(--scalar-sidebar-color-2)}.references-classic-header[data-v-8a3822ca]{max-width:var(--refs-content-max-width);align-items:center;gap:12px;margin:auto;padding:12px 0;display:flex}.references-classic-header-content[data-v-8a3822ca]{flex-grow:1;gap:12px;display:flex}.references-classic-header-container[data-v-8a3822ca]{padding:0 60px;position:relative}@container narrow-references-container (width<=900px){.references-classic-header[data-v-8a3822ca]{padding:12px 24px}.references-classic-header-container[data-v-8a3822ca]{padding:0}}.references-classic-header-icon[data-v-8a3822ca]{height:24px;color:var(--scalar-color-1)}.client-libraries-content[data-v-c2617b43]{background-color:var(--scalar-background-1);border-left:var(--scalar-border-width) solid var(--scalar-border-color);border-right:var(--scalar-border-width) solid var(--scalar-border-color);justify-content:center;padding:0 12px;display:flex;overflow:hidden;container:client-libraries-content/inline-size}.client-libraries[data-v-c2617b43]{cursor:pointer;white-space:nowrap;width:100%;color:var(--scalar-color-3);-webkit-user-select:none;user-select:none;border-bottom:1px solid #0000;justify-content:center;align-items:center;gap:6px;padding:8px 2px;display:flex;position:relative}.client-libraries[data-v-c2617b43]:not(.client-libraries__active):hover:before{content:"";background:var(--scalar-background-2);z-index:0;border-radius:var(--scalar-radius);width:calc(100% - 4px);height:calc(100% - 4px);position:absolute;top:2px;left:2px}.client-libraries[data-v-c2617b43]:active{color:var(--scalar-color-1)}.client-libraries[data-v-c2617b43]:focus-visible{box-shadow:inset 0 0 0 1px var(--scalar-color-accent);outline:none}@media screen and (width<=450px){.client-libraries[data-v-c2617b43]:nth-of-type(4),.client-libraries[data-v-c2617b43]:nth-of-type(5){display:none}}.client-libraries-icon[data-v-c2617b43]{aspect-ratio:1;box-sizing:border-box;color:currentColor;justify-content:center;align-items:center;width:100%;min-width:14px;max-width:14px;max-height:14px;display:flex;position:relative}.client-libraries-icon__more svg[data-v-c2617b43]{height:initial}@container client-libraries-content (width<400px){.client-libraries__select[data-v-c2617b43]{width:fit-content}.client-libraries__select .client-libraries-icon__more+span[data-v-c2617b43]{display:none}}@container client-libraries-content (width<380px){.client-libraries[data-v-c2617b43]{width:100%}.client-libraries span[data-v-c2617b43]{display:none}}.client-libraries__active[data-v-c2617b43]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}@keyframes codeloader-c2617b43{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.client-libraries .client-libraries-text[data-v-c2617b43]{font-size:var(--scalar-small);align-items:center;display:flex;position:relative}.client-libraries__active .client-libraries-text[data-v-c2617b43]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}@media screen and (width<=600px){.references-classic .client-libraries[data-v-c2617b43]{flex-direction:column}}.selected-client[data-v-0769d07b]{color:var(--scalar-color-1);font-size:var(--scalar-small);font-family:var(--scalar-font-code);white-space:nowrap;text-overflow:ellipsis;background:var(--scalar-background-1);border-top:none;border:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom-left-radius:var(--scalar-radius-xl);border-bottom-right-radius:var(--scalar-radius-xl);min-height:fit-content;padding:9px 12px;overflow:hidden}.client-libraries-heading[data-v-0769d07b]{font-size:var(--scalar-small);font-weight:var(--scalar-font-medium);color:var(--scalar-color-1);background-color:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);border-top-left-radius:var(--scalar-radius-xl);border-top-right-radius:var(--scalar-radius-xl);align-items:center;max-height:32px;padding:9px 12px;display:flex}:where(.badge[data-v-fb946bb8]){color:var(--badge-text-color,var(--scalar-color-2));font-size:var(--scalar-mini);background:var(--badge-background-color,var(--scalar-background-2));border:var(--scalar-border-width) solid var(--badge-border-color,var(--scalar-border-color));border-radius:12px;padding:2px 6px;display:inline-block}:where(.badge).text-orange[data-v-fb946bb8]{background:color-mix(in srgb, var(--scalar-color-orange), transparent 90%);border:#0000}:where(.badge).text-yellow[data-v-fb946bb8]{background:color-mix(in srgb, var(--scalar-color-yellow), transparent 90%);border:#0000}:where(.badge).text-red[data-v-fb946bb8]{background:color-mix(in srgb, var(--scalar-color-red), transparent 90%);border:#0000}:where(.badge).text-purple[data-v-fb946bb8]{background:color-mix(in srgb, var(--scalar-color-purple), transparent 90%);border:#0000}:where(.badge).text-green[data-v-fb946bb8]{background:color-mix(in srgb, var(--scalar-color-green), transparent 90%);border:#0000}.download-container[data-v-b258a15f]{z-index:1;flex-direction:column;gap:16px;width:fit-content;margin:0 .5px 8px;display:flex;position:relative}.download-container.download-both[data-v-b258a15f]:hover:before{content:"";border-radius:var(--scalar-radius-lg);width:calc(100% + 24px);height:90px;box-shadow:var(--scalar-shadow-2);pointer-events:none;background:var(--scalar-background-1);position:absolute;top:-11px;left:-12px}.download-container[data-v-b258a15f]:has(:focus-visible):before{content:"";border-radius:var(--scalar-radius-lg);width:calc(100% + 24px);height:90px;box-shadow:var(--scalar-shadow-2);pointer-events:none;background:var(--scalar-background-1);position:absolute;top:-11px;left:-12px}.download-button[data-v-b258a15f]{color:var(--scalar-link-color);cursor:pointer;outline:none;justify-content:center;align-items:center;gap:4px;height:fit-content;padding:0;display:flex;position:relative;white-space:nowrap!important}.download-button[data-v-b258a15f]:before{border-radius:var(--scalar-radius);content:"";width:calc(100% + 18px);height:calc(100% + 16px);position:absolute;top:-8px;left:-9px}.download-button[data-v-b258a15f]:last-of-type:before{width:calc(100% + 15px)}.download-button[data-v-b258a15f]:hover:before{background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color)}.download-button[data-v-b258a15f]:focus-visible:before{background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);outline-style:var(--tw-outline-style);outline-width:1px}.download-button span[data-v-b258a15f]{--font-color:var(--scalar-link-color,var(--scalar-color-accent));--font-visited:var(--scalar-link-color-visited,var(--scalar-color-2));-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);color:var(--font-color);font-weight:var(--scalar-link-font-weight,var(--scalar-semibold));text-underline-offset:.25rem;text-decoration-thickness:1px;-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab, red, red)){.download-button span[data-v-b258a15f]{-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent)}}.download-button span[data-v-b258a15f]{z-index:1;align-items:center;gap:6px;line-height:1.625;display:flex}.download-button:hover span[data-v-b258a15f]{-webkit-text-decoration-color:var(--scalar-color-1,currentColor);-webkit-text-decoration-color:var(--scalar-color-1,currentColor);-webkit-text-decoration-color:var(--scalar-color-1,currentColor);text-decoration-color:var(--scalar-color-1,currentColor);color:var(--scalar-link-color-hover,var(--scalar-color-accent));-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);-webkit-text-decoration:var(--scalar-text-decoration-hover);text-decoration:var(--scalar-text-decoration-hover)}.download-button[data-v-b258a15f]:nth-of-type(2){clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.download-container:hover .download-button[data-v-b258a15f]:nth-of-type(2){clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:absolute;top:42px;overflow:visible}.download-container:has(:focus-visible) .download-button[data-v-b258a15f]:nth-of-type(2){clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:absolute;top:42px;overflow:visible}.extension[data-v-b258a15f]{z-index:1;background:var(--scalar-link-color,var(--scalar-color-accent));color:var(--scalar-background-1)}.download-container:hover .extension[data-v-b258a15f]{opacity:1}.download-container:has(:focus-visible) .extension[data-v-b258a15f]{opacity:1}.download-link[data-v-b258a15f]{--font-color:var(--scalar-link-color,var(--scalar-color-accent));--font-visited:var(--scalar-link-color-visited,var(--scalar-color-2));-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);color:var(--font-color);font-weight:var(--scalar-link-font-weight,var(--scalar-semibold));text-underline-offset:.25rem;text-decoration-thickness:1px;-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}@supports (color:color-mix(in lab, red, red)){.download-link[data-v-b258a15f]{-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);-webkit-text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent);text-decoration-color:color-mix(in srgb, var(--font-color) 30%, transparent)}}.download-link[data-v-b258a15f]:hover{--font-color:var(--scalar-link-color,var(--scalar-color-accent));-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);-webkit-text-decoration-color:var(--font-color);text-decoration-color:var(--font-color)}.introduction-card[data-v-5764c94a]{flex-direction:column;gap:12px;display:flex}.introduction-card-row[data-v-5764c94a]{gap:24px}@media (width>=600px){.introduction-card-row[data-v-5764c94a]{flex-flow:wrap}}.introduction-card-row[data-v-5764c94a]>*{flex:1}@media (width>=600px){.introduction-card-row[data-v-5764c94a]>*{min-width:min-content}}@media (width<=600px){.introduction-card-row[data-v-5764c94a]>*{max-width:100%}}@container (width<=900px){.introduction-card-row[data-v-5764c94a]{flex-direction:column;align-items:stretch;gap:0}}.introduction-card[data-v-5764c94a] .security-scheme-label{text-transform:uppercase;font-weight:var(--scalar-semibold)}.introduction-card-row[data-v-5764c94a] .scalar-card:nth-of-type(2) .scalar-card-header{display:none}.introduction-card-row[data-v-5764c94a] .scalar-card:nth-of-type(2) .scalar-card-header.scalar-card--borderless+.scalar-card-content{margin-top:0}.section[data-v-be4443e9]{max-width:var(--refs-content-max-width);scroll-margin-top:var(--refs-viewport-offset);flex-direction:column;margin:auto;padding:90px 0;display:flex;position:relative}.section[data-v-be4443e9]:has(~div.contents){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.references-classic .section[data-v-be4443e9]{gap:24px;padding:48px 0}@container narrow-references-container (width<=900px){.references-classic .section[data-v-be4443e9],.section[data-v-be4443e9]{padding:48px 24px}}.section[data-v-be4443e9]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.section-wrapper[data-v-ff689b94]{color:var(--scalar-color-1);margin-top:-12px;padding-top:12px}.section-accordion[data-v-ff689b94]{border-radius:var(--scalar-radius-lg);background:var(--scalar-background-2);scroll-margin-top:var(--refs-viewport-offset);flex-direction:column;display:flex}.section-accordion-transparent[data-v-ff689b94]{border:var(--scalar-border-width) solid var(--scalar-border-color);background:0 0}.section-accordion-button[data-v-ff689b94]{cursor:pointer;align-items:center;gap:6px;padding:6px;display:flex}.section-accordion-button-content[data-v-ff689b94]{flex:1;min-width:0}.section-accordion-button-actions[data-v-ff689b94]{color:var(--scalar-color-3);align-items:center;gap:6px;display:flex}.section-accordion-chevron[data-v-ff689b94]{cursor:pointer;opacity:1;color:var(--scalar-color-3);margin-right:4px}.section-accordion-button:hover .section-accordion-chevron[data-v-ff689b94]{color:var(--scalar-color-1)}.section-accordion-content[data-v-ff689b94]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);flex-direction:column;display:flex}.section-accordion-description[data-v-ff689b94]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color--1);padding:10px 12px 0}.section-accordion-content-card[data-v-ff689b94] .property:last-of-type{padding-bottom:9px}.section-column[data-v-699c28e3]{flex:1;min-width:0}@container narrow-references-container (width<=900px){.section-column[data-v-699c28e3]:nth-of-type(2){padding-top:0}}.section-columns[data-v-8b9602bf]{gap:48px;display:flex}@container narrow-references-container (width<=900px){.section-columns[data-v-8b9602bf]{flex-direction:column;gap:24px}}.section-container[data-v-20a1472a]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);width:100%;padding:0 60px;position:relative}.section-container[data-v-20a1472a]:has(.introduction-section){border-top:none}@container narrow-references-container (width<=900px){.section-container[data-v-20a1472a]{padding:0}}.section-accordion-wrapper[data-v-9419dd23]{padding:0 60px}.section-accordion[data-v-9419dd23]{width:100%;max-width:var(--refs-content-max-width);margin:auto;position:relative}.section-accordion-content[data-v-9419dd23]{flex-direction:column;gap:12px;padding-top:12px;display:flex}.section-accordion-button[data-v-9419dd23]{cursor:pointer;border-radius:var(--scalar-radius);width:100%;margin:-6px 0;padding:6px 0;display:flex}.section-accordion-chevron[data-v-9419dd23]{color:var(--scalar-color-3);position:absolute;top:12px;left:-22px}.section-accordion-button:hover .section-accordion-chevron[data-v-9419dd23]{color:var(--scalar-color-1)}.section-accordion-title[data-v-9419dd23]{flex-direction:column;flex:1;align-items:flex-start;padding:0 6px;display:flex}.section-accordion-title[data-v-9419dd23] .section-header-wrapper{grid-template-columns:1fr}.section-accordion-title[data-v-9419dd23] .section-header{margin-bottom:0}@container narrow-references-container (width<=900px){.section-accordion-chevron[data-v-9419dd23]{width:16px;top:14px;left:-16px}.section-accordion-wrapper[data-v-9419dd23]{padding:calc(var(--refs-viewport-offset)) 24px 0 24px}}.loading[data-v-8e0226d7]{background:var(--scalar-background-3);border-radius:var(--scalar-radius-lg);max-width:100%;min-height:1.6em;margin:.6em 0;animation:1.5s infinite alternate loading-skeleton-8e0226d7}.loading[data-v-8e0226d7]:first-of-type{min-height:3em;margin-top:0;margin-bottom:24px}.loading[data-v-8e0226d7]:last-of-type{width:60%}.loading.single-line[data-v-8e0226d7]{max-width:80%;min-height:3em;margin:.6em 0}@keyframes loading-skeleton-8e0226d7{0%{opacity:1}to{opacity:.33}}@container narrow-references-container (width<=900px){.section-content--with-columns[data-v-9735459e]{flex-direction:column;gap:24px}}.section-header-wrapper[data-v-8a5913a9]{grid-template-columns:1fr;display:grid}@media (width>=1200px){.section-header-wrapper[data-v-8a5913a9]{grid-template-columns:repeat(2,1fr)}}.section-header[data-v-8a5913a9]{font-size:var(--font-size,var(--scalar-heading-1));font-weight:var(--font-weight,var(--scalar-bold));color:var(--scalar-color-1);word-wrap:break-word;margin-top:0;line-height:1.45}.section-header.tight[data-v-8a5913a9]{margin-bottom:6px}.section-header.loading[data-v-8a5913a9]{width:80%}.section-header-label[data-v-f1ac6c38]{display:inline}.screenreader-only[data-v-df2e1026]{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.collapsible-section[data-v-999a158a]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);position:relative}.collapsible-section-header[data-v-999a158a]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-999a158a]{cursor:pointer;font-size:var(--scalar-font-size-3);z-index:1;align-items:center;padding:10px 0;display:flex;position:relative}.collapsible-section-trigger svg[data-v-999a158a]{color:var(--scalar-color-3);position:absolute;left:-19px}.collapsible-section:hover .collapsible-section-trigger svg[data-v-999a158a]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-999a158a] .anchor-copy{line-height:18.5px}.collapsible-section-content[data-v-999a158a]{margin:0 0 10px;padding:0;scroll-margin-top:140px}.references-classic .introduction-description[data-v-0370764f] img{max-width:720px}.icons-only[data-v-b59b0acf] span{display:none}.sticky-cards[data-v-bd137508]{top:calc(var(--refs-viewport-offset) + 24px);flex-direction:column;display:flex;position:sticky}.introduction-card-item[data-v-dfab866f]{flex-direction:column;justify-content:flex-start;display:flex}.introduction-card-item[data-v-dfab866f]:empty{display:none}.introduction-card-item[data-v-dfab866f]:has(.description) .server-form-container{border-bottom-right-radius:0;border-bottom-left-radius:0}.introduction-card-item[data-v-dfab866f] .request-item{border-bottom:0}.selected-client[data-v-4bb21500]{color:var(--scalar-color-1);font-size:var(--scalar-small);background:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom-left-radius:var(--scalar-radius-xl);border-bottom-right-radius:var(--scalar-radius-xl);border-top:none;flex-direction:column;gap:9px;padding:9px 12px;display:flex}.client-libraries-heading[data-v-4bb21500]{font-size:var(--scalar-small);font-weight:var(--scalar-font-medium);color:var(--scalar-color-1);background-color:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);border-top-left-radius:var(--scalar-radius-xl);border-top-right-radius:var(--scalar-radius-xl);align-items:center;max-height:32px;padding:9px 12px;display:flex}.client-libraries-content[data-v-4bb21500]{scrollbar-width:none;background-color:var(--scalar-background-1);border-left:var(--scalar-border-width) solid var(--scalar-border-color);border-right:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);padding:0 12px;position:relative;overflow:auto hidden}.client-libraries-content[data-v-4bb21500]::-webkit-scrollbar{display:none}.client-libraries-row[data-v-4bb21500]{justify-content:flex-start;display:flex}.client-libraries-measure-clip[data-v-4bb21500]{width:0;height:0;position:absolute;top:0;left:0;overflow:hidden}.client-libraries-row--measure[data-v-4bb21500]{visibility:hidden;pointer-events:none;width:max-content}.client-libraries[data-v-4bb21500]{cursor:pointer;white-space:nowrap;color:var(--scalar-color-3);-webkit-user-select:none;user-select:none;background:0 0;border-bottom:1px solid #0000;flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:8px 12px;display:flex;position:relative}.client-libraries[data-v-4bb21500]:not(.client-libraries__active):hover:before{content:"";background:var(--scalar-background-2);z-index:0;border-radius:var(--scalar-radius);width:calc(100% - 4px);height:calc(100% - 4px);position:absolute;top:2px;left:2px}.client-libraries[data-v-4bb21500]:active{color:var(--scalar-color-1)}.client-libraries[data-v-4bb21500]:focus-visible{box-shadow:inset 0 0 0 1px var(--scalar-color-accent);outline:none}.client-libraries__active[data-v-4bb21500]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}.client-libraries-more[data-v-4bb21500]{margin-left:auto}.client-libraries-icon[data-v-4bb21500]{aspect-ratio:1;box-sizing:border-box;color:currentColor;justify-content:center;align-items:center;width:100%;min-width:14px;max-width:14px;max-height:14px;display:flex;position:relative}.client-libraries .client-libraries-text[data-v-4bb21500]{font-size:var(--scalar-small);align-items:center;display:flex;position:relative}.client-libraries__active .client-libraries-text[data-v-4bb21500]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.schema-type-icon[data-v-78e7c684]{color:var(--scalar-color-1);display:none}.schema-type[data-v-78e7c684]{font-family:var(--scalar-font-code);color:var(--scalar-color-1)}.property-enum-value[data-v-4375ecfd]{color:var(--scalar-color-3);overflow-wrap:break-word;--decorator-width:1px;--decorator-color:color-mix(in srgb, var(--scalar-background-1), var(--scalar-color-1) 25%);align-items:stretch;line-height:1.5;display:flex;position:relative}.property-enum-value-content[data-v-4375ecfd]{flex-direction:column;padding:3px 0;display:flex}.property-enum-value-label[data-v-4375ecfd]{font-family:var(--scalar-font-code);color:var(--scalar-color-1);font-size:var(--scalar-font-size-4);position:relative}.property-enum-value:last-of-type .property-enum-value-label[data-v-4375ecfd]{padding-bottom:0}.property-enum-value[data-v-4375ecfd]:before{content:"";width:var(--decorator-width);background-color:var(--decorator-color);margin-right:12px;display:block}.property-enum-value[data-v-4375ecfd]:last-of-type:before{height:calc(.5lh + 4px)}.property-enum-values:has(.enum-toggle-button) .property-enum-value[data-v-4375ecfd]:nth-last-child(2):before{height:calc(.5lh + 4px)}.property-enum-value-label[data-v-4375ecfd]:after{content:"";width:8px;height:var(--decorator-width);background-color:var(--decorator-color);position:absolute;top:.5lh;left:-12px}.property-enum-value[data-v-4375ecfd]:last-of-type:after{background:var(--scalar-background-1);border-top:var(--scalar-border-width) solid var(--decorator-color);height:50%;bottom:0}.property-enum-value-description[data-v-4375ecfd]{color:var(--scalar-color-3)}.property-heading:empty+.property-description[data-v-fa093e1b]:last-of-type,.property-description[data-v-fa093e1b]:first-of-type:last-of-type{margin-top:0}.property-list[data-v-fa093e1b]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);margin-top:10px}.property-list .property[data-v-fa093e1b]:last-of-type{padding-bottom:10px}.property-enum-values[data-v-fa093e1b]{font-size:var(--scalar-font-size-3);margin-top:8px;padding-left:2px;list-style:none}.enum-toggle-button[data-v-fa093e1b]:hover{color:var(--scalar-color-1)}.property-enum-property-names[data-v-fa093e1b]{font-size:var(--scalar-font-size-4);color:var(--scalar-color-2);margin-top:8px;padding:0 2px;display:inline-block}.property-default[data-v-5f65dcf4]{font-size:var(--scalar-mini);flex-direction:column;display:flex;position:relative}.property-default[data-v-5f65dcf4]:hover:before{content:"";border-radius:var(--scalar-radius);width:100%;height:20px;position:absolute;top:0;left:0}.property-default:hover .property-default-label span[data-v-5f65dcf4]{color:var(--scalar-color-1)}.property-default-label span[data-v-5f65dcf4]{color:var(--scalar-color-3);border-bottom:var(--scalar-border-width) dotted currentColor;position:relative}.property-default-value[data-v-5f65dcf4]{font-family:var(--scalar-font-code);align-items:center;gap:8px;width:100%;padding:6px;display:flex}.property-default-value span[data-v-5f65dcf4]{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.property-default-value[data-v-5f65dcf4] svg{color:var(--scalar-color-3)}.property-default-value[data-v-5f65dcf4]:hover svg{color:var(--scalar-color-1)}.property-default-value[data-v-5f65dcf4]{background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.property-default-value-list[data-v-5f65dcf4]{background-color:var(--scalar-background-1);box-shadow:var(--scalar-shadow-1);border-radius:var(--scalar-radius-lg);border:var(--scalar-border-width) solid var(--scalar-border-color);z-index:2;flex-direction:column;gap:3px;min-width:200px;max-width:300px;padding:9px;display:none;position:absolute;top:18px;left:50%;overflow:auto;transform:translate(-50%)}.property-default:hover .property-default-value-list[data-v-5f65dcf4],.property-default:focus-within .property-default-value-list[data-v-5f65dcf4]{display:flex}.property-detail[data-v-1295f965]{display:inline-flex}.property-detail+.property-detail[data-v-1295f965]:before{content:"·";margin:0 .5ch;display:block}.property-detail-truncate[data-v-1295f965]{overflow:hidden}.property-detail-truncate>.property-detail-value[data-v-1295f965]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.property-detail-prefix[data-v-1295f965]{color:var(--scalar-color-2)}code.property-detail-value[data-v-1295f965]{font-family:var(--scalar-font-code);font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1));border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);padding:0 4px}.property-example[data-v-6952a15a]{font-size:var(--scalar-mini);flex-direction:column;display:flex;position:relative}.property-example[data-v-6952a15a]:hover:before{content:"";border-radius:var(--scalar-radius);width:100%;height:20px;position:absolute;top:0;left:0}.property-example-value[data-v-6952a15a]{font-family:var(--scalar-font-code);align-items:center;gap:8px;width:100%;padding:6px;display:flex}.property-example-value span[data-v-6952a15a]{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.property-example-value[data-v-6952a15a] svg{color:var(--scalar-color-3)}.property-example-value[data-v-6952a15a]:hover svg{color:var(--scalar-color-1)}.property-example-value[data-v-6952a15a]{background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.property-example-value-list[data-v-6952a15a]{background-color:var(--scalar-background-1);box-shadow:var(--scalar-shadow-1);border-radius:var(--scalar-radius-lg);border:var(--scalar-border-width) solid var(--scalar-border-color);z-index:1000;flex-direction:column;gap:3px;min-width:200px;max-width:300px;padding:9px;display:none;position:absolute;top:18px;left:50%;overflow:auto;transform:translate(-50%)}.property-example:hover .property-example-value-list[data-v-6952a15a],.property-example:focus-within .property-example-value-list[data-v-6952a15a]{display:flex}.property-heading[data-v-e4c4fffd]{white-space:nowrap;flex-wrap:wrap;align-items:baseline;row-gap:9px;display:flex}:is(.property-heading[data-v-e4c4fffd]:has(+.children),.property-heading[data-v-e4c4fffd]:has(+.property-rule)){margin-bottom:9px}.property-heading[data-v-e4c4fffd]>*{margin-right:9px}.property-heading[data-v-e4c4fffd]:last-child,.property-heading>.property-detail[data-v-e4c4fffd]:not(:last-of-type){margin-right:0}.property-name[data-v-e4c4fffd]{max-width:100%;font-family:var(--scalar-font-code);font-weight:var(--scalar-bold);font-size:var(--scalar-font-size-4);white-space:normal;overflow-wrap:break-word}.property-additional[data-v-e4c4fffd]{font-family:var(--scalar-font-code)}.property-required[data-v-e4c4fffd],.property-optional[data-v-e4c4fffd]{color:var(--scalar-color-2)}.property-required[data-v-e4c4fffd]{font-size:var(--scalar-mini);color:var(--scalar-color-orange)}.property-read-only[data-v-e4c4fffd]{font-size:var(--scalar-mini);color:var(--scalar-color-blue)}.property-write-only[data-v-e4c4fffd]{font-size:var(--scalar-mini);color:var(--scalar-color-green)}.property-discriminator[data-v-e4c4fffd]{font-size:var(--scalar-mini);color:var(--scalar-color-purple)}.property-detail[data-v-e4c4fffd]{font-size:var(--scalar-mini);color:var(--scalar-color-2);align-items:center;min-width:0;display:flex}.property-const[data-v-e4c4fffd]{color:var(--scalar-color-1)}.deprecated[data-v-e4c4fffd]{text-decoration:line-through}.property[data-v-471bb5bb]{color:var(--scalar-color-1);font-size:var(--scalar-small);flex-direction:column;padding:10px;display:flex;position:relative}.property.property--level-0[data-v-471bb5bb]:has(>.property-rule>.schema-card>.schema-properties.schema-properties-open>ul>li.property){padding-top:0}.property--compact.property--level-0[data-v-471bb5bb],.property--compact.property--level-1[data-v-471bb5bb]{padding:10px 0}.composition-panel .property.property.property.property--level-0[data-v-471bb5bb]{padding:0}.property--compact.property--level-0 .composition-panel .property--compact.property--level-1[data-v-471bb5bb]{padding:8px}.property[data-v-471bb5bb]:has(>.property-rule:first-of-type):not(.property--compact){padding-top:8px;padding-bottom:8px}.property--deprecated[data-v-471bb5bb]{background:repeating-linear-gradient(-45deg, var(--scalar-background-2) 0, var(--scalar-background-2) 2px, transparent 2px, transparent 5px);background-size:100%}.property--deprecated[data-v-471bb5bb]>*{opacity:.75}.property-description[data-v-471bb5bb]{line-height:1.4;font-size:var(--scalar-small);margin-top:6px}.property-description[data-v-471bb5bb]:has(+.property-rule){margin-bottom:9px}[data-v-471bb5bb] .property-description *{color:var(--scalar-color-2)!important}.property[data-v-471bb5bb]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.property-description+.children[data-v-471bb5bb],.children+.property-rule[data-v-471bb5bb]{margin-top:9px}.children[data-v-471bb5bb]{flex-direction:column;display:flex}.children .property--compact.property--level-1[data-v-471bb5bb]{padding:12px}.property-example-value[data-v-471bb5bb]{all:unset;font-family:var(--scalar-font-code);border-top:var(--scalar-border-width) solid var(--scalar-border-color);padding:6px}.property-rule[data-v-471bb5bb]{border-radius:var(--scalar-radius-lg);flex-direction:column;display:flex}.property--level-2[data-v-471bb5bb] .relative>button{left:-2rem}.property-rule[data-v-471bb5bb] .composition-panel .schema-card--level-1>.schema-properties.schema-properties-open{border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg)}.property-rule[data-v-471bb5bb] .composition-panel>.schema-card>.schema-card-description{border-left:var(--scalar-border-width) solid var(--scalar-border-color);border-right:var(--scalar-border-width) solid var(--scalar-border-color);padding:10px}.property-rule[data-v-471bb5bb] .composition-panel>.schema-card>.schema-card-description+.schema-properties{margin-top:0}.property-example[data-v-471bb5bb]{background:0 0;border:none;flex-direction:row;gap:8px;display:flex}.property-example-label[data-v-471bb5bb],.property-example-value[data-v-471bb5bb]{padding:3px 0 0}.property-example-value[data-v-471bb5bb]{background:var(--scalar-background-2);border-radius:var(--scalar-radius);border-top:0;padding:3px 4px}.property-name[data-v-471bb5bb]{font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold)}.property-name-additional-properties[data-v-471bb5bb]:before,.property-name-pattern-properties[data-v-471bb5bb]:before{text-transform:uppercase;font-size:var(--scalar-micro);border-radius:var(--scalar-radius);color:var(--scalar-color-1);border:var(--scalar-border-width) solid var(--scalar-border-color);background-color:var(--scalar-background-2);margin-right:4px;padding:2px 4px;display:inline-block}.property-name-pattern-properties[data-v-471bb5bb]:before{content:"regex"}.property-name-additional-properties[data-v-471bb5bb],.property-name-pattern-properties[data-v-471bb5bb]{border:1px dashed var(--scalar-border-color);color:var(--scalar-color-accent);border-radius:var(--scalar-radius);padding:2px;display:inline-block}.error[data-v-dc6746ff]{background-color:var(--scalar-color-red)}.schema-card[data-v-dc6746ff]{font-size:var(--scalar-font-size-4);color:var(--scalar-color-1)}.schema-card-title[data-v-dc6746ff]{height:var(--schema-title-height);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);border-bottom:var(--scalar-border-width) solid transparent;align-items:center;gap:4px;padding:6px 8px;display:flex}button.schema-card-title[data-v-dc6746ff]{cursor:pointer}button.schema-card-title[data-v-dc6746ff]:hover{color:var(--scalar-color-1)}.schema-card-title-icon--open[data-v-dc6746ff]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title[data-v-dc6746ff]{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom-right-radius:0;border-bottom-left-radius:0}.schema-properties-open>.schema-properties[data-v-dc6746ff]{width:fit-content}.schema-card-description[data-v-dc6746ff]{color:var(--scalar-color-2)}.schema-card-description+.schema-properties[data-v-dc6746ff]{width:fit-content;margin-top:8px}.schema-card--level-0:first-of-type>.schema-card-description[data-v-dc6746ff]:has(+.schema-properties){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);margin-bottom:-8px;padding-bottom:8px}.schema-card--level-0~.schema-card--level-0>.schema-card-description[data-v-dc6746ff]:has(+.schema-properties){padding-top:8px}.schema-properties-open.schema-properties[data-v-dc6746ff],.schema-properties-open>.schema-card--open[data-v-dc6746ff]{width:100%}.schema-properties[data-v-dc6746ff]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);flex-direction:column;width:fit-content;display:flex}.schema-properties-name[data-v-dc6746ff]{width:100%}.schema-properties .schema-properties[data-v-dc6746ff]{border-radius:13.5px}.schema-properties .schema-properties.schema-properties-open[data-v-dc6746ff]{border-radius:var(--scalar-radius-lg)}.schema-properties-open[data-v-dc6746ff]{width:100%}.schema-card--compact[data-v-dc6746ff]{align-self:flex-start}.schema-card--compact.schema-card--open[data-v-dc6746ff]{align-self:initial}.schema-card-title--compact[data-v-dc6746ff]{color:var(--scalar-color-2);border-bottom:none;height:auto;padding:6px 10px 6px 8px}.schema-card-title--compact>.schema-card-title-icon[data-v-dc6746ff]{margin:0}.schema-card-title--compact>.schema-card-title-icon--open[data-v-dc6746ff]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title--compact[data-v-dc6746ff]{position:static}.property--level-0>.schema-properties>.schema-card--level-0>.schema-properties[data-v-dc6746ff]{border:none}.property--level-0 .schema-card--level-0:not(.schema-card--compact) .property--level-1[data-v-dc6746ff]{padding:0 0 8px}:not(.composition-panel)>.schema-card--compact.schema-card--level-0>.schema-properties[data-v-dc6746ff]{border:none}[data-v-dc6746ff] .schema-card-description p{font-size:var(--scalar-small,var(--scalar-paragraph));color:var(--scalar-color-2);margin-bottom:6px;display:block}.children .schema-card-description[data-v-dc6746ff]:first-of-type{padding-top:0}.reference-models-anchor[data-v-f3ae088e]{color:var(--scalar-color-1);align-items:center;padding-left:6px;font-size:20px;display:flex}.reference-models-label[data-v-f3ae088e]{font-size:var(--scalar-mini);display:block}.reference-models-label[data-v-f3ae088e] em{font-weight:var(--scalar-bold)}.show-more[data-v-d1c2b649]{appearance:none;border:none;border:var(--scalar-border-width) solid var(--scalar-border-color);color:var(--scalar-color-1);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);border-radius:30px;justify-content:center;align-items:center;gap:6px;margin:auto;padding:8px 12px 8px 16px;display:flex;position:relative;top:-48px}.show-more[data-v-d1c2b649]:hover{background:var(--scalar-background-2);cursor:pointer}.show-more[data-v-d1c2b649]:active{box-shadow:0 0 0 1px var(--scalar-border-color)}@container narrow-references-container (width<=900px){.show-more[data-v-d1c2b649]{top:-24px}}.tag-section[data-v-ee09ae3d]{margin-bottom:48px}.tag-name[data-v-ee09ae3d]{text-transform:capitalize}.tag-description[data-v-ee09ae3d]{text-align:left;padding-bottom:4px}.tag-section-group .tag-group-name[data-v-ee09ae3d]{grid-template-columns:auto 1fr;align-self:stretch;gap:12px}.tag-group-name[data-v-ee09ae3d]:after{content:"";background:var(--scalar-border-color);align-self:center;height:1px;display:block}:is(.tag-group-name[data-v-ee09ae3d]:has(*>:hover),.tag-group-name[data-v-ee09ae3d]:has(:focus-visible)){gap:32px}.tag-section-group .tag-section[data-v-ee09ae3d]{margin-bottom:24px;padding-inline:0}.tag-section-group .tag-section[data-v-ee09ae3d]:last-of-type{margin-bottom:0}.endpoint[data-v-ad8530a6]{white-space:nowrap;cursor:pointer;text-decoration:none;display:flex}.endpoint:hover .endpoint-path[data-v-ad8530a6],.endpoint:focus-visible .endpoint-path[data-v-ad8530a6]{text-decoration:underline}.endpoint .post[data-v-ad8530a6],.endpoint .get[data-v-ad8530a6],.endpoint .delete[data-v-ad8530a6],.endpoint .put[data-v-ad8530a6]{white-space:nowrap}.endpoint-method[data-v-ad8530a6],.endpoint-path[data-v-ad8530a6]{color:var(--scalar-color-1);min-width:62px;line-height:1.55;font-family:var(--scalar-font-code);font-size:var(--scalar-small);cursor:pointer;display:inline-flex}.endpoint-method[data-v-ad8530a6]{text-align:right}.endpoint-path[data-v-ad8530a6]{text-transform:initial;margin-left:12px}.deprecated[data-v-ad8530a6]{text-decoration:line-through}.endpoints-card[data-v-b8cb97c7]{top:calc(var(--refs-viewport-offset) + 24px);font-size:var(--scalar-font-size-3);position:sticky}.endpoints[data-v-b8cb97c7]{background:var(--scalar-background-2);width:100%;padding:10px 12px;overflow:auto}.section-container[data-v-8f1a275c]{border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.section-container[data-v-8f1a275c]:has(.show-more){background-color:color-mix(in srgb, var(--scalar-background-2), transparent)}.headers-card[data-v-4a9699e9]{z-index:0;font-size:var(--scalar-font-size-4);color:var(--scalar-color-1);align-self:flex-start;margin-top:12px;margin-bottom:6px;position:relative}.headers-card.headers-card--open[data-v-4a9699e9]{align-self:initial}.headers-card-title[data-v-4a9699e9]{color:var(--scalar-color-3);font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);border-radius:13.5px;align-items:center;gap:4px;padding:6px 10px;display:flex}button.headers-card-title[data-v-4a9699e9]{cursor:pointer}button.headers-card-title[data-v-4a9699e9]:hover{color:var(--scalar-color-1)}.headers-card-title-icon--open[data-v-4a9699e9]{transform:rotate(45deg)}.headers-properties[data-v-4a9699e9]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:13.5px;flex-direction:column;width:fit-content;display:flex}.headers-properties-open>.headers-card-title[data-v-4a9699e9]{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom-right-radius:0;border-bottom-left-radius:0}.headers-properties-open[data-v-4a9699e9]{border-radius:var(--scalar-radius-lg);width:100%}.headers-card .property[data-v-4a9699e9]:last-of-type{padding-bottom:10px}.headers-card-title>.headers-card-title-icon[data-v-4a9699e9]{width:14px;height:14px;margin:0}.headers-card-title>.headers-card-title-icon--open[data-v-4a9699e9]{transform:rotate(45deg)}.parameter-item[data-v-94968dbd]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);flex-direction:column;display:flex;position:relative}.parameter-item:last-of-type .parameter-schema[data-v-94968dbd]{padding-bottom:0}.parameter-item-container[data-v-94968dbd]{padding:0}.parameter-item-headers[data-v-94968dbd]{border:var(--scalar-border-width) solid var(--scalar-border-color)}.parameter-item-name[data-v-94968dbd]{font-weight:var(--scalar-bold);font-size:var(--scalar-font-size-4);font-family:var(--scalar-font-code);color:var(--scalar-color-1);overflow-wrap:break-word;position:relative}.parameter-item-description[data-v-94968dbd],.parameter-item-description-summary[data-v-94968dbd]{font-size:var(--scalar-mini);color:var(--scalar-color-2)}.parameter-item-description-summary.parameter-item-description-summary[data-v-94968dbd]>*{--markdown-line-height:var(--scalar-line-height-5)}.parameter-item-trigger~.parameter-item-container[data-v-94968dbd] .property--level-0>.property-heading .property-detail-value{font-size:var(--scalar-micro)}.parameter-item-required-optional[data-v-94968dbd]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);margin-right:6px;position:relative}.parameter-item--required[data-v-94968dbd]{text-transform:uppercase;font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-orange)}.parameter-item-description[data-v-94968dbd]{font-size:var(--scalar-small);color:var(--scalar-color-2);margin-top:6px;line-height:1.4}.parameter-item-description[data-v-94968dbd] p{font-size:var(--scalar-small);color:var(--scalar-color-2);margin-top:4px}.parameter-schema[data-v-94968dbd]{margin-top:3px;padding-bottom:9px}.parameter-item-trigger[data-v-94968dbd]{line-height:var(--scalar-line-height-5);outline:none;flex-wrap:wrap;align-items:baseline;gap:6px;padding:10px 0;display:flex}.parameter-item-trigger-open[data-v-94968dbd]{padding-bottom:0}.parameter-item-icon[data-v-94968dbd]{color:var(--scalar-color-3);position:absolute;top:.5lh;left:-19px;translate:0 -50%}.parameter-item-trigger:hover .parameter-item-icon[data-v-94968dbd],.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-94968dbd]{color:var(--scalar-color-1)}.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-94968dbd]{outline:1px solid var(--scalar-color-accent);outline-offset:2px;border-radius:var(--scalar-radius)}.channel-section[data-v-cb522e2e]{margin-bottom:48px}.channel-description[data-v-cb522e2e]{text-align:left;padding-bottom:4px}.operation-path[data-v-ec6c8861]{word-wrap:break-word;font-weight:var(--scalar-semibold);line-break:anywhere;overflow:hidden}.deprecated[data-v-ec6c8861]{text-decoration:line-through}.empty-state[data-v-da52ac9d]{text-align:center;font-size:var(--scalar-mini);border-radius:var(--scalar-radius-lg);min-height:56px;color:var(--scalar-color-2);justify-content:center;align-items:center;margin:10px 0 10px 12px;display:flex}.rule-title[data-v-da52ac9d]{font-family:var(--scalar-font-code);color:var(--scalar-color-1);border-radius:var(--scalar-radius);margin:12px 0 6px;display:inline-block}.rule[data-v-da52ac9d]{border-radius:var(--scalar-radius-lg);margin:0 12px}.rule-items[data-v-da52ac9d]{counter-reset:list-number;border-left:1px solid var(--scalar-border-color);flex-direction:column;gap:12px;padding:12px 0;display:flex}.rule-item[data-v-da52ac9d]{counter-increment:list-number;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-left:24px;overflow:hidden}.rule-item[data-v-da52ac9d]:before{border:1px solid var(--scalar-border-color);content:" ";border-radius:0 0 0 var(--scalar-radius-lg);width:24px;height:6px;color:var(--scalar-color-1);border-top:0;border-right:0;margin-top:6px;display:block;position:absolute;transform:translate(-25px)}.tab[data-v-804dba49]{font-size:var(--scalar-small);font-family:var(--scalar-font);font-weight:var(--scalar-font-normal);color:var(--scalar-color-2);line-height:calc(var(--scalar-small) + 2px);white-space:nowrap;cursor:pointer;text-transform:uppercase;background:0 0;border:none;margin-right:3px;padding:0;line-height:22px;position:relative}.tab[data-v-804dba49]:before{content:"";z-index:0;border-radius:var(--scalar-radius);background:var(--scalar-background-3);opacity:0;width:calc(100% + 12px);height:calc(100% + 4px);position:absolute;top:-2px;left:-6px}.tab[data-v-804dba49]:hover:before,.tab[data-v-804dba49]:focus-visible:before{opacity:1}.tab[data-v-804dba49]:focus-visible:before{outline:1px solid var(--scalar-color-accent)}.tab span[data-v-804dba49]{z-index:1;position:relative}.tab-selected[data-v-804dba49]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.tab-selected[data-v-804dba49]:after{content:"";width:100%;height:1px;left:0;bottom:calc(var(--tab-list-padding-y) * -1);background:currentColor;position:absolute}.tab-list[data-v-49a8c0af]{--tab-list-padding-y:7px;--tab-list-padding-x:12px;padding:var(--tab-list-padding-y) var(--tab-list-padding-x);flex:1;gap:6px;display:flex;position:relative;overflow:auto}.scalar-card-header.scalar-card-header-tabs[data-v-49a8c0af]{padding:0}.response-card[data-v-b3a2a96e]{font-size:var(--scalar-font-size-3)}.code-copy[data-v-b3a2a96e]{appearance:none;cursor:pointer;color:var(--scalar-color-3);background:0 0;border:none;outline:none;justify-content:center;align-items:center;margin-right:12px;padding:0;display:flex}.code-copy[data-v-b3a2a96e]:hover{color:var(--scalar-color-1)}.code-copy svg[data-v-b3a2a96e]{width:13px;height:13px}.response-card-footer[data-v-b3a2a96e]{flex-flow:row-reverse wrap;flex-shrink:0;justify-content:start;column-gap:8px;padding:7px 12px;display:flex}.response-example-selector[data-v-b3a2a96e]{flex-shrink:0;margin:-4px}.response-description[data-v-b3a2a96e]{font-weight:var(--scalar-semibold);font-size:var(--scalar-small);color:var(--scalar-color--1);box-sizing:border-box;flex-grow:1}.response-description-markdown[data-v-b3a2a96e]{max-height:3lh}.response-description-markdown[data-v-b3a2a96e] *{margin:0}.schema-type[data-v-b3a2a96e]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);background:var(--scalar-background-3);border-radius:4px;margin-right:4px;padding:2px 4px}.schema-example[data-v-b3a2a96e]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold)}.example-response-tab[data-v-b3a2a96e]{margin:6px;display:block}.scalar-card-checkbox[data-v-b3a2a96e]{cursor:pointer;-webkit-user-select:none;user-select:none;min-height:17px;font-size:var(--scalar-small);font-weight:var(--scalar-font-normal);color:var(--scalar-color-2);white-space:nowrap;justify-content:center;align-items:center;gap:6px;width:fit-content;padding:7px 6px;display:flex;position:relative}.scalar-card-checkbox:has(.scalar-card-checkbox-input:focus-visible) .scalar-card-checkbox-checkmark[data-v-b3a2a96e]{outline:1px solid var(--scalar-color-accent)}.scalar-card-checkbox[data-v-b3a2a96e]:hover{color:var(--scalar-color--1)}.scalar-card-checkbox .scalar-card-checkbox-input[data-v-b3a2a96e]{opacity:0;cursor:pointer;width:0;height:0;position:absolute}.scalar-card-checkbox-checkmark[data-v-b3a2a96e]{border-radius:var(--scalar-radius);background-color:#0000;background-color:var(--scalar-background-3);width:16px;height:16px;box-shadow:inset 0 0 0 var(--scalar-border-width) var(--scalar-border-color)}.scalar-card-checkbox[data-v-b3a2a96e]:has(.scalar-card-checkbox-input:checked){color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-b3a2a96e]{background-color:var(--scalar-button-1);box-shadow:none}.scalar-card-checkbox-checkmark[data-v-b3a2a96e]:after{content:"";display:none;position:absolute}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-b3a2a96e]:after{display:block}.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-b3a2a96e]:after{border:solid 1px var(--scalar-button-1-color);border-width:0 1.5px 1.5px 0;width:5px;height:9px;top:12.5px;right:11.5px;transform:rotate(45deg)}.request-body[data-v-076f6de4]{margin-top:24px}.request-body-header[data-v-076f6de4]{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);flex-flow:wrap;justify-content:space-between;align-items:center;padding-bottom:12px;display:flex}.request-body-title[data-v-076f6de4]{font-size:var(--scalar-font-size-2);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);align-items:center;gap:8px;display:flex}.request-body-required[data-v-076f6de4]{font-size:var(--scalar-micro);color:var(--scalar-color-orange);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:16px;height:20px;padding:2px 8px;font-weight:400}.request-body-description[data-v-076f6de4]{font-size:var(--scalar-small);width:100%;margin-top:6px}:is(.request-body-header+.request-body-schema[data-v-076f6de4]:has(>.schema-card>.schema-card-description),.request-body-header+.request-body-schema[data-v-076f6de4]:has(>.schema-card>.schema-properties>*>.property--level-0)){padding-top:8px}.request-body-description[data-v-076f6de4] .markdown *{color:var(--scalar-color-2)!important}.callback-sticky-offset[data-v-474e6fa6]{top:var(--refs-viewport-offset,0px);z-index:1}.callback-operation-container[data-v-474e6fa6] .request-body,.callback-operation-container[data-v-474e6fa6] .request-body-description,.callback-operation-container[data-v-474e6fa6] .request-body-header{margin-top:0}.callback-operation-container[data-v-474e6fa6] .request-body-header{--scalar-font-size-2:var(--scalar-font-size-4);border-bottom:none;border:.5px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg) var(--scalar-radius-lg) 0 0;background:color-mix(in srgb, var(--scalar-background-2) 50%, transparent);padding:10px}.callback-operation-container[data-v-474e6fa6] .request-body-schema>.schema-card>.schema-card-description{padding-inline:8px}.callback-operation-container[data-v-474e6fa6] ul li.property.property--level-1{padding:10px}.callback-operation-container[data-v-474e6fa6] .request-body-schema{background-color:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg);border-top:none;overflow:hidden}.callback-operation-container[data-v-474e6fa6] .parameter-list{margin-top:0}.callback-operation-container[data-v-474e6fa6] .parameter-list-title{background:color-mix(in srgb, var(--scalar-background-2) 50%, transparent);border-radius:var(--scalar-radius-lg) var(--scalar-radius-lg) 0 0;border:var(--scalar-border-width) solid var(--scalar-border-color);--scalar-font-size-2:var(--scalar-font-size-4);border-bottom:none;margin-bottom:0;padding:10px}.callback-operation-container[data-v-474e6fa6] .parameter-list-items{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg)}.callback-operation-container[data-v-474e6fa6] .parameter-list-items>li:first-of-type{border-top:none}.callback-operation-container[data-v-474e6fa6] .parameter-list-items>li{padding:0 8px}.show-api-client-button[data-v-15e312d9]{appearance:none;white-space:nowrap;border-radius:var(--scalar-radius);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);color:var(--scalar-background-2);line-height:22px;font-family:var(--scalar-font);background:var(--scalar-button-1);cursor:pointer;box-sizing:border-box;outline-offset:2px;border:none;justify-content:center;align-items:center;padding:1px 6px;display:flex;position:relative;box-shadow:inset 0 0 0 1px #0000001a}.show-api-client-button span[data-v-15e312d9],.show-api-client-button svg[data-v-15e312d9]{fill:currentColor;color:var(--scalar-button-1-color);z-index:1}.show-api-client-button[data-v-15e312d9]:hover{background:var(--scalar-button-1-hover)}.show-api-client-button svg[data-v-15e312d9]{margin-right:4px}.operation-title[data-v-5a538905]{justify-content:space-between;display:flex}.operation-details[data-v-5a538905]{flex-shrink:1;align-items:center;gap:9px;min-width:0;margin-top:0;display:flex}.operation-details[data-v-5a538905] .endpoint-anchor .scalar-button svg{width:16px;height:16px}.endpoint-type[data-v-5a538905]{z-index:0;width:60px;font-size:var(--scalar-small);text-transform:uppercase;font-weight:var(--scalar-bold);font-family:var(--scalar-font);flex-shrink:0;justify-content:center;align-items:center;gap:6px;padding:6px;display:flex;position:relative}.endpoint-type[data-v-5a538905]:after{content:"";z-index:-1;opacity:.15;border-radius:var(--scalar-radius);background:currentColor;position:absolute;inset:0}.endpoint-anchor[data-v-5a538905]{flex-shrink:1;align-items:center;min-width:0;display:flex}.endpoint-anchor.label[data-v-5a538905]{display:flex}.endpoint-label[data-v-5a538905]{min-width:0;color:var(--scalar-color-1);flex-shrink:1;align-items:baseline;gap:9px;display:flex}.endpoint-label-path[data-v-5a538905]{font-family:var(--scalar-font-code);font-size:var(--scalar-mini);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-label-path[data-v-5a538905] em{color:var(--scalar-color-2)}.endpoint-label-name[data-v-5a538905]{color:var(--scalar-color-2);font-size:var(--scalar-small);text-overflow:ellipsis;white-space:nowrap;flex-shrink:1000000000;overflow:hidden}.endpoint-try-hint[data-v-5a538905]{flex-shrink:0;padding:2px}.endpoint-copy[data-v-5a538905]{color:currentColor}.endpoint-copy[data-v-5a538905] svg{stroke-width:2px}.endpoint-content[data-v-5a538905]{grid-auto-columns:1fr;grid-auto-flow:row;gap:9px;padding:9px;display:grid}@media (width>=1000px){.endpoint-content[data-v-5a538905]{grid-auto-flow:column}}@container (width<=900px){.endpoint-content[data-v-5a538905]{grid-template-columns:1fr}}.endpoint-content[data-v-5a538905]>*{min-width:0}.operation-details-card[data-v-5a538905]{flex-direction:column;gap:12px;min-width:0;display:flex}:is(.operation-details-card-item[data-v-5a538905] .parameter-list,.operation-details-card-item[data-v-5a538905] .callbacks-list){border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-top:0}.operation-details-card-item[data-v-5a538905]{flex-direction:column;gap:12px;display:flex}.operation-details-card-item[data-v-5a538905] .parameter-list-items{margin-bottom:0}.operation-details-card[data-v-5a538905] .parameter-item:last-of-type .parameter-schema{padding-bottom:12px}.operation-details-card[data-v-5a538905] .parameter-list .parameter-list{margin-bottom:12px}.operation-details-card[data-v-5a538905] .parameter-item{margin:0;padding:0}.operation-details-card[data-v-5a538905] .property{margin:0;padding:9px}:is(.operation-details-card[data-v-5a538905] .parameter-list-title,.operation-details-card[data-v-5a538905] .request-body-title,.operation-details-card[data-v-5a538905] .callbacks-title){text-transform:uppercase;font-weight:var(--scalar-bold);font-size:var(--scalar-mini);color:var(--scalar-color-2);margin:0;padding:9px;line-height:1.33}.operation-details-card[data-v-5a538905] .callback-list-item-title{padding-left:28px;padding-right:12px}.operation-details-card[data-v-5a538905] .callback-list-item-icon{left:6px}.operation-details-card[data-v-5a538905] .callback-operation-container{padding-inline:9px;padding-bottom:9px}:is(.operation-details-card[data-v-5a538905] .callback-operation-container>.request-body,.operation-details-card[data-v-5a538905] .callback-operation-container>.parameter-list){border:none}.operation-details-card[data-v-5a538905] .callback-operation-container>.request-body>.request-body-header{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);padding:0 0 9px}.operation-details-card[data-v-5a538905] .request-body-description{border-top:var(--scalar-border-width) solid var(--scalar-border-color);margin-top:0;padding:9px 9px 0}.operation-details-card[data-v-5a538905] .request-body{border-radius:var(--scalar-radius-lg);border:var(--scalar-border-width) solid var(--scalar-border-color);margin-top:0}.operation-details-card[data-v-5a538905] .request-body .schema-card--level-0>.schema-card-description{padding-inline:9px}.operation-details-card[data-v-5a538905] .request-body-header{border-bottom:0;padding-bottom:0}.operation-details-card[data-v-5a538905] .contents button{margin-right:9px}.operation-details-card[data-v-5a538905] .schema-card--open+.schema-card:not(.schema-card--open){margin-inline:9px;margin-bottom:9px}.operation-details-card[data-v-5a538905] .request-body-schema .property--level-0{padding:0}.operation-details-card[data-v-5a538905] .selected-content-type{margin-right:9px}.operation-example-card[data-v-5a538905]{top:calc(var(--refs-viewport-offset) + 24px);max-height:calc(var(--refs-viewport-height) - 48px);position:sticky}@media (width<=600px){.operation-example-card[data-v-5a538905]{max-height:unset;position:static}}.agent-button-container[data-v-78f5377c]{color:var(--scalar-color-1);background:color-mix(in srgb, var(--scalar-background-3), white 15%);cursor:pointer;border-radius:var(--scalar-radius);z-index:2;align-items:center;height:100%;margin-right:4px;padding:1px 6px;display:flex;position:relative}.agent-button-container[data-v-78f5377c]:hover:not(:focus-within){background:color-mix(in srgb, var(--scalar-background-3), white 20%)}.agent-button-container[data-v-78f5377c]:focus-within{border-radius:var(--scalar-radius-lg);height:auto;margin-right:0;position:absolute;inset:2px}.agent-button-container[data-v-78f5377c]:has(.ask-agent-scalar-input-not-empty){border-radius:var(--scalar-radius-lg);height:auto;margin-right:0;position:absolute;inset:2px}.agent-button-container[data-v-78f5377c]:has(.ask-agent-scalar-input:focus-visible){outline-style:solid}.ask-agent-scalar-input[data-v-78f5377c]{opacity:0;border:none;width:0;font-size:0}.agent-button-container:focus-within .ask-agent-scalar-input[data-v-78f5377c]{width:100%;font-size:inherit;opacity:1;outline:none;padding-inline:4px;line-height:20px}.agent-button-container:has(.ask-agent-scalar-input-not-empty) .ask-agent-scalar-input[data-v-78f5377c]{width:100%;font-size:inherit;opacity:1;outline:none;padding-inline:4px;line-height:20px}.ask-agent-scalar-input[data-v-78f5377c]::placeholder{color:var(--scalar-color-2);font-family:inherit}.ask-agent-scalar-input-label[data-v-78f5377c]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold);margin-left:4px}.agent-button-container:focus-within .ask-agent-scalar-input-label[data-v-78f5377c]{display:none}.agent-button-container:has(.ask-agent-scalar-input-not-empty) .ask-agent-scalar-input-label[data-v-78f5377c]{display:none}.ask-agent-scalar-send[data-v-78f5377c]{background:var(--scalar-color-blue);color:#fff;border-radius:var(--scalar-radius);outline-offset:1px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;display:none}.agent-button-container:has(.ask-agent-scalar-input-not-empty) .ask-agent-scalar-send[data-v-78f5377c]{display:flex}.ask-agent-scalar-send[data-v-78f5377c]:hover{background:color-mix(in srgb, var(--scalar-color-blue), transparent 10%)}.operation-layout[data-v-af3f9eee]{grid-template:"heading badge""description examples""details examples"1fr/1fr 1fr;gap:0 48px;display:grid}.operation-title[data-v-af3f9eee]{font-size:var(--font-size,var(--scalar-heading-1));font-weight:var(--font-weight,var(--scalar-bold));color:var(--scalar-color-1);grid-area:heading;margin-bottom:12px;line-height:1.45}.operation-auth[data-v-af3f9eee]{grid-area:badge;place-self:start end}.operation-description[data-v-af3f9eee]{grid-area:description;min-width:0}.operation-details[data-v-af3f9eee]{grid-area:details;min-width:0}.examples[data-v-af3f9eee]{min-width:0;top:calc(var(--refs-viewport-offset) + 24px);grid-area:examples;align-self:start;position:sticky}.examples[data-v-af3f9eee]>*{max-height:calc((var(--refs-viewport-height) - 60px) / 2);position:relative}.examples[data-v-af3f9eee]>:first-of-type:last-of-type{max-height:calc((var(--refs-viewport-height) - 60px))}@media (width<=600px){.examples[data-v-af3f9eee]>*{max-height:unset}}.deprecated[data-v-af3f9eee] *{text-decoration:line-through}@container narrow-references-container (width<=900px){.operation-layout[data-v-af3f9eee]{grid-template-columns:1fr;grid-template-areas:"badge""heading""description""examples""details";column-gap:0}.operation-auth[data-v-af3f9eee]{justify-self:start;margin-bottom:4px}.operation-title[data-v-af3f9eee],.operation-description[data-v-af3f9eee]{margin-bottom:24px}.examples[data-v-af3f9eee]{position:static}}.section-flare[data-v-5cebff7a]{pointer-events:none;position:fixed;top:0;right:0}.narrow-references-container{container:narrow-references-container/inline-size}.ref-search-meta[data-v-25f2d34f]{background:var(--scalar-background-1);border-bottom-left-radius:var(--scalar-radius-lg);border-bottom-right-radius:var(--scalar-radius-lg);font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);border-top:var(--scalar-border-width) solid var(--scalar-border-color);gap:12px;padding:6px 12px;display:flex}:root{--scalar-loaded-api-reference:true}@layer scalar-config{.scalar-api-reference[data-v-be46ef19]{--refs-header-height:calc(var(--scalar-custom-header-height,0px) + var(--scalar-header-height,0px));--refs-viewport-offset:calc(var(--refs-header-height,0px) + var(--refs-content-offset,0px));--refs-viewport-height:calc(var(--full-height,100dvh) - var(--refs-viewport-offset,0px));--refs-sidebar-width:var(--scalar-sidebar-width,0px);--refs-sidebar-height:calc(var(--full-height,100dvh) - var(--refs-header-height,0px));--refs-content-max-width:var(--scalar-content-max-width,1540px)}.scalar-api-reference.references-classic[data-v-be46ef19]{--refs-content-max-width:var(--scalar-content-max-width,1420px);--refs-sidebar-width:0;min-height:100dvh}.references-sidebar[data-v-be46ef19]{--refs-sidebar-width:var(--scalar-sidebar-width,288px)}}.t-doc__sidebar[data-v-be46ef19]{z-index:10}.references-layout[data-v-be46ef19]{--full-height:100dvh;grid-template-rows:var(--scalar-header-height,0px) repeat(2, auto);background:var(--scalar-background-1);flex:1;grid-template-columns:auto 1fr;grid-template-areas:"header header""navigation rendered""footer footer";min-width:100%;max-width:100%;min-height:100dvh;display:grid}.references-editor[data-v-be46ef19]{background:var(--scalar-background-1);grid-area:editor;min-width:0;display:flex}.references-rendered[data-v-be46ef19]{background:var(--scalar-background-1);grid-area:rendered;min-width:0;position:relative}.scalar-api-reference.references-classic[data-v-be46ef19],.references-classic .references-rendered[data-v-be46ef19]{height:initial!important;max-height:initial!important}.references-footer[data-v-be46ef19]{grid-area:footer}@media (width<=1000px){.references-developer-tools[data-v-be46ef19]{display:none}.references-layout[data-v-be46ef19]{--refs-sidebar-height:calc(var(--full-height,100dvh) - var(--scalar-custom-header-height,0px));grid-template-columns:100%;grid-template-rows:var(--scalar-header-height,0px) 0px auto auto;grid-template-areas:"header""navigation""rendered""footer"}.references-editable[data-v-be46ef19]{grid-template-areas:"header""navigation""editor"}.references-rendered[data-v-be46ef19]{position:static}.scalar-api-references-standalone-mobile[data-v-be46ef19]:not(.references-classic){--scalar-header-height:50px}}.darklight-reference[data-v-be46ef19]{width:100%;margin-top:auto}/*$vite$:1*/')),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}(),function(e,t){"object"==typeof exports&&typeof module<"u"?t(require("radix-vue/namespaced")):"function"==typeof define&&define.amd?define(["radix-vue/namespaced"],t):t((e=typeof globalThis<"u"?globalThis:e||self)["{}"])}(this,function(e){var t,a,r,n,o,i,s,l,c,u,d,p,h,m,f,g,v,b,y,O,x,w,k,S,A,_,T,E,C,P,M,$,N,I,R,D,L,B=Object.create,j=Object.defineProperty,U=Object.getOwnPropertyDescriptor,z=Object.getOwnPropertyNames,H=Object.getPrototypeOf,Z=Object.prototype.hasOwnProperty,V=(e,t)=>()=>(e&&(t=e(e=0)),t),Q=(e,t)=>{let a={};for(var r in e)j(a,r,{get:e[r],enumerable:!0});return t||j(a,Symbol.toStringTag,{value:"Module"}),a},q=(e,t,a,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var n,o=z(t),i=0,s=o.length;i<s;i++)n=o[i],!Z.call(e,n)&&n!==a&&j(e,n,{get:(e=>t[e]).bind(null,n),enumerable:!(r=U(t,n))||r.enumerable});return e},F=V(()=>{t="Models",a=e=>!(Array.isArray(e)||!e||!("sources"in e)||!Array.isArray(e.sources))}),W=V(()=>{F()}),X=V(()=>{r=e=>{if("object"!=typeof e||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}}),G=V(()=>{X(),n=(e,t,a)=>{if(!e)return!1;let o=r(t)||Array.isArray(t);if(o&&a.get(t)?.has(e))return!0;if(o){let r=a.get(t)??new Set;r.add(e),a.set(t,r)}try{if("any"===e.type||"unknown"===e.type)return!0;if("function"===e.type)return"function"==typeof t;if("number"===e.type)return"number"==typeof t&&!Number.isNaN(t)&&Number.isFinite(t);if("string"===e.type)return"string"==typeof t;if("boolean"===e.type)return"boolean"==typeof t;if("nullable"===e.type)return null===t;if("notDefined"===e.type)return void 0===t;if("array"===e.type)return Array.isArray(t)&&t.every(t=>n(e.items,t,a));if("record"===e.type)return!!r(t)&&Object.keys(t).every(r=>n(e.key,r,a)&&n(e.value,t[r],a));if("object"===e.type)return!!r(t)&&Object.keys(e.properties).every(r=>n(e.properties[r],t[r],a));if("optional"===e.type)return void 0===t||n(e.schema,t,a);if("union"===e.type)return e.schemas.some(e=>n(e,t,a));if("intersection"===e.type)return 0===e.schemas.length||!!r(t)&&e.schemas.every(e=>n(e,t,a));if("literal"===e.type)return t===e.value;if("lazy"===e.type)return n(e.schema(),t,a);if("evaluate"===e.type)return n(e.schema,e.expression(t),a);let o=e;return console.warn("Unknown schema type:",o),!1}finally{o&&a.get(t)?.delete(e)}},o=(e,t,a=new WeakMap)=>n(e,t,a)}),Y=V(()=>{X(),G(),i=(e,t)=>{let a=t.get(e);if(a)return a;let r=e.schema();return t.set(e,r),r},s=e=>"optional"===e.type?s(e.schema):"literal"===e.type||"union"===e.type&&(e.schemas.length>0&&e.schemas.every(s)),l=(e,t,a,n=new WeakMap)=>{if(r(t)&&n.get(t)?.has(e))return 1;let c=r(t);if(c){let a=n.get(t)??new Set;a.add(e),n.set(t,a)}try{if("object"===e.type){if(!r(t))return 0;let o=Object.keys(e.properties);return 0===o.length?1:o.reduce((r,o)=>{if(!(o in t))return r;let i=e.properties[o],c=t[o],u=l(i,c,a,n);return s(i)?r+(u>0?10*u:0):r+(u>0?u:1)},0)}return"array"===e.type?Array.isArray(t)?1:0:"record"===e.type?r(t)?1:0:"optional"===e.type?void 0===t?1:l(e.schema,t,a,n):"union"===e.type?Math.max(...e.schemas.map(e=>l(e,t,a,n))):"intersection"===e.type?0===e.schemas.length?1:e.schemas.reduce((e,r)=>e+l(r,t,a,n),0):"lazy"===e.type?l(i(e,a),t,a,n):"evaluate"===e.type?l(e.schema,e.expression(t),a,n):o(e,t)?1:0}finally{c&&n.get(t)?.delete(e)}},c=(e,t,a,n)=>{if(r(e)||Array.isArray(e)){let r=n.get(e)||new Map;r.set(t,a),n.set(e,r)}},u=(e,t,a,n)=>{if((r(t)||Array.isArray(t))&&a.get(t)?.has(e))return a.get(t)?.get(e);if(!e||"any"===e.type||"unknown"===e.type)return t;if("function"===e.type)return"function"==typeof t?t:()=>{};if("number"===e.type)return o(e,t)?t:e.default??0;if("string"===e.type)return o(e,t)?t:e.default??"";if("boolean"===e.type)return o(e,t)?t:e.default??!1;if("nullable"===e.type)return null;if("notDefined"===e.type)return;if("optional"===e.type)return void 0===t?void 0:u(e.schema,t,a,n);if("array"===e.type){if(!Array.isArray(t))return[];let r=Array(t.length);c(t,e,r,a);for(let o=0;o<t.length;o++)r[o]=u(e.items,t[o],a,n);return r}if("record"===e.type){if(!r(t))return{};let o={};c(t,e,o,a);for(let r of Object.keys(t))o[r]=u(e.value,t[r],a,n);return o}if("object"===e.type){let o=Object.keys(e.properties),i=r(t)?t:null,s={};c(t,e,s,a);for(let t of o){let r=e.properties[t],o=i?.[t];"optional"===r.type&&void 0===o||(s[t]=u(r,o,a,n))}return s}if("union"===e.type)return u(e.schemas.reduce((e,a)=>{let r=l(a,t,n);return r>e.score?{schema:a,score:r}:e},{schema:e.schemas[0],score:0}).schema,t,a,n);if("intersection"===e.type)return e.schemas.reduce((e,r)=>Object.assign(e,u(r,t,a,n)),{});if("literal"===e.type)return e.value;if("lazy"===e.type)return u(i(e,n),t,a,n);if("evaluate"===e.type)return u(e.schema,e.expression(t),a,n);let s=e;return console.warn("Unknown schema type:",s),t},d=(e,t,a=new WeakMap,r=new WeakMap)=>u(e,t,a,r)}),K=V(()=>{p=e=>({type:"number",default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),h=e=>({type:"string",default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),m=e=>({type:"boolean",default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),f=e=>({type:"nullable",typeName:e?.typeName,typeComment:e?.typeComment}),g=e=>({type:"any",typeName:e?.typeName,typeComment:e?.typeComment}),v=e=>({type:"unknown",typeName:e?.typeName,typeComment:e?.typeComment}),b=e=>({type:"function",typeName:e?.typeName,typeComment:e?.typeComment}),y=(e,t)=>({type:"array",items:e,typeName:t?.typeName,typeComment:t?.typeComment}),O=(e,t,a)=>({type:"record",key:e,value:t,typeName:a?.typeName,typeComment:a?.typeComment}),x=(e,t)=>({type:"object",properties:e,typeName:t?.typeName,typeComment:t?.typeComment}),w=(e,t)=>({type:"union",schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),k=(e,t)=>({type:"intersection",schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),S=(e,t)=>({type:"optional",schema:e,typeName:t?.typeName,typeComment:t?.typeComment}),A=e=>({type:"literal",value:e}),_=e=>({type:"lazy",schema:e}),T=(e,t)=>({type:"evaluate",expression:e,schema:t})}),J=V(()=>{Y(),K(),G()}),ee=V(()=>{J(),x({name:h({typeComment:"Name of specification extension property. Has to start with `x-`."}),component:v({typeComment:"Vue component to render the specification extension"}),renderer:S(v({typeComment:"Custom renderer to render the specification extension"}))}),E=x({component:v({typeComment:"Vue component to render in the view"}),renderer:S(v({typeComment:"Custom renderer to render the view component (e.g., ReactRenderer)"})),props:S(O(h(),g()),{typeComment:"Additional props to pass to the component"})}),x({"content.end":S(y(E),{typeComment:"Components to render at specific views in the API Reference"})}),x({onInit:S(b()),onConfigChange:S(b()),onDestroy:S(b())}),C=b()}),te=V(()=>{J(),P=x({dashboardUrl:h({default:"https://dashboard.scalar.com"}),registryUrl:h({default:"https://registry.scalar.com"}),proxyUrl:h({default:"https://proxy.scalar.com"}),apiBaseUrl:h({default:"https://api.scalar.com"})},{typeComment:"External service URLs used by Scalar packages"}),M=x({title:S(h(),{typeComment:"The title of the OpenAPI document."}),slug:S(h(),{typeComment:"The slug of the OpenAPI document used in the URL. If none is passed, the title will be used. If no title is used, it will just use the index."}),authentication:S(g(),{typeComment:"Prefill authentication"}),baseServerURL:S(h(),{typeComment:"Base URL for the API server"}),hideClientButton:m({default:!1,typeComment:"Whether to hide the client button"}),proxyUrl:S(h(),{typeComment:"URL to a request proxy for the API client"}),oauth2RedirectUri:S(h(),{typeComment:"Default OAuth 2.0 redirect URI used to prefill auth flows in the API client."}),searchHotKey:S(w([A("a"),A("b"),A("c"),A("d"),A("e"),A("f"),A("g"),A("h"),A("i"),A("j"),A("k"),A("l"),A("m"),A("n"),A("o"),A("p"),A("q"),A("r"),A("s"),A("t"),A("u"),A("v"),A("w"),A("x"),A("y"),A("z")]),{typeComment:"Key used with CTRL/CMD to open the search modal (defaults to 'k' e.g. CMD+k)"}),servers:S(y(g()),{typeComment:"List of OpenAPI server objects"}),showSidebar:m({default:!0,typeComment:"Whether to show the sidebar"}),showDeveloperTools:w([A("localhost"),A("always"),A("never")],{typeComment:"Whether and when to show the developer tools."}),showToolbar:w([A("localhost"),A("always"),A("never")],{typeComment:"@deprecated Use showDeveloperTools instead"}),operationTitleSource:w([A("summary"),A("path")],{typeComment:"Whether to use the operation summary or the operation path for the sidebar and search"}),theme:w([A("default"),A("alternate"),A("moon"),A("purple"),A("solarized"),A("bluePlanet"),A("deepSpace"),A("saturn"),A("kepler"),A("elysiajs"),A("fastify"),A("mars"),A("laserwave"),A("none")],{typeComment:"A string to use one of the color presets"}),_integration:S(w([A("adonisjs"),A("astro"),A("docusaurus"),A("dotnet"),A("elysiajs"),A("express"),A("fastapi"),A("fastify"),A("go"),A("hono"),A("html"),A("laravel"),A("litestar"),A("nestjs"),A("nextjs"),A("nitro"),A("nuxt"),A("platformatic"),A("react"),A("rust"),A("svelte"),A("vue"),f()]),{typeComment:"Integration type identifier"}),onRequestSent:S(b(),{typeComment:"onRequestSent is fired when a request is sent"}),persistAuth:m({default:!1,typeComment:"Whether to persist auth to local storage"}),telemetry:m({default:!0,typeComment:"Enables / disables telemetry"}),externalUrls:P})}),ae=V(()=>{J(),$=w([h(),f(),O(h(),g()),b()]),N=x({default:m({default:!1}),url:S(h(),{typeComment:"URL to an OpenAPI/Swagger document"}),content:S($,{typeComment:"Directly embed the OpenAPI document. Can be a string, object, function returning an object, or null. It is recommended to pass a URL instead of content."}),title:S(h(),{typeComment:"The title of the OpenAPI document. @deprecated Please move `title` to the top level and remove the `spec` prefix."}),slug:S(h(),{typeComment:"The slug of the OpenAPI document used in the URL. @deprecated Please move `slug` to the top level and remove the `spec` prefix."}),spec:S(x({url:S(h()),content:S($)}),{typeComment:"@deprecated Use `url` and `content` on the top level instead."}),agent:S(x({key:S(h()),disabled:S(m()),hideAddApi:S(m(),{typeComment:"When true, hide the control to add more APIs in the agent chat. Only preloaded/registry documents are shown; the public API list is not offered."})}),{typeComment:"Agent Scalar configuration"})})}),re=V(()=>{W(),J(),ee(),te(),ae(),I=k([M,N,x({layout:w([A("modern"),A("classic")],{typeComment:"The layout to use for the references"}),proxy:S(h(),{typeComment:"@deprecated Use proxyUrl instead"}),fetch:S(b(),{typeComment:"@deprecated Use `customFetch` instead."}),customFetch:S(b(),{typeComment:"Custom fetch function used both when loading the OpenAPI document and when sending requests from the API client. Can be used to add custom headers, attach credentials (for example `credentials: 'include'`), handle auth, etc."}),plugins:S(y(C),{typeComment:"Plugins for the API reference"}),isEditable:m({default:!1,typeComment:"Allows the user to inject an editor for the spec"}),isLoading:m({default:!1,typeComment:"Controls whether the references show a loading state in the intro"}),hideModels:m({default:!1,typeComment:"Whether to show models in the sidebar, search, and content."}),modelsSectionLabel:S(w([A("Models"),A("Schemas"),h()]),{typeComment:"Label for the components.schemas section in the sidebar, content, and search. Use `Schemas` for OpenAPI terminology."}),documentDownloadType:w([A("both"),A("yaml"),A("json"),A("direct"),A("none")],{typeComment:"Sets the file type of the document to download, set to `none` to hide the download button"}),hideDownloadButton:S(m(),{typeComment:"@deprecated Use `documentDownloadType: 'none'` instead"}),hideTestRequestButton:m({default:!1,typeComment:'Whether to show the "Test Request" button'}),hideSearch:m({default:!1,typeComment:"Whether to show the sidebar search bar"}),showOperationId:m({default:!1,typeComment:"Whether to show the operationId"}),darkMode:S(m(),{typeComment:"Whether dark mode is on or off initially (light mode)"}),forceDarkModeState:S(w([A("dark"),A("light")]),{typeComment:"forceDarkModeState makes it always this state no matter what"}),hideDarkModeToggle:m({default:!1,typeComment:"Whether to show the dark mode toggle"}),metaData:S(g(),{typeComment:"If used, passed data will be added to the HTML header. @see https://unhead.unjs.io/usage/composables/use-seo-meta"}),favicon:S(h(),{typeComment:"Path to a favicon image"}),hiddenClients:S(w([O(h(),w([m(),y(h())])),y(h()),A(!0)]),{typeComment:"List of httpsnippet clients to hide from the clients menu. By default hides Unirest, pass `[]` to show all clients"}),defaultHttpClient:S(x({targetKey:h(),clientKey:h()}),{typeComment:"Determine the HTTP client that is selected by default"}),customCss:S(h(),{typeComment:"Custom CSS to be added to the page"}),onSpecUpdate:S(b(),{typeComment:"onSpecUpdate is fired on spec/swagger content change"}),onServerChange:S(b(),{typeComment:"onServerChange is fired on selected server change"}),onDocumentSelect:S(b(),{typeComment:"onDocumentSelect is fired when the config is selected"}),onLoaded:S(b(),{typeComment:"Callback fired when the reference is fully loaded"}),onBeforeRequest:S(b(),{typeComment:"Fired before the outbound request is built; callback receives a mutable request builder. Experimental API."}),onShowMore:S(b(),{typeComment:'onShowMore is fired when the user clicks the "Show more" button on the references'}),onSidebarClick:S(b(),{typeComment:"onSidebarClick is fired when the user clicks on a sidebar item"}),pathRouting:S(x({basePath:h()}),{typeComment:"Route using paths instead of hashes, your server MUST support this. @experimental"}),mcp:S(x({name:S(h(),{typeComment:"Display name for the MCP server"}),url:S(h(),{typeComment:"URL of the MCP server"}),disabled:S(m(),{typeComment:"When true, disables the MCP integration"})}),{typeComment:"MCP (Model Context Protocol) configuration. When provided, enables MCP integration with the given name and url."}),generateHeadingSlug:S(b(),{typeComment:"Customize the heading portion of the hash"}),generateModelSlug:S(b(),{typeComment:"Customize the model portion of the hash"}),generateTagSlug:S(b(),{typeComment:"Customize the tag portion of the hash"}),generateOperationSlug:S(b(),{typeComment:"Customize the operation portion of the hash"}),generateWebhookSlug:S(b(),{typeComment:"Customize the webhook portion of the hash"}),setPageTitle:S(b(),{typeComment:"Customize the browser tab title for the section currently in view"}),redirect:S(b(),{typeComment:"To handle redirects, pass a function that receives the current path/hash and passes that to history.replaceState"}),withDefaultFonts:m({default:!0,typeComment:"Whether to include default fonts"}),defaultOpenFirstTag:m({default:!0,typeComment:"Whether to expand the first tag in the sidebar when no specific URL target is present"}),defaultOpenAllTags:m({default:!1,typeComment:"Whether to expand all tags by default. Warning: this can cause performance issues on big documents"}),expandAllModelSections:m({default:!1,typeComment:"Whether to expand all models by default. Warning: this can cause performance issues on big documents"}),expandAllResponses:m({default:!1,typeComment:"Whether to expand all responses by default. Warning: this can cause performance issues on big documents"}),expandAllSchemaProperties:m({default:!1,typeComment:"Whether to expand all nested schema properties by default. The Show/Hide Child Attributes toggle remains available so nested sections can still be collapsed manually. Warning: this can cause performance issues on big documents"}),tagsSorter:S(w([A("alpha"),b()]),{typeComment:"Function to sort tags"}),operationsSorter:S(w([A("alpha"),A("method"),b()]),{typeComment:"Function to sort operations"}),orderSchemaPropertiesBy:w([A("alpha"),A("preserve")],{typeComment:"Order the schema properties by"}),orderRequiredPropertiesFirst:m({default:!0,typeComment:"Sort the schema properties by required ones first"})})]),R="https://api.scalar.com/request-proxy",D="https://proxy.scalar.com",L=e=>{let a=d(I,e);return a.hideDownloadButton&&(console.warn("[DEPRECATED] You're using the deprecated 'hideDownloadButton' attribute. Use 'documentDownloadType: 'none'' instead."),a.documentDownloadType="none"),a.spec?.url&&(console.warn("[DEPRECATED] You're using the deprecated 'spec.url' attribute. Remove the spec prefix and move the 'url' attribute to the top level."),a.url=a.spec.url,delete a.spec),a.spec?.content&&(console.warn("[DEPRECATED] You're using the deprecated 'spec.content' attribute. Remove the spec prefix and move the 'content' attribute to the top level."),a.content=a.spec.content,delete a.spec),a.proxy&&(console.warn("[DEPRECATED] You're using the deprecated 'proxy' attribute. Use 'proxyUrl' instead."),a.proxyUrl||=a.proxy,delete a.proxy),a.fetch&&(console.warn("[DEPRECATED] You're using the deprecated 'fetch' attribute. Use 'customFetch' instead."),a.customFetch||=a.fetch,delete a.fetch),a.proxyUrl===R&&(console.warn(`[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${R}).`),console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${D}) instead.`),console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${D}). Read more: https://github.com/scalar/scalar`),a.proxyUrl=D),a.showToolbar&&"localhost"!==a.showToolbar&&(console.warn("[DEPRECATED] You're using the deprecated 'showToolbar' attribute. Use 'showDeveloperTools' instead."),a.showDeveloperTools=a.showToolbar,delete a.showToolbar),a.modelsSectionLabel??=t,a}}),ne=V(()=>{re()});function oe(e,t={},a){for(let r in e){let n=e[r],o=a?`${a}:${r}`:r;"object"==typeof n&&n?oe(n,t,o):"function"==typeof n&&(t[o]=n)}return t}ne();var ie=(()=>{if(console.createTask)return console.createTask;let e={run:e=>e()};return()=>e})();function se(e,t,a,r){for(let n=a;n<e.length;n+=1)try{let a=r?r.run(()=>e[n](...t)):e[n](...t);if(a instanceof Promise)return a.then(()=>se(e,t,n+1,r))}catch(e){return Promise.reject(e)}}function le(e,t,a){if(e.length>0)return se(e,t,0,ie(a))}function ce(e,t,a){if(e.length>0){let r=ie(a);return Promise.all(e.map(e=>r.run(()=>e(...t))))}}function ue(e,t){for(let a of[...e])a(t)}var de=class{_hooks;_before;_after;_deprecatedHooks;_deprecatedMessages;constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,a={}){if(!e||"function"!=typeof t)return()=>{};let r,n=e;for(;this._deprecatedHooks[e];)r=this._deprecatedHooks[e],e=r.to;if(r&&!a.allowDeprecated){let e=r.message;e||=`${n} hook has been deprecated`+(r.to?`, please use ${r.to}`:""),this._deprecatedMessages||=new Set,this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&=void this.removeHook(e,t)}}hookOnce(e,t){let a,r=(...e)=>("function"==typeof a&&a(),a=void 0,r=void 0,t(...e));return a=this.hook(e,r),a}removeHook(e,t){let a=this._hooks[e];if(a){let r=a.indexOf(t);-1!==r&&a.splice(r,1),0===a.length&&(this._hooks[e]=void 0)}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;let a=this._hooks[e]||[];this._hooks[e]=void 0;for(let t of a)this.hook(e,t)}deprecateHooks(e){for(let t in e)this.deprecateHook(t,e[t])}addHooks(e){let t=oe(e),a=Object.keys(t).map(e=>this.hook(e,t[e]));return()=>{for(let e of a)e();a.length=0}}removeHooks(e){let t=oe(e);for(let e in t)this.removeHook(e,t[e])}removeAllHooks(){this._hooks={}}callHook(e,...t){return this.callHookWith(le,e,t)}callHookParallel(e,...t){return this.callHookWith(ce,e,t)}callHookWith(e,t,a){let r=this._before||this._after?{name:t,args:a,context:{}}:void 0;this._before&&ue(this._before,r);let n=e(this._hooks[t]?[...this._hooks[t]]:[],a,t);return n instanceof Promise?n.finally(()=>{this._after&&r&&ue(this._after,r)}):(this._after&&r&&ue(this._after,r),n)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){let t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){let t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}};var pe=new Set(["link","style","script","noscript"]),he=new Set(["title","titleTemplate","script","style","noscript"]),me=new Set(["base","meta","link","style","script","noscript"]),fe=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),ge=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ve=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),be=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ye=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Oe=["name","property","http-equiv"],xe=new Set(["viewport","description","keywords","robots"]);function we(e){let t=e.split(":");return!!t.length&&ye.has(t[1])}function ke(e){let{props:t,tag:a}=e;if(ge.has(a))return a;if("link"===a&&"canonical"===t.rel)return"canonical";if("link"===a&&"alternate"===t.rel){let e=t.hreflang||t.type;if(e)return`alternate:${e}`}if(t.charset)return"charset";if("meta"===e.tag)for(let r of Oe)if(void 0!==t[r]){let n=t[r],o=n&&"string"==typeof n&&n.includes(":"),i=n&&xe.has(n);return`${a}:${n}${o||i||!e.key?"":`:key:${e.key}`}`}if(e.key)return`${a}:key:${e.key}`;if(t.id)return`${a}:id:${t.id}`;if("link"===a&&"alternate"===t.rel)return`alternate:${t.href||""}`;if(he.has(a)){let t=e.textContent||e.innerHTML;if(t)return`${a}:content:${t}`}}function Se(e){return e._h||e._d||e.textContent||e.innerHTML||`${e.tag}:${Object.entries(e.props).map(([e,t])=>`${e}:${String(t)}`).join(",")}`}function Ae(e,t,a){"function"==typeof e&&(!a||"titleTemplate"!==a&&("o"!==a[0]||"n"!==a[1]))&&(e=e());let r=t?t(a,e):e;if(Array.isArray(r))return r.map(e=>Ae(e,t));if(r?.constructor===Object){let e={};for(let a of Object.keys(r))e[a]=Ae(r[a],t,a);return e}return r}function _e(e,t){if(e.props=e.props||{},!t)return e;if("templateParams"===e.tag)return e.props=t,e;let a=me.has(e.tag)||"htmlAttrs"===e.tag||"bodyAttrs"===e.tag;return Object.entries(t).forEach(([r,n])=>{if("__proto__"===r||"constructor"===r||"prototype"===r)return;if(null===n)return void(e.props[r]=null);if("class"===r||"style"===r)return void(e.props[r]=function(e,t){let a="style"===e?new Map:new Set;function r(t){if(null==t||void 0===t)return;let r=String(t).trim();if(r)if("style"===e){let[e,...t]=r.split(":").map(e=>e?e.trim():"");e&&t.length&&a.set(e,t.join(":"))}else r.split(" ").filter(Boolean).forEach(e=>a.add(e))}return"string"==typeof t?"style"===e?t.split(";").forEach(r):r(t):Array.isArray(t)?t.forEach(e=>r(e)):t&&"object"==typeof t&&Object.entries(t).forEach(([t,n])=>{n&&"false"!==n&&("style"===e?a.set(String(t).trim(),String(n)):r(t))}),a}(r,n));if(ve.has(r)){if("textContent"!==r&&"innerHTML"!==r||"object"!=typeof n)e[r]=n;else{let a=t.type;if(t.type||(a="application/json"),!a?.endsWith("json")&&"speculationrules"!==a)return;t.type=a,e.props.type=a,e[r]=JSON.stringify(n)}return}let o=r.startsWith("data-"),i=a&&!o?r.toLowerCase():r,s=String(n),l="meta"===e.tag&&"content"===i;"true"===s||""===s?e.props[i]=!o&&!l||s:!n&&o&&"false"===s?e.props[i]="false":void 0!==n&&(e.props[i]=n)}),e}function Te(e,t){let a=_e({tag:e,props:{}},"object"==typeof t&&"function"!=typeof t?t:{["script"===e||"noscript"===e||"style"===e?"innerHTML":"textContent"]:t});return a.key&&pe.has(a.tag)&&(a.props["data-hid"]=a._h=a.key),"script"===a.tag&&"object"==typeof a.innerHTML&&(a.innerHTML=JSON.stringify(a.innerHTML),a.props.type=a.props.type||"application/json"),Array.isArray(a.props.content)?a.props.content.map(e=>({...a,props:{...a.props,content:e}})):a}function Ee(e,t){if(!e)return[];"function"==typeof e&&(e=e());let a=(e,a)=>{for(let r=0;r<t.length;r++)a=t[r](e,a);return a};e=a(void 0,e);let r=[];return e=Ae(e,a),Object.entries(e||{}).forEach(([e,t])=>{if(void 0!==t)for(let a of Array.isArray(t)?t:[t])r.push(Te(e,a))}),r.flat()}var Ce=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Pe={base:-10,title:10},Me={critical:-8,high:-1,low:2},$e={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Ne=/@import/,Ie=e=>""===e||!0===e;function Re(e,t){if("number"==typeof t.tagPriority)return t.tagPriority;let a=100,r=Me[t.tagPriority]||0,n=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:$e;if(t.tag in Pe)a=Pe[t.tag];else if("meta"===t.tag){let e="content-security-policy"===t.props["http-equiv"]?"content-security-policy":t.props.charset?"charset":"viewport"===t.props.name?"viewport":null;e&&(a=$e.meta[e])}else if("link"===t.tag&&t.props.rel)a=n.link[t.props.rel];else if("script"===t.tag){let e=String(t.props.type);Ie(t.props.async)?a=n.script.async:t.props.src&&!Ie(t.props.defer)&&!Ie(t.props.async)&&"module"!==e&&!e.endsWith("json")||t.innerHTML&&!e.endsWith("json")?a=n.script.sync:(Ie(t.props.defer)&&t.props.src&&!Ie(t.props.async)||"module"===e)&&(a=n.script.defer)}else"style"===t.tag&&(a=t.innerHTML&&Ne.test(t.innerHTML)?n.style.imported:n.style.sync);return(a||100)+r}function De(e,t){let a="function"==typeof t?t(e):t,r=a.key||String(e.plugins.size+1);e.plugins.get(r)||(e.plugins.set(r,a),e.hooks.addHooks(a.hooks||{}))}function Le(e={}){let t=new de;t.addHooks(e.hooks||{});let a=!e.document,r=new Map,n=new Map,o=new Set,i={_entryCount:1,plugins:n,dirty:!1,resolvedOptions:e,hooks:t,ssr:a,entries:r,headEntries:()=>[...r.values()],use:e=>De(i,e),push(e,n){let s={...n||{}};delete s.head;let l=s._index??i._entryCount++,c={_i:l,input:e,options:s},u={_poll(e=!1){i.dirty=!0,!e&&o.add(l),t.callHook("entries:updated",i)},dispose(){r.delete(l)&&i.invalidate()},patch(e){(!s.mode||"server"===s.mode&&a||"client"===s.mode&&!a)&&(c.input=e,r.set(l,c),u._poll())}};return u.patch(e),u},async resolveTags(){let a={tagMap:new Map,tags:[],entries:[...i.entries.values()]};for(await t.callHook("entries:resolve",a);o.size;){let a=o.values().next().value;o.delete(a);let n=r.get(a);if(n){let a={tags:Ee(n.input,e.propResolvers||[]).map(e=>Object.assign(e,n.options)),entry:n};await t.callHook("entries:normalize",a),n._tags=a.tags.map((e,t)=>(e._w=Re(i,e),e._p=(n._i<<10)+t,e._d=ke(e),e._d||(e._h=Se(e)),e))}}let n=!1;a.entries.flatMap(e=>(e._tags||[]).map(e=>({...e,props:{...e.props}}))).sort(Ce).reduce((e,t)=>{let a=t._d||t._h;if(!e.has(a))return e.set(a,t);let r=e.get(a);if("merge"===(t?.tagDuplicateStrategy||(be.has(t.tag)?"merge":null)||(t.key&&t.key===r.key?"merge":null))){let n={...r.props};Object.entries(t.props).forEach(([e,t])=>n[e]="style"===e?new Map([...r.props.style||new Map,...t]):"class"===e?new Set([...r.props.class||new Set,...t]):t),e.set(a,{...t,props:n})}else t._p>>10==r._p>>10&&"meta"===t.tag&&we(a)?(e.set(a,Object.assign([...Array.isArray(r)?r:[r],t],t)),n=!0):(t._w===r._w?t._p>r._p:t?._w<r?._w)&&e.set(a,t);return e},a.tagMap);let s=a.tagMap.get("title"),l=a.tagMap.get("titleTemplate");if(i._title=s?.textContent,l){let e=l?.textContent;if(i._titleTemplate=e,e){let t="function"==typeof e?e(s?.textContent):e;"string"==typeof t&&!i.plugins.has("template-params")&&(t=t.replace("%s",s?.textContent||"")),s?null===t?a.tagMap.delete("title"):a.tagMap.set("title",{...s,textContent:t}):(l.tag="title",l.textContent=t)}}a.tags=Array.from(a.tagMap.values()),n&&(a.tags=a.tags.flat().sort(Ce)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);let c=[];for(let e of a.tags){let{innerHTML:t,tag:a,props:r}=e;fe.has(a)&&(0===Object.keys(r).length&&!e.innerHTML&&!e.textContent||"meta"===a&&!r.content&&!r["http-equiv"]&&!r.charset||("script"===a&&t&&(String(r.type).endsWith("json")?e.innerHTML=("string"==typeof t?t:JSON.stringify(t)).replace(/</g,"\\u003C"):"string"==typeof t&&(e.innerHTML=t.replace(RegExp(`</${a}`,"g"),`<\\/${a}`)),e._d=ke(e)),c.push(e)))}return c},invalidate(){for(let e of r.values())o.add(e._i);i.dirty=!0,t.callHook("entries:updated",i)}};return(e?.plugins||[]).forEach(e=>De(i,e)),i.hooks.callHook("init",i),e.init?.forEach(e=>e&&i.push(e)),i}async function Be(e,t={}){let a=t.document||e.resolvedOptions.document;if(!a||!e.dirty)return;let r={shouldRender:!0,tags:[]};return await e.hooks.callHook("dom:beforeRender",r),r.shouldRender?(e._domUpdatePromise||=new Promise(async t=>{let r=new Map,n=new Promise(t=>{e.resolveTags().then(e=>{t(e.map(e=>{let t=r.get(e._d)||0,a={tag:e,id:(t?`${e._d}:${t}`:e._d)||e._h,shouldRender:!0};return e._d&&we(e._d)&&r.set(e._d,t+1),a}))})}),o=e._dom;if(!o){o={title:a.title,elMap:(new Map).set("htmlAttrs",a.documentElement).set("bodyAttrs",a.body)};for(let e of["body","head"]){let t=a[e]?.children;for(let e of t){let t=e.tagName.toLowerCase();if(!me.has(t))continue;let a=_e({tag:t,props:{}},{innerHTML:e.innerHTML,...e.getAttributeNames().reduce((t,a)=>(t[a]=e.getAttribute(a),t),{})||{}});if(a.key=e.getAttribute("data-hid")||void 0,a._d=ke(a)||Se(a),o.elMap.has(a._d)){let t=1,r=a._d;for(;o.elMap.has(r);)r=`${a._d}:${t++}`;o.elMap.set(r,e)}else o.elMap.set(a._d,e)}}}function i(e,t,a){let r=`${e}:${t}`;o.sideEffects[r]=a,delete o.pendingSideEffects[r]}function s({id:e,$el:t,tag:r}){let n=r.tag.endsWith("Attrs");o.elMap.set(e,t),n||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),i(e,"el",()=>{t?.remove(),o.elMap.delete(e)}));for(let o in r.props){if(!Object.prototype.hasOwnProperty.call(r.props,o))continue;let s=r.props[o];if(o.startsWith("on")&&"function"==typeof s){let e=t?.dataset;if(e&&e[`${o}fired`]){let e=o.slice(0,-5);s.call(t,new Event(e.substring(2)))}""!==t.getAttribute(`data-${o}`)&&(("bodyAttrs"===r.tag?a.defaultView:t).addEventListener(o.substring(2),s.bind(t)),t.setAttribute(`data-${o}`,""));continue}let l=`attr:${o}`;if("class"===o){if(!s)continue;for(let a of s)n&&i(e,`${l}:${a}`,()=>t.classList.remove(a)),!t.classList.contains(a)&&t.classList.add(a)}else if("style"===o){if(!s)continue;for(let[a,r]of s)i(e,`${l}:${a}`,()=>{t.style.removeProperty(a)}),t.style.setProperty(a,r)}else!1!==s&&null!==s&&(t.getAttribute(o)!==s&&t.setAttribute(o,!0===s?"":String(s)),n&&i(e,l,()=>t.removeAttribute(o)))}}o.pendingSideEffects={...o.sideEffects},o.sideEffects={};let l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0},u=await n;for(let e of u){let{tag:t,shouldRender:r,id:n}=e;if(r){if("title"===t.tag){a.title=t.textContent,i("title","",()=>a.title=o.title);continue}e.$el=e.$el||o.elMap.get(n),e.$el?s(e):me.has(t.tag)&&l.push(e)}}for(let e of l){let t=e.tag.tagPosition||"head";e.$el=a.createElement(e.tag.tag),s(e),c[t]=c[t]||a.createDocumentFragment(),c[t].appendChild(e.$el)}for(let t of u)await e.hooks.callHook("dom:renderTag",t,a,i);c.head&&a.head.appendChild(c.head),c.bodyOpen&&a.body.insertBefore(c.bodyOpen,a.body.firstChild),c.bodyClose&&a.body.appendChild(c.bodyClose);for(let e in o.pendingSideEffects)o.pendingSideEffects[e]();e._dom=o,await e.hooks.callHook("dom:rendered",{renders:u}),t()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1}),e._domUpdatePromise):void 0}function je(e,t){let a=0;return()=>{let r=++a;t(()=>{a===r&&e()})}}var Ue={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},ze={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},He={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${Ze(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>"seconds"===e?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>"boolean"==typeof t?Ze(e):`${Ze(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${Ze(e)} ${t}`}},charset:{}};function Ze(e){let t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),a=t.indexOf("-");return-1===a?t:Ue.META.has(t.slice(0,a))||Ue.OG.has(t.slice(0,a))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function Ve(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>"false"!==String(t)&&e))}function Qe(e){return Array.isArray(e)?e.map(Qe):e&&"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[Ze(e),Qe(t)])):e}function qe(e,t={}){let{entrySeparator:a="",keyValueSeparator:r="",wrapValue:n,resolve:o}=t;return Object.entries(e).map(([e,a])=>{if(o){let t=o({key:e,value:a});if(void 0!==t)return t}return`${e}${r}${"object"==typeof a?qe(a,t):"number"==typeof a?a.toString():"string"==typeof a&&n?`${n}${a.replace(new RegExp(n,"g"),`\\${n}`)}${n}`:a}`}).join(a)}function Fe(e,t){let a=Ve(t),r=Ze(e),n=We(r);return ye.has(r)?Ge(Object.fromEntries(Object.entries(a).map(([t,a])=>[`${e}${"url"===t?"":`${t[0].toUpperCase()}${t.slice(1)}`}`,a]))||{}).sort((e,t)=>(e[n]?.length||0)-(t[n]?.length||0)):[{[n]:r,...a}]}function We(e){if("http-equiv"===He[e]?.metaKey||Ue.HTTP_EQUIV.has(e))return"http-equiv";let t=Ze(e),a=t.indexOf(":");return-1===a?"name":Ue.OG.has(t.slice(0,a))?"property":"name"}function Xe(e,t){return"refresh"===t?`${e.seconds};url=${e.url}`:qe(Qe(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?t:void 0,...He[t]?.unpack})}function Ge(e){let t=[],a={};for(let[r,n]of Object.entries(e))if(Array.isArray(n)){if("themeColor"===r){n.forEach(e=>{"object"==typeof e&&e&&t.push({name:"theme-color",...e})});continue}for(let e of n)if("object"==typeof e&&e){let a=[],n=[];for(let[t,o]of Object.entries(e)){let e=Ge({[`${r}${"url"===t?"":`:${t}`}`]:o});("url"===t?a:n).push(...e)}t.push(...a,...n)}else t.push(..."string"==typeof e?Ge({[r]:e}):Fe(r,e))}else if("object"==typeof n&&n)if(Ue.MEDIA.has(r)){let e=r.startsWith("twitter")?"twitter":"og",a=r.replace(/^(og|twitter)/,"").toLowerCase(),o="twitter"===e?"name":"property";n.url&&t.push({[o]:`${e}:${a}`,content:n.url}),n.secureUrl&&t.push({[o]:`${e}:${a}:secure_url`,content:n.secureUrl});for(let[r,i]of Object.entries(n))"url"!==r&&"secureUrl"!==r&&t.push({[o]:`${e}:${a}:${r}`,content:i})}else ye.has(Ze(r))?t.push(...Fe(r,n)):a[r]=Ve(n);else a[r]=n;let r=Object.entries(a).map(([e,t])=>{if("charset"===e)return{charset:null===t?"_null":t};let a=We(e),r=function(e){return ze[e]||Ze(e)}(e),n=null===t?"_null":"object"==typeof t?Xe(t,e):"number"==typeof t?t.toString():t;return"http-equiv"===a?{"http-equiv":r,content:n}:{[a]:r,content:n}});return[...t,...r].map(e=>"content"in e&&"_null"===e.content?{...e,content:null}:e)}var Ye={key:"flatMeta",hooks:{"entries:normalize":e=>{let t=[];e.tags=e.tags.map(e=>"_flatMeta"===e.tag?(t.push(Ge(e.props).map(t=>({...e,tag:"meta",props:t}))),!1):e).filter(Boolean).concat(...t)}}};function Ke(e){let t=Object.create(null);for(let a of e.split(","))t[a]=1;return e=>e in t}function Je(e){if(vt(e)){let t={};for(let a=0;a<e.length;a++){let r=e[a],n=wt(r)?et(r):Je(r);if(n)for(let e in n)t[e]=n[e]}return t}if(wt(e)||St(e))return e}function et(e){let t={};return e.replace(Wt,"").split(qt).forEach(e=>{if(e){let a=e.split(Ft);a.length>1&&(t[a[0].trim()]=a[1].trim())}}),t}function tt(e){let t="";if(wt(e))t=e;else if(vt(e))for(let a=0;a<e.length;a++){let r=tt(e[a]);r&&(t+=r+" ")}else if(St(e))for(let a in e)e[a]&&(t+=a+" ");return t.trim()}function at(e){if(!e)return null;let{class:t,style:a}=e;return t&&!wt(t)&&(e.class=tt(t)),a&&(e.style=Je(a)),e}function rt(e){return!!e||""===e}function nt(e,t){if(e===t)return!0;let a=Ot(e),r=Ot(t);if(a||r)return!(!a||!r)&&e.getTime()===t.getTime();if(a=kt(e),r=kt(t),a||r)return e===t;if(a=vt(e),r=vt(t),a||r)return!(!a||!r)&&function(e,t){if(e.length!==t.length)return!1;let a=!0;for(let r=0;a&&r<e.length;r++)a=nt(e[r],t[r]);return a}(e,t);if(a=St(e),r=St(t),a||r){if(!a||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let a in e){let r=e.hasOwnProperty(a),n=t.hasOwnProperty(a);if(r&&!n||!r&&n||!nt(e[a],t[a]))return!1}}return String(e)===String(t)}function ot(e,t){return e.findIndex(e=>nt(e,t))}function it(e){return null==e?"initial":"string"==typeof e?""===e?" ":e:String(e)}var st,lt,ct,ut,dt,pt,ht,mt,ft,gt,vt,bt,yt,Ot,xt,wt,kt,St,At,_t,Tt,Et,Ct,Pt,Mt,$t,Nt,It,Rt,Dt,Lt,Bt,jt,Ut,zt,Ht,Zt,Vt,Qt,qt,Ft,Wt,Xt,Gt,Yt,Kt,Jt,ea,ta=V(()=>{st={},lt=[],ct=()=>{},ut=()=>!1,dt=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),pt=e=>e.startsWith("onUpdate:"),ht=Object.assign,mt=(e,t)=>{let a=e.indexOf(t);a>-1&&e.splice(a,1)},ft=Object.prototype.hasOwnProperty,gt=(e,t)=>ft.call(e,t),vt=Array.isArray,bt=e=>"[object Map]"===Tt(e),yt=e=>"[object Set]"===Tt(e),Ot=e=>"[object Date]"===Tt(e),xt=e=>"function"==typeof e,wt=e=>"string"==typeof e,kt=e=>"symbol"==typeof e,St=e=>"object"==typeof e&&!!e,At=e=>(St(e)||xt(e))&&xt(e.then)&&xt(e.catch),_t=Object.prototype.toString,Tt=e=>_t.call(e),Et=e=>Tt(e).slice(8,-1),Ct=e=>"[object Object]"===Tt(e),Pt=e=>wt(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Mt=Ke(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$t=e=>{let t=Object.create(null);return a=>t[a]||(t[a]=e(a))},Nt=/-\w/g,It=$t(e=>e.replace(Nt,e=>e.slice(1).toUpperCase())),Rt=/\B([A-Z])/g,Dt=$t(e=>e.replace(Rt,"-$1").toLowerCase()),Lt=$t(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bt=$t(e=>e?`on${Lt(e)}`:""),jt=(e,t)=>!Object.is(e,t),Ut=(e,...t)=>{for(let a=0;a<e.length;a++)e[a](...t)},zt=(e,t,a,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:a})},Ht=e=>{let t=parseFloat(e);return isNaN(t)?e:t},Zt=e=>{let t=wt(e)?Number(e):NaN;return isNaN(t)?e:t},Qt=()=>Vt||=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{},qt=/;(?![^(]*\))/g,Ft=/:([^]+)/,Wt=/\/\*[^]*?\*\//g,Gt=Ke(Xt="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly"),Ke(Xt+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Yt=e=>!(!e||!0!==e.__v_isRef),Kt=e=>wt(e)?e:null==e?"":vt(e)||St(e)&&(e.toString===_t||!xt(e.toString))?Yt(e)?Kt(e.value):JSON.stringify(e,Jt,2):String(e),Jt=(e,t)=>Yt(t)?Jt(e,t.value):bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,a],r)=>(e[ea(t,r)+" =>"]=a,e),{})}:yt(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>ea(e))}:kt(t)?ea(t):!St(t)||vt(t)||Ct(t)?t:String(t),ea=(e,t="")=>kt(e)?`Symbol(${e.description??t})`:e});function aa(){return tr}function ra(e,t=!1){tr&&tr.cleanups.push(e)}function na(e,t=!1){if(e.flags|=8,t)return e.next=lr,void(lr=e);e.next=sr,sr=e}function oa(){ir++}function ia(){if(--ir>0)return;if(lr){let e=lr;for(lr=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;sr;){let t=sr;for(sr=void 0;t;){let a=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||=t}t=a}}if(e)throw e}function sa(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function la(e){let t,a=e.depsTail,r=a;for(;r;){let e=r.prevDep;-1===r.version?(r===a&&(a=e),da(r),pa(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=a}function ca(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ua(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ua(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===dr)||(e.globalVersion=dr,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!ca(e))))return;e.flags|=2;let t=e.dep,a=rr,r=cr;rr=e,cr=!0;try{sa(e);let a=e.fn(e._value);(0===t.version||jt(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(e){throw t.version++,e}finally{rr=a,cr=r,la(e),e.flags&=-3}}function da(e,t=!1){let{dep:a,prevSub:r,nextSub:n}=e;if(r&&(r.nextSub=n,e.prevSub=void 0),n&&(n.prevSub=r,e.nextSub=void 0),a.subs===e&&(a.subs=r,!r&&a.computed)){a.computed.flags&=-5;for(let e=a.computed.deps;e;e=e.nextDep)da(e,!0)}!t&&! --a.sc&&a.map&&a.map.delete(a.key)}function pa(e){let{prevDep:t,nextDep:a}=e;t&&(t.nextDep=a,e.prevDep=void 0),a&&(a.prevDep=t,e.nextDep=void 0)}function ha(){ur.push(cr),cr=!1}function ma(){let e=ur.pop();cr=void 0===e||e}function fa(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=rr;rr=void 0;try{t()}finally{rr=e}}}function ga(e){if(e.dep.sc++,4&e.sub.flags){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)ga(e)}let a=e.dep.subs;a!==e&&(e.prevSub=a,a&&(a.nextSub=e)),e.dep.subs=e}}function va(e,t,a){if(cr&&rr){let t=mr.get(e);t||mr.set(e,t=new Map);let r=t.get(a);r||(t.set(a,r=new hr),r.map=t,r.key=a),r.track()}}function ba(e,t,a,r,n,o){let i=mr.get(e);if(!i)return void dr++;let s=e=>{e&&e.trigger()};if(oa(),"clear"===t)i.forEach(s);else{let n=vt(e),o=n&&Pt(a);if(n&&"length"===a){let e=Number(r);i.forEach((t,a)=>{("length"===a||a===vr||!kt(a)&&a>=e)&&s(t)})}else switch((void 0!==a||i.has(void 0))&&s(i.get(a)),o&&s(i.get(vr)),t){case"add":n?o&&s(i.get("length")):(s(i.get(fr)),bt(e)&&s(i.get(gr)));break;case"delete":n||(s(i.get(fr)),bt(e)&&s(i.get(gr)));break;case"set":bt(e)&&s(i.get(fr))}}ia()}function ya(e){let t=Ua(e);return t===e?t:(va(t,0,vr),Ba(e)?t:t.map(jr))}function Oa(e){return va(e=Ua(e),0,vr),e}function xa(e,t){return La(e)?Da(e)?Ur(jr(t)):Ur(t):jr(t)}function wa(e,t,a){let r=Oa(e),n=r[t]();return r!==e&&!Ba(e)&&(n._next=n.next,n.next=()=>{let e=n._next();return e.done||(e.value=a(e.value)),e}),n}function ka(e,t,a,r,n,o){let i=Oa(e),s=i!==e&&!Ba(e),l=i[t];if(l!==yr[t]){let t=l.apply(e,o);return s?jr(t):t}let c=a;i!==e&&(s?c=function(t,r){return a.call(this,xa(e,t),r,e)}:a.length>2&&(c=function(t,r){return a.call(this,t,r,e)}));let u=l.call(i,c,r);return s&&n?n(u):u}function Sa(e,t,a,r){let n=Oa(e),o=n!==e&&!Ba(e),i=a,s=!1;n!==e&&(o?(s=0===r.length,i=function(t,r,n){return s&&(s=!1,t=xa(e,t)),a.call(this,t,xa(e,r),n,e)}):a.length>3&&(i=function(t,r,n){return a.call(this,t,r,n,e)}));let l=n[t](i,...r);return s?xa(e,l):l}function Aa(e,t,a){let r=Ua(e);va(r,0,vr);let n=r[t](...a);return-1!==n&&!1!==n||!ja(a[0])?n:(a[0]=Ua(a[0]),r[t](...a))}function _a(e,t,a=[]){ha(),oa();let r=Ua(e)[t].apply(e,a);return ia(),ma(),r}function Ta(e){kt(e)||(e=String(e));let t=Ua(this);return va(t,0,e),t.hasOwnProperty(e)}function Ea(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Ca(e,t){let a={get(a){let r=this.__v_raw,n=Ua(r),o=Ua(a);e||(jt(a,o)&&va(n,0,a),va(n,0,o));let{has:i}=Pr(n),s=t?Cr:e?Ur:jr;return i.call(n,a)?s(r.get(a)):i.call(n,o)?s(r.get(o)):void(r!==n&&r.get(a))},get size(){let t=this.__v_raw;return!e&&va(Ua(t),0,fr),t.size},has(t){let a=this.__v_raw,r=Ua(a),n=Ua(t);return e||(jt(t,n)&&va(r,0,t),va(r,0,n)),t===n?a.has(t):a.has(t)||a.has(n)},forEach(a,r){let n=this,o=n.__v_raw,i=Ua(o),s=t?Cr:e?Ur:jr;return!e&&va(i,0,fr),o.forEach((e,t)=>a.call(r,s(e),s(t),n))}};return ht(a,e?{add:Ea("add"),set:Ea("set"),delete:Ea("delete"),clear:Ea("clear")}:{add(e){let a=Ua(this),r=Pr(a),n=Ua(e),o=t||Ba(e)||La(e)?e:n;return r.has.call(a,o)||jt(e,o)&&r.has.call(a,e)||jt(n,o)&&r.has.call(a,n)||(a.add(o),ba(a,"add",o,o)),this},set(e,a){!t&&!Ba(a)&&!La(a)&&(a=Ua(a));let r=Ua(this),{has:n,get:o}=Pr(r),i=n.call(r,e);i||=(e=Ua(e),n.call(r,e));let s=o.call(r,e);return r.set(e,a),i?jt(a,s)&&ba(r,"set",e,a):ba(r,"add",e,a),this},delete(e){let t=Ua(this),{has:a,get:r}=Pr(t),n=a.call(t,e);n||=(e=Ua(e),a.call(t,e));r&&r.call(t,e);let o=t.delete(e);return n&&ba(t,"delete",e,void 0),o},clear(){let e=Ua(this),t=0!==e.size,a=e.clear();return t&&ba(e,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(r=>{a[r]=function(e,t,a){return function(...r){let n=this.__v_raw,o=Ua(n),i=bt(o),s="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,c=n[e](...r),u=a?Cr:t?Ur:jr;return!t&&va(o,0,l?gr:fr),ht(Object.create(c),{next(){let{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}}})}}(r,e,t)}),a}function Pa(e,t){let a=Ca(e,t);return(t,r,n)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(gt(a,r)&&r in t?a:t,r,n)}function Ma(e){return La(e)?e:Ra(e,!1,Ar,Mr,Rr)}function $a(e){return Ra(e,!1,Tr,$r,Dr)}function Na(e){return Ra(e,!0,_r,Nr,Lr)}function Ia(e){return Ra(e,!0,Er,Ir,Br)}function Ra(e,t,a,r,n){if(!St(e)||e.__v_raw&&(!t||!e.__v_isReactive))return e;let o=function(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Et(e))}(e);if(0===o)return e;let i=n.get(e);if(i)return i;let s=new Proxy(e,2===o?r:a);return n.set(e,s),s}function Da(e){return La(e)?Da(e.__v_raw):!(!e||!e.__v_isReactive)}function La(e){return!(!e||!e.__v_isReadonly)}function Ba(e){return!(!e||!e.__v_isShallow)}function ja(e){return!!e&&!!e.__v_raw}function Ua(e){let t=e&&e.__v_raw;return t?Ua(t):e}function za(e){return!gt(e,"__v_skip")&&Object.isExtensible(e)&&zt(e,"__v_skip",!0),e}function Ha(e){return!!e&&!0===e.__v_isRef}function Za(e){return Qa(e,!1)}function Va(e){return Qa(e,!0)}function Qa(e,t){return Ha(e)?e:new zr(e,t)}function qa(e){e.dep&&e.dep.trigger()}function Fa(e){return Ha(e)?e.value:e}function Wa(e){return xt(e)?e():Fa(e)}function Xa(e){return Da(e)?e:new Proxy(e,Hr)}function Ga(e){return new Zr(e)}function Ya(e,t,a){return Ha(e)?e:xt(e)?new Qr(e):St(e)&&arguments.length>1?Ka(e,t,a):Za(e)}function Ka(e,t,a){return new Vr(e,t,a)}function Ja(e,t,a=st){let r,n,o,i,{immediate:s,deep:l,once:c,scheduler:u,augmentJob:d,call:p}=a,h=e=>l?e:Ba(e)||!1===l||0===l?er(e,1):er(e),m=!1,f=!1;if(Ha(e)?(n=()=>e.value,m=Ba(e)):Da(e)?(n=()=>h(e),m=!0):vt(e)?(f=!0,m=e.some(e=>Da(e)||Ba(e)),n=()=>e.map(e=>Ha(e)?e.value:Da(e)?h(e):xt(e)?p?p(e,2):e():void 0)):n=xt(e)?t?p?()=>p(e,2):e:()=>{if(o){ha();try{o()}finally{ma()}}let t=Xr;Xr=r;try{return p?p(e,3,[i]):e(i)}finally{Xr=t}}:ct,t&&l){let e=n,t=!0===l?1/0:l;n=()=>er(e(),t)}let g=aa(),v=()=>{r.stop(),g&&g.active&&mt(g.effects,r)};if(c&&t){let e=t;t=(...t)=>{e(...t),v()}}let b=f?Array(e.length).fill(Fr):Fr,y=e=>{if(1&r.flags&&(r.dirty||e))if(t){let e=r.run();if(l||m||(f?e.some((e,t)=>jt(e,b[t])):jt(e,b))){o&&o();let a=Xr;Xr=r;try{let a=[e,b===Fr?void 0:f&&b[0]===Fr?[]:b,i];b=e,p?p(t,3,a):t(...a)}finally{Xr=a}}}else r.run()};return d&&d(y),r=new or(n),r.scheduler=u?()=>u(y,!1):y,i=e=>function(e,t=!1,a=Xr){if(a){let t=Wr.get(a);t||Wr.set(a,t=[]),t.push(e)}}(e,!1,r),o=r.onStop=()=>{let e=Wr.get(r);if(e){if(p)p(e,4);else for(let t of e)t();Wr.delete(r)}},t?s?y(!0):b=r.run():u?u(y.bind(null,!0),!0):r.run(),v.pause=r.pause.bind(r),v.resume=r.resume.bind(r),v.stop=v,v}function er(e,t=1/0,a){if(t<=0||!St(e)||e.__v_skip||(a||=new Map,(a.get(e)||0)>=t))return e;if(a.set(e,t),t--,Ha(e))er(e.value,t,a);else if(vt(e))for(let r=0;r<e.length;r++)er(e[r],t,a);else if(yt(e)||bt(e))e.forEach(e=>{er(e,t,a)});else if(Ct(e)){for(let r in e)er(e[r],t,a);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&er(e[r],t,a)}return e}var tr,ar,rr,nr,or,ir,sr,lr,cr,ur,dr,pr,hr,mr,fr,gr,vr,br,yr,Or,xr,wr,kr,Sr,Ar,_r,Tr,Er,Cr,Pr,Mr,$r,Nr,Ir,Rr,Dr,Lr,Br,jr,Ur,zr,Hr,Zr,Vr,Qr,qr,Fr,Wr,Xr,Gr=V(()=>{ta(),ar=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=tr,!e&&tr&&(this.index=(tr.scopes||=[]).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=tr;try{return tr=this,e()}finally{tr=t}}}on(){1===++this._on&&(this.prevScope=tr,tr=this)}off(){this._on>0&&0===--this._on&&(tr=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){let t,a;for(this._active=!1,t=0,a=this.effects.length;t<a;t++)this.effects[t].stop();for(this.effects.length=0,t=0,a=this.cleanups.length;t<a;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,a=this.scopes.length;t<a;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}},nr=new WeakSet,or=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,tr&&tr.active&&tr.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,nr.has(this)&&(nr.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||na(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,fa(this),sa(this);let e=rr,t=cr;rr=this,cr=!0;try{return this.fn()}finally{la(this),rr=e,cr=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)da(e);this.deps=this.depsTail=void 0,fa(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?nr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ca(this)&&this.run()}get dirty(){return ca(this)}},ir=0,cr=!0,ur=[],dr=0,pr=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},hr=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!rr||!cr||rr===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==rr)t=this.activeLink=new pr(rr,this),rr.deps?(t.prevDep=rr.depsTail,rr.depsTail.nextDep=t,rr.depsTail=t):rr.deps=rr.depsTail=t,ga(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=rr.depsTail,t.nextDep=void 0,rr.depsTail.nextDep=t,rr.depsTail=t,rr.deps===t&&(rr.deps=e)}return t}trigger(e){this.version++,dr++,this.notify(e)}notify(e){oa();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{ia()}}},mr=new WeakMap,fr=Symbol(""),gr=Symbol(""),vr=Symbol(""),br={__proto__:null,[Symbol.iterator](){return wa(this,Symbol.iterator,e=>xa(this,e))},concat(...e){return ya(this).concat(...e.map(e=>vt(e)?ya(e):e))},entries(){return wa(this,"entries",e=>(e[1]=xa(this,e[1]),e))},every(e,t){return ka(this,"every",e,t,void 0,arguments)},filter(e,t){return ka(this,"filter",e,t,e=>e.map(e=>xa(this,e)),arguments)},find(e,t){return ka(this,"find",e,t,e=>xa(this,e),arguments)},findIndex(e,t){return ka(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ka(this,"findLast",e,t,e=>xa(this,e),arguments)},findLastIndex(e,t){return ka(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ka(this,"forEach",e,t,void 0,arguments)},includes(...e){return Aa(this,"includes",e)},indexOf(...e){return Aa(this,"indexOf",e)},join(e){return ya(this).join(e)},lastIndexOf(...e){return Aa(this,"lastIndexOf",e)},map(e,t){return ka(this,"map",e,t,void 0,arguments)},pop(){return _a(this,"pop")},push(...e){return _a(this,"push",e)},reduce(e,...t){return Sa(this,"reduce",e,t)},reduceRight(e,...t){return Sa(this,"reduceRight",e,t)},shift(){return _a(this,"shift")},some(e,t){return ka(this,"some",e,t,void 0,arguments)},splice(...e){return _a(this,"splice",e)},toReversed(){return ya(this).toReversed()},toSorted(e){return ya(this).toSorted(e)},toSpliced(...e){return ya(this).toSpliced(...e)},unshift(...e){return _a(this,"unshift",e)},values(){return wa(this,"values",e=>xa(this,e))}},yr=Array.prototype,Or=Ke("__proto__,__v_isRef,__isVue"),xr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(kt)),wr=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,a){if("__v_skip"===t)return e.__v_skip;let r=this._isReadonly,n=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return n;if("__v_raw"===t)return a===(r?n?Br:Lr:n?Dr:Rr).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(a)?e:void 0;let o=vt(e);if(!r){let e;if(o&&(e=br[t]))return e;if("hasOwnProperty"===t)return Ta}let i=Reflect.get(e,t,Ha(e)?e:a);if((kt(t)?xr.has(t):Or(t))||(r||va(e,0,t),n))return i;if(Ha(i)){let e=o&&Pt(t)?i:i.value;return r&&St(e)?Na(e):e}return St(i)?r?Na(i):Ma(i):i}},kr=class extends wr{constructor(e=!1){super(!1,e)}set(e,t,a,r){let n=e[t],o=vt(e)&&Pt(t);if(!this._isShallow){let e=La(n);if(!Ba(a)&&!La(a)&&(n=Ua(n),a=Ua(a)),!o&&Ha(n)&&!Ha(a))return e||(n.value=a),!0}let i=o?Number(t)<e.length:gt(e,t),s=Reflect.set(e,t,a,Ha(e)?e:r);return e===Ua(r)&&(i?jt(a,n)&&ba(e,"set",t,a):ba(e,"add",t,a)),s}deleteProperty(e,t){let a=gt(e,t),r=(e[t],Reflect.deleteProperty(e,t));return r&&a&&ba(e,"delete",t,void 0),r}has(e,t){let a=Reflect.has(e,t);return(!kt(t)||!xr.has(t))&&va(e,0,t),a}ownKeys(e){return va(e,0,vt(e)?"length":fr),Reflect.ownKeys(e)}},Sr=class extends wr{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Ar=new kr,_r=new Sr,Tr=new kr(!0),Er=new Sr(!0),Cr=e=>e,Pr=e=>Reflect.getPrototypeOf(e),Mr={get:Pa(!1,!1)},$r={get:Pa(!1,!0)},Nr={get:Pa(!0,!1)},Ir={get:Pa(!0,!0)},Rr=new WeakMap,Dr=new WeakMap,Lr=new WeakMap,Br=new WeakMap,jr=e=>St(e)?Ma(e):e,Ur=e=>St(e)?Na(e):e,zr=class{constructor(e,t){this.dep=new hr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:Ua(e),this._value=t?e:jr(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,a=this.__v_isShallow||Ba(e)||La(e);e=a?e:Ua(e),jt(e,t)&&(this._rawValue=e,this._value=a?e:jr(e),this.dep.trigger())}},Hr={get:(e,t,a)=>"__v_raw"===t?e:Fa(Reflect.get(e,t,a)),set:(e,t,a,r)=>{let n=e[t];return Ha(n)&&!Ha(a)?(n.value=a,!0):Reflect.set(e,t,a,r)}},Zr=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new hr,{get:a,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=a,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}},Vr=class{constructor(e,t,a){this._object=e,this._key=t,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0,this._raw=Ua(e);let r=!0,n=e;if(!vt(e)||!Pt(String(t)))do{r=!ja(n)||Ba(n)}while(r&&(n=n.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=Fa(e)),this._value=void 0===e?this._defaultValue:e}set value(e){if(this._shallow&&Ha(this._raw[this._key])){let t=this._object[this._key];if(Ha(t))return void(t.value=e)}this._object[this._key]=e}get dep(){return function(e,t){let a=mr.get(e);return a&&a.get(t)}(this._raw,this._key)}},Qr=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}},qr=class{constructor(e,t,a){this.fn=e,this.setter=t,this._value=void 0,this.dep=new hr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=dr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=a}notify(){if(this.flags|=16,!(8&this.flags)&&rr!==this)return na(this,!0),!0}get value(){let e=this.dep.track();return ua(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}},Fr={},Wr=new WeakMap,Xr=void 0});function Yr(e,t,a,r){try{return r?e(...r):e()}catch(e){Jr(e,t,a)}}function Kr(e,t,a,r){if(xt(e)){let n=Yr(e,t,a,r);return n&&At(n)&&n.catch(e=>{Jr(e,t,a)}),n}if(vt(e)){let n=[];for(let o=0;o<e.length;o++)n.push(Kr(e[o],t,a,r));return n}}function Jr(e,t,a,r=!0){t&&t.vnode;let{errorHandler:n,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||st;if(t){let r=t.parent,o=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${a}`;for(;r;){let t=r.ec;if(t)for(let a=0;a<t.length;a++)if(!1===t[a](e,o,i))return;r=r.parent}if(n)return ha(),Yr(n,null,10,[e,o,i]),void ma()}!function(e,t,a,r=!0,n=!1){if(n)throw e;console.error(e)}(e,0,0,r,o)}function en(e){let t=Oi||yi;return e?t.then(this?e.bind(this):e):t}function tn(e){if(!(1&e.flags)){let t=xi(e),a=mi[mi.length-1];!a||!(2&e.flags)&&t>=xi(a)?mi.push(e):mi.splice(function(e){let t=fi+1,a=mi.length;for(;t<a;){let r=t+a>>>1,n=mi[r],o=xi(n);o<e||o===e&&2&n.flags?t=r+1:a=r}return t}(t),0,e),e.flags|=1,an()}}function an(){Oi||=yi.then(sn)}function rn(e){vt(e)?gi.push(...e):vi&&-1===e.id?vi.splice(bi+1,0,e):1&e.flags||(gi.push(e),e.flags|=1),an()}function nn(e,t,a=fi+1){for(;a<mi.length;a++){let t=mi[a];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;mi.splice(a,1),a--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function on(e){if(gi.length){let e=[...new Set(gi)].sort((e,t)=>xi(e)-xi(t));if(gi.length=0,vi)return void vi.push(...e);for(vi=e,bi=0;bi<vi.length;bi++){let e=vi[bi];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}vi=null,bi=0}}function sn(e){try{for(fi=0;fi<mi.length;fi++){let e=mi[fi];e&&!(8&e.flags)&&(4&e.flags&&(e.flags&=-2),Yr(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;fi<mi.length;fi++){let e=mi[fi];e&&(e.flags&=-2)}fi=-1,mi.length=0,on(),Oi=null,(mi.length||gi.length)&&sn(e)}}function ln(e){let t=wi;return wi=e,ki=e&&e.type.__scopeId||null,t}function cn(e,t=wi,a){if(!t||e._n)return e;let r=(...a)=>{r._d&&Vo(-1);let n,o=ln(t);try{n=e(...a)}finally{ln(o),r._d&&Vo(1)}return n};return r._n=!0,r._c=!0,r._d=!0,r}function un(e,t){if(null===wi)return e;let a=pi(wi),r=e.dirs||=[];for(let e=0;e<t.length;e++){let[n,o,i,s=st]=t[e];n&&(xt(n)&&(n={mounted:n,updated:n}),n.deep&&er(o),r.push({dir:n,instance:a,value:o,oldValue:void 0,arg:i,modifiers:s}))}return e}function dn(e,t,a,r){let n=e.dirs,o=t&&t.dirs;for(let i=0;i<n.length;i++){let s=n[i];o&&(s.oldValue=o[i].value);let l=s.dir[r];l&&(ha(),Kr(l,a,8,[e.el,s,e,t]),ma())}}function pn(e,t){if(Xs){let a=Xs.provides,r=Xs.parent&&Xs.parent.provides;r===a&&(a=Xs.provides=Object.create(r)),a[e]=t}}function hn(e,t,a=!1){let r=Gs();if(r||bs){let n=bs?bs._context.provides:r?null==r.parent||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(n&&e in n)return n[e];if(arguments.length>1)return a&&xt(t)?t.call(r&&r.proxy):t}}function mn(e,t){return gn(e,null,t)}function fn(e,t,a){return gn(e,t,a)}function gn(e,t,a=st){let r,{immediate:n,deep:o,flush:i,once:s}=a,l=ht({},a),c=t&&n||!t&&"post"!==i;if(tl)if("sync"===i){let e=Ai();r=e.__watcherHandles||=[]}else if(!c){let e=()=>{};return e.stop=ct,e.resume=ct,e.pause=ct,e}let u=Xs;l.call=(e,t,a)=>Kr(e,u,t,a);let d=!1;"post"===i?l.scheduler=e=>{Rs(e,u&&u.suspense)}:"sync"!==i&&(d=!0,l.scheduler=(e,t)=>{t?e():tn(e)}),l.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};let p=Ja(e,t,l);return tl&&(r?r.push(p):c&&p()),p}function vn(e,t,a){let r,n=this.proxy,o=wt(e)?e.includes(".")?bn(n,e):()=>n[e]:e.bind(n,n);xt(t)?r=t:(r=t.handler,a=t);let i=Js(this),s=gn(o,r.bind(n),a);return i(),s}function bn(e,t){let a=t.split(".");return()=>{let t=e;for(let e=0;e<a.length&&t;e++)t=t[a[e]];return t}}function yn(e,t,a,{o:{insert:r},m:n},o=2){0===o&&r(e.targetAnchor,t,a);let{el:i,anchor:s,shapeFlag:l,children:c,props:u}=e,d=2===o;if(d&&r(i,t,a),(!d||Ei(u))&&16&l)for(let e=0;e<c.length;e++)n(c[e],t,a,2);d&&r(s,t,a)}function On(e,t,a,r,n,o,{o:{nextSibling:i,parentNode:s,querySelector:l,insert:c,createText:u}},d){function p(e,a){let r=a;for(;r;){if(r&&8===r.nodeType)if("teleport start anchor"===r.data)t.targetStart=r;else if("teleport anchor"===r.data){t.targetAnchor=r,e._lpa=t.targetAnchor&&i(t.targetAnchor);break}r=i(r)}}function h(e,t){t.anchor=d(i(e),t,s(e),a,r,n,o)}let m=t.target=$i(t.props,l),f=Ei(t.props);if(m){let l=m._lpa||m.firstChild;16&t.shapeFlag&&(f?(h(e,t),p(m,l),t.targetAnchor||wn(m,t,u,c,s(e)===m?e:null)):(t.anchor=i(e),p(m,l),t.targetAnchor||wn(m,t,u,c),d(l&&i(l),t,m,a,r,n,o))),xn(t,f)}else f&&16&t.shapeFlag&&(h(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}function xn(e,t){let a=e.ctx;if(a&&a.ut){let r,n;for(t?(r=e.el,n=e.anchor):(r=e.targetStart,n=e.targetAnchor);r&&r!==n;)1===r.nodeType&&r.setAttribute("data-v-owner",a.uid),r=r.nextSibling;a.ut()}}function wn(e,t,a,r,n=null){let o=t.targetStart=a(""),i=t.targetAnchor=a("");return o[_i]=i,e&&(r(o,e,n),r(i,e,n)),i}function kn(e){let t=e[0];if(e.length>1)for(let a of e)if(a.type!==js){t=a;break}return t}function Sn(e,t){let{leavingVNodes:a}=e,r=a.get(t.type);return r||(r=Object.create(null),a.set(t.type,r)),r}function An(e,t,a,r,n){let{appear:o,mode:i,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:m,onLeaveCancelled:f,onBeforeAppear:g,onAppear:v,onAfterAppear:b,onAppearCancelled:y}=t,O=String(e.key),x=Sn(a,e),w=(e,t)=>{e&&Kr(e,r,9,t)},k=(e,t)=>{let a=t[1];w(e,t),vt(e)?e.every(e=>e.length<=1)&&a():e.length<=1&&a()},S={mode:i,persisted:s,beforeEnter(t){let r=l;if(!a.isMounted){if(!o)return;r=g||l}t[Ri]&&t[Ri](!0);let n=x[O];n&&Xo(e,n)&&n.el[Ri]&&n.el[Ri](),w(r,[t])},enter(t){if(x[O]===e)return;let r=c,n=u,i=d;if(!a.isMounted){if(!o)return;r=v||c,n=b||u,i=y||d}let s=!1;t[Di]=e=>{s||(s=!0,w(e?i:n,[t]),S.delayedLeave&&S.delayedLeave(),t[Di]=void 0)};let l=t[Di].bind(null,!1);r?k(r,[t,l]):l()},leave(t,r){let n=String(e.key);if(t[Di]&&t[Di](!0),a.isUnmounting)return r();w(p,[t]);let o=!1;t[Ri]=a=>{o||(o=!0,r(),w(a?f:m,[t]),t[Ri]=void 0,x[n]===e&&delete x[n])};let i=t[Ri].bind(null,!1);x[n]=e,h?k(h,[t,i]):i()},clone(e){let o=An(e,t,a,r,n);return n&&n(o),o}};return S}function _n(e){if(Ki(e))return(e=Jo(e)).children=null,e}function Tn(e){if(!Ki(e))return Ti(e.type)&&e.children?kn(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:a}=e;if(a){if(16&t)return a[0];if(32&t&&xt(a.default))return a.default()}}function En(e,t){6&e.shapeFlag&&e.component?(e.transition=t,En(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Cn(e,t=!1,a){let r=[],n=0;for(let o=0;o<e.length;o++){let i=e[o],s=null==a?i.key:String(a)+String(null==i.key?o:i.key);i.type===Ls?(128&i.patchFlag&&n++,r=r.concat(Cn(i.children,t,s))):(t||i.type!==js)&&r.push(null==s?i:Jo(i,{key:s}))}if(n>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function Pn(e,t){return xt(e)?ht({name:e.name},t,{setup:e}):e}function Mn(){let e=Gs();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function $n(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Nn(e){let t=Gs(),a=Va(null);if(t){let r=t.refs===st?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>a.value,set:e=>a.value=e})}return a}function In(e,t){let a;return!(!(a=Object.getOwnPropertyDescriptor(e,t))||a.configurable)}function Rn(e,t,a,r,n=!1){if(vt(e))return void e.forEach((e,o)=>Rn(e,t&&(vt(t)?t[o]:t),a,r,n));if(Yi(r)&&!n)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&Rn(e,t,a,r.component.subTree));let o=4&r.shapeFlag?pi(r.component):r.el,i=n?null:o,{i:s,r:l}=e,c=t&&t.r,u=s.refs===st?s.refs={}:s.refs,d=s.setupState,p=Ua(d),h=d===st?ut:e=>!In(u,e)&&gt(p,e),m=(e,t)=>!(t&&In(u,t));if(null!=c&&c!==l)if(Dn(t),wt(c))u[c]=null,h(c)&&(d[c]=null);else if(Ha(c)){let e=t;m(0,e.k)&&(c.value=null),e.k&&(u[e.k]=null)}if(xt(l))Yr(l,s,12,[i,u]);else{let t=wt(l),r=Ha(l);if(t||r){let s=()=>{if(e.f){let a=t?h(l)?d[l]:u[l]:m()||!e.k?l.value:u[e.k];if(n)vt(a)&&mt(a,o);else if(vt(a))a.includes(o)||a.push(o);else if(t)u[l]=[o],h(l)&&(d[l]=u[l]);else{let t=[o];m(0,e.k)&&(l.value=t),e.k&&(u[e.k]=t)}}else t?(u[l]=i,h(l)&&(d[l]=i)):r&&(m(0,e.k)&&(l.value=i),e.k&&(u[e.k]=i))};if(i){let t=()=>{s(),Hi.delete(e)};t.id=-1,Hi.set(e,t),Rs(t,a)}else Dn(e),s()}}}function Dn(e){let t=Hi.get(e);t&&(t.flags|=8,Hi.delete(e))}function Ln(e){let{mt:t,p:a,o:{patchProp:r,createText:n,nextSibling:o,parentNode:i,remove:s,insert:l,createComment:c}}=e,u=(a,r,s,c,b,y=!1)=>{y||=!!r.dynamicChildren;let O=Wi(a)&&"["===a.data,x=()=>m(a,r,s,c,b,O),{type:w,ref:k,shapeFlag:S,patchFlag:A}=r,_=a.nodeType;r.el=a,-2===A&&(y=!1,r.dynamicChildren=null);let T=null;switch(w){case Bs:3===_?(a.data!==r.children&&(Vi(),a.data=r.children),T=o(a)):""===r.children?(l(r.el=n(""),i(a),a),T=a):T=x();break;case js:v(a)?(T=o(a),g(r.el=a.content.firstChild,a,s)):T=8!==_||O?x():o(a);break;case Us:if(O&&(_=(a=o(a)).nodeType),1===_||3===_){T=a;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=1===T.nodeType?T.outerHTML:T.data),t===r.staticCount-1&&(r.anchor=T),T=o(T);return O?o(T):T}x();break;case Ls:T=O?h(a,r,s,c,b,y):x();break;default:if(1&S)T=1===_&&r.type.toLowerCase()===a.tagName.toLowerCase()||v(a)?d(a,r,s,c,b,y):x();else if(6&S){r.slotScopeIds=b;let e=i(a);if(T=O?f(a):Wi(a)&&"teleport start"===a.data?f(a,a.data,"teleport end"):o(a),t(r,e,null,s,c,Fi(e),y),Yi(r)&&!r.type.__asyncResolved){let t;O?(t=qs(Ls),t.anchor=T?T.previousSibling:e.lastChild):t=3===a.nodeType?ei(""):qs("div"),t.el=a,r.component.subTree=t}}else 64&S?T=8===_?r.type.hydrate(a,r,s,c,b,y,e,p):x():128&S&&(T=r.type.hydrate(a,r,s,c,Fi(i(a)),b,y,e,u))}return null!=k&&Rn(k,null,c,r),T},d=(e,t,a,n,o,i)=>{i||=!!t.dynamicChildren;let{type:l,props:c,patchFlag:u,shapeFlag:d,dirs:h,transition:m}=t,f="input"===l||"option"===l;if(f||-1!==u){h&&dn(t,null,a,"created");let l,b=!1;if(v(e)){b=Lo(null,m)&&a&&a.vnode.props&&a.vnode.props.appear;let r=e.content.firstChild;if(b){let e=r.getAttribute("class");e&&(r.$cls=e),m.beforeEnter(r)}g(r,e,a),t.el=e=r}if(16&d&&(!c||!c.innerHTML&&!c.textContent)){let r=p(e.firstChild,t,e,a,n,o,i);for(;r;){Bn(e,1)||Vi();let t=r;r=r.nextSibling,s(t)}}else if(8&d){let a=t.children;"\n"===a[0]&&("PRE"===e.tagName||"TEXTAREA"===e.tagName)&&(a=a.slice(1));let{textContent:r}=e;r!==a&&r!==a.replace(/\r\n|\r/g,"\n")&&(Bn(e,0)||Vi(),e.textContent=t.children)}if(c)if(f||!i||48&u){let t=e.tagName.includes("-");for(let n in c)(f&&(n.endsWith("value")||"indeterminate"===n)||dt(n)&&!Mt(n)||"."===n[0]||t&&!Mt(n))&&r(e,n,null,c[n],void 0,a)}else if(c.onClick)r(e,"onClick",null,c.onClick,void 0,a);else if(4&u&&Da(c.style))for(let e in c.style)c.style[e];(l=c&&c.onVnodeBeforeMount)&&si(l,a,t),h&&dn(t,null,a,"beforeMount"),((l=c&&c.onVnodeMounted)||h||b)&&Ho(()=>{l&&si(l,a,t),b&&m.enter(e),h&&dn(t,null,a,"mounted")},n)}return e.nextSibling},p=(e,t,r,i,s,c,d)=>{d||=!!t.dynamicChildren;let p=t.children,h=p.length;for(let t=0;t<h;t++){let m=d?p[t]:p[t]=ri(p[t]),f=m.type===Bs;e?(f&&!d&&t+1<h&&ri(p[t+1]).type===Bs&&(l(n(e.data.slice(m.children.length)),r,o(e)),e.data=m.children),e=u(e,m,i,s,c,d)):f&&!m.children?l(m.el=n(""),r):(Bn(r,1)||Vi(),a(null,m,r,null,i,s,Fi(r),c))}return e},h=(e,t,a,r,n,s)=>{let{slotScopeIds:u}=t;u&&(n=n?n.concat(u):u);let d=i(e),h=p(o(e),t,d,a,r,n,s);return h&&Wi(h)&&"]"===h.data?o(t.anchor=h):(Vi(),l(t.anchor=c("]"),d,h),h)},m=(e,t,r,n,l,c)=>{if(Bn(e.parentElement,1)||Vi(),t.el=null,c){let t=f(e);for(;;){let a=o(e);if(!a||a===t)break;s(a)}}let u=o(e),d=i(e);return s(e),a(null,t,d,u,r,n,Fi(d),l),r&&(r.vnode.el=t.el,Co(r,t.el)),u},f=(e,t="[",a="]")=>{let r=0;for(;e;)if((e=o(e))&&Wi(e)&&(e.data===t&&r++,e.data===a)){if(0===r)return o(e);r--}return e},g=(e,t,a)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let n=a;for(;n;)n.vnode.el===t&&(n.vnode.el=n.subTree.el=e),n=n.parent},v=e=>1===e.nodeType&&"TEMPLATE"===e.tagName;return[(e,t)=>{if(!t.hasChildNodes())return a(null,e,t),on(),void(t._vnode=e);u(t.firstChild,e,null,null,null),on(),t._vnode=e},u]}function Bn(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(Xi);)e=e.parentElement;let a=e&&e.getAttribute(Xi);if(null==a)return!1;if(""===a)return!0;{let e=a.split(",");return!(0!==t||!e.includes("children"))||e.includes(Gi[t])}}function jn(e){xt(e)&&(e={loader:e});let t,{loader:a,loadingComponent:r,errorComponent:n,delay:o=200,hydrate:i,timeout:s,suspensible:l=!0,onError:c}=e,u=null,d=0,p=()=>{let e;return u||(e=u=a().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,a)=>{c(e,()=>t((d++,u=null,p())),()=>a(e),d+1)});throw e}).then(a=>e!==u&&u?u:(a&&(a.__esModule||"Module"===a[Symbol.toStringTag])&&(a=a.default),t=a,a)))};return Pn({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(e,a,r){let n=!1;(a.bu||=[]).push(()=>n=!0);let o=()=>{n||r()},s=i?()=>{let t=i(o,t=>function(e,t){if(Wi(e)&&"["===e.data){let a=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(Wi(r))if("]"===r.data){if(0===--a)break}else"["===r.data&&a++;r=r.nextSibling}}else t(e)}(e,t));t&&(a.bum||=[]).push(t)}:o;t?s():p().then(()=>!a.isUnmounted&&s())},get __asyncResolved(){return t},setup(){let e=Xs;if($n(e),t)return()=>Un(t,e);let a=t=>{u=null,Jr(t,e,13,!n)};if(l&&e.suspense||tl)return p().then(t=>()=>Un(t,e)).catch(e=>(a(e),()=>n?qs(n,{error:e}):null));let i=Za(!1),c=Za(),d=Za(!!o);return o&&setTimeout(()=>{d.value=!1},o),null!=s&&setTimeout(()=>{if(!i.value&&!c.value){let e=Error(`Async component timed out after ${s}ms.`);a(e),c.value=e}},s),p().then(()=>{i.value=!0,e.parent&&Ki(e.parent.vnode)&&e.parent.update()}).catch(e=>{a(e),c.value=e}),()=>i.value&&t?Un(t,e):c.value&&n?qs(n,{error:c.value}):r&&!d.value?Un(r,e):void 0}})}function Un(e,t){let{ref:a,props:r,children:n,ce:o}=t.vnode,i=qs(e,r,n);return i.ref=a,i.ce=o,delete t.vnode.ce,i}function zn(e,t){Zn(e,"a",t)}function Hn(e,t){Zn(e,"da",t)}function Zn(e,t,a=Xs){let r=e.__wdc||=()=>{let t=a;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Qn(t,r,a),a){let e=a.parent;for(;e&&e.parent;)Ki(e.parent.vnode)&&Vn(r,t,a,e),e=e.parent}}function Vn(e,t,a,r){let n=Qn(t,e,r,!0);os(()=>{mt(r[t],n)},a)}function Qn(e,t,a=Xs,r=!1){if(a){let n=a[e]||(a[e]=[]),o=t.__weh||=(...r)=>{ha();let n=Js(a),o=Kr(t,a,e,r);return n(),ma(),o};return r?n.unshift(o):n.push(o),o}}function qn(e,t=Xs){Qn("ec",e,t)}function Fn(e,t){return Xn(cs,e,!0,t)||e}function Wn(e){return wt(e)?Xn(cs,e,!1)||e:e||us}function Xn(e,t,a=!0,r=!1){let n=wi||Xs;if(n){let a=n.type;if(e===cs){let e=function(e,t=!0){return xt(e)?e.displayName||e.name:e.name||t&&e.__name}(a,!1);if(e&&(e===t||e===It(t)||e===Lt(It(t))))return a}let o=Gn(n[e]||a[e],t)||Gn(n.appContext[e],t);return!o&&r?a:o}}function Gn(e,t){return e&&(e[t]||e[It(t)]||e[Lt(It(t))])}function Yn(e,t,a,r){let n,o=a&&a[r],i=vt(e);if(i||wt(e)){let a=!1,r=!1;i&&Da(e)&&(a=!Ba(e),r=La(e),e=Oa(e)),n=Array(e.length);for(let i=0,s=e.length;i<s;i++)n[i]=t(a?r?Ur(jr(e[i])):jr(e[i]):e[i],i,void 0,o&&o[i])}else if("number"==typeof e){n=Array(e);for(let a=0;a<e;a++)n[a]=t(a+1,a,void 0,o&&o[a])}else if(St(e))if(e[Symbol.iterator])n=Array.from(e,(e,a)=>t(e,a,void 0,o&&o[a]));else{let a=Object.keys(e);n=Array(a.length);for(let r=0,i=a.length;r<i;r++){let i=a[r];n[r]=t(e[i],i,r,o&&o[r])}}else n=[];return a&&(a[r]=n),n}function Kn(e,t){for(let a=0;a<t.length;a++){let r=t[a];if(vt(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function Jn(e,t,a={},r,n){if(wi.ce||wi.parent&&Yi(wi.parent)&&wi.parent.ce){let e=Object.keys(a).length>0;return"default"!==t&&(a.name=t),Zo(),Fo(Ls,null,[qs("slot",a,r&&r())],e?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),Zo();let i=o&&eo(o(a)),s=a.key||i&&i.key,l=Fo(Ls,{key:(s&&!kt(s)?s:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&1===e._?64:-2);return!n&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function eo(e){return e.some(e=>!Wo(e)||!(e.type===js||e.type===Ls&&!eo(e.children)))?e:null}function to(e,t){let a={};for(let r in e)a[t&&/[A-Z]/.test(r)?`on:${r}`:Bt(r)]=e[r];return a}function ao(){return no("useSlots").slots}function ro(){return no("useAttrs").attrs}function no(e){let t=Gs();return t.setupContext||=di(t)}function oo(e){return vt(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function io(e,t){return e&&t?vt(e)&&vt(t)?e.concat(t):ht({},oo(e),oo(t)):e||t}function so(e){let t=uo(e),a=e.proxy,r=e.ctx;fs=!1,t.beforeCreate&&lo(t.beforeCreate,e,"bc");let{data:n,computed:o,methods:i,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:h,updated:m,activated:f,deactivated:g,beforeDestroy:v,beforeUnmount:b,destroyed:y,unmounted:O,render:x,renderTracked:w,renderTriggered:k,errorCaptured:S,serverPrefetch:A,expose:_,inheritAttrs:T,components:E,directives:C,filters:P}=t;if(c&&function(e,t){vt(e)&&(e=fo(e));for(let a in e){let r,n=e[a];r=St(n)?"default"in n?hn(n.from||a,n.default,!0):hn(n.from||a):hn(n),Ha(r)?Object.defineProperty(t,a,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[a]=r}}(c,r,null),i)for(let e in i){let t=i[e];xt(t)&&(r[e]=t.bind(a))}if(n){let t=n.call(a,a);St(t)&&(e.data=Ma(t))}if(fs=!0,o)for(let e in o){let t=o[e],n=ol({get:xt(t)?t.bind(a,a):xt(t.get)?t.get.bind(a,a):ct,set:!xt(t)&&xt(t.set)?t.set.bind(a):ct});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>n.value,set:e=>n.value=e})}if(s)for(let e in s)co(s[e],r,a,e);if(l){let e=xt(l)?l.call(a):l;Reflect.ownKeys(e).forEach(t=>{pn(t,e[t])})}function M(e,t){vt(t)?t.forEach(t=>e(t.bind(a))):t&&e(t.bind(a))}if(u&&lo(u,e,"c"),M(es,d),M(ts,p),M(as,h),M(rs,m),M(zn,f),M(Hn,g),M(qn,S),M(ls,w),M(ss,k),M(ns,b),M(os,O),M(is,A),vt(_))if(_.length){let t=e.exposed||={};_.forEach(e=>{Object.defineProperty(t,e,{get:()=>a[e],set:t=>a[e]=t,enumerable:!0})})}else e.exposed||={};x&&e.render===ct&&(e.render=x),null!=T&&(e.inheritAttrs=T),E&&(e.components=E),C&&(e.directives=C),A&&$n(e)}function lo(e,t,a){Kr(vt(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,a)}function co(e,t,a,r){let n=r.includes(".")?bn(a,r):()=>a[r];if(wt(e)){let a=t[e];xt(a)&&fn(n,a)}else if(xt(e))fn(n,e.bind(a));else if(St(e))if(vt(e))e.forEach(e=>co(e,t,a,r));else{let r=xt(e.handler)?e.handler.bind(a):t[e.handler];xt(r)&&fn(n,r,e)}}function uo(e){let t,a=e.type,{mixins:r,extends:n}=a,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(a);return l?t=l:o.length||r||n?(t={},o.length&&o.forEach(e=>po(t,e,s,!0)),po(t,a,s)):t=a,St(a)&&i.set(a,t),t}function po(e,t,a,r=!1){let{mixins:n,extends:o}=t;o&&po(e,o,a,!0),n&&n.forEach(t=>po(e,t,a,!0));for(let n in t)if(!r||"expose"!==n){let r=gs[n]||a&&a[n];e[n]=r?r(e[n],t[n]):t[n]}return e}function ho(e,t){return t?e?function(){return ht(xt(e)?e.call(this,this):e,xt(t)?t.call(this,this):t)}:t:e}function mo(e,t){return vo(fo(e),fo(t))}function fo(e){if(vt(e)){let t={};for(let a=0;a<e.length;a++)t[e[a]]=e[a];return t}return e}function go(e,t){return e?[...new Set([].concat(e,t))]:t}function vo(e,t){return e?ht(Object.create(null),e,t):t}function bo(e,t){return e?vt(e)&&vt(t)?[...new Set([...e,...t])]:ht(Object.create(null),oo(e),oo(t??{})):t}function yo(e,t){if(!e)return t;if(!t)return e;let a=ht(Object.create(null),e);for(let r in t)a[r]=go(e[r],t[r]);return a}function Oo(){return{app:null,config:{isNativeTag:ut,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}function xo(e,t){return function(a,r=null){xt(a)||(a=ht({},a)),null!=r&&!St(r)&&(r=null);let n=Oo(),o=new WeakSet,i=[],s=!1,l=n.app={_uid:vs++,_component:a,_props:r,_container:null,_context:n,_instance:null,version:il,get config(){return n.config},set config(e){},use:(e,...t)=>(o.has(e)||(e&&xt(e.install)?(o.add(e),e.install(l,...t)):xt(e)&&(o.add(e),e(l,...t))),l),mixin:e=>(n.mixins.includes(e)||n.mixins.push(e),l),component:(e,t)=>t?(n.components[e]=t,l):n.components[e],directive:(e,t)=>t?(n.directives[e]=t,l):n.directives[e],mount(o,i,c){if(!s){let u=l._ceVNode||qs(a,r);return u.appContext=n,!0===c?c="svg":!1===c&&(c=void 0),i&&t?t(u,o):e(u,o,c),s=!0,l._container=o,o.__vue_app__=l,pi(u.component)}},onUnmount(e){i.push(e)},unmount(){s&&(Kr(i,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(n.provides[e]=t,l),runWithContext(e){let t=bs;bs=l;try{return e()}finally{bs=t}}};return l}}function wo(e,t,a=st){let r=Gs(),n=It(t),o=Dt(t),i=ys(e,n),s=Ga((i,s)=>{let l,c,u=st;return function(e){gn(e,null,{flush:"sync"})}(()=>{let t=e[n];jt(l,t)&&(l=t,s())}),{get:()=>(i(),a.get?a.get(l):l),set(e){let i=a.set?a.set(e):e;if(!(jt(i,l)||u!==st&&jt(e,u)))return;let d=r.vnode.props;d&&(t in d||n in d||o in d)&&(`onUpdate:${t}`in d||`onUpdate:${n}`in d||`onUpdate:${o}`in d)||(l=e,s()),r.emit(`update:${t}`,i),jt(e,i)&&jt(e,u)&&!jt(i,c)&&s(),u=e,c=i}}});return s[Symbol.iterator]=()=>{let e=0;return{next:()=>e<2?{value:e++?i||st:s,done:!1}:{done:!0}}},s}function ko(e,t,...a){if(e.isUnmounted)return;let r=e.vnode.props||st,n=a,o=t.startsWith("update:"),i=o&&ys(r,t.slice(7));i&&(i.trim&&(n=a.map(e=>wt(e)?e.trim():e)),i.number&&(n=a.map(Ht)));let s,l=r[s=Bt(t)]||r[s=Bt(It(t))];!l&&o&&(l=r[s=Bt(Dt(t))]),l&&Kr(l,e,6,n);let c=r[s+"Once"];if(c){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,Kr(c,e,6,n)}}function So(e,t,a=!1){let r=a?Os:t.emitsCache,n=r.get(e);if(void 0!==n)return n;let o=e.emits,i={},s=!1;if(!xt(e)){let r=e=>{let a=So(e,t,!0);a&&(s=!0,ht(i,a))};!a&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return o||s?(vt(o)?o.forEach(e=>i[e]=null):ht(i,o),St(e)&&r.set(e,i),i):(St(e)&&r.set(e,null),null)}function Ao(e,t){return!(!e||!dt(t))&&(t=t.slice(2).replace(/Once$/,""),gt(e,t[0].toLowerCase()+t.slice(1))||gt(e,Dt(t))||gt(e,t))}function _o(e){let t,a,{type:r,vnode:n,proxy:o,withProxy:i,propsOptions:[s],slots:l,attrs:c,emit:u,render:d,renderCache:p,props:h,data:m,setupState:f,ctx:g,inheritAttrs:v}=e,b=ln(e);try{if(4&n.shapeFlag){let e=i||o,r=e;t=ri(d.call(r,e,p,h,f,m,g)),a=c}else{let e=r;t=ri(e.length>1?e(h,{attrs:c,slots:l,emit:u}):e(h,null)),a=r.props?c:xs(c)}}catch(r){zs.length=0,Jr(r,e,1),t=qs(js)}let y=t;if(a&&!1!==v){let e=Object.keys(a),{shapeFlag:t}=y;e.length&&7&t&&(s&&e.some(pt)&&(a=ws(a,s)),y=Jo(y,a,!1,!0))}return n.dirs&&(y=Jo(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&En(y,n.transition),t=y,ln(b),t}function To(e,t,a){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let n=0;n<r.length;n++){let o=r[n];if(Eo(t,e,o)&&!Ao(a,o))return!0}return!1}function Eo(e,t,a){let r=e[a],n=t[a];return"style"===a&&St(r)&&St(n)?!nt(r,n):r!==n}function Co({vnode:e,parent:t},a){for(;t;){let r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=a,t=t.parent}}function Po(e,t,a,r){let n,[o,i]=e.propsOptions,s=!1;if(t)for(let l in t){if(Mt(l))continue;let c,u=t[l];o&&gt(o,c=It(l))?i&&i.includes(c)?(n||={})[c]=u:a[c]=u:Ao(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,s=!0)}if(i){let t=Ua(a),r=n||st;for(let n=0;n<i.length;n++){let s=i[n];a[s]=Mo(o,t,s,r[s],e,!gt(r,s))}}return s}function Mo(e,t,a,r,n,o){let i=e[a];if(null!=i){let e=gt(i,"default");if(e&&void 0===r){let e=i.default;if(i.type!==Function&&!i.skipFactory&&xt(e)){let{propsDefaults:o}=n;if(a in o)r=o[a];else{let i=Js(n);r=o[a]=e.call(null,t),i()}}else r=e;n.ce&&n.ce._setProp(a,r)}i[0]&&(o&&!e?r=!1:i[1]&&(""===r||r===Dt(a))&&(r=!0))}return r}function $o(e,t,a=!1){let r=a?_s:t.propsCache,n=r.get(e);if(n)return n;let o=e.props,i={},s=[],l=!1;if(!xt(e)){let r=e=>{l=!0;let[a,r]=$o(e,t,!0);ht(i,a),r&&s.push(...r)};!a&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!o&&!l)return St(e)&&r.set(e,lt),lt;if(vt(o))for(let e=0;e<o.length;e++){let t=It(o[e]);No(t)&&(i[t]=st)}else if(o)for(let e in o){let t=It(e);if(No(t)){let a=o[e],r=i[t]=vt(a)||xt(a)?{type:a}:ht({},a),n=r.type,l=!1,c=!0;if(vt(n))for(let e=0;e<n.length;++e){let t=n[e],a=xt(t)&&t.name;if("Boolean"===a){l=!0;break}"String"===a&&(c=!1)}else l=xt(n)&&"Boolean"===n.name;r[0]=l,r[1]=c,(l||gt(r,"default"))&&s.push(t)}}let c=[i,s];return St(e)&&r.set(e,c),c}function No(e){return"$"!==e[0]&&!Mt(e)}function Io(e,t){Qt().__VUE__=!0;let a,r,{insert:n,remove:o,patchProp:i,createElement:s,createText:l,createComment:c,setText:u,setElementText:d,parentNode:p,nextSibling:h,setScopeId:m=ct,insertStaticContent:f}=e,g=(e,t,a,r=null,n=null,o=null,i=void 0,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Xo(e,t)&&(r=H(e),L(e,n,o,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);let{type:c,ref:u,shapeFlag:d}=t;switch(c){case Bs:v(e,t,a,r);break;case js:b(e,t,a,r);break;case Us:e??y(t,a,r,i);break;case Ls:T(e,t,a,r,n,o,i,s,l);break;default:1&d?O(e,t,a,r,n,o,i,s,l):6&d?E(e,t,a,r,n,o,i,s,l):(64&d||128&d)&&c.process(e,t,a,r,n,o,i,s,l,Q)}null!=u&&n?Rn(u,e&&e.ref,o,t||e,!t):null==u&&e&&null!=e.ref&&Rn(e.ref,null,o,e,!0)},v=(e,t,a,r)=>{if(null==e)n(t.el=l(t.children),a,r);else{let a=t.el=e.el;t.children!==e.children&&u(a,t.children)}},b=(e,t,a,r)=>{null==e?n(t.el=c(t.children||""),a,r):t.el=e.el},y=(e,t,a,r)=>{[e.el,e.anchor]=f(e.children,t,a,r,e.el,e.anchor)},O=(e,t,a,r,n,o,i,s,l)=>{if("svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e)x(t,a,r,n,o,i,s,l);else{let a=e.el&&e.el._isVueCE?e.el:null;try{a&&a._beginPatch(),S(e,t,n,o,i,s,l)}finally{a&&a._endPatch()}}},x=(e,t,a,r,o,l,c,u)=>{let p,h,{props:m,shapeFlag:f,transition:g,dirs:v}=e;if(p=e.el=s(e.type,l,m&&m.is,m),8&f?d(p,e.children):16&f&&k(e.children,p,null,r,o,Ro(e,l),c,u),v&&dn(e,null,r,"created"),w(p,e,e.scopeId,c,r),m){for(let e in m)"value"!==e&&!Mt(e)&&i(p,e,null,m[e],l,r);"value"in m&&i(p,"value",null,m.value,l),(h=m.onVnodeBeforeMount)&&si(h,r,e)}v&&dn(e,null,r,"beforeMount");let b=Lo(o,g);b&&g.beforeEnter(p),n(p,t,a),((h=m&&m.onVnodeMounted)||b||v)&&Rs(()=>{h&&si(h,r,e),b&&g.enter(p),v&&dn(e,null,r,"mounted")},o)},w=(e,t,a,r,n)=>{if(a&&m(e,a),r)for(let t=0;t<r.length;t++)m(e,r[t]);if(n){let a=n.subTree;if(t===a||Ds(a.type)&&(a.ssContent===t||a.ssFallback===t)){let t=n.vnode;w(e,t,t.scopeId,t.slotScopeIds,n.parent)}}},k=(e,t,a,r,n,o,i,s,l=0)=>{for(let c=l;c<e.length;c++)g(null,e[c]=s?ni(e[c]):ri(e[c]),t,a,r,n,o,i,s)},S=(e,t,a,r,n,o,s)=>{let l=t.el=e.el,{patchFlag:c,dynamicChildren:u,dirs:p}=t;c|=16&e.patchFlag;let h,m=e.props||st,f=t.props||st;if(a&&Do(a,!1),(h=f.onVnodeBeforeUpdate)&&si(h,a,t,e),p&&dn(t,e,a,"beforeUpdate"),a&&Do(a,!0),(m.innerHTML&&null==f.innerHTML||m.textContent&&null==f.textContent)&&d(l,""),u?A(e.dynamicChildren,u,l,a,r,Ro(t,n),o):s||N(e,t,l,null,a,r,Ro(t,n),o,!1),c>0){if(16&c)_(l,m,f,a,n);else if(2&c&&m.class!==f.class&&i(l,"class",null,f.class,n),4&c&&i(l,"style",m.style,f.style,n),8&c){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let r=e[t],o=m[r],s=f[r];(s!==o||"value"===r)&&i(l,r,o,s,n,a)}}1&c&&e.children!==t.children&&d(l,t.children)}else!s&&null==u&&_(l,m,f,a,n);((h=f.onVnodeUpdated)||p)&&Rs(()=>{h&&si(h,a,t,e),p&&dn(t,e,a,"updated")},r)},A=(e,t,a,r,n,o,i)=>{for(let s=0;s<t.length;s++){let l=e[s],c=t[s];g(l,c,l.el&&(l.type===Ls||!Xo(l,c)||198&l.shapeFlag)?p(l.el):a,null,r,n,o,i,!0)}},_=(e,t,a,r,n)=>{if(t!==a){if(t!==st)for(let o in t)!Mt(o)&&!(o in a)&&i(e,o,t[o],null,n,r);for(let o in a){if(Mt(o))continue;let s=a[o],l=t[o];s!==l&&"value"!==o&&i(e,o,l,s,n,r)}"value"in a&&i(e,"value",t.value,a.value,n)}},T=(e,t,a,r,o,i,s,c,u)=>{let d=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l(""),{patchFlag:h,dynamicChildren:m,slotScopeIds:f}=t;f&&(c=c?c.concat(f):f),null==e?(n(d,a,r),n(p,a,r),k(t.children||[],a,p,o,i,s,c,u)):h>0&&64&h&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(A(e.dynamicChildren,m,a,o,i,s,c),(null!=t.key||o&&t===o.subTree)&&Bo(e,t,!0)):N(e,t,a,p,o,i,s,c,u)},E=(e,t,a,r,n,o,i,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?n.ctx.activate(t,a,r,i,l):C(t,a,r,n,o,i,l):P(e,t,l)},C=(e,t,a,r,n,o,i)=>{let s=e.component=function(e,t,a){let r=e.type,n=(t?t.appContext:e.appContext)||Fs,o={uid:Ws++,vnode:e,type:r,parent:t,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ar(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(n.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:$o(r,n),emitsOptions:So(r,n),emit:null,emitted:null,propsDefaults:st,inheritAttrs:r.inheritAttrs,ctx:st,data:st,props:st,attrs:st,slots:st,refs:st,setupState:st,setupContext:null,suspense:a,suspenseId:a?a.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=ko.bind(null,o),e.ce&&e.ce(o),o}(e,r,n);if(Ki(e)&&(s.ctx.renderer=Q),function(e,t=!1,a=!1){t&&Ks(t);let{props:r,children:n}=e.vnode,o=li(e);(function(e,t,a,r=!1){let n={},o=Ss();e.propsDefaults=Object.create(null),Po(e,t,n,o);for(let t in e.propsOptions[0])t in n||(n[t]=void 0);a?e.props=r?n:$a(n):e.type.props?e.props=n:e.props=o,e.attrs=o})(e,r,o,t),Ns(e,n,a||t);let i=o?function(e,t){let a=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ms);let{setup:r}=a;if(r){ha();let a=e.setupContext=r.length>1?di(e):null,n=Js(e),o=Yr(r,e,0,[e.props,a]),i=At(o);if(ma(),n(),(i||e.sp)&&!Yi(e)&&$n(e),i){if(o.then(el,el),t)return o.then(a=>{ci(e,a,t)}).catch(t=>{Jr(t,e,0)});e.asyncDep=o}else ci(e,o,t)}else ui(e,t)}(e,t):void 0;t&&Ks(!1)}(s,!1,i),s.asyncDep){if(n&&n.registerDep(s,M,i),!e.el){let r=s.subTree=qs(js);b(null,r,t,a),e.placeholder=r.el}}else M(s,e,t,a,n,o,i)},P=(e,t,a)=>{let r=t.component=e.component;if(function(e,t,a){let{props:r,children:n,component:o}=e,{props:i,children:s,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(a&&l>=0))return!(!n&&!s||s&&s.$stable)||r!==i&&(r?!i||To(r,i,c):!!i);if(1024&l)return!0;if(16&l)return r?To(r,i,c):!!i;if(8&l){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let a=e[t];if(Eo(i,r,a)&&!Ao(c,a))return!0}}return!1}(e,t,a)){if(r.asyncDep&&!r.asyncResolved)return void $(r,t,a);r.next=t,r.update()}else t.el=e.el,r.vnode=t},M=(e,t,a,n,o,i,s)=>{e.scope.on();let l=e.effect=new or(()=>{if(e.isMounted){let{next:t,bu:a,u:r,parent:n,vnode:l}=e;{let a=jo(e);if(a)return t&&(t.el=l.el,$(e,t,s)),void a.asyncDep.then(()=>{Rs(()=>{e.isUnmounted||c()},o)})}let u,d=t;Do(e,!1),t?(t.el=l.el,$(e,t,s)):t=l,a&&Ut(a),(u=t.props&&t.props.onVnodeBeforeUpdate)&&si(u,n,t,l),Do(e,!0);let h=_o(e),m=e.subTree;e.subTree=h,g(m,h,p(m.el),H(m),e,o,i),t.el=h.el,null===d&&Co(e,h.el),r&&Rs(r,o),(u=t.props&&t.props.onVnodeUpdated)&&Rs(()=>si(u,n,t,l),o)}else{let s,{el:l,props:c}=t,{bm:u,m:d,parent:p,root:h,type:m}=e,f=Yi(t);if(Do(e,!1),u&&Ut(u),!f&&(s=c&&c.onVnodeBeforeMount)&&si(s,p,t),Do(e,!0),l&&r){let t=()=>{e.subTree=_o(e),r(l,e.subTree,e,o,null)};f&&m.__asyncHydrate?m.__asyncHydrate(l,e,t):t()}else{h.ce&&h.ce._hasShadowRoot()&&h.ce._injectChildStyle(m,e.parent?e.parent.type:void 0);let r=e.subTree=_o(e);g(null,r,a,n,e,o,i),t.el=r.el}if(d&&Rs(d,o),!f&&(s=c&&c.onVnodeMounted)){let e=t;Rs(()=>si(s,p,e),o)}(256&t.shapeFlag||p&&Yi(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&Rs(e.a,o),e.isMounted=!0,t=a=n=null}});e.scope.off();let c=e.update=l.run.bind(l),u=e.job=l.runIfDirty.bind(l);u.i=e,u.id=e.uid,l.scheduler=()=>tn(u),Do(e,!0),c()},$=(e,t,a)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,a,r){let{props:n,attrs:o,vnode:{patchFlag:i}}=e,s=Ua(n),[l]=e.propsOptions,c=!1;if(!(r||i>0)||16&i){let r;Po(e,t,n,o)&&(c=!0);for(let o in s)(!t||!gt(t,o)&&((r=Dt(o))===o||!gt(t,r)))&&(l?a&&(void 0!==a[o]||void 0!==a[r])&&(n[o]=Mo(l,s,o,void 0,e,!0)):delete n[o]);if(o!==s)for(let e in o)(!t||!gt(t,e))&&(delete o[e],c=!0)}else if(8&i){let a=e.vnode.dynamicProps;for(let r=0;r<a.length;r++){let i=a[r];if(Ao(e.emitsOptions,i))continue;let u=t[i];if(l)if(gt(o,i))u!==o[i]&&(o[i]=u,c=!0);else{let t=It(i);n[t]=Mo(l,s,t,u,e,!1)}else u!==o[i]&&(o[i]=u,c=!0)}}c&&ba(e.attrs,"set","")}(e,t.props,r,a),Is(e,t.children,a),ha(),nn(e),ma()},N=(e,t,a,r,n,o,i,s,l=!1)=>{let c=e&&e.children,u=e?e.shapeFlag:0,p=t.children,{patchFlag:h,shapeFlag:m}=t;if(h>0){if(128&h)return void R(c,p,a,r,n,o,i,s,l);if(256&h)return void I(c,p,a,r,n,o,i,s,l)}8&m?(16&u&&z(c,n,o),p!==c&&d(a,p)):16&u?16&m?R(c,p,a,r,n,o,i,s,l):z(c,n,o,!0):(8&u&&d(a,""),16&m&&k(p,a,r,n,o,i,s,l))},I=(e,t,a,r,n,o,i,s,l)=>{e||=lt,t||=lt;let c,u=e.length,d=t.length,p=Math.min(u,d);for(c=0;c<p;c++){let r=t[c]=l?ni(t[c]):ri(t[c]);g(e[c],r,a,null,n,o,i,s,l)}u>d?z(e,n,o,!0,!1,p):k(t,a,r,n,o,i,s,l,p)},R=(e,t,a,r,n,o,i,s,l)=>{let c=0,u=t.length,d=e.length-1,p=u-1;for(;c<=d&&c<=p;){let r=e[c],u=t[c]=l?ni(t[c]):ri(t[c]);if(!Xo(r,u))break;g(r,u,a,null,n,o,i,s,l),c++}for(;c<=d&&c<=p;){let r=e[d],c=t[p]=l?ni(t[p]):ri(t[p]);if(!Xo(r,c))break;g(r,c,a,null,n,o,i,s,l),d--,p--}if(c>d){if(c<=p){let e=p+1,d=e<u?t[e].el:r;for(;c<=p;)g(null,t[c]=l?ni(t[c]):ri(t[c]),a,d,n,o,i,s,l),c++}}else if(c>p)for(;c<=d;)L(e[c],n,o,!0),c++;else{let h=c,m=c,f=new Map;for(c=m;c<=p;c++){let e=t[c]=l?ni(t[c]):ri(t[c]);null!=e.key&&f.set(e.key,c)}let v,b=0,y=p-m+1,O=!1,x=0,w=Array(y);for(c=0;c<y;c++)w[c]=0;for(c=h;c<=d;c++){let r,u=e[c];if(b>=y)L(u,n,o,!0);else{if(null!=u.key)r=f.get(u.key);else for(v=m;v<=p;v++)if(0===w[v-m]&&Xo(u,t[v])){r=v;break}void 0===r?L(u,n,o,!0):(w[r-m]=c+1,r>=x?x=r:O=!0,g(u,t[r],a,null,n,o,i,s,l),b++)}}let k=O?function(e){let t,a,r,n,o,i=e.slice(),s=[0],l=e.length;for(t=0;t<l;t++){let l=e[t];if(0!==l){if(a=s[s.length-1],e[a]<l){i[t]=a,s.push(t);continue}for(r=0,n=s.length-1;r<n;)o=r+n>>1,e[s[o]]<l?r=o+1:n=o;l<e[s[r]]&&(r>0&&(i[t]=s[r-1]),s[r]=t)}}for(r=s.length,n=s[r-1];r-- >0;)s[r]=n,n=i[n];return s}(w):lt;for(v=k.length-1,c=y-1;c>=0;c--){let e=m+c,d=t[e],p=t[e+1],h=e+1<u?p.el||zo(p):r;0===w[c]?g(null,d,a,h,n,o,i,s,l):O&&(v<0||c!==k[v]?D(d,a,h,2):v--)}}},D=(e,t,a,r,i=null)=>{let{el:s,type:l,transition:c,children:u,shapeFlag:d}=e;if(6&d)D(e.component.subTree,t,a,r);else if(128&d)e.suspense.move(t,a,r);else if(64&d)l.move(e,t,a,Q);else if(l!==Ls)if(l!==Us)if(2!==r&&1&d&&c)if(0===r)c.beforeEnter(s),n(s,t,a),Rs(()=>c.enter(s),i);else{let{leave:r,delayLeave:i,afterLeave:l}=c,u=()=>{e.ctx.isUnmounted?o(s):n(s,t,a)},d=()=>{s._isLeaving&&s[Ri](!0),r(s,()=>{u(),l&&l()})};i?i(s,u,d):d()}else n(s,t,a);else(({el:e,anchor:t},a,r)=>{let o;for(;e&&e!==t;)o=h(e),n(e,a,r),e=o;n(t,a,r)})(e,t,a);else{n(s,t,a);for(let e=0;e<u.length;e++)D(u[e],t,a,r);n(e.anchor,t,a)}},L=(e,t,a,r=!1,n=!1)=>{let{type:o,props:i,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p,cacheIndex:h}=e;if(-2===d&&(n=!1),null!=s&&(ha(),Rn(s,null,a,e,!0),ma()),null!=h&&(t.renderCache[h]=void 0),256&u)return void t.ctx.deactivate(e);let m,f=1&u&&p,g=!Yi(e);if(g&&(m=i&&i.onVnodeBeforeUnmount)&&si(m,t,e),6&u)U(e.component,a,r);else{if(128&u)return void e.suspense.unmount(a,r);f&&dn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,a,Q,r):c&&!c.hasOnce&&(o!==Ls||d>0&&64&d)?z(c,t,a,!1,!0):(o===Ls&&384&d||!n&&16&u)&&z(l,t,a),r&&B(e)}(g&&(m=i&&i.onVnodeUnmounted)||f)&&Rs(()=>{m&&si(m,t,e),f&&dn(e,null,t,"unmounted")},a)},B=e=>{let{type:t,el:a,anchor:r,transition:n}=e;if(t===Ls)return void j(a,r);if(t===Us)return void(({el:e,anchor:t})=>{let a;for(;e&&e!==t;)a=h(e),o(e),e=a;o(t)})(e);let i=()=>{o(a),n&&!n.persisted&&n.afterLeave&&n.afterLeave()};if(1&e.shapeFlag&&n&&!n.persisted){let{leave:t,delayLeave:r}=n,o=()=>t(a,i);r?r(e.el,i,o):o()}else i()},j=(e,t)=>{let a;for(;e!==t;)a=h(e),o(e),e=a;o(t)},U=(e,t,a)=>{let{bum:r,scope:n,job:o,subTree:i,um:s,m:l,a:c}=e;Uo(l),Uo(c),r&&Ut(r),n.stop(),o&&(o.flags|=8,L(i,e,t,a)),s&&Rs(s,t),Rs(()=>{e.isUnmounted=!0},t)},z=(e,t,a,r=!1,n=!1,o=0)=>{for(let i=o;i<e.length;i++)L(e[i],t,a,r,n)},H=e=>{if(6&e.shapeFlag)return H(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();let t=h(e.anchor||e.el),a=t&&t[_i];return a?h(a):t},Z=!1,V=(e,t,a)=>{let r;null==e?t._vnode&&(L(t._vnode,null,null,!0),r=t._vnode.component):g(t._vnode||null,e,t,null,null,null,a),t._vnode=e,Z||=(Z=!0,nn(r),on(),!1)},Q={p:g,um:L,m:D,r:B,mt:C,mc:k,pc:N,pbc:A,n:H,o:e};return t&&([a,r]=t(Q)),{render:V,hydrate:a,createApp:xo(V,a)}}function Ro({type:e,props:t},a){return"svg"===a&&"foreignObject"===e||"mathml"===a&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:a}function Do({effect:e,job:t},a){a?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Lo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bo(e,t,a=!1){let r=e.children,n=t.children;if(vt(r)&&vt(n))for(let e=0;e<r.length;e++){let t=r[e],o=n[e];1&o.shapeFlag&&!o.dynamicChildren&&((o.patchFlag<=0||32===o.patchFlag)&&(o=n[e]=ni(n[e]),o.el=t.el),!a&&-2!==o.patchFlag&&Bo(t,o)),o.type===Bs&&(-1===o.patchFlag&&(o=n[e]=ni(o)),o.el=t.el),o.type===js&&!o.el&&(o.el=t.el)}}function jo(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:jo(t)}function Uo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function zo(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?zo(t.subTree):null}function Ho(e,t){t&&t.pendingBranch?vt(e)?t.effects.push(...e):t.effects.push(e):rn(e)}function Zo(e=!1){zs.push(Hs=e?null:[])}function Vo(e,t=!1){Zs+=e,e<0&&Hs&&t&&(Hs.hasOnce=!0)}function Qo(e){return e.dynamicChildren=Zs>0?Hs||lt:null,zs.pop(),Hs=zs[zs.length-1]||null,Zs>0&&Hs&&Hs.push(e),e}function qo(e,t,a,r,n,o){return Qo(Go(e,t,a,r,n,o,!0))}function Fo(e,t,a,r,n){return Qo(qs(e,t,a,r,n,!0))}function Wo(e){return!!e&&!0===e.__v_isVNode}function Xo(e,t){return e.type===t.type&&e.key===t.key}function Go(e,t=null,a=null,r=0,n=null,o=(e===Ls?0:1),i=!1,s=!1){let l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vs(t),ref:t&&Qs(t),scopeId:ki,slotScopeIds:null,children:a,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:o,patchFlag:r,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:wi};return s?(oi(l,a),128&o&&e.normalize(l)):a&&(l.shapeFlag|=wt(a)?8:16),Zs>0&&!i&&Hs&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&Hs.push(l),l}function Yo(e,t=null,a=null,r=0,n=null,o=!1){if((!e||e===us)&&(e=js),Wo(e)){let r=Jo(e,t,!0);return a&&oi(r,a),Zs>0&&!o&&Hs&&(6&r.shapeFlag?Hs[Hs.indexOf(e)]=r:Hs.push(r)),r.patchFlag=-2,r}if(function(e){return xt(e)&&"__vccOpts"in e}(e)&&(e=e.__vccOpts),t){t=Ko(t);let{class:e,style:a}=t;e&&!wt(e)&&(t.class=tt(e)),St(a)&&(ja(a)&&!vt(a)&&(a=ht({},a)),t.style=Je(a))}return Go(e,t,a,r,n,wt(e)?1:Ds(e)?128:Ti(e)?64:St(e)?4:xt(e)?2:0,o,!0)}function Ko(e){return e?ja(e)||As(e)?ht({},e):e:null}function Jo(e,t,a=!1,r=!1){let{props:n,ref:o,patchFlag:i,children:s,transition:l}=e,c=t?ii(n||{},t):n,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Vs(c),ref:t&&t.ref?a&&o?vt(o)?o.concat(Qs(t)):[o,Qs(t)]:Qs(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ls?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jo(e.ssContent),ssFallback:e.ssFallback&&Jo(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&En(u,l.clone(u)),u}function ei(e=" ",t=0){return qs(Bs,null,e,t)}function ti(e,t){let a=qs(Us,null,e);return a.staticCount=t,a}function ai(e="",t=!1){return t?(Zo(),Fo(js,null,e)):qs(js,null,e)}function ri(e){return null==e||"boolean"==typeof e?qs(js):vt(e)?qs(Ls,null,e.slice()):Wo(e)?ni(e):qs(Bs,null,String(e))}function ni(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Jo(e)}function oi(e,t){let a=0,{shapeFlag:r}=e;if(null==t)t=null;else if(vt(t))a=16;else if("object"==typeof t){if(65&r){let a=t.default;return void(a&&(a._c&&(a._d=!1),oi(e,a()),a._c&&(a._d=!0)))}{a=32;let r=t._;r||As(t)?3===r&&wi&&(1===wi.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=wi}}else xt(t)?(t={default:t,_ctx:wi},a=32):(t=String(t),64&r?(a=16,t=[ei(t)]):a=8);e.children=t,e.shapeFlag|=a}function ii(...e){let t={};for(let a=0;a<e.length;a++){let r=e[a];for(let e in r)if("class"===e)t.class!==r.class&&(t.class=tt([t.class,r.class]));else if("style"===e)t.style=Je([t.style,r.style]);else if(dt(e)){let a=t[e],n=r[e];n&&a!==n&&(!vt(a)||!a.includes(n))&&(t[e]=a?[].concat(a,n):n)}else""!==e&&(t[e]=r[e])}return t}function si(e,t,a,r=null){Kr(e,t,7,[a,r])}function li(e){return 4&e.vnode.shapeFlag}function ci(e,t,a){xt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:St(t)&&(e.setupState=Xa(t)),ui(e,a)}function ui(e,t,a){let r=e.type;if(!e.render){if(!t&&al&&!r.render){let t=r.template||uo(e).template;if(t){let{isCustomElement:a,compilerOptions:n}=e.appContext.config,{delimiters:o,compilerOptions:i}=r;r.render=al(t,ht(ht({isCustomElement:a,delimiters:o},n),i))}}e.render=r.render||ct,rl&&rl(e)}{let t=Js(e);ha();try{so(e)}finally{ma(),t()}}}function di(e){return{attrs:new Proxy(e.attrs,nl),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function pi(e){return e.exposed?e.exposeProxy||=new Proxy(Xa(za(e.exposed)),{get:(t,a)=>a in t?t[a]:a in ps?ps[a](e):void 0,has:(e,t)=>t in e||t in ps}):e.proxy}function hi(e,t,a){try{Vo(-1);let r=arguments.length;return 2===r?St(t)&&!vt(t)?Wo(t)?qs(e,null,[t]):qs(e,t):qs(e,null,t):(r>3?a=Array.prototype.slice.call(arguments,2):3===r&&Wo(a)&&(a=[a]),qs(e,t,a))}finally{Vo(1)}}var mi,fi,gi,vi,bi,yi,Oi,xi,wi,ki,Si,Ai,_i,Ti,Ei,Ci,Pi,Mi,$i,Ni,Ii,Ri,Di,Li,Bi,ji,Ui,zi,Hi,Zi,Vi,Qi,qi,Fi,Wi,Xi,Gi,Yi,Ki,Ji,es,ts,as,rs,ns,os,is,ss,ls,cs,us,ds,ps,hs,ms,fs,gs,vs,bs,ys,Os,xs,ws,ks,Ss,As,_s,Ts,Es,Cs,Ps,Ms,$s,Ns,Is,Rs,Ds,Ls,Bs,js,Us,zs,Hs,Zs,Vs,Qs,qs,Fs,Ws,Xs,Gs,Ys,Ks,Js,el,tl,al,rl,nl,ol,il,sl=V(()=>{Gr(),ta(),mi=[],fi=-1,gi=[],vi=null,bi=0,yi=Promise.resolve(),Oi=null,xi=e=>null==e.id?2&e.flags?-1:1/0:e.id,wi=null,ki=null,Si=Symbol.for("v-scx"),Ai=()=>hn(Si),_i=Symbol("_vte"),Ti=e=>e.__isTeleport,Ei=e=>e&&(e.disabled||""===e.disabled),Ci=e=>e&&(e.defer||""===e.defer),Pi=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Mi=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,$i=(e,t)=>{let a=e&&e.to;return wt(a)?t?t(a):null:a},Ni={name:"Teleport",__isTeleport:!0,process(e,t,a,r,n,o,i,s,l,c){let{mc:u,pc:d,pbc:p,o:{insert:h,querySelector:m,createText:f,createComment:g}}=c,v=Ei(t.props),{shapeFlag:b,children:y,dynamicChildren:O}=t;if(null==e){let e=t.el=f(""),c=t.anchor=f("");h(e,a,r),h(c,a,r);let d=(e,t)=>{16&b&&u(y,e,t,n,o,i,s,l)},p=()=>{let e=t.target=$i(t.props,m),a=wn(e,t,f,h);e&&("svg"!==i&&Pi(e)?i="svg":"mathml"!==i&&Mi(e)&&(i="mathml"),n&&n.isCE&&(n.ce._teleportTargets||(n.ce._teleportTargets=new Set)).add(e),v||(d(e,a),xn(t,!1)))};v&&(d(a,c),xn(t,!0)),Ci(t.props)?(t.el.__isMounted=!1,Rs(()=>{p(),delete t.el.__isMounted},o)):p()}else{if(Ci(t.props)&&!1===e.el.__isMounted)return void Rs(()=>{Ni.process(e,t,a,r,n,o,i,s,l,c)},o);t.el=e.el,t.targetStart=e.targetStart;let u=t.anchor=e.anchor,h=t.target=e.target,f=t.targetAnchor=e.targetAnchor,g=Ei(e.props),b=g?a:h,y=g?u:f;if("svg"===i||Pi(h)?i="svg":("mathml"===i||Mi(h))&&(i="mathml"),O?(p(e.dynamicChildren,O,b,n,o,i,s),Bo(e,t,!0)):l||d(e,t,b,y,n,o,i,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):yn(t,a,u,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=t.target=$i(t.props,m);e&&yn(t,e,null,c,0)}else g&&yn(t,h,f,c,1);xn(t,v)}},remove(e,t,a,{um:r,o:{remove:n}},o){let{shapeFlag:i,children:s,anchor:l,targetStart:c,targetAnchor:u,target:d,props:p}=e;if(d&&(n(c),n(u)),o&&n(l),16&i){let e=o||!Ei(p);for(let n=0;n<s.length;n++){let o=s[n];r(o,t,a,e,!!o.dynamicChildren)}}},move:yn,hydrate:On},Ii=Ni,Ri=Symbol("_leaveCb"),Di=Symbol("_enterCb"),Li=[Function,Array],Bi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Li,onEnter:Li,onAfterEnter:Li,onEnterCancelled:Li,onBeforeLeave:Li,onLeave:Li,onAfterLeave:Li,onLeaveCancelled:Li,onBeforeAppear:Li,onAppear:Li,onAfterAppear:Li,onAppearCancelled:Li},ji=e=>{let t=e.subTree;return t.component?ji(t.component):t},Ui={name:"BaseTransition",props:Bi,setup(e,{slots:t}){let a=Gs(),r=function(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ts(()=>{e.isMounted=!0}),ns(()=>{e.isUnmounting=!0}),e}();return()=>{let n=t.default&&Cn(t.default(),!0);if(!n||!n.length)return;let o=kn(n),i=Ua(e),{mode:s}=i;if(r.isLeaving)return _n(o);let l=Tn(o);if(!l)return _n(o);let c=An(l,i,r,a,e=>c=e);l.type!==js&&En(l,c);let u=a.subTree&&Tn(a.subTree);if(u&&u.type!==js&&!Xo(u,l)&&ji(a).type!==js){let e=An(u,i,r,a);if(En(u,e),"out-in"===s&&l.type!==js)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&a.job.flags||a.update(),delete e.afterLeave,u=void 0},_n(o);"in-out"===s&&l.type!==js?e.delayLeave=(e,t,a)=>{Sn(r,u)[String(u.key)]=u,e[Ri]=()=>{t(),e[Ri]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{a(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return o}}},zi=Ui,Hi=new WeakMap,Zi=!1,Vi=()=>{Zi||=(console.error("Hydration completed but contains mismatches."),!0)},Qi=e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName,qi=e=>e.namespaceURI.includes("MathML"),Fi=e=>{if(1===e.nodeType){if(Qi(e))return"svg";if(qi(e))return"mathml"}},Wi=e=>8===e.nodeType,Xi="data-allow-mismatch",Gi={0:"text",1:"children",2:"class",3:"style",4:"attribute"},Qt().requestIdleCallback,Qt().cancelIdleCallback,Yi=e=>!!e.type.__asyncLoader,Ki=e=>e.type.__isKeepAlive,Ji=e=>(t,a=Xs)=>{(!tl||"sp"===e)&&Qn(e,(...e)=>t(...e),a)},es=Ji("bm"),ts=Ji("m"),as=Ji("bu"),rs=Ji("u"),ns=Ji("bum"),os=Ji("um"),is=Ji("sp"),ss=Ji("rtg"),ls=Ji("rtc"),cs="components",us=Symbol.for("v-ndc"),ds=e=>e?li(e)?pi(e):ds(e.parent):null,ps=ht(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ds(e.parent),$root:e=>ds(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>uo(e),$forceUpdate:e=>e.f||=()=>{tn(e.update)},$nextTick:e=>e.n||=en.bind(e.proxy),$watch:e=>vn.bind(e)}),hs=(e,t)=>e!==st&&!e.__isScriptSetup&&gt(e,t),ms={get({_:e},t){if("__v_skip"===t)return!0;let{ctx:a,setupState:r,data:n,props:o,accessCache:i,type:s,appContext:l}=e;if("$"!==t[0]){let e=i[t];if(void 0!==e)switch(e){case 1:return r[t];case 2:return n[t];case 4:return a[t];case 3:return o[t]}else{if(hs(r,t))return i[t]=1,r[t];if(n!==st&&gt(n,t))return i[t]=2,n[t];if(gt(o,t))return i[t]=3,o[t];if(a!==st&&gt(a,t))return i[t]=4,a[t];fs&&(i[t]=0)}}let c,u,d=ps[t];return d?("$attrs"===t&&va(e.attrs,0,""),d(e)):(c=s.__cssModules)&&(c=c[t])?c:a!==st&&gt(a,t)?(i[t]=4,a[t]):(u=l.config.globalProperties,gt(u,t)?u[t]:void 0)},set({_:e},t,a){let{data:r,setupState:n,ctx:o}=e;return hs(n,t)?(n[t]=a,!0):r!==st&&gt(r,t)?(r[t]=a,!0):!(gt(e.props,t)||"$"===t[0]&&t.slice(1)in e)&&(o[t]=a,!0)},has({_:{data:e,setupState:t,accessCache:a,ctx:r,appContext:n,props:o,type:i}},s){let l;return!!(a[s]||e!==st&&"$"!==s[0]&&gt(e,s)||hs(t,s)||gt(o,s)||gt(r,s)||gt(ps,s)||gt(n.config.globalProperties,s)||(l=i.__cssModules)&&l[s])},defineProperty(e,t,a){return null==a.get?gt(a,"value")&&this.set(e,t,a.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,a)}},fs=!0,gs={data:ho,props:bo,emits:bo,methods:vo,computed:vo,beforeCreate:go,created:go,beforeMount:go,mounted:go,beforeUpdate:go,updated:go,beforeDestroy:go,beforeUnmount:go,destroyed:go,unmounted:go,activated:go,deactivated:go,errorCaptured:go,serverPrefetch:go,components:vo,directives:vo,watch:yo,provide:ho,inject:mo},vs=0,bs=null,ys=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${It(t)}Modifiers`]||e[`${Dt(t)}Modifiers`],Os=new WeakMap,xs=e=>{let t;for(let a in e)("class"===a||"style"===a||dt(a))&&((t||={})[a]=e[a]);return t},ws=(e,t)=>{let a={};for(let r in e)(!pt(r)||!(r.slice(9)in t))&&(a[r]=e[r]);return a},ks={},Ss=()=>Object.create(ks),As=e=>Object.getPrototypeOf(e)===ks,_s=new WeakMap,Ts=e=>"_"===e||"_ctx"===e||"$stable"===e,Es=e=>vt(e)?e.map(ri):[ri(e)],Cs=(e,t,a)=>{if(t._n)return t;let r=cn((...e)=>Es(t(...e)),a);return r._c=!1,r},Ps=(e,t,a)=>{let r=e._ctx;for(let a in e){if(Ts(a))continue;let n=e[a];if(xt(n))t[a]=Cs(0,n,r);else if(null!=n){let e=Es(n);t[a]=()=>e}}},Ms=(e,t)=>{let a=Es(t);e.slots.default=()=>a},$s=(e,t,a)=>{for(let r in t)(a||!Ts(r))&&(e[r]=t[r])},Ns=(e,t,a)=>{let r=e.slots=Ss();if(32&e.vnode.shapeFlag){let e=t._;e?($s(r,t,a),a&&zt(r,"_",e,!0)):Ps(t,r)}else t&&Ms(e,t)},Is=(e,t,a)=>{let{vnode:r,slots:n}=e,o=!0,i=st;if(32&r.shapeFlag){let e=t._;e?a&&1===e?o=!1:$s(n,t,a):(o=!t.$stable,Ps(t,n)),i=t}else t&&(Ms(e,t),i={default:1});if(o)for(let e in n)!Ts(e)&&null==i[e]&&delete n[e]},Rs=Ho,Ds=e=>e.__isSuspense,Ls=Symbol.for("v-fgt"),Bs=Symbol.for("v-txt"),js=Symbol.for("v-cmt"),Us=Symbol.for("v-stc"),zs=[],Hs=null,Zs=1,Vs=({key:e})=>e??null,Qs=({ref:e,ref_key:t,ref_for:a})=>("number"==typeof e&&(e=""+e),null==e?null:wt(e)||Ha(e)||xt(e)?{i:wi,r:e,k:t,f:!!a}:e),qs=Yo,Fs=Oo(),Ws=0,Xs=null,Gs=()=>Xs||wi;{let e=Qt(),t=(t,a)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(a),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Ys=t("__VUE_INSTANCE_SETTERS__",e=>Xs=e),Ks=t("__VUE_SSR_SETTERS__",e=>tl=e)}Js=e=>{let t=Xs;return Ys(e),e.scope.on(),()=>{e.scope.off(),Ys(t)}},el=()=>{Xs&&Xs.scope.off(),Ys(null)},tl=!1,nl={get:(e,t)=>(va(e,0,""),e[t])},ol=(e,t)=>function(e,t,a=!1){let r,n;return xt(e)?r=e:(r=e.get,n=e.set),new qr(r,n,a)}(e,0,tl),il="3.5.30"});function ll(e){let t={};for(let a in e)a in Fl||(t[a]=e[a]);if(!1===e.css)return t;let{name:a="v",type:r,duration:n,enterFromClass:o=`${a}-enter-from`,enterActiveClass:i=`${a}-enter-active`,enterToClass:s=`${a}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:d=`${a}-leave-from`,leaveActiveClass:p=`${a}-leave-active`,leaveToClass:h=`${a}-leave-to`}=e,m=function(e){if(null==e)return null;if(St(e))return[cl(e.enter),cl(e.leave)];{let t=cl(e);return[t,t]}}(n),f=m&&m[0],g=m&&m[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:y,onLeave:O,onLeaveCancelled:x,onBeforeAppear:w=v,onAppear:k=b,onAppearCancelled:S=y}=t,A=(e,t,a,r)=>{e._enterCancelled=r,dl(e,t?u:s),dl(e,t?c:i),a&&a()},_=(e,t)=>{e._isLeaving=!1,dl(e,d),dl(e,h),dl(e,p),t&&t()},T=e=>(t,a)=>{let n=e?k:b,i=()=>A(t,e,a);Yl(n,[t,i]),pl(()=>{dl(t,e?l:o),ul(t,e?u:s),Kl(n)||hl(t,r,f,i)})};return ht(t,{onBeforeEnter(e){Yl(v,[e]),ul(e,o),ul(e,i)},onBeforeAppear(e){Yl(w,[e]),ul(e,l),ul(e,c)},onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;let a=()=>_(e,t);ul(e,d),e._enterCancelled?(ul(e,p),gl(e)):(gl(e),ul(e,p)),pl(()=>{e._isLeaving&&(dl(e,d),ul(e,h),Kl(O)||hl(e,r,g,a))}),Yl(O,[e,a])},onEnterCancelled(e){A(e,!1,void 0,!0),Yl(y,[e])},onAppearCancelled(e){A(e,!0,void 0,!0),Yl(S,[e])},onLeaveCancelled(e){_(e),Yl(x,[e])}})}function cl(e){return Zt(e)}function ul(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[ql]||(e[ql]=new Set)).add(t)}function dl(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let a=e[ql];a&&(a.delete(t),a.size||(e[ql]=void 0))}function pl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}function hl(e,t,a,r){let n=e._endId=++Jl,o=()=>{n===e._endId&&r()};if(null!=a)return setTimeout(o,a);let{type:i,timeout:s,propCount:l}=function(e,t){let a=window.getComputedStyle(e),r=e=>(a[e]||"").split(", "),n=r(`${Vl}Delay`),o=r(`${Vl}Duration`),i=ml(n,o),s=r(`${Ql}Delay`),l=r(`${Ql}Duration`),c=ml(s,l),u=null,d=0,p=0;t===Vl?i>0&&(u=Vl,d=i,p=o.length):t===Ql?c>0&&(u=Ql,d=c,p=l.length):(d=Math.max(i,c),u=d>0?i>c?Vl:Ql:null,p=u?u===Vl?o.length:l.length:0);let h=u===Vl&&/\b(?:transform|all)(?:,|$)/.test(r(`${Vl}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:h}}(e,t);if(!i)return r();let c=i+"end",u=0,d=()=>{e.removeEventListener(c,p),o()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},s+1),e.addEventListener(c,p)}function ml(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,a)=>fl(t)+fl(e[a])))}function fl(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function gl(e){return(e?e.ownerDocument:document).body.offsetHeight}function vl(e,t){e.style.display=t?e[ec]:"none",e[tc]=!t}function bl(e){let t=Gs();if(!t)return;let a=t.ut=(a=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>Ol(e,a))},r=()=>{let r=e(t.proxy);t.ce?Ol(t.ce,r):yl(t.subTree,r),a(r)};as(()=>{rn(r)}),ts(()=>{fn(r,ct,{flush:"post"});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),os(()=>e.disconnect())})}function yl(e,t){if(128&e.shapeFlag){let a=e.suspense;e=a.activeBranch,a.pendingBranch&&!a.isHydrating&&a.effects.push(()=>{yl(a.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Ol(e.el,t);else if(e.type===Ls)e.children.forEach(e=>yl(e,t));else if(e.type===Us){let{el:a,anchor:r}=e;for(;a&&(Ol(a,t),a!==r);)a=a.nextSibling}}function Ol(e,t){if(1===e.nodeType){let a=e.style,r="";for(let e in t){let n=it(t[e]);a.setProperty(`--${e}`,n),r+=`--${e}: ${n};`}a[rc]=r}}function xl(e,t,a){if(vt(a))a.forEach(a=>xl(e,t,a));else if(a??="",t.startsWith("--"))e.setProperty(t,a);else{let r=function(e,t){let a=sc[t];if(a)return a;let r=It(t);if("filter"!==r&&r in e)return sc[t]=r;r=Lt(r);for(let a=0;a<ic.length;a++){let n=ic[a]+r;if(n in e)return sc[t]=n}return t}(e,t);oc.test(a)?e.setProperty(Dt(r),a.replace(oc,""),"important"):e[r]=a}}function wl(e,t,a,r,n,o=Gt(t)){r&&t.startsWith("xlink:")?null==a?e.removeAttributeNS(lc,t.slice(6,t.length)):e.setAttributeNS(lc,t,a):null==a||o&&!rt(a)?e.removeAttribute(t):e.setAttribute(t,o?"":kt(a)?String(a):a)}function kl(e,t,a,r,n){if("innerHTML"===t||"textContent"===t)return void(null!=a&&(e[t]="innerHTML"===t?Ul(a):a));let o=e.tagName;if("value"===t&&"PROGRESS"!==o&&!o.includes("-")){let r="OPTION"===o?e.getAttribute("value")||"":e.value,n=null==a?"checkbox"===e.type?"on":"":String(a);return(r!==n||!("_value"in e))&&(e.value=n),a??e.removeAttribute(t),void(e._value=a)}let i=!1;if(""===a||null==a){let r=typeof e[t];"boolean"===r?a=rt(a):null==a&&"string"===r?(a="",i=!0):"number"===r&&(a=0,i=!0)}try{e[t]=a}catch{}i&&e.removeAttribute(n||t)}function Sl(e,t,a,r){e.addEventListener(t,a,r)}function Al(e,t,a,r,n=null){let o=e[cc]||(e[cc]={}),i=o[t];if(r&&i)i.value=r;else{let[a,s]=function(e){let t;if(uc.test(e)){let a;for(t={};a=e.match(uc);)e=e.slice(0,e.length-a[0].length),t[a[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):Dt(e.slice(2)),t]}(t);r?Sl(e,a,o[t]=function(e,t){let a=e=>{if(e._vts){if(e._vts<=a.attached)return}else e._vts=Date.now();Kr(function(e,t){if(vt(t)){let a=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{a.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}(e,a.value),t,5,[e])};return a.value=e,a.attached=hc(),a}(r,n),s):i&&(function(e,t,a,r){e.removeEventListener(t,a,r)}(e,a,i,s),o[t]=void 0)}}function _l(e){e.target.composing=!0}function Tl(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}function El(e,t,a){return t&&(e=e.trim()),a&&(e=Ht(e)),e}function Cl(e,{value:t,oldValue:a},r){let n;if(e._modelValue=t,vt(t))n=ot(t,r.props.value)>-1;else if(yt(t))n=t.has(r.props.value);else{if(t===a)return;n=nt(t,$l(e,!0))}e.checked!==n&&(e.checked=n)}function Pl(e,t){let a=e.multiple,r=vt(t);if(!a||r||yt(t)){for(let n=0,o=e.options.length;n<o;n++){let o=e.options[n],i=Ml(o);if(a)if(r){let e=typeof i;o.selected="string"===e||"number"===e?t.some(e=>String(e)===String(i)):ot(t,i)>-1}else o.selected=t.has(i);else if(nt(Ml(o),t))return void(e.selectedIndex!==n&&(e.selectedIndex=n))}!a&&-1!==e.selectedIndex&&(e.selectedIndex=-1)}}function Ml(e){return"_value"in e?e._value:e.value}function $l(e,t){let a=t?"_trueValue":"_falseValue";return a in e?e[a]:t}function Nl(e,t,a,r,n){let o=function(e,t){switch(e){case"SELECT":return xc;case"TEXTAREA":return bc;default:switch(t){case"checkbox":return yc;case"radio":return Oc;default:return bc}}}(e.tagName,a.props&&a.props.type)[n];o&&o(e,t,a,r)}function Il(){return Cc||=function(e){return Io(e)}(Ec)}function Rl(){return Cc=Pc?Cc:function(e){return Io(e,Ln)}(Ec),Pc=!0,Cc}function Dl(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function Ll(e){return wt(e)?document.querySelector(e):e}var Bl,jl,Ul,zl,Hl,Zl,Vl,Ql,ql,Fl,Wl,Xl,Gl,Yl,Kl,Jl,ec,tc,ac,rc,nc,oc,ic,sc,lc,cc,uc,dc,pc,hc,mc,fc,gc,vc,bc,yc,Oc,xc,wc,kc,Sc,Ac,_c,Tc,Ec,Cc,Pc,Mc,$c,Nc,Ic=V(()=>{if(sl(),sl(),ta(),Bl=void 0,jl=typeof window<"u"&&window.trustedTypes)try{Bl=jl.createPolicy("vue",{createHTML:e=>e})}catch{}Ul=Bl?e=>Bl.createHTML(e):e=>e,zl=typeof document<"u"?document:null,Hl=zl&&zl.createElement("template"),Zl={insert:(e,t,a)=>{t.insertBefore(e,a||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,a,r)=>{let n="svg"===t?zl.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?zl.createElementNS("http://www.w3.org/1998/Math/MathML",e):a?zl.createElement(e,{is:a}):zl.createElement(e);return"select"===e&&r&&null!=r.multiple&&n.setAttribute("multiple",r.multiple),n},createText:e=>zl.createTextNode(e),createComment:e=>zl.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>zl.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,a,r,n,o){let i=a?a.previousSibling:t.lastChild;if(n&&(n===o||n.nextSibling))for(;t.insertBefore(n.cloneNode(!0),a),n!==o&&(n=n.nextSibling););else{Hl.innerHTML=Ul("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e);let n=Hl.content;if("svg"===r||"mathml"===r){let e=n.firstChild;for(;e.firstChild;)n.appendChild(e.firstChild);n.removeChild(e)}t.insertBefore(n,a)}return[i?i.nextSibling:t.firstChild,a?a.previousSibling:t.lastChild]}},Vl="transition",Ql="animation",ql=Symbol("_vtc"),Fl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Wl=ht({},Bi,Fl),Xl=e=>(e.displayName="Transition",e.props=Wl,e),Gl=Xl((e,{slots:t})=>hi(zi,ll(e),t)),Yl=(e,t=[])=>{vt(e)?e.forEach(e=>e(...t)):e&&e(...t)},Kl=e=>!!e&&(vt(e)?e.some(e=>e.length>1):e.length>1),Jl=0,ec=Symbol("_vod"),tc=Symbol("_vsh"),ac={name:"show",beforeMount(e,{value:t},{transition:a}){e[ec]="none"===e.style.display?"":e.style.display,a&&t?a.beforeEnter(e):vl(e,t)},mounted(e,{value:t},{transition:a}){a&&t&&a.enter(e)},updated(e,{value:t,oldValue:a},{transition:r}){!t!=!a&&(r?t?(r.beforeEnter(e),vl(e,!0),r.enter(e)):r.leave(e,()=>{vl(e,!1)}):vl(e,t))},beforeUnmount(e,{value:t}){vl(e,t)}},rc=Symbol(""),nc=/(?:^|;)\s*display\s*:/,oc=/\s*!important$/,ic=["Webkit","Moz","ms"],sc={},lc="http://www.w3.org/1999/xlink",cc=Symbol("_vei"),uc=/(?:Once|Passive|Capture)$/,dc=0,pc=Promise.resolve(),hc=()=>dc||=(pc.then(()=>dc=0),Date.now()),mc=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,fc=(e,t,a,r,n,o)=>{let i="svg"===n;"class"===t?function(e,t,a){let r=e[ql];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):a?e.setAttribute("class",t):e.className=t}(e,r,i):"style"===t?function(e,t,a){let r=e.style,n=wt(a),o=!1;if(a&&!n){if(t)if(wt(t))for(let e of t.split(";")){let t=e.slice(0,e.indexOf(":")).trim();a[t]??xl(r,t,"")}else for(let e in t)a[e]??xl(r,e,"");for(let e in a)"display"===e&&(o=!0),xl(r,e,a[e])}else if(n){if(t!==a){let e=r[rc];e&&(a+=";"+e),r.cssText=a,o=nc.test(a)}}else t&&e.removeAttribute("style");ec in e&&(e[ec]=o?r.display:"",e[tc]&&(r.display="none"))}(e,a,r):dt(t)?pt(t)||Al(e,t,0,r,o):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,a,r){if(r)return!!("innerHTML"===t||"textContent"===t||t in e&&mc(t)&&xt(a));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t||"sandbox"===t&&"IFRAME"===e.tagName||"form"===t||"list"===t&&"INPUT"===e.tagName||"type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){let t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!mc(t)||!wt(a))&&t in e}(e,t,r,i))?(kl(e,t,r),!e.tagName.includes("-")&&("value"===t||"checked"===t||"selected"===t)&&wl(e,t,r,i,0,"value"!==t)):e._isVueCE&&(function(e,t){let a=e._def.props;if(!a)return!1;let r=It(t);return Array.isArray(a)?a.some(e=>It(e)===r):Object.keys(a).some(e=>It(e)===r)}(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!wt(r)))?kl(e,It(t),r,0,t):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),wl(e,t,r,i))},gc=e=>{let t=e.props["onUpdate:modelValue"]||!1;return vt(t)?e=>Ut(t,e):t},vc=Symbol("_assign"),bc={created(e,{modifiers:{lazy:t,trim:a,number:r}},n){e[vc]=gc(n);let o=r||n.props&&"number"===n.props.type;Sl(e,t?"change":"input",t=>{t.target.composing||e[vc](El(e.value,a,o))}),(a||o)&&Sl(e,"change",()=>{e.value=El(e.value,a,o)}),t||(Sl(e,"compositionstart",_l),Sl(e,"compositionend",Tl),Sl(e,"change",Tl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:a,modifiers:{lazy:r,trim:n,number:o}},i){if(e[vc]=gc(i),e.composing)return;let s=t??"";(!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:Ht(e.value))!==s&&(document.activeElement===e&&"range"!==e.type&&(r&&t===a||n&&e.value.trim()===s)||(e.value=s))}},yc={deep:!0,created(e,t,a){e[vc]=gc(a),Sl(e,"change",()=>{let t=e._modelValue,a=Ml(e),r=e.checked,n=e[vc];if(vt(t)){let e=ot(t,a),o=-1!==e;if(r&&!o)n(t.concat(a));else if(!r&&o){let a=[...t];a.splice(e,1),n(a)}}else if(yt(t)){let e=new Set(t);r?e.add(a):e.delete(a),n(e)}else n($l(e,r))})},mounted:Cl,beforeUpdate(e,t,a){e[vc]=gc(a),Cl(e,t,a)}},Oc={created(e,{value:t},a){e.checked=nt(t,a.props.value),e[vc]=gc(a),Sl(e,"change",()=>{e[vc](Ml(e))})},beforeUpdate(e,{value:t,oldValue:a},r){e[vc]=gc(r),t!==a&&(e.checked=nt(t,r.props.value))}},xc={deep:!0,created(e,{value:t,modifiers:{number:a}},r){let n=yt(t);Sl(e,"change",()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>a?Ht(Ml(e)):Ml(e));e[vc](e.multiple?n?new Set(t):t:t[0]),e._assigning=!0,en(()=>{e._assigning=!1})}),e[vc]=gc(r)},mounted(e,{value:t}){Pl(e,t)},beforeUpdate(e,t,a){e[vc]=gc(a)},updated(e,{value:t}){e._assigning||Pl(e,t)}},wc={created(e,t,a){Nl(e,t,a,null,"created")},mounted(e,t,a){Nl(e,t,a,null,"mounted")},beforeUpdate(e,t,a,r){Nl(e,t,a,r,"beforeUpdate")},updated(e,t,a,r){Nl(e,t,a,r,"updated")}},kc=["ctrl","shift","alt","meta"],Sc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>kc.some(a=>e[`${a}Key`]&&!t.includes(a))},Ac=(e,t)=>{if(!e)return e;let a=e._withMods||={},r=t.join(".");return a[r]||(a[r]=(a,...r)=>{for(let e=0;e<t.length;e++){let r=Sc[t[e]];if(r&&r(a,t))return}return e(a,...r)})},_c={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Tc=(e,t)=>{let a=e._withKeys||={},r=t.join(".");return a[r]||(a[r]=a=>{if(!("key"in a))return;let r=Dt(a.key);return t.some(e=>e===r||_c[e]===r)?e(a):void 0})},Ec=ht({patchProp:fc},Zl),Pc=!1,Mc=(...e)=>{Il().render(...e)},$c=(...e)=>{let t=Il().createApp(...e),{mount:a}=t;return t.mount=e=>{let r=Ll(e);if(!r)return;let n=t._component;!xt(n)&&!n.render&&!n.template&&(n.template=r.innerHTML),1===r.nodeType&&(r.textContent="");let o=a(r,!1,Dl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Nc=(...e)=>{let t=Rl().createApp(...e),{mount:a}=t;return t.mount=e=>{let t=Ll(e);if(t)return a(t,!0,Dl(t))},t}}),Rc=V(()=>{Ic()});Rc();var Dc=(e,t)=>Ha(t)?Wa(t):t;Rc();var Lc="usehead";function Bc(){if(Gs()||bs){let e=hn(Lc);if(e)return e}throw Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function jc(e,t={}){let a=t.head||Bc();return a.ssr?a.push(e||{},t):function(e,t,a={}){let r,n=Za(!1);return mn(()=>{let o=n.value?{}:Ae(t,Dc);r?r.patch(o):r=e.push(o,a)}),Gs()&&(ns(()=>{r.dispose()}),Hn(()=>{n.value=!0}),zn(()=>{n.value=!1})),r}(a,e,t)}function Uc(e={}){let t=function(e={}){let t=e.domOptions?.render||Be;e.document=e.document||(typeof window<"u"?document:void 0);let a=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Le({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[!!a&&JSON.parse(a),...e.init||[]]})}({domOptions:{render:je(()=>Be(t),e=>setTimeout(e,0))},...e});return t.install=function(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Lc,e)}}.install}(t),t}function zc(e,t,a){let r,n=a.initialDeps??[];return()=>{var o;let i;a.key&&a.debug?.call(a)&&(i=Date.now());let s,l=e();if(l.length===n.length&&!l.some((e,t)=>n[t]!==e))return r;if(n=l,a.key&&a.debug?.call(a)&&(s=Date.now()),r=t(...l),a.key&&a.debug?.call(a)){let e=Math.round(100*(Date.now()-i))/100,t=Math.round(100*(Date.now()-s))/100,r=t/16,n=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${n(t,5)} /${n(e,5)} ms`,`\n            font-size: .6rem;\n            font-weight: bold;\n            color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,a?.key)}return null==(o=a?.onChange)||o.call(a,r),r}}function Hc(e,t){if(void 0===e)throw Error("Unexpected undefined"+(t?`: ${t}`:""));return e}var Zc,Vc,Qc=V(()=>{Zc=(e,t)=>Math.abs(e-t)<1,Vc=(e,t,a)=>{let r;return function(...n){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,n),a)}}});var qc,Fc,Wc,Xc,Gc,Yc,Kc,Jc,eu,tu,au=V(()=>{Qc(),qc=e=>e,Fc=e=>{let t=Math.max(e.startIndex-e.overscan,0),a=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let e=t;e<=a;e++)r.push(e);return r},Wc=(e,t)=>{let a=e.scrollElement;if(!a)return;let r=e.targetWindow;if(!r)return;let n=e=>{let{width:a,height:r}=e;t({width:Math.round(a),height:Math.round(r)})};if(n(a.getBoundingClientRect()),!r.ResizeObserver)return()=>{};let o=new r.ResizeObserver(e=>{let t=e[0];if(t?.borderBoxSize){let e=t.borderBoxSize[0];if(e)return void n({width:e.inlineSize,height:e.blockSize})}n(a.getBoundingClientRect())});return o.observe(a,{box:"border-box"}),()=>{o.unobserve(a)}},Xc={passive:!0},Gc=typeof window>"u"||"onscrollend"in window,Yc=(e,t)=>{let a=e.scrollElement;if(!a)return;let r=e.targetWindow;if(!r)return;let n=0,o=Gc?()=>{}:Vc(r,()=>{t(n,!1)},e.options.isScrollingResetDelay),i=r=>()=>{n=a[e.options.horizontal?"scrollLeft":"scrollTop"],o(),t(n,r)},s=i(!0),l=i(!1);return l(),a.addEventListener("scroll",s,Xc),a.addEventListener("scrollend",l,Xc),()=>{a.removeEventListener("scroll",s),a.removeEventListener("scrollend",l)}},Kc=(e,t,a)=>{if(t?.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[a.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[a.options.horizontal?"width":"height"])},Jc=(e,{adjustments:t=0,behavior:a},r)=>{var n,o;let i=e+t;null==(o=(n=r.scrollElement)?.scrollTo)||o.call(n,{[r.options.horizontal?"left":"top"]:i,behavior:a})},eu=class{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{this._measureElement(e.target,e)})}):null);return{disconnect:()=>t()?.disconnect(),observe:e=>t()?.observe(e,{box:"border-box"}),unobserve:e=>t()?.unobserve(e)}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,a])=>{void 0===a&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:qc,rangeExtractor:Fc,onChange:()=>{},measureElement:Kc,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,...e}},this.notify=(e,t)=>{var a,r;let{startIndex:n,endIndex:o}=this.range??{startIndex:void 0,endIndex:void 0},i=this.calculateRange();(e||n!==i?.startIndex||o!==i?.endIndex)&&(null==(r=(a=this.options).onChange)||r.call(a,this,t))},this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.observer.disconnect(),this.elementsCache.clear()},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{let e=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==e){if(this.cleanup(),!e)return void this.notify(!1,!1);this.scrollElement=e,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=this.scrollElement?.window??null,this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.notify(!1,!1)})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e;let a=this.isScrolling;this.isScrolling=t,this.notify(a!==t,t)}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{let a=new Map,r=new Map;for(let n=t-1;n>=0;n--){let t=e[n];if(a.has(t.lane))continue;let o=r.get(t.lane);if(null==o||t.end>o.end?r.set(t.lane,t):t.end<o.end&&a.set(t.lane,!0),a.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=zc(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,t,a,r,n)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:a,getItemKey:r,enabled:n}),{key:!1}),this.getMeasurements=zc(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:a,getItemKey:r,enabled:n},o)=>{if(!n)return this.measurementsCache=[],this.itemSizeCache.clear(),[];0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let i=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let s=this.measurementsCache.slice(0,i);for(let n=i;n<e;n++){let e=this.measurementsCache[n]?.measureElement;e||=e=>{let t=r(n),a=this.elementsCache.get(t);e?(a!==e&&(a&&this.observer.unobserve(a),this.observer.observe(e),this.elementsCache.set(t,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,void 0,this))):a&&(this.observer.unobserve(a),this.elementsCache.delete(t))};let i=r(n),l=1===this.options.lanes?s[n-1]:this.getFurthestMeasurement(s,n),c=l?l.end+this.options.gap:t+a,u=o.get(i),d="number"==typeof u?u:this.options.estimateSize(n),p=c+d,h=l?l.lane:n%this.options.lanes;s[n]={index:n,start:c,size:d,end:p,key:i,lane:h,measureElement:e}}return this.measurementsCache=s,s},{key:!1,debug:()=>this.options.debug}),this.calculateRange=zc(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,t,a)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:a}){let r=e.length-1,n=tu(0,r,t=>e[t].start,a),o=n;for(;o<r&&e[o].end<a+t;)o++;return{startIndex:n,endIndex:o}}({measurements:e,outerSize:t,scrollOffset:a}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=zc(()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count],(e,t,a,r)=>null===t?[]:e({startIndex:t.startIndex,endIndex:t.endIndex,overscan:a,count:r}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,a=e.getAttribute(t);return a?parseInt(a,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{let a=this.indexFromElement(e),r=this.getMeasurements()[a];if(!r||!e.isConnected)return void this.elementsCache.forEach((t,a)=>{t===e&&(this.observer.unobserve(e),this.elementsCache.delete(a))});let n=this.elementsCache.get(r.key);n!==e&&(n&&this.observer.unobserve(n),this.observer.observe(e),this.elementsCache.set(r.key,e)),this.resizeItem(a,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{let a=this.getMeasurements()[e];if(!a)return;let r=t-(this.itemSizeCache.get(a.key)??a.size);0!==r&&((void 0===this.shouldAdjustScrollPositionOnItemSizeChange?a.start<this.getScrollOffset()+this.scrollAdjustments:this.shouldAdjustScrollPositionOnItemSizeChange(a,r,this))&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=r,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(a.index),this.itemSizeCache=new Map(this.itemSizeCache.set(a.key,t)),this.notify(!0,!1))},this.measureElement=e=>{e&&this._measureElement(e,void 0)},this.getVirtualItems=zc(()=>[this.getIndexes(),this.getMeasurements()],(e,t)=>{let a=[];for(let r=0,n=e.length;r<n;r++){let n=t[e[r]];a.push(n)}return a},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0!==t.length)return Hc(t[tu(0,t.length-1,e=>Hc(t[e]).start,e)])},this.getOffsetForAlignment=(e,t)=>{let a=this.getSize(),r=this.getScrollOffset();"auto"===t&&(t=e<=r?"start":e>=r+a?"end":"start"),"start"===t||("end"===t?e-=a:"center"===t&&(e-=a/2));let n=this.options.horizontal?"scrollWidth":"scrollHeight",o=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[n]:this.scrollElement[n]:0)-a;return Math.max(Math.min(o,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let a=this.getMeasurements()[e];if(!a)return;let r=this.getSize(),n=this.getScrollOffset();if("auto"===t)if(a.end>=n+r-this.options.scrollPaddingEnd)t="end";else{if(!(a.start<=n+this.options.scrollPaddingStart))return[n,t];t="start"}let o="end"===t?a.end+this.options.scrollPaddingEnd:a.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(o,t),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t="start",behavior:a}={})=>{this.cancelScrollToIndex(),"smooth"===a&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:a})},this.scrollToIndex=(e,{align:t="auto",behavior:a}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),"smooth"===a&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let r=this.getOffsetForIndex(e,t);if(!r)return;let[n,o]=r;this._scrollToOffset(n,{adjustments:void 0,behavior:a}),"smooth"!==a&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[t]=Hc(this.getOffsetForIndex(e,o));Zc(t,this.getScrollOffset())||this.scrollToIndex(e,{align:o,behavior:a})}else this.scrollToIndex(e,{align:o,behavior:a})}))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{let e,t=this.getMeasurements();return e=0===t.length?this.options.paddingStart:1===this.options.lanes?t[t.length-1]?.end??0:Math.max(...t.slice(-this.options.lanes).map(e=>e.end)),e-this.options.scrollMargin+this.options.paddingEnd},this._scrollToOffset=(e,{adjustments:t,behavior:a})=>{this.options.scrollToFn(e,{behavior:a,adjustments:t},this)},this.measure=()=>{var e,t;this.itemSizeCache=new Map,null==(t=(e=this.options).onChange)||t.call(e,this,!1)},this.setOptions(e)}},tu=(e,t,a,r)=>{for(;e<=t;){let n=(e+t)/2|0,o=a(n);if(o<r)e=n+1;else{if(!(o>r))return n;t=n-1}}return e>0?e-1:0}});function ru(e){return function(e){let t=new eu(Fa(e)),a=Va(t),r=t._didMount();return fn(()=>Fa(e).getScrollElement(),e=>{e&&t._willUpdate()},{immediate:!0}),fn(()=>Fa(e),e=>{t.setOptions({...e,onChange:(t,r)=>{var n;qa(a),null==(n=e.onChange)||n.call(e,t,r)}}),t._willUpdate(),qa(a)},{immediate:!0}),ra(r),a}(ol(()=>({observeElementRect:Wc,observeElementOffset:Yc,scrollToFn:Jc,...Fa(e)})))}var nu=V(()=>{au(),au(),Rc()});function ou(e,t,a){let r=Za(a?.value),n=ol(()=>void 0!==e.value);return[ol(()=>n.value?e.value:r.value),function(e){return n.value||(r.value=e),t?.(e)}]}var iu=V(()=>{Rc()});function su(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}var lu=V(()=>{});function cu(){let e=[],t={addEventListener:(e,a,r,n)=>(e.addEventListener(a,r,n),t.add(()=>e.removeEventListener(a,r,n))),requestAnimationFrame(...e){let a=requestAnimationFrame(...e);t.add(()=>cancelAnimationFrame(a))},nextFrame(...e){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...e)})},setTimeout(...e){let a=setTimeout(...e);t.add(()=>clearTimeout(a))},microTask(...e){let a={current:!0};return su(()=>{a.current&&e[0]()}),t.add(()=>{a.current=!1})},style(e,t,a){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:a}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=cu();return e(t),this.add(()=>t.dispose())},add:t=>(e.push(t),()=>{let a=e.indexOf(t);if(a>=0)for(let t of e.splice(a,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}var uu=V(()=>{lu()});var du=V(()=>{Rc(),uu()});function pu(){let e=function(){let e=cu();return os(()=>e.dispose()),e}();return t=>{e.dispose(),e.nextFrame(t)}}var hu=V(()=>{du()});var mu,fu,gu,vu=V(()=>{Rc(),mu=Symbol("headlessui.useid"),fu=0,gu=Mn??function(){return hn(mu,()=>""+ ++fu)()}});function bu(e){if(null==e||null==e.value)return null;let t=e.value.$el??e.value;return t instanceof Node?t:null}var yu=V(()=>{});function Ou(e,t,...a){if(e in t){let r=t[e];return"function"==typeof r?r(...a):r}let r=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ou),r}var xu,wu,ku,Su,Au,_u=V(()=>{}),Tu=V(()=>{xu=Object.defineProperty,wu=(e,t,a)=>t in e?xu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,ku=(e,t,a)=>(wu(e,"symbol"==typeof t?t:t+"",a),a),Su=class{constructor(){ku(this,"current",this.detect()),ku(this,"currentId",0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},Au=new Su});function Eu(e){if(Au.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=bu(e);if(t)return t.ownerDocument}return document}var Cu=V(()=>{yu(),Tu()});function Pu(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Du)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}function Mu(e,t=0){return e!==Eu(e)?.body&&Ou(t,{0:()=>e.matches(Du),1(){let t=e;for(;null!==t;){if(t.matches(Du))return!0;t=t.parentElement}return!1}})}function $u(e){let t=Eu(e);en(()=>{t&&!Mu(t.activeElement,0)&&Nu(e)})}function Nu(e){e?.focus({preventScroll:!0})}function Iu(e,t=e=>e){return e.slice().sort((e,a)=>{let r=t(e),n=t(a);if(null===r||null===n)return 0;let o=r.compareDocumentPosition(n);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Ru(e,t,{sorted:a=!0,relativeTo:r=null,skipElements:n=[]}={}){let o=(Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)??document,i=Array.isArray(e)?a?Iu(e):e:Pu(e);n.length>0&&i.length>1&&(i=i.filter(e=>!n.includes(e))),r??=o.activeElement;let s,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,i.indexOf(r))-1;if(4&t)return Math.max(0,i.indexOf(r))+1;if(8&t)return i.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},d=0,p=i.length;do{if(d>=p||d+p<=0)return 0;let e=c+d;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}s=i[e],s?.focus(u),d+=l}while(s!==o.activeElement);return 6&t&&function(e){return(e?.matches)?.call(e,Hu)??!1}(s)&&s.select(),2}var Du,Lu,Bu,ju,Uu,zu,Hu,Zu=V(()=>{Rc(),_u(),Cu(),Du=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Lu=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Lu||{}),Bu=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Bu||{}),ju=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(ju||{}),Uu=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Uu||{}),zu=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(zu||{}),typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0)),Hu=["textarea","input"].join(",")});function Vu(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Qu(){return Vu()||/Android/gi.test(window.navigator.userAgent)}var qu=V(()=>{});function Fu(e,t,a){Au.isServer||mn(r=>{document.addEventListener(e,t,a),r(()=>document.removeEventListener(e,t,a))})}var Wu=V(()=>{Rc(),Tu()});function Xu(e,t,a){Au.isServer||mn(r=>{window.addEventListener(e,t,a),r(()=>window.removeEventListener(e,t,a))})}var Gu=V(()=>{Rc(),Tu()});function Yu(e,t,a=ol(()=>!0)){function r(r,n){if(!a.value||r.defaultPrevented)return;let o=n(r);if(null===o||!o.getRootNode().contains(o))return;let i=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of i){if(null===e)continue;let t=e instanceof HTMLElement?e:bu(e);if(null!=t&&t.contains(o)||r.composed&&r.composedPath().includes(t))return}return!Mu(o,Uu.Loose)&&-1!==o.tabIndex&&r.preventDefault(),t(r,o)}let n=Za(null);Fu("pointerdown",e=>{a.value&&(n.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Fu("mousedown",e=>{a.value&&(n.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Fu("click",e=>{Qu()||(n.value&&=(r(e,()=>n.value),null))},!0),Fu("touchend",e=>r(e,()=>e.target instanceof HTMLElement?e.target:null),!0),Xu("blur",e=>r(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var Ku=V(()=>{Rc(),yu(),Zu(),qu(),Wu(),Gu()});function Ju(e,t){if(e)return e;let a=t??"button";return"string"==typeof a&&"button"===a.toLowerCase()?"button":void 0}function ed(e,t){let a=Za(Ju(e.value.type,e.value.as));return ts(()=>{a.value=Ju(e.value.type,e.value.as)}),mn(()=>{var e;a.value||bu(t)&&bu(t)instanceof HTMLButtonElement&&(null==(e=bu(t))||!e.hasAttribute("type"))&&(a.value="button")}),a}var td=V(()=>{Rc(),yu()});function ad(e){return[e.screenX,e.screenY]}function rd(){let e=Za([-1,-1]);return{wasMoved(t){let a=ad(t);return(e.value[0]!==a[0]||e.value[1]!==a[1])&&(e.value=a,!0)},update(t){e.value=ad(t)}}}var nd=V(()=>{Rc()});function od({container:e,accept:t,walk:a,enabled:r}){mn(()=>{let n=e.value;if(!n||void 0!==r&&!r.value)return;let o=Eu(e);if(!o)return;let i=Object.assign(e=>t(e),{acceptNode:t}),s=o.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,i,!1);for(;s.nextNode();)a(s.currentNode)})}var id=V(()=>{Rc(),Cu()});function sd({visible:e=!0,features:t=0,ourProps:a,theirProps:r,...n}){var o;let i=ud(r,a),s=Object.assign(n,{props:i});return e||2&t&&i.static?ld(s):1&t?Ou(null==(o=i.unmount)||o?0:1,{0:()=>null,1:()=>ld({...n,props:{...i,hidden:!0,style:{display:"none"}}})}):ld(s)}function ld({props:e,attrs:t,slots:a,slot:r,name:n}){let{as:o,...i}=pd(e,["unmount","static"]),s=a.default?.call(a,r),l={};if(r){let e=!1,t=[];for(let[a,n]of Object.entries(r))"boolean"==typeof n&&(e=!0),!0===n&&t.push(a);e&&(l["data-headlessui-state"]=t.join(" "))}if("template"===o){if(s=cd(s??[]),Object.keys(i).length>0||Object.keys(t).length>0){let[e,...a]=s??[];if(!function(e){return null!=e&&("string"==typeof e.type||"object"==typeof e.type||"function"==typeof e.type)}(e)||a.length>0)throw Error(['Passing props on "template"!',"",`The current component <${n} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(i).concat(Object.keys(t)).map(e=>e.trim()).filter((e,t,a)=>a.indexOf(e)===t).sort((e,t)=>e.localeCompare(t)).map(e=>`  - ${e}`).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>`  - ${e}`).join("\n")].join("\n"));let r=ud(e.props??{},i,l),o=Jo(e,r,!0);for(let e in r)e.startsWith("on")&&(o.props||={},o.props[e]=r[e]);return o}return Array.isArray(s)&&1===s.length?s[0]:s}return hi(o,Object.assign({},i,l),{default:()=>s})}function cd(e){return e.flatMap(e=>e.type===Ls?cd(e.children):[e])}function ud(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},a={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(a[e]??(a[e]=[]),a[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(a).map(e=>[e,void 0])));for(let e in a)Object.assign(t,{[e](t,...r){let n=a[e];for(let e of n){if(t instanceof Event&&t.defaultPrevented)return;e(t,...r)}}});return t}function dd(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function pd(e,t=[]){let a=Object.assign({},e);for(let e of t)e in a&&delete a[e];return a}var hd,md,fd,gd,vd=V(()=>{Rc(),_u(),hd=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(hd||{}),md=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(md||{})}),bd=V(()=>{Rc(),vd(),fd=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(fd||{}),gd=Pn({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup:(e,{slots:t,attrs:a})=>()=>{let{features:r,...n}=e;return sd({ourProps:{"aria-hidden":!(2&~r)||(n["aria-hidden"]??void 0),hidden:!(4&~r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~r)&&!!(2&~r)&&{display:"none"}}},theirProps:n,slot:{},attrs:a,slots:t,name:"Hidden"})}})});function yd(){return hn(xd,null)}function Od(e){pn(xd,e)}var xd,wd,kd,Sd,Ad=V(()=>{Rc(),xd=Symbol("Context"),wd=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(wd||{})}),_d=V(()=>{kd=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(kd||{})}),Td=V(()=>{Sd=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(Sd||{})});var Ed,Cd=V(()=>{}),Pd=V(()=>{Cd(),Ed=[],function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&Ed[0]!==e.target&&(Ed.unshift(e.target),Ed=Ed.filter(e=>null!=e&&e.isConnected),Ed.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})});function Md(e,t){let a=t.resolveItems();if(a.length<=0)return null;let r=t.resolveActiveIndex(),n=r??-1;switch(e.focus){case 0:for(let e=0;e<a.length;++e)if(!t.resolveDisabled(a[e],e,a))return e;return r;case 1:-1===n&&(n=a.length);for(let e=n-1;e>=0;--e)if(!t.resolveDisabled(a[e],e,a))return e;return r;case 2:for(let e=n+1;e<a.length;++e)if(!t.resolveDisabled(a[e],e,a))return e;return r;case 3:for(let e=a.length-1;e>=0;--e)if(!t.resolveDisabled(a[e],e,a))return e;return r;case 4:for(let r=0;r<a.length;++r)if(t.resolveId(a[r],r,a)===e.id)return r;return r;case 5:return null;default:!function(e){throw Error("Unexpected object: "+e)}(e)}}var $d,Nd=V(()=>{$d=(e=>(e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing",e))($d||{})});function Id(e={},t=null,a=[]){for(let[r,n]of Object.entries(e))Dd(a,Rd(t,r),n);return a}function Rd(e,t){return e?e+"["+t+"]":t}function Dd(e,t,a){if(Array.isArray(a))for(let[r,n]of a.entries())Dd(e,Rd(t,r.toString()),n);else a instanceof Date?e.push([t,a.toISOString()]):"boolean"==typeof a?e.push([t,a?"1":"0"]):"string"==typeof a?e.push([t,a]):"number"==typeof a?e.push([t,`${a}`]):null==a?e.push([t,""]):Id(a,t,e)}function Ld(e){var t;let a=e?.form??e.closest("form");if(a){for(let t of a.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(t=a.requestSubmit)||t.call(a)}}var Bd=V(()=>{});function jd(e){let t=hn(Zd,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Combobox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,jd),t}return t}var Ud,zd,Hd,Zd,Vd,Qd,qd=V(()=>{nu(),Rc(),iu(),hu(),vu(),Ku(),td(),nd(),id(),bd(),Ad(),_d(),Td(),Pd(),Nd(),uu(),yu(),Zu(),Bd(),_u(),Cu(),qu(),vd(),Ud=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ud||{}),zd=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(zd||{}),Hd=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(Hd||{}),Zd=Symbol("ComboboxContext"),Vd=Symbol("VirtualContext"),Qd=Pn({name:"VirtualProvider",setup(e,{slots:t}){let a=jd("VirtualProvider"),r=ol(()=>{let e=bu(a.optionsRef);if(!e)return{start:0,end:0};let t=window.getComputedStyle(e);return{start:parseFloat(t.paddingBlockStart||t.paddingTop),end:parseFloat(t.paddingBlockEnd||t.paddingBottom)}}),n=ru(ol(()=>({scrollPaddingStart:r.value.start,scrollPaddingEnd:r.value.end,count:a.virtual.value.options.length,estimateSize:()=>40,getScrollElement:()=>bu(a.optionsRef),overscan:12}))),o=ol(()=>a.virtual.value?.options),i=Za(0);return fn([o],()=>{i.value+=1}),pn(Vd,a.virtual.value?n:null),()=>[hi("div",{style:{position:"relative",width:"100%",height:`${n.value.getTotalSize()}px`},ref:e=>{if(e){if(typeof process<"u"&&void 0!==process.env.JEST_WORKER_ID||0===a.activationTrigger.value)return;null!==a.activeOptionIndex.value&&a.virtual.value.options.length>a.activeOptionIndex.value&&n.value.scrollToIndex(a.activeOptionIndex.value)}}},n.value.getVirtualItems().map(e=>Jo(t.default({option:a.virtual.value.options[e.index],open:0===a.comboboxState.value})[0],{key:`${i.value}-${e.index}`,"data-index":e.index,"aria-setsize":a.virtual.value.options.length,"aria-posinset":e.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${e.start}px)`,overflowAnchor:"none"}})))]}}),Pn({name:"Combobox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],nullable:!0,default:null},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},nullable:{type:Boolean,default:!1},multiple:{type:[Boolean],default:!1},immediate:{type:[Boolean],default:!1},virtual:{type:Object,default:null}},inheritAttrs:!1,setup(e,{slots:t,attrs:a,emit:r}){let n=Za(1),o=Za(null),i=Za(null),s=Za(null),l=Za(null),c=Za({static:!1,hold:!1}),u=Za([]),d=Za(null),p=Za(2),h=Za(!1);function m(e=e=>e){let t=null===d.value?null:u.value[d.value],a=e(u.value.slice()),r=a.length>0&&null!==a[0].dataRef.order.value?a.sort((e,t)=>e.dataRef.order.value-t.dataRef.order.value):Iu(a,e=>bu(e.dataRef.domRef)),n=t?r.indexOf(t):null;return-1===n&&(n=null),{options:r,activeOptionIndex:n}}let f=ol(()=>e.multiple?1:0),g=ol(()=>e.nullable),[v,b]=ou(ol(()=>e.modelValue),e=>r("update:modelValue",e),ol(()=>e.defaultValue)),y=ol(()=>void 0===v.value?Ou(f.value,{1:[],0:void 0}):v.value),O=null,x=null;function w(e){return Ou(f.value,{0:()=>b?.(e),1:()=>{let t=Ua(k.value.value).slice(),a=Ua(e),r=t.findIndex(e=>k.compare(a,Ua(e)));return-1===r?t.push(a):t.splice(r,1),b?.(t)}})}fn([ol(()=>{})],([e],[t])=>{if(k.virtual.value&&e&&t&&null!==d.value){let a=e.indexOf(t[d.value]);d.value=-1===a?null:a}});let k={comboboxState:n,value:y,mode:f,compare(t,a){if("string"==typeof e.by){let r=e.by;return t?.[r]===a?.[r]}return null===e.by?function(e,t){return e===t}(t,a):e.by(t,a)},calculateIndex:t=>k.virtual.value?null===e.by?k.virtual.value.options.indexOf(t):k.virtual.value.options.findIndex(e=>k.compare(e,t)):u.value.findIndex(e=>k.compare(e.dataRef.value,t)),defaultValue:ol(()=>e.defaultValue),nullable:g,immediate:ol(()=>!1),virtual:ol(()=>null),inputRef:i,labelRef:o,buttonRef:s,optionsRef:l,disabled:ol(()=>e.disabled),options:u,change(e){b(e)},activeOptionIndex:ol(()=>{if(h.value&&null===d.value&&(k.virtual.value?k.virtual.value.options.length>0:u.value.length>0)){if(k.virtual.value){let e=k.virtual.value.options.findIndex(e=>{var t;return!(null!=(t=k.virtual.value)&&t.disabled(e))});if(-1!==e)return e}let e=u.value.findIndex(e=>!e.dataRef.disabled);if(-1!==e)return e}return d.value}),activationTrigger:p,optionsPropsRef:c,closeCombobox(){h.value=!1,!e.disabled&&1!==n.value&&(n.value=1,d.value=null)},openCombobox(){if(h.value=!0,!e.disabled&&0!==n.value){if(k.value.value){let e=k.calculateIndex(k.value.value);-1!==e&&(d.value=e)}n.value=0}},setActivationTrigger(e){p.value=e},goToOption(t,a,r){h.value=!1,null!==O&&cancelAnimationFrame(O),O=requestAnimationFrame(()=>{if(e.disabled||l.value&&!c.value.static&&1===n.value)return;if(k.virtual.value)return d.value=t===$d.Specific?a:Md({focus:t},{resolveItems:()=>k.virtual.value.options,resolveActiveIndex:()=>k.activeOptionIndex.value??k.virtual.value.options.findIndex(e=>{var t;return!(null!=(t=k.virtual.value)&&t.disabled(e))})??null,resolveDisabled:e=>k.virtual.value.disabled(e),resolveId(){throw Error("Function not implemented.")}}),void(p.value=r??2);let o=m();if(null===o.activeOptionIndex){let e=o.options.findIndex(e=>!e.dataRef.disabled);-1!==e&&(o.activeOptionIndex=e)}d.value=t===$d.Specific?a:Md({focus:t},{resolveItems:()=>o.options,resolveActiveIndex:()=>o.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled}),p.value=r??2,u.value=o.options})},selectOption(e){let t=u.value.find(t=>t.id===e);if(!t)return;let{dataRef:a}=t;w(a.value)},selectActiveOption(){if(null!==k.activeOptionIndex.value){if(k.virtual.value)w(k.virtual.value.options[k.activeOptionIndex.value]);else{let{dataRef:e}=u.value[k.activeOptionIndex.value];w(e.value)}k.goToOption($d.Specific,k.activeOptionIndex.value)}},registerOption(e,t){let a=Ma({id:e,dataRef:t});if(k.virtual.value)return void u.value.push(a);x&&cancelAnimationFrame(x);let r=m(e=>(e.push(a),e));null===d.value&&k.isSelected(t.value.value)&&(r.activeOptionIndex=r.options.indexOf(a)),u.value=r.options,d.value=r.activeOptionIndex,p.value=2,r.options.some(e=>!bu(e.dataRef.domRef))&&(x=requestAnimationFrame(()=>{let e=m();u.value=e.options,d.value=e.activeOptionIndex}))},unregisterOption(e,t){if(null!==O&&cancelAnimationFrame(O),t&&(h.value=!0),k.virtual.value)return void(u.value=u.value.filter(t=>t.id!==e));let a=m(t=>{let a=t.findIndex(t=>t.id===e);return-1!==a&&t.splice(a,1),t});u.value=a.options,d.value=a.activeOptionIndex,p.value=2},isSelected:e=>Ou(f.value,{0:()=>k.compare(Ua(k.value.value),Ua(e)),1:()=>Ua(k.value.value).some(t=>k.compare(Ua(t),Ua(e)))}),isActive:e=>d.value===k.calculateIndex(e)};Yu([i,s,l],()=>k.closeCombobox(),ol(()=>0===n.value)),pn(Zd,k),Od(ol(()=>Ou(n.value,{0:wd.Open,1:wd.Closed})));let S=ol(()=>bu(i)?.closest("form"));return ts(()=>{fn([S],()=>{if(S.value&&void 0!==e.defaultValue)return S.value.addEventListener("reset",t),()=>{var e;null==(e=S.value)||e.removeEventListener("reset",t)};function t(){k.change(e.defaultValue)}},{immediate:!0})}),()=>{let{name:r,disabled:o,form:i,...s}=e,l={open:0===n.value,disabled:o,activeIndex:k.activeOptionIndex.value,activeOption:null===k.activeOptionIndex.value?null:k.virtual.value?k.virtual.value.options[k.activeOptionIndex.value??0]:k.options.value[k.activeOptionIndex.value]?.dataRef.value??null,value:y.value};return hi(Ls,[...null!=r&&null!=y.value?Id({[r]:y.value}).map(([e,t])=>hi(gd,dd({features:fd.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,disabled:o,name:e,value:t}))):[],sd({theirProps:{...a,...pd(s,["by","defaultValue","immediate","modelValue","multiple","nullable","onUpdate:modelValue","virtual"])},ourProps:{},slot:l,slots:t,attrs:a,name:"Combobox"})])}}}),Pn({name:"ComboboxLabel",props:{as:{type:[Object,String],default:"label"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a}){let r=e.id??`headlessui-combobox-label-${gu()}`,n=jd("ComboboxLabel");function o(){var e;null==(e=bu(n.inputRef))||e.focus({preventScroll:!0})}return()=>{let i={open:0===n.comboboxState.value,disabled:n.disabled.value},{...s}=e;return sd({ourProps:{id:r,ref:n.labelRef,onClick:o},theirProps:s,slot:i,attrs:t,slots:a,name:"ComboboxLabel"})}}}),Pn({name:"ComboboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){let n=e.id??`headlessui-combobox-button-${gu()}`,o=jd("ComboboxButton");function i(e){o.disabled.value||(0===o.comboboxState.value?o.closeCombobox():(e.preventDefault(),o.openCombobox()),en(()=>bu(o.inputRef)?.focus({preventScroll:!0})))}function s(e){switch(e.key){case kd.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===o.comboboxState.value&&o.openCombobox(),void en(()=>o.inputRef.value?.focus({preventScroll:!0}));case kd.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===o.comboboxState.value&&(o.openCombobox(),en(()=>{o.value.value||o.goToOption($d.Last)})),void en(()=>o.inputRef.value?.focus({preventScroll:!0}));case kd.Escape:if(0!==o.comboboxState.value)return;return e.preventDefault(),o.optionsRef.value&&!o.optionsPropsRef.value.static&&e.stopPropagation(),o.closeCombobox(),void en(()=>o.inputRef.value?.focus({preventScroll:!0}))}}r({el:o.buttonRef,$el:o.buttonRef});let l=ed(ol(()=>({as:e.as,type:t.type})),o.buttonRef);return()=>{let r={open:0===o.comboboxState.value,disabled:o.disabled.value,value:o.value.value},{...c}=e;return sd({ourProps:{ref:o.buttonRef,id:n,type:l.value,tabindex:"-1","aria-haspopup":"listbox","aria-controls":bu(o.optionsRef)?.id,"aria-expanded":0===o.comboboxState.value,"aria-labelledby":o.labelRef.value?[bu(o.labelRef)?.id,n].join(" "):void 0,disabled:!0===o.disabled.value||void 0,onKeydown:s,onClick:i},theirProps:c,slot:r,attrs:t,slots:a,name:"ComboboxButton"})}}}),Pn({name:"ComboboxInput",props:{as:{type:[Object,String],default:"input"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},displayValue:{type:Function},defaultValue:{type:String,default:void 0},id:{type:String,default:null}},emits:{change:e=>!0},setup(e,{emit:t,attrs:a,slots:r,expose:n}){let o=e.id??`headlessui-combobox-input-${gu()}`,i=jd("ComboboxInput"),s=ol(()=>Eu(bu(i.inputRef))),l={value:!1};function c(){i.change(null);let e=bu(i.optionsRef);e&&(e.scrollTop=0),i.goToOption($d.Nothing)}n({el:i.inputRef,$el:i.inputRef});let u=ol(()=>{let t=i.value.value;return bu(i.inputRef)?void 0!==e.displayValue&&void 0!==t?e.displayValue(t)??"":"string"==typeof t?t:"":""});ts(()=>{fn([u,i.comboboxState,s],([e,t],[a,r])=>{if(l.value)return;let n=bu(i.inputRef);n&&((0===r&&1===t||e!==a)&&(n.value=e),requestAnimationFrame(()=>{if(l.value||!n||s.value?.activeElement!==n)return;let{selectionStart:e,selectionEnd:t}=n;0===Math.abs((t??0)-(e??0))&&0===e&&n.setSelectionRange(n.value.length,n.value.length)}))},{immediate:!0}),fn([i.comboboxState],([e],[t])=>{if(0===e&&1===t){if(l.value)return;let e=bu(i.inputRef);if(!e)return;let t=e.value,{selectionStart:a,selectionEnd:r,selectionDirection:n}=e;e.value="",e.value=t,null===n?e.setSelectionRange(a,r):e.setSelectionRange(a,r,n)}})});let d=Za(!1);function p(){d.value=!0}function h(){cu().nextFrame(()=>{d.value=!1})}let m=pu();function f(e){switch(l.value=!0,m(()=>{l.value=!1}),e.key){case kd.Enter:if(l.value=!1,0!==i.comboboxState.value||d.value)return;if(e.preventDefault(),e.stopPropagation(),null===i.activeOptionIndex.value)return void i.closeCombobox();i.selectActiveOption(),0===i.mode.value&&i.closeCombobox();break;case kd.ArrowDown:return l.value=!1,e.preventDefault(),e.stopPropagation(),Ou(i.comboboxState.value,{0:()=>i.goToOption($d.Next),1:()=>i.openCombobox()});case kd.ArrowUp:return l.value=!1,e.preventDefault(),e.stopPropagation(),Ou(i.comboboxState.value,{0:()=>i.goToOption($d.Previous),1:()=>{i.openCombobox(),en(()=>{i.value.value||i.goToOption($d.Last)})}});case kd.Home:if(e.shiftKey)break;return l.value=!1,e.preventDefault(),e.stopPropagation(),i.goToOption($d.First);case kd.PageUp:return l.value=!1,e.preventDefault(),e.stopPropagation(),i.goToOption($d.First);case kd.End:if(e.shiftKey)break;return l.value=!1,e.preventDefault(),e.stopPropagation(),i.goToOption($d.Last);case kd.PageDown:return l.value=!1,e.preventDefault(),e.stopPropagation(),i.goToOption($d.Last);case kd.Escape:if(l.value=!1,0!==i.comboboxState.value)return;e.preventDefault(),i.optionsRef.value&&!i.optionsPropsRef.value.static&&e.stopPropagation(),i.nullable.value&&0===i.mode.value&&null===i.value.value&&c(),i.closeCombobox();break;case kd.Tab:if(l.value=!1,0!==i.comboboxState.value)return;0===i.mode.value&&1!==i.activationTrigger.value&&i.selectActiveOption(),i.closeCombobox()}}function g(e){t("change",e),i.nullable.value&&0===i.mode.value&&""===e.target.value&&c(),i.openCombobox()}function v(e){var t,a;let r=e.relatedTarget??Ed.find(t=>t!==e.currentTarget);if(l.value=!1,!(null!=(t=bu(i.optionsRef))&&t.contains(r)||null!=(a=bu(i.buttonRef))&&a.contains(r)||0!==i.comboboxState.value))return e.preventDefault(),0===i.mode.value&&(i.nullable.value&&null===i.value.value?c():1!==i.activationTrigger.value&&i.selectActiveOption()),i.closeCombobox()}function b(e){var t,a;let r=e.relatedTarget??Ed.find(t=>t!==e.currentTarget);null!=(t=bu(i.buttonRef))&&t.contains(r)||null!=(a=bu(i.optionsRef))&&a.contains(r)||i.disabled.value||i.immediate.value&&0!==i.comboboxState.value&&(i.openCombobox(),cu().nextFrame(()=>{i.setActivationTrigger(1)}))}let y=ol(()=>e.defaultValue??(void 0===i.defaultValue.value?null:e.displayValue?.call(e,i.defaultValue.value))??i.defaultValue.value??"");return()=>{let t={open:0===i.comboboxState.value},{displayValue:n,onChange:s,...l}=e;return sd({ourProps:{"aria-controls":i.optionsRef.value?.id,"aria-expanded":0===i.comboboxState.value,"aria-activedescendant":null===i.activeOptionIndex.value?void 0:i.virtual.value?i.options.value.find(e=>!i.virtual.value.disabled(e.dataRef.value)&&i.compare(e.dataRef.value,i.virtual.value.options[i.activeOptionIndex.value]))?.id:i.options.value[i.activeOptionIndex.value]?.id,"aria-labelledby":bu(i.labelRef)?.id??bu(i.buttonRef)?.id,"aria-autocomplete":"list",id:o,onCompositionstart:p,onCompositionend:h,onKeydown:f,onInput:g,onFocus:b,onBlur:v,role:"combobox",type:a.type??"text",tabIndex:0,ref:i.inputRef,defaultValue:y.value,disabled:!0===i.disabled.value||void 0},theirProps:l,slot:t,attrs:a,slots:r,features:hd.RenderStrategy|hd.Static,name:"ComboboxInput"})}}}),Pn({name:"ComboboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},hold:{type:[Boolean],default:!1}},setup(e,{attrs:t,slots:a,expose:r}){let n=jd("ComboboxOptions"),o=`headlessui-combobox-options-${gu()}`;r({el:n.optionsRef,$el:n.optionsRef}),mn(()=>{n.optionsPropsRef.value.static=e.static}),mn(()=>{n.optionsPropsRef.value.hold=e.hold});let i=yd(),s=ol(()=>null===i?0===n.comboboxState.value:(i.value&wd.Open)===wd.Open);function l(e){e.preventDefault()}return od({container:ol(()=>bu(n.optionsRef)),enabled:ol(()=>0===n.comboboxState.value),accept:e=>"option"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}}),()=>{let r={open:0===n.comboboxState.value};return sd({ourProps:{"aria-labelledby":bu(n.labelRef)?.id??bu(n.buttonRef)?.id,id:o,ref:n.optionsRef,role:"listbox","aria-multiselectable":1===n.mode.value||void 0,onMousedown:l},theirProps:pd(e,["hold"]),slot:r,attrs:t,slots:n.virtual.value&&0===n.comboboxState.value?{...a,default:()=>[hi(Qd,{},a.default)]}:a,features:hd.RenderStrategy|hd.Static,visible:s.value,name:"ComboboxOptions"})}}}),Pn({name:"ComboboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},order:{type:[Number],default:null}},setup(e,{slots:t,attrs:a,expose:r}){let n=jd("ComboboxOption"),o=`headlessui-combobox-option-${gu()}`,i=Za(null),s=ol(()=>e.disabled);r({el:i,$el:i});let l=ol(()=>n.virtual.value?n.activeOptionIndex.value===n.calculateIndex(e.value):null!==n.activeOptionIndex.value&&n.options.value[n.activeOptionIndex.value]?.id===o),c=ol(()=>n.isSelected(e.value)),u=hn(Vd,null),d=ol(()=>({disabled:e.disabled,value:e.value,domRef:i,order:ol(()=>e.order)}));function p(e){e.preventDefault(),e.button===Sd.Left&&(s.value||(n.selectOption(o),Qu()||requestAnimationFrame(()=>bu(n.inputRef)?.focus({preventScroll:!0})),0===n.mode.value&&n.closeCombobox()))}function h(){var t;if(e.disabled||null!=(t=n.virtual.value)&&t.disabled(e.value))return n.goToOption($d.Nothing);let a=n.calculateIndex(e.value);n.goToOption($d.Specific,a)}ts(()=>n.registerOption(o,d)),os(()=>n.unregisterOption(o,l.value)),mn(()=>{let e=bu(i);e&&u?.value.measureElement(e)}),mn(()=>{0===n.comboboxState.value&&l.value&&(n.virtual.value||0!==n.activationTrigger.value&&en(()=>{var e;return((e=bu(i))?.scrollIntoView)?.call(e,{block:"nearest"})}))});let m=rd();function f(e){m.update(e)}function g(t){var a;if(!m.wasMoved(t)||e.disabled||null!=(a=n.virtual.value)&&a.disabled(e.value)||l.value)return;let r=n.calculateIndex(e.value);n.goToOption($d.Specific,r,0)}function v(t){var a;m.wasMoved(t)&&(e.disabled||null!=(a=n.virtual.value)&&a.disabled(e.value)||l.value&&(n.optionsPropsRef.value.hold||n.goToOption($d.Nothing)))}return()=>{let{disabled:r}=e,n={active:l.value,selected:c.value,disabled:r};return sd({ourProps:{id:o,ref:i,role:"option",tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,"aria-selected":c.value,disabled:void 0,onMousedown:p,onFocus:h,onPointerenter:f,onMouseenter:f,onPointermove:g,onMousemove:g,onPointerleave:v,onMouseleave:v},theirProps:pd(e,["order","value"]),slot:n,attrs:a,slots:t,name:"ComboboxOption"})}}})});function Fd(e,t,a,r){Au.isServer||mn(n=>{e??=window,e.addEventListener(t,a,r),n(()=>e.removeEventListener(t,a,r))})}var Wd=V(()=>{Rc(),Tu()});function Xd(){let e=Za(0);return Xu("keydown",t=>{"Tab"===t.key&&(e.value=t.shiftKey?1:0)}),e}var Gd,Yd=V(()=>{Rc(),Gu(),Gd=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Gd||{})});function Kd(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let a of e.value){let e=bu(a);e instanceof HTMLElement&&t.add(e)}return t}function Jd({ownerDocument:e},t){let a=function(e){let t=Za(Ed.slice());return fn([e],([e],[a])=>{!0===a&&!1===e?su(()=>{t.value.splice(0)}):!1===a&&!0===e&&(t.value=Ed.slice())},{flush:"post"}),()=>t.value.find(e=>null!=e&&e.isConnected)??null}(t);ts(()=>{mn(()=>{t.value||e.value?.activeElement===e.value?.body&&Nu(a())},{flush:"post"})}),os(()=>{t.value&&Nu(a())})}function ep(e,t){for(let a of e)if(a.contains(t))return!0;return!1}var tp,ap,rp=V(()=>{Rc(),Wd(),Yd(),bd(),Pd(),yu(),Zu(),_u(),lu(),Cu(),vd(),tp=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(tp||{}),ap=Object.assign(Pn({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:Za(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:a,expose:r}){let n=Za(null);r({el:n,$el:n});let o=ol(()=>Eu(n)),i=Za(!1);ts(()=>i.value=!0),os(()=>i.value=!1),Jd({ownerDocument:o},ol(()=>i.value&&!!(16&e.features)));let s=function({ownerDocument:e,container:t,initialFocus:a},r){let n=Za(null),o=Za(!1);return ts(()=>o.value=!0),os(()=>o.value=!1),ts(()=>{fn([t,a,r],(i,s)=>{if(i.every((e,t)=>s?.[t]===e)||!r.value)return;let l=bu(t);l&&su(()=>{if(!o.value)return;let t=bu(a),r=e.value?.activeElement;if(t){if(t===r)return void(n.value=r)}else if(l.contains(r))return void(n.value=r);t?Nu(t):Ru(l,Lu.First|Lu.NoScroll)===Bu.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),n.value=e.value?.activeElement})},{immediate:!0,flush:"post"})}),n}({ownerDocument:o,container:n,initialFocus:ol(()=>e.initialFocus)},ol(()=>i.value&&!!(2&e.features)));!function({ownerDocument:e,container:t,containers:a,previousActiveElement:r},n){Fd(e.value?.defaultView,"focus",e=>{if(!n.value)return;let o=Kd(a);bu(t)instanceof HTMLElement&&o.add(bu(t));let i=r.value;if(!i)return;let s=e.target;s&&s instanceof HTMLElement?ep(o,s)?(r.value=s,Nu(s)):(e.preventDefault(),e.stopPropagation(),Nu(i)):Nu(r.value)},!0)}({ownerDocument:o,container:n,containers:e.containers,previousActiveElement:s},ol(()=>i.value&&!!(8&e.features)));let l=Xd();function c(e){let t=bu(n);t&&(e=>{e()})(()=>{Ou(l.value,{[Gd.Forwards]:()=>{Ru(t,Lu.First,{skipElements:[e.relatedTarget]})},[Gd.Backwards]:()=>{Ru(t,Lu.Last,{skipElements:[e.relatedTarget]})}})})}let u=Za(!1);function d(e){"Tab"===e.key&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function p(t){if(!i.value)return;let a=Kd(e.containers);bu(n)instanceof HTMLElement&&a.add(bu(n));let r=t.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(ep(a,r)||(u.value?Ru(bu(n),Ou(l.value,{[Gd.Forwards]:()=>Lu.Next,[Gd.Backwards]:()=>Lu.Previous})|Lu.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&Nu(t.target)))}return()=>{let r={ref:n,onKeydown:d,onFocusout:p},{features:o,initialFocus:i,containers:s,...l}=e;return hi(Ls,[!!(4&o)&&hi(gd,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:fd.Focusable}),sd({ourProps:r,theirProps:{...t,...l},slot:{},attrs:t,slots:a,name:"FocusTrap"}),!!(4&o)&&hi(gd,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:fd.Focusable})])}}}),{features:tp})});var np=V(()=>{Rc()});var op=V(()=>{});function ip(){let e;return{before({doc:t}){let a=t.documentElement;e=(t.defaultView??window).innerWidth-a.clientWidth},after({doc:t,d:a}){let r=t.documentElement,n=r.clientWidth-r.offsetWidth,o=e-n;a.style(r,"paddingRight",`${o}px`)}}}var sp=V(()=>{});var lp=V(()=>{uu(),qu()});var cp=V(()=>{});function up(e){let t={};for(let a of e)Object.assign(t,a(t));return t}var dp,pp=V(()=>{uu(),op(),sp(),lp(),cp(),dp=function(e,t){let a=e(),r=new Set;return{getSnapshot:()=>a,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...n){let o=t[e].call(a,...n);o&&(a=o,r.forEach(e=>e()))}}}(()=>new Map,{PUSH(e,t){let a=this.get(e)??{doc:e,count:0,d:cu(),meta:new Set};return a.count++,a.meta.add(t),this.set(e,a),this},POP(e,t){let a=this.get(e);return a&&(a.count--,a.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:a}){let r={doc:e,d:t,meta:up(a)},n=[Vu()?{before({doc:e,d:t,meta:a}){function r(e){return a.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let a=cu();a.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>a.dispose()))}let a=window.scrollY??window.pageYOffset,n=null;t.addEventListener(e,"click",t=>{if(t.target instanceof HTMLElement)try{let a=t.target.closest("a");if(!a)return;let{hash:o}=new URL(a.href),i=e.querySelector(o);i&&!r(i)&&(n=i)}catch{}},!0),t.addEventListener(e,"touchstart",e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let a=e.target;for(;a.parentElement&&r(a.parentElement);)a=a.parentElement;t.style(a,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")}),t.addEventListener(e,"touchmove",e=>{if(e.target instanceof HTMLElement){if("INPUT"===e.target.tagName)return;if(r(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),t.add(()=>{a!==(window.scrollY??window.pageYOffset)&&window.scrollTo(0,a),n&&n.isConnected&&(n.scrollIntoView({block:"nearest"}),n=null)})})}}:{},ip(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];n.forEach(({before:e})=>e?.(r)),n.forEach(({after:e})=>e?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}}),dp.subscribe(()=>{let e=dp.getSnapshot(),t=new Map;for(let[a]of e)t.set(a,a.documentElement.style.overflow);for(let a of e.values()){let e="hidden"===t.get(a.doc),r=0!==a.count;(r&&!e||!r&&e)&&dp.dispatch(a.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",a),0===a.count&&dp.dispatch("TEARDOWN",a)}})});function hp(e,t,a){let r=function(e){let t=Va(e.getSnapshot());return os(e.subscribe(()=>{t.value=e.getSnapshot()})),t}(dp),n=ol(()=>{let t=e.value?r.value.get(e.value):void 0;return!!t&&t.count>0});return fn([e,t],([e,t],[r],n)=>{if(!e||!t)return;dp.dispatch("PUSH",e,a);let o=!1;n(()=>{o||=(dp.dispatch("POP",r??e,a),!0)})},{immediate:!0}),n}var mp=V(()=>{Rc(),np(),pp()});function fp(e,t=Za(!0)){mn(a=>{if(!t.value)return;let r=bu(e);if(!r)return;a(function(){if(!r)return;let e=vp.get(r)??1;if(1===e?vp.delete(r):vp.set(r,e-1),1!==e)return;let t=gp.get(r);t&&(null===t["aria-hidden"]?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",t["aria-hidden"]),r.inert=t.inert,gp.delete(r))});let n=vp.get(r)??0;vp.set(r,n+1),0===n&&(gp.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0)})}var gp,vp,bp=V(()=>{Rc(),yu(),gp=new Map,vp=new Map});function yp({defaultContainers:e=[],portals:t,mainTreeNodeRef:a}={}){let r=Za(null),n=Eu(r);function o(){let a=[];for(let t of e)null!==t&&(t instanceof HTMLElement?a.push(t):"value"in t&&t.value instanceof HTMLElement&&a.push(t.value));if(null!=t&&t.value)for(let e of t.value)a.push(e);for(let e of n?.querySelectorAll("html > *, body > *")??[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(bu(r))||e.contains(bu(r)?.getRootNode()?.host)||a.some(t=>e.contains(t))||a.push(e));return a}return{resolveContainers:o,contains:e=>o().some(t=>t.contains(e)),mainTreeNodeRef:r,MainTreeNode:()=>null==a?hi(gd,{features:fd.Hidden,ref:r}):null}}var Op=V(()=>{Rc(),bd(),yu(),Cu()});var xp,wp,kp=V(()=>{Rc(),vd(),xp=Symbol("ForcePortalRootContext"),wp=Pn({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup:(e,{slots:t,attrs:a})=>(pn(xp,e.force),()=>{let{force:r,...n}=e;return sd({theirProps:n,ourProps:{},slot:{},slots:t,attrs:a,name:"ForcePortalRoot"})})})});function Sp({type:e,enabled:t,element:a,onUpdate:r}){let n=hn(Ap,()=>{});function o(...e){r?.(...e),n(...e)}ts(()=>{fn(t,(t,r)=>{t?o(0,e,a):!0===r&&o(1,e,a)},{immediate:!0,flush:"sync"})}),os(()=>{t.value&&o(1,e,a)}),pn(Ap,o)}var Ap,_p,Tp=V(()=>{Rc(),Ap=Symbol("StackContext"),_p=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(_p||{})});function Ep({slot:e=Za({}),name:t="Description",props:a={}}={}){let r=Za([]);return pn(Cp,{register:function(e){return r.value.push(e),()=>{let t=r.value.indexOf(e);-1!==t&&r.value.splice(t,1)}},slot:e,name:t,props:a}),ol(()=>r.value.length>0?r.value.join(" "):void 0)}var Cp,Pp=V(()=>{Rc(),vu(),vd(),Cp=Symbol("DescriptionContext"),Pn({name:"Description",props:{as:{type:[Object,String],default:"p"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a}){let r=e.id??`headlessui-description-${gu()}`,n=function(){let e=hn(Cp,null);if(null===e)throw Error("Missing parent");return e}();return ts(()=>os(n.register(r))),()=>{let{name:o="Description",slot:i=Za({}),props:s={}}=n,{...l}=e;return sd({ourProps:{...Object.entries(s).reduce((e,[t,a])=>Object.assign(e,{[t]:Fa(a)}),{}),id:r},theirProps:l,slot:i.value,attrs:t,slots:a,name:o})}}})});function Mp(e,t){let a=t(function(e){return Np.get(e)??0}(e));return a<=0?Np.delete(e):Np.set(e,a),a}function $p(){let e=hn(Rp,null),t=Za([]);function a(a){let r=t.value.indexOf(a);-1!==r&&t.value.splice(r,1),e&&e.unregister(a)}let r={register:function(r){return t.value.push(r),e&&e.register(r),()=>a(r)},unregister:a,portals:t};return[t,Pn({name:"PortalWrapper",setup:(e,{slots:t})=>(pn(Rp,r),()=>t.default?.call(t))})]}var Np,Ip,Rp,Dp,Lp,Bp=V(()=>{Rc(),kp(),yu(),Cu(),vd(),Np=new WeakMap,Ip=Pn({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:a}){let r=Za(null),n=ol(()=>Eu(r)),o=hn(xp,!1),i=hn(Dp,null),s=Za(!0===o||null==i?function(e){let t=Eu(e);if(!t){if(null===e)return null;throw Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let a=t.getElementById("headlessui-portal-root");if(a)return a;let r=t.createElement("div");return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)}(r.value):i.resolveTarget());s.value&&Mp(s.value,e=>e+1);let l=Za(!1);ts(()=>{l.value=!0}),mn(()=>{o||null!=i&&(s.value=i.resolveTarget())});let c=hn(Rp,null),u=!1,d=Gs();return fn(r,()=>{if(u||!c)return;let e=bu(r);e&&(os(c.register(e),d),u=!0)}),os(()=>{var e;let t=n.value?.getElementById("headlessui-portal-root");!t||s.value!==t||Mp(s.value,e=>e-1)||s.value.children.length>0||null==(e=s.value.parentElement)||e.removeChild(s.value)}),()=>{if(!l.value||null===s.value)return null;let n={ref:r,"data-headlessui-portal":""};return hi(Ii,{to:s.value},sd({ourProps:n,theirProps:e,slot:{},attrs:a,slots:t,name:"Portal"}))}}}),Rp=Symbol("PortalParentContext"),Dp=Symbol("PortalGroupContext"),Lp=Pn({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup:(e,{attrs:t,slots:a})=>(pn(Dp,Ma({resolveTarget:()=>e.target})),()=>{let{target:r,...n}=e;return sd({theirProps:n,ourProps:{},slot:{},attrs:t,slots:a,name:"PortalGroup"})})})});function jp(e){let t=hn(zp,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,jp),t}return t}var Up,zp,Hp,Zp,Vp,Qp,qp=V(()=>{Rc(),rp(),mp(),Wd(),vu(),bp(),Ku(),Op(),Ad(),kp(),Tp(),_d(),yu(),_u(),Cu(),vd(),Pp(),Bp(),Up=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Up||{}),zp=Symbol("DialogContext"),Hp="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Zp=Pn({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:Hp},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:"dialog"}},emits:{close:e=>!0},setup(e,{emit:t,attrs:a,slots:r,expose:n}){let o=e.id??`headlessui-dialog-${gu()}`,i=Za(!1);ts(()=>{i.value=!0});let s=!1,l=ol(()=>"dialog"===e.role||"alertdialog"===e.role?e.role:(s||(s=!0,console.warn(`Invalid role [${l}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")),c=Za(0),u=yd(),d=ol(()=>e.open===Hp&&null!==u?(u.value&wd.Open)===wd.Open:e.open),p=Za(null),h=ol(()=>Eu(p));if(n({el:p,$el:p}),e.open===Hp&&null===u)throw Error("You forgot to provide an `open` prop to the `Dialog`.");if("boolean"!=typeof d.value)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${d.value===Hp?void 0:e.open}`);let m=ol(()=>i.value&&d.value?0:1),f=ol(()=>0===m.value),g=ol(()=>c.value>1),v=null!==hn(zp,null),[b,y]=$p(),{resolveContainers:O,mainTreeNodeRef:x,MainTreeNode:w}=yp({portals:b,defaultContainers:[ol(()=>C.panelRef.value??p.value)]}),k=ol(()=>g.value?"parent":"leaf"),S=ol(()=>null!==u&&(u.value&wd.Closing)===wd.Closing),A=ol(()=>!v&&!S.value&&f.value);fp(ol(()=>Array.from(h.value?.querySelectorAll("body > *")??[]).find(e=>"headlessui-portal-root"!==e.id&&(e.contains(bu(x))&&e instanceof HTMLElement))??null),A);let _=ol(()=>!!g.value||f.value);fp(ol(()=>Array.from(h.value?.querySelectorAll("[data-headlessui-portal]")??[]).find(e=>e.contains(bu(x))&&e instanceof HTMLElement)??null),_),Sp({type:"Dialog",enabled:ol(()=>0===m.value),element:p,onUpdate:(e,t)=>{if("Dialog"===t)return Ou(e,{[_p.Add]:()=>c.value+=1,[_p.Remove]:()=>--c.value})}});let T=Ep({name:"DialogDescription",slot:ol(()=>({open:d.value}))}),E=Za(null),C={titleId:E,panelRef:Za(null),dialogState:m,setTitleId(e){E.value!==e&&(E.value=e)},close(){t("close",!1)}};pn(zp,C),Yu(O,(e,t)=>{e.preventDefault(),C.close(),en(()=>t?.focus())},ol(()=>!(!f.value||g.value)));let P=ol(()=>!(g.value||0!==m.value));return Fd(h.value?.defaultView,"keydown",e=>{P.value&&(e.defaultPrevented||e.key===kd.Escape&&(e.preventDefault(),e.stopPropagation(),C.close()))}),hp(h,ol(()=>!(S.value||0!==m.value||v)),e=>({containers:[...e.containers??[],O]})),mn(e=>{if(0!==m.value)return;let t=bu(p);if(!t)return;let a=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&C.close()}});a.observe(t),e(()=>a.disconnect())}),()=>{let{open:t,initialFocus:n,...i}=e,s={...a,ref:p,id:o,role:l.value,"aria-modal":0===m.value||void 0,"aria-labelledby":E.value,"aria-describedby":T.value},c={open:0===m.value};return hi(wp,{force:!0},()=>[hi(Ip,()=>hi(Lp,{target:p.value},()=>hi(wp,{force:!1},()=>hi(ap,{initialFocus:n,containers:O,features:f.value?Ou(k.value,{parent:ap.features.RestoreFocus,leaf:ap.features.All&~ap.features.FocusLock}):ap.features.None},()=>hi(y,{},()=>sd({ourProps:s,theirProps:{...i,...a},slot:c,attrs:a,slots:r,visible:0===m.value,features:hd.RenderStrategy|hd.Static,name:"Dialog"})))))),hi(w)])}}}),Pn({name:"DialogOverlay",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a}){let r=e.id??`headlessui-dialog-overlay-${gu()}`,n=jp("DialogOverlay");function o(e){e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),n.close())}return()=>{let{...i}=e;return sd({ourProps:{id:r,"aria-hidden":!0,onClick:o},theirProps:i,slot:{open:0===n.dialogState.value},attrs:t,slots:a,name:"DialogOverlay"})}}}),Pn({name:"DialogBackdrop",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:a,expose:r}){let n=e.id??`headlessui-dialog-backdrop-${gu()}`,o=jp("DialogBackdrop"),i=Za(null);return r({el:i,$el:i}),ts(()=>{if(null===o.panelRef.value)throw Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.")}),()=>{let{...r}=e,s={id:n,ref:i,"aria-hidden":!0};return hi(wp,{force:!0},()=>hi(Ip,()=>sd({ourProps:s,theirProps:{...t,...r},slot:{open:0===o.dialogState.value},attrs:t,slots:a,name:"DialogBackdrop"})))}}}),Vp=Pn({name:"DialogPanel",props:{as:{type:[Object,String],default:"div"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){let n=e.id??`headlessui-dialog-panel-${gu()}`,o=jp("DialogPanel");function i(e){e.stopPropagation()}return r({el:o.panelRef,$el:o.panelRef}),()=>{let{...r}=e;return sd({ourProps:{id:n,ref:o.panelRef,onClick:i},theirProps:r,slot:{open:0===o.dialogState.value},attrs:t,slots:a,name:"DialogPanel"})}}}),Qp=Pn({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a}){let r=e.id??`headlessui-dialog-title-${gu()}`,n=jp("DialogTitle");return ts(()=>{n.setTitleId(r),os(()=>n.setTitleId(null))}),()=>{let{...o}=e;return sd({ourProps:{id:r},theirProps:o,slot:{open:0===n.dialogState.value},attrs:t,slots:a,name:"DialogTitle"})}}})});function Fp(e){let t=hn(Xp,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Fp),t}return t}var Wp,Xp,Gp,Yp,Kp,Jp,eh=V(()=>{Rc(),vu(),td(),Ad(),_d(),yu(),_u(),vd(),Wp=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Wp||{}),Xp=Symbol("DisclosureContext"),Gp=Symbol("DisclosurePanelContext"),Yp=Pn({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:a}){let r=Za(e.defaultOpen?0:1),n=Za(null),o=Za(null),i={buttonId:Za(`headlessui-disclosure-button-${gu()}`),panelId:Za(`headlessui-disclosure-panel-${gu()}`),disclosureState:r,panel:n,button:o,toggleDisclosure(){r.value=Ou(r.value,{0:1,1:0})},closeDisclosure(){1!==r.value&&(r.value=1)},close(e){i.closeDisclosure(),(e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?bu(e):bu(i.button):bu(i.button))?.focus()}};return pn(Xp,i),Od(ol(()=>Ou(r.value,{0:wd.Open,1:wd.Closed}))),()=>{let{defaultOpen:n,...o}=e;return sd({theirProps:o,ourProps:{},slot:{open:0===r.value,close:i.close},slots:t,attrs:a,name:"Disclosure"})}}}),Kp=Pn({name:"DisclosureButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){let n=Fp("DisclosureButton"),o=hn(Gp,null),i=ol(()=>null!==o&&o.value===n.panelId.value);ts(()=>{i.value||null!==e.id&&(n.buttonId.value=e.id)}),os(()=>{i.value||(n.buttonId.value=null)});let s=Za(null);r({el:s,$el:s}),i.value||mn(()=>{n.button.value=s.value});let l=ed(ol(()=>({as:e.as,type:t.type})),s);function c(){var t;e.disabled||(i.value?(n.toggleDisclosure(),null==(t=bu(n.button))||t.focus()):n.toggleDisclosure())}function u(t){var a;if(!e.disabled)if(i.value)switch(t.key){case kd.Space:case kd.Enter:t.preventDefault(),t.stopPropagation(),n.toggleDisclosure(),null==(a=bu(n.button))||a.focus()}else switch(t.key){case kd.Space:case kd.Enter:t.preventDefault(),t.stopPropagation(),n.toggleDisclosure()}}function d(e){if(e.key===kd.Space)e.preventDefault()}return()=>{let r={open:0===n.disclosureState.value},{id:o,...p}=e;return sd({ourProps:i.value?{ref:s,type:l.value,onClick:c,onKeydown:u}:{id:n.buttonId.value??o,ref:s,type:l.value,"aria-expanded":0===n.disclosureState.value,"aria-controls":0===n.disclosureState.value||bu(n.panel)?n.panelId.value:void 0,disabled:!!e.disabled||void 0,onClick:c,onKeydown:u,onKeyup:d},theirProps:p,slot:r,attrs:t,slots:a,name:"DisclosureButton"})}}}),Jp=Pn({name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){let n=Fp("DisclosurePanel");ts(()=>{null!==e.id&&(n.panelId.value=e.id)}),os(()=>{n.panelId.value=null}),r({el:n.panel,$el:n.panel}),pn(Gp,n.panelId);let o=yd(),i=ol(()=>null===o?0===n.disclosureState.value:(o.value&wd.Open)===wd.Open);return()=>{let r={open:0===n.disclosureState.value,close:n.close},{id:o,...s}=e;return sd({ourProps:{id:n.panelId.value??o,ref:n.panel},theirProps:s,slot:r,attrs:t,slots:a,features:hd.RenderStrategy|hd.Static,visible:i.value,name:"DisclosurePanel"})}}})});function th(e){let t=e.innerText??"",a=e.cloneNode(!0);if(!(a instanceof HTMLElement))return t;let r=!1;for(let e of a.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),r=!0;let n=r?a.innerText??"":t;return ah.test(n)&&(n=n.replace(ah,"")),n}var ah,rh=V(()=>{ah=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g});function nh(e){let t=Za(""),a=Za("");return()=>{let r=bu(e);if(!r)return"";let n=r.innerText;if(t.value===n)return a.value;let o=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let a=e.getAttribute("aria-labelledby");if(a){let e=a.split(" ").map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():th(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return th(e).trim()}(r).trim().toLowerCase();return t.value=n,a.value=o,o}}var oh=V(()=>{Rc(),yu(),rh()});function ih(e,t){return e===t}function sh(e){let t=hn(dh,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,sh),t}return t}var lh,ch,uh,dh,ph,hh,mh,fh,gh,vh=V(()=>{Rc(),iu(),vu(),Ku(),td(),oh(),nd(),bd(),Ad(),_d(),Nd(),yu(),Zu(),Bd(),_u(),vd(),lh=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(lh||{}),ch=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(ch||{}),uh=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(uh||{}),dh=Symbol("ListboxContext"),ph=Pn({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>ih},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:a,emit:r}){let n=Za(1),o=Za(null),i=Za(null),s=Za(null),l=Za([]),c=Za(""),u=Za(null),d=Za(1);function p(e=e=>e){let t=null===u.value?null:l.value[u.value],a=Iu(e(l.value.slice()),e=>bu(e.dataRef.domRef)),r=t?a.indexOf(t):null;return-1===r&&(r=null),{options:a,activeOptionIndex:r}}let h=ol(()=>e.multiple?1:0),[m,f]=ou(ol(()=>e.modelValue),e=>r("update:modelValue",e),ol(()=>e.defaultValue)),g=ol(()=>void 0===m.value?Ou(h.value,{1:[],0:void 0}):m.value),v={listboxState:n,value:g,mode:h,compare(t,a){if("string"==typeof e.by){let r=e.by;return t?.[r]===a?.[r]}return e.by(t,a)},orientation:ol(()=>e.horizontal?"horizontal":"vertical"),labelRef:o,buttonRef:i,optionsRef:s,disabled:ol(()=>e.disabled),options:l,searchQuery:c,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||1!==n.value&&(n.value=1,u.value=null)},openListbox(){e.disabled||0!==n.value&&(n.value=0)},goToOption(t,a,r){if(e.disabled||1===n.value)return;let o=p(),i=Md(t===$d.Specific?{focus:$d.Specific,id:a}:{focus:t},{resolveItems:()=>o.options,resolveActiveIndex:()=>o.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});c.value="",u.value=i,d.value=r??1,l.value=o.options},search(t){if(e.disabled||1===n.value)return;let a=""===c.value?1:0;c.value+=t.toLowerCase();let r=(null===u.value?l.value:l.value.slice(u.value+a).concat(l.value.slice(0,u.value+a))).find(e=>e.dataRef.textValue.startsWith(c.value)&&!e.dataRef.disabled),o=r?l.value.indexOf(r):-1;-1===o||o===u.value||(u.value=o,d.value=1)},clearSearch(){e.disabled||1!==n.value&&""!==c.value&&(c.value="")},registerOption(e,t){let a=p(a=>[...a,{id:e,dataRef:t}]);l.value=a.options,u.value=a.activeOptionIndex},unregisterOption(e){let t=p(t=>{let a=t.findIndex(t=>t.id===e);return-1!==a&&t.splice(a,1),t});l.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){e.disabled||f(t)},select(t){e.disabled||f(Ou(h.value,{0:()=>t,1:()=>{let e=Ua(v.value.value).slice(),a=Ua(t),r=e.findIndex(e=>v.compare(a,Ua(e)));return-1===r?e.push(a):e.splice(r,1),e}}))}};Yu([i,s],(e,t)=>{var a;v.closeListbox(),Mu(t,Uu.Loose)||(e.preventDefault(),null==(a=bu(i))||a.focus())},ol(()=>0===n.value)),pn(dh,v),Od(ol(()=>Ou(n.value,{0:wd.Open,1:wd.Closed})));let b=ol(()=>bu(i)?.closest("form"));return ts(()=>{fn([b],()=>{if(b.value&&void 0!==e.defaultValue)return b.value.addEventListener("reset",t),()=>{var e;null==(e=b.value)||e.removeEventListener("reset",t)};function t(){v.theirOnChange(e.defaultValue)}},{immediate:!0})}),()=>{let{name:r,modelValue:o,disabled:i,form:s,...l}=e,c={open:0===n.value,disabled:i,value:g.value};return hi(Ls,[...null!=r&&null!=g.value?Id({[r]:g.value}).map(([e,t])=>hi(gd,dd({features:fd.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t}))):[],sd({ourProps:{},theirProps:{...a,...pd(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:c,slots:t,attrs:a,name:"Listbox"})])}}}),hh=Pn({name:"ListboxLabel",props:{as:{type:[Object,String],default:"label"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a}){let r=e.id??`headlessui-listbox-label-${gu()}`,n=sh("ListboxLabel");function o(){var e;null==(e=bu(n.buttonRef))||e.focus({preventScroll:!0})}return()=>{let i={open:0===n.listboxState.value,disabled:n.disabled.value},{...s}=e;return sd({ourProps:{id:r,ref:n.labelRef,onClick:o},theirProps:s,slot:i,attrs:t,slots:a,name:"ListboxLabel"})}}}),mh=Pn({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){let n=e.id??`headlessui-listbox-button-${gu()}`,o=sh("ListboxButton");function i(e){switch(e.key){case kd.Space:case kd.Enter:case kd.ArrowDown:e.preventDefault(),o.openListbox(),en(()=>{var e;null==(e=bu(o.optionsRef))||e.focus({preventScroll:!0}),o.value.value||o.goToOption($d.First)});break;case kd.ArrowUp:e.preventDefault(),o.openListbox(),en(()=>{var e;null==(e=bu(o.optionsRef))||e.focus({preventScroll:!0}),o.value.value||o.goToOption($d.Last)})}}function s(e){if(e.key===kd.Space)e.preventDefault()}function l(e){o.disabled.value||(0===o.listboxState.value?(o.closeListbox(),en(()=>bu(o.buttonRef)?.focus({preventScroll:!0}))):(e.preventDefault(),o.openListbox(),function(e){requestAnimationFrame(()=>requestAnimationFrame(e))}(()=>bu(o.optionsRef)?.focus({preventScroll:!0}))))}r({el:o.buttonRef,$el:o.buttonRef});let c=ed(ol(()=>({as:e.as,type:t.type})),o.buttonRef);return()=>{let r={open:0===o.listboxState.value,disabled:o.disabled.value,value:o.value.value},{...u}=e;return sd({ourProps:{ref:o.buttonRef,id:n,type:c.value,"aria-haspopup":"listbox","aria-controls":bu(o.optionsRef)?.id,"aria-expanded":0===o.listboxState.value,"aria-labelledby":o.labelRef.value?[bu(o.labelRef)?.id,n].join(" "):void 0,disabled:!0===o.disabled.value||void 0,onKeydown:i,onKeyup:s,onClick:l},theirProps:u,slot:r,attrs:t,slots:a,name:"ListboxButton"})}}}),fh=Pn({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){let n=e.id??`headlessui-listbox-options-${gu()}`,o=sh("ListboxOptions"),i=Za(null);function s(e){switch(i.value&&clearTimeout(i.value),e.key){case kd.Space:if(""!==o.searchQuery.value)return e.preventDefault(),e.stopPropagation(),o.search(e.key);case kd.Enter:if(e.preventDefault(),e.stopPropagation(),null!==o.activeOptionIndex.value){let e=o.options.value[o.activeOptionIndex.value];o.select(e.dataRef.value)}0===o.mode.value&&(o.closeListbox(),en(()=>bu(o.buttonRef)?.focus({preventScroll:!0})));break;case Ou(o.orientation.value,{vertical:kd.ArrowDown,horizontal:kd.ArrowRight}):return e.preventDefault(),e.stopPropagation(),o.goToOption($d.Next);case Ou(o.orientation.value,{vertical:kd.ArrowUp,horizontal:kd.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),o.goToOption($d.Previous);case kd.Home:case kd.PageUp:return e.preventDefault(),e.stopPropagation(),o.goToOption($d.First);case kd.End:case kd.PageDown:return e.preventDefault(),e.stopPropagation(),o.goToOption($d.Last);case kd.Escape:e.preventDefault(),e.stopPropagation(),o.closeListbox(),en(()=>bu(o.buttonRef)?.focus({preventScroll:!0}));break;case kd.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(o.search(e.key),i.value=setTimeout(()=>o.clearSearch(),350))}}r({el:o.optionsRef,$el:o.optionsRef});let l=yd(),c=ol(()=>null===l?0===o.listboxState.value:(l.value&wd.Open)===wd.Open);return()=>{var r;let i={open:0===o.listboxState.value},{...l}=e;return sd({ourProps:{"aria-activedescendant":null===o.activeOptionIndex.value||null==(r=o.options.value[o.activeOptionIndex.value])?void 0:r.id,"aria-multiselectable":1===o.mode.value||void 0,"aria-labelledby":bu(o.buttonRef)?.id,"aria-orientation":o.orientation.value,id:n,onKeydown:s,role:"listbox",tabIndex:0,ref:o.optionsRef},theirProps:l,slot:i,attrs:t,slots:a,features:hd.RenderStrategy|hd.Static,visible:c.value,name:"ListboxOptions"})}}}),gh=Pn({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:a,expose:r}){let n=e.id??`headlessui-listbox-option-${gu()}`,o=sh("ListboxOption"),i=Za(null);r({el:i,$el:i});let s=ol(()=>null!==o.activeOptionIndex.value&&o.options.value[o.activeOptionIndex.value].id===n),l=ol(()=>Ou(o.mode.value,{0:()=>o.compare(Ua(o.value.value),Ua(e.value)),1:()=>Ua(o.value.value).some(t=>o.compare(Ua(t),Ua(e.value)))})),c=ol(()=>Ou(o.mode.value,{1:()=>{let e=Ua(o.value.value);return o.options.value.find(t=>e.some(e=>o.compare(Ua(e),Ua(t.dataRef.value))))?.id===n},0:()=>l.value})),u=nh(i),d=ol(()=>({disabled:e.disabled,value:e.value,get textValue(){return u()},domRef:i}));function p(t){if(e.disabled)return t.preventDefault();o.select(e.value),0===o.mode.value&&(o.closeListbox(),en(()=>bu(o.buttonRef)?.focus({preventScroll:!0})))}function h(){if(e.disabled)return o.goToOption($d.Nothing);o.goToOption($d.Specific,n)}ts(()=>o.registerOption(n,d)),os(()=>o.unregisterOption(n)),ts(()=>{fn([o.listboxState,l],()=>{0===o.listboxState.value&&l.value&&Ou(o.mode.value,{1:()=>{c.value&&o.goToOption($d.Specific,n)},0:()=>{o.goToOption($d.Specific,n)}})},{immediate:!0})}),mn(()=>{0===o.listboxState.value&&s.value&&0!==o.activationTrigger.value&&en(()=>{var e;return((e=bu(i))?.scrollIntoView)?.call(e,{block:"nearest"})})});let m=rd();function f(e){m.update(e)}function g(t){m.wasMoved(t)&&(e.disabled||s.value||o.goToOption($d.Specific,n,0))}function v(t){m.wasMoved(t)&&(e.disabled||s.value&&o.goToOption($d.Nothing))}return()=>{let{disabled:r}=e,o={active:s.value,selected:l.value,disabled:r},{value:c,disabled:u,...d}=e;return sd({ourProps:{id:n,ref:i,role:"option",tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,"aria-selected":l.value,disabled:void 0,onClick:p,onFocus:h,onPointerenter:f,onMouseenter:f,onPointermove:g,onMousemove:g,onPointerleave:v,onMouseleave:v},theirProps:d,slot:o,attrs:a,slots:t,name:"ListboxOption"})}}})});function bh(e){let t=hn(xh,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,bh),t}return t}var yh,Oh,xh,wh,kh,Sh,Ah,_h=V(()=>{Rc(),vu(),Ku(),td(),oh(),nd(),id(),Ad(),_d(),Nd(),yu(),Zu(),_u(),vd(),yh=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(yh||{}),Oh=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Oh||{}),xh=Symbol("MenuContext"),wh=Pn({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:a}){let r=Za(1),n=Za(null),o=Za(null),i=Za([]),s=Za(""),l=Za(null),c=Za(1);function u(e=e=>e){let t=null===l.value?null:i.value[l.value],a=Iu(e(i.value.slice()),e=>bu(e.dataRef.domRef)),r=t?a.indexOf(t):null;return-1===r&&(r=null),{items:a,activeItemIndex:r}}let d={menuState:r,buttonRef:n,itemsRef:o,items:i,searchQuery:s,activeItemIndex:l,activationTrigger:c,closeMenu:()=>{r.value=1,l.value=null},openMenu:()=>r.value=0,goToItem(e,t,a){let r=u(),n=Md(e===$d.Specific?{focus:$d.Specific,id:t}:{focus:e},{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});s.value="",l.value=n,c.value=a??1,i.value=r.items},search(e){let t=""===s.value?1:0;s.value+=e.toLowerCase();let a=(null===l.value?i.value:i.value.slice(l.value+t).concat(i.value.slice(0,l.value+t))).find(e=>e.dataRef.textValue.startsWith(s.value)&&!e.dataRef.disabled),r=a?i.value.indexOf(a):-1;-1===r||r===l.value||(l.value=r,c.value=1)},clearSearch(){s.value=""},registerItem(e,t){let a=u(a=>[...a,{id:e,dataRef:t}]);i.value=a.items,l.value=a.activeItemIndex,c.value=1},unregisterItem(e){let t=u(t=>{let a=t.findIndex(t=>t.id===e);return-1!==a&&t.splice(a,1),t});i.value=t.items,l.value=t.activeItemIndex,c.value=1}};return Yu([n,o],(e,t)=>{var a;d.closeMenu(),Mu(t,Uu.Loose)||(e.preventDefault(),null==(a=bu(n))||a.focus())},ol(()=>0===r.value)),pn(xh,d),Od(ol(()=>Ou(r.value,{0:wd.Open,1:wd.Closed}))),()=>sd({ourProps:{},theirProps:e,slot:{open:0===r.value,close:d.closeMenu},slots:t,attrs:a,name:"Menu"})}}),kh=Pn({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){let n=e.id??`headlessui-menu-button-${gu()}`,o=bh("MenuButton");function i(e){switch(e.key){case kd.Space:case kd.Enter:case kd.ArrowDown:e.preventDefault(),e.stopPropagation(),o.openMenu(),en(()=>{var e;null==(e=bu(o.itemsRef))||e.focus({preventScroll:!0}),o.goToItem($d.First)});break;case kd.ArrowUp:e.preventDefault(),e.stopPropagation(),o.openMenu(),en(()=>{var e;null==(e=bu(o.itemsRef))||e.focus({preventScroll:!0}),o.goToItem($d.Last)})}}function s(e){if(e.key===kd.Space)e.preventDefault()}function l(t){e.disabled||(0===o.menuState.value?(o.closeMenu(),en(()=>bu(o.buttonRef)?.focus({preventScroll:!0}))):(t.preventDefault(),o.openMenu(),function(e){requestAnimationFrame(()=>requestAnimationFrame(e))}(()=>bu(o.itemsRef)?.focus({preventScroll:!0}))))}r({el:o.buttonRef,$el:o.buttonRef});let c=ed(ol(()=>({as:e.as,type:t.type})),o.buttonRef);return()=>{let r={open:0===o.menuState.value},{...u}=e;return sd({ourProps:{ref:o.buttonRef,id:n,type:c.value,"aria-haspopup":"menu","aria-controls":bu(o.itemsRef)?.id,"aria-expanded":0===o.menuState.value,onKeydown:i,onKeyup:s,onClick:l},theirProps:u,slot:r,attrs:t,slots:a,name:"MenuButton"})}}}),Sh=Pn({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){let n=e.id??`headlessui-menu-items-${gu()}`,o=bh("MenuItems"),i=Za(null);function s(e){var t;switch(i.value&&clearTimeout(i.value),e.key){case kd.Space:if(""!==o.searchQuery.value)return e.preventDefault(),e.stopPropagation(),o.search(e.key);case kd.Enter:if(e.preventDefault(),e.stopPropagation(),null!==o.activeItemIndex.value){null==(t=bu(o.items.value[o.activeItemIndex.value].dataRef.domRef))||t.click()}o.closeMenu(),$u(bu(o.buttonRef));break;case kd.ArrowDown:return e.preventDefault(),e.stopPropagation(),o.goToItem($d.Next);case kd.ArrowUp:return e.preventDefault(),e.stopPropagation(),o.goToItem($d.Previous);case kd.Home:case kd.PageUp:return e.preventDefault(),e.stopPropagation(),o.goToItem($d.First);case kd.End:case kd.PageDown:return e.preventDefault(),e.stopPropagation(),o.goToItem($d.Last);case kd.Escape:e.preventDefault(),e.stopPropagation(),o.closeMenu(),en(()=>bu(o.buttonRef)?.focus({preventScroll:!0}));break;case kd.Tab:e.preventDefault(),e.stopPropagation(),o.closeMenu(),en(()=>function(e,t){return Ru(Pu(),t,{relativeTo:e})}(bu(o.buttonRef),e.shiftKey?Lu.Previous:Lu.Next));break;default:1===e.key.length&&(o.search(e.key),i.value=setTimeout(()=>o.clearSearch(),350))}}function l(e){if(e.key===kd.Space)e.preventDefault()}r({el:o.itemsRef,$el:o.itemsRef}),od({container:ol(()=>bu(o.itemsRef)),enabled:ol(()=>0===o.menuState.value),accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let c=yd(),u=ol(()=>null===c?0===o.menuState.value:(c.value&wd.Open)===wd.Open);return()=>{var r;let i={open:0===o.menuState.value},{...c}=e;return sd({ourProps:{"aria-activedescendant":null===o.activeItemIndex.value||null==(r=o.items.value[o.activeItemIndex.value])?void 0:r.id,"aria-labelledby":bu(o.buttonRef)?.id,id:n,onKeydown:s,onKeyup:l,role:"menu",tabIndex:0,ref:o.itemsRef},theirProps:c,slot:i,attrs:t,slots:a,features:hd.RenderStrategy|hd.Static,visible:u.value,name:"MenuItems"})}}}),Ah=Pn({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:a,expose:r}){let n=e.id??`headlessui-menu-item-${gu()}`,o=bh("MenuItem"),i=Za(null);r({el:i,$el:i});let s=ol(()=>null!==o.activeItemIndex.value&&o.items.value[o.activeItemIndex.value].id===n),l=nh(i),c=ol(()=>({disabled:e.disabled,get textValue(){return l()},domRef:i}));function u(t){if(e.disabled)return t.preventDefault();o.closeMenu(),$u(bu(o.buttonRef))}function d(){if(e.disabled)return o.goToItem($d.Nothing);o.goToItem($d.Specific,n)}ts(()=>o.registerItem(n,c)),os(()=>o.unregisterItem(n)),mn(()=>{0===o.menuState.value&&s.value&&0!==o.activationTrigger.value&&en(()=>{var e;return((e=bu(i))?.scrollIntoView)?.call(e,{block:"nearest"})})});let p=rd();function h(e){p.update(e)}function m(t){p.wasMoved(t)&&(e.disabled||s.value||o.goToItem($d.Specific,n,0))}function f(t){p.wasMoved(t)&&(e.disabled||s.value&&o.goToItem($d.Nothing))}return()=>{let{disabled:r,...l}=e,c={active:s.value,disabled:r,close:o.closeMenu};return sd({ourProps:{id:n,ref:i,role:"menuitem",tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,onClick:u,onFocus:d,onPointerenter:h,onMouseenter:h,onPointermove:m,onMousemove:m,onPointerleave:f,onMouseleave:f},theirProps:{...a,...l},slot:c,attrs:a,slots:t,name:"MenuItem"})}}})});function Th(e){let t=hn(Ph,null);if(null===t){let t=Error(`<${e} /> is missing a parent <${Nh.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Th),t}return t}function Eh(){return hn(Mh,null)}var Ch,Ph,Mh,$h,Nh,Ih,Rh,Dh=V(()=>{Rc(),Bp(),Wd(),vu(),Ku(),td(),Op(),Yd(),bd(),Ad(),_d(),yu(),Zu(),_u(),Cu(),vd(),Ch=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ch||{}),Ph=Symbol("PopoverContext"),Mh=Symbol("PopoverGroupContext"),$h=Symbol("PopoverPanelContext"),Nh=Pn({name:"Popover",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:a,expose:r}){let n=Za(null);r({el:n,$el:n});let o=Za(1),i=Za(null),s=Za(null),l=Za(null),c=Za(null),u=ol(()=>Eu(n)),d=ol(()=>{var e,t;if(!bu(i)||!bu(c))return!1;for(let e of document.querySelectorAll("body > *"))if(Number(e?.contains(bu(i)))^Number(e?.contains(bu(c))))return!0;let a=Pu(),r=a.indexOf(bu(i)),n=(r+a.length-1)%a.length,o=(r+1)%a.length,s=a[n],l=a[o];return!(null!=(e=bu(c))&&e.contains(s)||null!=(t=bu(c))&&t.contains(l))}),p={popoverState:o,buttonId:Za(null),panelId:Za(null),panel:c,button:i,isPortalled:d,beforePanelSentinel:s,afterPanelSentinel:l,togglePopover(){o.value=Ou(o.value,{0:1,1:0})},closePopover(){1!==o.value&&(o.value=1)},close(e){p.closePopover(),(e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?bu(e):bu(p.button):bu(p.button))?.focus()}};pn(Ph,p),Od(ol(()=>Ou(o.value,{0:wd.Open,1:wd.Closed})));let h={buttonId:p.buttonId,panelId:p.panelId,close(){p.closePopover()}},m=Eh(),f=m?.registerPopover,[g,v]=$p(),b=yp({mainTreeNodeRef:m?.mainTreeNodeRef,portals:g,defaultContainers:[i,c]});return mn(()=>f?.(h)),Fd(u.value?.defaultView,"focus",e=>{var t,a;e.target!==window&&e.target instanceof HTMLElement&&0===o.value&&((m?.isFocusWithinPopoverGroup()??(u.value?.activeElement&&(bu(i)?.contains(u.value.activeElement)||bu(c)?.contains(u.value.activeElement))))||i&&c&&(b.contains(e.target)||null!=(t=bu(p.beforePanelSentinel))&&t.contains(e.target)||null!=(a=bu(p.afterPanelSentinel))&&a.contains(e.target)||p.closePopover()))},!0),Yu(b.resolveContainers,(e,t)=>{var a;p.closePopover(),Mu(t,Uu.Loose)||(e.preventDefault(),null==(a=bu(i))||a.focus())},ol(()=>0===o.value)),()=>{let r={open:0===o.value,close:p.close};return hi(Ls,[hi(v,{},()=>sd({theirProps:{...e,...a},ourProps:{ref:n},slot:r,slots:t,attrs:a,name:"Popover"})),hi(b.MainTreeNode)])}}}),Ih=Pn({name:"PopoverButton",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:a,expose:r}){let n=e.id??`headlessui-popover-button-${gu()}`,o=Th("PopoverButton"),i=ol(()=>Eu(o.button));r({el:o.button,$el:o.button}),ts(()=>{o.buttonId.value=n}),os(()=>{o.buttonId.value=null});let s=Eh()?.closeOthers,l=hn($h,null),c=ol(()=>null!==l&&l.value===o.panelId.value),u=Za(null),d=`headlessui-focus-sentinel-${gu()}`;c.value||mn(()=>{o.button.value=bu(u)});let p=ed(ol(()=>({as:e.as,type:t.type})),u);function h(e){var t,a,r,n,l;if(c.value){if(1===o.popoverState.value)return;switch(e.key){case kd.Space:case kd.Enter:e.preventDefault(),null==(a=(t=e.target).click)||a.call(t),o.closePopover(),null==(r=bu(o.button))||r.focus()}}else switch(e.key){case kd.Space:case kd.Enter:e.preventDefault(),e.stopPropagation(),1===o.popoverState.value&&s?.(o.buttonId.value),o.togglePopover();break;case kd.Escape:if(0!==o.popoverState.value)return s?.(o.buttonId.value);if(!bu(o.button)||null!=(n=i.value)&&n.activeElement&&(null==(l=bu(o.button))||!l.contains(i.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),o.closePopover()}}function m(e){c.value||e.key===kd.Space&&e.preventDefault()}function f(t){var a,r;e.disabled||(c.value?(o.closePopover(),null==(a=bu(o.button))||a.focus()):(t.preventDefault(),t.stopPropagation(),1===o.popoverState.value&&s?.(o.buttonId.value),o.togglePopover(),null==(r=bu(o.button))||r.focus()))}function g(e){e.preventDefault(),e.stopPropagation()}let v=Xd();function b(){let e=bu(o.panel);e&&Ou(v.value,{[Gd.Forwards]:()=>Ru(e,Lu.First),[Gd.Backwards]:()=>Ru(e,Lu.Last)})===Bu.Error&&Ru(Pu().filter(e=>"true"!==e.dataset.headlessuiFocusGuard),Ou(v.value,{[Gd.Forwards]:Lu.Next,[Gd.Backwards]:Lu.Previous}),{relativeTo:bu(o.button)})}return()=>{let r=0===o.popoverState.value,i={open:r},{...s}=e;return hi(Ls,[sd({ourProps:c.value?{ref:u,type:p.value,onKeydown:h,onClick:f}:{ref:u,id:n,type:p.value,"aria-expanded":0===o.popoverState.value,"aria-controls":bu(o.panel)?o.panelId.value:void 0,disabled:!!e.disabled||void 0,onKeydown:h,onKeyup:m,onClick:f,onMousedown:g},theirProps:{...t,...s},slot:i,attrs:t,slots:a,name:"PopoverButton"}),r&&!c.value&&o.isPortalled.value&&hi(gd,{id:d,features:fd.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:b})])}}}),Pn({name:"PopoverOverlay",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:t,slots:a}){let r=Th("PopoverOverlay"),n=`headlessui-popover-overlay-${gu()}`,o=yd(),i=ol(()=>null===o?0===r.popoverState.value:(o.value&wd.Open)===wd.Open);function s(){r.closePopover()}return()=>{let o={open:0===r.popoverState.value};return sd({ourProps:{id:n,"aria-hidden":!0,onClick:s},theirProps:e,slot:o,attrs:t,slots:a,features:hd.RenderStrategy|hd.Static,visible:i.value,name:"PopoverOverlay"})}}}),Rh=Pn({name:"PopoverPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:a,expose:r}){let n=e.id??`headlessui-popover-panel-${gu()}`,{focus:o}=e,i=Th("PopoverPanel"),s=ol(()=>Eu(i.panel)),l=`headlessui-focus-sentinel-before-${gu()}`,c=`headlessui-focus-sentinel-after-${gu()}`;r({el:i.panel,$el:i.panel}),ts(()=>{i.panelId.value=n}),os(()=>{i.panelId.value=null}),pn($h,i.panelId),mn(()=>{var e;if(!o||0!==i.popoverState.value||!i.panel)return;let t=s.value?.activeElement;null!=(e=bu(i.panel))&&e.contains(t)||Ru(bu(i.panel),Lu.First)});let u=yd(),d=ol(()=>null===u?0===i.popoverState.value:(u.value&wd.Open)===wd.Open);function p(e){var t,a;if(e.key===kd.Escape){if(0!==i.popoverState.value||!bu(i.panel)||s.value&&(null==(t=bu(i.panel))||!t.contains(s.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),i.closePopover(),null==(a=bu(i.button))||a.focus()}}function h(e){var t,a,r,n,o;let s=e.relatedTarget;s&&bu(i.panel)&&(null!=(t=bu(i.panel))&&t.contains(s)||(i.closePopover(),(null!=(r=(a=bu(i.beforePanelSentinel))?.contains)&&r.call(a,s)||null!=(o=(n=bu(i.afterPanelSentinel))?.contains)&&o.call(n,s))&&s.focus({preventScroll:!0})))}let m=Xd();function f(){let e=bu(i.panel);e&&Ou(m.value,{[Gd.Forwards]:()=>{var t;Ru(e,Lu.First)===Bu.Error&&(null==(t=bu(i.afterPanelSentinel))||t.focus())},[Gd.Backwards]:()=>{var e;null==(e=bu(i.button))||e.focus({preventScroll:!0})}})}function g(){let e=bu(i.panel);e&&Ou(m.value,{[Gd.Forwards]:()=>{let e=bu(i.button),t=bu(i.panel);if(!e)return;let a=Pu(),r=a.indexOf(e),n=a.slice(0,r+1),o=[...a.slice(r+1),...n];for(let e of o.slice())if("true"===e.dataset.headlessuiFocusGuard||null!=t&&t.contains(e)){let t=o.indexOf(e);-1!==t&&o.splice(t,1)}Ru(o,Lu.First,{sorted:!1})},[Gd.Backwards]:()=>{var t;Ru(e,Lu.Previous)===Bu.Error&&(null==(t=bu(i.button))||t.focus())}})}return()=>{let r={open:0===i.popoverState.value,close:i.close},{focus:s,...u}=e;return sd({ourProps:{ref:i.panel,id:n,onKeydown:p,onFocusout:o&&0===i.popoverState.value?h:void 0,tabIndex:-1},theirProps:{...t,...u},attrs:t,slot:r,slots:{...a,default:(...e)=>[hi(Ls,[d.value&&i.isPortalled.value&&hi(gd,{id:l,ref:i.beforePanelSentinel,features:fd.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:f}),a.default?.call(a,...e),d.value&&i.isPortalled.value&&hi(gd,{id:c,ref:i.afterPanelSentinel,features:fd.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:g})])]},features:hd.RenderStrategy|hd.Static,visible:d.value,name:"PopoverPanel"})}}}),Pn({name:"PopoverGroup",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:a,expose:r}){let n=Za(null),o=Va([]),i=ol(()=>Eu(n)),s=function(){let e=Za(null);return{mainTreeNodeRef:e,MainTreeNode:()=>hi(gd,{features:fd.Hidden,ref:e})}}();function l(e){let t=o.value.indexOf(e);-1!==t&&o.value.splice(t,1)}return r({el:n,$el:n}),pn(Mh,{registerPopover:function(e){return o.value.push(e),()=>{l(e)}},unregisterPopover:l,isFocusWithinPopoverGroup:function(){var e;let t=i.value;if(!t)return!1;let a=t.activeElement;return!(null==(e=bu(n))||!e.contains(a))||o.value.some(e=>t.getElementById(e.buttonId.value)?.contains(a)||t.getElementById(e.panelId.value)?.contains(a))},closeOthers:function(e){for(let t of o.value)t.buttonId.value!==e&&t.close()},mainTreeNodeRef:s.mainTreeNodeRef}),()=>hi(Ls,[sd({ourProps:{ref:n},theirProps:{...e,...t},slot:{},attrs:t,slots:a,name:"PopoverGroup"}),hi(s.MainTreeNode)])}})});function Lh(){let e=hn(jh,null);if(null===e){let e=Error("You used a <Label /> component, but it is not inside a parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,Lh),e}return e}function Bh({slot:e={},name:t="Label",props:a={}}={}){let r=Za([]);return pn(jh,{register:function(e){return r.value.push(e),()=>{let t=r.value.indexOf(e);-1!==t&&r.value.splice(t,1)}},slot:e,name:t,props:a}),ol(()=>r.value.length>0?r.value.join(" "):void 0)}var jh,Uh=V(()=>{Rc(),vu(),vd(),jh=Symbol("LabelContext"),Pn({name:"Label",props:{as:{type:[Object,String],default:"label"},passive:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:a}){let r=e.id??`headlessui-label-${gu()}`,n=Lh();return ts(()=>os(n.register(r))),()=>{let{name:o="Label",slot:i={},props:s={}}=n,{passive:l,...c}=e,u={...Object.entries(s).reduce((e,[t,a])=>Object.assign(e,{[t]:Fa(a)}),{}),id:r};return l&&(delete u.onClick,delete u.htmlFor,delete c.onClick),sd({ourProps:u,theirProps:c,slot:i,attrs:a,slots:t,name:o})}}})});function zh(e,t){return e===t}function Hh(e){let t=hn(Zh,null);if(null===t){let t=Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Hh),t}return t}var Zh,Vh,Qh,qh,Fh=V(()=>{Rc(),iu(),vu(),id(),bd(),_d(),yu(),Zu(),Bd(),Cu(),vd(),Pp(),Uh(),Zh=Symbol("RadioGroupContext"),Pn({name:"RadioGroup",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"div"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>zh},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{emit:t,attrs:a,slots:r,expose:n}){let o=e.id??`headlessui-radiogroup-${gu()}`,i=Za(null),s=Za([]),l=Bh({name:"RadioGroupLabel"}),c=Ep({name:"RadioGroupDescription"});n({el:i,$el:i});let[u,d]=ou(ol(()=>e.modelValue),e=>t("update:modelValue",e),ol(()=>e.defaultValue)),p={options:s,value:u,disabled:ol(()=>e.disabled),firstOption:ol(()=>s.value.find(e=>!e.propsRef.disabled)),containsCheckedOption:ol(()=>s.value.some(t=>p.compare(Ua(t.propsRef.value),Ua(e.modelValue)))),compare(t,a){if("string"==typeof e.by){let r=e.by;return t?.[r]===a?.[r]}return e.by(t,a)},change(t){if(e.disabled||p.compare(Ua(u.value),Ua(t)))return!1;let a=s.value.find(e=>p.compare(Ua(e.propsRef.value),Ua(t)))?.propsRef;return(null==a||!a.disabled)&&(d(t),!0)},registerOption(e){s.value.push(e),s.value=Iu(s.value,e=>e.element)},unregisterOption(e){let t=s.value.findIndex(t=>t.id===e);-1!==t&&s.value.splice(t,1)}};function h(e){if(!i.value||!i.value.contains(e.target))return;let t=s.value.filter(e=>!1===e.propsRef.disabled).map(e=>e.element);switch(e.key){case kd.Enter:Ld(e.currentTarget);break;case kd.ArrowLeft:case kd.ArrowUp:if(e.preventDefault(),e.stopPropagation(),Ru(t,Lu.Previous|Lu.WrapAround)===Bu.Success){let e=s.value.find(e=>e.element===Eu(i)?.activeElement);e&&p.change(e.propsRef.value)}break;case kd.ArrowRight:case kd.ArrowDown:if(e.preventDefault(),e.stopPropagation(),Ru(t,Lu.Next|Lu.WrapAround)===Bu.Success){let e=s.value.find(e=>e.element===Eu(e.element)?.activeElement);e&&p.change(e.propsRef.value)}break;case kd.Space:{e.preventDefault(),e.stopPropagation();let t=s.value.find(e=>e.element===Eu(e.element)?.activeElement);t&&p.change(t.propsRef.value)}}}pn(Zh,p),od({container:ol(()=>bu(i)),accept:e=>"radio"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let m=ol(()=>bu(i)?.closest("form"));return ts(()=>{fn([m],()=>{if(m.value&&void 0!==e.defaultValue)return m.value.addEventListener("reset",t),()=>{var e;null==(e=m.value)||e.removeEventListener("reset",t)};function t(){p.change(e.defaultValue)}},{immediate:!0})}),()=>{let{disabled:t,name:n,form:s,...d}=e,p={ref:i,id:o,role:"radiogroup","aria-labelledby":l.value,"aria-describedby":c.value,onKeydown:h};return hi(Ls,[...null!=n&&null!=u.value?Id({[n]:u.value}).map(([e,a])=>hi(gd,dd({features:fd.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:t,name:e,value:a}))):[],sd({ourProps:p,theirProps:{...a,...pd(d,["modelValue","defaultValue","by"])},slot:{},attrs:a,slots:r,name:"RadioGroup"})])}}}),Vh=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(Vh||{}),Pn({name:"RadioGroupOption",props:{as:{type:[Object,String],default:"div"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){let n=e.id??`headlessui-radiogroup-option-${gu()}`,o=Hh("RadioGroupOption"),i=Bh({name:"RadioGroupLabel"}),s=Ep({name:"RadioGroupDescription"}),l=Za(null),c=ol(()=>({value:e.value,disabled:e.disabled})),u=Za(1);r({el:l,$el:l});let d=ol(()=>bu(l));ts(()=>o.registerOption({id:n,element:d,propsRef:c})),os(()=>o.unregisterOption(n));let p=ol(()=>o.firstOption.value?.id===n),h=ol(()=>o.disabled.value||e.disabled),m=ol(()=>o.compare(Ua(o.value.value),Ua(e.value))),f=ol(()=>h.value?-1:m.value||!o.containsCheckedOption.value&&p.value?0:-1);function g(){var t;o.change(e.value)&&(u.value|=2,null==(t=bu(l))||t.focus())}function v(){u.value|=2}function b(){u.value&=-3}return()=>{let{value:r,disabled:o,...c}=e,d={checked:m.value,disabled:h.value,active:!!(2&u.value)};return sd({ourProps:{id:n,ref:l,role:"radio","aria-checked":m.value?"true":"false","aria-labelledby":i.value,"aria-describedby":s.value,"aria-disabled":!!h.value||void 0,tabIndex:f.value,onClick:h.value?void 0:g,onFocus:h.value?void 0:v,onBlur:h.value?void 0:b},theirProps:c,slot:d,attrs:t,slots:a,name:"RadioGroupOption"})}}})}),Wh=V(()=>{Rc(),iu(),vu(),td(),bd(),_d(),yu(),Bd(),vd(),Pp(),Uh(),Qh=Symbol("GroupContext"),Pn({name:"SwitchGroup",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:a}){let r=Za(null);return pn(Qh,{switchRef:r,labelledby:Bh({name:"SwitchLabel",props:{htmlFor:ol(()=>r.value?.id),onClick(e){r.value&&("LABEL"===e.currentTarget.tagName&&e.preventDefault(),r.value.click(),r.value.focus({preventScroll:!0}))}}}),describedby:Ep({name:"SwitchDescription"})}),()=>sd({theirProps:e,ourProps:{},slot:{},slots:t,attrs:a,name:"SwitchGroup"})}}),Pn({name:"Switch",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(e,{emit:t,attrs:a,slots:r,expose:n}){let o=e.id??`headlessui-switch-${gu()}`,i=hn(Qh,null),[s,l]=ou(ol(()=>e.modelValue),e=>t("update:modelValue",e),ol(()=>e.defaultChecked));function c(){l(!s.value)}let u=Za(null),d=null===i?u:i.switchRef,p=ed(ol(()=>({as:e.as,type:a.type})),d);function h(e){e.preventDefault(),c()}function m(e){e.key===kd.Space?(e.preventDefault(),c()):e.key===kd.Enter&&Ld(e.currentTarget)}function f(e){e.preventDefault()}n({el:d,$el:d});let g=ol(()=>{var e;return((e=bu(d))?.closest)?.call(e,"form")});return ts(()=>{fn([g],()=>{if(g.value&&void 0!==e.defaultChecked)return g.value.addEventListener("reset",t),()=>{var e;null==(e=g.value)||e.removeEventListener("reset",t)};function t(){l(e.defaultChecked)}},{immediate:!0})}),()=>{let{name:t,value:n,form:l,tabIndex:c,...u}=e,g={checked:s.value},v={id:o,ref:d,role:"switch",type:p.value,tabIndex:-1===c?0:c,"aria-checked":s.value,"aria-labelledby":i?.labelledby.value,"aria-describedby":i?.describedby.value,onClick:h,onKeyup:m,onKeypress:f};return hi(Ls,[null!=t&&null!=s.value?hi(gd,dd({features:fd.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:s.value,form:l,disabled:u.disabled,name:t,value:n})):null,sd({ourProps:v,theirProps:{...a,...pd(u,["modelValue","defaultChecked"])},slot:g,attrs:a,slots:r,name:"Switch"})])}}})}),Xh=V(()=>{Rc(),bd(),qh=Pn({props:{onFocus:{type:Function,required:!0}},setup(e){let t=Za(!0);return()=>t.value?hi(gd,{as:"button",type:"button",features:fd.Focusable,onFocus(a){a.preventDefault();let r,n=50;r=requestAnimationFrame(function a(){var o;if(!(n--<=0))return null!=(o=e.onFocus)&&o.call(e)?(t.value=!1,void cancelAnimationFrame(r)):void(r=requestAnimationFrame(a));r&&cancelAnimationFrame(r)})}}):null}})});function Gh(e){let t=hn(Jh,null);if(null===t){let t=Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Gh),t}return t}var Yh,Kh,Jh,em,tm,am,rm,nm,om,im=V(()=>{Rc(),vu(),td(),Xh(),bd(),_d(),yu(),Zu(),_u(),lu(),Cu(),vd(),Yh=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Yh||{}),Kh=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(Kh||{}),Jh=Symbol("TabsContext"),em=Symbol("TabsSSRContext"),tm=Pn({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:a,emit:r}){let n=Za(e.selectedIndex??e.defaultIndex),o=Za([]),i=Za([]),s=ol(()=>null!==e.selectedIndex),l=ol(()=>s.value?e.selectedIndex:n.value);function c(e){let t=Iu(u.tabs.value,bu),a=Iu(u.panels.value,bu),r=t.filter(e=>{var t;return!(null!=(t=bu(e))&&t.hasAttribute("disabled"))});if(e<0||e>t.length-1){let o=Ou(Ou(null===n.value?0:Math.sign(e-n.value),{[-1]:()=>1,0:()=>Ou(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),{0:()=>t.indexOf(r[0]),1:()=>t.indexOf(r[r.length-1])});-1!==o&&(n.value=o),u.tabs.value=t,u.panels.value=a}else{let o=t.slice(0,e),i=[...t.slice(e),...o].find(e=>r.includes(e));if(!i)return;let s=t.indexOf(i)??u.selectedIndex.value;-1===s&&(s=u.selectedIndex.value),n.value=s,u.tabs.value=t,u.panels.value=a}}let u={selectedIndex:ol(()=>n.value??e.defaultIndex??null),orientation:ol(()=>e.vertical?"vertical":"horizontal"),activation:ol(()=>e.manual?"manual":"auto"),tabs:o,panels:i,setSelectedIndex(e){l.value!==e&&r("change",e),s.value||c(e)},registerTab(e){if(o.value.includes(e))return;let t=o.value[n.value];if(o.value.push(e),o.value=Iu(o.value,bu),!s.value){let e=o.value.indexOf(t)??n.value;-1!==e&&(n.value=e)}},unregisterTab(e){let t=o.value.indexOf(e);-1!==t&&o.value.splice(t,1)},registerPanel(e){i.value.includes(e)||(i.value.push(e),i.value=Iu(i.value,bu))},unregisterPanel(e){let t=i.value.indexOf(e);-1!==t&&i.value.splice(t,1)}};pn(Jh,u);let d=Za({tabs:[],panels:[]}),p=Za(!1);ts(()=>{p.value=!0}),pn(em,ol(()=>p.value?null:d.value));let h=ol(()=>e.selectedIndex);return ts(()=>{fn([h],()=>c(e.selectedIndex??e.defaultIndex),{immediate:!0})}),mn(()=>{if(!s.value||null==l.value||u.tabs.value.length<=0)return;let e=Iu(u.tabs.value,bu);e.some((e,t)=>bu(u.tabs.value[t])!==bu(e))&&u.setSelectedIndex(e.findIndex(e=>bu(e)===bu(u.tabs.value[l.value])))}),()=>{let r={selectedIndex:n.value};return hi(Ls,[o.value.length<=0&&hi(qh,{onFocus:()=>{for(let e of o.value){let t=bu(e);if(0===t?.tabIndex)return t.focus(),!0}return!1}}),sd({theirProps:{...a,...pd(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:r,slots:t,attrs:a,name:"TabGroup"})])}}}),am=Pn({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:a}){let r=Gh("TabList");return()=>{let n={selectedIndex:r.selectedIndex.value};return sd({ourProps:{role:"tablist","aria-orientation":r.orientation.value},theirProps:e,slot:n,attrs:t,slots:a,name:"TabList"})}}}),rm=Pn({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:a,expose:r}){let n=e.id??`headlessui-tabs-tab-${gu()}`,o=Gh("Tab"),i=Za(null);r({el:i,$el:i}),ts(()=>o.registerTab(i)),os(()=>o.unregisterTab(i));let s=hn(em),l=ol(()=>{if(s.value){let e=s.value.tabs.indexOf(n);return-1===e?s.value.tabs.push(n)-1:e}return-1}),c=ol(()=>{let e=o.tabs.value.indexOf(i);return-1===e?l.value:e}),u=ol(()=>c.value===o.selectedIndex.value);function d(e){let t=e();if(t===Bu.Success&&"auto"===o.activation.value){let e=Eu(i)?.activeElement,t=o.tabs.value.findIndex(t=>bu(t)===e);-1!==t&&o.setSelectedIndex(t)}return t}function p(e){let t=o.tabs.value.map(e=>bu(e)).filter(Boolean);if(e.key===kd.Space||e.key===kd.Enter)return e.preventDefault(),e.stopPropagation(),void o.setSelectedIndex(c.value);switch(e.key){case kd.Home:case kd.PageUp:return e.preventDefault(),e.stopPropagation(),d(()=>Ru(t,Lu.First));case kd.End:case kd.PageDown:return e.preventDefault(),e.stopPropagation(),d(()=>Ru(t,Lu.Last))}return d(()=>Ou(o.orientation.value,{vertical:()=>e.key===kd.ArrowUp?Ru(t,Lu.Previous|Lu.WrapAround):e.key===kd.ArrowDown?Ru(t,Lu.Next|Lu.WrapAround):Bu.Error,horizontal:()=>e.key===kd.ArrowLeft?Ru(t,Lu.Previous|Lu.WrapAround):e.key===kd.ArrowRight?Ru(t,Lu.Next|Lu.WrapAround):Bu.Error}))===Bu.Success?e.preventDefault():void 0}let h=Za(!1);function m(){var t;h.value||(h.value=!0,!e.disabled&&(null==(t=bu(i))||t.focus({preventScroll:!0}),o.setSelectedIndex(c.value),su(()=>{h.value=!1})))}function f(e){e.preventDefault()}let g=ed(ol(()=>({as:e.as,type:t.type})),i);return()=>{let r={selected:u.value,disabled:e.disabled??!1},{...s}=e;return sd({ourProps:{ref:i,onKeydown:p,onMousedown:f,onClick:m,id:n,role:"tab",type:g.value,"aria-controls":bu(o.panels.value[c.value])?.id,"aria-selected":u.value,tabIndex:u.value?0:-1,disabled:!!e.disabled||void 0},theirProps:s,slot:r,attrs:t,slots:a,name:"Tab"})}}}),nm=Pn({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:a}){let r=Gh("TabPanels");return()=>sd({theirProps:e,ourProps:{},slot:{selectedIndex:r.selectedIndex.value},attrs:a,slots:t,name:"TabPanels"})}}),om=Pn({name:"TabPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null},tabIndex:{type:Number,default:0}},setup(e,{attrs:t,slots:a,expose:r}){let n=e.id??`headlessui-tabs-panel-${gu()}`,o=Gh("TabPanel"),i=Za(null);r({el:i,$el:i}),ts(()=>o.registerPanel(i)),os(()=>o.unregisterPanel(i));let s=hn(em),l=ol(()=>{if(s.value){let e=s.value.panels.indexOf(n);return-1===e?s.value.panels.push(n)-1:e}return-1}),c=ol(()=>{let e=o.panels.value.indexOf(i);return-1===e?l.value:e}),u=ol(()=>c.value===o.selectedIndex.value);return()=>{let r={selected:u.value},{tabIndex:s,...l}=e,d={ref:i,id:n,role:"tabpanel","aria-labelledby":bu(o.tabs.value[c.value])?.id,tabIndex:u.value?s:-1};return u.value||!e.unmount||e.static?sd({ourProps:d,theirProps:l,slot:r,attrs:t,slots:a,features:hd.Static|hd.RenderStrategy,visible:u.value,name:"TabPanel"}):hi(gd,{as:"span","aria-hidden":!0,...d})}}})});var sm=V(()=>{});function lm(e,...t){e&&t.length>0&&e.classList.add(...t)}function cm(e,...t){e&&t.length>0&&e.classList.remove(...t)}function um(e,t,a,r,n,o){let i=cu(),s=void 0===o?()=>{}:function(e){let t={called:!1};return(...a)=>{if(!t.called)return t.called=!0,e(...a)}}(o);return cm(e,...n),lm(e,...t,...a),i.nextFrame(()=>{cm(e,...a),lm(e,...r),i.add(function(e,t){let a=cu();if(!e)return a.dispose;let{transitionDuration:r,transitionDelay:n}=getComputedStyle(e),[o,i]=[r,n].map(e=>{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t});return 0===o?t("finished"):a.setTimeout(()=>t("finished"),o+i),a.add(()=>t("cancelled")),a.dispose}(e,a=>(cm(e,...r,...t),lm(e,...n),s(a))))}),i.add(()=>cm(e,...t,...a,...r,...n)),i.add(()=>s("cancelled")),i.dispose}var dm,pm=V(()=>{uu(),sm(),dm=(e=>(e.Finished="finished",e.Cancelled="cancelled",e))(dm||{})});function hm(e=""){return e.split(/\s+/).filter(e=>e.length>1)}function mm(e){return"children"in e?mm(e.children):e.value.filter(({state:e})=>"visible"===e).length>0}function fm(e){let t=Za([]),a=Za(!1);function r(r,n=md.Hidden){let o=t.value.findIndex(({id:e})=>e===r);-1!==o&&(Ou(n,{[md.Unmount](){t.value.splice(o,1)},[md.Hidden](){t.value[o].state="hidden"}}),!mm(t)&&a.value&&e?.())}return ts(()=>a.value=!0),os(()=>a.value=!1),{children:t,register:function(e){let a=t.value.find(({id:t})=>t===e);return a?"visible"!==a.state&&(a.state="visible"):t.value.push({id:e,state:"visible"}),()=>r(e,md.Unmount)},unregister:r}}var gm,vm,bm,ym,Om,xm,wm,km,Sm=V(()=>{Rc(),vu(),Ad(),yu(),Tu(),_u(),vd(),pm(),gm=Symbol("TransitionContext"),vm=(e=>(e.Visible="visible",e.Hidden="hidden",e))(vm||{}),bm=Symbol("NestingContext"),ym=hd.RenderStrategy,Om=Pn({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:a,slots:r,expose:n}){let o=Za(0);function i(){o.value|=wd.Opening,t("beforeEnter")}function s(){o.value&=~wd.Opening,t("afterEnter")}function l(){o.value|=wd.Closing,t("beforeLeave")}function c(){o.value&=~wd.Closing,t("afterLeave")}if(null===hn(gm,null)&&null!==yd())return()=>hi(wm,{...e,onBeforeEnter:i,onAfterEnter:s,onBeforeLeave:l,onAfterLeave:c},r);let u=Za(null),d=ol(()=>e.unmount?md.Unmount:md.Hidden);n({el:u,$el:u});let{show:p,appear:h}=function(){let e=hn(gm,null);if(null===e)throw Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return e}(),{register:m,unregister:f}=function(){let e=hn(bm,null);if(null===e)throw Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return e}(),g=Za(p.value?"visible":"hidden"),v={value:!0},b=gu(),y={value:!1},O=fm(()=>{!y.value&&"hidden"!==g.value&&(g.value="hidden",f(b),c())});ts(()=>{os(m(b))}),mn(()=>{if(d.value===md.Hidden&&b){if(p.value&&"visible"!==g.value)return void(g.value="visible");Ou(g.value,{hidden:()=>f(b),visible:()=>m(b)})}});let x=hm(e.enter),w=hm(e.enterFrom),k=hm(e.enterTo),S=hm(e.entered),A=hm(e.leave),_=hm(e.leaveFrom),T=hm(e.leaveTo);return ts(()=>{mn(()=>{if("visible"===g.value){let e=bu(u);if(e instanceof Comment&&""===e.data)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})}),ts(()=>{fn([p],(e,t,a)=>{(function(e){let t=v.value&&!h.value,a=bu(u);!a||!(a instanceof HTMLElement)||t||(y.value=!0,p.value&&i(),p.value||l(),e(p.value?um(a,x,w,k,S,e=>{y.value=!1,e===dm.Finished&&s()}):um(a,A,_,T,S,e=>{y.value=!1,e===dm.Finished&&(mm(O)||(g.value="hidden",f(b),c()))})))})(a),v.value=!1},{immediate:!0})}),pn(bm,O),Od(ol(()=>Ou(g.value,{visible:wd.Open,hidden:wd.Closed})|o.value)),()=>{let{appear:t,show:n,enter:o,enterFrom:i,enterTo:s,entered:l,leave:c,leaveFrom:d,leaveTo:m,...f}=e,v={ref:u};return sd({theirProps:{...f,...h.value&&p.value&&Au.isServer?{class:tt([a.class,f.class,...x,...w])}:{}},ourProps:v,slot:{},slots:r,attrs:a,features:ym,visible:"visible"===g.value,name:"TransitionChild"})}}}),xm=Om,wm=Pn({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:a,slots:r}){let n=yd(),o=ol(()=>null===e.show&&null!==n?(n.value&wd.Open)===wd.Open:e.show);mn(()=>{if(![!0,!1].includes(o.value))throw Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.')});let i=Za(o.value?"visible":"hidden"),s=fm(()=>{i.value="hidden"}),l=Za(!0),c={show:o,appear:ol(()=>e.appear||!l.value)};return ts(()=>{mn(()=>{l.value=!1,o.value?i.value="visible":mm(s)||(i.value="hidden")})}),pn(bm,s),pn(gm,c),()=>{let n=pd(e,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),o={unmount:e.unmount};return sd({ourProps:{...o,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[hi(xm,{onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave"),...a,...o,...n},r.default)]},attrs:{},features:ym,visible:"visible"===i.value,name:"Transition"})}}})}),Am=V(()=>{qd(),qp(),eh(),rp(),vh(),_h(),Dh(),Fh(),Wh(),im(),Sm(),vu()}),_m=V(()=>{km=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a}});function Tm(e={}){let t=ol(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:"presentation"});return{bind:ol(()=>({width:"1em",height:"1em",...t.value})),weight:ol(()=>e.weight??Em)}}var Em,Cm,Pm,Mm,$m,Nm,Im,Rm,Dm,Lm,Bm,jm,Um,zm,Hm,Zm,Vm,Qm,qm,Fm,Wm,Xm,Gm,Ym,Km,Jm,ef,tf,af,rf,nf,of,sf,lf,cf,uf,df,pf,hf,mf,ff,gf,vf,bf,yf,Of,xf,wf,kf,Sf,Af,_f,Tf,Ef,Cf,Pf,Mf,$f,Nf,If,Rf,Df,Lf,Bf,jf,Uf,zf,Hf,Zf,Vf,Qf,qf,Ff,Wf,Xf,Gf,Yf,Kf,Jf,eg,tg,ag,rg,ng,og,ig,sg,lg,cg,ug,dg,pg,hg,mg,fg,gg,vg,bg,yg,Og,xg,wg,kg,Sg,Ag,_g,Tg,Eg,Cg,Pg,Mg,$g,Ng,Ig,Rg,Dg,Lg,Bg,jg,Ug,zg,Hg,Zg,Vg,Qg,qg,Fg,Wg,Xg,Gg,Yg,Kg,Jg,ev,tv,av,rv,nv,ov,iv,sv,lv,cv,uv,dv,pv,hv,mv,fv,gv,vv,bv,yv,Ov,xv,wv,kv,Sv,Av,_v,Tv,Ev,Cv,Pv,Mv,$v,Nv,Iv,Rv,Dv,Lv,Bv,jv,Uv,zv,Hv,Zv,Vv,Qv,qv,Fv,Wv,Xv,Gv,Yv,Kv,Jv,eb,tb,ab,rb,nb,ob,ib,sb,lb,cb,ub,db,pb,hb,mb,fb,gb,vb,bb,yb,Ob,xb,wb,kb,Sb,Ab,_b,Tb,Eb,Cb,Pb,Mb,$b,Nb,Ib,Rb,Db,Lb,Bb,jb,Ub,zb,Hb,Zb,Vb,Qb,qb,Fb,Wb,Xb,Gb,Yb,Kb,Jb,ey,ty,ay,ry,ny,oy,iy,sy,ly,cy,uy,dy,py,hy,my,fy,gy,vy,by,yy,Oy,xy,wy,ky,Sy,Ay,_y,Ty,Ey,Cy,Py,My,$y,Ny,Iy,Ry,Dy,Ly,By,jy,Uy,zy,Hy,Zy,Vy,Qy,qy,Fy,Wy,Xy,Gy,Yy,Ky,Jy,eO,tO,aO,rO,nO,oO,iO,sO,lO,cO,uO,dO,pO,hO,mO,fO,gO,vO,bO,yO,OO,xO,wO,kO,SO,AO,_O,TO,EO,CO,PO,MO,$O,NO,IO,RO,DO,LO,BO,jO,UO,zO,HO,ZO,VO,QO,qO,FO,WO,XO,GO,YO,KO,JO,ex,tx,ax,rx,nx,ox,ix,sx,lx,cx,ux,dx,px,hx,mx,fx,gx,vx,bx,yx,Ox,xx,wx,kx,Sx,Ax,_x,Tx,Ex,Cx,Px,Mx,$x,Nx,Ix,Rx,Dx,Lx,Bx,jx,Ux,zx,Hx,Zx,Vx,Qx,qx,Fx,Wx,Xx,Gx,Yx,Kx,Jx,ew,tw,aw,rw,nw,ow,iw,sw,lw,cw,uw,dw,pw,hw,mw,fw,gw,vw,bw,yw,Ow,xw,ww,kw,Sw,Aw,_w,Tw,Ew,Cw,Pw,Mw,$w,Nw,Iw,Rw,Dw,Lw,Bw,jw,Uw=V(()=>{Rc(),Em="regular"}),zw=V(()=>{Uw(),Rc(),Cm={key:0},Pm={key:1},Mm={key:2},$m={key:3},Nm={key:4},Im={key:5},Rm=Pn({name:"ScalarIconArrowRight",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Cm,[...r[0]||=[Go("path",{d:"M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Pm,[...r[1]||=[Go("path",{d:"M216,128l-72,72V56Z",opacity:"0.2"},null,-1),Go("path",{d:"M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Mm,[...r[2]||=[Go("path",{d:"M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",$m,[...r[3]||=[Go("path",{d:"M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Nm,[...r[4]||=[Go("path",{d:"M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Im,[...r[5]||=[Go("path",{d:"M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"},null,-1)]])):ai("",!0)],16))}})}),Hw=V(()=>{zw(),Dm=Rm}),Zw=V(()=>{Uw(),Rc(),Lm={key:0},Bm={key:1},jm={key:2},Um={key:3},zm={key:4},Hm={key:5},Zm=Pn({name:"ScalarIconArrowUp",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Lm,[...r[0]||=[Go("path",{d:"M208.49,120.49a12,12,0,0,1-17,0L140,69V216a12,12,0,0,1-24,0V69L64.49,120.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0l72,72A12,12,0,0,1,208.49,120.49Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Bm,[...r[1]||=[Go("path",{d:"M200,112H56l72-72Z",opacity:"0.2"},null,-1),Go("path",{d:"M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,120h64v96a8,8,0,0,0,16,0V120h64a8,8,0,0,0,5.66-13.66ZM75.31,104,128,51.31,180.69,104Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",jm,[...r[2]||=[Go("path",{d:"M207.39,115.06A8,8,0,0,1,200,120H136v96a8,8,0,0,1-16,0V120H56a8,8,0,0,1-5.66-13.66l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,207.39,115.06Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Um,[...r[3]||=[Go("path",{d:"M204.24,116.24a6,6,0,0,1-8.48,0L134,54.49V216a6,6,0,0,1-12,0V54.49L60.24,116.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0l72,72A6,6,0,0,1,204.24,116.24Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",zm,[...r[4]||=[Go("path",{d:"M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Hm,[...r[5]||=[Go("path",{d:"M202.83,114.83a4,4,0,0,1-5.66,0L132,49.66V216a4,4,0,0,1-8,0V49.66L58.83,114.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0l72,72A4,4,0,0,1,202.83,114.83Z"},null,-1)]])):ai("",!0)],16))}})}),Vw=V(()=>{Zw(),Vm=Zm}),Qw=V(()=>{Uw(),Rc(),Qm={key:0},qm={key:1},Fm={key:2},Wm={key:3},Xm={key:4},Gm={key:5},Ym=Pn({name:"ScalarIconArrowUpRight",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Qm,[...r[0]||=[Go("path",{d:"M204,64V168a12,12,0,0,1-24,0V93L72.49,200.49a12,12,0,0,1-17-17L163,76H88a12,12,0,0,1,0-24H192A12,12,0,0,1,204,64Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",qm,[...r[1]||=[Go("path",{d:"M192,64V168L88,64Z",opacity:"0.2"},null,-1),Go("path",{d:"M192,56H88a8,8,0,0,0-5.66,13.66L128.69,116,58.34,186.34a8,8,0,0,0,11.32,11.32L140,127.31l46.34,46.35A8,8,0,0,0,200,168V64A8,8,0,0,0,192,56Zm-8,92.69-38.34-38.34h0L107.31,72H184Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Fm,[...r[2]||=[Go("path",{d:"M200,64V168a8,8,0,0,1-13.66,5.66L140,127.31,69.66,197.66a8,8,0,0,1-11.32-11.32L128.69,116,82.34,69.66A8,8,0,0,1,88,56H192A8,8,0,0,1,200,64Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Wm,[...r[3]||=[Go("path",{d:"M198,64V168a6,6,0,0,1-12,0V78.48L68.24,196.24a6,6,0,0,1-8.48-8.48L177.52,70H88a6,6,0,0,1,0-12H192A6,6,0,0,1,198,64Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Xm,[...r[4]||=[Go("path",{d:"M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Gm,[...r[5]||=[Go("path",{d:"M196,64V168a4,4,0,0,1-8,0V73.66L66.83,194.83a4,4,0,0,1-5.66-5.66L182.34,68H88a4,4,0,0,1,0-8H192A4,4,0,0,1,196,64Z"},null,-1)]])):ai("",!0)],16))}})}),qw=V(()=>{Qw(),Km=Ym}),Fw=V(()=>{Uw(),Rc(),Jm={key:0},ef={key:1},tf={key:2},af={key:3},rf={key:4},nf={key:5},of=Pn({name:"ScalarIconBook",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Jm,[...r[0]||=[Go("path",{d:"M208,20H72A36,36,0,0,0,36,56V224a12,12,0,0,0,12,12H192a12,12,0,0,0,0-24H60v-4a12,12,0,0,1,12-12H208a12,12,0,0,0,12-12V32A12,12,0,0,0,208,20ZM196,172H72a35.59,35.59,0,0,0-12,2.06V56A12,12,0,0,1,72,44H196Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",ef,[...r[1]||=[Go("path",{d:"M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z",opacity:"0.2"},null,-1),Go("path",{d:"M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",tf,[...r[2]||=[Go("path",{d:"M216,32V192a8,8,0,0,1-8,8H72a16,16,0,0,0-16,16H192a8,8,0,0,1,0,16H48a8,8,0,0,1-8-8V56A32,32,0,0,1,72,24H208A8,8,0,0,1,216,32Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",af,[...r[3]||=[Go("path",{d:"M208,26H72A30,30,0,0,0,42,56V224a6,6,0,0,0,6,6H192a6,6,0,0,0,0-12H54v-2a18,18,0,0,1,18-18H208a6,6,0,0,0,6-6V32A6,6,0,0,0,208,26Zm-6,160H72a29.87,29.87,0,0,0-18,6V56A18,18,0,0,1,72,38H202Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",rf,[...r[4]||=[Go("path",{d:"M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",nf,[...r[5]||=[Go("path",{d:"M208,28H72A28,28,0,0,0,44,56V224a4,4,0,0,0,4,4H192a4,4,0,0,0,0-8H52v-4a20,20,0,0,1,20-20H208a4,4,0,0,0,4-4V32A4,4,0,0,0,208,28Zm-4,160H72a27.94,27.94,0,0,0-20,8.42V56A20,20,0,0,1,72,36H204Z"},null,-1)]])):ai("",!0)],16))}})}),Ww=V(()=>{Fw(),sf=of}),Xw=V(()=>{Uw(),Rc(),lf={key:0},cf={key:1},uf={key:2},df={key:3},pf={key:4},hf={key:5},mf=Pn({name:"ScalarIconBookOpen",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",lf,[...r[0]||=[Go("path",{d:"M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",cf,[...r[1]||=[Go("path",{d:"M232,56V200H160a32,32,0,0,0-32,32,32,32,0,0,0-32-32H24V56H96a32,32,0,0,1,32,32,32,32,0,0,1,32-32Z",opacity:"0.2"},null,-1),Go("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",uf,[...r[2]||=[Go("path",{d:"M240,56V200a8,8,0,0,1-8,8H160a24,24,0,0,0-24,23.94,7.9,7.9,0,0,1-5.12,7.55A8,8,0,0,1,120,232a24,24,0,0,0-24-24H24a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H88a32,32,0,0,1,32,32v87.73a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V80a32,32,0,0,1,32-32h64A8,8,0,0,1,240,56Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",df,[...r[3]||=[Go("path",{d:"M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",pf,[...r[4]||=[Go("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",hf,[...r[5]||=[Go("path",{d:"M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.93,35.93,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68Z"},null,-1)]])):ai("",!0)],16))}})}),Gw=V(()=>{Xw(),ff=mf}),Yw=V(()=>{Uw(),Rc(),gf={key:0},vf={key:1},bf={key:2},yf={key:3},Of={key:4},xf={key:5},wf=Pn({name:"ScalarIconBookOpenText",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",gf,[...r[0]||=[Go("path",{d:"M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60ZM164,96h32a12,12,0,0,1,0,24H164a12,12,0,0,1,0-24Zm44,52a12,12,0,0,1-12,12H164a12,12,0,0,1,0-24h32A12,12,0,0,1,208,148Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",vf,[...r[1]||=[Go("path",{d:"M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z",opacity:"0.2"},null,-1),Go("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",bf,[...r[2]||=[Go("path",{d:"M232,48H168a32,32,0,0,0-32,32v87.73a8.17,8.17,0,0,1-7.47,8.25,8,8,0,0,1-8.53-8V80A32,32,0,0,0,88,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,23.94,7.9,7.9,0,0,0,5.12,7.55A8,8,0,0,0,136,232a24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM208,168H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,168Zm0-32H168.27a8.17,8.17,0,0,1-8.25-7.47,8,8,0,0,1,8-8.53h39.73a8.17,8.17,0,0,1,8.25,7.47A8,8,0,0,1,208,136Zm0-32H168.27A8.17,8.17,0,0,1,160,96.53,8,8,0,0,1,168,88h39.73A8.17,8.17,0,0,1,216,95.47,8,8,0,0,1,208,104Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",yf,[...r[3]||=[Go("path",{d:"M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66ZM160,90h40a6,6,0,0,1,0,12H160a6,6,0,0,1,0-12Zm46,38a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,128Zm0,32a6,6,0,0,1-6,6H160a6,6,0,0,1,0-12h40A6,6,0,0,1,206,160Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Of,[...r[4]||=[Go("path",{d:"M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64ZM160,88h40a8,8,0,0,1,0,16H160a8,8,0,0,1,0-16Zm48,40a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,128Zm0,32a8,8,0,0,1-8,8H160a8,8,0,0,1,0-16h40A8,8,0,0,1,208,160Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",xf,[...r[5]||=[Go("path",{d:"M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.94,35.94,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68ZM160,92h40a4,4,0,0,1,0,8H160a4,4,0,0,1,0-8Zm44,36a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,128Zm0,32a4,4,0,0,1-4,4H160a4,4,0,0,1,0-8h40A4,4,0,0,1,204,160Z"},null,-1)]])):ai("",!0)],16))}})}),Kw=V(()=>{Yw(),kf=wf}),Jw=V(()=>{Uw(),Rc(),Sf={key:0},Af={key:1},_f={key:2},Tf={key:3},Ef={key:4},Cf={key:5},Pf=Pn({name:"ScalarIconBracketsCurly",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Sf,[...r[0]||=[Go("path",{d:"M54.8,119.49A35.06,35.06,0,0,1,49.05,128a35.06,35.06,0,0,1,5.75,8.51C60,147.24,60,159.83,60,172c0,25.94,1.84,32,20,32a12,12,0,0,1,0,24c-19.14,0-32.2-6.9-38.8-20.51C36,196.76,36,184.17,36,172c0-25.94-1.84-32-20-32a12,12,0,0,1,0-24c18.16,0,20-6.06,20-32,0-12.17,0-24.76,5.2-35.49C47.8,34.9,60.86,28,80,28a12,12,0,0,1,0,24c-18.16,0-20,6.06-20,32C60,96.17,60,108.76,54.8,119.49ZM240,116c-18.16,0-20-6.06-20-32,0-12.17,0-24.76-5.2-35.49C208.2,34.9,195.14,28,176,28a12,12,0,0,0,0,24c18.16,0,20,6.06,20,32,0,12.17,0,24.76,5.2,35.49A35.06,35.06,0,0,0,207,128a35.06,35.06,0,0,0-5.75,8.51C196,147.24,196,159.83,196,172c0,25.94-1.84,32-20,32a12,12,0,0,0,0,24c19.14,0,32.2-6.9,38.8-20.51C220,196.76,220,184.17,220,172c0-25.94,1.84-32,20-32a12,12,0,0,0,0-24Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Af,[...r[1]||=[Go("path",{d:"M240,128c-64,0,0,88-64,88H80c-64,0,0-88-64-88,64,0,0-88,64-88h96C240,40,176,128,240,128Z",opacity:"0.2"},null,-1),Go("path",{d:"M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",_f,[...r[2]||=[Go("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM88,155.84c.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16c-31.27,0-31.72-22.43-32-35.84C71.71,141.9,71.59,136,56,136a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16C72.28,86.43,72.73,64,104,64a8,8,0,0,1,0,16c-15.59,0-15.71,5.9-16,20.16-.17,8.31-.41,20.09-8,27.84C87.59,135.75,87.83,147.53,88,155.84ZM200,136c-15.59,0-15.71,5.9-16,20.16-.28,13.41-.73,35.84-32,35.84a8,8,0,0,1,0-16c15.59,0,15.71-5.9,16-20.16.17-8.31.41-20.09,8-27.84-7.6-7.75-7.84-19.53-8-27.84C167.71,85.9,167.59,80,152,80a8,8,0,0,1,0-16c31.27,0,31.72,22.43,32,35.84.29,14.26.41,20.16,16,20.16a8,8,0,0,1,0,16Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Tf,[...r[3]||=[Go("path",{d:"M39.91,128a27.68,27.68,0,0,1,9.49,11.13C54,148.62,54,160.51,54,172c0,24.27,1.21,38,26,38a6,6,0,0,1,0,12c-16.88,0-27.81-5.6-33.4-17.13C42,195.38,42,183.49,42,172c0-24.27-1.21-38-26-38a6,6,0,0,1,0-12c24.79,0,26-13.73,26-38,0-11.49,0-23.38,4.6-32.87C52.19,39.6,63.12,34,80,34a6,6,0,0,1,0,12C55.21,46,54,59.73,54,84c0,11.49,0,23.38-4.6,32.87A27.68,27.68,0,0,1,39.91,128ZM240,122c-24.79,0-26-13.73-26-38,0-11.49,0-23.38-4.6-32.87C203.81,39.6,192.88,34,176,34a6,6,0,0,0,0,12c24.79,0,26,13.73,26,38,0,11.49,0,23.38,4.6,32.87A27.68,27.68,0,0,0,216.09,128a27.68,27.68,0,0,0-9.49,11.13C202,148.62,202,160.51,202,172c0,24.27-1.21,38-26,38a6,6,0,0,0,0,12c16.88,0,27.81-5.6,33.4-17.13,4.6-9.49,4.6-21.38,4.6-32.87,0-24.27,1.21-38,26-38a6,6,0,0,0,0-12Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Ef,[...r[4]||=[Go("path",{d:"M43.18,128a29.78,29.78,0,0,1,8,10.26c4.8,9.9,4.8,22,4.8,33.74,0,24.31,1,36,24,36a8,8,0,0,1,0,16c-17.48,0-29.32-6.14-35.2-18.26-4.8-9.9-4.8-22-4.8-33.74,0-24.31-1-36-24-36a8,8,0,0,1,0-16c23,0,24-11.69,24-36,0-11.72,0-23.84,4.8-33.74C50.68,38.14,62.52,32,80,32a8,8,0,0,1,0,16C57,48,56,59.69,56,84c0,11.72,0,23.84-4.8,33.74A29.78,29.78,0,0,1,43.18,128ZM240,120c-23,0-24-11.69-24-36,0-11.72,0-23.84-4.8-33.74C205.32,38.14,193.48,32,176,32a8,8,0,0,0,0,16c23,0,24,11.69,24,36,0,11.72,0,23.84,4.8,33.74a29.78,29.78,0,0,0,8,10.26,29.78,29.78,0,0,0-8,10.26c-4.8,9.9-4.8,22-4.8,33.74,0,24.31-1,36-24,36a8,8,0,0,0,0,16c17.48,0,29.32-6.14,35.2-18.26,4.8-9.9,4.8-22,4.8-33.74,0-24.31,1-36,24-36a8,8,0,0,0,0-16Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Cf,[...r[5]||=[Go("path",{d:"M35.89,128C52,136.23,52,155.64,52,172c0,24.8,1.35,40,28,40a4,4,0,0,1,0,8c-36,0-36-26.61-36-48,0-24.8-1.35-40-28-40a4,4,0,0,1,0-8c26.65,0,28-15.2,28-40,0-21.39,0-48,36-48a4,4,0,0,1,0,8C53.35,44,52,59.2,52,84,52,100.36,52,119.77,35.89,128ZM240,124c-26.65,0-28-15.2-28-40,0-21.39,0-48-36-48a4,4,0,0,0,0,8c26.65,0,28,15.2,28,40,0,16.36,0,35.77,16.11,44C204,136.23,204,155.64,204,172c0,24.8-1.35,40-28,40a4,4,0,0,0,0,8c36,0,36-26.61,36-48,0-24.8,1.35-40,28-40a4,4,0,0,0,0-8Z"},null,-1)]])):ai("",!0)],16))}})}),ek=V(()=>{Jw(),Mf=Pf}),tk=V(()=>{Uw(),Rc(),$f={key:0},Nf={key:1},If={key:2},Rf={key:3},Df={key:4},Lf={key:5},Bf=Pn({name:"ScalarIconCaretDown",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",$f,[...r[0]||=[Go("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Nf,[...r[1]||=[Go("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"},null,-1),Go("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",If,[...r[2]||=[Go("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Rf,[...r[3]||=[Go("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Df,[...r[4]||=[Go("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Lf,[...r[5]||=[Go("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"},null,-1)]])):ai("",!0)],16))}})}),ak=V(()=>{tk(),jf=Bf}),rk=V(()=>{Uw(),Rc(),Uf={key:0},zf={key:1},Hf={key:2},Zf={key:3},Vf={key:4},Qf={key:5},qf=Pn({name:"ScalarIconCaretRight",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Uf,[...r[0]||=[Go("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",zf,[...r[1]||=[Go("path",{d:"M176,128,96,208V48Z",opacity:"0.2"},null,-1),Go("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Hf,[...r[2]||=[Go("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Zf,[...r[3]||=[Go("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Vf,[...r[4]||=[Go("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Qf,[...r[5]||=[Go("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"},null,-1)]])):ai("",!0)],16))}})}),nk=V(()=>{rk(),Ff=qf}),ok=V(()=>{Uw(),Rc(),Wf={key:0},Xf={key:1},Gf={key:2},Yf={key:3},Kf={key:4},Jf={key:5},eg=Pn({name:"ScalarIconCaretUp",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Wf,[...r[0]||=[Go("path",{d:"M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Xf,[...r[1]||=[Go("path",{d:"M208,160H48l80-80Z",opacity:"0.2"},null,-1),Go("path",{d:"M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Gf,[...r[2]||=[Go("path",{d:"M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Yf,[...r[3]||=[Go("path",{d:"M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Kf,[...r[4]||=[Go("path",{d:"M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Jf,[...r[5]||=[Go("path",{d:"M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z"},null,-1)]])):ai("",!0)],16))}})}),ik=V(()=>{ok(),tg=eg}),sk=V(()=>{Uw(),Rc(),ag={key:0},rg={key:1},ng={key:2},og={key:3},ig={key:4},sg={key:5},lg=Pn({name:"ScalarIconCheck",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",ag,[...r[0]||=[Go("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",rg,[...r[1]||=[Go("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"},null,-1),Go("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",ng,[...r[2]||=[Go("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",og,[...r[3]||=[Go("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",ig,[...r[4]||=[Go("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",sg,[...r[5]||=[Go("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"},null,-1)]])):ai("",!0)],16))}})}),lk=V(()=>{sk(),cg=lg}),ck=V(()=>{Uw(),Rc(),ug={key:0},dg={key:1},pg={key:2},hg={key:3},mg={key:4},fg={key:5},gg=Pn({name:"ScalarIconCloud",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",ug,[...r[0]||=[Go("path",{d:"M160,36A92.09,92.09,0,0,0,79,84.36,68,68,0,1,0,72,220h88a92,92,0,0,0,0-184Zm0,160H72a44,44,0,0,1-1.82-88A91.86,91.86,0,0,0,68,128a12,12,0,0,0,24,0,68,68,0,1,1,68,68Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",dg,[...r[1]||=[Go("path",{d:"M240,128a80,80,0,0,1-80,80H72A56,56,0,1,1,85.92,97.74l0,.1A80,80,0,0,1,240,128Z",opacity:"0.2"},null,-1),Go("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",pg,[...r[2]||=[Go("path",{d:"M160.06,40A88.1,88.1,0,0,0,81.29,88.67h0A87.48,87.48,0,0,0,72,127.73,8.18,8.18,0,0,1,64.57,136,8,8,0,0,1,56,128a103.66,103.66,0,0,1,5.34-32.92,4,4,0,0,0-4.75-5.18A64.09,64.09,0,0,0,8,152c0,35.19,29.75,64,65,64H160a88.09,88.09,0,0,0,87.93-91.48C246.11,77.54,207.07,40,160.06,40Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",hg,[...r[3]||=[Go("path",{d:"M160,42A86.11,86.11,0,0,0,82.43,90.88,62,62,0,1,0,72,214h88a86,86,0,0,0,0-172Zm0,160H72a50,50,0,0,1,0-100,50.67,50.67,0,0,1,5.91.35A85.61,85.61,0,0,0,74,128a6,6,0,0,0,12,0,74,74,0,1,1,74,74Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",mg,[...r[4]||=[Go("path",{d:"M160,40A88.09,88.09,0,0,0,81.29,88.67,64,64,0,1,0,72,216h88a88,88,0,0,0,0-176Zm0,160H72a48,48,0,0,1,0-96c1.1,0,2.2,0,3.29.11A88,88,0,0,0,72,128a8,8,0,0,0,16,0,72,72,0,1,1,72,72Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",fg,[...r[5]||=[Go("path",{d:"M160,44A84.11,84.11,0,0,0,83.59,93.12,60.71,60.71,0,0,0,72,92a60,60,0,0,0,0,120h88a84,84,0,0,0,0-168Zm0,160H72a52,52,0,1,1,8.55-103.3A83.66,83.66,0,0,0,76,128a4,4,0,0,0,8,0,76,76,0,1,1,76,76Z"},null,-1)]])):ai("",!0)],16))}})}),uk=V(()=>{ck(),vg=gg}),dk=V(()=>{Uw(),Rc(),bg={key:0},yg={key:1},Og={key:2},xg={key:3},wg={key:4},kg={key:5},Sg=Pn({name:"ScalarIconCopy",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",bg,[...r[0]||=[Go("path",{d:"M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",yg,[...r[1]||=[Go("path",{d:"M216,40V168H168V88H88V40Z",opacity:"0.2"},null,-1),Go("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Og,[...r[2]||=[Go("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",xg,[...r[3]||=[Go("path",{d:"M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",wg,[...r[4]||=[Go("path",{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",kg,[...r[5]||=[Go("path",{d:"M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z"},null,-1)]])):ai("",!0)],16))}})}),pk=V(()=>{dk(),Ag=Sg}),hk=V(()=>{Uw(),Rc(),_g={key:0},Tg={key:1},Eg={key:2},Cg={key:3},Pg={key:4},Mg={key:5},$g=Pn({name:"ScalarIconDiscordLogo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",_g,[...r[0]||=[Go("path",{d:"M108,136a16,16,0,1,1-16-16A16,16,0,0,1,108,136Zm56-16a16,16,0,1,0,16,16A16,16,0,0,0,164,120Zm76.07,76.56-67,29.71A20.15,20.15,0,0,1,146,214.9l-8.54-23.13c-3.13.14-6.27.24-9.45.24s-6.32-.1-9.45-.24L110,214.9a20.19,20.19,0,0,1-27.08,11.37l-67-29.71A19.93,19.93,0,0,1,4.62,173.41L34.15,57A20,20,0,0,1,50.37,42.19l36.06-5.93A20.26,20.26,0,0,1,109.22,51.1l4.41,17.41c4.74-.33,9.52-.51,14.37-.51s9.63.18,14.37.51l4.41-17.41a20.25,20.25,0,0,1,22.79-14.84l36.06,5.93A20,20,0,0,1,221.85,57l29.53,116.38A19.93,19.93,0,0,1,240.07,196.56ZM227.28,176,199.23,65.46l-30.07-4.94-2.84,11.17c2.9.58,5.78,1.2,8.61,1.92a12,12,0,1,1-5.86,23.27A168.43,168.43,0,0,0,128,92a168.43,168.43,0,0,0-41.07,4.88,12,12,0,0,1-5.86-23.27c2.83-.72,5.71-1.34,8.61-1.92L86.85,60.52,56.77,65.46,28.72,176l60.22,26.7,5-13.57c-4.37-.76-8.67-1.65-12.88-2.71a12,12,0,0,1,5.86-23.28A168.43,168.43,0,0,0,128,168a168.43,168.43,0,0,0,41.07-4.88,12,12,0,0,1,5.86,23.28c-4.21,1.06-8.51,1.95-12.88,2.71l5,13.57Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Tg,[...r[1]||=[Go("path",{d:"M235.21,185.59l-67,29.7a8.15,8.15,0,0,1-11-4.56L147,183.06a190.5,190.5,0,0,1-19,.94,190.5,190.5,0,0,1-19-.94L98.75,210.73a8.15,8.15,0,0,1-11,4.56l-67-29.7a8,8,0,0,1-4.55-9.24L45.77,60A8.08,8.08,0,0,1,52.31,54l36.06-5.92a8.1,8.1,0,0,1,9.21,6l5,19.63a192.32,192.32,0,0,1,50.88,0l5-19.63a8.1,8.1,0,0,1,9.21-6L203.69,54A8.08,8.08,0,0,1,210.23,60l29.53,116.37A8,8,0,0,1,235.21,185.59Z",opacity:"0.2"},null,-1),Go("path",{d:"M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.94,15.94,0,0,1-9.06-18.51L38,58A16.08,16.08,0,0,1,51,46.13l36.06-5.92a16.21,16.21,0,0,1,18.26,11.88l3.26,12.83Q118.11,64,128,64t19.4.92l3.26-12.83a16.22,16.22,0,0,1,18.26-11.88L205,46.13A16.08,16.08,0,0,1,218,58l29.53,116.38A15.94,15.94,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56a.21.21,0,0,0-.12,0h0L53.61,61.92a.24.24,0,0,0-.09,0L24,178.33,91,208a.21.21,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Eg,[...r[2]||=[Go("path",{d:"M247.51,174.39,218,58a16.08,16.08,0,0,0-13-11.88l-36.06-5.92a16.22,16.22,0,0,0-18.26,11.88l-.21.85a4,4,0,0,0,3.27,4.93,155.62,155.62,0,0,1,24.41,5.62,8.2,8.2,0,0,1,5.62,9.7,8,8,0,0,1-10.19,5.64,155.4,155.4,0,0,0-90.8-.1,8.22,8.22,0,0,1-10.28-4.81,8,8,0,0,1,5.08-10.33,156.85,156.85,0,0,1,24.72-5.72,4,4,0,0,0,3.27-4.93l-.21-.85A16.21,16.21,0,0,0,87.08,40.21L51,46.13A16.08,16.08,0,0,0,38,58L8.49,174.39a15.94,15.94,0,0,0,9.06,18.51l67,29.71a16.17,16.17,0,0,0,21.71-9.1l3.49-9.45a4,4,0,0,0-3.27-5.35,158.13,158.13,0,0,1-28.63-6.2,8.2,8.2,0,0,1-5.61-9.67,8,8,0,0,1,10.2-5.66,155.59,155.59,0,0,0,91.12,0,8,8,0,0,1,10.19,5.65,8.19,8.19,0,0,1-5.61,9.68,157.84,157.84,0,0,1-28.62,6.2,4,4,0,0,0-3.27,5.35l3.49,9.45a16.18,16.18,0,0,0,21.71,9.1l67-29.71A15.94,15.94,0,0,0,247.51,174.39ZM92,152a12,12,0,1,1,12-12A12,12,0,0,1,92,152Zm72,0a12,12,0,1,1,12-12A12,12,0,0,1,164,152Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Cg,[...r[3]||=[Go("path",{d:"M102,140a10,10,0,1,1-10-10A10,10,0,0,1,102,140Zm62-10a10,10,0,1,0,10,10A10,10,0,0,0,164,130Zm73.64,61.08-67,29.71a14.43,14.43,0,0,1-5.77,1.21,14.13,14.13,0,0,1-13.25-9.18L143,189.43c-4.93.37-9.92.58-15,.58s-10.06-.21-15-.58l-8.63,23.39A14.13,14.13,0,0,1,91.13,222a14.43,14.43,0,0,1-5.77-1.21l-67-29.71a14,14,0,0,1-7.93-16.2L40,58.5A14.07,14.07,0,0,1,51.34,48.11L87.4,42.19a14.19,14.19,0,0,1,16,10.39l3.69,14.53a197.5,197.5,0,0,1,41.82,0l3.69-14.53a14.19,14.19,0,0,1,16-10.39l36.06,5.92A14.07,14.07,0,0,1,216,58.5l29.53,116.38A14,14,0,0,1,237.64,191.08Zm-3.7-13.25L204.41,61.45a2.08,2.08,0,0,0-1.7-1.5L166.65,54a2.13,2.13,0,0,0-2.42,1.5l-3.36,13.24a169.28,169.28,0,0,1,16.75,3.76A6,6,0,0,1,176,84.31a5.71,5.71,0,0,1-1.62-.23A174.26,174.26,0,0,0,128,78a174.26,174.26,0,0,0-46.38,6.08,6,6,0,1,1-3.24-11.55,169.28,169.28,0,0,1,16.75-3.76L91.77,55.53A2.12,2.12,0,0,0,89.35,54L53.29,60a2.08,2.08,0,0,0-1.7,1.5L22.06,177.83a2,2,0,0,0,1.16,2.28l67,29.7a2.19,2.19,0,0,0,1.76,0,2.07,2.07,0,0,0,1.14-1.17l7.58-20.55a171.46,171.46,0,0,1-22.33-4.64,6,6,0,1,1,3.24-11.55A174.26,174.26,0,0,0,128,178a174.26,174.26,0,0,0,46.38-6.08,6,6,0,1,1,3.24,11.55,171.46,171.46,0,0,1-22.33,4.64l7.58,20.55a2.07,2.07,0,0,0,1.14,1.17,2.19,2.19,0,0,0,1.76,0l67-29.7A2,2,0,0,0,233.94,177.83Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Pg,[...r[4]||=[Go("path",{d:"M104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm60-12a12,12,0,1,0,12,12A12,12,0,0,0,164,128Zm74.45,64.9-67,29.71a16.17,16.17,0,0,1-21.71-9.1l-8.11-22q-6.72.45-13.63.46t-13.63-.46l-8.11,22a16.18,16.18,0,0,1-21.71,9.1l-67-29.71a15.93,15.93,0,0,1-9.06-18.51L38,58A16.07,16.07,0,0,1,51,46.14l36.06-5.93a16.22,16.22,0,0,1,18.26,11.88l3.26,12.84Q118.11,64,128,64t19.4.93l3.26-12.84a16.21,16.21,0,0,1,18.26-11.88L205,46.14A16.07,16.07,0,0,1,218,58l29.53,116.38A15.93,15.93,0,0,1,238.45,192.9ZM232,178.28,202.47,62s0,0-.08,0L166.33,56a.17.17,0,0,0-.17,0l-2.83,11.14c5,.94,10,2.06,14.83,3.42A8,8,0,0,1,176,86.31a8.09,8.09,0,0,1-2.16-.3A172.25,172.25,0,0,0,128,80a172.25,172.25,0,0,0-45.84,6,8,8,0,1,1-4.32-15.4c4.82-1.36,9.78-2.48,14.82-3.42L89.83,56s0,0-.12,0h0L53.61,61.93a.17.17,0,0,0-.09,0L24,178.33,91,208a.23.23,0,0,0,.22,0L98,189.72a173.2,173.2,0,0,1-20.14-4.32A8,8,0,0,1,82.16,170,171.85,171.85,0,0,0,128,176a171.85,171.85,0,0,0,45.84-6,8,8,0,0,1,4.32,15.41A173.2,173.2,0,0,1,158,189.72L164.75,208a.22.22,0,0,0,.21,0Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Mg,[...r[5]||=[Go("path",{d:"M100,140a8,8,0,1,1-8-8A8,8,0,0,1,100,140Zm64-8a8,8,0,1,0,8,8A8,8,0,0,0,164,132Zm72.83,57.25-67,29.71a12.36,12.36,0,0,1-5,1,12.13,12.13,0,0,1-11.38-7.88l-9.15-24.81c-5.36.45-10.81.69-16.34.69s-11-.24-16.34-.69l-9.15,24.81A12.13,12.13,0,0,1,91.13,220a12.36,12.36,0,0,1-5-1l-67-29.71a12,12,0,0,1-6.8-13.88L41.9,59a12.06,12.06,0,0,1,9.77-8.91l36.06-5.92a12.18,12.18,0,0,1,13.73,8.91l4.12,16.22a195.47,195.47,0,0,1,44.84,0l4.12-16.22a12.18,12.18,0,0,1,13.73-8.91l36.06,5.92A12.06,12.06,0,0,1,214.1,59l29.53,116.38A12,12,0,0,1,236.83,189.25Zm-1-11.91L206.35,61A4.07,4.07,0,0,0,203,58L167,52.05a4.15,4.15,0,0,0-4.69,3L158.4,70.38a166.74,166.74,0,0,1,18.68,4.08,4,4,0,1,1-2.16,7.7A176.21,176.21,0,0,0,128,76a176.21,176.21,0,0,0-46.92,6.16,4,4,0,1,1-2.16-7.7A166.74,166.74,0,0,1,97.6,70.38L93.71,55a4.15,4.15,0,0,0-4.69-3L53,58a4.07,4.07,0,0,0-3.31,3L20.12,177.34a4,4,0,0,0,2.29,4.59l67,29.71a4.16,4.16,0,0,0,3.35,0A4,4,0,0,0,95,209.35l8.45-22.88a171.49,171.49,0,0,1-24.53-4.92,4,4,0,0,1,2.16-7.71A176.21,176.21,0,0,0,128,180a176.21,176.21,0,0,0,46.92-6.16,4,4,0,0,1,2.16,7.71,171.49,171.49,0,0,1-24.53,4.92L161,209.35a4,4,0,0,0,2.23,2.32,4.16,4.16,0,0,0,3.35,0l67-29.71A4,4,0,0,0,235.88,177.34Z"},null,-1)]])):ai("",!0)],16))}})}),mk=V(()=>{hk(),Ng=$g}),fk=V(()=>{Uw(),Rc(),Ig={key:0},Rg={key:1},Dg={key:2},Lg={key:3},Bg={key:4},jg={key:5},Ug=Pn({name:"ScalarIconEnvelopeSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Ig,[...r[0]||=[Go("path",{d:"M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM193.15,68,128,127.72,62.85,68ZM44,188V83.28l75.89,69.57a12,12,0,0,0,16.22,0L212,83.28V188Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Rg,[...r[1]||=[Go("path",{d:"M224,56l-96,88L32,56Z",opacity:"0.2"},null,-1),Go("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Dg,[...r[2]||=[Go("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-8,144H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Lg,[...r[3]||=[Go("path",{d:"M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM208.58,62,128,135.86,47.42,62ZM216,194H40a2,2,0,0,1-2-2V69.64l86,78.78a6,6,0,0,0,8.1,0L218,69.64V192A2,2,0,0,1,216,194Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Bg,[...r[4]||=[Go("path",{d:"M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",jg,[...r[5]||=[Go("path",{d:"M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-10.28,8L128,138.57,42.28,60ZM216,196H40a4,4,0,0,1-4-4V65.09L125.3,147a4,4,0,0,0,5.4,0L220,65.09V192A4,4,0,0,1,216,196Z"},null,-1)]])):ai("",!0)],16))}})}),gk=V(()=>{fk(),zg=Ug}),vk=V(()=>{Uw(),Rc(),Hg={key:0},Zg={key:1},Vg={key:2},Qg={key:3},qg={key:4},Fg={key:5},Wg=Pn({name:"ScalarIconEye",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Hg,[...r[0]||=[Go("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Zg,[...r[1]||=[Go("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),Go("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Vg,[...r[2]||=[Go("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Qg,[...r[3]||=[Go("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",qg,[...r[4]||=[Go("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Fg,[...r[5]||=[Go("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"},null,-1)]])):ai("",!0)],16))}})}),bk=V(()=>{vk(),Xg=Wg}),yk=V(()=>{Uw(),Rc(),Gg={key:0},Yg={key:1},Kg={key:2},Jg={key:3},ev={key:4},tv={key:5},av=Pn({name:"ScalarIconEyeSlash",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Gg,[...r[0]||=[Go("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Yg,[...r[1]||=[Go("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),Go("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Kg,[...r[2]||=[Go("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Jg,[...r[3]||=[Go("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",ev,[...r[4]||=[Go("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",tv,[...r[5]||=[Go("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"},null,-1)]])):ai("",!0)],16))}})}),Ok=V(()=>{yk(),rv=av}),xk=V(()=>{Uw(),Rc(),nv={key:0},ov={key:1},iv={key:2},sv={key:3},lv={key:4},cv={key:5},uv=Pn({name:"ScalarIconFileDashed",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",nv,[...r[0]||=[Go("path",{d:"M84,224a12,12,0,0,1-12,12H56a20,20,0,0,1-20-20V184a12,12,0,0,1,24,0v28H72A12,12,0,0,1,84,224ZM220,88v48a12,12,0,0,1-24,0V104H148a12,12,0,0,1-12-12V44H120a12,12,0,0,1,0-24h32a12,12,0,0,1,8.49,3.51l56,56A12,12,0,0,1,220,88Zm-60-8h23L160,57ZM80,20H56A20,20,0,0,0,36,40V64a12,12,0,0,0,24,0V44H80a12,12,0,0,0,0-24ZM208,164a12,12,0,0,0-12,12v36h-4a12,12,0,0,0,0,24h8a20,20,0,0,0,20-20V176A12,12,0,0,0,208,164ZM48,156a12,12,0,0,0,12-12V104a12,12,0,0,0-24,0v40A12,12,0,0,0,48,156Zm104,56H112a12,12,0,0,0,0,24h40a12,12,0,0,0,0-24Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",ov,[...r[1]||=[Go("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),Go("path",{d:"M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM216,88v48a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H120a8,8,0,0,1,0-16h32a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",iv,[...r[2]||=[Go("path",{d:"M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM213.66,82.34l-56-56A8,8,0,0,0,152,24H120a8,8,0,0,0,0,16h24V88a8,8,0,0,0,8,8h48v40a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",sv,[...r[3]||=[Go("path",{d:"M78,224a6,6,0,0,1-6,6H56a14,14,0,0,1-14-14V184a6,6,0,0,1,12,0v32a2,2,0,0,0,2,2H72A6,6,0,0,1,78,224ZM214,88v48a6,6,0,0,1-12,0V94H152a6,6,0,0,1-6-6V38H120a6,6,0,0,1,0-12h32a6,6,0,0,1,4.24,1.76l56,56A6,6,0,0,1,214,88Zm-56-6h35.51L158,46.49ZM80,26H56A14,14,0,0,0,42,40V64a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2H80a6,6,0,0,0,0-12ZM208,170a6,6,0,0,0-6,6v40a2,2,0,0,1-2,2h-8a6,6,0,0,0,0,12h8a14,14,0,0,0,14-14V176A6,6,0,0,0,208,170ZM48,150a6,6,0,0,0,6-6V104a6,6,0,0,0-12,0v40A6,6,0,0,0,48,150Zm104,68H112a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",lv,[...r[4]||=[Go("path",{d:"M80,224a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V184a8,8,0,0,1,16,0v32H72A8,8,0,0,1,80,224ZM216,88v48a8,8,0,0,1-16,0V96H152a8,8,0,0,1-8-8V40H120a8,8,0,0,1,0-16h32a8,8,0,0,1,5.66,2.34l56,56A8,8,0,0,1,216,88Zm-56-8h28.69L160,51.31ZM80,24H56A16,16,0,0,0,40,40V64a8,8,0,0,0,16,0V40H80a8,8,0,0,0,0-16ZM208,168a8,8,0,0,0-8,8v40h-8a8,8,0,0,0,0,16h8a16,16,0,0,0,16-16V176A8,8,0,0,0,208,168ZM48,152a8,8,0,0,0,8-8V104a8,8,0,0,0-16,0v40A8,8,0,0,0,48,152Zm104,64H112a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",cv,[...r[5]||=[Go("path",{d:"M76,224a4,4,0,0,1-4,4H56a12,12,0,0,1-12-12V184a4,4,0,0,1,8,0v32a4,4,0,0,0,4,4H72A4,4,0,0,1,76,224ZM212,88v48a4,4,0,0,1-8,0V92H152a4,4,0,0,1-4-4V36H120a4,4,0,0,1,0-8h32a4,4,0,0,1,2.83,1.17l56,56A4,4,0,0,1,212,88Zm-56-4h42.34L156,41.66ZM80,28H56A12,12,0,0,0,44,40V64a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4H80a4,4,0,0,0,0-8ZM208,172a4,4,0,0,0-4,4v40a4,4,0,0,1-4,4h-8a4,4,0,0,0,0,8h8a12,12,0,0,0,12-12V176A4,4,0,0,0,208,172ZM48,148a4,4,0,0,0,4-4V104a4,4,0,0,0-8,0v40A4,4,0,0,0,48,148Zm104,72H112a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8Z"},null,-1)]])):ai("",!0)],16))}})}),wk=V(()=>{xk(),dv=uv}),kk=V(()=>{Uw(),Rc(),pv={key:0},hv={key:1},mv={key:2},fv={key:3},gv={key:4},vv={key:5},bv=Pn({name:"ScalarIconFileMd",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",pv,[...r[0]||=[Go("path",{d:"M100,152v56a12,12,0,0,1-24,0V190.07l-6.17,8.81a12,12,0,0,1-19.66,0L44,190.07V208a12,12,0,0,1-24,0V152a12,12,0,0,1,21.83-6.88L60,171.07l18.17-25.95A12,12,0,0,1,100,152Zm84,28a40,40,0,0,1-40,40H128a12,12,0,0,1-12-12V152a12,12,0,0,1,12-12h16A40,40,0,0,1,184,180Zm-24,0a16,16,0,0,0-16-16h-4v32h4A16,16,0,0,0,160,180Zm60-92V224a12,12,0,0,1-24,0V104H148a12,12,0,0,1-12-12V44H60v64a12,12,0,0,1-24,0V40A20,20,0,0,1,56,20h96a12,12,0,0,1,8.49,3.52l56,56A12,12,0,0,1,220,88Zm-60-8h23L160,57Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",hv,[...r[1]||=[Go("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),Go("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",mv,[...r[2]||=[Go("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v76a4,4,0,0,0,4,4H196a4,4,0,0,1,4,4V224a8,8,0,0,0,9.19,7.91,8.15,8.15,0,0,0,6.81-8.16V88A8,8,0,0,0,213.66,82.34ZM152,88V44l44,44Zm-8,56H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h15.32c19.66,0,36.21-15.48,36.67-35.13A36,36,0,0,0,144,144Zm-.49,56H136V160h8a20,20,0,0,1,20,20.77C163.58,191.59,154.34,200,143.51,200ZM104,152v55.73A8.17,8.17,0,0,1,96.53,216,8,8,0,0,1,88,208V177.38l-13.32,19a8.3,8.3,0,0,1-4.2,3.2,8,8,0,0,1-9-3L48,177.38v30.35A8.17,8.17,0,0,1,40.53,216,8,8,0,0,1,32,208V152.31a8.27,8.27,0,0,1,4.56-7.53,8,8,0,0,1,10,2.63L68,178.05l21.27-30.39a8.28,8.28,0,0,1,8.06-3.55A8,8,0,0,1,104,152Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",fv,[...r[3]||=[Go("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40v72a6,6,0,0,0,12,0V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V224a6,6,0,0,0,12,0V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM144,146H128a6,6,0,0,0-6,6v56a6,6,0,0,0,6,6h16a34,34,0,0,0,0-68Zm0,56H134V158h10a22,22,0,0,1,0,44Zm-42-50v56a6,6,0,0,1-12,0V171L72.92,195.44a6,6,0,0,1-9.84,0L46,171v37a6,6,0,0,1-12,0V152a6,6,0,0,1,10.92-3.44l23.08,33,23.08-33A6,6,0,0,1,102,152Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",gv,[...r[4]||=[Go("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40v72a8,8,0,0,0,16,0V40h88V88a8,8,0,0,0,8,8h48V224a8,8,0,0,0,16,0V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM144,144H128a8,8,0,0,0-8,8v56a8,8,0,0,0,8,8h16a36,36,0,0,0,0-72Zm0,56h-8V160h8a20,20,0,0,1,0,40Zm-40-48v56a8,8,0,0,1-16,0V177.38L74.55,196.59a8,8,0,0,1-13.1,0L48,177.38V208a8,8,0,0,1-16,0V152a8,8,0,0,1,14.55-4.59L68,178.05l21.45-30.64A8,8,0,0,1,104,152Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",vv,[...r[5]||=[Go("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40v72a4,4,0,0,0,8,0V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V224a4,4,0,0,0,8,0V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM144,148H128a4,4,0,0,0-4,4v56a4,4,0,0,0,4,4h16a32,32,0,0,0,0-64Zm0,56H132V156h12a24,24,0,0,1,0,48Zm-44-52v56a4,4,0,0,1-8,0V164.69l-20.72,29.6a4,4,0,0,1-6.56,0L44,164.69V208a4,4,0,0,1-8,0V152a4,4,0,0,1,7.28-2.29L68,185l24.72-35.31A4,4,0,0,1,100,152Z"},null,-1)]])):ai("",!0)],16))}})}),Sk=V(()=>{kk(),yv=bv}),Ak=V(()=>{Uw(),Rc(),Ov={key:0},xv={key:1},wv={key:2},kv={key:3},Sv={key:4},Av={key:5},_v=Pn({name:"ScalarIconFileText",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Ov,[...r[0]||=[Go("path",{d:"M216.49,79.52l-56-56A12,12,0,0,0,152,20H56A20,20,0,0,0,36,40V216a20,20,0,0,0,20,20H200a20,20,0,0,0,20-20V88A12,12,0,0,0,216.49,79.52ZM160,57l23,23H160ZM60,212V44h76V92a12,12,0,0,0,12,12h48V212Zm112-80a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,132Zm0,40a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,172Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",xv,[...r[1]||=[Go("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),Go("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",wv,[...r[2]||=[Go("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",kv,[...r[3]||=[Go("path",{d:"M212.24,83.76l-56-56A6,6,0,0,0,152,26H56A14,14,0,0,0,42,40V216a14,14,0,0,0,14,14H200a14,14,0,0,0,14-14V88A6,6,0,0,0,212.24,83.76ZM158,46.48,193.52,82H158ZM200,218H56a2,2,0,0,1-2-2V40a2,2,0,0,1,2-2h90V88a6,6,0,0,0,6,6h50V216A2,2,0,0,1,200,218Zm-34-82a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,136Zm0,32a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,168Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Sv,[...r[4]||=[Go("path",{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-32-80a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,168Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Av,[...r[5]||=[Go("path",{d:"M210.83,85.17l-56-56A4,4,0,0,0,152,28H56A12,12,0,0,0,44,40V216a12,12,0,0,0,12,12H200a12,12,0,0,0,12-12V88A4,4,0,0,0,210.83,85.17ZM156,41.65,198.34,84H156ZM200,220H56a4,4,0,0,1-4-4V40a4,4,0,0,1,4-4h92V88a4,4,0,0,0,4,4h52V216A4,4,0,0,1,200,220Zm-36-84a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,136Zm0,32a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,168Z"},null,-1)]])):ai("",!0)],16))}})}),_k=V(()=>{Ak(),Tv=_v}),Tk=V(()=>{Uw(),Rc(),Ev={key:0},Cv={key:1},Pv={key:2},Mv={key:3},$v={key:4},Nv={key:5},Iv=Pn({name:"ScalarIconGavel",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Ev,[...r[0]||=[Go("path",{d:"M246.14,113.86l-16-16a20,20,0,0,0-23.06-3.75l-45.2-45.2a20,20,0,0,0-3.74-23.06l-16-16a20,20,0,0,0-28.28,0l-64,64a20,20,0,0,0,0,28.28l16,16a20,20,0,0,0,23,3.79L29.36,181.38a32,32,0,0,0,45.26,45.26L134,167.21a20,20,0,0,0,3.81,22.94l16,16a20,20,0,0,0,28.29,0l64-64a20,20,0,0,0,0-28.29ZM80,98.34,69.64,88,128,29.65,138.34,40ZM57.64,209.67a8,8,0,0,1-11.31-11.32l59.52-59.52,11.31,11.32Zm92.7-60.29-43.72-43.72,39-39,43.72,43.72Zm17.65,37L157.65,176,216,117.66,226.34,128Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Cv,[...r[1]||=[Go("path",{d:"M149.66,45.66l-64,64a8,8,0,0,1-11.32,0l-16-16a8,8,0,0,1,0-11.32l64-64a8,8,0,0,1,11.32,0l16,16A8,8,0,0,1,149.66,45.66Zm88,76.68-16-16a8,8,0,0,0-11.32,0l-64,64a8,8,0,0,0,0,11.32l16,16a8,8,0,0,0,11.32,0l64-64A8,8,0,0,0,237.66,122.34Z",opacity:"0.2"},null,-1),Go("path",{d:"M243.32,116.69l-16-16a16,16,0,0,0-20.84-1.53L156.84,49.52a16,16,0,0,0-1.52-20.84l-16-16a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63l16,16a16,16,0,0,0,20.83,1.52L96.69,124,31.31,189.38A25,25,0,0,0,66.63,224.7L132,159.32l7.17,7.16a16,16,0,0,0,1.52,20.84l16,16a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.69ZM80,104,64,88l64-64,16,16ZM55.32,213.38a9,9,0,0,1-12.69,0,9,9,0,0,1,0-12.68L108,135.32,120.69,148ZM101,105.66,145.66,61,195,110.34,150.35,155ZM168,192l-16-16,4-4h0l56-56h0l4-4,16,16Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Pv,[...r[2]||=[Go("path",{d:"M52.69,99.31a16,16,0,0,1,0-22.63l64-64a16,16,0,0,1,22.63,22.63l-64,64a16,16,0,0,1-22.63,0Zm190.63,17.37a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63h0a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.68Zm-35.11-15.8L155.12,47.79a4,4,0,0,0-5.66,0L87.8,109.45a4,4,0,0,0,0,5.66L103,130.34,28.69,204.69a16,16,0,0,0,22.62,22.62L125.66,153l15.23,15.23a4,4,0,0,0,5.66,0l61.66-61.66A4,4,0,0,0,208.21,100.88Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Mv,[...r[3]||=[Go("path",{d:"M241.91,118.1l-16-16a14,14,0,0,0-19.55-.23L154.13,49.64a14,14,0,0,0-.23-19.55l-16-16a14,14,0,0,0-19.8,0l-64,64a14,14,0,0,0,0,19.8l16,16a14,14,0,0,0,19.55.23L99.52,124,32.73,190.79a23,23,0,0,0,32.48,32.49L132,156.49l9.87,9.87a14,14,0,0,0,.23,19.55l16,16a14,14,0,0,0,19.8,0l64-64A14,14,0,0,0,241.91,118.1Zm-91.56,39.76-52.21-52.2,47.52-47.52,52.2,52.2ZM78.59,105.41l-16-16a2,2,0,0,1,0-2.83l64-64a2,2,0,0,1,2.83,0l16,16a2,2,0,0,1,0,2.83l-64,64A2,2,0,0,1,78.59,105.41ZM56.73,214.8a11,11,0,0,1-15.52-15.52L108,132.49,123.52,148Zm176.69-85.38-64,64a2,2,0,0,1-2.83,0l-16-16a2,2,0,0,1,0-2.83l64-64a2,2,0,0,1,2.83,0l16,16A2,2,0,0,1,233.42,129.42Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",$v,[...r[4]||=[Go("path",{d:"M243.32,116.69l-16-16a16,16,0,0,0-20.84-1.53L156.84,49.52a16,16,0,0,0-1.52-20.84l-16-16a16,16,0,0,0-22.63,0l-64,64a16,16,0,0,0,0,22.63l16,16a16,16,0,0,0,20.83,1.52L96.69,124,31.31,189.38A25,25,0,0,0,66.63,224.7L132,159.32l7.17,7.16a16,16,0,0,0,1.52,20.84l16,16a16,16,0,0,0,22.63,0l64-64A16,16,0,0,0,243.32,116.69ZM80,104,64,88l64-64,16,16ZM55.32,213.38a9,9,0,0,1-12.69,0,9,9,0,0,1,0-12.68L108,135.32,120.69,148ZM101,105.66,145.66,61,195,110.34,150.35,155ZM168,192l-16-16,4-4h0l56-56h0l4-4,16,16Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Nv,[...r[5]||=[Go("path",{d:"M240.49,119.52l-16-16a12,12,0,0,0-17,0l-1.17,1.17-55-55,1.18-1.17a12,12,0,0,0,0-17l-16-16a12,12,0,0,0-17,0l-64,64a12,12,0,0,0,0,17l16,16a12,12,0,0,0,17,0l1.17-1.18L102.34,124l-68.2,68.21A21,21,0,0,0,63.8,221.87L132,153.66l12.69,12.69-1.18,1.17a12,12,0,0,0,0,17l16,16a12,12,0,0,0,17,0l64-64a12,12,0,0,0,0-17ZM77.17,106.83l-16-16a4,4,0,0,1,0-5.66l64-64a4,4,0,0,1,5.66,0l16,16a4,4,0,0,1,0,5.65l-64,64A4,4,0,0,1,77.17,106.83Zm-19,109.38A13,13,0,1,1,39.8,197.87L108,129.66,126.34,148ZM95.31,105.66l50.35-50.35,55,55-50.35,50.35Zm139.52,25.17-64,64a4,4,0,0,1-5.66,0l-16-16a4,4,0,0,1,0-5.65l64-64a4,4,0,0,1,5.66,0l16,16a4,4,0,0,1,0,5.66Z"},null,-1)]])):ai("",!0)],16))}})}),Ek=V(()=>{Tk(),Rv=Iv}),Ck=V(()=>{Uw(),Rc(),Dv={key:0},Lv={key:1},Bv={key:2},jv={key:3},Uv={key:4},zv={key:5},Hv=Pn({name:"ScalarIconGear",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Dv,[...r[0]||=[Go("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Lv,[...r[1]||=[Go("path",{d:"M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),Go("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Bv,[...r[2]||=[Go("path",{d:"M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",jv,[...r[3]||=[Go("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Uv,[...r[4]||=[Go("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",zv,[...r[5]||=[Go("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z"},null,-1)]])):ai("",!0)],16))}})}),Pk=V(()=>{Ck(),Zv=Hv}),Mk=V(()=>{Uw(),Rc(),Vv={key:0},Qv={key:1},qv={key:2},Fv={key:3},Wv={key:4},Xv={key:5},Gv=Pn({name:"ScalarIconGearSix",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Vv,[...r[0]||=[Go("path",{d:"M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm113.86-49.57A12,12,0,0,0,236,98.34L208.21,82.49l-.11-31.31a12,12,0,0,0-4.25-9.12,116,116,0,0,0-38-21.41,12,12,0,0,0-9.68.89L128,37.27,99.83,21.53a12,12,0,0,0-9.7-.9,116.06,116.06,0,0,0-38,21.47,12,12,0,0,0-4.24,9.1l-.14,31.34L20,98.35a12,12,0,0,0-5.85,8.11,110.7,110.7,0,0,0,0,43.11A12,12,0,0,0,20,157.66l27.82,15.85.11,31.31a12,12,0,0,0,4.25,9.12,116,116,0,0,0,38,21.41,12,12,0,0,0,9.68-.89L128,218.73l28.14,15.74a12,12,0,0,0,9.7.9,116.06,116.06,0,0,0,38-21.47,12,12,0,0,0,4.24-9.1l.14-31.34,27.81-15.81a12,12,0,0,0,5.85-8.11A110.7,110.7,0,0,0,241.86,106.43Zm-22.63,33.18-26.88,15.28a11.94,11.94,0,0,0-4.55,4.59c-.54,1-1.11,1.93-1.7,2.88a12,12,0,0,0-1.83,6.31L184.13,199a91.83,91.83,0,0,1-21.07,11.87l-27.15-15.19a12,12,0,0,0-5.86-1.53h-.29c-1.14,0-2.3,0-3.44,0a12.08,12.08,0,0,0-6.14,1.51L93,210.82A92.27,92.27,0,0,1,71.88,199l-.11-30.24a12,12,0,0,0-1.83-6.32c-.58-.94-1.16-1.91-1.7-2.88A11.92,11.92,0,0,0,63.7,155L36.8,139.63a86.53,86.53,0,0,1,0-23.24l26.88-15.28a12,12,0,0,0,4.55-4.58c.54-1,1.11-1.94,1.7-2.89a12,12,0,0,0,1.83-6.31L71.87,57A91.83,91.83,0,0,1,92.94,45.17l27.15,15.19a11.92,11.92,0,0,0,6.15,1.52c1.14,0,2.3,0,3.44,0a12.08,12.08,0,0,0,6.14-1.51L163,45.18A92.27,92.27,0,0,1,184.12,57l.11,30.24a12,12,0,0,0,1.83,6.32c.58.94,1.16,1.91,1.7,2.88A11.92,11.92,0,0,0,192.3,101l26.9,15.33A86.53,86.53,0,0,1,219.23,139.61Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Qv,[...r[1]||=[Go("path",{d:"M230.1,108.76,198.25,90.62c-.64-1.16-1.31-2.29-2-3.41l-.12-36A104.61,104.61,0,0,0,162,32L130,49.89c-1.34,0-2.69,0-4,0L94,32A104.58,104.58,0,0,0,59.89,51.25l-.16,36c-.7,1.12-1.37,2.26-2,3.41l-31.84,18.1a99.15,99.15,0,0,0,0,38.46l31.85,18.14c.64,1.16,1.31,2.29,2,3.41l.12,36A104.61,104.61,0,0,0,94,224l32-17.87c1.34,0,2.69,0,4,0L162,224a104.58,104.58,0,0,0,34.08-19.25l.16-36c.7-1.12,1.37-2.26,2-3.41l31.84-18.1A99.15,99.15,0,0,0,230.1,108.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"},null,-1),Go("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.1,8.1,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8,8,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",qv,[...r[2]||=[Go("path",{d:"M237.94,107.21a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A111.92,111.92,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.63a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Fv,[...r[3]||=[Go("path",{d:"M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Zm108-54.4a6,6,0,0,0-2.92-4L202.64,86.22l-.42-.71L202.1,51.2A6,6,0,0,0,200,46.64a110.12,110.12,0,0,0-36.07-20.31,6,6,0,0,0-4.84.45L128.46,43.86h-1L96.91,26.76a6,6,0,0,0-4.86-.44A109.92,109.92,0,0,0,56,46.68a6,6,0,0,0-2.12,4.55l-.16,34.34c-.14.23-.28.47-.41.71L22.91,103.57A6,6,0,0,0,20,107.62a104.81,104.81,0,0,0,0,40.78,6,6,0,0,0,2.92,4l30.42,17.33.42.71.12,34.31A6,6,0,0,0,56,209.36a110.12,110.12,0,0,0,36.07,20.31,6,6,0,0,0,4.84-.45l30.61-17.08h1l30.56,17.1A6.09,6.09,0,0,0,162,230a5.83,5.83,0,0,0,1.93-.32,109.92,109.92,0,0,0,36-20.36,6,6,0,0,0,2.12-4.55l.16-34.34c.14-.23.28-.47.41-.71l30.42-17.29a6,6,0,0,0,2.92-4.05A104.81,104.81,0,0,0,236,107.6Zm-11.25,35.79L195.32,160.1a6.07,6.07,0,0,0-2.28,2.3c-.59,1-1.21,2.11-1.86,3.14a6,6,0,0,0-.91,3.16l-.16,33.21a98.15,98.15,0,0,1-27.52,15.53L133,200.88a6,6,0,0,0-2.93-.77h-.14c-1.24,0-2.5,0-3.74,0a6,6,0,0,0-3.07.76L93.45,217.43a98,98,0,0,1-27.56-15.49l-.12-33.17a6,6,0,0,0-.91-3.16c-.64-1-1.27-2.08-1.86-3.14a6,6,0,0,0-2.27-2.3L31.3,143.4a93,93,0,0,1,0-30.79L60.68,95.9A6.07,6.07,0,0,0,63,93.6c.59-1,1.21-2.11,1.86-3.14a6,6,0,0,0,.91-3.16l.16-33.21A98.15,98.15,0,0,1,93.41,38.56L123,55.12a5.81,5.81,0,0,0,3.07.76c1.24,0,2.5,0,3.74,0a6,6,0,0,0,3.07-.76l29.65-16.56a98,98,0,0,1,27.56,15.49l.12,33.17a6,6,0,0,0,.91,3.16c.64,1,1.27,2.08,1.86,3.14a6,6,0,0,0,2.27,2.3L224.7,112.6A93,93,0,0,1,224.73,143.39Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Wv,[...r[4]||=[Go("path",{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm109.94-52.79a8,8,0,0,0-3.89-5.4l-29.83-17-.12-33.62a8,8,0,0,0-2.83-6.08,111.91,111.91,0,0,0-36.72-20.67,8,8,0,0,0-6.46.59L128,41.85,97.88,25a8,8,0,0,0-6.47-.6A112.1,112.1,0,0,0,54.73,45.15a8,8,0,0,0-2.83,6.07l-.15,33.65-29.83,17a8,8,0,0,0-3.89,5.4,106.47,106.47,0,0,0,0,41.56,8,8,0,0,0,3.89,5.4l29.83,17,.12,33.62a8,8,0,0,0,2.83,6.08,111.91,111.91,0,0,0,36.72,20.67,8,8,0,0,0,6.46-.59L128,214.15,158.12,231a7.91,7.91,0,0,0,3.9,1,8.09,8.09,0,0,0,2.57-.42,112.1,112.1,0,0,0,36.68-20.73,8,8,0,0,0,2.83-6.07l.15-33.65,29.83-17a8,8,0,0,0,3.89-5.4A106.47,106.47,0,0,0,237.94,107.21Zm-15,34.91-28.57,16.25a8,8,0,0,0-3,3c-.58,1-1.19,2.06-1.81,3.06a7.94,7.94,0,0,0-1.22,4.21l-.15,32.25a95.89,95.89,0,0,1-25.37,14.3L134,199.13a8,8,0,0,0-3.91-1h-.19c-1.21,0-2.43,0-3.64,0a8.08,8.08,0,0,0-4.1,1l-28.84,16.1A96,96,0,0,1,67.88,201l-.11-32.2a8,8,0,0,0-1.22-4.22c-.62-1-1.23-2-1.8-3.06a8.09,8.09,0,0,0-3-3.06l-28.6-16.29a90.49,90.49,0,0,1,0-28.26L61.67,97.63a8,8,0,0,0,3-3c.58-1,1.19-2.06,1.81-3.06a7.94,7.94,0,0,0,1.22-4.21l.15-32.25a95.89,95.89,0,0,1,25.37-14.3L122,56.87a8,8,0,0,0,4.1,1c1.21,0,2.43,0,3.64,0a8.08,8.08,0,0,0,4.1-1l28.84-16.1A96,96,0,0,1,188.12,55l.11,32.2a8,8,0,0,0,1.22,4.22c.62,1,1.23,2,1.8,3.06a8.09,8.09,0,0,0,3,3.06l28.6,16.29A90.49,90.49,0,0,1,222.9,142.12Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Xv,[...r[5]||=[Go("path",{d:"M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm106-56a4,4,0,0,0-2-2.7l-30.89-17.6q-.47-.82-1-1.62L200.1,51.2a3.94,3.94,0,0,0-1.42-3,107.8,107.8,0,0,0-35.41-19.94,4,4,0,0,0-3.23.29L129,45.87h-2l-31-17.36a4,4,0,0,0-3.23-.3,108.05,108.05,0,0,0-35.39,20,4,4,0,0,0-1.41,3l-.16,34.9-1,1.62L23.9,105.3A4,4,0,0,0,22,108a102.76,102.76,0,0,0,0,40,4,4,0,0,0,1.95,2.7l30.89,17.6q.47.83,1,1.62l.12,34.87a3.94,3.94,0,0,0,1.42,3,107.8,107.8,0,0,0,35.41,19.94,4,4,0,0,0,3.23-.29L127,210.13h2l31,17.36a4,4,0,0,0,3.23.3,108.05,108.05,0,0,0,35.39-20,4,4,0,0,0,1.41-3l.16-34.9,1-1.62L232.1,150.7a4,4,0,0,0,2-2.71A102.76,102.76,0,0,0,234,108Zm-7.48,36.67L196.3,161.84a4,4,0,0,0-1.51,1.53c-.61,1.09-1.25,2.17-1.91,3.24a3.92,3.92,0,0,0-.61,2.1l-.16,34.15a99.8,99.8,0,0,1-29.7,16.77l-30.4-17a4.06,4.06,0,0,0-2-.51H130c-1.28,0-2.57,0-3.84,0a4.1,4.1,0,0,0-2.05.51l-30.45,17A100.23,100.23,0,0,1,63.89,202.9l-.12-34.12a3.93,3.93,0,0,0-.61-2.11c-.66-1-1.3-2.14-1.91-3.23a4,4,0,0,0-1.51-1.53L29.49,144.68a94.78,94.78,0,0,1,0-33.34L59.7,94.16a4,4,0,0,0,1.51-1.53c.61-1.09,1.25-2.17,1.91-3.23a4,4,0,0,0,.61-2.11l.16-34.15a99.8,99.8,0,0,1,29.7-16.77l30.4,17a4.1,4.1,0,0,0,2.05.51c1.28,0,2.57,0,3.84,0a4,4,0,0,0,2.05-.51l30.45-17A100.23,100.23,0,0,1,192.11,53.1l.12,34.12a3.93,3.93,0,0,0,.61,2.11c.66,1,1.3,2.14,1.91,3.23a4,4,0,0,0,1.51,1.53l30.25,17.23A94.78,94.78,0,0,1,226.54,144.66Z"},null,-1)]])):ai("",!0)],16))}})}),$k=V(()=>{Mk(),Yv=Gv}),Nk=V(()=>{Uw(),Rc(),Kv={key:0},Jv={key:1},eb={key:2},tb={key:3},ab={key:4},rb={key:5},nb=Pn({name:"ScalarIconGitBranch",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Kv,[...r[0]||=[Go("path",{d:"M236,64a36,36,0,1,0-48,33.94V112a4,4,0,0,1-4,4H96a27.8,27.8,0,0,0-4,.29V97.94a36,36,0,1,0-24,0v60.12a36,36,0,1,0,24,0V144a4,4,0,0,1,4-4h88a28,28,0,0,0,28-28V97.94A36.07,36.07,0,0,0,236,64ZM80,52A12,12,0,1,1,68,64,12,12,0,0,1,80,52Zm0,152a12,12,0,1,1,12-12A12,12,0,0,1,80,204ZM200,76a12,12,0,1,1,12-12A12,12,0,0,1,200,76Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Jv,[...r[1]||=[Go("path",{d:"M224,64a24,24,0,1,1-24-24A24,24,0,0,1,224,64Z",opacity:"0.2"},null,-1),Go("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",eb,[...r[2]||=[Go("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",tb,[...r[3]||=[Go("path",{d:"M230,64a30,30,0,1,0-36,29.4V112a10,10,0,0,1-10,10H96a21.84,21.84,0,0,0-10,2.42v-31a30,30,0,1,0-12,0v69.2a30,30,0,1,0,12,0V144a10,10,0,0,1,10-10h88a22,22,0,0,0,22-22V93.4A30.05,30.05,0,0,0,230,64ZM62,64A18,18,0,1,1,80,82,18,18,0,0,1,62,64ZM98,192a18,18,0,1,1-18-18A18,18,0,0,1,98,192ZM200,82a18,18,0,1,1,18-18A18,18,0,0,1,200,82Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",ab,[...r[4]||=[Go("path",{d:"M232,64a32,32,0,1,0-40,31v17a8,8,0,0,1-8,8H96a23.84,23.84,0,0,0-8,1.38V95a32,32,0,1,0-16,0v66a32,32,0,1,0,16,0V144a8,8,0,0,1,8-8h88a24,24,0,0,0,24-24V95A32.06,32.06,0,0,0,232,64ZM64,64A16,16,0,1,1,80,80,16,16,0,0,1,64,64ZM96,192a16,16,0,1,1-16-16A16,16,0,0,1,96,192ZM200,80a16,16,0,1,1,16-16A16,16,0,0,1,200,80Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",rb,[...r[5]||=[Go("path",{d:"M228,64a28,28,0,1,0-32,27.71V112a12,12,0,0,1-12,12H96a19.91,19.91,0,0,0-12,4V91.71a28,28,0,1,0-8,0v72.58a28,28,0,1,0,8,0V144a12,12,0,0,1,12-12h88a20,20,0,0,0,20-20V91.71A28,28,0,0,0,228,64ZM60,64A20,20,0,1,1,80,84,20,20,0,0,1,60,64Zm40,128a20,20,0,1,1-20-20A20,20,0,0,1,100,192ZM200,84a20,20,0,1,1,20-20A20,20,0,0,1,200,84Z"},null,-1)]])):ai("",!0)],16))}})}),Ik=V(()=>{Nk(),ob=nb}),Rk=V(()=>{Uw(),Rc(),ib={key:0},sb={key:1},lb={key:2},cb={key:3},ub={key:4},db={key:5},pb=Pn({name:"ScalarIconGithubLogo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",ib,[...r[0]||=[Go("path",{d:"M212.62,75.17A63.7,63.7,0,0,0,206.39,26,12,12,0,0,0,196,20a63.71,63.71,0,0,0-50,24H126A63.71,63.71,0,0,0,76,20a12,12,0,0,0-10.39,6,63.7,63.7,0,0,0-6.23,49.17A61.5,61.5,0,0,0,52,104v8a60.1,60.1,0,0,0,45.76,58.28A43.66,43.66,0,0,0,92,192v4H76a20,20,0,0,1-20-20,44.05,44.05,0,0,0-44-44,12,12,0,0,0,0,24,20,20,0,0,1,20,20,44.05,44.05,0,0,0,44,44H92v12a12,12,0,0,0,24,0V192a20,20,0,0,1,40,0v40a12,12,0,0,0,24,0V192a43.66,43.66,0,0,0-5.76-21.72A60.1,60.1,0,0,0,220,112v-8A61.5,61.5,0,0,0,212.62,75.17ZM196,112a36,36,0,0,1-36,36H112a36,36,0,0,1-36-36v-8a37.87,37.87,0,0,1,6.13-20.12,11.65,11.65,0,0,0,1.58-11.49,39.9,39.9,0,0,1-.4-27.72,39.87,39.87,0,0,1,26.41,17.8A12,12,0,0,0,119.82,68h32.35a12,12,0,0,0,10.11-5.53,39.84,39.84,0,0,1,26.41-17.8,39.9,39.9,0,0,1-.4,27.72,12,12,0,0,0,1.61,11.53A37.85,37.85,0,0,1,196,104Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",sb,[...r[1]||=[Go("path",{d:"M208,104v8a48,48,0,0,1-48,48H136a32,32,0,0,1,32,32v40H104V192a32,32,0,0,1,32-32H112a48,48,0,0,1-48-48v-8a49.28,49.28,0,0,1,8.51-27.3A51.92,51.92,0,0,1,76,32a52,52,0,0,1,43.83,24h32.34A52,52,0,0,1,196,32a51.92,51.92,0,0,1,3.49,44.7A49.28,49.28,0,0,1,208,104Z",opacity:"0.2"},null,-1),Go("path",{d:"M208.3,75.68A59.74,59.74,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58,58,0,0,0,208.3,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.76,41.76,0,0,1,200,104Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",lb,[...r[2]||=[Go("path",{d:"M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",cb,[...r[3]||=[Go("path",{d:"M206.13,75.92A57.79,57.79,0,0,0,201.2,29a6,6,0,0,0-5.2-3,57.77,57.77,0,0,0-47,24H123A57.77,57.77,0,0,0,76,26a6,6,0,0,0-5.2,3,57.79,57.79,0,0,0-4.93,46.92A55.88,55.88,0,0,0,58,104v8a54.06,54.06,0,0,0,50.45,53.87A37.85,37.85,0,0,0,98,192v10H72a26,26,0,0,1-26-26A38,38,0,0,0,8,138a6,6,0,0,0,0,12,26,26,0,0,1,26,26,38,38,0,0,0,38,38H98v18a6,6,0,0,0,12,0V192a26,26,0,0,1,52,0v40a6,6,0,0,0,12,0V192a37.85,37.85,0,0,0-10.45-26.13A54.06,54.06,0,0,0,214,112v-8A55.88,55.88,0,0,0,206.13,75.92ZM202,112a42,42,0,0,1-42,42H112a42,42,0,0,1-42-42v-8a43.86,43.86,0,0,1,7.3-23.69,6,6,0,0,0,.81-5.76,45.85,45.85,0,0,1,1.43-36.42,45.85,45.85,0,0,1,35.23,21.1A6,6,0,0,0,119.83,62h32.34a6,6,0,0,0,5.06-2.76,45.83,45.83,0,0,1,35.23-21.11,45.85,45.85,0,0,1,1.43,36.42,6,6,0,0,0,.79,5.74A43.78,43.78,0,0,1,202,104Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",ub,[...r[4]||=[Go("path",{d:"M208.31,75.68A59.78,59.78,0,0,0,202.93,28,8,8,0,0,0,196,24a59.75,59.75,0,0,0-48,24H124A59.75,59.75,0,0,0,76,24a8,8,0,0,0-6.93,4,59.78,59.78,0,0,0-5.38,47.68A58.14,58.14,0,0,0,56,104v8a56.06,56.06,0,0,0,48.44,55.47A39.8,39.8,0,0,0,96,192v8H72a24,24,0,0,1-24-24A40,40,0,0,0,8,136a8,8,0,0,0,0,16,24,24,0,0,1,24,24,40,40,0,0,0,40,40H96v16a8,8,0,0,0,16,0V192a24,24,0,0,1,48,0v40a8,8,0,0,0,16,0V192a39.8,39.8,0,0,0-8.44-24.53A56.06,56.06,0,0,0,216,112v-8A58.14,58.14,0,0,0,208.31,75.68ZM200,112a40,40,0,0,1-40,40H112a40,40,0,0,1-40-40v-8a41.74,41.74,0,0,1,6.9-22.48A8,8,0,0,0,80,73.83a43.81,43.81,0,0,1,.79-33.58,43.88,43.88,0,0,1,32.32,20.06A8,8,0,0,0,119.82,64h32.35a8,8,0,0,0,6.74-3.69,43.87,43.87,0,0,1,32.32-20.06A43.81,43.81,0,0,1,192,73.83a8.09,8.09,0,0,0,1,7.65A41.72,41.72,0,0,1,200,104Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",db,[...r[5]||=[Go("path",{d:"M203.94,76.16A55.73,55.73,0,0,0,199.46,30,4,4,0,0,0,196,28a55.78,55.78,0,0,0-46,24H122A55.78,55.78,0,0,0,76,28a4,4,0,0,0-3.46,2,55.73,55.73,0,0,0-4.48,46.16A53.78,53.78,0,0,0,60,104v8a52.06,52.06,0,0,0,52,52h1.41A36,36,0,0,0,100,192v12H72a28,28,0,0,1-28-28A36,36,0,0,0,8,140a4,4,0,0,0,0,8,28,28,0,0,1,28,28,36,36,0,0,0,36,36h28v20a4,4,0,0,0,8,0V192a28,28,0,0,1,56,0v40a4,4,0,0,0,8,0V192a36,36,0,0,0-13.41-28H160a52.06,52.06,0,0,0,52-52v-8A53.78,53.78,0,0,0,203.94,76.16ZM204,112a44.05,44.05,0,0,1-44,44H112a44.05,44.05,0,0,1-44-44v-8a45.76,45.76,0,0,1,7.71-24.89,4,4,0,0,0,.53-3.84,47.82,47.82,0,0,1,2.1-39.21,47.8,47.8,0,0,1,38.12,22.1A4,4,0,0,0,119.83,60h32.34a4,4,0,0,0,3.37-1.84,47.8,47.8,0,0,1,38.12-22.1,47.82,47.82,0,0,1,2.1,39.21,4,4,0,0,0,.53,3.83A45.85,45.85,0,0,1,204,104Z"},null,-1)]])):ai("",!0)],16))}})}),Dk=V(()=>{Rk(),hb=pb}),Lk=V(()=>{Uw(),Rc(),mb={key:0},fb={key:1},gb={key:2},vb={key:3},bb={key:4},yb={key:5},Ob=Pn({name:"ScalarIconGlobe",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",mb,[...r[0]||=[Go("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,187a113.4,113.4,0,0,1-20.39-35h40.82a116.94,116.94,0,0,1-10,20.77A108.61,108.61,0,0,1,128,207Zm-26.49-59a135.42,135.42,0,0,1,0-40h53a135.42,135.42,0,0,1,0,40ZM44,128a83.49,83.49,0,0,1,2.43-20H77.25a160.63,160.63,0,0,0,0,40H46.43A83.49,83.49,0,0,1,44,128Zm84-79a113.4,113.4,0,0,1,20.39,35H107.59a116.94,116.94,0,0,1,10-20.77A108.61,108.61,0,0,1,128,49Zm50.73,59h30.82a83.52,83.52,0,0,1,0,40H178.75a160.63,160.63,0,0,0,0-40Zm20.77-24H173.71a140.82,140.82,0,0,0-15.5-34.36A84.51,84.51,0,0,1,199.52,84ZM97.79,49.64A140.82,140.82,0,0,0,82.29,84H56.48A84.51,84.51,0,0,1,97.79,49.64ZM56.48,172H82.29a140.82,140.82,0,0,0,15.5,34.36A84.51,84.51,0,0,1,56.48,172Zm101.73,34.36A140.82,140.82,0,0,0,173.71,172h25.81A84.51,84.51,0,0,1,158.21,206.36Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",fb,[...r[1]||=[Go("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),Go("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",gb,[...r[2]||=[Go("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm78.36,64H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM216,128a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM128,43a115.27,115.27,0,0,1,26,45H102A115.11,115.11,0,0,1,128,43ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48Zm50.35,61.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",vb,[...r[3]||=[Go("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm81.57,64H169.19a132.58,132.58,0,0,0-25.73-50.67A90.29,90.29,0,0,1,209.57,90ZM218,128a89.7,89.7,0,0,1-3.83,26H171.81a155.43,155.43,0,0,0,0-52h42.36A89.7,89.7,0,0,1,218,128Zm-90,87.83a110,110,0,0,1-15.19-19.45A124.24,124.24,0,0,1,99.35,166h57.3a124.24,124.24,0,0,1-13.46,30.38A110,110,0,0,1,128,215.83ZM96.45,154a139.18,139.18,0,0,1,0-52h63.1a139.18,139.18,0,0,1,0,52ZM38,128a89.7,89.7,0,0,1,3.83-26H84.19a155.43,155.43,0,0,0,0,52H41.83A89.7,89.7,0,0,1,38,128Zm90-87.83a110,110,0,0,1,15.19,19.45A124.24,124.24,0,0,1,156.65,90H99.35a124.24,124.24,0,0,1,13.46-30.38A110,110,0,0,1,128,40.17Zm-15.46-.84A132.58,132.58,0,0,0,86.81,90H46.43A90.29,90.29,0,0,1,112.54,39.33ZM46.43,166H86.81a132.58,132.58,0,0,0,25.73,50.67A90.29,90.29,0,0,1,46.43,166Zm97,50.67A132.58,132.58,0,0,0,169.19,166h40.38A90.29,90.29,0,0,1,143.46,216.67Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",bb,[...r[4]||=[Go("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,107.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",yb,[...r[5]||=[Go("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,190.61c-6.33-6.09-23-24.41-31.27-54.61h62.54C151,194.2,134.33,212.52,128,218.61ZM94.82,156a140.42,140.42,0,0,1,0-56h66.36a140.42,140.42,0,0,1,0,56ZM128,37.39c6.33,6.09,23,24.41,31.27,54.61H96.73C105,61.8,121.67,43.48,128,37.39ZM169.41,100h46.23a92.09,92.09,0,0,1,0,56H169.41a152.65,152.65,0,0,0,0-56Zm43.25-8h-45a129.39,129.39,0,0,0-29.19-55.4A92.25,92.25,0,0,1,212.66,92ZM117.54,36.6A129.39,129.39,0,0,0,88.35,92h-45A92.25,92.25,0,0,1,117.54,36.6ZM40.36,100H86.59a152.65,152.65,0,0,0,0,56H40.36a92.09,92.09,0,0,1,0-56Zm3,64h45a129.39,129.39,0,0,0,29.19,55.4A92.25,92.25,0,0,1,43.34,164Zm95.12,55.4A129.39,129.39,0,0,0,167.65,164h45A92.25,92.25,0,0,1,138.46,219.4Z"},null,-1)]])):ai("",!0)],16))}})}),Bk=V(()=>{Lk(),xb=Ob}),jk=V(()=>{Uw(),Rc(),wb={key:0},kb={key:1},Sb={key:2},Ab={key:3},_b={key:4},Tb={key:5},Eb=Pn({name:"ScalarIconGlobeSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",wb,[...r[0]||=[Go("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm83.13,96H179.56a144.3,144.3,0,0,0-21.35-66.36A84.22,84.22,0,0,1,211.13,116ZM128,207c-9.36-10.81-24.46-33.13-27.45-67h54.94a119.74,119.74,0,0,1-17.11,52.77A108.61,108.61,0,0,1,128,207Zm-27.45-91a119.74,119.74,0,0,1,17.11-52.77A108.61,108.61,0,0,1,128,49c9.36,10.81,24.46,33.13,27.45,67ZM97.79,49.64A144.3,144.3,0,0,0,76.44,116H44.87A84.22,84.22,0,0,1,97.79,49.64ZM44.87,140H76.44a144.3,144.3,0,0,0,21.35,66.36A84.22,84.22,0,0,1,44.87,140Zm113.34,66.36A144.3,144.3,0,0,0,179.56,140h31.57A84.22,84.22,0,0,1,158.21,206.36Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",kb,[...r[1]||=[Go("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),Go("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,80.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Sb,[...r[2]||=[Go("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm52.18,93.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Ab,[...r[3]||=[Go("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm89.8,96H173.89c-1.54-40.77-18.48-68.23-30.43-82.67A90.19,90.19,0,0,1,217.8,122ZM128,215.83a110,110,0,0,1-15.19-19.45A128.37,128.37,0,0,1,94.13,134h67.74a128.37,128.37,0,0,1-18.68,62.38A110,110,0,0,1,128,215.83ZM94.13,122a128.37,128.37,0,0,1,18.68-62.38A110,110,0,0,1,128,40.17a110,110,0,0,1,15.19,19.45A128.37,128.37,0,0,1,161.87,122Zm18.41-82.67c-12,14.44-28.89,41.9-30.43,82.67H38.2A90.19,90.19,0,0,1,112.54,39.33ZM38.2,134H82.11c1.54,40.77,18.48,68.23,30.43,82.67A90.19,90.19,0,0,1,38.2,134Zm105.26,82.67c11.95-14.44,28.89-41.9,30.43-82.67H217.8A90.19,90.19,0,0,1,143.46,216.67Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",_b,[...r[4]||=[Go("path",{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm87.62,96H175.79C174,83.49,159.94,57.67,148.41,42.4A88.19,88.19,0,0,1,215.63,120ZM96.23,136h63.54c-2.31,41.61-22.23,67.11-31.77,77C118.45,203.1,98.54,177.6,96.23,136Zm0-16C98.54,78.39,118.46,52.89,128,43c9.55,9.93,29.46,35.43,31.77,77Zm11.36-77.6C96.06,57.67,82,83.49,80.21,120H40.37A88.19,88.19,0,0,1,107.59,42.4ZM40.37,136H80.21c1.82,36.51,15.85,62.33,27.38,77.6A88.19,88.19,0,0,1,40.37,136Zm108,77.6c11.53-15.27,25.56-41.09,27.38-77.6h39.84A88.19,88.19,0,0,1,148.41,213.6Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Tb,[...r[5]||=[Go("path",{d:"M128,28h0A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm91.9,96h-48c-1.15-45.55-21.74-74.52-33.48-87.4A92.14,92.14,0,0,1,219.91,124ZM128,218.61c-8.32-8-34.57-37.13-35.93-86.61h71.86C162.57,181.48,136.32,210.61,128,218.61ZM92.07,124C93.43,74.52,119.68,45.39,128,37.39c8.32,8,34.57,37.13,35.93,86.61Zm25.47-87.4C105.8,49.48,85.21,78.45,84.06,124h-48A92.14,92.14,0,0,1,117.54,36.6ZM36.09,132h48c1.15,45.55,21.74,74.52,33.48,87.4A92.14,92.14,0,0,1,36.09,132Zm102.37,87.4c11.74-12.88,32.33-41.85,33.48-87.4h48A92.14,92.14,0,0,1,138.46,219.4Z"},null,-1)]])):ai("",!0)],16))}})}),Uk=V(()=>{jk(),Cb=Eb}),zk=V(()=>{Uw(),Rc(),Pb={key:0},Mb={key:1},$b={key:2},Nb={key:3},Ib={key:4},Rb={key:5},Db=Pn({name:"ScalarIconHash",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Pb,[...r[0]||=[Go("path",{d:"M224,84H180.2l7.61-41.85a12,12,0,0,0-23.62-4.3L155.8,84H116.2l7.61-41.85a12,12,0,1,0-23.62-4.3L91.8,84H48a12,12,0,0,0,0,24H87.44l-7.27,40H32a12,12,0,0,0,0,24H75.8l-7.61,41.85a12,12,0,0,0,9.66,14A11.43,11.43,0,0,0,80,228a12,12,0,0,0,11.8-9.86L100.2,172h39.6l-7.61,41.85a12,12,0,0,0,9.66,14,11.43,11.43,0,0,0,2.16.2,12,12,0,0,0,11.8-9.86L164.2,172H208a12,12,0,0,0,0-24H168.56l7.27-40H224a12,12,0,0,0,0-24Zm-79.83,64H104.56l7.27-40h39.61Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Mb,[...r[1]||=[Go("path",{d:"M165.82,96l-11.64,64h-64l11.64-64Z",opacity:"0.2"},null,-1),Go("path",{d:"M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",$b,[...r[2]||=[Go("path",{d:"M116.25,112h31.5l-8,32h-31.5ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48Zm-16,56a8,8,0,0,0-8-8H168.25l7.51-30.06a8,8,0,0,0-15.52-3.88L151.75,96h-31.5l7.51-30.06a8,8,0,0,0-15.52-3.88L103.75,96H64a8,8,0,0,0,0,16H99.75l-8,32H56a8,8,0,0,0,0,16H87.75l-7.51,30.06a8,8,0,0,0,5.82,9.7,8.13,8.13,0,0,0,2,.24,8,8,0,0,0,7.75-6.06L104.25,160h31.5l-7.51,30.06a8,8,0,0,0,5.82,9.7A8.13,8.13,0,0,0,136,200a8,8,0,0,0,7.75-6.06L152.25,160H192a8,8,0,0,0,0-16H156.25l8-32H200A8,8,0,0,0,208,104Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Nb,[...r[3]||=[Go("path",{d:"M224,90H173l8.89-48.93a6,6,0,1,0-11.8-2.14L160.81,90H109l8.89-48.93a6,6,0,0,0-11.8-2.14L96.81,90H48a6,6,0,0,0,0,12H94.63l-9.46,52H32a6,6,0,0,0,0,12H83L74.1,214.93a6,6,0,0,0,4.83,7A5.64,5.64,0,0,0,80,222a6,6,0,0,0,5.89-4.93L95.19,166H147l-8.89,48.93a6,6,0,0,0,4.83,7,5.64,5.64,0,0,0,1.08.1,6,6,0,0,0,5.89-4.93L159.19,166H208a6,6,0,0,0,0-12H161.37l9.46-52H224a6,6,0,0,0,0-12Zm-74.83,64H97.37l9.46-52h51.8Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Ib,[...r[4]||=[Go("path",{d:"M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Rb,[...r[5]||=[Go("path",{d:"M224,92H170.61l9.33-51.28a4,4,0,1,0-7.88-1.44L162.48,92H106.61l9.33-51.28a4,4,0,1,0-7.88-1.44L98.48,92H48a4,4,0,0,0,0,8H97L86.84,156H32a4,4,0,0,0,0,8H85.39l-9.33,51.28a4,4,0,0,0,3.22,4.65A3.65,3.65,0,0,0,80,220a4,4,0,0,0,3.94-3.29L93.52,164h55.87l-9.33,51.28a4,4,0,0,0,3.22,4.65,3.65,3.65,0,0,0,.72.07,4,4,0,0,0,3.94-3.29L157.52,164H208a4,4,0,0,0,0-8H159l10.19-56H224a4,4,0,0,0,0-8Zm-73.16,64H95l10.19-56H161Z"},null,-1)]])):ai("",!0)],16))}})}),Hk=V(()=>{zk(),Lb=Db}),Zk=V(()=>{Uw(),Rc(),Bb={key:0},jb={key:1},Ub={key:2},zb={key:3},Hb={key:4},Zb={key:5},Vb=Pn({name:"ScalarIconHouse",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Bb,[...r[0]||=[Go("path",{d:"M222.14,105.85l-80-80a20,20,0,0,0-28.28,0l-80,80A19.86,19.86,0,0,0,28,120v96a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V164h24v52a12,12,0,0,0,12,12h64a12,12,0,0,0,12-12V120A19.86,19.86,0,0,0,222.14,105.85ZM204,204H164V152a12,12,0,0,0-12-12H104a12,12,0,0,0-12,12v52H52V121.65l76-76,76,76Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",jb,[...r[1]||=[Go("path",{d:"M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z",opacity:"0.2"},null,-1),Go("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Ub,[...r[2]||=[Go("path",{d:"M224,120v96a8,8,0,0,1-8,8H160a8,8,0,0,1-8-8V164a4,4,0,0,0-4-4H108a4,4,0,0,0-4,4v52a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V120a16,16,0,0,1,4.69-11.31l80-80a16,16,0,0,1,22.62,0l80,80A16,16,0,0,1,224,120Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",zb,[...r[3]||=[Go("path",{d:"M217.9,110.1l-80-80a14,14,0,0,0-19.8,0l-80,80A13.92,13.92,0,0,0,34,120v96a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V158h36v58a6,6,0,0,0,6,6h64a6,6,0,0,0,6-6V120A13.92,13.92,0,0,0,217.9,110.1ZM210,210H158V152a6,6,0,0,0-6-6H104a6,6,0,0,0-6,6v58H46V120a2,2,0,0,1,.58-1.42l80-80a2,2,0,0,1,2.84,0l80,80A2,2,0,0,1,210,120Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Hb,[...r[4]||=[Go("path",{d:"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Zb,[...r[5]||=[Go("path",{d:"M216.49,111.51l-80-80a12,12,0,0,0-17,0l-80,80A12,12,0,0,0,36,120v96a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V156h40v60a4,4,0,0,0,4,4h64a4,4,0,0,0,4-4V120A12,12,0,0,0,216.49,111.51ZM212,212H156V152a4,4,0,0,0-4-4H104a4,4,0,0,0-4,4v60H44V120a4,4,0,0,1,1.17-2.83l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,212,120Z"},null,-1)]])):ai("",!0)],16))}})}),Vk=V(()=>{Zk(),Qb=Vb}),Qk=V(()=>{Uw(),Rc(),qb={key:0},Fb={key:1},Wb={key:2},Xb={key:3},Gb={key:4},Yb={key:5},Kb=Pn({name:"ScalarIconInfo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",qb,[...r[0]||=[Go("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Fb,[...r[1]||=[Go("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),Go("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Wb,[...r[2]||=[Go("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Xb,[...r[3]||=[Go("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Gb,[...r[4]||=[Go("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Yb,[...r[5]||=[Go("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1)]])):ai("",!0)],16))}})}),qk=V(()=>{Qk(),Jb=Kb}),Fk=V(()=>{Uw(),Rc(),ey={key:0},ty={key:1},ay={key:2},ry={key:3},ny={key:4},oy={key:5},iy=Pn({name:"ScalarIconLink",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",ey,[...r[0]||=[Go("path",{d:"M117.18,188.74a12,12,0,0,1,0,17l-5.12,5.12A58.26,58.26,0,0,1,70.6,228h0A58.62,58.62,0,0,1,29.14,127.92L63.89,93.17a58.64,58.64,0,0,1,98.56,28.11,12,12,0,1,1-23.37,5.44,34.65,34.65,0,0,0-58.22-16.58L46.11,144.89A34.62,34.62,0,0,0,70.57,204h0a34.41,34.41,0,0,0,24.49-10.14l5.11-5.12A12,12,0,0,1,117.18,188.74ZM226.83,45.17a58.65,58.65,0,0,0-82.93,0l-5.11,5.11a12,12,0,0,0,17,17l5.12-5.12a34.63,34.63,0,1,1,49,49L175.1,145.86A34.39,34.39,0,0,1,150.61,156h0a34.63,34.63,0,0,1-33.69-26.72,12,12,0,0,0-23.38,5.44A58.64,58.64,0,0,0,150.56,180h.05a58.28,58.28,0,0,0,41.47-17.17l34.75-34.75a58.62,58.62,0,0,0,0-82.91Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",ty,[...r[1]||=[Go("path",{d:"M218.34,119.6,183.6,154.34a46.58,46.58,0,0,1-44.31,12.26c-.31.34-.62.67-.95,1L103.6,202.34A46.63,46.63,0,1,1,37.66,136.4L72.4,101.66A46.6,46.6,0,0,1,116.71,89.4c.31-.34.62-.67,1-1L152.4,53.66a46.63,46.63,0,0,1,65.94,65.94Z",opacity:"0.2"},null,-1),Go("path",{d:"M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,7.78,8.22H152a8,8,0,0,0,8-7.78A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",ay,[...r[2]||=[Go("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM115.7,192.49a43.31,43.31,0,0,1-55-66.43l25.37-25.37a43.35,43.35,0,0,1,61.25,0,42.9,42.9,0,0,1,9.95,15.43,8,8,0,1,1-15,5.6A27.33,27.33,0,0,0,97.37,112L72,137.37a27.32,27.32,0,0,0,34.68,41.91,8,8,0,1,1,9,13.21Zm79.61-62.55-25.37,25.37A43,43,0,0,1,139.32,168h0a43.35,43.35,0,0,1-40.53-28.12,8,8,0,1,1,15-5.6A27.35,27.35,0,0,0,139.28,152h0a27.14,27.14,0,0,0,19.32-8L184,118.63a27.32,27.32,0,0,0-34.68-41.91,8,8,0,1,1-9-13.21,43.32,43.32,0,0,1,55,66.43Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",ry,[...r[3]||=[Go("path",{d:"M238,88.18a52.42,52.42,0,0,1-15.4,35.66l-34.75,34.75A52.28,52.28,0,0,1,150.62,174h-.05A52.63,52.63,0,0,1,98,119.9a6,6,0,0,1,6-5.84h.17a6,6,0,0,1,5.83,6.16A40.62,40.62,0,0,0,150.58,162h0a40.4,40.4,0,0,0,28.73-11.9l34.75-34.74A40.63,40.63,0,0,0,156.63,57.9l-11,11a6,6,0,0,1-8.49-8.49l11-11a52.62,52.62,0,0,1,74.43,0A52.83,52.83,0,0,1,238,88.18Zm-127.62,98.9-11,11A40.36,40.36,0,0,1,70.6,210h0a40.63,40.63,0,0,1-28.7-69.36L76.62,105.9A40.63,40.63,0,0,1,146,135.77a6,6,0,0,0,5.83,6.16H152a6,6,0,0,0,6-5.84A52.63,52.63,0,0,0,68.14,97.42L33.38,132.16A52.63,52.63,0,0,0,70.56,222h0a52.26,52.26,0,0,0,37.22-15.42l11-11a6,6,0,1,0-8.49-8.48Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",ny,[...r[4]||=[Go("path",{d:"M240,88.23a54.43,54.43,0,0,1-16,37L189.25,160a54.27,54.27,0,0,1-38.63,16h-.05A54.63,54.63,0,0,1,96,119.84a8,8,0,0,1,16,.45A38.62,38.62,0,0,0,150.58,160h0a38.39,38.39,0,0,0,27.31-11.31l34.75-34.75a38.63,38.63,0,0,0-54.63-54.63l-11,11A8,8,0,0,1,135.7,59l11-11A54.65,54.65,0,0,1,224,48,54.86,54.86,0,0,1,240,88.23ZM109,185.66l-11,11A38.41,38.41,0,0,1,70.6,208h0a38.63,38.63,0,0,1-27.29-65.94L78,107.31A38.63,38.63,0,0,1,144,135.71a8,8,0,0,0,16,.45A54.86,54.86,0,0,0,144,96a54.65,54.65,0,0,0-77.27,0L32,130.75A54.62,54.62,0,0,0,70.56,224h0a54.28,54.28,0,0,0,38.64-16l11-11A8,8,0,0,0,109,185.66Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",oy,[...r[5]||=[Go("path",{d:"M236,88.12a50.44,50.44,0,0,1-14.81,34.31l-34.75,34.74A50.33,50.33,0,0,1,150.62,172h-.05A50.63,50.63,0,0,1,100,120a4,4,0,0,1,4-3.89h.11a4,4,0,0,1,3.89,4.11A42.64,42.64,0,0,0,150.58,164h0a42.32,42.32,0,0,0,30.14-12.49l34.75-34.74a42.63,42.63,0,1,0-60.29-60.28l-11,11a4,4,0,0,1-5.66-5.65l11-11A50.64,50.64,0,0,1,236,88.12ZM111.78,188.49l-11,11A42.33,42.33,0,0,1,70.6,212h0a42.63,42.63,0,0,1-30.11-72.77l34.75-34.74A42.63,42.63,0,0,1,148,135.82a4,4,0,0,0,8,.23A50.64,50.64,0,0,0,69.55,98.83L34.8,133.57A50.63,50.63,0,0,0,70.56,220h0a50.33,50.33,0,0,0,35.81-14.83l11-11a4,4,0,1,0-5.65-5.66Z"},null,-1)]])):ai("",!0)],16))}})}),Wk=V(()=>{Fk(),sy=iy}),Xk=V(()=>{Uw(),Rc(),ly={key:0},cy={key:1},uy={key:2},dy={key:3},py={key:4},hy={key:5},my=Pn({name:"ScalarIconList",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",ly,[...r[0]||=[Go("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",cy,[...r[1]||=[Go("path",{d:"M216,64V192H40V64Z",opacity:"0.2"},null,-1),Go("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",uy,[...r[2]||=[Go("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",dy,[...r[3]||=[Go("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",py,[...r[4]||=[Go("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",hy,[...r[5]||=[Go("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"},null,-1)]])):ai("",!0)],16))}})}),Gk=V(()=>{Xk(),fy=my}),Yk=V(()=>{Uw(),Rc(),gy={key:0},vy={key:1},by={key:2},yy={key:3},Oy={key:4},xy={key:5},wy=Pn({name:"ScalarIconLockSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",gy,[...r[0]||=[Go("path",{d:"M208,76H180V56A52,52,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76ZM100,56a28,28,0,0,1,56,0V76H100ZM204,204H52V100H204Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",vy,[...r[1]||=[Go("path",{d:"M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z",opacity:"0.2"},null,-1),Go("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",by,[...r[2]||=[Go("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",yy,[...r[3]||=[Go("path",{d:"M208,82H174V56a46,46,0,0,0-92,0V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82ZM94,56a34,34,0,0,1,68,0V82H94ZM210,208a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Oy,[...r[4]||=[Go("path",{d:"M208,80H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",xy,[...r[5]||=[Go("path",{d:"M208,84H172V56a44,44,0,0,0-88,0V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84ZM92,56a36,36,0,0,1,72,0V84H92ZM212,208a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z"},null,-1)]])):ai("",!0)],16))}})}),Kk=V(()=>{Yk(),ky=wy}),Jk=V(()=>{Uw(),Rc(),Sy={key:0},Ay={key:1},_y={key:2},Ty={key:3},Ey={key:4},Cy={key:5},Py=Pn({name:"ScalarIconLockSimpleOpen",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Sy,[...r[0]||=[Go("path",{d:"M208,76H100V56a28,28,0,0,1,28-28c13.51,0,25.65,9.62,28.24,22.39a12,12,0,1,0,23.52-4.78C174.87,21.5,153.1,4,128,4A52.06,52.06,0,0,0,76,56V76H48A20,20,0,0,0,28,96V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V96A20,20,0,0,0,208,76Zm-4,128H52V100H204Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Ay,[...r[1]||=[Go("path",{d:"M216,96V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V96a8,8,0,0,1,8-8H208A8,8,0,0,1,216,96Z",opacity:"0.2"},null,-1),Go("path",{d:"M208,80H96V56a32,32,0,0,1,32-32c15.37,0,29.2,11,32.16,25.59a8,8,0,0,0,15.68-3.18C171.32,24.15,151.2,8,128,8A48.05,48.05,0,0,0,80,56V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm0,128H48V96H208V208Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",_y,[...r[2]||=[Go("path",{d:"M224,96V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V96A16,16,0,0,1,48,80H80V56A48.05,48.05,0,0,1,128,8c23.2,0,43.32,16.15,47.84,38.41a8,8,0,0,1-15.68,3.18C157.2,35,143.37,24,128,24A32,32,0,0,0,96,56V80H208A16,16,0,0,1,224,96Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Ty,[...r[3]||=[Go("path",{d:"M208,82H94V56a34,34,0,0,1,34-34c16.3,0,31,11.69,34.12,27.19a6,6,0,0,0,11.76-2.38C169.55,25.48,150.26,10,128,10A46.06,46.06,0,0,0,82,56V82H48A14,14,0,0,0,34,96V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V96A14,14,0,0,0,208,82Zm2,126a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V96a2,2,0,0,1,2-2H208a2,2,0,0,1,2,2Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Ey,[...r[4]||=[Go("path",{d:"M208,80H96V56a32,32,0,0,1,32-32c15.37,0,29.2,11,32.16,25.59a8,8,0,0,0,15.68-3.18C171.32,24.15,151.2,8,128,8A48.05,48.05,0,0,0,80,56V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80Zm0,128H48V96H208V208Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Cy,[...r[5]||=[Go("path",{d:"M208,84H92V56a36,36,0,0,1,36-36c17.24,0,32.75,12.38,36.08,28.8a4,4,0,1,0,7.84-1.6C167.78,26.81,149.31,12,128,12A44.05,44.05,0,0,0,84,56V84H48A12,12,0,0,0,36,96V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V96A12,12,0,0,0,208,84Zm4,124a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V96a4,4,0,0,1,4-4H208a4,4,0,0,1,4,4Z"},null,-1)]])):ai("",!0)],16))}})}),eS=V(()=>{Jk(),My=Py}),tS=V(()=>{Uw(),Rc(),$y={key:0},Ny={key:1},Iy={key:2},Ry={key:3},Dy={key:4},Ly={key:5},By=Pn({name:"ScalarIconMagnifyingGlass",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",$y,[...r[0]||=[Go("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Ny,[...r[1]||=[Go("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"},null,-1),Go("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Iy,[...r[2]||=[Go("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Ry,[...r[3]||=[Go("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Dy,[...r[4]||=[Go("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Ly,[...r[5]||=[Go("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"},null,-1)]])):ai("",!0)],16))}})}),aS=V(()=>{tS(),jy=By}),rS=V(()=>{Uw(),Rc(),Uy={key:0},zy={key:1},Hy={key:2},Zy={key:3},Vy={key:4},Qy={key:5},qy=Pn({name:"ScalarIconMinus",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Uy,[...r[0]||=[Go("path",{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",zy,[...r[1]||=[Go("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),Go("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Hy,[...r[2]||=[Go("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H72a8,8,0,0,1,0-16H184a8,8,0,0,1,0,16Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Zy,[...r[3]||=[Go("path",{d:"M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Vy,[...r[4]||=[Go("path",{d:"M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Qy,[...r[5]||=[Go("path",{d:"M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128Z"},null,-1)]])):ai("",!0)],16))}})}),nS=V(()=>{rS(),Fy=qy}),oS=V(()=>{Uw(),Rc(),Wy={key:0},Xy={key:1},Gy={key:2},Yy={key:3},Ky={key:4},Jy={key:5},eO=Pn({name:"ScalarIconNotepad",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Wy,[...r[0]||=[Go("path",{d:"M172,124a12,12,0,0,1-12,12H96a12,12,0,0,1,0-24h64A12,12,0,0,1,172,124Zm-12,28H96a12,12,0,0,0,0,24h64a12,12,0,0,0,0-24ZM220,40V200a36,36,0,0,1-36,36H72a36,36,0,0,1-36-36V40A12,12,0,0,1,48,28H72V24a12,12,0,0,1,24,0v4h20V24a12,12,0,0,1,24,0v4h20V24a12,12,0,0,1,24,0v4h24A12,12,0,0,1,220,40ZM196,52H184v4a12,12,0,0,1-24,0V52H140v4a12,12,0,0,1-24,0V52H96v4a12,12,0,0,1-24,0V52H60V200a12,12,0,0,0,12,12H184a12,12,0,0,0,12-12Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Xy,[...r[1]||=[Go("path",{d:"M208,40V200a24,24,0,0,1-24,24H72a24,24,0,0,1-24-24V40Z",opacity:"0.2"},null,-1),Go("path",{d:"M168,128a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,128Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM216,40V200a32,32,0,0,1-32,32H72a32,32,0,0,1-32-32V40a8,8,0,0,1,8-8H72V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,40Zm-16,8H184v8a8,8,0,0,1-16,0V48H136v8a8,8,0,0,1-16,0V48H88v8a8,8,0,0,1-16,0V48H56V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Gy,[...r[2]||=[Go("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H136V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48a8,8,0,0,0-8,8V200a32,32,0,0,0,32,32H184a32,32,0,0,0,32-32V40A8,8,0,0,0,208,32ZM120,56a8,8,0,0,1,16,0v8a8,8,0,0,1-16,0ZM80,72a8,8,0,0,1-8-8V56a8,8,0,0,1,16,0v8A8,8,0,0,1,80,72Zm80,96H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm24-72a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Yy,[...r[3]||=[Go("path",{d:"M166,128a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,128Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12ZM214,40V200a30,30,0,0,1-30,30H72a30,30,0,0,1-30-30V40a6,6,0,0,1,6-6H74V24a6,6,0,0,1,12,0V34h36V24a6,6,0,0,1,12,0V34h36V24a6,6,0,0,1,12,0V34h26A6,6,0,0,1,214,40Zm-12,6H182V56a6,6,0,0,1-12,0V46H134V56a6,6,0,0,1-12,0V46H86V56a6,6,0,0,1-12,0V46H54V200a18,18,0,0,0,18,18H184a18,18,0,0,0,18-18Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Ky,[...r[4]||=[Go("path",{d:"M168,128a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,128Zm-8,24H96a8,8,0,0,0,0,16h64a8,8,0,0,0,0-16ZM216,40V200a32,32,0,0,1-32,32H72a32,32,0,0,1-32-32V40a8,8,0,0,1,8-8H72V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h32V24a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,40Zm-16,8H184v8a8,8,0,0,1-16,0V48H136v8a8,8,0,0,1-16,0V48H88v8a8,8,0,0,1-16,0V48H56V200a16,16,0,0,0,16,16H184a16,16,0,0,0,16-16Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Jy,[...r[5]||=[Go("path",{d:"M164,128a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,128Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8ZM212,40V200a28,28,0,0,1-28,28H72a28,28,0,0,1-28-28V40a4,4,0,0,1,4-4H76V24a4,4,0,0,1,8,0V36h40V24a4,4,0,0,1,8,0V36h40V24a4,4,0,0,1,8,0V36h28A4,4,0,0,1,212,40Zm-8,4H180V56a4,4,0,0,1-8,0V44H132V56a4,4,0,0,1-8,0V44H84V56a4,4,0,0,1-8,0V44H52V200a20,20,0,0,0,20,20H184a20,20,0,0,0,20-20Z"},null,-1)]])):ai("",!0)],16))}})}),iS=V(()=>{oS(),tO=eO}),sS=V(()=>{Uw(),Rc(),aO={key:0},rO={key:1},nO={key:2},oO={key:3},iO={key:4},sO={key:5},lO=Pn({name:"ScalarIconPencilSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",aO,[...r[0]||=[Go("path",{d:"M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",rO,[...r[1]||=[Go("path",{d:"M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z",opacity:"0.2"},null,-1),Go("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",nO,[...r[2]||=[Go("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",oO,[...r[3]||=[Go("path",{d:"M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",iO,[...r[4]||=[Go("path",{d:"M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",sO,[...r[5]||=[Go("path",{d:"M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z"},null,-1)]])):ai("",!0)],16))}})}),lS=V(()=>{sS(),cO=lO}),cS=V(()=>{Uw(),Rc(),uO={key:0},dO={key:1},pO={key:2},hO={key:3},mO={key:4},fO={key:5},gO=Pn({name:"ScalarIconPlay",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",uO,[...r[0]||=[Go("path",{d:"M234.49,111.07,90.41,22.94A20,20,0,0,0,60,39.87V216.13a20,20,0,0,0,30.41,16.93l144.08-88.13a19.82,19.82,0,0,0,0-33.86ZM84,208.85V47.15L216.16,128Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",dO,[...r[1]||=[Go("path",{d:"M228.23,134.69,84.15,222.81A8,8,0,0,1,72,216.12V39.88a8,8,0,0,1,12.15-6.69l144.08,88.12A7.82,7.82,0,0,1,228.23,134.69Z",opacity:"0.2"},null,-1),Go("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",pO,[...r[2]||=[Go("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",hO,[...r[3]||=[Go("path",{d:"M231.36,116.19,87.28,28.06a14,14,0,0,0-14.18-.27A13.69,13.69,0,0,0,66,39.87V216.13a13.69,13.69,0,0,0,7.1,12.08,14,14,0,0,0,14.18-.27l144.08-88.13a13.82,13.82,0,0,0,0-23.62Zm-6.26,13.38L81,217.7a2,2,0,0,1-2.06,0,1.78,1.78,0,0,1-1-1.61V39.87a1.78,1.78,0,0,1,1-1.61A2.06,2.06,0,0,1,80,38a2,2,0,0,1,1,.31L225.1,126.43a1.82,1.82,0,0,1,0,3.14Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",mO,[...r[4]||=[Go("path",{d:"M232.4,114.49,88.32,26.35a16,16,0,0,0-16.2-.3A15.86,15.86,0,0,0,64,39.87V216.13A15.94,15.94,0,0,0,80,232a16.07,16.07,0,0,0,8.36-2.35L232.4,141.51a15.81,15.81,0,0,0,0-27ZM80,215.94V40l143.83,88Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",fO,[...r[5]||=[Go("path",{d:"M230.32,117.9,86.24,29.79a11.91,11.91,0,0,0-12.17-.23A11.71,11.71,0,0,0,68,39.89V216.11a11.71,11.71,0,0,0,6.07,10.33,11.91,11.91,0,0,0,12.17-.23L230.32,138.1a11.82,11.82,0,0,0,0-20.2Zm-4.18,13.37L82.06,219.39a4,4,0,0,1-4.07.07,3.77,3.77,0,0,1-2-3.35V39.89a3.77,3.77,0,0,1,2-3.35,4,4,0,0,1,4.07.07l144.08,88.12a3.8,3.8,0,0,1,0,6.54Z"},null,-1)]])):ai("",!0)],16))}})}),uS=V(()=>{cS(),vO=gO}),dS=V(()=>{Uw(),Rc(),bO={key:0},yO={key:1},OO={key:2},xO={key:3},wO={key:4},kO={key:5},SO=Pn({name:"ScalarIconPlugsConnected",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",bO,[...r[0]||=[Go("path",{d:"M240.49,15.51a12,12,0,0,0-17,0L173.94,65.09l-2.54-2.55a36.05,36.05,0,0,0-50.91,0L100,83l-3.51-3.52a12,12,0,0,0-17,17L83,100,62.54,120.49a36,36,0,0,0,0,50.91l2.55,2.54L15.51,223.51a12,12,0,0,0,17,17l49.57-49.58,2.54,2.55a36.06,36.06,0,0,0,50.91,0L156,173l3.51,3.52a12,12,0,0,0,17-17L173,156l20.49-20.49a36,36,0,0,0,0-50.91l-2.55-2.54,49.58-49.57A12,12,0,0,0,240.49,15.51Zm-121.95,161a12,12,0,0,1-17,0L79.51,154.43a12,12,0,0,1,0-17L100,117l39,39Zm58-57.95h0L156,139l-39-39,20.49-20.49a12,12,0,0,1,17,0l22.06,22.06a12,12,0,0,1,0,17ZM85.27,33.37a12,12,0,0,1,21.46-10.74l8,16A12,12,0,1,1,93.27,49.37Zm-68,57.26a12,12,0,0,1,16.1-5.36l16,8a12,12,0,1,1-10.74,21.46l-16-8A12,12,0,0,1,17.27,90.63Zm221.46,74.74a12,12,0,0,1-16.1,5.36l-16-8a12,12,0,0,1,10.74-21.46l16,8A12,12,0,0,1,238.73,165.37Zm-68,57.26a12,12,0,1,1-21.46,10.74l-8-16a12,12,0,0,1,21.46-10.74Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",yO,[...r[1]||=[Go("path",{d:"M185,127,127,185a24,24,0,0,1-33.94,0L71,162.91A24,24,0,0,1,71,129L129,71a24,24,0,0,1,33.94,0L185,93.09A24,24,0,0,1,185,127Z",opacity:"0.2"},null,-1),Go("path",{d:"M237.66,18.34a8,8,0,0,0-11.32,0l-52.4,52.41-5.37-5.38a32.05,32.05,0,0,0-45.26,0L100,88.69l-6.34-6.35A8,8,0,0,0,82.34,93.66L88.69,100,65.37,123.31a32,32,0,0,0,0,45.26l5.38,5.37-52.41,52.4a8,8,0,0,0,11.32,11.32l52.4-52.41,5.37,5.38a32.06,32.06,0,0,0,45.26,0L156,167.31l6.34,6.35a8,8,0,0,0,11.32-11.32L167.31,156l23.32-23.31a32,32,0,0,0,0-45.26l-5.38-5.37,52.41-52.4A8,8,0,0,0,237.66,18.34Zm-116.29,161a16,16,0,0,1-22.62,0L76.69,157.25a16,16,0,0,1,0-22.62L100,111.31,144.69,156Zm57.94-57.94h0L156,144.69,111.31,100l23.32-23.31a16,16,0,0,1,22.62,0l22.06,22a16,16,0,0,1,0,22.63ZM88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM24.57,93A8,8,0,0,1,35,88.57l20,8A8,8,0,0,1,49,111.43l-20-8A8,8,0,0,1,24.57,93ZM231.43,163a8,8,0,0,1-10.4,4.46l-20-8A8,8,0,1,1,207,144.57l20,8A8,8,0,0,1,231.43,163Zm-64,58.06A8,8,0,0,1,152.57,227l-8-20A8,8,0,0,1,159.43,201Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",OO,[...r[2]||=[Go("path",{d:"M88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM29,103.43l20,8A8,8,0,1,0,55,96.57l-20-8A8,8,0,0,0,29,103.43ZM227,152.57l-20-8A8,8,0,1,0,201,159.43l20,8A8,8,0,0,0,227,152.57ZM159.43,201A8,8,0,0,0,144.57,207l8,20A8,8,0,1,0,167.43,221ZM237.91,18.52a8,8,0,0,0-11.5-.18L174,70.75l-5.38-5.38a32,32,0,0,0-45.28,0L106.14,82.54a4,4,0,0,0,0,5.66l61.7,61.66a4,4,0,0,0,5.66,0l16.74-16.74a32.76,32.76,0,0,0,9.81-22.52,31.82,31.82,0,0,0-9.37-23.17l-5.38-5.37,52.2-52.17A8.22,8.22,0,0,0,237.91,18.52ZM85.64,90.34a8,8,0,0,0-11.49.18,8.22,8.22,0,0,0,.41,11.37L80.67,108,65.34,123.31A31.82,31.82,0,0,0,56,146.47,32.75,32.75,0,0,0,65.77,169l5,4.94L18.49,226.13a8.21,8.21,0,0,0-.61,11.1,8,8,0,0,0,11.72.43L82,185.25l5.37,5.38a32.1,32.1,0,0,0,45.29,0L148,175.31l6.34,6.35a8,8,0,0,0,11.32-11.32Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",xO,[...r[3]||=[Go("path",{d:"M236.24,19.76a6,6,0,0,0-8.48,0L173.94,73.57l-6.79-6.78a30,30,0,0,0-42.42,0L100,91.51l-7.76-7.75a6,6,0,0,0-8.48,8.48L91.51,100,66.79,124.73a30,30,0,0,0,0,42.42l6.78,6.79L19.76,227.76a6,6,0,1,0,8.48,8.48l53.82-53.81,6.79,6.78a30,30,0,0,0,42.42,0L156,164.49l7.76,7.75a6,6,0,0,0,8.48-8.48L164.49,156l24.72-24.73a30,30,0,0,0,0-42.42l-6.78-6.79,53.81-53.82A6,6,0,0,0,236.24,19.76Zm-113.45,161a18,18,0,0,1-25.46,0L75.27,158.67a18,18,0,0,1,0-25.46L100,108.49,147.51,156Zm57.94-57.94L156,147.51,108.49,100l24.72-24.73a18,18,0,0,1,25.46,0l22.06,22.06a18,18,0,0,1,0,25.46ZM90.43,34.23a6,6,0,0,1,11.14-4.46l8,20a6,6,0,1,1-11.14,4.46Zm-64,59.54a6,6,0,0,1,7.8-3.34l20,8a6,6,0,1,1-4.46,11.14l-20-8A6,6,0,0,1,26.43,93.77Zm203.14,68.46a6,6,0,0,1-7.8,3.34l-20-8a6,6,0,0,1,4.46-11.14l20,8A6,6,0,0,1,229.57,162.23Zm-64,59.54a6,6,0,1,1-11.14,4.46l-8-20a6,6,0,0,1,11.14-4.46Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",wO,[...r[4]||=[Go("path",{d:"M237.66,18.34a8,8,0,0,0-11.32,0l-52.4,52.41-5.37-5.38a32.05,32.05,0,0,0-45.26,0L100,88.69l-6.34-6.35A8,8,0,0,0,82.34,93.66L88.69,100,65.37,123.31a32,32,0,0,0,0,45.26l5.38,5.37-52.41,52.4a8,8,0,0,0,11.32,11.32l52.4-52.41,5.37,5.38a32,32,0,0,0,45.26,0L156,167.31l6.34,6.35a8,8,0,0,0,11.32-11.32L167.31,156l23.32-23.31a32,32,0,0,0,0-45.26l-5.38-5.37,52.41-52.4A8,8,0,0,0,237.66,18.34Zm-116.29,161a16,16,0,0,1-22.62,0L76.69,157.25a16,16,0,0,1,0-22.62L100,111.31,144.69,156Zm57.94-57.94L156,144.69,111.31,100l23.32-23.31a16,16,0,0,1,22.62,0l22.06,22A16,16,0,0,1,179.31,121.37ZM88.57,35A8,8,0,0,1,103.43,29l8,20A8,8,0,0,1,96.57,55ZM24.57,93A8,8,0,0,1,35,88.57l20,8A8,8,0,0,1,49,111.43l-20-8A8,8,0,0,1,24.57,93ZM231.43,163a8,8,0,0,1-10.4,4.46l-20-8A8,8,0,1,1,207,144.57l20,8A8,8,0,0,1,231.43,163Zm-64,58.06A8,8,0,0,1,152.57,227l-8-20A8,8,0,0,1,159.43,201Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",kO,[...r[5]||=[Go("path",{d:"M234.83,21.17a4,4,0,0,0-5.66,0L173.94,76.4l-8.2-8.2a28,28,0,0,0-39.6,0L100,94.34l-9.17-9.17a4,4,0,0,0-5.66,5.66L94.34,100,68.2,126.14a28,28,0,0,0,0,39.6l8.2,8.2L21.17,229.17a4,4,0,0,0,5.66,5.66L82.06,179.6l8.2,8.2a28,28,0,0,0,39.6,0L156,161.66l9.17,9.17a4,4,0,0,0,5.66-5.66L161.66,156l26.14-26.14a28,28,0,0,0,0-39.6l-8.2-8.2,55.23-55.23A4,4,0,0,0,234.83,21.17Zm-110.63,161a20,20,0,0,1-28.28,0L73.86,160.08a20,20,0,0,1,0-28.28L100,105.66,150.34,156Zm57.94-57.94L156,150.34,105.66,100,131.8,73.86a20,20,0,0,1,28.28,0l22.06,22.06A20,20,0,0,1,182.14,124.2ZM92.29,33.49a4,4,0,1,1,7.42-3l8,20a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,104,56a4,4,0,0,1-3.71-2.51Zm-64,61a4,4,0,0,1,5.2-2.22l20,8A4,4,0,0,1,52,108a3.91,3.91,0,0,1-1.49-.29l-20-8A4,4,0,0,1,28.29,94.51Zm199.42,67A4,4,0,0,1,224,164a3.91,3.91,0,0,1-1.49-.29l-20-8a4,4,0,1,1,3-7.42l20,8A4,4,0,0,1,227.71,161.49Zm-64,61a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,160,228a4,4,0,0,1-3.71-2.51l-8-20a4,4,0,0,1,7.42-3Z"},null,-1)]])):ai("",!0)],16))}})}),pS=V(()=>{dS(),AO=SO}),hS=V(()=>{Uw(),Rc(),_O={key:0},TO={key:1},EO={key:2},CO={key:3},PO={key:4},MO={key:5},$O=Pn({name:"ScalarIconPlus",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",_O,[...r[0]||=[Go("path",{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",TO,[...r[1]||=[Go("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),Go("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",EO,[...r[2]||=[Go("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",CO,[...r[3]||=[Go("path",{d:"M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",PO,[...r[4]||=[Go("path",{d:"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",MO,[...r[5]||=[Go("path",{d:"M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z"},null,-1)]])):ai("",!0)],16))}})}),mS=V(()=>{hS(),NO=$O}),fS=V(()=>{Uw(),Rc(),IO={key:0},RO={key:1},DO={key:2},LO={key:3},BO={key:4},jO={key:5},UO=Pn({name:"ScalarIconScroll",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",IO,[...r[0]||=[Go("path",{d:"M92,92a12,12,0,0,1,12-12h60a12,12,0,0,1,0,24H104A12,12,0,0,1,92,92Zm12,52h60a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24Zm132,48a36,36,0,0,1-36,36H88a36,36,0,0,1-36-36V64a12,12,0,0,0-24,0c0,3.73,3.35,6.51,3.38,6.54l-.18-.14h0A12,12,0,1,1,16.81,89.59h0C15.49,88.62,4,79.55,4,64A36,36,0,0,1,40,28H176a36,36,0,0,1,36,36V164h4a12,12,0,0,1,7.2,2.4C224.51,167.38,236,176.45,236,192ZM92.62,172.2A12,12,0,0,1,104,164h84V64a12,12,0,0,0-12-12H73.94A35.88,35.88,0,0,1,76,64V192a12,12,0,0,0,24,0c0-3.58-3.17-6.38-3.2-6.4A12,12,0,0,1,92.62,172.2ZM212,192a7.69,7.69,0,0,0-1.24-4h-87a30.32,30.32,0,0,1,.26,4,35.84,35.84,0,0,1-2.06,12H200A12,12,0,0,0,212,192Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",RO,[...r[1]||=[Go("path",{d:"M200,176H104s8,6,8,16a24,24,0,0,1-48,0V64A24,24,0,0,0,40,40H176a24,24,0,0,1,24,24Z",opacity:"0.2"},null,-1),Go("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",DO,[...r[2]||=[Go("path",{d:"M220.8,169.6A8,8,0,0,0,216,168h-8V64a32,32,0,0,0-32-32H40A32,32,0,0,0,8,64C8,77.61,18.05,85.54,19.2,86.4h0A7.89,7.89,0,0,0,24,88a8,8,0,0,0,4.87-14.33h0C28.83,73.62,24,69.74,24,64a16,16,0,0,1,32,0V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32C232,178.39,222,170.46,220.8,169.6ZM104,96h64a8,8,0,0,1,0,16H104a8,8,0,0,1,0-16Zm-8,40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Zm104,72H107.71A31.82,31.82,0,0,0,112,192a26.92,26.92,0,0,0-1.21-8h102a12.58,12.58,0,0,1,3.23,8A16,16,0,0,1,200,208Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",LO,[...r[3]||=[Go("path",{d:"M98,136a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Zm6-26h64a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12Zm126,82a30,30,0,0,1-30,30H88a30,30,0,0,1-30-30V64a18,18,0,0,0-36,0c0,6.76,5.58,11.19,5.64,11.23A6,6,0,1,1,20.4,84.8C20,84.48,10,76.85,10,64A30,30,0,0,1,40,34H176a30,30,0,0,1,30,30V170h10a6,6,0,0,1,3.6,1.2C220,171.52,230,179.15,230,192Zm-124,0c0-6.76-5.59-11.19-5.64-11.23A6,6,0,0,1,104,170h90V64a18,18,0,0,0-18-18H64a29.82,29.82,0,0,1,6,18V192a18,18,0,0,0,36,0Zm112,0a14.94,14.94,0,0,0-4.34-10H115.88A24.83,24.83,0,0,1,118,192a29.87,29.87,0,0,1-6,18h88A18,18,0,0,0,218,192Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",BO,[...r[4]||=[Go("path",{d:"M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",jO,[...r[5]||=[Go("path",{d:"M100,104a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H104A4,4,0,0,1,100,104Zm4,36h64a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8Zm124,52a28,28,0,0,1-28,28H88a28,28,0,0,1-28-28V64a20,20,0,0,0-40,0c0,7.78,6.34,12.75,6.4,12.8a4,4,0,1,1-4.8,6.4C21.21,82.91,12,75.86,12,64A28,28,0,0,1,40,36H176a28,28,0,0,1,28,28V172h12a4,4,0,0,1,2.4.8C218.79,173.09,228,180.14,228,192Zm-120,0c0-7.78-6.34-12.75-6.4-12.8A4,4,0,0,1,104,172h92V64a20,20,0,0,0-20-20H59.57A27.9,27.9,0,0,1,68,64V192a20,20,0,0,0,40,0Zm112,0c0-6-3.74-10.3-5.5-12H112.61A23.31,23.31,0,0,1,116,192a27.94,27.94,0,0,1-8.42,20H200A20,20,0,0,0,220,192Z"},null,-1)]])):ai("",!0)],16))}})}),gS=V(()=>{fS(),zO=UO}),vS=V(()=>{Uw(),Rc(),HO={key:0},ZO={key:1},VO={key:2},QO={key:3},qO={key:4},FO={key:5},WO=Pn({name:"ScalarIconSparkle",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",HO,[...r[0]||=[Go("path",{d:"M199,125.31l-49.88-18.39L130.69,57a19.92,19.92,0,0,0-37.38,0L74.92,106.92,25,125.31a19.92,19.92,0,0,0,0,37.38l49.88,18.39L93.31,231a19.92,19.92,0,0,0,37.38,0l18.39-49.88L199,162.69a19.92,19.92,0,0,0,0-37.38Zm-63.38,35.16a12,12,0,0,0-7.11,7.11L112,212.28l-16.47-44.7a12,12,0,0,0-7.11-7.11L43.72,144l44.7-16.47a12,12,0,0,0,7.11-7.11L112,75.72l16.47,44.7a12,12,0,0,0,7.11,7.11L180.28,144ZM140,40a12,12,0,0,1,12-12h12V16a12,12,0,0,1,24,0V28h12a12,12,0,0,1,0,24H188V64a12,12,0,0,1-24,0V52H152A12,12,0,0,1,140,40ZM252,88a12,12,0,0,1-12,12h-4v4a12,12,0,0,1-24,0v-4h-4a12,12,0,0,1,0-24h4V72a12,12,0,0,1,24,0v4h4A12,12,0,0,1,252,88Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",ZO,[...r[1]||=[Go("path",{d:"M194.82,151.43l-55.09,20.3-20.3,55.09a7.92,7.92,0,0,1-14.86,0l-20.3-55.09-55.09-20.3a7.92,7.92,0,0,1,0-14.86l55.09-20.3,20.3-55.09a7.92,7.92,0,0,1,14.86,0l20.3,55.09,55.09,20.3A7.92,7.92,0,0,1,194.82,151.43Z",opacity:"0.2"},null,-1),Go("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",VO,[...r[2]||=[Go("path",{d:"M208,144a15.78,15.78,0,0,1-10.42,14.94L146,178l-19,51.62a15.92,15.92,0,0,1-29.88,0L78,178l-51.62-19a15.92,15.92,0,0,1,0-29.88L78,110l19-51.62a15.92,15.92,0,0,1,29.88,0L146,110l51.62,19A15.78,15.78,0,0,1,208,144ZM152,48h16V64a8,8,0,0,0,16,0V48h16a8,8,0,0,0,0-16H184V16a8,8,0,0,0-16,0V32H152a8,8,0,0,0,0,16Zm88,32h-8V72a8,8,0,0,0-16,0v8h-8a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0V96h8a8,8,0,0,0,0-16Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",QO,[...r[3]||=[Go("path",{d:"M196.89,130.94,144.4,111.6,125.06,59.11a13.92,13.92,0,0,0-26.12,0L79.6,111.6,27.11,130.94a13.92,13.92,0,0,0,0,26.12L79.6,176.4l19.34,52.49a13.92,13.92,0,0,0,26.12,0L144.4,176.4l52.49-19.34a13.92,13.92,0,0,0,0-26.12Zm-4.15,14.86-55.08,20.3a6,6,0,0,0-3.56,3.56l-20.3,55.08a1.92,1.92,0,0,1-3.6,0L89.9,169.66a6,6,0,0,0-3.56-3.56L31.26,145.8a1.92,1.92,0,0,1,0-3.6l55.08-20.3a6,6,0,0,0,3.56-3.56l20.3-55.08a1.92,1.92,0,0,1,3.6,0l20.3,55.08a6,6,0,0,0,3.56,3.56l55.08,20.3a1.92,1.92,0,0,1,0,3.6ZM146,40a6,6,0,0,1,6-6h18V16a6,6,0,0,1,12,0V34h18a6,6,0,0,1,0,12H182V64a6,6,0,0,1-12,0V46H152A6,6,0,0,1,146,40ZM246,88a6,6,0,0,1-6,6H230v10a6,6,0,0,1-12,0V94H208a6,6,0,0,1,0-12h10V72a6,6,0,0,1,12,0V82h10A6,6,0,0,1,246,88Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",qO,[...r[4]||=[Go("path",{d:"M197.58,129.06,146,110l-19-51.62a15.92,15.92,0,0,0-29.88,0L78,110l-51.62,19a15.92,15.92,0,0,0,0,29.88L78,178l19,51.62a15.92,15.92,0,0,0,29.88,0L146,178l51.62-19a15.92,15.92,0,0,0,0-29.88ZM137,164.22a8,8,0,0,0-4.74,4.74L112,223.85,91.78,169A8,8,0,0,0,87,164.22L32.15,144,87,123.78A8,8,0,0,0,91.78,119L112,64.15,132.22,119a8,8,0,0,0,4.74,4.74L191.85,144ZM144,40a8,8,0,0,1,8-8h16V16a8,8,0,0,1,16,0V32h16a8,8,0,0,1,0,16H184V64a8,8,0,0,1-16,0V48H152A8,8,0,0,1,144,40ZM248,88a8,8,0,0,1-8,8h-8v8a8,8,0,0,1-16,0V96h-8a8,8,0,0,1,0-16h8V72a8,8,0,0,1,16,0v8h8A8,8,0,0,1,248,88Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",FO,[...r[5]||=[Go("path",{d:"M196.2,132.81l-53.36-19.65L123.19,59.8a11.93,11.93,0,0,0-22.38,0L81.16,113.16,27.8,132.81a11.93,11.93,0,0,0,0,22.38l53.36,19.65,19.65,53.36a11.93,11.93,0,0,0,22.38,0l19.65-53.36,53.36-19.65a11.93,11.93,0,0,0,0-22.38Zm-2.77,14.87L138.35,168a4,4,0,0,0-2.37,2.37l-20.3,55.08a3.92,3.92,0,0,1-7.36,0L88,170.35A4,4,0,0,0,85.65,168l-55.08-20.3a3.92,3.92,0,0,1,0-7.36L85.65,120A4,4,0,0,0,88,117.65l20.3-55.08a3.92,3.92,0,0,1,7.36,0L136,117.65a4,4,0,0,0,2.37,2.37l55.08,20.3a3.92,3.92,0,0,1,0,7.36ZM148,40a4,4,0,0,1,4-4h20V16a4,4,0,0,1,8,0V36h20a4,4,0,0,1,0,8H180V64a4,4,0,0,1-8,0V44H152A4,4,0,0,1,148,40Zm96,48a4,4,0,0,1-4,4H228v12a4,4,0,0,1-8,0V92H208a4,4,0,0,1,0-8h12V72a4,4,0,0,1,8,0V84h12A4,4,0,0,1,244,88Z"},null,-1)]])):ai("",!0)],16))}})}),bS=V(()=>{vS(),XO=WO}),yS=V(()=>{Uw(),Rc(),GO={key:0},YO={key:1},KO={key:2},JO={key:3},ex={key:4},tx={key:5},ax=Pn({name:"ScalarIconSwap",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",GO,[...r[0]||=[Go("path",{d:"M228,48V152a20,20,0,0,1-20,20H112.92a12,12,0,0,1-17.41,16.49l-20-20a12,12,0,0,1,0-17l20-20A12,12,0,0,1,112.92,148H204V52H100a12,12,0,0,1-24,0V48A20,20,0,0,1,96,28H208A20,20,0,0,1,228,48ZM168,192a12,12,0,0,0-12,12H52V108h91.08a12,12,0,0,0,17.41,16.49l20-20a12,12,0,0,0,0-17l-20-20A12,12,0,0,0,143.08,84H48a20,20,0,0,0-20,20V208a20,20,0,0,0,20,20H160a20,20,0,0,0,20-20v-4A12,12,0,0,0,168,192Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",YO,[...r[1]||=[Go("path",{d:"M216,48V152a8,8,0,0,1-8,8H168v48a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V104a8,8,0,0,1,8-8H88V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"},null,-1),Go("path",{d:"M224,48V152a16,16,0,0,1-16,16H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,152H208V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104H156.69l-10.35,10.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L156.69,88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",KO,[...r[2]||=[Go("path",{d:"M224,48V152a16,16,0,0,1-16,16H112v16a8,8,0,0,1-13.66,5.66l-24-24a8,8,0,0,1,0-11.32l24-24A8,8,0,0,1,112,136v16h96V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104h96v16a8,8,0,0,0,13.66,5.66l24-24a8,8,0,0,0,0-11.32l-24-24A8,8,0,0,0,144,72V88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",JO,[...r[3]||=[Go("path",{d:"M222,48V152a14,14,0,0,1-14,14H94.49l13.75,13.76a6,6,0,1,1-8.48,8.48l-24-24a6,6,0,0,1,0-8.48l24-24a6,6,0,0,1,8.48,8.48L94.49,154H208a2,2,0,0,0,2-2V48a2,2,0,0,0-2-2H96a2,2,0,0,0-2,2v8a6,6,0,0,1-12,0V48A14,14,0,0,1,96,34H208A14,14,0,0,1,222,48ZM168,194a6,6,0,0,0-6,6v8a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V104a2,2,0,0,1,2-2H161.51l-13.75,13.76a6,6,0,1,0,8.48,8.48l24-24a6,6,0,0,0,0-8.48l-24-24a6,6,0,0,0-8.48,8.48L161.51,90H48a14,14,0,0,0-14,14V208a14,14,0,0,0,14,14H160a14,14,0,0,0,14-14v-8A6,6,0,0,0,168,194Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",ex,[...r[4]||=[Go("path",{d:"M224,48V152a16,16,0,0,1-16,16H99.31l10.35,10.34a8,8,0,0,1-11.32,11.32l-24-24a8,8,0,0,1,0-11.32l24-24a8,8,0,0,1,11.32,11.32L99.31,152H208V48H96v8a8,8,0,0,1-16,0V48A16,16,0,0,1,96,32H208A16,16,0,0,1,224,48ZM168,192a8,8,0,0,0-8,8v8H48V104H156.69l-10.35,10.34a8,8,0,0,0,11.32,11.32l24-24a8,8,0,0,0,0-11.32l-24-24a8,8,0,0,0-11.32,11.32L156.69,88H48a16,16,0,0,0-16,16V208a16,16,0,0,0,16,16H160a16,16,0,0,0,16-16v-8A8,8,0,0,0,168,192Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",tx,[...r[5]||=[Go("path",{d:"M220,48V152a12,12,0,0,1-12,12H89.66l17.17,17.17a4,4,0,0,1-5.66,5.66l-24-24a4,4,0,0,1,0-5.66l24-24a4,4,0,0,1,5.66,5.66L89.66,156H208a4,4,0,0,0,4-4V48a4,4,0,0,0-4-4H96a4,4,0,0,0-4,4v8a4,4,0,0,1-8,0V48A12,12,0,0,1,96,36H208A12,12,0,0,1,220,48ZM168,196a4,4,0,0,0-4,4v8a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V104a4,4,0,0,1,4-4H166.34l-17.17,17.17a4,4,0,0,0,5.66,5.66l24-24a4,4,0,0,0,0-5.66l-24-24a4,4,0,0,0-5.66,5.66L166.34,92H48a12,12,0,0,0-12,12V208a12,12,0,0,0,12,12H160a12,12,0,0,0,12-12v-8A4,4,0,0,0,168,196Z"},null,-1)]])):ai("",!0)],16))}})}),OS=V(()=>{yS(),rx=ax}),xS=V(()=>{Uw(),Rc(),nx={key:0},ox={key:1},ix={key:2},sx={key:3},lx={key:4},cx={key:5},ux=Pn({name:"ScalarIconTag",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",nx,[...r[0]||=[Go("path",{d:"M246.15,133.18,146.83,33.86A19.85,19.85,0,0,0,132.69,28H40A12,12,0,0,0,28,40v92.69a19.85,19.85,0,0,0,5.86,14.14l99.32,99.32a20,20,0,0,0,28.28,0l84.69-84.69A20,20,0,0,0,246.15,133.18Zm-98.83,93.17L52,131V52h79l95.32,95.32ZM104,88A16,16,0,1,1,88,72,16,16,0,0,1,104,88Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",ox,[...r[1]||=[Go("path",{d:"M237.66,153,153,237.66a8,8,0,0,1-11.31,0L42.34,138.34A8,8,0,0,1,40,132.69V40h92.69a8,8,0,0,1,5.65,2.34l99.32,99.32A8,8,0,0,1,237.66,153Z",opacity:"0.2"},null,-1),Go("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",ix,[...r[2]||=[Go("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63ZM84,96A12,12,0,1,1,96,84,12,12,0,0,1,84,96Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",sx,[...r[3]||=[Go("path",{d:"M241.91,137.42,142.59,38.1a13.94,13.94,0,0,0-9.9-4.1H40a6,6,0,0,0-6,6v92.69a13.94,13.94,0,0,0,4.1,9.9l99.32,99.32a14,14,0,0,0,19.8,0l84.69-84.69A14,14,0,0,0,241.91,137.42Zm-8.49,11.31-84.69,84.69a2,2,0,0,1-2.83,0L46.59,134.1a2,2,0,0,1-.59-1.41V46h86.69a2,2,0,0,1,1.41.59l99.32,99.31A2,2,0,0,1,233.42,148.73ZM94,84A10,10,0,1,1,84,74,10,10,0,0,1,94,84Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",lx,[...r[4]||=[Go("path",{d:"M243.31,136,144,36.69A15.86,15.86,0,0,0,132.69,32H40a8,8,0,0,0-8,8v92.69A15.86,15.86,0,0,0,36.69,144L136,243.31a16,16,0,0,0,22.63,0l84.68-84.68a16,16,0,0,0,0-22.63Zm-96,96L48,132.69V48h84.69L232,147.31ZM96,84A12,12,0,1,1,84,72,12,12,0,0,1,96,84Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",cx,[...r[5]||=[Go("path",{d:"M240.49,138.83,141.17,39.51A11.93,11.93,0,0,0,132.69,36H40a4,4,0,0,0-4,4v92.69a11.93,11.93,0,0,0,3.51,8.48l99.32,99.32a12,12,0,0,0,17,0l84.69-84.69a12,12,0,0,0,0-17Zm-5.66,11.31-84.69,84.69a4,4,0,0,1-5.65,0L45.17,135.51A4,4,0,0,1,44,132.69V44h88.69a4,4,0,0,1,2.82,1.17l99.32,99.32A4,4,0,0,1,234.83,150.14ZM92,84a8,8,0,1,1-8-8A8,8,0,0,1,92,84Z"},null,-1)]])):ai("",!0)],16))}})}),wS=V(()=>{xS(),dx=ux}),kS=V(()=>{Uw(),Rc(),px={key:0},hx={key:1},mx={key:2},fx={key:3},gx={key:4},vx={key:5},bx=Pn({name:"ScalarIconTerminalWindow",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",px,[...r[0]||=[Go("path",{d:"M72.5,150.63,100.79,128,72.5,105.37a12,12,0,1,1,15-18.74l40,32a12,12,0,0,1,0,18.74l-40,32a12,12,0,0,1-15-18.74ZM144,172h32a12,12,0,0,0,0-24H144a12,12,0,0,0,0,24ZM236,56V200a20,20,0,0,1-20,20H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V196H212Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",hx,[...r[1]||=[Go("path",{d:"M224,56V200a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z",opacity:"0.2"},null,-1),Go("path",{d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",mx,[...r[2]||=[Go("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-91,94.25-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32a8,8,0,0,1,0,12.5ZM176,168H136a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",fx,[...r[3]||=[Go("path",{d:"M126,128a6,6,0,0,1-2.25,4.69l-40,32a6,6,0,0,1-7.5-9.38L110.4,128,76.25,100.69a6,6,0,1,1,7.5-9.38l40,32A6,6,0,0,1,126,128Zm50,26H136a6,6,0,0,0,0,12h40a6,6,0,0,0,0-12Zm54-98V200a14,14,0,0,1-14,14H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V200a2,2,0,0,0,2,2H216a2,2,0,0,0,2-2Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",gx,[...r[4]||=[Go("path",{d:"M128,128a8,8,0,0,1-3,6.25l-40,32a8,8,0,1,1-10-12.5L107.19,128,75,102.25a8,8,0,1,1,10-12.5l40,32A8,8,0,0,1,128,128Zm48,24H136a8,8,0,0,0,0,16h40a8,8,0,0,0,0-16Zm56-96V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56ZM216,200V56H40V200H216Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",vx,[...r[5]||=[Go("path",{d:"M122.5,124.88a4,4,0,0,1,0,6.24l-40,32a4,4,0,0,1-5-6.24L113.6,128,77.5,99.12a4,4,0,0,1,5-6.24ZM176,156H136a4,4,0,0,0,0,8h40a4,4,0,0,0,0-8ZM228,56V200a12,12,0,0,1-12,12H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H216a4,4,0,0,0,4-4Z"},null,-1)]])):ai("",!0)],16))}})}),SS=V(()=>{kS(),yx=bx}),AS=V(()=>{Uw(),Rc(),Ox={key:0},xx={key:1},wx={key:2},kx={key:3},Sx={key:4},Ax={key:5},_x=Pn({name:"ScalarIconTextAlignLeft",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Ox,[...r[0]||=[Go("path",{d:"M28,64A12,12,0,0,1,40,52H216a12,12,0,0,1,0,24H40A12,12,0,0,1,28,64Zm12,52H168a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24Zm176,16H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Zm-48,40H40a12,12,0,0,0,0,24H168a12,12,0,0,0,0-24Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",xx,[...r[1]||=[Go("path",{d:"M216,64V168a16,16,0,0,1-16,16H40V64Z",opacity:"0.2"},null,-1),Go("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",wx,[...r[2]||=[Go("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM160,184H64a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm32-32H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16ZM56,112a8,8,0,0,1,8-8h96a8,8,0,0,1,0,16H64A8,8,0,0,1,56,112ZM192,88H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",kx,[...r[3]||=[Go("path",{d:"M34,64a6,6,0,0,1,6-6H216a6,6,0,0,1,0,12H40A6,6,0,0,1,34,64Zm6,46H168a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12Zm176,28H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Zm-48,40H40a6,6,0,0,0,0,12H168a6,6,0,0,0,0-12Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Sx,[...r[4]||=[Go("path",{d:"M32,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H40A8,8,0,0,1,32,64Zm8,48H168a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16Zm176,24H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm-48,40H40a8,8,0,0,0,0,16H168a8,8,0,0,0,0-16Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Ax,[...r[5]||=[Go("path",{d:"M36,64a4,4,0,0,1,4-4H216a4,4,0,0,1,0,8H40A4,4,0,0,1,36,64Zm4,44H168a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8Zm176,32H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Zm-48,40H40a4,4,0,0,0,0,8H168a4,4,0,0,0,0-8Z"},null,-1)]])):ai("",!0)],16))}})}),_S=V(()=>{AS(),Tx=_x}),TS=V(()=>{Uw(),Rc(),Ex={key:0},Cx={key:1},Px={key:2},Mx={key:3},$x={key:4},Nx={key:5},Ix=Pn({name:"ScalarIconTrash",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Ex,[...r[0]||=[Go("path",{d:"M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Cx,[...r[1]||=[Go("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"},null,-1),Go("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Px,[...r[2]||=[Go("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Mx,[...r[3]||=[Go("path",{d:"M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",$x,[...r[4]||=[Go("path",{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Nx,[...r[5]||=[Go("path",{d:"M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z"},null,-1)]])):ai("",!0)],16))}})}),ES=V(()=>{TS(),Rx=Ix}),CS=V(()=>{Uw(),Rc(),Dx={key:0},Lx={key:1},Bx={key:2},jx={key:3},Ux={key:4},zx={key:5},Hx=Pn({name:"ScalarIconUpload",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Dx,[...r[0]||=[Go("path",{d:"M188,184a16,16,0,1,1,16-16A16,16,0,0,1,188,184Zm36-68H180a12,12,0,0,0,0,24h40v56H36V140H76a12,12,0,0,0,0-24H32a20,20,0,0,0-20,20v64a20,20,0,0,0,20,20H224a20,20,0,0,0,20-20V136A20,20,0,0,0,224,116ZM88.49,80.49,116,53v75a12,12,0,0,0,24,0V53l27.51,27.52a12,12,0,1,0,17-17l-48-48a12,12,0,0,0-17,0l-48,48a12,12,0,1,0,17,17Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Lx,[...r[1]||=[Go("path",{d:"M232,136v64a8,8,0,0,1-8,8H32a8,8,0,0,1-8-8V136a8,8,0,0,1,8-8H224A8,8,0,0,1,232,136Z",opacity:"0.2"},null,-1),Go("path",{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H80a8,8,0,0,1,0,16H32v64H224V136H176a8,8,0,0,1,0-16h48A16,16,0,0,1,240,136ZM85.66,77.66,120,43.31V128a8,8,0,0,0,16,0V43.31l34.34,34.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,77.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Bx,[...r[2]||=[Go("path",{d:"M74.34,77.66a8,8,0,0,1,0-11.32l48-48a8,8,0,0,1,11.32,0l48,48a8,8,0,0,1-11.32,11.32L136,43.31V128a8,8,0,0,1-16,0V43.31L85.66,77.66A8,8,0,0,1,74.34,77.66ZM240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16h68a4,4,0,0,1,4,4v3.46c0,13.45,11,24.79,24.46,24.54A24,24,0,0,0,152,128v-4a4,4,0,0,1,4-4h68A16,16,0,0,1,240,136Zm-40,32a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",jx,[...r[3]||=[Go("path",{d:"M238,136v64a14,14,0,0,1-14,14H32a14,14,0,0,1-14-14V136a14,14,0,0,1,14-14H80a6,6,0,0,1,0,12H32a2,2,0,0,0-2,2v64a2,2,0,0,0,2,2H224a2,2,0,0,0,2-2V136a2,2,0,0,0-2-2H176a6,6,0,0,1,0-12h48A14,14,0,0,1,238,136ZM84.24,76.24,122,38.49V128a6,6,0,0,0,12,0V38.49l37.76,37.75a6,6,0,0,0,8.48-8.48l-48-48a6,6,0,0,0-8.48,0l-48,48a6,6,0,0,0,8.48,8.48ZM198,168a10,10,0,1,0-10,10A10,10,0,0,0,198,168Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Ux,[...r[4]||=[Go("path",{d:"M240,136v64a16,16,0,0,1-16,16H32a16,16,0,0,1-16-16V136a16,16,0,0,1,16-16H80a8,8,0,0,1,0,16H32v64H224V136H176a8,8,0,0,1,0-16h48A16,16,0,0,1,240,136ZM85.66,77.66,120,43.31V128a8,8,0,0,0,16,0V43.31l34.34,34.35a8,8,0,0,0,11.32-11.32l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,85.66,77.66ZM200,168a12,12,0,1,0-12,12A12,12,0,0,0,200,168Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",zx,[...r[5]||=[Go("path",{d:"M236,136v64a12,12,0,0,1-12,12H32a12,12,0,0,1-12-12V136a12,12,0,0,1,12-12H80a4,4,0,0,1,0,8H32a4,4,0,0,0-4,4v64a4,4,0,0,0,4,4H224a4,4,0,0,0,4-4V136a4,4,0,0,0-4-4H176a4,4,0,0,1,0-8h48A12,12,0,0,1,236,136ZM82.83,74.83,124,33.66V128a4,4,0,0,0,8,0V33.66l41.17,41.17a4,4,0,1,0,5.66-5.66l-48-48a4,4,0,0,0-5.66,0l-48,48a4,4,0,0,0,5.66,5.66ZM196,168a8,8,0,1,0-8,8A8,8,0,0,0,196,168Z"},null,-1)]])):ai("",!0)],16))}})}),PS=V(()=>{CS(),Zx=Hx}),MS=V(()=>{Uw(),Rc(),Vx={key:0},Qx={key:1},qx={key:2},Fx={key:3},Wx={key:4},Xx={key:5},Gx=Pn({name:"ScalarIconWarning",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Vx,[...r[0]||=[Go("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Qx,[...r[1]||=[Go("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"},null,-1),Go("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",qx,[...r[2]||=[Go("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Fx,[...r[3]||=[Go("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Wx,[...r[4]||=[Go("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Xx,[...r[5]||=[Go("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"},null,-1)]])):ai("",!0)],16))}})}),$S=V(()=>{MS(),Yx=Gx}),NS=V(()=>{Uw(),Rc(),Kx={key:0},Jx={key:1},ew={key:2},tw={key:3},aw={key:4},rw={key:5},nw=Pn({name:"ScalarIconWarningCircle",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Kx,[...r[0]||=[Go("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm-12-80V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,172Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Jx,[...r[1]||=[Go("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),Go("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",ew,[...r[2]||=[Go("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-8,56a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",tw,[...r[3]||=[Go("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm-6-82V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,172Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",aw,[...r[4]||=[Go("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm-8-80V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,172Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",rw,[...r[5]||=[Go("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm-4-84V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,172Z"},null,-1)]])):ai("",!0)],16))}})}),IS=V(()=>{NS(),ow=nw}),RS=V(()=>{Uw(),Rc(),iw={key:0},sw={key:1},lw={key:2},cw={key:3},uw={key:4},dw={key:5},pw=Pn({name:"ScalarIconWarningOctagon",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",iw,[...r[0]||=[Go("path",{d:"M116,132V80a12,12,0,0,1,24,0v52a12,12,0,0,1-24,0ZM236,91.55v72.9a19.86,19.86,0,0,1-5.86,14.14l-51.55,51.55A19.85,19.85,0,0,1,164.45,236H91.55a19.85,19.85,0,0,1-14.14-5.86L25.86,178.59A19.86,19.86,0,0,1,20,164.45V91.55a19.86,19.86,0,0,1,5.86-14.14L77.41,25.86A19.85,19.85,0,0,1,91.55,20h72.9a19.85,19.85,0,0,1,14.14,5.86l51.55,51.55A19.86,19.86,0,0,1,236,91.55Zm-24,1.66L162.79,44H93.21L44,93.21v69.58L93.21,212h69.58L212,162.79ZM128,156a16,16,0,1,0,16,16A16,16,0,0,0,128,156Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",sw,[...r[1]||=[Go("path",{d:"M224,91.55v72.9a8,8,0,0,1-2.34,5.66l-51.55,51.55a8,8,0,0,1-5.66,2.34H91.55a8,8,0,0,1-5.66-2.34L34.34,170.11A8,8,0,0,1,32,164.45V91.55a8,8,0,0,1,2.34-5.66L85.89,34.34A8,8,0,0,1,91.55,32h72.9a8,8,0,0,1,5.66,2.34l51.55,51.55A8,8,0,0,1,224,91.55Z",opacity:"0.2"},null,-1),Go("path",{d:"M120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0ZM232,91.55v72.9a15.86,15.86,0,0,1-4.69,11.31l-51.55,51.55A15.86,15.86,0,0,1,164.45,232H91.55a15.86,15.86,0,0,1-11.31-4.69L28.69,175.76A15.86,15.86,0,0,1,24,164.45V91.55a15.86,15.86,0,0,1,4.69-11.31L80.24,28.69A15.86,15.86,0,0,1,91.55,24h72.9a15.86,15.86,0,0,1,11.31,4.69l51.55,51.55A15.86,15.86,0,0,1,232,91.55Zm-16,0L164.45,40H91.55L40,91.55v72.9L91.55,216h72.9L216,164.45ZM128,160a12,12,0,1,0,12,12A12,12,0,0,0,128,160Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",lw,[...r[2]||=[Go("path",{d:"M227.31,80.23,175.77,28.69A16.13,16.13,0,0,0,164.45,24H91.55a16.13,16.13,0,0,0-11.32,4.69L28.69,80.23A16.13,16.13,0,0,0,24,91.55v72.9a16.13,16.13,0,0,0,4.69,11.32l51.54,51.54A16.13,16.13,0,0,0,91.55,232h72.9a16.13,16.13,0,0,0,11.32-4.69l51.54-51.54A16.13,16.13,0,0,0,232,164.45V91.55A16.13,16.13,0,0,0,227.31,80.23ZM120,80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0Zm8,104a12,12,0,1,1,12-12A12,12,0,0,1,128,184Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",cw,[...r[3]||=[Go("path",{d:"M122,136V80a6,6,0,0,1,12,0v56a6,6,0,0,1-12,0ZM230,91.55v72.9a13.92,13.92,0,0,1-4.1,9.9L174.35,225.9a13.92,13.92,0,0,1-9.9,4.1H91.55a13.92,13.92,0,0,1-9.9-4.1L30.1,174.35a13.92,13.92,0,0,1-4.1-9.9V91.55a13.92,13.92,0,0,1,4.1-9.9L81.65,30.1a13.92,13.92,0,0,1,9.9-4.1h72.9a13.92,13.92,0,0,1,9.9,4.1L225.9,81.65A13.92,13.92,0,0,1,230,91.55Zm-12,0a2,2,0,0,0-.59-1.42L165.87,38.59a2,2,0,0,0-1.42-.59H91.55a2,2,0,0,0-1.41.59L38.58,90.13A2,2,0,0,0,38,91.55v72.9a2,2,0,0,0,.59,1.42l51.54,51.54a2,2,0,0,0,1.42.59h72.9a2,2,0,0,0,1.41-.59l51.56-51.54a2,2,0,0,0,.58-1.42ZM128,162a10,10,0,1,0,10,10A10,10,0,0,0,128,162Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",uw,[...r[4]||=[Go("path",{d:"M120,136V80a8,8,0,0,1,16,0v56a8,8,0,0,1-16,0ZM232,91.55v72.9a15.86,15.86,0,0,1-4.69,11.31l-51.55,51.55A15.86,15.86,0,0,1,164.45,232H91.55a15.86,15.86,0,0,1-11.31-4.69L28.69,175.76A15.86,15.86,0,0,1,24,164.45V91.55a15.86,15.86,0,0,1,4.69-11.31L80.24,28.69A15.86,15.86,0,0,1,91.55,24h72.9a15.86,15.86,0,0,1,11.31,4.69l51.55,51.55A15.86,15.86,0,0,1,232,91.55Zm-16,0L164.45,40H91.55L40,91.55v72.9L91.55,216h72.9L216,164.45ZM128,160a12,12,0,1,0,12,12A12,12,0,0,0,128,160Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",dw,[...r[5]||=[Go("path",{d:"M124,136V80a4,4,0,0,1,8,0v56a4,4,0,0,1-8,0ZM228,91.55v72.9a12,12,0,0,1-3.51,8.49l-51.55,51.55a12,12,0,0,1-8.49,3.51H91.55a12,12,0,0,1-8.49-3.51L31.51,172.94A12,12,0,0,1,28,164.45V91.55a12,12,0,0,1,3.51-8.49L83.06,31.51A12,12,0,0,1,91.55,28h72.9a12,12,0,0,1,8.49,3.51l51.55,51.55A12,12,0,0,1,228,91.55Zm-8,0a4,4,0,0,0-1.17-2.83L167.28,37.17A4.06,4.06,0,0,0,164.45,36H91.55a4.06,4.06,0,0,0-2.83,1.17L37.17,88.72A4,4,0,0,0,36,91.55v72.9a4,4,0,0,0,1.17,2.83l51.55,51.55A4.06,4.06,0,0,0,91.55,220h72.9a4.06,4.06,0,0,0,2.83-1.17l51.55-51.55a4,4,0,0,0,1.17-2.83ZM128,164a8,8,0,1,0,8,8A8,8,0,0,0,128,164Z"},null,-1)]])):ai("",!0)],16))}})}),DS=V(()=>{RS(),hw=pw}),LS=V(()=>{Uw(),Rc(),mw={key:0},fw={key:1},gw={key:2},vw={key:3},bw={key:4},yw={key:5},Ow=Pn({name:"ScalarIconWebhooksLogo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",mw,[...r[0]||=[Go("path",{d:"M192,180H118.71a56,56,0,1,1-104.6-37.46,12,12,0,1,1,21.37,10.92A31.64,31.64,0,0,0,32,168a32,32,0,0,0,64,0,12,12,0,0,1,12-12h84a12,12,0,0,1,0,24Zm0-68a55.9,55.9,0,0,0-18.45,3.12L138.22,57.71a12,12,0,0,0-20.44,12.58l40.94,66.52a12,12,0,0,0,16.52,3.93,32,32,0,1,1,19.68,59.13A12,12,0,0,0,196,223.82a10.05,10.05,0,0,0,1.09,0A56,56,0,0,0,192,112ZM57.71,178.22a12,12,0,0,0,16.51-3.93l40.94-66.52a12,12,0,0,0-3.92-16.51,32,32,0,1,1,45.28-41.8,12,12,0,1,0,21.37-10.92A56,56,0,1,0,89.1,104.32L53.78,161.71A12,12,0,0,0,57.71,178.22Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",fw,[...r[1]||=[Go("path",{d:"M128,104a40,40,0,1,1,40-40A40,40,0,0,1,128,104Zm64,24a40,40,0,1,0,40,40A40,40,0,0,0,192,128ZM64,128a40,40,0,1,0,40,40A40,40,0,0,0,64,128Z",opacity:"0.2"},null,-1),Go("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",gw,[...r[2]||=[Go("path",{d:"M50.15,160,89.07,92.57l-2.24-3.88a48,48,0,1,1,85.05-44.17,8.17,8.17,0,0,1-3.19,10.4,8,8,0,0,1-11.35-3.72,32,32,0,1,0-56.77,29.3.57.57,0,0,1,.08.13l13.83,23.94a8,8,0,0,1,0,8L77.86,176a16,16,0,0,1-27.71-16Zm141-40H178.81L141.86,56a16,16,0,0,0-27.71,16l34.64,60a8,8,0,0,0,6.92,4h35.63c17.89,0,32.95,14.64,32.66,32.53A32,32,0,0,1,192.31,200a8.23,8.23,0,0,0-8.28,7.33,8,8,0,0,0,8,8.67,48.05,48.05,0,0,0,48-48.93C239.49,140.79,217.48,120,191.19,120ZM208,167.23c-.4-8.61-7.82-15.23-16.43-15.23H114.81a8,8,0,0,0-6.93,4L91.72,184h0a32,32,0,1,1-53.47-35,8.2,8.2,0,0,0-.92-11,8,8,0,0,0-11.72,1.17A47.63,47.63,0,0,0,16,167.54,48,48,0,0,0,105.55,192v0l4.62-8H192A16,16,0,0,0,208,167.23Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",vw,[...r[3]||=[Go("path",{d:"M179.37,174H109.6a46,46,0,1,1-82.4-33.61,6,6,0,0,1,9.6,7.21A33.68,33.68,0,0,0,30,168a34,34,0,0,0,68,0,6,6,0,0,1,6-6h75.37a14,14,0,1,1,0,12ZM64,182a14,14,0,0,0,11.73-21.62l36.42-59.18a6,6,0,0,0-2-8.25,34,34,0,1,1,49-42.57,6,6,0,1,0,11-4.79A46,46,0,1,0,99,99.7L65.52,154.08c-.5-.05-1-.08-1.52-.08a14,14,0,0,0,0,28Zm128-60a46,46,0,0,0-18.8,4L139.73,71.61A14,14,0,1,0,128,78a12.79,12.79,0,0,0,1.52-.09l36.4,59.17a6.05,6.05,0,0,0,3.73,2.69,6,6,0,0,0,4.53-.73A34,34,0,1,1,192,202a6,6,0,0,0,0,12,46,46,0,0,0,0-92Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",bw,[...r[4]||=[Go("path",{d:"M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",yw,[...r[5]||=[Go("path",{d:"M180.7,172H107.81a44,44,0,1,1-79-30.41,4,4,0,0,1,6.4,4.81A35.67,35.67,0,0,0,28,168a36,36,0,0,0,72,0,4,4,0,0,1,4-4h76.7a12,12,0,1,1,0,8ZM64,180a12,12,0,0,0,9.33-19.54l37.11-60.3a4,4,0,0,0-1.31-5.51A36,36,0,1,1,161,49.58a4,4,0,1,0,7.33-3.19,44,44,0,1,0-66.71,52.83l-35.1,57.05A11.58,11.58,0,0,0,64,156a12,12,0,0,0,0,24Zm128-56a44,44,0,0,0-19.56,4.58l-35.11-57A12,12,0,1,0,128,76a12.24,12.24,0,0,0,2.52-.27L167.63,136a4,4,0,0,0,5.5,1.31A36,36,0,1,1,192,204a4,4,0,0,0,0,8,44,44,0,0,0,0-88Z"},null,-1)]])):ai("",!0)],16))}})}),BS=V(()=>{LS(),xw=Ow}),jS=V(()=>{Uw(),Rc(),ww={key:0},kw={key:1},Sw={key:2},Aw={key:3},_w={key:4},Tw={key:5},Ew=Pn({name:"ScalarIconX",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",ww,[...r[0]||=[Go("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",kw,[...r[1]||=[Go("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"},null,-1),Go("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",Sw,[...r[2]||=[Go("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Aw,[...r[3]||=[Go("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",_w,[...r[4]||=[Go("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Tw,[...r[5]||=[Go("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"},null,-1)]])):ai("",!0)],16))}})}),US=V(()=>{jS(),Cw=Ew}),zS=V(()=>{Uw(),Rc(),Pw={key:0},Mw={key:1},$w={key:2},Nw={key:3},Iw={key:4},Rw={key:5},Dw=Pn({name:"ScalarIconXCircle",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Tm(e);return(e,r)=>(Zo(),qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},Fa(t)),[Jn(e.$slots,"default"),"bold"===Fa(a)?(Zo(),qo("g",Pw,[...r[0]||=[Go("path",{d:"M168.49,104.49,145,128l23.52,23.51a12,12,0,0,1-17,17L128,145l-23.51,23.52a12,12,0,0,1-17-17L111,128,87.51,104.49a12,12,0,0,1,17-17L128,111l23.51-23.52a12,12,0,0,1,17,17ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"},null,-1)]])):"duotone"===Fa(a)?(Zo(),qo("g",Mw,[...r[1]||=[Go("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),Go("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1)]])):"fill"===Fa(a)?(Zo(),qo("g",$w,[...r[2]||=[Go("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,130.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},null,-1)]])):"light"===Fa(a)?(Zo(),qo("g",Nw,[...r[3]||=[Go("path",{d:"M164.24,100.24,136.48,128l27.76,27.76a6,6,0,1,1-8.48,8.48L128,136.48l-27.76,27.76a6,6,0,0,1-8.48-8.48L119.52,128,91.76,100.24a6,6,0,0,1,8.48-8.48L128,119.52l27.76-27.76a6,6,0,0,1,8.48,8.48ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"},null,-1)]])):"regular"===Fa(a)?(Zo(),qo("g",Iw,[...r[4]||=[Go("path",{d:"M165.66,101.66,139.31,128l26.35,26.34a8,8,0,0,1-11.32,11.32L128,139.31l-26.34,26.35a8,8,0,0,1-11.32-11.32L116.69,128,90.34,101.66a8,8,0,0,1,11.32-11.32L128,116.69l26.34-26.35a8,8,0,0,1,11.32,11.32ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"},null,-1)]])):"thin"===Fa(a)?(Zo(),qo("g",Rw,[...r[5]||=[Go("path",{d:"M162.83,98.83,133.66,128l29.17,29.17a4,4,0,0,1-5.66,5.66L128,133.66,98.83,162.83a4,4,0,0,1-5.66-5.66L122.34,128,93.17,98.83a4,4,0,0,1,5.66-5.66L128,122.34l29.17-29.17a4,4,0,1,1,5.66,5.66ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"},null,-1)]])):ai("",!0)],16))}})}),HS=V(()=>{zS(),Lw=Dw}),ZS=V(()=>{Hw(),Vw(),qw(),Ww(),Gw(),Kw(),ek(),ak(),nk(),ik(),lk(),uk(),pk(),mk(),gk(),bk(),Ok(),wk(),Sk(),_k(),Ek(),Pk(),$k(),Ik(),Dk(),Bk(),Uk(),Hk(),Vk(),qk(),Wk(),Gk(),Kk(),eS(),aS(),nS(),iS(),lS(),uS(),pS(),mS(),gS(),bS(),OS(),wS(),SS(),_S(),ES(),PS(),$S(),IS(),DS(),BS(),US(),HS()}),VS=V(()=>{Bw={PROTOCOL:/^(?:https?|ftp|file|mailto|tel|data|wss?)*:\/\//,MULTIPLE_SLASHES:/(?<!:)\/{2,}/g,VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g,REF_NAME:/\/([^\/]+)$/,TEMPLATE_VARIABLE:/{{\s*([^}\s]+?)\s*}}|{\s*([^}\s]+?)\s*}|:\b[\w.]+\b/g}}),QS=V(()=>{VS(),jw=e=>!(Bw.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e))});var qS,FS,WS,XS,GS,YS,KS,JS,eA,tA,aA,rA,nA,oA,iA,sA,lA,cA=V(()=>{VS()}),uA=V(()=>{VS(),QS(),cA(),qS=(...e)=>{let t={};e.forEach(e=>{let a=Array.from(e.keys());new Set(a).forEach(a=>{let r=e.getAll(a);t[a]=r.length>1?r:r[0]??""})});let a=new URLSearchParams;return Object.entries(t).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>a.append(e,t)):a.append(e,t)}),a},FS=(e,t)=>t&&e!==t?e?`${e.trim()}/${t.trim()}`.replace(Bw.MULTIPLE_SLASHES,"/"):t.trim():e.trim(),WS=(e,t,a=new URLSearchParams,r=!1)=>{if(e&&(!jw(e)||typeof window<"u")){let[n="",o]=(r?e:jw(e)?FS(window.location.origin,e):function(e){return Bw.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,"")}`}(e)).split("?"),i=new URLSearchParams(o||""),[s="",l]=t.split("?"),c=new URLSearchParams(l||""),u=e===t?n:FS(n,s),d=qS(i,c,a).toString();return d?`${u}?${d}`:u}return t?FS(e,t):""}}),dA=V(()=>{uA(),XS=(e,{baseUrl:t,basePath:a}={})=>{if(typeof window>"u"&&!t)return e;try{return new URL(e),e}catch{}try{let r=t||window.location.href;return a&&(r=FS(t?new URL(t).origin:window.location.origin,a+"/")),new URL(e,r).toString()}catch{return e}}}),pA=V(()=>{Rc(),ZS(),dA(),GS=["href"],YS=Pn({__name:"OpenApiClientButton",props:{buttonSource:{},source:{default:"api-reference"},isDevelopment:{type:Boolean},integration:{},url:{},operationPath:{},operationMethod:{}},setup(e){let t=ol(()=>{let t=e.url??(typeof window<"u"?window.location.href:void 0);if(!t)return;let a=XS(t);if(!a?.length)return;let r=new URL(e.isDevelopment?"http://localhost:5065":"https://client.scalar.com");if(r.searchParams.set("url",a),e.operationPath?.length&&e.operationMethod?.length&&(r.searchParams.set("operation_path",e.operationPath),r.searchParams.set("operation_method",e.operationMethod.toLowerCase())),null!==e.integration&&r.searchParams.set("integration",e.integration??"vue"),r.searchParams.set("utm_source","api-reference"),r.searchParams.set("utm_medium","button"),r.searchParams.set("utm_campaign",e.buttonSource),"gitbook"===e.source){r.searchParams.set("utm_source","gitbook");let e=document.querySelector("img.dark\\:block[alt='Logo']"),t=document.querySelector("img.dark\\:hidden[alt='Logo']");e&&e instanceof HTMLImageElement&&r.searchParams.set("dark_logo",encodeURIComponent(e.src)),t&&t instanceof HTMLImageElement&&r.searchParams.set("light_logo",encodeURIComponent(t.src))}return r.toString()});return(e,a)=>t.value?(Zo(),qo("a",{key:0,class:"open-api-client-button",href:t.value,target:"_blank"},[qs(Fa(Km),{class:"size-3",weight:"regular"}),a[0]||=ei(" Open API Client ",-1)],8,GS)):ai("",!0)}})}),hA=V(()=>{_m(),pA(),KS=km(YS,[["__scopeId","data-v-cd067f84"]])}),mA=V(()=>{JS=e=>"getSetCookie"in e&&"function"==typeof e.getSetCookie?e.getSetCookie():[]}),fA=V(()=>{eA=(e,t)=>{for(let a of t)if(a.responseBody)for(let t of a.responseBody)if(tA(e,t.mimeTypes))return t},tA=(e,t)=>{let a=e.toLowerCase();for(let e of t){let t=e.toLowerCase();if(t===a)return!0;if(t.includes("*")){let e=t.replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*");if(RegExp(`^${e}$`).test(a))return!0}}return!1}}),gA=V(()=>{aA=/^[!#$%&'*+\-.^_`|~A-Za-z0-9]+$/,rA=e=>`"${e.replaceAll(/(["\\])/g,"\\$1")}"`,nA=e=>{let t=e.indexOf("=");if(-1===t)return null;let a=e.slice(0,t).trim().toLowerCase();if(!a||!aA.test(a))return null;let r=e.slice(t+1).trim();return r?r.startsWith('"')&&r.endsWith('"')&&r.length>=2?[a,r.slice(1,-1).replaceAll(/\\(["\\])/g,"$1")]:[a,r]:null},oA=e=>{let[t="",a=""]=e.split("/",2),r=t.trim().toLowerCase(),n=a.trim().toLowerCase();if(!(r&&n&&aA.test(r)&&aA.test(n)))throw Error(`Invalid MIME type: "${e}"`);return{essence:`${r}/${n}`,type:r,subtype:n}},iA=(e="text/plain")=>{let t,[a="",...r]=e.split(";");try{t=oA(a)}catch{t=oA("text/plain")}let{essence:n,type:o,subtype:i}=t,s=new Map;return r.forEach(e=>{let t=nA(e);if(!t)return;let[a,r]=t;s.set(a,r)}),{essence:n,type:o,subtype:i,parameters:s,toString:()=>{let e=Array.from(s.entries()).map(([e,t])=>`${e}=${aA.test(t)?t:rA(t)}`);return e.length?`${n}; ${e.join("; ")}`:n}}}}),vA=V(()=>{gA(),sA=e=>e??"text/plain;charset=UTF-8",lA=e=>iA(sA(e))});function bA(e){let t=yA[e];return t||(e.endsWith("+json")?{extension:".json",raw:!0,language:"json",preview:"json"}:void 0)}var yA,OA,xA,wA,kA,SA,AA,_A,TA,EA,CA,PA,MA,$A,NA,IA,RA,DA,LA,BA,jA,UA,zA,HA,ZA=V(()=>{yA={"application/epub+zip":{extension:".epub"},"application/gzip":{extension:".gz"},"application/java-archive":{extension:".jar"},"application/javascript":{extension:".js",raw:!0},"application/json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/ld+json":{extension:".jsonld",raw:!0,language:"json",preview:"json"},"application/problem+json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/vnd.api+json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/dns-json":{extension:".json",raw:!0,language:"json",preview:"json"},"application/msword":{extension:".doc"},"application/octet-stream":{extension:".bin"},"application/ogg":{extension:".ogx"},"application/pdf":{extension:".pdf",preview:"object"},"application/rtf":{extension:".rtf",raw:!0},"application/vnd.amazon.ebook":{extension:".azw"},"application/vnd.apple.installer+xml":{extension:".mpkg",raw:!0,language:"xml"},"application/vnd.mozilla.xul+xml":{extension:".xul",raw:!0,language:"xml"},"application/vnd.ms-excel":{extension:".xls"},"application/vnd.ms-fontobject":{extension:".eot"},"application/vnd.ms-powerpoint":{extension:".ppt"},"application/vnd.oasis.opendocument.presentation":{extension:".odp"},"application/vnd.oasis.opendocument.spreadsheet":{extension:".ods"},"application/vnd.oasis.opendocument.text":{extension:".odt"},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extension:".pptx"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extension:".xlsx"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extension:".docx"},"application/vnd.rar":{extension:".rar"},"application/vnd.visio":{extension:".vsd"},"application/x-7z-compressed":{extension:".7z"},"application/x-abiword":{extension:".abw"},"application/x-bzip":{extension:".bz"},"application/x-bzip2":{extension:".bz2"},"application/x-cdf":{extension:".cda"},"application/x-csh":{extension:".csh"},"application/x-freearc":{extension:".arc"},"application/x-httpd-php":{extension:".php",raw:!0},"application/x-sh":{extension:".sh",raw:!0},"application/x-tar":{extension:".tar"},"application/xhtml+xml":{extension:".xhtml",raw:!0,language:"html"},"application/xml":{extension:".xml",raw:!0,language:"xml"},"application/yaml":{extension:".yaml",raw:!0,language:"yaml"},"application/zip":{extension:".zip"},"audio/aac":{extension:".aac"},"audio/midi":{extension:".midi"},"audio/mpeg":{extension:".mp3",preview:"audio"},"audio/ogg":{extension:".oga"},"audio/wav":{extension:".wav"},"audio/webm":{extension:".weba"},"font/otf":{extension:".otf"},"font/ttf":{extension:".ttf"},"font/woff":{extension:".woff"},"font/woff2":{extension:".woff2"},"image/apng":{extension:".apng",preview:"image",alpha:!0},"image/avif":{extension:".avif",preview:"image"},"image/bmp":{extension:".bmp",preview:"image"},"image/gif":{extension:".gif",preview:"image",alpha:!0},"image/jpeg":{extension:".jpg",preview:"image"},"image/png":{extension:".png",preview:"image",alpha:!0},"image/svg+xml":{extension:".svg",raw:!0,language:"xml",preview:"image",alpha:!0},"image/tiff":{extension:".tiff"},"image/vnd.microsoft.icon":{extension:".ico",preview:"image"},"image/webp":{extension:".webp",preview:"image",alpha:!0},"text/calendar":{extension:".ics",raw:!0},"text/css":{extension:".css",raw:!0,language:"css"},"text/csv":{extension:".csv",raw:!0},"text/html":{extension:".html",raw:!0,language:"html",preview:"object"},"text/javascript":{extension:".js",raw:!0},"text/json":{extension:".json",raw:!0,language:"json",preview:"json"},"text/plain":{extension:".txt",raw:!0},"text/xml":{extension:".xml",raw:!0,language:"xml"},"text/yaml":{extension:".yaml",raw:!0,language:"yaml"},"video/3gpp":{extension:".3gp"},"audio/3gpp":{extension:".3gp"},"video/3gpp2":{extension:".3g2"},"audio/3gpp2":{extension:".3g2"},"video/mp2t":{extension:".ts"},"video/mp4":{extension:".mp4",preview:"video"},"video/mpeg":{extension:".mpeg"},"video/ogg":{extension:".ogv"},"video/webm":{extension:".webm",preview:"video"},"video/x-msvideo":{extension:".avi"}},OA=Object.entries(yA).filter(([,e])=>e?.raw).map(([e])=>e)}),VA=V(()=>{ZA(),gA(),xA=async(e,t,a)=>{let r=iA(t);return a?.decode?await a.decode(e,t):function(e){return!!bA(e)?.raw}(r.essence)?new TextDecoder(r.parameters.get("charset")).decode(e):new Blob([e],{type:r.essence})}}),QA=V(()=>{wA={BUILDING_REQUEST_FAILED:"An error occurred while building the request",DEFAULT:"An unknown error has occurred.",INVALID_URL:"The URL seems to be invalid. Try adding a valid URL.",INVALID_URL_PROTOCOL:"The URL must start with http:// or https://.",INVALID_HEADER:"There is an invalid header present, please double check your params.",MISSING_FILE:"File uploads are not saved in history, you must re-upload the file.",REQUEST_ABORTED:"The request has been cancelled",REQUEST_FAILED:"An error occurred while making the request",URL_EMPTY:"The address bar input seems to be empty. Try adding a URL.",ON_BEFORE_REQUEST_FAILED:"onBeforeRequest request hook failed"},kA=e=>"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'."===e?wA.MISSING_FILE:"Failed to construct 'URL': Invalid URL"===e?wA.INVALID_URL:e.includes("Invalid URL protocol")?wA.INVALID_URL_PROTOCOL:"Failed to execute 'fetch' on 'Window': Invalid name"===e?wA.INVALID_HEADER:e,SA=(e,t=wA.DEFAULT)=>(console.error(e),e instanceof Error?(e.message=kA(e.message),e):"string"==typeof e?Error(kA(e)):Error(t))}),qA=V(()=>{AA=()=>typeof window<"u"&&"electron"in window}),FA=V(()=>{qA(),_A=new Set(["post","put","patch","delete"]),TA=(e,t=!1)=>{let a=e.toLowerCase();return!(!AA()||t)||_A.has(a)},EA=(e,t)=>new Request(e,{...t,body:TA(t.method??"GET",!0)?t.body:null})}),WA=V(()=>{CA={100:{name:"Continue",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/100",color:"var(--scalar-color-blue)"},101:{name:"Switching Protocols",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/101",color:"var(--scalar-color-blue)"},102:{name:"Processing",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/102",color:"var(--scalar-color-blue)"},103:{name:"Early Hints",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103",color:"var(--scalar-color-blue)"},200:{name:"OK",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200",color:"var(--scalar-color-green)"},201:{name:"Created",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201",color:"var(--scalar-color-green)"},202:{name:"Accepted",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202",color:"var(--scalar-color-green)"},203:{name:"Non-Authoritative Information",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/203",color:"var(--scalar-color-green)"},204:{name:"No Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204",color:"var(--scalar-color-green)"},205:{name:"Reset Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/205",color:"var(--scalar-color-green)"},206:{name:"Partial Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206",color:"var(--scalar-color-green)"},207:{name:"Multi-Status",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/207",color:"var(--scalar-color-green)"},208:{name:"Already Reported",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/208",color:"var(--scalar-color-green)"},226:{name:"IM Used",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/226",color:"var(--scalar-color-green)"},300:{name:"Multiple Choices",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/300",color:"var(--scalar-color-yellow)"},301:{name:"Moved Permanently",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/301",color:"var(--scalar-color-yellow)"},302:{name:"Found",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302",color:"var(--scalar-color-yellow)"},303:{name:"See Other",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303",color:"var(--scalar-color-yellow)"},304:{name:"Not Modified",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/304",color:"var(--scalar-color-yellow)"},305:{name:"Use Proxy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/305",color:"var(--scalar-color-yellow)"},306:{name:"(Unused)",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/306",color:"var(--scalar-color-yellow)"},307:{name:"Temporary Redirect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307",color:"var(--scalar-color-yellow)"},308:{name:"Permanent Redirect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308",color:"var(--scalar-color-yellow)"},400:{name:"Bad Request",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400",color:"var(--scalar-color-red)"},401:{name:"Unauthorized",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401",color:"var(--scalar-color-red)"},402:{name:"Payment Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402",color:"var(--scalar-color-red)"},403:{name:"Forbidden",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403",color:"var(--scalar-color-red)"},404:{name:"Not Found",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404",color:"var(--scalar-color-red)"},405:{name:"Method Not Allowed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405",color:"var(--scalar-color-red)"},406:{name:"Not Acceptable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406",color:"var(--scalar-color-red)"},407:{name:"Proxy Authentication Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407",color:"var(--scalar-color-red)"},408:{name:"Request Timeout",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408",color:"var(--scalar-color-red)"},409:{name:"Conflict",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409",color:"var(--scalar-color-red)"},410:{name:"Gone",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410",color:"var(--scalar-color-red)"},411:{name:"Length Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/411",color:"var(--scalar-color-red)"},412:{name:"Precondition Failed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/412",color:"var(--scalar-color-red)"},413:{name:"Content Too Large",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413",color:"var(--scalar-color-red)"},414:{name:"URI Too Long",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/414",color:"var(--scalar-color-red)"},415:{name:"Unsupported Media Type",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415",color:"var(--scalar-color-red)"},416:{name:"Range Not Satisfiable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/416",color:"var(--scalar-color-red)"},417:{name:"Expectation Failed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/417",color:"var(--scalar-color-red)"},418:{name:"I'm a teapot",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418",color:"var(--scalar-color-red)"},421:{name:"Misdirected Request",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/421",color:"var(--scalar-color-red)"},422:{name:"Unprocessable Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422",color:"var(--scalar-color-red)"},423:{name:"Locked",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/423",color:"var(--scalar-color-red)"},424:{name:"Failed Dependency",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/424",color:"var(--scalar-color-red)"},425:{name:"Too Early",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425",color:"var(--scalar-color-red)"},426:{name:"Upgrade Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/426",color:"var(--scalar-color-red)"},428:{name:"Precondition Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/428",color:"var(--scalar-color-red)"},429:{name:"Too Many Requests",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429",color:"var(--scalar-color-red)"},431:{name:"Request Header Fields Too Large",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/431",color:"var(--scalar-color-red)"},451:{name:"Unavailable For Legal Reasons",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/451",color:"var(--scalar-color-red)"},500:{name:"Internal Server Error",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500",color:"var(--scalar-color-red)"},501:{name:"Not Implemented",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/501",color:"var(--scalar-color-red)"},502:{name:"Bad Gateway",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502",color:"var(--scalar-color-red)"},503:{name:"Service Unavailable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503",color:"var(--scalar-color-red)"},504:{name:"Gateway Timeout",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504",color:"var(--scalar-color-red)"},505:{name:"HTTP Version Not Supported",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/505",color:"var(--scalar-color-red)"},506:{name:"Variant Also Negotiates",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/506",color:"var(--scalar-color-red)"},507:{name:"Insufficient Storage",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/507",color:"var(--scalar-color-red)"},508:{name:"Loop Detected",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/508",color:"var(--scalar-color-red)"},510:{name:"Not Extended",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/510",color:"var(--scalar-color-red)"},511:{name:"Network Authentication Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511",color:"var(--scalar-color-red)"}}}),XA=V(()=>{PA="x-scalar-cookie",MA="x-scalar-set-cookie",$A="x-scalar-user-agent",NA="x-scalar-date",IA="x-scalar-dnt",RA="x-scalar-referer"}),GA=V(()=>{XA(),DA=(e,t=!1)=>{let a=Object.fromEntries(e);t&&["Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers"].map(e=>e.toLowerCase()).forEach(e=>delete a[e]),delete a[MA];let r=Object.keys(a).find(e=>"x-scalar-modified-headers"===e.toLowerCase()),n=r?a[r]?.toString().split(", ")?.map(e=>e.toLowerCase())??[]:[];return Object.keys(a).forEach(e=>{n.includes(e.toLowerCase())&&delete a[e]}),r&&delete a[r],Object.keys(a).forEach(e=>{let t=/^x-scalar-original-/i;if(t.test(e)){let r=e.replace(t,"");a[e]&&(a[r]=a[e],delete a[e])}}),Object.keys(a).forEach(e=>{let t=LA(e);e!==t&&a[e]&&(a[t]=a[e],delete a[e])}),Object.fromEntries(Object.entries(a).sort(([e],[t])=>e.localeCompare(t)))},LA=e=>e.split("-").map(e=>e.charAt(0).toUpperCase()+e.toLowerCase().slice(1)).join("-")}),YA=V(()=>{BA=/^[!-:<>-~]+$/,jA=/^[!-:<-~]*$/,UA=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,zA=/^[ -:=-~]*$/,HA=(e,t,a={})=>{if(!BA.test(e))throw TypeError(`argument name is invalid: ${e}`);if(!jA.test(t))throw TypeError(`argument val is invalid: ${t}`);let r=`${e}=${t}`;if(void 0!==a.maxAge){if(!Number.isInteger(a.maxAge))throw TypeError(`option maxAge is invalid: ${a.maxAge}`);r+=`; Max-Age=${a.maxAge}`}if(a.domain){if(!UA.test(a.domain))throw TypeError(`option domain is invalid: ${a.domain}`);r+=`; Domain=${a.domain}`}if(a.path){if(!zA.test(a.path))throw TypeError(`option path is invalid: ${a.path}`);r+=`; Path=${a.path}`}if(a.expires){if(!(a.expires instanceof Date&&Number.isFinite(a.expires.valueOf())))throw TypeError(`option expires is invalid: ${a.expires}`);r+=`; Expires=${a.expires.toUTCString()}`}if(a.httpOnly&&(r+="; HttpOnly"),a.secure&&(r+="; Secure"),a.partitioned&&(r+="; Partitioned"),a.priority)switch("string"==typeof a.priority?a.priority.toLowerCase():void 0){case"low":r+="; Priority=Low";break;case"medium":r+="; Priority=Medium";break;case"high":r+="; Priority=High";break;default:throw TypeError(`option priority is invalid: ${a.priority}`)}if(a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":r+="; SameSite=Strict";break;case"lax":r+="; SameSite=Lax";break;case"none":r+="; SameSite=None";break;default:throw TypeError(`option sameSite is invalid: ${a.sameSite}`)}return r}});function KA(e){return"string"!=typeof e||e in{}}function JA(){return Object.create(null)}function e_(e){return"string"==typeof e&&!!e.trim()}function t_(e,t){var a=e.split(";").filter(e_),r=function(e){var t="",a="",r=e.split("=");return r.length>1?(t=r.shift(),a=r.join("=")):a=e,{name:t,value:a}}(a.shift()),n=r.name,o=r.value;if(t=t?Object.assign({},n_,t):n_,KA(n))return null;try{o=t.decodeValues?decodeURIComponent(o):o}catch(e){console.error("set-cookie-parser: failed to decode cookie value. Set options.decodeValues=false to disable decoding.",e)}var i=JA();return i.name=n,i.value=o,a.forEach(function(e){var t=e.split("="),a=t.shift().trimLeft().toLowerCase();if(!KA(a)){var r=t.join("=");if("expires"===a)i.expires=new Date(r);else if("max-age"===a){var n=parseInt(r,10);Number.isNaN(n)||(i.maxAge=n)}else"secure"===a?i.secure=!0:"httponly"===a?i.httpOnly=!0:"samesite"===a?i.sameSite=r:"partitioned"===a?i.partitioned=!0:a&&(i[a]=r)}}),i}function a_(e,t){if(t=t?Object.assign({},n_,t):n_,!e)return t.map?JA():[];if(e.headers)if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var a=e.headers[Object.keys(e.headers).find(function(e){return"set-cookie"===e.toLowerCase()})];!a&&e.headers.cookie&&!t.silent&&console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=a}var r=t.split,n=Array.isArray(e);if("auto"===r&&(r=!n),n||(e=[e]),e=e.filter(e_),r&&(e=e.map(r_).flat()),t.map){var o=JA();return e.reduce(function(e,a){var r=t_(a,t);return r&&!KA(r.name)&&(e[r.name]=r),e},o)}return e.map(function(e){return t_(e,t)}).filter(Boolean)}function r_(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var t,a,r,n,o,i=[],s=0;function l(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}function c(){return"="!==(a=e.charAt(s))&&";"!==a&&","!==a}for(;s<e.length;){for(t=s,o=!1;l();)if(","===(a=e.charAt(s))){for(r=s,s+=1,l(),n=s;s<e.length&&c();)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=n,i.push(e.substring(t,r)),t=s):s=r+1}else s+=1;(!o||s>=e.length)&&i.push(e.substring(t,e.length))}return i}var n_,o_,i_,s_,l_,c_,u_=V(()=>{n_={decodeValues:!0,map:!1,silent:!1,split:"auto"},a_.parseSetCookie=a_,a_.parse=a_,a_.parseString=t_,a_.splitCookiesString=r_}),d_=V(()=>{mA(),fA(),vA(),VA(),QA(),qA(),FA(),WA(),GA(),XA(),YA(),u_(),o_=[204,205,304],i_=async({isUsingProxy:e,requestPayload:t,plugins:a=[],customFetch:r=fetch})=>{try{let n=performance.now(),o=AA()?await r(...t):await r(EA(...t)),i=performance.now(),s=Date.now(),l=i-n,c=o.headers.get("content-type"),u=DA(o.headers,e),d=new URL(o.url),p=d.pathname+d.search,h=o.statusText||CA[o.status]?.name||"",m=t[1].method??"GET",f=o_.includes(o.status);return c?.startsWith("text/event-stream")&&o.body?l_({response:o,requestPayload:t,timestamp:s,duration:l,responseHeaders:u,statusText:h,method:m,fullPath:p}):c_({response:o,requestPayload:t,timestamp:s,duration:l,responseHeaders:u,statusText:h,method:m,fullPath:p,contentType:c,shouldSkipBody:f,plugins:a})}catch(e){return[SA(e,wA.REQUEST_FAILED),null]}},s_=e=>{let t=a_(e.headers.get("x-scalar-set-cookie")??"").map(e=>HA(e.name,e.value,{...e,sameSite:e.sameSite}));return t.length?t:null},l_=({response:e,requestPayload:t,timestamp:a,duration:r,responseHeaders:n,statusText:o,method:i,fullPath:s})=>{let l=new Response(null,{status:e.status,statusText:o,headers:e.headers}),c=s_(l)??JS(l.headers);return[null,{timestamp:a,requestPayload:t,response:{...l,headers:n,cookieHeaderKeys:c,reader:e.body.getReader(),duration:r,method:i,path:s},originalResponse:l.clone()}]},c_=async({response:e,requestPayload:t,timestamp:a,duration:r,responseHeaders:n,statusText:o,method:i,fullPath:s,contentType:l,shouldSkipBody:c,plugins:u})=>{let d=await e.clone().arrayBuffer(),p=sA(l),h=lA(l).essence,m=await xA(d,p,eA(h,u)),f=new Response(c?null:d,{status:e.status,statusText:o,headers:e.headers}),g=s_(f)??JS(f.headers);return[null,{timestamp:a,requestPayload:t,response:{...f,headers:n,cookieHeaderKeys:g,data:m,size:d.byteLength,duration:r,method:i,status:e.status,path:s},originalResponse:e.clone()}]}});function p_(e){var t,a,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(a=p_(e[t]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function h_(){for(var e,t,a=0,r="",n=arguments.length;a<n;a++)(e=arguments[a])&&(t=p_(e))&&(r&&(r+=" "),r+=t);return r}var m_,f_,g_,v_,b_,y_,O_,x_,w_,k_,S_,A_,__,T_,E_,C_,P_,M_,$_,N_,I_,R_,D_,L_,B_,j_,U_,z_,H_,Z_,V_,Q_,q_,F_,W_,X_,G_,Y_,K_,J_,eT,tT,aT,rT,nT,oT,iT,sT,lT,cT,uT,dT,pT,hT,mT,fT,gT,vT,bT,yT,OT,xT,wT,kT,ST,AT,_T,TT,ET,CT,PT,MT,$T,NT,IT,RT,DT,LT,BT,jT,UT,zT,HT,ZT,VT,QT,qT,FT,WT,XT,GT,YT,KT=V(()=>{}),JT=V(()=>{KT(),m_=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,f_=e=>{let t=function(){for(var t=arguments.length,a=Array(t),r=0;r<t;r++)a[r]=arguments[r];return void 0===e?.hooks?.["cx:done"]?void 0===e?.hooks?.onComplete?h_(a):e?.hooks.onComplete(h_(a)):e?.hooks["cx:done"](h_(a))};return{compose:function(){for(var e=arguments.length,a=Array(e),r=0;r<e;r++)a[r]=arguments[r];return e=>{let r=Object.fromEntries(Object.entries(e||{}).filter(e=>{let[t]=e;return!["class","className"].includes(t)}));return t(a.map(e=>e(r)),e?.class,e?.className)}},cva:e=>a=>{if(null==e?.variants)return t(e?.base,a?.class,a?.className);let{variants:r,defaultVariants:n}=e,o=Object.keys(r).map(e=>{let t=a?.[e],o=n?.[e],i=m_(t)||m_(o);return r[e][i]}),i={...n,...a&&Object.entries(a).reduce((e,t)=>{let[a,r]=t;return void 0===r?e:{...e,[a]:r}},{})},s=e?.compoundVariants?.reduce((e,t)=>{let{class:a,className:r,...n}=t;return Object.entries(n).every(e=>{let[t,a]=e,r=i[t];return Array.isArray(a)?a.includes(r):r===a})?[...e,a,r]:e},[]);return t(e?.base,o,s,a?.class,a?.className)},cx:t}},({compose:g_,cva:v_,cx:b_}=f_())}),eE=V(()=>{y_=(e,t)=>{let a=Array(e.length+t.length);for(let t=0;t<e.length;t++)a[t]=e[t];for(let r=0;r<t.length;r++)a[e.length+r]=t[r];return a},O_=(e,t)=>({classGroupId:e,validator:t}),x_=(e=new Map,t=null,a)=>({nextPart:e,validators:t,classGroupId:a}),w_="-",k_=[],S_=e=>{let t=T_(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return __(e);let a=e.split(w_);return A_(a,""===a[0]&&a.length>1?1:0,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],n=a[e];return t?n?y_(n,t):t:n||k_}return a[e]||k_}}},A_=(e,t,a)=>{if(e.length-t===0)return a.classGroupId;let r=e[t],n=a.nextPart.get(r);if(n){let a=A_(e,t+1,n);if(a)return a}let o=a.validators;if(null===o)return;let i=0===t?e.join(w_):e.slice(t).join(w_),s=o.length;for(let e=0;e<s;e++){let t=o[e];if(t.validator(i))return t.classGroupId}},__=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{let t=e.slice(1,-1),a=t.indexOf(":"),r=t.slice(0,a);return r?"arbitrary.."+r:void 0})(),T_=e=>{let{theme:t,classGroups:a}=e;return E_(a,t)},E_=(e,t)=>{let a=x_();for(let r in e){let n=e[r];C_(n,a,r,t)}return a},C_=(e,t,a,r)=>{let n=e.length;for(let o=0;o<n;o++){let n=e[o];P_(n,t,a,r)}},P_=(e,t,a,r)=>{"string"!=typeof e?"function"!=typeof e?N_(e,t,a,r):$_(e,t,a,r):M_(e,t,a)},M_=(e,t,a)=>{(""===e?t:I_(t,e)).classGroupId=a},$_=(e,t,a,r)=>{R_(e)?C_(e(r),t,a,r):(null===t.validators&&(t.validators=[]),t.validators.push(O_(a,e)))},N_=(e,t,a,r)=>{let n=Object.entries(e),o=n.length;for(let e=0;e<o;e++){let[o,i]=n[e];C_(i,I_(t,o),a,r)}},I_=(e,t)=>{let a=e,r=t.split(w_),n=r.length;for(let e=0;e<n;e++){let t=r[e],n=a.nextPart.get(t);n||(n=x_(),a.nextPart.set(t,n)),a=n}return a},R_=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,D_=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,a=Object.create(null),r=Object.create(null),n=(n,o)=>{a[n]=o,t++,t>e&&(t=0,r=a,a=Object.create(null))};return{get(e){let t=a[e];return void 0!==t?t:void 0!==(t=r[e])?(n(e,t),t):void 0},set(e,t){e in a?a[e]=t:n(e,t)}}},L_=[],B_=(e,t,a,r,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:a,maybePostfixModifierPosition:r,isExternal:n}),j_=e=>{let{prefix:t,experimentalParseClassName:a}=e,r=e=>{let t,a=[],r=0,n=0,o=0,i=e.length;for(let s=0;s<i;s++){let i=e[s];if(0===r&&0===n){if(":"===i){a.push(e.slice(o,s)),o=s+1;continue}if("/"===i){t=s;continue}}"["===i?r++:"]"===i?r--:"("===i?n++:")"===i&&n--}let s=0===a.length?e:e.slice(o),l=s,c=!1;return s.endsWith("!")?(l=s.slice(0,-1),c=!0):s.startsWith("!")&&(l=s.slice(1),c=!0),B_(a,c,l,t&&t>o?t-o:void 0)};if(t){let e=t+":",a=r;r=t=>t.startsWith(e)?a(t.slice(e.length)):B_(L_,!1,t,void 0,!0)}if(a){let e=r;r=t=>a({className:t,parseClassName:e})}return r},U_=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,a)=>{t.set(e,1e6+a)}),e=>{let a=[],r=[];for(let n=0;n<e.length;n++){let o=e[n],i="["===o[0],s=t.has(o);i||s?(r.length>0&&(r.sort(),a.push(...r),r=[]),a.push(o)):r.push(o)}return r.length>0&&(r.sort(),a.push(...r)),a}},z_=e=>({cache:D_(e.cacheSize),parseClassName:j_(e),sortModifiers:U_(e),...S_(e)}),H_=/\s+/,Z_=(e,t)=>{let{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:o}=t,i=[],s=e.trim().split(H_),l="";for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}=a(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,f=r(m?p.substring(0,h):p);if(!f){if(!m){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}m=!1}let g=0===u.length?"":1===u.length?u[0]:o(u).join(":"),v=d?g+"!":g,b=v+f;if(i.indexOf(b)>-1)continue;i.push(b);let y=n(f,m);for(let e=0;e<y.length;++e){let t=y[e];i.push(v+t)}l=t+(l.length>0?" "+l:l)}return l},V_=(...e)=>{let t,a,r=0,n="";for(;r<e.length;)(t=e[r++])&&(a=Q_(t))&&(n&&(n+=" "),n+=a);return n},Q_=e=>{if("string"==typeof e)return e;let t,a="";for(let r=0;r<e.length;r++)e[r]&&(t=Q_(e[r]))&&(a&&(a+=" "),a+=t);return a},q_=(e,...t)=>{let a,r,n,o,i=e=>{let t=r(e);if(t)return t;let o=Z_(e,a);return n(e,o),o};return o=s=>(a=z_(t.reduce((e,t)=>t(e),e())),r=a.cache.get,n=a.cache.set,o=i,i(s)),(...e)=>o(V_(...e))},F_=[],W_=e=>{let t=t=>t[e]||F_;return t.isThemeGetter=!0,t},X_=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,G_=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Y_=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,K_=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,J_=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,eT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,tT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,aT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rT=e=>Y_.test(e),nT=e=>!!e&&!Number.isNaN(Number(e)),oT=e=>!!e&&Number.isInteger(Number(e)),iT=e=>e.endsWith("%")&&nT(e.slice(0,-1)),sT=e=>K_.test(e),lT=()=>!0,cT=e=>J_.test(e)&&!eT.test(e),uT=()=>!1,dT=e=>tT.test(e),pT=e=>aT.test(e),hT=e=>!fT(e)&&!kT(e),mT=e=>MT(e,RT,uT),fT=e=>X_.test(e),gT=e=>MT(e,DT,cT),vT=e=>MT(e,LT,nT),bT=e=>MT(e,jT,lT),yT=e=>MT(e,BT,uT),OT=e=>MT(e,NT,uT),xT=e=>MT(e,IT,pT),wT=e=>MT(e,UT,dT),kT=e=>G_.test(e),ST=e=>$T(e,DT),AT=e=>$T(e,BT),_T=e=>$T(e,NT),TT=e=>$T(e,RT),ET=e=>$T(e,IT),CT=e=>$T(e,UT,!0),PT=e=>$T(e,jT,!0),MT=(e,t,a)=>{let r=X_.exec(e);return!!r&&(r[1]?t(r[1]):a(r[2]))},$T=(e,t,a=!1)=>{let r=G_.exec(e);return!!r&&(r[1]?t(r[1]):a)},NT=e=>"position"===e||"percentage"===e,IT=e=>"image"===e||"url"===e,RT=e=>"length"===e||"size"===e||"bg-size"===e,DT=e=>"length"===e,LT=e=>"number"===e,BT=e=>"family-name"===e,jT=e=>"number"===e||"weight"===e,UT=e=>"shadow"===e,zT=()=>{let e=W_("color"),t=W_("font"),a=W_("text"),r=W_("font-weight"),n=W_("tracking"),o=W_("leading"),i=W_("breakpoint"),s=W_("container"),l=W_("spacing"),c=W_("radius"),u=W_("shadow"),d=W_("inset-shadow"),p=W_("text-shadow"),h=W_("drop-shadow"),m=W_("blur"),f=W_("perspective"),g=W_("aspect"),v=W_("ease"),b=W_("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",kT,fT],O=()=>[kT,fT,l],x=()=>[rT,"full","auto",...O()],w=()=>[oT,"none","subgrid",kT,fT],k=()=>["auto",{span:["full",oT,kT,fT]},oT,kT,fT],S=()=>[oT,"auto",kT,fT],A=()=>["auto","min","max","fr",kT,fT],_=()=>["auto",...O()],T=()=>[rT,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],E=()=>[rT,"screen","full","dvw","lvw","svw","min","max","fit",...O()],C=()=>[rT,"screen","full","lh","dvh","lvh","svh","min","max","fit",...O()],P=()=>[e,kT,fT],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",_T,OT,{position:[kT,fT]}],$=()=>["auto","cover","contain",TT,mT,{size:[kT,fT]}],N=()=>[iT,ST,gT],I=()=>["","none","full",c,kT,fT],R=()=>["",nT,ST,gT],D=()=>[nT,iT,_T,OT],L=()=>["","none",m,kT,fT],B=()=>["none",nT,kT,fT],j=()=>["none",nT,kT,fT],U=()=>[nT,kT,fT],z=()=>[rT,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[sT],breakpoint:[sT],color:[lT],container:[sT],"drop-shadow":[sT],ease:["in","out","in-out"],font:[hT],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[sT],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[sT],shadow:[sT],spacing:["px",nT],text:[sT],"text-shadow":[sT],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",rT,fT,kT,g]}],container:["container"],columns:[{columns:[nT,fT,kT,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{"inset-s":x(),start:x()}],end:[{"inset-e":x(),end:x()}],"inset-bs":[{"inset-bs":x()}],"inset-be":[{"inset-be":x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[oT,"auto",kT,fT]}],basis:[{basis:[rT,"full","auto",s,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[nT,rT,"auto","initial","none",fT]}],grow:[{grow:["",nT,kT,fT]}],shrink:[{shrink:["",nT,kT,fT]}],order:[{order:[oT,"first","last","none",kT,fT]}],"grid-cols":[{"grid-cols":w()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":S()}],"col-end":[{"col-end":S()}],"grid-rows":[{"grid-rows":w()}],"row-start-end":[{row:k()}],"row-start":[{"row-start":S()}],"row-end":[{"row-end":S()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pbs:[{pbs:O()}],pbe:[{pbe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mbs:[{mbs:_()}],mbe:[{mbe:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:T()}],"inline-size":[{inline:["auto",...E()]}],"min-inline-size":[{"min-inline":["auto",...E()]}],"max-inline-size":[{"max-inline":["none",...E()]}],"block-size":[{block:["auto",...C()]}],"min-block-size":[{"min-block":["auto",...C()]}],"max-block-size":[{"max-block":["none",...C()]}],w:[{w:[s,"screen",...T()]}],"min-w":[{"min-w":[s,"screen","none",...T()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...T()]}],h:[{h:["screen","lh",...T()]}],"min-h":[{"min-h":["screen","lh","none",...T()]}],"max-h":[{"max-h":["screen","lh",...T()]}],"font-size":[{text:["base",a,ST,gT]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,PT,bT]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",iT,fT]}],"font-family":[{font:[AT,yT,t]}],"font-features":[{"font-features":[fT]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,kT,fT]}],"line-clamp":[{"line-clamp":[nT,"none",kT,vT]}],leading:[{leading:[o,...O()]}],"list-image":[{"list-image":["none",kT,fT]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",kT,fT]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[nT,"from-font","auto",kT,gT]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[nT,"auto",kT,fT]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",kT,fT]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",kT,fT]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:M()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},oT,kT,fT],radial:["",kT,fT],conic:[oT,kT,fT]},ET,xT]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:N()}],"gradient-via-pos":[{via:N()}],"gradient-to-pos":[{to:N()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:R()}],"border-w-x":[{"border-x":R()}],"border-w-y":[{"border-y":R()}],"border-w-s":[{"border-s":R()}],"border-w-e":[{"border-e":R()}],"border-w-bs":[{"border-bs":R()}],"border-w-be":[{"border-be":R()}],"border-w-t":[{"border-t":R()}],"border-w-r":[{"border-r":R()}],"border-w-b":[{"border-b":R()}],"border-w-l":[{"border-l":R()}],"divide-x":[{"divide-x":R()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":R()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[nT,kT,fT]}],"outline-w":[{outline:["",nT,ST,gT]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,CT,wT]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",d,CT,wT]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[nT,gT]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",p,CT,wT]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[nT,kT,fT]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[nT]}],"mask-image-linear-from-pos":[{"mask-linear-from":D()}],"mask-image-linear-to-pos":[{"mask-linear-to":D()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":D()}],"mask-image-t-to-pos":[{"mask-t-to":D()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":D()}],"mask-image-r-to-pos":[{"mask-r-to":D()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":D()}],"mask-image-b-to-pos":[{"mask-b-to":D()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":D()}],"mask-image-l-to-pos":[{"mask-l-to":D()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":D()}],"mask-image-x-to-pos":[{"mask-x-to":D()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":D()}],"mask-image-y-to-pos":[{"mask-y-to":D()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[kT,fT]}],"mask-image-radial-from-pos":[{"mask-radial-from":D()}],"mask-image-radial-to-pos":[{"mask-radial-to":D()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[nT]}],"mask-image-conic-from-pos":[{"mask-conic-from":D()}],"mask-image-conic-to-pos":[{"mask-conic-to":D()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:M()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",kT,fT]}],filter:[{filter:["","none",kT,fT]}],blur:[{blur:L()}],brightness:[{brightness:[nT,kT,fT]}],contrast:[{contrast:[nT,kT,fT]}],"drop-shadow":[{"drop-shadow":["","none",h,CT,wT]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",nT,kT,fT]}],"hue-rotate":[{"hue-rotate":[nT,kT,fT]}],invert:[{invert:["",nT,kT,fT]}],saturate:[{saturate:[nT,kT,fT]}],sepia:[{sepia:["",nT,kT,fT]}],"backdrop-filter":[{"backdrop-filter":["","none",kT,fT]}],"backdrop-blur":[{"backdrop-blur":L()}],"backdrop-brightness":[{"backdrop-brightness":[nT,kT,fT]}],"backdrop-contrast":[{"backdrop-contrast":[nT,kT,fT]}],"backdrop-grayscale":[{"backdrop-grayscale":["",nT,kT,fT]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[nT,kT,fT]}],"backdrop-invert":[{"backdrop-invert":["",nT,kT,fT]}],"backdrop-opacity":[{"backdrop-opacity":[nT,kT,fT]}],"backdrop-saturate":[{"backdrop-saturate":[nT,kT,fT]}],"backdrop-sepia":[{"backdrop-sepia":["",nT,kT,fT]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",kT,fT]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[nT,"initial",kT,fT]}],ease:[{ease:["linear","initial",v,kT,fT]}],delay:[{delay:[nT,kT,fT]}],animate:[{animate:["none",b,kT,fT]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,kT,fT]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:B()}],"rotate-x":[{"rotate-x":B()}],"rotate-y":[{"rotate-y":B()}],"rotate-z":[{"rotate-z":B()}],scale:[{scale:j()}],"scale-x":[{"scale-x":j()}],"scale-y":[{"scale-y":j()}],"scale-z":[{"scale-z":j()}],"scale-3d":["scale-3d"],skew:[{skew:U()}],"skew-x":[{"skew-x":U()}],"skew-y":[{"skew-y":U()}],transform:[{transform:[kT,fT,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:z()}],"translate-x":[{"translate-x":z()}],"translate-y":[{"translate-y":z()}],"translate-z":[{"translate-z":z()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",kT,fT]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mbs":[{"scroll-mbs":O()}],"scroll-mbe":[{"scroll-mbe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pbs":[{"scroll-pbs":O()}],"scroll-pbe":[{"scroll-pbe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",kT,fT]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[nT,ST,gT,vT]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},HT=(e,{cacheSize:t,prefix:a,experimentalParseClassName:r,extend:n={},override:o={}})=>(ZT(e,"cacheSize",t),ZT(e,"prefix",a),ZT(e,"experimentalParseClassName",r),VT(e.theme,o.theme),VT(e.classGroups,o.classGroups),VT(e.conflictingClassGroups,o.conflictingClassGroups),VT(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),ZT(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),QT(e.theme,n.theme),QT(e.classGroups,n.classGroups),QT(e.conflictingClassGroups,n.conflictingClassGroups),QT(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),qT(e,n,"orderSensitiveModifiers"),e),ZT=(e,t,a)=>{void 0!==a&&(e[t]=a)},VT=(e,t)=>{if(t)for(let a in t)ZT(e,a,t[a])},QT=(e,t)=>{if(t)for(let a in t)qT(e,t,a)},qT=(e,t,a)=>{let r=t[a];void 0!==r&&(e[a]=e[a]?e[a].concat(r):r)},FT=(e,...t)=>"function"==typeof e?q_(zT,e,...t):q_(()=>HT(zT(),e),...t)}),tE=V(()=>{JT(),eE(),WT=FT({extend:{classGroups:{"font-size":["text-3xs","text-xxs"],"font-weight":["font-sidebar","font-sidebar-active"],"max-w":[{"max-w":[e=>!!e]}],w:[{w:[e=>!!e]}]}}}),({cva:XT,cx:GT,compose:YT}=f_({hooks:{onComplete:e=>WT(e)}}))});function aE(){let e=ro(),t=ol(()=>{let{class:t,style:a,...r}=e;return{class:t||"",style:a,rest:r}});return{cx:function(...e){return{class:GT(...e,t.value.class),style:t.value.style,...t.value.rest}},stylingAttrsCx:function(...e){return{class:GT(...e,t.value.class),style:t.value.style}},otherAttrs:ol(()=>t.value.rest)}}var rE,nE,oE=V(()=>{Rc(),tE()}),iE=V(()=>{tE(),oE()}),sE=V(()=>{Rc(),iE(),rE=Pn({__name:"ViewLayout",setup(e){let{cx:t}=aE();return(e,a)=>(Zo(),qo("div",at(Ko(Fa(t)("flex flex-col min-h-0 flex-1 *:border-t first:*:border-t-0 md:*:border-t-0 xl:overflow-hidden md:flex-row leading-5"))),[Jn(e.$slots,"default")],16))}})}),lE=V(()=>{sE(),nE=rE});function cE(e,t){return Zo(),qo("div",uE,[Jn(e.$slots,"default")])}var uE,dE,pE,hE,mE,fE,gE,vE,bE,yE=V(()=>{_m(),Rc(),uE={class:"custom-scroll flex flex-col pr-0 *:border-t *:first:border-t-0 xl:flex-row *:xl:border-t-0 *:xl:border-l *:first:xl:border-l-0"},dE=km({},[["render",cE]])}),OE=V(()=>{pE=({harRequest:e})=>{let t=hE(e),a=mE(e.postData);return[e.url,{method:e.method,headers:t,body:a}]},hE=e=>{let t=new Headers;if(e.headers.forEach(({name:e,value:a})=>{t.append(e,a)}),e.cookies?.length){let a=e.cookies.map(({name:e,value:t})=>`${e}=${t}`).join("; ");t.append("Cookie",a)}return t},mE=e=>{if(!e)return null;let{params:t,text:a,mimeType:r}=e;if(t?.length){let e=r?.includes("multipart/form-data")?new FormData:new URLSearchParams;return t.forEach(({name:t,value:a})=>{e.append(t,a||"")}),e}return a?(new TextEncoder).encode(a):null}}),xE=V(()=>{mA(),fE=({harResponse:e,url:t="",method:a,path:r,duration:n=0})=>{let o=gE(e),{body:i,data:s,size:l}=vE(e),c=JS(o);return{...new Response(i,{status:e.status,statusText:e.statusText,headers:o}),headers:Object.fromEntries(o.entries()),cookieHeaderKeys:c,duration:n,status:e.status,statusText:e.statusText,method:a,path:r,data:s,size:l,url:t}},gE=e=>{let t=new Headers;return e.headers.forEach(({name:e,value:a})=>{t.append(e,a)}),t},vE=e=>{if(!e.content.text)return{body:null,data:"",size:0};let{text:t,encoding:a}=e.content;if(a)return{body:null,data:t,size:t.length};let r=(new TextEncoder).encode(t).buffer;return{body:r,data:t,size:r.byteLength}}}),wE=V(()=>{bE=e=>null!=e});function kE(e,t,a,r){return[r,e,t,a].filter(bE).join("|")}var SE,AE,_E,TE,EE,CE,PE,ME,$E,NE,IE,RE,DE,LE=V(()=>{wE(),SE=new Map}),BE=V(()=>{AE=(e,t,a=!0)=>{let r=t?.["x-disabled"];return"boolean"==typeof r?r:!!a&&(!e.required&&"path"!==e.in)}}),jE=V(()=>{_E=e=>e["$ref-value"],TE=e=>{let{"$ref-value":t,...a}=e;return{...t,...a}},EE=(e,t=_E)=>"object"==typeof e&&e&&"$ref"in e?t(e):e}),UE=V(()=>{CE=e=>{if("object"!=typeof e||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t},PE=e=>"object"==typeof e&&!!e}),zE=V(()=>{ME=e=>decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}),HE=V(()=>{zE(),$E=e=>e.split("/").slice(1).map(ME)}),ZE=V(()=>{NE=(e,t,a)=>{let[r,n]=e.split("#",2);return r?a.has(r)?n?n.startsWith("/")?`${a.get(r)}${n}`:a.get(`${r}#${n}`):a.get(r):void 0:n?n.startsWith("/")?n.slice(1):a.get(`${t}#${n}`):void 0}}),VE=V(()=>{IE=e=>{if(e&&"object"==typeof e&&e.$id&&"string"==typeof e.$id)return e.$id},RE=e=>e.join("/"),DE=(e,t="",a=[],r=new Map,n=new WeakSet)=>{if("object"!=typeof e||!e||n.has(e))return r;n.add(e);let o=IE(e);o&&r.set(o,RE(a));let i=o??t;e.$anchor&&"string"==typeof e.$anchor&&r.set(`${i}#${e.$anchor}`,RE(a));for(let t in e)"object"==typeof e[t]&&null!==e[t]&&DE(e[t],i,[...a,t],r,n);return r}});function QE(e,t){return t.reduce((e,t)=>void 0===e.value||"object"!=typeof e.value||null===e.value?{context:"",value:void 0}:{context:IE(e.value)??e.context,value:e.value?.[t]},{context:"",value:e})}var qE=V(()=>{VE()});var FE=V(()=>{});function WE(e){return"object"==typeof e&&e&&e[XE]?e[GE]:e}var XE,GE,YE,KE,JE,eC,tC,aC,rC,nC,oC,iC=V(()=>{HE(),UE(),ZE(),VE(),qE(),FE(),XE=Symbol("isMagicProxy"),GE=Symbol("magicProxyTarget"),YE="$ref-value",KE="$ref",JE=(e,t,a={root:e,proxyCache:new WeakMap,cache:new Map,schemas:DE(e),currentContext:""})=>{if(!CE(e)&&!Array.isArray(e))return e;if(a.proxyCache.has(e))return a.proxyCache.get(e);let r=new Proxy(e,{get(e,r,n){if(r===XE)return!0;if(r===GE)return e;if("string"==typeof r&&r.startsWith("__scalar_")&&!t?.showInternal)return;let o=Reflect.get(e,KE,n),i=IE(e);if(r===YE&&"string"==typeof o){if(a.cache.has(o))return a.cache.get(o);let e=NE(o,i??a.currentContext,a.schemas);if(void 0===e)return;let r=QE(a.root,$E(`/${e}`));if(eC(r.value))return r.value;let n=JE(r.value,t,{...a,currentContext:r.context});return a.cache.set(o,n),n}let s=Reflect.get(e,r,n);return eC(s)?s:JE(s,t,{...a,currentContext:i??a.currentContext})},set(e,r,n,o){let i=Reflect.get(e,KE,o);if("string"==typeof r&&r.startsWith("__scalar_")&&!t?.showInternal)return!0;if(r===YE&&"string"==typeof i){let t=NE(i,IE(e)??a.currentContext,a.schemas);if(void 0===t)return;let r=$E(`/${t}`);if(0===r.length)return!1;let o=()=>QE(a.root,r.slice(0,-1)).value;return void 0===o()&&(function(e,t){t.reduce((e,t)=>(void 0===e[t]&&(isNaN(Number(t))?e[t]={}:e[t]=[]),e[t]),e)}(a.root,r.slice(0,-1)),console.warn(`Trying to set $ref-value for invalid reference: ${i}\n\nPlease fix your input file to fix this issue.`)),o()[r.at(-1)]=n,!0}return Reflect.set(e,r,n,o)},deleteProperty:(e,t)=>Reflect.deleteProperty(e,t),has:(e,a)=>!("string"==typeof a&&a.startsWith("__scalar_")&&!t?.showInternal)&&(a===YE&&KE in e||Reflect.has(e,a)),ownKeys(e){let a=Reflect.ownKeys(e).filter(e=>"string"!=typeof e||!(e.startsWith("__scalar_")&&!t?.showInternal));return KE in e&&!a.includes(YE)&&a.push(YE),a},getOwnPropertyDescriptor(e,a){if("string"==typeof a&&a.startsWith("__scalar_")&&!t?.showInternal)return;let r=Reflect.get(e,KE);return a===YE&&"string"==typeof r?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,a)}});return a.proxyCache.set(e,r),r},eC=e=>"object"==typeof e&&!!e&&!0===e[XE]}),sC=V(()=>{iC()}),lC=V(()=>{UE(),tC=Symbol("isDetectChangesProxy"),aC=Symbol("detectChangesProxyTarget"),rC=(e,t,a={proxyCache:new WeakMap,path:[]})=>{if(!CE(e)&&!Array.isArray(e))return e;if(a.proxyCache.has(e))return a.proxyCache.get(e);let r=new Proxy(e,{get(e,r,n){if(r===tC)return!0;if(r===aC)return e;let o=Reflect.get(e,r,n);return nC(o)?o:rC(o,t,{...a,path:[...a.path,String(r)]})},set(e,r,n,o){let i=[...a.path,String(r)];t?.hooks?.onBeforeChange?.(i,n);let s=Reflect.set(e,r,n,o);return t?.hooks?.onAfterChange?.(i,n),s},deleteProperty(e,r){let n=[...a.path,String(r)];t?.hooks?.onBeforeChange?.(n);let o=Reflect.deleteProperty(e,r);return t?.hooks?.onAfterChange?.(n),o}});return a.proxyCache.set(e,r),r},nC=e=>"object"==typeof e&&!!e&&!0===e[tC],oC=e=>"object"==typeof e&&e&&e[tC]?e[aC]:e});var cC,uC,dC,pC,hC,mC,fC,gC,vC=V(()=>{UE(),cC=Symbol("isOverridesProxy"),uC=Symbol("getOverridesTarget"),dC=(e,t,a={cache:new WeakMap})=>{if(!e||"object"!=typeof e)return e;if(a.cache.has(e))return a.cache.get(e);let{overrides:r}=t??{},n=new Proxy(e,{get(e,t,n){if(t===cC)return!0;if(t===uC)return e;let o=Reflect.get(e,t,n);return pC(o)?o:CE(o)?dC(o,{overrides:Reflect.get(r??{},t)},a):Reflect.get(r??{},t)??o},set:(e,t,a,n)=>t!==cC&&t!==uC&&(r&&Reflect.has(r,t)&&r&&"object"==typeof r?(r[t]=a,!0):Reflect.set(e,t,a,n))});return a.cache.set(e,n),n},pC=e=>"object"==typeof e&&!!e&&!0===e[cC]}),bC=V(()=>{sC(),Rc(),lC(),vC(),hC=(e,{depth:t=0}={})=>{let a=(r,n=0)=>{if("object"!=typeof r||!r)return r;let o=oC(Ua(WE(function(e){return"object"==typeof e&&e&&e[cC]?e[uC]:e}(r))));return null!==t&&n>=t||(0!==n&&o!==r&&(console.warn("%c⚠ Warning:%c You tried to assign a proxied object (depth: %d).\n%c💡 Tip:%c Pass a plain object instead — wrapping a proxy inside another proxy may cause weird bugs.\n%c🔍 Debug Info:%c The problematic value is shown below:","background: #fdd835; color: #000; font-weight: bold; padding: 2px 4px; border-radius: 3px;","color: inherit;",n,"color: #00bfa5; font-weight: bold;","color: inherit;","color: #03a9f4; font-weight: bold;","color: inherit;",r,e),console.groupCollapsed("%c📜 Proxy assignment trace","color: #9c27b0; font-weight: bold;"),console.trace({value:r,raw:o}),console.groupEnd()),Object.entries(o).forEach(([e,t])=>{let r=a(t,n+1);Reflect.set(o,e,r)||console.warn('%c🚫 Readonly Property Error:%c Failed to set property "%s" on object.\n%c💡 Tip:%c This property is readonly or non-configurable. You cannot unpack a readonly property — the value was not updated.\n%c🔍 Debug Info:%c Property: %s | Value: %o | Object: %o',"background: #f44336; color: #fff; font-weight: bold; padding: 2px 4px; border-radius: 3px;","color: inherit;",e,"color: #00bfa5; font-weight: bold;","color: inherit;","color: #03a9f4; font-weight: bold;","color: inherit;",e,r,o)})),o};return a(e)}}),yC=V(()=>{UE(),jE(),bC(),mC=e=>{let t=new WeakSet,a=new WeakMap,r=e=>{if(!CE(e)&&!Array.isArray(e))return e;let n=hC(e,{depth:1});if(a.has(n))return a.get(n);if(t.has(n))return"[circular]";if(t.add(n),"$ref"in e){let t=r(EE(e));return a.set(n,t),t}if(Array.isArray(e)){let t=e.map(r);return a.set(n,t),t}let o=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,r(t)]));return a.set(n,o),o};return r(e)}}),OC=V(()=>{jE(),fC=(e,t,a)=>{if(!e&&!t)return;let r=!!e&&Object.keys(e).length>0,n=a||Object.keys(e??{})[0]||"",o=EE(e?.[n]);return void 0!==o?o:r&&a||void 0===t?void 0:{value:EE(t)}},gC=(e,t,a)=>{if("content"in e){let r=e.content?.[a??Object.keys(e.content)[0]??""],n=fC(r?.examples,r?.example,t);if(void 0!==n)return n}if("examples"in e||"example"in e){let a=fC(e.examples,e.example,t);if(void 0!==a)return a}let r=EE(e);if("schema"in r&&r.schema){let e=r.schema;if("default"in e&&void 0!==e.default)return{value:e.default};if("enum"in e&&void 0!==e.enum?.[0])return{value:e.enum[0]};if("examples"in e&&void 0!==e.examples?.[0])return{value:e.examples[0]};if("example"in e&&void 0!==e.example)return{value:e.example}}}});function xC(e){return Array.isArray(e)}function wC(e){return"bigint"==typeof e}function kC(e){return"boolean"==typeof e}function SC(e){return e instanceof globalThis.Date}function AC(e){return"number"==typeof e}function _C(e){return"object"==typeof e&&!!e}function TC(e){return e instanceof globalThis.RegExp}function EC(e){return"string"==typeof e}function CC(e){return e instanceof globalThis.Uint8Array}function PC(e){return void 0===e}var MC=V(()=>{});function $C(e){return xC(e)?function(e){return e.map(e=>$C(e))}(e):SC(e)?function(e){return new Date(e.getTime())}(e):CC(e)?function(e){return new Uint8Array(e)}(e):TC(e)?function(e){return new RegExp(e.source,e.flags)}(e):_C(e)?function(e){let t={};for(let a of Object.getOwnPropertyNames(e))t[a]=$C(e[a]);for(let a of Object.getOwnPropertySymbols(e))t[a]=$C(e[a]);return t}(e):e}function NC(e){return $C(e)}var IC=V(()=>{MC()});function RC(e,t){return NC(void 0===t?e:{...t,...e})}var DC=V(()=>{IC()}),LC=V(()=>{DC(),IC()});function BC(e){return VC(e)&&globalThis.Symbol.asyncIterator in e}function jC(e){return VC(e)&&globalThis.Symbol.iterator in e}function UC(e){return e instanceof globalThis.Promise}function zC(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function HC(e){return e instanceof globalThis.Uint8Array}function ZC(e,t){return t in e}function VC(e){return"object"==typeof e&&!!e}function QC(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function qC(e){return void 0===e}function FC(e){return null===e}function WC(e){return"boolean"==typeof e}function XC(e){return"number"==typeof e}function GC(e){return globalThis.Number.isInteger(e)}function YC(e){return"bigint"==typeof e}function KC(e){return"string"==typeof e}function JC(e){return"function"==typeof e}function eP(e){return"symbol"==typeof e}function tP(e){return YC(e)||WC(e)||FC(e)||XC(e)||KC(e)||eP(e)||qC(e)}var aP,rP=V(()=>{}),nP=V(()=>{rP()}),oP=V(()=>{nP(),function(e){function t(t){let a=VC(t);return e.AllowArrayObject?a:a&&!QC(t)}e.InstanceMode="default",e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1,e.IsExactOptionalProperty=function(t,a){return e.ExactOptionalPropertyTypes?a in t:void 0!==t[a]},e.IsObjectLike=t,e.IsRecordLike=function(e){return t(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)},e.IsNumberLike=function(t){return e.AllowNaN?XC(t):Number.isFinite(t)},e.IsVoidLike=function(t){let a=qC(t);return e.AllowNullVoid?a||null===t:a}}(aP||={})});function iP(e){return xC(e)?function(e){return globalThis.Object.freeze(e).map(e=>iP(e))}(e):SC(e)||CC(e)||TC(e)?e:_C(e)?function(e){let t={};for(let a of Object.getOwnPropertyNames(e))t[a]=iP(e[a]);for(let a of Object.getOwnPropertySymbols(e))t[a]=iP(e[a]);return globalThis.Object.freeze(t)}(e):e}var sP=V(()=>{MC()});function lP(e,t){let a=void 0===t?e:{...t,...e};switch(aP.InstanceMode){case"freeze":return iP(a);case"clone":return NC(a);default:return a}}var cP,uP,dP,pP,hP,mP,fP=V(()=>{oP(),sP(),IC()}),gP=V(()=>{fP()}),vP=V(()=>{cP=class extends Error{constructor(e){super(e)}}}),bP=V(()=>{vP()}),yP=V(()=>{uP=Symbol.for("TypeBox.Transform"),dP=Symbol.for("TypeBox.Readonly"),pP=Symbol.for("TypeBox.Optional"),hP=Symbol.for("TypeBox.Hint"),mP=Symbol.for("TypeBox.Kind")}),OP=V(()=>{yP()});function xP(e){return _C(e)&&"Readonly"===e[dP]}function wP(e){return _C(e)&&"Optional"===e[pP]}function kP(e){return RP(e,"Any")}function SP(e){return RP(e,"Argument")}function AP(e){return RP(e,"Array")}function _P(e){return RP(e,"AsyncIterator")}function TP(e){return RP(e,"BigInt")}function EP(e){return RP(e,"Boolean")}function CP(e){return RP(e,"Computed")}function PP(e){return RP(e,"Constructor")}function MP(e){return RP(e,"Function")}function $P(e){return RP(e,"Integer")}function NP(e){return RP(e,"Intersect")}function IP(e){return RP(e,"Iterator")}function RP(e,t){return _C(e)&&mP in e&&e[mP]===t}function DP(e){return kC(e)||AC(e)||EC(e)}function LP(e){return RP(e,"Literal")}function BP(e){return RP(e,"MappedKey")}function jP(e){return RP(e,"MappedResult")}function UP(e){return RP(e,"Never")}function zP(e){return RP(e,"Null")}function HP(e){return RP(e,"Number")}function ZP(e){return RP(e,"Object")}function VP(e){return RP(e,"Promise")}function QP(e){return RP(e,"Record")}function qP(e){return RP(e,"Ref")}function FP(e){return RP(e,"RegExp")}function WP(e){return RP(e,"String")}function XP(e){return RP(e,"Symbol")}function GP(e){return RP(e,"TemplateLiteral")}function YP(e){return _C(e)&&uP in e}function KP(e){return RP(e,"Tuple")}function JP(e){return RP(e,"Undefined")}function eM(e){return RP(e,"Union")}function tM(e){return _C(e)&&mP in e&&EC(e[mP])}function aM(e){return kP(e)||SP(e)||AP(e)||EP(e)||TP(e)||_P(e)||CP(e)||PP(e)||function(e){return RP(e,"Date")}(e)||MP(e)||$P(e)||NP(e)||IP(e)||LP(e)||BP(e)||jP(e)||UP(e)||function(e){return RP(e,"Not")}(e)||zP(e)||HP(e)||ZP(e)||VP(e)||QP(e)||qP(e)||FP(e)||WP(e)||XP(e)||GP(e)||function(e){return RP(e,"This")}(e)||KP(e)||JP(e)||eM(e)||function(e){return RP(e,"Uint8Array")}(e)||function(e){return RP(e,"Unknown")}(e)||function(e){return RP(e,"Unsafe")}(e)||function(e){return RP(e,"Void")}(e)||tM(e)}var rM=V(()=>{MC(),OP()});function nM(e){try{return new RegExp(e),!0}catch{return!1}}function oM(e){if(!EC(e))return!1;for(let t=0;t<e.length;t++){let a=e.charCodeAt(t);if(a>=7&&a<=13||27===a||127===a)return!1}return!0}function iM(e){return cM(e)||FM(e)}function sM(e){return PC(e)||wC(e)}function lM(e){return PC(e)||AC(e)}function cM(e){return PC(e)||kC(e)}function uM(e){return PC(e)||EC(e)}function dM(e){return PC(e)||FM(e)}function pM(e){return _C(e)&&"Optional"===e[pP]}function hM(e){return AM(e,"Any")&&uM(e.$id)}function mM(e){return AM(e,"Array")&&"array"===e.type&&uM(e.$id)&&FM(e.items)&&lM(e.minItems)&&lM(e.maxItems)&&cM(e.uniqueItems)&&dM(e.contains)&&lM(e.minContains)&&lM(e.maxContains)}function fM(e){return AM(e,"AsyncIterator")&&"AsyncIterator"===e.type&&uM(e.$id)&&FM(e.items)}function gM(e){return AM(e,"BigInt")&&"bigint"===e.type&&uM(e.$id)&&sM(e.exclusiveMaximum)&&sM(e.exclusiveMinimum)&&sM(e.maximum)&&sM(e.minimum)&&sM(e.multipleOf)}function vM(e){return AM(e,"Boolean")&&"boolean"===e.type&&uM(e.$id)}function bM(e){return AM(e,"Constructor")&&"Constructor"===e.type&&uM(e.$id)&&xC(e.parameters)&&e.parameters.every(e=>FM(e))&&FM(e.returns)}function yM(e){return AM(e,"Date")&&"Date"===e.type&&uM(e.$id)&&lM(e.exclusiveMaximumTimestamp)&&lM(e.exclusiveMinimumTimestamp)&&lM(e.maximumTimestamp)&&lM(e.minimumTimestamp)&&lM(e.multipleOfTimestamp)}function OM(e){return AM(e,"Function")&&"Function"===e.type&&uM(e.$id)&&xC(e.parameters)&&e.parameters.every(e=>FM(e))&&FM(e.returns)}function xM(e){return AM(e,"Integer")&&"integer"===e.type&&uM(e.$id)&&lM(e.exclusiveMaximum)&&lM(e.exclusiveMinimum)&&lM(e.maximum)&&lM(e.minimum)&&lM(e.multipleOf)}function wM(e){return _C(e)&&Object.entries(e).every(([e,t])=>oM(e)&&FM(t))}function kM(e){return AM(e,"Intersect")&&!(EC(e.type)&&"object"!==e.type)&&xC(e.allOf)&&e.allOf.every(e=>FM(e)&&!function(e){return _C(e)&&uP in e}(e))&&uM(e.type)&&(cM(e.unevaluatedProperties)||dM(e.unevaluatedProperties))&&uM(e.$id)}function SM(e){return AM(e,"Iterator")&&"Iterator"===e.type&&uM(e.$id)&&FM(e.items)}function AM(e,t){return _C(e)&&mP in e&&e[mP]===t}function _M(e){return CM(e)&&EC(e.const)}function TM(e){return CM(e)&&AC(e.const)}function EM(e){return CM(e)&&kC(e.const)}function CM(e){return AM(e,"Literal")&&uM(e.$id)&&function(e){return kC(e)||AC(e)||EC(e)}(e.const)}function PM(e){return AM(e,"Never")&&_C(e.not)&&0===Object.getOwnPropertyNames(e.not).length}function MM(e){return AM(e,"Not")&&FM(e.not)}function $M(e){return AM(e,"Null")&&"null"===e.type&&uM(e.$id)}function NM(e){return AM(e,"Number")&&"number"===e.type&&uM(e.$id)&&lM(e.exclusiveMaximum)&&lM(e.exclusiveMinimum)&&lM(e.maximum)&&lM(e.minimum)&&lM(e.multipleOf)}function IM(e){return AM(e,"Object")&&"object"===e.type&&uM(e.$id)&&wM(e.properties)&&iM(e.additionalProperties)&&lM(e.minProperties)&&lM(e.maxProperties)}function RM(e){return AM(e,"Promise")&&"Promise"===e.type&&uM(e.$id)&&FM(e.item)}function DM(e){return AM(e,"Record")&&"object"===e.type&&uM(e.$id)&&iM(e.additionalProperties)&&_C(e.patternProperties)&&(e=>{let t=Object.getOwnPropertyNames(e.patternProperties);return 1===t.length&&nM(t[0])&&_C(e.patternProperties)&&FM(e.patternProperties[t[0]])})(e)}function LM(e){return AM(e,"RegExp")&&uM(e.$id)&&EC(e.source)&&EC(e.flags)&&lM(e.maxLength)&&lM(e.minLength)}function BM(e){return AM(e,"String")&&"string"===e.type&&uM(e.$id)&&lM(e.minLength)&&lM(e.maxLength)&&function(e){return PC(e)||EC(e)&&oM(e)&&nM(e)}(e.pattern)&&function(e){return PC(e)||EC(e)&&oM(e)}(e.format)}function jM(e){return AM(e,"Symbol")&&"symbol"===e.type&&uM(e.$id)}function UM(e){return AM(e,"TemplateLiteral")&&"string"===e.type&&EC(e.pattern)&&"^"===e.pattern[0]&&"$"===e.pattern[e.pattern.length-1]}function zM(e){return AM(e,"Tuple")&&"array"===e.type&&uM(e.$id)&&AC(e.minItems)&&AC(e.maxItems)&&e.minItems===e.maxItems&&(PC(e.items)&&PC(e.additionalItems)&&0===e.minItems||xC(e.items)&&e.items.every(e=>FM(e)))}function HM(e){return AM(e,"Undefined")&&"undefined"===e.type&&uM(e.$id)}function ZM(e){return AM(e,"Union")&&uM(e.$id)&&_C(e)&&xC(e.anyOf)&&e.anyOf.every(e=>FM(e))}function VM(e){return AM(e,"Uint8Array")&&"Uint8Array"===e.type&&uM(e.$id)&&lM(e.minByteLength)&&lM(e.maxByteLength)}function QM(e){return AM(e,"Unknown")&&uM(e.$id)}function qM(e){return AM(e,"Void")&&"void"===e.type&&uM(e.$id)}function FM(e){return _C(e)&&(hM(e)||function(e){return AM(e,"Argument")&&AC(e.index)}(e)||mM(e)||vM(e)||gM(e)||fM(e)||function(e){return AM(e,"Computed")&&EC(e.target)&&xC(e.parameters)&&e.parameters.every(e=>FM(e))}(e)||bM(e)||yM(e)||OM(e)||xM(e)||kM(e)||SM(e)||CM(e)||function(e){return AM(e,"MappedKey")&&xC(e.keys)&&e.keys.every(e=>AC(e)||EC(e))}(e)||function(e){return AM(e,"MappedResult")&&wM(e.properties)}(e)||PM(e)||MM(e)||$M(e)||NM(e)||IM(e)||RM(e)||DM(e)||function(e){return AM(e,"Ref")&&uM(e.$id)&&EC(e.$ref)}(e)||LM(e)||BM(e)||jM(e)||UM(e)||function(e){return AM(e,"This")&&uM(e.$id)&&EC(e.$ref)}(e)||zM(e)||HM(e)||ZM(e)||VM(e)||QM(e)||function(e){return AM(e,"Unsafe")}(e)||qM(e)||function(e){return _C(e)&&mP in e&&EC(e[mP])&&!WM.includes(e[mP])}(e))}var WM,XM,GM,YM,KM,JM,e$,t$=V(()=>{MC(),OP(),WM="Argument.Any.Array.AsyncIterator.BigInt.Boolean.Computed.Constructor.Date.Enum.Function.Integer.Intersect.Iterator.Literal.MappedKey.MappedResult.Not.Null.Number.Object.Promise.Record.Ref.RegExp.String.Symbol.TemplateLiteral.This.Tuple.Undefined.Union.Uint8Array.Unknown.Void".split(".")}),a$=V(()=>{t$(),MC()}),r$=V(()=>{}),n$=V(()=>{r$()}),o$=V(()=>{XM="(true|false)",KM=`^${GM="(0|[1-9][0-9]*)"}$`,JM=`^${YM="(.*)"}$`,e$="^(?!.*)$"}),i$=V(()=>{o$()});function s$(e){return c$.has(e)}function l$(e){return c$.get(e)}var c$,u$=V(()=>{c$=new Map});function d$(e){return h$.has(e)}function p$(e){return h$.get(e)}var h$,m$=V(()=>{h$=new Map}),f$=V(()=>{u$(),m$()});var g$=V(()=>{}),v$=V(()=>{g$()});function b$(e){return lP({[mP]:"Any"},e)}var y$=V(()=>{gP(),OP()}),O$=V(()=>{y$()});function x$(e,t){return lP({[mP]:"Array",type:"array",items:e},t)}var w$=V(()=>{fP(),OP()}),k$=V(()=>{w$()});function S$(e){return lP({[mP]:"Argument",index:e})}var A$=V(()=>{fP(),OP()}),_$=V(()=>{A$()});function T$(e,t){return lP({[mP]:"AsyncIterator",type:"AsyncIterator",items:e},t)}var E$=V(()=>{OP(),fP()}),C$=V(()=>{E$()});function P$(e,t,a){return lP({[mP]:"Computed",target:e,parameters:t},a)}var M$=V(()=>{gP(),yP()}),$$=V(()=>{M$()});function N$(e,t){return t.reduce((e,t)=>function(e,t){let{[t]:a,...r}=e;return r}(e,t),e)}var I$=V(()=>{}),R$=V(()=>{I$()});function D$(e){return lP({[mP]:"Never",not:{}},e)}var L$=V(()=>{fP(),OP()}),B$=V(()=>{L$()}),j$=V(()=>{});function U$(e){return lP({[mP]:"MappedResult",properties:e})}var z$=V(()=>{fP(),OP()});function H$(e,t,a){return lP({[mP]:"Constructor",type:"Constructor",parameters:e,returns:t},a)}var Z$=V(()=>{fP(),OP()}),V$=V(()=>{Z$()});function Q$(e,t,a){return lP({[mP]:"Function",type:"Function",parameters:e,returns:t},a)}var q$=V(()=>{fP(),OP()}),F$=V(()=>{q$()});function W$(e,t){return lP({[mP]:"Union",anyOf:e},t)}var X$=V(()=>{fP(),OP()});function G$(e){return e.map(e=>wP(e)?function(e){return N$(e,[pP])}(e):e)}function Y$(e,t){return function(e){return e.some(e=>wP(e))}(e)?zI(W$(G$(e),t)):W$(G$(e),t)}function K$(e,t){return 1===e.length?lP(e[0],t):0===e.length?D$(t):Y$(e,t)}var J$=V(()=>{fP(),OP(),R$(),B$(),VI(),X$(),rM()}),eN=V(()=>{});function tN(e,t){return 0===e.length?D$(t):1===e.length?lP(e[0],t):W$(e,t)}var aN=V(()=>{B$(),fP(),X$()}),rN=V(()=>{J$(),eN(),aN()});function nN(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function oN(e,t,a){return e[t]===a&&92!==e.charCodeAt(t-1)}function iN(e,t){return oN(e,t,"(")}function sN(e,t){return oN(e,t,")")}function lN(e,t){return oN(e,t,"|")}function cN(e){return function(e){if(!iN(e,0)||!sN(e,e.length-1))return!1;let t=0;for(let a=0;a<e.length;a++)if(iN(e,a)&&(t+=1),sN(e,a)&&--t,0===t&&a!==e.length-1)return!1;return!0}(e)?cN(function(e){return e.slice(1,e.length-1)}(e)):function(e){let t=0;for(let a=0;a<e.length;a++)if(iN(e,a)&&(t+=1),sN(e,a)&&--t,lN(e,a)&&0===t)return!0;return!1}(e)?function(e){let[t,a]=[0,0],r=[];for(let n=0;n<e.length;n++)if(iN(e,n)&&(t+=1),sN(e,n)&&--t,lN(e,n)&&0===t){let t=e.slice(a,n);t.length>0&&r.push(cN(t)),a=n+1}let n=e.slice(a);return n.length>0&&r.push(cN(n)),0===r.length?{type:"const",const:""}:1===r.length?r[0]:{type:"or",expr:r}}(e):function(e){for(let t=0;t<e.length;t++)if(iN(e,t))return!0;return!1}(e)?function(e){function t(e,t){if(!iN(e,t))throw new dN("TemplateLiteralParser: Index must point to open parens");let a=0;for(let r=t;r<e.length;r++)if(iN(e,r)&&(a+=1),sN(e,r)&&--a,0===a)return[t,r];throw new dN("TemplateLiteralParser: Unclosed group parens in expression")}function a(e,t){for(let a=t;a<e.length;a++)if(iN(e,a))return[t,a];return[t,e.length]}let r=[];for(let n=0;n<e.length;n++)if(iN(e,n)){let[a,o]=t(e,n),i=e.slice(a,o+1);r.push(cN(i)),n=o}else{let[t,o]=a(e,n),i=e.slice(t,o);i.length>0&&r.push(cN(i)),n=o-1}return 0===r.length?{type:"const",const:""}:1===r.length?r[0]:{type:"and",expr:r}}(e):{type:"const",const:nN(e)}}function uN(e){return cN(e.slice(1,e.length-1))}var dN,pN=V(()=>{bP(),dN=class extends cP{}});function hN(e){return!function(e){return"or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"0"===e.expr[0].const&&"const"===e.expr[1].type&&"[1-9][0-9]*"===e.expr[1].const}(e)&&!function(e){return"const"===e.type&&".*"===e.const}(e)&&(!!function(e){return"or"===e.type&&2===e.expr.length&&"const"===e.expr[0].type&&"true"===e.expr[0].const&&"const"===e.expr[1].type&&"false"===e.expr[1].const}(e)||("and"===e.type||"or"===e.type?e.expr.every(e=>hN(e)):"const"===e.type||(()=>{throw new fN("Unknown expression type")})()))}function mN(e){return hN(uN(e.pattern))}var fN,gN=V(()=>{pN(),bP(),fN=class extends cP{}});function*vN(e){if(1===e.length)return yield*e[0];for(let t of e[0])for(let a of vN(e.slice(1)))yield`${t}${a}`}function*bN(e){return yield*vN(e.expr.map(e=>[...yN(e)]))}function*yN(e){return"and"===e.type?yield*bN(e):"or"===e.type?yield*function*(e){for(let t of e.expr)yield*yN(t)}(e):"const"===e.type?yield*function*(e){return yield e.const}(e):(()=>{throw new xN("Unknown expression")})()}function ON(e){let t=uN(e.pattern);return hN(t)?[...yN(t)]:[]}var xN,wN=V(()=>{gN(),pN(),bP(),xN=class extends cP{}});function kN(e,t){return lP({[mP]:"Literal",const:e,type:typeof e},t)}var SN=V(()=>{fP(),OP()}),AN=V(()=>{SN()});function _N(e){return lP({[mP]:"Boolean",type:"boolean"},e)}var TN=V(()=>{OP(),gP()}),EN=V(()=>{TN()});function CN(e){return lP({[mP]:"BigInt",type:"bigint"},e)}var PN=V(()=>{OP(),gP()}),MN=V(()=>{PN()});function $N(e){return lP({[mP]:"Number",type:"number"},e)}var NN=V(()=>{fP(),OP()}),IN=V(()=>{NN()});function RN(e){return lP({[mP]:"String",type:"string"},e)}var DN=V(()=>{fP(),OP()}),LN=V(()=>{DN()});function*BN(e){let t=e.trim().replace(/"|'/g,"");return"boolean"===t?yield _N():"number"===t?yield $N():"bigint"===t?yield CN():"string"===t?yield RN():yield(()=>{let e=t.split("|").map(e=>kN(e.trim()));return 0===e.length?D$():1===e.length?e[0]:K$(e)})()}function*jN(e){if("{"!==e[1])return yield*[kN("$"),...UN(e.slice(1))];for(let t=2;t<e.length;t++)if("}"===e[t]){let a=BN(e.slice(2,t)),r=UN(e.slice(t+1));return yield*[...a,...r]}yield kN(e)}function*UN(e){for(let t=0;t<e.length;t++)if("$"===e[t])return yield*[kN(e.slice(0,t)),...jN(e.slice(t))];yield kN(e)}var zN=V(()=>{AN(),EN(),MN(),IN(),LN(),rN(),B$()});function HN(e,t){return GP(e)?e.pattern.slice(1,e.pattern.length-1):eM(e)?`(${e.anyOf.map(e=>HN(e,t)).join("|")})`:HP(e)||$P(e)||TP(e)?`${t}${GM}`:WP(e)?`${t}${YM}`:LP(e)?`${t}${function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(e.const.toString())}`:EP(e)?`${t}${XM}`:(()=>{throw new VN(`Unexpected Kind '${e[mP]}'`)})()}function ZN(e){return`^${e.map(e=>HN(e,"")).join("")}$`}var VN,QN=V(()=>{i$(),OP(),bP(),rM(),VN=class extends cP{}});function qN(e){return K$(ON(e).map(e=>kN(e)))}var FN=V(()=>{rN(),AN(),wN()});function WN(e,t){let a=EC(e)?ZN(function(e){return[...UN(e)]}(e)):ZN(e);return lP({[mP]:"TemplateLiteral",type:"string",pattern:a},t)}var XN=V(()=>{fP(),zN(),QN(),MC(),OP()}),GN=V(()=>{gN(),wN(),zN(),pN(),QN(),FN(),XN()});function YN(e){return ON(e).map(e=>e.toString())}function KN(e){let t=[];for(let a of e)t.push(...eI(a));return t}function JN(e){return[e.toString()]}function eI(e){return[...new Set(GP(e)?YN(e):eM(e)?KN(e.anyOf):LP(e)?JN(e.const):HP(e)||$P(e)?["[number]"]:[])]}var tI=V(()=>{GN(),rM()});function aI(e,t,a){return function(e,t,a){let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=uI(e,eI(t[n]),a);return r}(e,t.properties,a)}var rI=V(()=>{jI(),tI(),mI()});function nI(e,t){return e.map(e=>sI(e,t))}function oI(e,t){return XI(function(e){return e.filter(e=>!UP(e))}(nI(e,t)))}function iI(e,t){return K$(function(e){return e.some(e=>UP(e))?[]:e}(nI(e,t)))}function sI(e,t){return NP(e)?oI(e.allOf,t):eM(e)?iI(e.anyOf,t):KP(e)?function(e,t){return t in e?e[t]:"[number]"===t?K$(e):D$()}(e.items??[],t):AP(e)?function(e,t){return"[number]"===t?e:D$()}(e.items,t):ZP(e)?function(e,t){return t in e?e[t]:D$()}(e.properties,t):D$()}function lI(e,t){return t.map(t=>sI(e,t))}function cI(e,t){return K$(lI(e,t))}function uI(e,t,a){if(qP(e)||qP(t)){if(!aM(e)||!aM(t))throw new cP("Index types using Ref parameters require both Type and Key to be of TSchema");return P$("Index",[e,t])}return jP(t)?function(e,t,a){return U$(aI(e,t,a))}(e,t,a):BP(t)?function(e,t,a){return U$(function(e,t,a){return function(e,t,a){return t.reduce((t,r)=>({...t,...pI(e,r,a)}),{})}(e,t.keys,a)}(e,t,a))}(e,t,a):lP(aM(t)?cI(e,eI(t)):cI(e,t),a)}var dI=V(()=>{fP(),bP(),$$(),B$(),eR(),rN(),tI(),hI(),rI(),rM()});function pI(e,t,a){return{[t]:uI(e,[t],NC(a))}}var hI=V(()=>{dI(),jI(),IC()}),mI=V(()=>{hI(),rI(),tI(),dI()});function fI(e,t){return lP({[mP]:"Iterator",type:"Iterator",items:e},t)}var gI=V(()=>{fP(),OP()}),vI=V(()=>{gI()});function bI(e,t){let a=function(e){let t=[];for(let a in e)wP(e[a])||t.push(a);return t}(e);return lP(a.length>0?{[mP]:"Object",type:"object",properties:e,required:a}:{[mP]:"Object",type:"object",properties:e},t)}var yI,OI=V(()=>{fP(),OP(),rM(),yI=bI}),xI=V(()=>{OI()});function wI(e,t){return lP({[mP]:"Promise",type:"Promise",item:e},t)}var kI=V(()=>{fP(),OP()}),SI=V(()=>{kI()});function AI(e,t){return!1===t?function(e){return lP(N$(e,[dP]))}(e):function(e){return lP({...e,[dP]:"Readonly"})}(e)}function _I(e,t){let a=t??!0;return jP(e)?function(e,t){return U$(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=_I(e[r],t);return a}(e.properties,t)}(e,t))}(e,a):AI(e,a)}var TI=V(()=>{fP(),OP(),R$(),EI(),rM()});var EI=V(()=>{jI(),TI()}),CI=V(()=>{EI(),TI()});function PI(e,t){return lP(e.length>0?{[mP]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[mP]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}var MI=V(()=>{fP(),OP()}),$I=V(()=>{MI()});function NI(e,t){return e in t?DI(e,t[e]):U$(t)}function II(e,t){return function(e,t){return e.includes(t)}(t,e)?function(e){return{[e]:kN(e)}}(e):function(e){let t={};for(let a of e)t[a]=kN(a);return t}(t)}function RI(e,t){return t.map(t=>DI(e,t))}function DI(e,t){let a={...t};return wP(t)?zI(DI(e,N$(t,[pP]))):xP(t)?_I(DI(e,N$(t,[dP]))):jP(t)?NI(e,t.properties):BP(t)?function(e,t){return NI(e,II(e,t))}(e,t.keys):PP(t)?H$(RI(e,t.parameters),DI(e,t.returns),a):MP(t)?Q$(RI(e,t.parameters),DI(e,t.returns),a):_P(t)?T$(DI(e,t.items),a):IP(t)?fI(DI(e,t.items),a):NP(t)?KI(RI(e,t.allOf),a):eM(t)?tN(RI(e,t.anyOf),a):KP(t)?PI(RI(e,t.items??[]),a):ZP(t)?yI(function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(t))a[r]=DI(e,t[r]);return a}(e,t.properties),a):AP(t)?x$(DI(e,t.items),a):VP(t)?wI(DI(e,t.item),a):t}function LI(e,t,a){let r=aM(e)?eI(e):e;return yI(function(e,t){let a={};for(let r of e)a[r]=DI(r,t);return a}(r,t({[mP]:"MappedKey",keys:r})),a)}var BI=V(()=>{OP(),R$(),k$(),C$(),V$(),F$(),mI(),eR(),vI(),AN(),xI(),VI(),SI(),CI(),$I(),rN(),v$(),z$(),rM()}),jI=V(()=>{j$(),z$(),BI()});function UI(e,t){return!1===t?function(e){return lP(N$(e,[pP]))}(e):function(e){return lP({...e,[pP]:"Optional"})}(e)}function zI(e,t){let a=t??!0;return jP(e)?function(e,t){return U$(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=zI(e[r],t);return a}(e.properties,t)}(e,t))}(e,a):UI(e,a)}var HI=V(()=>{fP(),OP(),R$(),ZI(),rM()});var ZI=V(()=>{jI(),HI()}),VI=V(()=>{ZI(),HI()});function QI(e,t={}){let a=e.every(e=>ZP(e)),r=aM(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return lP(!1===t.unevaluatedProperties||aM(t.unevaluatedProperties)||a?{...r,[mP]:"Intersect",type:"object",allOf:e}:{...r,[mP]:"Intersect",allOf:e},t)}var qI=V(()=>{fP(),OP(),rM()});function FI(e){return e.map(e=>wP(e)?function(e){return N$(e,[pP])}(e):e)}function WI(e,t){return function(e){return e.every(e=>wP(e))}(e)?zI(QI(FI(e),t)):QI(FI(e),t)}function XI(e,t={}){if(1===e.length)return lP(e[0],t);if(0===e.length)return D$(t);if(e.some(e=>YP(e)))throw Error("Cannot intersect transform types");return WI(e,t)}var GI=V(()=>{OP(),fP(),R$(),B$(),VI(),qI(),rM()}),YI=V(()=>{});function KI(e,t){if(1===e.length)return lP(e[0],t);if(0===e.length)return D$(t);if(e.some(e=>YP(e)))throw Error("Cannot intersect transform types");return QI(e,t)}var JI=V(()=>{fP(),B$(),qI(),rM()}),eR=V(()=>{GI(),YI(),JI()});function tR(...e){let[t,a]="string"==typeof e[0]?[e[0],e[1]]:[e[0].$id,e[1]];if("string"!=typeof t)throw new cP("Ref: $ref must be a string");return lP({[mP]:"Ref",$ref:t},a)}var aR=V(()=>{bP(),fP(),OP()}),rR=V(()=>{aR()});function nR(e){return e.map(e=>oR(e))}function oR(e,t){return lP(CP(e)?function(e,t){return P$("Awaited",[P$(e,t)])}(e.target,e.parameters):NP(e)?function(e){return KI(nR(e))}(e.allOf):eM(e)?function(e){return tN(nR(e))}(e.anyOf):VP(e)?function(e){return oR(e)}(e.item):qP(e)?function(e){return P$("Awaited",[tR(e)])}(e.$ref):e,t)}var iR=V(()=>{fP(),$$(),eR(),rN(),rR(),rM()}),sR=V(()=>{iR()});function lR(e){let t=[];for(let a of e)t.push(cR(a));return t}function cR(e){return NP(e)?function(e){return function(e){let t=[];for(let a of e)t.push(...a);return t}(lR(e))}(e.allOf):eM(e)?function(e){return function(e){return 1===e.length?e[0]:e.length>1?function(e,t){return e.reduce((e,t)=>function(e,t){return e.filter(e=>t.includes(e))}(e,t),t)}(e.slice(1),e[0]):[]}(lR(e))}(e.anyOf):KP(e)?function(e){return e.map((e,t)=>t.toString())}(e.items??[]):AP(e)?(e.items,["[number]"]):ZP(e)?function(e){return globalThis.Object.getOwnPropertyNames(e)}(e.properties):QP(e)?function(e){return dR?globalThis.Object.getOwnPropertyNames(e).map(e=>"^"===e[0]&&"$"===e[e.length-1]?e.slice(1,e.length-1):e):[]}(e.patternProperties):[]}function uR(e){dR=!0;let t=cR(e);return dR=!1,`^(${t.map(e=>`(${e})`).join("|")})$`}var dR,pR=V(()=>{v$(),rM(),dR=!1});function hR(e,t){return lP(K$(function(e){return e.map(e=>"[number]"===e?$N():kN(e))}(cR(e))),t)}function mR(e,t){return CP(e)?function(e,t){return P$("KeyOf",[P$(e,t)])}(e.target,e.parameters):qP(e)?function(e){return P$("KeyOf",[tR(e)])}(e.$ref):jP(e)?function(e,t){return U$(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=mR(e[r],NC(t));return a}(e.properties,t)}(e,t))}(e,t):hR(e,t)}var fR=V(()=>{fP(),AN(),IN(),$$(),rR(),pR(),rN(),gR(),rM()});var gR=V(()=>{jI(),fR(),IC()});function vR(e){let t=cR(e),a=lI(e,t);return t.map((e,r)=>[t[r],a[r]])}var bR=V(()=>{dI(),pR()}),yR=V(()=>{gR(),bR(),pR(),fR()});function OR(e){let t=[];for(let a of e)t.push(...cR(a));return function(e){return[...new Set(e)]}(t)}function xR(e,t){let a=[];for(let r of e)a.push(...lI(r,[t]));return function(e){return e.filter(e=>!UP(e))}(a)}function wR(e,t){return yI(function(e,t){let a={};for(let r of t)a[r]=XI(xR(e,r));return a}(e,OR(e)),t)}var kR=V(()=>{eR(),mI(),yR(),xI(),v$(),rM()}),SR=V(()=>{kR()});function AR(e){return lP({[mP]:"Date",type:"Date"},e)}var _R=V(()=>{OP(),fP()}),TR=V(()=>{_R()});function ER(e){return lP({[mP]:"Null",type:"null"},e)}var CR=V(()=>{fP(),OP()}),PR=V(()=>{CR()});function MR(e){return lP({[mP]:"Symbol",type:"symbol"},e)}var $R=V(()=>{fP(),OP()}),NR=V(()=>{$R()});function IR(e){return lP({[mP]:"Undefined",type:"undefined"},e)}var RR=V(()=>{fP(),OP()}),DR=V(()=>{RR()});function LR(e){return lP({[mP]:"Uint8Array",type:"Uint8Array"},e)}var BR=V(()=>{fP(),OP()}),jR=V(()=>{BR()});function UR(e){return lP({[mP]:"Unknown"},e)}var zR=V(()=>{fP(),OP()}),HR=V(()=>{zR()});function ZR(e,t){return!0===t?e:_I(e)}function VR(e,t){return function(e){return _C(e)&&!xC(e)&&!CC(e)&&Symbol.asyncIterator in e}(e)||function(e){return _C(e)&&!xC(e)&&!CC(e)&&Symbol.iterator in e}(e)?ZR(b$(),t):xC(e)?_I(PI(function(e){return e.map(e=>VR(e,!1))}(e))):CC(e)?LR():SC(e)?AR():_C(e)?ZR(yI(function(e){let t={};for(let a of globalThis.Object.getOwnPropertyNames(e))t[a]=_I(VR(e[a],!1));return t}(e)),t):function(e){return"function"==typeof e}(e)?ZR(Q$([],UR()),t):PC(e)?IR():function(e){return null===e}(e)?ER():function(e){return"symbol"==typeof e}(e)?MR():wC(e)?CN():AC(e)||kC(e)||EC(e)?kN(e):yI({})}function QR(e,t){return lP(VR(e,!0),t)}var qR=V(()=>{O$(),MN(),TR(),F$(),AN(),PR(),xI(),NR(),$I(),CI(),DR(),jR(),HR(),gP(),MC()}),FR=V(()=>{qR()});function WR(e,t){return PP(e)?PI(e.parameters,t):D$(t)}var XR=V(()=>{$I(),B$(),rM()}),GR=V(()=>{XR()});function YR(e,t){if(PC(e))throw Error("Enum undefined or empty");let a=globalThis.Object.getOwnPropertyNames(e).filter(e=>isNaN(e)).map(t=>e[t]);return tN([...new Set(a)].map(e=>kN(e)),{...t,[hP]:"Enum"})}var KR=V(()=>{AN(),OP(),rN(),MC()}),JR=V(()=>{KR()});function eD(e){return e===$D.False?e:$D.True}function tD(e){throw new MD(e)}function aD(e){return PM(e)||kM(e)||ZM(e)||QM(e)||hM(e)}function rD(e,t){return PM(t)?lD(e,t):kM(t)?sD(e,t):ZM(t)?_D(e,t):QM(t)?TD(e,t):hM(t)?nD(e,t):tD("StructuralRight")}function nD(e,t){return $D.True}function oD(e,t){return EM(e)||vM(e)?$D.True:$D.False}function iD(e,t){return CM(e)&&AC(e.const)||NM(e)||xM(e)?$D.True:$D.False}function sD(e,t){return t.allOf.every(t=>CD(e,t)===$D.True)?$D.True:$D.False}function lD(e,t){return $D.False}function cD(e){let[t,a]=[e,0];for(;MM(t);)t=t.not,a+=1;return a%2==0?t:UR()}function uD(e,t){return TM(e)||NM(e)||xM(e)?$D.True:$D.False}function dD(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function pD(e){return gD(e)}function hD(e){return dD(e,0)||dD(e,1)&&"description"in e.properties&&ZM(e.properties.description)&&2===e.properties.description.anyOf.length&&(BM(e.properties.description.anyOf[0])&&HM(e.properties.description.anyOf[1])||BM(e.properties.description.anyOf[1])&&HM(e.properties.description.anyOf[0]))}function mD(e){return dD(e,0)}function fD(e){return dD(e,0)}function gD(e){let t=$N();return dD(e,0)||dD(e,1)&&"length"in e.properties&&eD(CD(e.properties.length,t))===$D.True}function vD(e,t){return CD(e,t)===$D.False||pM(e)&&!pM(t)?$D.False:$D.True}function bD(e,t){return QM(e)?$D.False:hM(e)?$D.Union:PM(e)||_M(e)&&pD(t)||TM(e)&&mD(t)||EM(e)&&fD(t)||jM(e)&&hD(t)||gM(e)&&function(e){return dD(e,0)}(t)||BM(e)&&pD(t)||jM(e)&&hD(t)||NM(e)&&mD(t)||xM(e)&&mD(t)||vM(e)&&fD(t)||VM(e)&&function(e){return gD(e)}(t)||yM(e)&&function(e){return dD(e,0)}(t)||bM(e)&&function(e){return dD(e,0)}(t)||OM(e)&&function(e){let t=$N();return dD(e,0)||dD(e,1)&&"length"in e.properties&&eD(CD(e.properties.length,t))===$D.True}(t)?$D.True:DM(e)&&BM(OD(e))?"Record"===t[hP]?$D.True:$D.False:DM(e)&&NM(OD(e))&&dD(t,0)?$D.True:$D.False}function yD(e,t){return aD(t)?rD(e,t):IM(t)&&function(e){let t=Q$([b$()],b$());return dD(e,0)||dD(e,1)&&"then"in e.properties&&eD(CD(e.properties.then,t))===$D.True}(t)?$D.True:RM(t)?eD(CD(e.item,t.item)):$D.False}function OD(e){return KM in e.patternProperties?$N():JM in e.patternProperties?RN():tD("Unknown record key pattern")}function xD(e){return KM in e.patternProperties?e.patternProperties[KM]:JM in e.patternProperties?e.patternProperties[JM]:tD("Unable to get record value schema")}function wD(e,t){let[a,r]=[OD(t),xD(t)];return _M(e)&&NM(a)&&eD(CD(e,r))===$D.True?$D.True:VM(e)&&NM(a)||BM(e)&&NM(a)||mM(e)&&NM(a)?CD(e,r):IM(e)?(()=>{for(let t of Object.getOwnPropertyNames(e.properties))if(vD(r,e.properties[t])===$D.False)return $D.False;return $D.True})():$D.False}function kD(e,t){return CM(e)&&EC(e.const)||BM(e)?$D.True:$D.False}function SD(e,t){return aD(t)?rD(e,t):IM(t)&&gD(t)||mM(t)&&function(e,t){return mM(t)&&void 0!==e.items&&e.items.every(e=>CD(e,t.items)===$D.True)}(e,t)?$D.True:zM(t)?PC(e.items)&&!PC(t.items)||!PC(e.items)&&PC(t.items)?$D.False:PC(e.items)&&!PC(t.items)||e.items.every((e,a)=>CD(e,t.items[a])===$D.True)?$D.True:$D.False:$D.False}function AD(e,t){return aD(t)?rD(e,t):IM(t)?bD(e,t):DM(t)?wD(e,t):qM(t)?function(e){return HM(e)||HM(e)?$D.True:$D.False}(e):HM(t)?$D.True:$D.False}function _D(e,t){return t.anyOf.some(t=>CD(e,t)===$D.True)?$D.True:$D.False}function TD(e,t){return $D.True}function ED(e,t){return PM(t)?lD():kM(t)?sD(e,t):ZM(t)?_D(e,t):hM(t)?nD():BM(t)?kD(e):NM(t)?uD(e):xM(t)?iD(e):vM(t)?oD(e):mM(t)?function(e){return QM(e)?$D.False:hM(e)?$D.Union:PM(e)?$D.True:$D.False}(e):zM(t)?function(e){return PM(e)?$D.True:QM(e)?$D.False:hM(e)?$D.Union:$D.False}(e):IM(t)?bD(e,t):QM(t)?$D.True:$D.False}function CD(e,t){return UM(e)||UM(t)?function(e,t){return UM(e)?CD(qN(e),t):UM(t)?CD(e,qN(t)):tD("Invalid fallthrough for TemplateLiteral")}(e,t):LM(e)||LM(t)?function(e,t){return CD(LM(e)?RN():e,LM(t)?RN():t)}(e,t):MM(e)||MM(t)?function(e,t){return MM(e)?CD(cD(e),t):MM(t)?CD(e,cD(t)):tD("Invalid fallthrough for Not")}(e,t):hM(e)?function(e,t){return kM(t)?sD(e,t):ZM(t)&&t.anyOf.some(e=>hM(e)||QM(e))?$D.True:ZM(t)?$D.Union:QM(t)||hM(t)?$D.True:$D.Union}(e,t):mM(e)?function(e,t){return IM(t)&&gD(t)?$D.True:aD(t)?rD(e,t):mM(t)?eD(CD(e.items,t.items)):$D.False}(e,t):gM(e)?function(e,t){return aD(t)?rD(e,t):IM(t)?bD(e,t):DM(t)?wD(e,t):gM(t)?$D.True:$D.False}(e,t):vM(e)?function(e,t){return aD(t)?rD(e,t):IM(t)?bD(e,t):DM(t)?wD(e,t):vM(t)?$D.True:$D.False}(e,t):fM(e)?function(e,t){return aD(t)?rD(e,t):fM(t)?eD(CD(e.items,t.items)):$D.False}(e,t):bM(e)?function(e,t){return aD(t)?rD(e,t):IM(t)?bD(e,t):bM(t)?e.parameters.length>t.parameters.length?$D.False:e.parameters.every((e,a)=>eD(CD(t.parameters[a],e))===$D.True)?eD(CD(e.returns,t.returns)):$D.False:$D.False}(e,t):yM(e)?function(e,t){return aD(t)?rD(e,t):IM(t)?bD(e,t):DM(t)?wD(e,t):yM(t)?$D.True:$D.False}(e,t):OM(e)?function(e,t){return aD(t)?rD(e,t):IM(t)?bD(e,t):OM(t)?e.parameters.length>t.parameters.length?$D.False:e.parameters.every((e,a)=>eD(CD(t.parameters[a],e))===$D.True)?eD(CD(e.returns,t.returns)):$D.False:$D.False}(e,t):xM(e)?function(e,t){return xM(t)||NM(t)?$D.True:aD(t)?rD(e,t):IM(t)?bD(e,t):DM(t)?wD(e,t):$D.False}(e,t):kM(e)?function(e,t){return e.allOf.some(e=>CD(e,t)===$D.True)?$D.True:$D.False}(e,t):SM(e)?function(e,t){return aD(t)?rD(e,t):SM(t)?eD(CD(e.items,t.items)):$D.False}(e,t):CM(e)?function(e,t){return CM(t)&&t.const===e.const?$D.True:aD(t)?rD(e,t):IM(t)?bD(e,t):DM(t)?wD(e,t):BM(t)?kD(e):NM(t)?uD(e):xM(t)?iD(e):vM(t)?oD(e):$D.False}(e,t):PM(e)?$D.True:$M(e)?function(e,t){return aD(t)?rD(e,t):IM(t)?bD(e,t):DM(t)?wD(e,t):$M(t)?$D.True:$D.False}(e,t):NM(e)?function(e,t){return aD(t)?rD(e,t):IM(t)?bD(e,t):DM(t)?wD(e,t):xM(t)||NM(t)?$D.True:$D.False}(e,t):IM(e)?function(e,t){return aD(t)?rD(e,t):DM(t)?wD(e,t):IM(t)?(()=>{for(let a of Object.getOwnPropertyNames(t.properties)){if(!(a in e.properties)&&!pM(t.properties[a]))return $D.False;if(pM(t.properties[a]))return $D.True;if(vD(e.properties[a],t.properties[a])===$D.False)return $D.False}return $D.True})():$D.False}(e,t):DM(e)?function(e,t){return aD(t)?rD(e,t):IM(t)?bD(e,t):DM(t)?CD(xD(e),xD(t)):$D.False}(e,t):BM(e)?function(e,t){return aD(t)?rD(e,t):IM(t)?bD(e,t):DM(t)?wD(e,t):BM(t)?$D.True:$D.False}(e,t):jM(e)?function(e,t){return aD(t)?rD(e,t):IM(t)?bD(e,t):DM(t)?wD(e,t):jM(t)?$D.True:$D.False}(e,t):zM(e)?SD(e,t):RM(e)?yD(e,t):VM(e)?function(e,t){return aD(t)?rD(e,t):IM(t)?bD(e,t):DM(t)?wD(e,t):VM(t)?$D.True:$D.False}(e,t):HM(e)?AD(e,t):ZM(e)?function(e,t){return e.anyOf.every(e=>CD(e,t)===$D.True)?$D.True:$D.False}(e,t):QM(e)?ED(e,t):qM(e)?function(e,t){return kM(t)?sD(e,t):ZM(t)?_D(e,t):QM(t)?TD():hM(t)?nD():IM(t)?bD(e,t):qM(t)?$D.True:$D.False}(e,t):tD(`Unknown left type operand '${e[mP]}'`)}function PD(e,t){return CD(e,t)}var MD,$D,ND=V(()=>{O$(),F$(),IN(),LN(),HR(),GN(),i$(),OP(),bP(),a$(),MD=class extends cP{},function(e){e[e.Union=0]="Union",e[e.True=1]="True",e[e.False=2]="False"}($D||={})});function ID(e,t,a,r,n){return function(e,t,a,r,n){let o={};for(let i of globalThis.Object.getOwnPropertyNames(e))o[i]=DD(e[i],t,a,r,NC(n));return o}(e.properties,t,a,r,n)}var RD=V(()=>{jI(),LD(),IC()});function DD(e,t,a,r,n){return jP(e)?function(e,t,a,r,n){return U$(ID(e,t,a,r,n))}(e,t,a,r,n):BP(e)?lP(function(e,t,a,r,n){return U$(function(e,t,a,r,n){return function(e,t,a,r,n){return e.reduce((e,o)=>({...e,...BD(o,t,a,r,n)}),{})}(e.keys,t,a,r,n)}(e,t,a,r,n))}(e,t,a,r,n)):lP(function(e,t,a,r){let n=PD(e,t);return n===$D.Union?tN([a,r]):n===$D.True?a:r}(e,t,a,r),n)}var LD=V(()=>{fP(),rN(),ND(),jD(),RD(),rM()});function BD(e,t,a,r,n){return{[e]:DD(kN(e),t,a,r,NC(n))}}var jD=V(()=>{jI(),AN(),LD(),IC()});function UD(e){return"Intersect"===e[mP]?function(e){return e.allOf.every(e=>UD(e))}(e):"Union"===e[mP]?function(e){return e.anyOf.some(e=>UD(e))}(e):"Not"===e[mP]?function(e){return!UD(e.not)}(e):"Undefined"===e[mP]}var zD=V(()=>{OP()}),HD=V(()=>{ND(),jD(),RD(),zD(),LD()});var ZD=V(()=>{QD(),GN()});function VD(e,t,a={}){return GP(e)?lP(function(e,t){return VD(qN(e),t)}(e,t),a):jP(e)?lP(function(e,t){return U$(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=VD(e[r],t);return a}(e.properties,t)}(e,t))}(e,t),a):lP(eM(e)?function(e,t){let a=e.filter(e=>PD(e,t)===$D.False);return 1===a.length?a[0]:tN(a)}(e.anyOf,t):PD(e,t)===$D.False?e:D$(),a)}var QD=V(()=>{fP(),rN(),B$(),HD(),qD(),ZD(),rM()});var qD=V(()=>{jI(),QD()}),FD=V(()=>{qD(),ZD(),QD()});var WD=V(()=>{GD(),GN()});function XD(e,t,a){return GP(e)?lP(function(e,t){return XD(qN(e),t)}(e,t),a):jP(e)?lP(function(e,t){return U$(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=XD(e[r],t);return a}(e.properties,t)}(e,t))}(e,t),a):lP(eM(e)?function(e,t){let a=e.filter(e=>PD(e,t)!==$D.False);return 1===a.length?a[0]:tN(a)}(e.anyOf,t):PD(e,t)===$D.False?D$():e,a)}var GD=V(()=>{fP(),rN(),B$(),HD(),YD(),WD(),rM()});var YD=V(()=>{jI(),GD()}),KD=V(()=>{YD(),WD(),GD()});function JD(e,t){return PP(e)?lP(e.returns,t):D$(t)}var eL=V(()=>{fP(),B$(),rM()}),tL=V(()=>{eL()});function aL(e){return _I(zI(e))}var rL=V(()=>{CI(),VI()}),nL=V(()=>{rL()});function oL(e,t,a){return lP({[mP]:"Record",type:"object",patternProperties:{[e]:t}},a)}function iL(e,t,a){let r={};for(let a of e)r[a]=t;return yI(r,{...a,[hP]:"Record"})}function sL(e,t,a={}){return eM(e)?function(e,t,a){return iL(eI(tN(e)),t,a)}(e.anyOf,t,a):GP(e)?function(e,t,a){return mN(e)?iL(eI(e),t,a):oL(e.pattern,t,a)}(e,t,a):LP(e)?function(e,t,a){return iL([e.toString()],t,a)}(e.const,t,a):EP(e)?function(e,t,a){return yI({true:t,false:t},a)}(0,t,a):$P(e)||HP(e)?function(e,t,a){return oL(KM,t,a)}(0,t,a):FP(e)?function(e,t,a){return oL(e.source,t,a)}(e,t,a):WP(e)?function(e,t,a){return oL(PC(e.pattern)?JM:e.pattern,t,a)}(e,t,a):kP(e)?function(e,t,a){return oL(JM,t,a)}(0,t,a):UP(e)?function(e,t,a){return oL(e$,t,a)}(0,t,a):D$(a)}function lL(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function cL(e){return e.patternProperties[lL(e)]}var uL=V(()=>{fP(),OP(),B$(),IN(),xI(),LN(),rN(),GN(),i$(),mI(),MC(),rM()}),dL=V(()=>{uL()});function pL(e,t){let a=function(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((a,r)=>({...a,[r]:mL(e,t[r])}),{})}(e,t.properties);return{...t,...yI(a)}}function hL(e,t){let a=sL(gL(e,function(e){let t=lL(e);return t===JM?RN():t===KM?$N():RN({pattern:t})}(t)),gL(e,cL(t)));return{...t,...a}}function mL(e,t){let a=xP(t),r=wP(t),n=gL(e,t);return a&&r?aL(n):a&&!r?_I(n):!a&&r?zI(n):n}function fL(e,t){return t.map(t=>gL(e,t))}function gL(e,t){return PP(t)||MP(t)?function(e,t){return t.parameters=fL(e,t.parameters),t.returns=gL(e,t.returns),t}(e,t):NP(t)?function(e,t){return t.allOf=fL(e,t.allOf),t}(e,t):eM(t)?function(e,t){return t.anyOf=fL(e,t.anyOf),t}(e,t):KP(t)?function(e,t){return PC(t.items)||(t.items=fL(e,t.items)),t}(e,t):AP(t)||_P(t)||IP(t)?function(e,t){return t.items=gL(e,t.items),t}(e,t):VP(t)?function(e,t){return t.item=gL(e,t.item),t}(e,t):ZP(t)?pL(e,t):QP(t)?hL(e,t):SP(t)?function(e,t){return t.index in e?e[t.index]:UR()}(e,t):t}function vL(e,t){return gL(t,RC(e))}var bL=V(()=>{DC(),HR(),nL(),CI(),VI(),xI(),dL(),MC(),rM()}),yL=V(()=>{bL()});function OL(e){return lP({[mP]:"Integer",type:"integer"},e)}var xL=V(()=>{fP(),OP()}),wL=V(()=>{xL()});function kL(e,t,a){return{[e]:EL(kN(e),t,NC(a))}}function SL(e,t,a){return function(e,t,a){return e.reduce((e,r)=>({...e,...kL(r,t,a)}),{})}(e.keys,t,a)}var AL=V(()=>{jI(),CL(),AN(),IC()});function _L(e,t){return"string"==typeof e?"Uncapitalize"===t?function(e){let[t,a]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),a].join("")}(e):"Capitalize"===t?function(e){let[t,a]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),a].join("")}(e):"Uppercase"===t?function(e){return e.toUpperCase()}(e):"Lowercase"===t?function(e){return e.toLowerCase()}(e):e:e.toString()}function TL(e,t){return e.map(e=>EL(e,t))}function EL(e,t,a={}){return BP(e)?function(e,t,a){return U$(SL(e,t,a))}(e,t,a):GP(e)?function(e,t,a){let r=uN(e.pattern);return hN(r)?WN([tN(TL([...yN(r)].map(e=>kN(e)),t))],a):{...e,pattern:_L(e.pattern,t)}}(e,t,a):eM(e)?tN(TL(e.anyOf,t),a):LP(e)?kN(_L(e.const,t),a):lP(e,a)}var CL=V(()=>{fP(),GN(),AL(),AN(),rN(),rM()});function PL(e,t={}){return EL(e,"Capitalize",t)}var ML=V(()=>{CL()});function $L(e,t={}){return EL(e,"Lowercase",t)}var NL=V(()=>{CL()});function IL(e,t={}){return EL(e,"Uncapitalize",t)}var RL=V(()=>{CL()});function DL(e,t={}){return EL(e,"Uppercase",t)}var LL=V(()=>{CL()}),BL=V(()=>{ML(),AL(),CL(),NL(),RL(),LL()});function jL(e,t,a){return function(e,t,a){let r={};for(let n of globalThis.Object.getOwnPropertyNames(e))r[n]=HL(e[n],t,NC(a));return r}(e.properties,t,a)}var UL=V(()=>{jI(),ZL(),IC()});function zL(e,t){return NP(e)?KI(function(e,t){return e.map(e=>zL(e,t))}(e.allOf,t)):eM(e)?tN(function(e,t){return e.map(e=>zL(e,t))}(e.anyOf,t)):ZP(e)?function(e,t){let a=N$(e,[uP,"$id","required","properties"]);return yI(function(e,t){return t.reduce((e,t)=>function(e,t){let{[t]:a,...r}=e;return r}(e,t),e)}(e.properties,t),a)}(e,t):yI({})}function HL(e,t,a){let r=xC(t)?function(e){return tN(e.reduce((e,t)=>DP(t)?[...e,kN(t)]:e,[]))}(t):t,n=aM(t)?eI(t):t,o=qP(e),i=qP(t);return jP(e)?function(e,t,a){return U$(jL(e,t,a))}(e,n,a):BP(t)?function(e,t,a){return U$(function(e,t,a){return function(e,t,a){return t.reduce((t,r)=>({...t,...VL(e,r,a)}),{})}(e,t.keys,a)}(e,t,a))}(e,t,a):o&&i||!o&&i||o&&!i?P$("Omit",[e,r],a):lP({...zL(e,n),...a})}var ZL=V(()=>{fP(),I$(),yP(),$$(),AN(),mI(),eR(),rN(),xI(),QL(),UL(),rM(),MC()});function VL(e,t,a){return{[t]:HL(e,[t],NC(a))}}var QL=V(()=>{jI(),ZL(),IC()}),qL=V(()=>{QL(),UL(),ZL()});function FL(e,t,a){return function(e,t,a){let r={};for(let n of globalThis.Object.getOwnPropertyNames(e))r[n]=GL(e[n],t,NC(a));return r}(e.properties,t,a)}var WL=V(()=>{jI(),YL(),IC()});function XL(e,t){return NP(e)?KI(function(e,t){return e.map(e=>XL(e,t))}(e.allOf,t)):eM(e)?tN(function(e,t){return e.map(e=>XL(e,t))}(e.anyOf,t)):ZP(e)?function(e,t){let a=N$(e,[uP,"$id","required","properties"]);return yI(function(e,t){let a={};for(let r of t)r in e&&(a[r]=e[r]);return a}(e.properties,t),a)}(e,t):yI({})}function GL(e,t,a){let r=xC(t)?function(e){return tN(e.reduce((e,t)=>DP(t)?[...e,kN(t)]:e,[]))}(t):t,n=aM(t)?eI(t):t,o=qP(e),i=qP(t);return jP(e)?function(e,t,a){return U$(FL(e,t,a))}(e,n,a):BP(t)?function(e,t,a){return U$(function(e,t,a){return function(e,t,a){return t.reduce((t,r)=>({...t,...KL(e,r,a)}),{})}(e,t.keys,a)}(e,t,a))}(e,t,a):o&&i||!o&&i||o&&!i?P$("Pick",[e,r],a):lP({...XL(e,n),...a})}var YL=V(()=>{fP(),I$(),$$(),eR(),AN(),xI(),rN(),mI(),yP(),rM(),MC(),JL(),WL()});function KL(e,t,a){return{[t]:GL(e,[t],NC(a))}}var JL=V(()=>{jI(),YL(),IC()}),eB=V(()=>{JL(),WL(),YL()});function tB(e){let t=N$(e,[uP,"$id","required","properties"]);return yI(function(e){let t={};for(let a of globalThis.Object.getOwnPropertyNames(e))t[a]=zI(e[a]);return t}(e.properties),t)}function aB(e){return e.map(e=>rB(e))}function rB(e){return CP(e)?function(e,t){return P$("Partial",[P$(e,t)])}(e.target,e.parameters):qP(e)?function(e){return P$("Partial",[tR(e)])}(e.$ref):NP(e)?KI(aB(e.allOf)):eM(e)?tN(aB(e.anyOf)):ZP(e)?tB(e):TP(e)||EP(e)||$P(e)||LP(e)||zP(e)||HP(e)||WP(e)||XP(e)||JP(e)?e:yI({})}function nB(e,t){return jP(e)?function(e,t){return U$(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=nB(e[r],NC(t));return a}(e.properties,t)}(e,t))}(e,t):lP({...rB(e),...t})}var oB=V(()=>{fP(),$$(),VI(),xI(),eR(),rN(),rR(),R$(),OP(),iB(),rM()});var iB=V(()=>{jI(),oB(),IC()}),sB=V(()=>{iB(),oB()});function lB(e){let t=N$(e,[uP,"$id","required","properties"]);return yI(function(e){let t={};for(let a of globalThis.Object.getOwnPropertyNames(e))t[a]=N$(e[a],[pP]);return t}(e.properties),t)}function cB(e){return e.map(e=>uB(e))}function uB(e){return CP(e)?function(e,t){return P$("Required",[P$(e,t)])}(e.target,e.parameters):qP(e)?function(e){return P$("Required",[tR(e)])}(e.$ref):NP(e)?KI(cB(e.allOf)):eM(e)?tN(cB(e.anyOf)):ZP(e)?lB(e):TP(e)||EP(e)||$P(e)||LP(e)||zP(e)||HP(e)||WP(e)||XP(e)||JP(e)?e:yI({})}function dB(e,t){return jP(e)?function(e,t){return U$(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=dB(e[r],t);return a}(e.properties,t)}(e,t))}(e,t):lP({...uB(e),...t})}var pB=V(()=>{fP(),$$(),xI(),eR(),rN(),rR(),OP(),R$(),hB(),rM()});var hB=V(()=>{jI(),pB()}),mB=V(()=>{hB(),pB()});function fB(e,t){return t in e?qP(e[t])?fB(e,e[t].$ref):bB(e,e[t]):D$()}function gB(e,t,a){let r=function(e,t){return t.map(t=>qP(t)?fB(e,t.$ref):bB(e,t))}(e,a);return"Awaited"===t?function(e){return oR(e[0])}(r):"Index"===t?function(e){return uI(e[0],e[1])}(r):"KeyOf"===t?function(e){return mR(e[0])}(r):"Partial"===t?function(e){return nB(e[0])}(r):"Omit"===t?function(e){return HL(e[0],e[1])}(r):"Pick"===t?function(e){return GL(e[0],e[1])}(r):"Required"===t?function(e){return dB(e[0])}(r):D$()}function vB(e,t){return t.map(t=>bB(e,t))}function bB(e,t){return wP(t)?lP(bB(e,N$(t,[pP])),t):xP(t)?lP(bB(e,N$(t,[dP])),t):YP(t)?lP(function(e,t){return qP(t)?{...fB(e,t.$ref),[uP]:t[uP]}:t}(e,t),t):AP(t)?lP(function(e,t){return x$(bB(e,t))}(e,t.items),t):_P(t)?lP(function(e,t){return T$(bB(e,t))}(e,t.items),t):CP(t)?lP(gB(e,t.target,t.parameters)):PP(t)?lP(function(e,t,a){return H$(vB(e,t),bB(e,a))}(e,t.parameters,t.returns),t):MP(t)?lP(function(e,t,a){return Q$(vB(e,t),bB(e,a))}(e,t.parameters,t.returns),t):NP(t)?lP(function(e,t){return KI(vB(e,t))}(e,t.allOf),t):IP(t)?lP(function(e,t){return fI(bB(e,t))}(e,t.items),t):ZP(t)?lP(function(e,t){return yI(globalThis.Object.keys(t).reduce((a,r)=>({...a,[r]:bB(e,t[r])}),{}))}(e,t.properties),t):QP(t)?lP(function(e,t){let[a,r]=[bB(e,cL(t)),lL(t)],n=RC(t);return n.patternProperties[r]=a,n}(e,t)):KP(t)?lP(function(e,t){return PI(vB(e,t))}(e,t.items||[]),t):eM(t)?lP(function(e,t){return tN(vB(e,t))}(e,t.anyOf),t):t}function yB(e,t){return t in e?bB(e,e[t]):D$()}var OB=V(()=>{gP(),LC(),R$(),k$(),sR(),C$(),V$(),mI(),F$(),eR(),vI(),yR(),xI(),qL(),eB(),B$(),sB(),dL(),mB(),$I(),rN(),OP(),rM()});function xB(e){return new wB(e)}var wB,kB=V(()=>{gP(),OP(),OB(),wB=class{constructor(e){let t=function(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,a)=>({...t,[a]:yB(e,a)}),{})}(e);this.$defs=this.WithIdentifiers(t)}Import(e,t){let a={...this.$defs,[e]:lP(this.$defs[e],t)};return lP({[mP]:"Import",$defs:a,$ref:e})}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,a)=>({...t,[a]:{...e[a],$id:a}}),{})}}}),SB=V(()=>{kB()});function AB(e,t){return lP({[mP]:"Not",not:e},t)}var _B=V(()=>{fP(),OP()}),TB=V(()=>{_B()});function EB(e,t){return MP(e)?PI(e.parameters,t):D$()}var CB=V(()=>{$I(),B$(),rM()}),PB=V(()=>{CB()});function MB(e,t={}){PC(t.$id)&&(t.$id="T"+$B++);let a=RC(e({[mP]:"This",$ref:`${t.$id}`}));return a.$id=t.$id,lP({[hP]:"Recursive",...a},t)}var $B,NB=V(()=>{DC(),fP(),MC(),OP(),$B=0}),IB=V(()=>{NB()});function RB(e,t){let a=EC(e)?new globalThis.RegExp(e):e;return lP({[mP]:"RegExp",type:"RegExp",source:a.source,flags:a.flags},t)}var DB=V(()=>{fP(),MC(),OP()}),LB=V(()=>{DB()});function BB(e){return function(e){return NP(e)?e.allOf:eM(e)?e.anyOf:KP(e)?e.items??[]:[]}(e)}var jB=V(()=>{rM()}),UB=V(()=>{jB()});function zB(e,t){return MP(e)?lP(e.returns,t):D$(t)}var HB=V(()=>{fP(),B$(),rM()}),ZB=V(()=>{HB()}),VB=V(()=>{}),QB=V(()=>{}),qB=V(()=>{VB(),QB()}),FB=V(()=>{}),WB=V(()=>{FB()});function XB(e){return new GB(e)}var GB,YB,KB=V(()=>{OP(),rM(),GB=class{constructor(e){this.schema=e}Decode(e){return new YB(this.schema,e)}},YB=class{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){let a={Encode:a=>t[uP].Encode(e(a)),Decode:e=>this.decode(t[uP].Decode(e))};return{...t,[uP]:a}}EncodeSchema(e,t){let a={Decode:this.decode,Encode:e};return{...t,[uP]:a}}Encode(e){return YP(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}}}),JB=V(()=>{KB()});function ej(e={}){return lP({[mP]:e[mP]??"Unsafe"},e)}var tj=V(()=>{fP(),OP()}),aj=V(()=>{tj()});function rj(e){return lP({[mP]:"Void",type:"void"},e)}var nj,oj,ij,sj,lj,cj=V(()=>{fP(),OP()}),uj=V(()=>{cj()}),dj=Q({Any:()=>b$,Argument:()=>S$,Array:()=>x$,AsyncIterator:()=>T$,Awaited:()=>oR,BigInt:()=>CN,Boolean:()=>_N,Capitalize:()=>PL,Composite:()=>wR,Const:()=>QR,Constructor:()=>H$,ConstructorParameters:()=>WR,Date:()=>AR,Enum:()=>YR,Exclude:()=>VD,Extends:()=>DD,Extract:()=>XD,Function:()=>Q$,Index:()=>uI,InstanceType:()=>JD,Instantiate:()=>vL,Integer:()=>OL,Intersect:()=>KI,Iterator:()=>fI,KeyOf:()=>mR,Literal:()=>kN,Lowercase:()=>$L,Mapped:()=>LI,Module:()=>xB,Never:()=>D$,Not:()=>AB,Null:()=>ER,Number:()=>$N,Object:()=>yI,Omit:()=>HL,Optional:()=>zI,Parameters:()=>EB,Partial:()=>nB,Pick:()=>GL,Promise:()=>wI,Readonly:()=>_I,ReadonlyOptional:()=>aL,Record:()=>sL,Recursive:()=>MB,Ref:()=>tR,RegExp:()=>RB,Required:()=>dB,Rest:()=>BB,ReturnType:()=>zB,String:()=>RN,Symbol:()=>MR,TemplateLiteral:()=>WN,Transform:()=>XB,Tuple:()=>PI,Uint8Array:()=>LR,Uncapitalize:()=>IL,Undefined:()=>IR,Union:()=>tN,Unknown:()=>UR,Unsafe:()=>ej,Uppercase:()=>DL,Void:()=>rj}),pj=V(()=>{O$(),_$(),k$(),C$(),sR(),MN(),EN(),SR(),FR(),V$(),GR(),TR(),JR(),FD(),HD(),KD(),F$(),mI(),tL(),yL(),wL(),eR(),BL(),vI(),yR(),AN(),jI(),SB(),B$(),TB(),PR(),IN(),xI(),qL(),VI(),PB(),sB(),eB(),SI(),CI(),nL(),dL(),IB(),rR(),LB(),mB(),UB(),ZB(),LN(),NR(),GN(),JB(),$I(),jR(),DR(),rN(),HR(),aj(),uj()}),hj=V(()=>{pj(),nj=dj}),mj=V(()=>{LC(),gP(),bP(),a$(),n$(),i$(),f$(),v$(),OP(),O$(),k$(),_$(),C$(),sR(),MN(),EN(),SR(),FR(),V$(),GR(),TR(),JR(),FD(),HD(),KD(),F$(),mI(),tL(),yL(),wL(),eR(),vI(),BL(),yR(),AN(),SB(),jI(),B$(),TB(),PR(),IN(),xI(),qL(),VI(),PB(),sB(),eB(),SI(),CI(),nL(),dL(),IB(),rR(),LB(),mB(),UB(),ZB(),qB(),WB(),LN(),NR(),GN(),JB(),$I(),jR(),DR(),rN(),HR(),aj(),uj(),hj()}),fj=V(()=>{mj(),oj=(...e)=>nj.Composite(e)}),gj=V(()=>{f$(),aj(),OP(),bP(),ij=class extends cP{constructor(e){super(`Duplicate type kind '${e}' detected`)}},sj=class extends cP{constructor(e){super(`Duplicate string format '${e}' detected`)}},function(e){e.Type=function(e,t){if(d$(e))throw new ij(e);return function(e,t){h$.set(e,t)}(e,t),(t={})=>ej({...t,[mP]:e})},e.Format=function(e,t){if(s$(e))throw new sj(e);return function(e,t){c$.set(e,t)}(e,t),e}}(lj||={})}),vj=V(()=>{oP(),gj()});function bj(e){switch(e.errorType){case eU.ArrayContains:return"Expected array to contain at least one matching value";case eU.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case eU.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case eU.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case eU.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case eU.ArrayUniqueItems:return"Expected array elements to be unique";case eU.Array:return"Expected array";case eU.AsyncIterator:return"Expected AsyncIterator";case eU.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case eU.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case eU.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case eU.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case eU.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case eU.BigInt:return"Expected bigint";case eU.Boolean:return"Expected boolean";case eU.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case eU.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case eU.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case eU.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case eU.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case eU.Date:return"Expected Date";case eU.Function:return"Expected function";case eU.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case eU.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case eU.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case eU.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case eU.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case eU.Integer:return"Expected integer";case eU.IntersectUnevaluatedProperties:return"Unexpected property";case eU.Intersect:return"Expected all values to match";case eU.Iterator:return"Expected Iterator";case eU.Literal:return`Expected ${"string"==typeof e.schema.const?`'${e.schema.const}'`:e.schema.const}`;case eU.Never:return"Never";case eU.Not:return"Value should not match";case eU.Null:return"Expected null";case eU.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case eU.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case eU.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case eU.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case eU.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case eU.Number:return"Expected number";case eU.Object:return"Expected object";case eU.ObjectAdditionalProperties:return"Unexpected property";case eU.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case eU.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case eU.ObjectRequiredProperty:return"Expected required property";case eU.Promise:return"Expected Promise";case eU.RegExp:return"Expected string to match regular expression";case eU.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case eU.StringFormat:return`Expected string to match '${e.schema.format}' format`;case eU.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case eU.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case eU.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case eU.String:return"Expected string";case eU.Symbol:return"Expected symbol";case eU.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case eU.Tuple:return"Expected tuple";case eU.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case eU.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case eU.Uint8Array:return"Expected Uint8Array";case eU.Undefined:return"Expected undefined";case eU.Union:return"Expected union value";case eU.Void:return"Expected void";case eU.Kind:return`Expected kind '${e.schema[mP]}'`;default:return"Unknown error type"}}var yj,Oj=V(()=>{OP(),rU(),yj=bj});function xj(e,t){return!KC(e.$id)||t.some(t=>t.$id===e.$id)||t.push(e),t}function wj(e,t){return"This"===e[mP]||"Ref"===e[mP]?function(e,t){let a=t.find(t=>t.$id===e.$ref);if(void 0===a)throw new kj(e);return wj(a,t)}(e,t):e}var kj,Sj=V(()=>{bP(),OP(),rP(),kj=class extends cP{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`),this.schema=e}}}),Aj=V(()=>{Sj()});function*_j(e){let t=0===e?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let a=0;a<t;a++)yield e>>8*(t-1-a)&255}function Tj(e){if(QC(e))return function(e){Ej(Mj.Array);for(let t of e)Tj(t)}(e);if(WC(e))return function(e){Ej(Mj.Boolean),Ej(e?1:0)}(e);if(YC(e))return function(e){Ej(Mj.BigInt),Lj.setBigInt64(0,e);for(let e of Bj)Ej(e)}(e);if(zC(e))return function(e){Ej(Mj.Date),Tj(e.getTime())}(e);if(!FC(e)){if(XC(e))return function(e){Ej(Mj.Number),Lj.setFloat64(0,e);for(let e of Bj)Ej(e)}(e);if(VC(e))return function(e){Ej(Mj.Object);for(let t of globalThis.Object.getOwnPropertyNames(e).sort())Tj(t),Tj(e[t])}(e);if(KC(e))return function(e){Ej(Mj.String);for(let t=0;t<e.length;t++)for(let a of _j(e.charCodeAt(t)))Ej(a)}(e);if(eP(e))return function(e){Ej(Mj.Symbol),Tj(e.description)}(e);if(HC(e))return function(e){Ej(Mj.Uint8Array);for(let t=0;t<e.length;t++)Ej(e[t])}(e);if(qC(e))return Ej(Mj.Undefined);throw new Pj(e)}Ej(Mj.Null)}function Ej(e){$j=($j^=Rj[e])*Nj%Ij}function Cj(e){return $j=BigInt("14695981039346656037"),Tj(e),$j}var Pj,Mj,$j,Nj,Ij,Rj,Dj,Lj,Bj,jj=V(()=>{nP(),bP(),Pj=class extends cP{constructor(e){super("Unable to hash value"),this.value=e}},function(e){e[e.Undefined=0]="Undefined",e[e.Null=1]="Null",e[e.Boolean=2]="Boolean",e[e.Number=3]="Number",e[e.String=4]="String",e[e.Object=5]="Object",e[e.Array=6]="Array",e[e.Date=7]="Date",e[e.Uint8Array=8]="Uint8Array",e[e.Symbol=9]="Symbol",e[e.BigInt=10]="BigInt"}(Mj||={}),$j=BigInt("14695981039346656037"),[Nj,Ij]=[BigInt("1099511628211"),BigInt("18446744073709551616")],Rj=Array.from({length:256}).map((e,t)=>BigInt(t)),Dj=new Float64Array(1),Lj=new DataView(Dj.buffer),Bj=new Uint8Array(Dj.buffer)}),Uj=V(()=>{jj()});function zj(e,t,a){let r=e.get(t);return(!r||!r.has(a))&&(r?(r.add(a),!0):void e.set(t,new WeakSet([a])))}function Hj(e){return"Any"===e[mP]||"Unknown"===e[mP]}function Zj(e){return void 0!==e}function Vj(e,t,a,r){let n=Zj(e.$id)?xj(e,t):t,o=e;switch(o[mP]){case"Any":case"Argument":case"Unknown":return!0;case"Array":return function(e,t,a,r){if(!QC(a)||Zj(e.minItems)&&!(a.length>=e.minItems)||Zj(e.maxItems)&&!(a.length<=e.maxItems))return!1;if(!1===zj(r,a,e))return!0;if(!a.every(a=>Vj(e.items,t,a,r))||!0===e.uniqueItems&&!function(){let e=new Set;for(let t of a){let a=Cj(t);if(e.has(a))return!1;e.add(a)}return!0}())return!1;if(!(Zj(e.contains)||XC(e.minContains)||XC(e.maxContains)))return!0;let n=Zj(e.contains)?e.contains:D$(),o=a.reduce((e,a)=>Vj(n,t,a,r)?e+1:e,0);return!(0===o||XC(e.minContains)&&o<e.minContains||XC(e.maxContains)&&o>e.maxContains)}(o,n,a,r);case"AsyncIterator":return function(e,t,a){return BC(a)}(0,0,a);case"BigInt":return function(e,t,a){return!(!YC(a)||Zj(e.exclusiveMaximum)&&!(a<e.exclusiveMaximum)||Zj(e.exclusiveMinimum)&&!(a>e.exclusiveMinimum)||Zj(e.maximum)&&!(a<=e.maximum)||Zj(e.minimum)&&!(a>=e.minimum)||Zj(e.multipleOf)&&a%e.multipleOf!==BigInt(0))}(o,0,a);case"Boolean":return function(e,t,a){return WC(a)}(0,0,a);case"Constructor":return function(e,t,a,r){return Vj(e.returns,t,a.prototype,r)}(o,n,a,r);case"Date":return function(e,t,a){return!(!zC(a)||Zj(e.exclusiveMaximumTimestamp)&&!(a.getTime()<e.exclusiveMaximumTimestamp)||Zj(e.exclusiveMinimumTimestamp)&&!(a.getTime()>e.exclusiveMinimumTimestamp)||Zj(e.maximumTimestamp)&&!(a.getTime()<=e.maximumTimestamp)||Zj(e.minimumTimestamp)&&!(a.getTime()>=e.minimumTimestamp)||Zj(e.multipleOfTimestamp)&&a.getTime()%e.multipleOfTimestamp!==0)}(o,0,a);case"Function":return function(e,t,a){return JC(a)}(0,0,a);case"Import":return function(e,t,a,r){let n=globalThis.Object.values(e.$defs);return Vj(e.$defs[e.$ref],[...t,...n],a,r)}(o,n,a,r);case"Integer":return function(e,t,a){return!(!GC(a)||Zj(e.exclusiveMaximum)&&!(a<e.exclusiveMaximum)||Zj(e.exclusiveMinimum)&&!(a>e.exclusiveMinimum)||Zj(e.maximum)&&!(a<=e.maximum)||Zj(e.minimum)&&!(a>=e.minimum)||Zj(e.multipleOf)&&a%e.multipleOf!==0)}(o,0,a);case"Intersect":return function(e,t,a,r){let n=e.allOf.every(e=>Vj(e,t,a,r));if(!1===e.unevaluatedProperties){let t=new RegExp(uR(e)),r=Object.getOwnPropertyNames(a).every(e=>t.test(e));return n&&r}if(aM(e.unevaluatedProperties)){let o=new RegExp(uR(e)),i=Object.getOwnPropertyNames(a).every(n=>o.test(n)||Vj(e.unevaluatedProperties,t,a[n],r));return n&&i}return n}(o,n,a,r);case"Iterator":return function(e,t,a){return jC(a)}(0,0,a);case"Literal":return function(e,t,a){return a===e.const}(o,0,a);case"Never":return!1;case"Not":return function(e,t,a,r){return!Vj(e.not,t,a,r)}(o,n,a,r);case"Null":return function(e,t,a){return FC(a)}(0,0,a);case"Number":return function(e,t,a){return!(!aP.IsNumberLike(a)||Zj(e.exclusiveMaximum)&&!(a<e.exclusiveMaximum)||Zj(e.exclusiveMinimum)&&!(a>e.exclusiveMinimum)||Zj(e.minimum)&&!(a>=e.minimum)||Zj(e.maximum)&&!(a<=e.maximum)||Zj(e.multipleOf)&&a%e.multipleOf!==0)}(o,0,a);case"Object":return function(e,t,a,r){if(!aP.IsObjectLike(a)||Zj(e.minProperties)&&!(Object.getOwnPropertyNames(a).length>=e.minProperties)||Zj(e.maxProperties)&&!(Object.getOwnPropertyNames(a).length<=e.maxProperties))return!1;if(!1===zj(r,a,e))return!0;let n=Object.getOwnPropertyNames(e.properties);for(let o of n){let n=e.properties[o];if(e.required&&e.required.includes(o)){if(!Vj(n,t,a[o],r)||(UD(n)||Hj(n))&&!(o in a))return!1}else if(aP.IsExactOptionalProperty(a,o)&&!Vj(n,t,a[o],r))return!1}if(!1===e.additionalProperties){let t=Object.getOwnPropertyNames(a);return!(!e.required||e.required.length!==n.length||t.length!==n.length)||t.every(e=>n.includes(e))}return"object"!=typeof e.additionalProperties||Object.getOwnPropertyNames(a).every(o=>n.includes(o)||Vj(e.additionalProperties,t,a[o],r))}(o,n,a,r);case"Promise":return function(e,t,a){return UC(a)}(0,0,a);case"Record":return function(e,t,a,r){if(!aP.IsRecordLike(a)||Zj(e.minProperties)&&!(Object.getOwnPropertyNames(a).length>=e.minProperties)||Zj(e.maxProperties)&&!(Object.getOwnPropertyNames(a).length<=e.maxProperties))return!1;let[n,o]=Object.entries(e.patternProperties)[0],i=new RegExp(n),s=Object.entries(a).every(([e,a])=>!i.test(e)||Vj(o,t,a,r)),l="object"!=typeof e.additionalProperties||Object.entries(a).every(([a,n])=>!!i.test(a)||Vj(e.additionalProperties,t,n,r)),c=!1!==e.additionalProperties||Object.getOwnPropertyNames(a).every(e=>i.test(e));return s&&l&&c}(o,n,a,r);case"Ref":case"This":return function(e,t,a,r){return Vj(wj(e,t),t,a,r)}(o,n,a,r);case"RegExp":return function(e,t,a){let r=new RegExp(e.source,e.flags);return(!Zj(e.minLength)||a.length>=e.minLength)&&(!Zj(e.maxLength)||a.length<=e.maxLength)&&r.test(a)}(o,0,a);case"String":return function(e,t,a){return!(!KC(a)||Zj(e.minLength)&&!(a.length>=e.minLength)||Zj(e.maxLength)&&!(a.length<=e.maxLength)||Zj(e.pattern)&&!new RegExp(e.pattern).test(a))&&(!Zj(e.format)||!!s$(e.format)&&l$(e.format)(a))}(o,0,a);case"Symbol":return function(e,t,a){return eP(a)}(0,0,a);case"TemplateLiteral":return function(e,t,a){return KC(a)&&new RegExp(e.pattern).test(a)}(o,0,a);case"Tuple":return function(e,t,a,r){if(!QC(a)||void 0===e.items&&0!==a.length||a.length!==e.maxItems)return!1;if(!e.items)return!0;for(let n=0;n<e.items.length;n++)if(!Vj(e.items[n],t,a[n],r))return!1;return!0}(o,n,a,r);case"Undefined":return function(e,t,a){return qC(a)}(0,0,a);case"Union":return function(e,t,a,r){return e.anyOf.some(e=>Vj(e,t,a,r))}(o,n,a,r);case"Uint8Array":return function(e,t,a){return!(!HC(a)||Zj(e.maxByteLength)&&!(a.length<=e.maxByteLength)||Zj(e.minByteLength)&&!(a.length>=e.minByteLength))}(o,0,a);case"Void":return function(e,t,a){return aP.IsVoidLike(a)}(0,0,a);default:if(!d$(o[mP]))throw new qj(o);return function(e,t,a){return!!d$(e[mP])&&p$(e[mP])(e,a)}(o,0,a)}}function Qj(...e){return 2===e.length||3===e.length&&e[2]instanceof WeakMap?Vj(e[0],[],e[1],e[2]??new WeakMap):Vj(e[0],e[1],e[2],e[3]??new WeakMap)}var qj,Fj=V(()=>{vj(),Aj(),Uj(),OP(),yR(),HD(),f$(),bP(),B$(),nP(),rM(),qj=class extends cP{constructor(e){super("Unknown type"),this.schema=e}}}),Wj=V(()=>{Fj()});function Xj(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Gj(e){return void 0!==e}function Yj(e,t,a,r,n=[]){return{type:e,schema:t,path:a,value:r,message:yj({errorType:e,path:a,schema:t,value:r,errors:n}),errors:n}}function*Kj(e,t,a,r){let n=Gj(e.$id)?[...t,e]:t,o=e;switch(o[mP]){case"Any":case"Argument":case"Unknown":return yield*function*(){}();case"Array":return yield*function*(e,t,a,r){if(!QC(r))return yield Yj(eU.Array,e,a,r);Gj(e.minItems)&&!(r.length>=e.minItems)&&(yield Yj(eU.ArrayMinItems,e,a,r)),Gj(e.maxItems)&&!(r.length<=e.maxItems)&&(yield Yj(eU.ArrayMaxItems,e,a,r));for(let n=0;n<r.length;n++)yield*Kj(e.items,t,`${a}/${n}`,r[n]);if(!0===e.uniqueItems&&!function(){let e=new Set;for(let t of r){let a=Cj(t);if(e.has(a))return!1;e.add(a)}return!0}()&&(yield Yj(eU.ArrayUniqueItems,e,a,r)),!(Gj(e.contains)||Gj(e.minContains)||Gj(e.maxContains)))return;let n=Gj(e.contains)?e.contains:D$(),o=r.reduce((e,r,o)=>!0===Kj(n,t,`${a}${o}`,r).next().done?e+1:e,0);0===o&&(yield Yj(eU.ArrayContains,e,a,r)),XC(e.minContains)&&o<e.minContains&&(yield Yj(eU.ArrayMinContains,e,a,r)),XC(e.maxContains)&&o>e.maxContains&&(yield Yj(eU.ArrayMaxContains,e,a,r))}(o,n,a,r);case"AsyncIterator":return yield*function*(e,t,a,r){BC(r)||(yield Yj(eU.AsyncIterator,e,a,r))}(o,0,a,r);case"BigInt":return yield*function*(e,t,a,r){if(!YC(r))return yield Yj(eU.BigInt,e,a,r);Gj(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield Yj(eU.BigIntExclusiveMaximum,e,a,r)),Gj(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield Yj(eU.BigIntExclusiveMinimum,e,a,r)),Gj(e.maximum)&&!(r<=e.maximum)&&(yield Yj(eU.BigIntMaximum,e,a,r)),Gj(e.minimum)&&!(r>=e.minimum)&&(yield Yj(eU.BigIntMinimum,e,a,r)),Gj(e.multipleOf)&&r%e.multipleOf!==BigInt(0)&&(yield Yj(eU.BigIntMultipleOf,e,a,r))}(o,0,a,r);case"Boolean":return yield*function*(e,t,a,r){WC(r)||(yield Yj(eU.Boolean,e,a,r))}(o,0,a,r);case"Constructor":return yield*function*(e,t,a,r){yield*Kj(e.returns,t,a,r.prototype)}(o,n,a,r);case"Date":return yield*function*(e,t,a,r){if(!zC(r))return yield Yj(eU.Date,e,a,r);Gj(e.exclusiveMaximumTimestamp)&&!(r.getTime()<e.exclusiveMaximumTimestamp)&&(yield Yj(eU.DateExclusiveMaximumTimestamp,e,a,r)),Gj(e.exclusiveMinimumTimestamp)&&!(r.getTime()>e.exclusiveMinimumTimestamp)&&(yield Yj(eU.DateExclusiveMinimumTimestamp,e,a,r)),Gj(e.maximumTimestamp)&&!(r.getTime()<=e.maximumTimestamp)&&(yield Yj(eU.DateMaximumTimestamp,e,a,r)),Gj(e.minimumTimestamp)&&!(r.getTime()>=e.minimumTimestamp)&&(yield Yj(eU.DateMinimumTimestamp,e,a,r)),Gj(e.multipleOfTimestamp)&&r.getTime()%e.multipleOfTimestamp!==0&&(yield Yj(eU.DateMultipleOfTimestamp,e,a,r))}(o,0,a,r);case"Function":return yield*function*(e,t,a,r){JC(r)||(yield Yj(eU.Function,e,a,r))}(o,0,a,r);case"Import":return yield*function*(e,t,a,r){let n=globalThis.Object.values(e.$defs),o=e.$defs[e.$ref];yield*Kj(o,[...t,...n],a,r)}(o,n,a,r);case"Integer":return yield*function*(e,t,a,r){if(!GC(r))return yield Yj(eU.Integer,e,a,r);Gj(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield Yj(eU.IntegerExclusiveMaximum,e,a,r)),Gj(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield Yj(eU.IntegerExclusiveMinimum,e,a,r)),Gj(e.maximum)&&!(r<=e.maximum)&&(yield Yj(eU.IntegerMaximum,e,a,r)),Gj(e.minimum)&&!(r>=e.minimum)&&(yield Yj(eU.IntegerMinimum,e,a,r)),Gj(e.multipleOf)&&r%e.multipleOf!==0&&(yield Yj(eU.IntegerMultipleOf,e,a,r))}(o,0,a,r);case"Intersect":return yield*function*(e,t,a,r){let n=!1;for(let o of e.allOf)for(let e of Kj(o,t,a,r))n=!0,yield e;if(n)return yield Yj(eU.Intersect,e,a,r);if(!1===e.unevaluatedProperties){let t=new RegExp(uR(e));for(let n of Object.getOwnPropertyNames(r))t.test(n)||(yield Yj(eU.IntersectUnevaluatedProperties,e,`${a}/${n}`,r))}if("object"==typeof e.unevaluatedProperties){let n=new RegExp(uR(e));for(let o of Object.getOwnPropertyNames(r))if(!n.test(o)){let n=Kj(e.unevaluatedProperties,t,`${a}/${o}`,r[o]).next();n.done||(yield n.value)}}}(o,n,a,r);case"Iterator":return yield*function*(e,t,a,r){jC(r)||(yield Yj(eU.Iterator,e,a,r))}(o,0,a,r);case"Literal":return yield*function*(e,t,a,r){r!==e.const&&(yield Yj(eU.Literal,e,a,r))}(o,0,a,r);case"Never":return yield*function*(e,t,a,r){yield Yj(eU.Never,e,a,r)}(o,0,a,r);case"Not":return yield*function*(e,t,a,r){!0===Kj(e.not,t,a,r).next().done&&(yield Yj(eU.Not,e,a,r))}(o,n,a,r);case"Null":return yield*function*(e,t,a,r){FC(r)||(yield Yj(eU.Null,e,a,r))}(o,0,a,r);case"Number":return yield*function*(e,t,a,r){if(!aP.IsNumberLike(r))return yield Yj(eU.Number,e,a,r);Gj(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield Yj(eU.NumberExclusiveMaximum,e,a,r)),Gj(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield Yj(eU.NumberExclusiveMinimum,e,a,r)),Gj(e.maximum)&&!(r<=e.maximum)&&(yield Yj(eU.NumberMaximum,e,a,r)),Gj(e.minimum)&&!(r>=e.minimum)&&(yield Yj(eU.NumberMinimum,e,a,r)),Gj(e.multipleOf)&&r%e.multipleOf!==0&&(yield Yj(eU.NumberMultipleOf,e,a,r))}(o,0,a,r);case"Object":return yield*function*(e,t,a,r){if(!aP.IsObjectLike(r))return yield Yj(eU.Object,e,a,r);Gj(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield Yj(eU.ObjectMinProperties,e,a,r)),Gj(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield Yj(eU.ObjectMaxProperties,e,a,r));let n=Array.isArray(e.required)?e.required:[],o=Object.getOwnPropertyNames(e.properties),i=Object.getOwnPropertyNames(r);for(let t of n)i.includes(t)||(yield Yj(eU.ObjectRequiredProperty,e.properties[t],`${a}/${Xj(t)}`,void 0));if(!1===e.additionalProperties)for(let t of i)o.includes(t)||(yield Yj(eU.ObjectAdditionalProperties,e,`${a}/${Xj(t)}`,r[t]));if("object"==typeof e.additionalProperties)for(let n of i)o.includes(n)||(yield*Kj(e.additionalProperties,t,`${a}/${Xj(n)}`,r[n]));for(let n of o){let o=e.properties[n];e.required&&e.required.includes(n)?(yield*Kj(o,t,`${a}/${Xj(n)}`,r[n]),UD(e)&&!(n in r)&&(yield Yj(eU.ObjectRequiredProperty,o,`${a}/${Xj(n)}`,void 0))):aP.IsExactOptionalProperty(r,n)&&(yield*Kj(o,t,`${a}/${Xj(n)}`,r[n]))}}(o,n,a,r);case"Promise":return yield*function*(e,t,a,r){UC(r)||(yield Yj(eU.Promise,e,a,r))}(o,0,a,r);case"Record":return yield*function*(e,t,a,r){if(!aP.IsRecordLike(r))return yield Yj(eU.Object,e,a,r);Gj(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield Yj(eU.ObjectMinProperties,e,a,r)),Gj(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield Yj(eU.ObjectMaxProperties,e,a,r));let[n,o]=Object.entries(e.patternProperties)[0],i=new RegExp(n);for(let[e,n]of Object.entries(r))i.test(e)&&(yield*Kj(o,t,`${a}/${Xj(e)}`,n));if("object"==typeof e.additionalProperties)for(let[n,o]of Object.entries(r))i.test(n)||(yield*Kj(e.additionalProperties,t,`${a}/${Xj(n)}`,o));if(!1===e.additionalProperties)for(let[t,n]of Object.entries(r))if(!i.test(t))return yield Yj(eU.ObjectAdditionalProperties,e,`${a}/${Xj(t)}`,n)}(o,n,a,r);case"Ref":case"This":return yield*function*(e,t,a,r){yield*Kj(wj(e,t),t,a,r)}(o,n,a,r);case"RegExp":return yield*function*(e,t,a,r){return KC(r)?(Gj(e.minLength)&&!(r.length>=e.minLength)&&(yield Yj(eU.StringMinLength,e,a,r)),Gj(e.maxLength)&&!(r.length<=e.maxLength)&&(yield Yj(eU.StringMaxLength,e,a,r)),new RegExp(e.source,e.flags).test(r)?void 0:yield Yj(eU.RegExp,e,a,r)):yield Yj(eU.String,e,a,r)}(o,0,a,r);case"String":return yield*function*(e,t,a,r){if(!KC(r))return yield Yj(eU.String,e,a,r);Gj(e.minLength)&&!(r.length>=e.minLength)&&(yield Yj(eU.StringMinLength,e,a,r)),Gj(e.maxLength)&&!(r.length<=e.maxLength)&&(yield Yj(eU.StringMaxLength,e,a,r)),KC(e.pattern)&&(new RegExp(e.pattern).test(r)||(yield Yj(eU.StringPattern,e,a,r))),KC(e.format)&&(s$(e.format)?l$(e.format)(r)||(yield Yj(eU.StringFormat,e,a,r)):yield Yj(eU.StringFormatUnknown,e,a,r))}(o,0,a,r);case"Symbol":return yield*function*(e,t,a,r){eP(r)||(yield Yj(eU.Symbol,e,a,r))}(o,0,a,r);case"TemplateLiteral":return yield*function*(e,t,a,r){if(!KC(r))return yield Yj(eU.String,e,a,r);new RegExp(e.pattern).test(r)||(yield Yj(eU.StringPattern,e,a,r))}(o,0,a,r);case"Tuple":return yield*function*(e,t,a,r){if(!QC(r))return yield Yj(eU.Tuple,e,a,r);if(void 0===e.items&&0!==r.length||r.length!==e.maxItems)return yield Yj(eU.TupleLength,e,a,r);if(e.items)for(let n=0;n<e.items.length;n++)yield*Kj(e.items[n],t,`${a}/${n}`,r[n])}(o,n,a,r);case"Undefined":return yield*function*(e,t,a,r){qC(r)||(yield Yj(eU.Undefined,e,a,r))}(o,0,a,r);case"Union":return yield*function*(e,t,a,r){if(Qj(e,t,r))return;let n=e.anyOf.map(e=>new aU(Kj(e,t,a,r)));yield Yj(eU.Union,e,a,r,n)}(o,n,a,r);case"Uint8Array":return yield*function*(e,t,a,r){if(!HC(r))return yield Yj(eU.Uint8Array,e,a,r);Gj(e.maxByteLength)&&!(r.length<=e.maxByteLength)&&(yield Yj(eU.Uint8ArrayMaxByteLength,e,a,r)),Gj(e.minByteLength)&&!(r.length>=e.minByteLength)&&(yield Yj(eU.Uint8ArrayMinByteLength,e,a,r))}(o,0,a,r);case"Void":return yield*function*(e,t,a,r){aP.IsVoidLike(r)||(yield Yj(eU.Void,e,a,r))}(o,0,a,r);default:if(!d$(o[mP]))throw new tU(e);return yield*function*(e,t,a,r){p$(e[mP])(e,r)||(yield Yj(eU.Kind,e,a,r))}(o,0,a,r)}}function Jj(...e){return new aU(3===e.length?Kj(e[0],e[1],"",e[2]):Kj(e[0],[],"",e[1]))}var eU,tU,aU,rU=V(()=>{vj(),yR(),f$(),zD(),Oj(),bP(),Aj(),Uj(),Wj(),OP(),B$(),nP(),function(e){e[e.ArrayContains=0]="ArrayContains",e[e.ArrayMaxContains=1]="ArrayMaxContains",e[e.ArrayMaxItems=2]="ArrayMaxItems",e[e.ArrayMinContains=3]="ArrayMinContains",e[e.ArrayMinItems=4]="ArrayMinItems",e[e.ArrayUniqueItems=5]="ArrayUniqueItems",e[e.Array=6]="Array",e[e.AsyncIterator=7]="AsyncIterator",e[e.BigIntExclusiveMaximum=8]="BigIntExclusiveMaximum",e[e.BigIntExclusiveMinimum=9]="BigIntExclusiveMinimum",e[e.BigIntMaximum=10]="BigIntMaximum",e[e.BigIntMinimum=11]="BigIntMinimum",e[e.BigIntMultipleOf=12]="BigIntMultipleOf",e[e.BigInt=13]="BigInt",e[e.Boolean=14]="Boolean",e[e.DateExclusiveMaximumTimestamp=15]="DateExclusiveMaximumTimestamp",e[e.DateExclusiveMinimumTimestamp=16]="DateExclusiveMinimumTimestamp",e[e.DateMaximumTimestamp=17]="DateMaximumTimestamp",e[e.DateMinimumTimestamp=18]="DateMinimumTimestamp",e[e.DateMultipleOfTimestamp=19]="DateMultipleOfTimestamp",e[e.Date=20]="Date",e[e.Function=21]="Function",e[e.IntegerExclusiveMaximum=22]="IntegerExclusiveMaximum",e[e.IntegerExclusiveMinimum=23]="IntegerExclusiveMinimum",e[e.IntegerMaximum=24]="IntegerMaximum",e[e.IntegerMinimum=25]="IntegerMinimum",e[e.IntegerMultipleOf=26]="IntegerMultipleOf",e[e.Integer=27]="Integer",e[e.IntersectUnevaluatedProperties=28]="IntersectUnevaluatedProperties",e[e.Intersect=29]="Intersect",e[e.Iterator=30]="Iterator",e[e.Kind=31]="Kind",e[e.Literal=32]="Literal",e[e.Never=33]="Never",e[e.Not=34]="Not",e[e.Null=35]="Null",e[e.NumberExclusiveMaximum=36]="NumberExclusiveMaximum",e[e.NumberExclusiveMinimum=37]="NumberExclusiveMinimum",e[e.NumberMaximum=38]="NumberMaximum",e[e.NumberMinimum=39]="NumberMinimum",e[e.NumberMultipleOf=40]="NumberMultipleOf",e[e.Number=41]="Number",e[e.ObjectAdditionalProperties=42]="ObjectAdditionalProperties",e[e.ObjectMaxProperties=43]="ObjectMaxProperties",e[e.ObjectMinProperties=44]="ObjectMinProperties",e[e.ObjectRequiredProperty=45]="ObjectRequiredProperty",e[e.Object=46]="Object",e[e.Promise=47]="Promise",e[e.RegExp=48]="RegExp",e[e.StringFormatUnknown=49]="StringFormatUnknown",e[e.StringFormat=50]="StringFormat",e[e.StringMaxLength=51]="StringMaxLength",e[e.StringMinLength=52]="StringMinLength",e[e.StringPattern=53]="StringPattern",e[e.String=54]="String",e[e.Symbol=55]="Symbol",e[e.TupleLength=56]="TupleLength",e[e.Tuple=57]="Tuple",e[e.Uint8ArrayMaxByteLength=58]="Uint8ArrayMaxByteLength",e[e.Uint8ArrayMinByteLength=59]="Uint8ArrayMinByteLength",e[e.Uint8Array=60]="Uint8Array",e[e.Undefined=61]="Undefined",e[e.Union=62]="Union",e[e.Void=63]="Void"}(eU||={}),tU=class extends cP{constructor(e){super("Unknown type"),this.schema=e}},aU=class{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){let e=this.iterator.next();return e.done?void 0:e.value}}}),nU=V(()=>{rU(),Oj()});function oU(e,t,a){if(!Qj(e,t,a))throw new dU(Jj(e,t,a))}var iU,sU,lU,cU,uU,dU,pU=V(()=>{nU(),vP(),Fj(),iU=function(e,t,a,r,n){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!n)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?n.call(e,a):n?n.value=a:t.set(e,a),a},sU=function(e,t,a,r){if("a"===a&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===a?r:"a"===a?r.call(e):r?r.value:t.get(e)},dU=class extends cP{constructor(e){let t=e.First();super(void 0===t?"Invalid Value":t.message),lU.add(this),cU.set(this,void 0),iU(this,cU,e,"f"),this.error=t}Errors(){return new aU(sU(this,lU,"m",uU).call(this))}},cU=new WeakMap,lU=new WeakSet,uU=function*(){this.error&&(yield this.error),yield*sU(this,cU,"f")}}),hU=V(()=>{pU()});function mU(e,t=new WeakMap){if(QC(e))return function(e,t){if(t.has(e))return t.get(e);let a=[];t.set(e,a);for(let r=0;r<e.length;r++)a.push(mU(e[r],t));return a}(e,t);if(zC(e))return function(e){return new Date(e.toISOString())}(e);if(function(e){return globalThis.ArrayBuffer.isView(e)}(e))return function(e){return e.slice()}(e);if(function(e){return e instanceof globalThis.Map}(e))return function(e){return new Map(mU([...e.entries()]))}(e);if(function(e){return e instanceof globalThis.Set}(e))return function(e){return new Set(mU([...e.entries()]))}(e);if(VC(e))return function(e,t){if(t.has(e))return t.get(e);let a={};t.set(e,a);for(let r of Object.getOwnPropertyNames(e))a[r]=mU(e[r],t);for(let r of Object.getOwnPropertySymbols(e))a[r]=mU(e[r],t);return a}(e,t);if(tP(e))return e;throw Error("ValueClone: Unable to clone value")}var fU=V(()=>{nP()}),gU=V(()=>{fU()});function vU(e){return JC(e)?e():mU(e)}function bU(e,t){let a=xj(e,t),r=e;switch(r[mP]){case"Any":case"Record":case"Unknown":return function(e){return ZC(e,"default")?vU(e.default):{}}(r);case"Argument":return{};case"Array":return function(e,t){if(!0===e.uniqueItems&&!ZC(e,"default"))throw new OU(e,"Array with the uniqueItems constraint requires a default value");if("contains"in e&&!ZC(e,"default"))throw new OU(e,"Array with the contains constraint requires a default value");return"default"in e?vU(e.default):void 0===e.minItems?[]:Array.from({length:e.minItems}).map(a=>bU(e.items,t))}(r,a);case"AsyncIterator":return function(e){return ZC(e,"default")?vU(e.default):async function*(){}()}(r);case"BigInt":return function(e){return ZC(e,"default")?vU(e.default):BigInt(0)}(r);case"Boolean":return function(e){return!!ZC(e,"default")&&vU(e.default)}(r);case"Constructor":return function(e,t){if(ZC(e,"default"))return vU(e.default);{let a=bU(e.returns,t);return"object"!=typeof a||Array.isArray(a)?class{}:class{constructor(){for(let[e,t]of Object.entries(a))this[e]=t}}}}(r,a);case"Date":return function(e){return ZC(e,"default")?vU(e.default):void 0===e.minimumTimestamp?new Date:new Date(e.minimumTimestamp)}(r);case"Function":return function(e,t){return ZC(e,"default")?vU(e.default):()=>bU(e.returns,t)}(r,a);case"Import":return function(e,t){let a=globalThis.Object.values(e.$defs);return bU(e.$defs[e.$ref],[...t,...a])}(r,a);case"Integer":case"Number":return function(e){return ZC(e,"default")?vU(e.default):void 0===e.minimum?0:e.minimum}(r);case"Intersect":return function(e,t){if(ZC(e,"default"))return vU(e.default);{let a=e.allOf.reduce((e,a)=>{let r=bU(a,t);return"object"==typeof r?{...e,...r}:r},{});if(!Qj(e,t,a))throw new OU(e,"Intersect produced invalid value. Consider using a default value.");return a}}(r,a);case"Iterator":return function(e){return ZC(e,"default")?vU(e.default):function*(){}()}(r);case"Literal":return function(e){return ZC(e,"default")?vU(e.default):e.const}(r);case"Never":return function(e){if(ZC(e,"default"))return vU(e.default);throw new OU(e,"Never types cannot be created. Consider using a default value.")}(r);case"Not":return function(e){if(ZC(e,"default"))return vU(e.default);throw new OU(e,"Not types must have a default value")}(r);case"Null":return function(e){return ZC(e,"default")?vU(e.default):null}(r);case"Object":return function(e,t){if(ZC(e,"default"))return vU(e.default);{let a=new Set(e.required),r={};for(let[n,o]of Object.entries(e.properties))a.has(n)&&(r[n]=bU(o,t));return r}}(r,a);case"Promise":return function(e,t){return ZC(e,"default")?vU(e.default):Promise.resolve(bU(e.item,t))}(r,a);case"Ref":return function(e,t){return ZC(e,"default")?vU(e.default):bU(wj(e,t),t)}(r,a);case"RegExp":return function(e){if(ZC(e,"default"))return vU(e.default);throw new OU(e,"RegExp types cannot be created. Consider using a default value.")}(r);case"String":return function(e){if(void 0!==e.pattern){if(ZC(e,"default"))return vU(e.default);throw new OU(e,"String types with patterns must specify a default value")}if(void 0!==e.format){if(ZC(e,"default"))return vU(e.default);throw new OU(e,"String types with formats must specify a default value")}return ZC(e,"default")?vU(e.default):void 0!==e.minLength?Array.from({length:e.minLength}).map(()=>" ").join(""):""}(r);case"Symbol":return function(e){return ZC(e,"default")?vU(e.default):"value"in e?Symbol.for(e.value):Symbol()}(r);case"TemplateLiteral":return function(e){if(ZC(e,"default"))return vU(e.default);if(!mN(e))throw new OU(e,"Can only create template literals that produce a finite variants. Consider using a default value.");return ON(e)[0]}(r);case"This":return function(e,t){if(wU++>xU)throw new OU(e,"Cannot create recursive type as it appears possibly infinite. Consider using a default.");return ZC(e,"default")?vU(e.default):bU(wj(e,t),t)}(r,a);case"Tuple":return function(e,t){return ZC(e,"default")?vU(e.default):void 0===e.items?[]:Array.from({length:e.minItems}).map((a,r)=>bU(e.items[r],t))}(r,a);case"Undefined":case"Void":return function(e){if(ZC(e,"default"))return vU(e.default)}(r);case"Union":return function(e,t){if(ZC(e,"default"))return vU(e.default);if(0===e.anyOf.length)throw Error("ValueCreate.Union: Cannot create Union with zero variants");return bU(e.anyOf[0],t)}(r,a);case"Uint8Array":return function(e){return ZC(e,"default")?vU(e.default):void 0===e.minByteLength?new Uint8Array:new Uint8Array(e.minByteLength)}(r);default:if(!d$(r[mP]))throw new OU(r,"Unknown type");return function(e){if(ZC(e,"default"))return vU(e.default);throw Error("User defined types must specify a default value")}(r)}}function yU(...e){return wU=0,2===e.length?bU(e[0],e[1]):bU(e[0],[])}var OU,xU,wU,kU=V(()=>{nP(),Wj(),gU(),Aj(),GN(),f$(),OP(),bP(),rP(),OU=class extends cP{constructor(e,t){super(t),this.schema=e}},xU=512,wU=0}),SU=V(()=>{kU()});function AU(e,t,a){if("Object"!==e[mP]||"object"!=typeof a||FC(a)){if("Union"===e[mP]){let r=e.anyOf.map(e=>wj(e,t)).map(e=>AU(e,t,a));return Math.max(...r)}return Qj(e,t,a)?1:0}{let r=e,n=Object.getOwnPropertyNames(a);return Object.entries(r.properties).reduce((e,[r,o])=>e+(("Literal"===o[mP]&&o.const===a[r]?100:0)+(Qj(o,t,a[r])?10:0)+(n.includes(r)?1:0)),0)}}function _U(e,t,a,r){return"default"in e?"function"==typeof a?e.default:mU(e.default):PU(function(e,t,a){let r=e.anyOf.map(e=>wj(e,t)),[n,o]=[r[0],0];for(let e of r){let r=AU(e,t,a);r>o&&(n=e,o=r)}return n}(e,t,a),t,a,r)}function TU(e,t){return VC(e)&&!VC(t)||!VC(e)&&VC(t)?e:VC(e)&&VC(t)?globalThis.Object.getOwnPropertyNames(e).reduce((a,r)=>{let n=r in t?TU(e[r],t[r]):e[r];return{...a,[r]:n}},{}):t}function EU(e,t,a){if(Qj(e,t,a))return a;let r=yU(e,t),n=TU(r,a);return Qj(e,t,n)?n:r}function CU(e,t,a,r){let n=KC(e.$id)?xj(e,t):t,o=e;switch(e[mP]){case"Array":return function(e,t,a,r){if(Qj(e,t,a))return mU(a);let n=QC(a)?a:yU(e,t),o=XC(e.minItems)&&n.length<e.minItems?[...n,...Array.from({length:e.minItems-n.length},()=>null)]:n,i=(XC(e.maxItems)&&o.length>e.maxItems?o.slice(0,e.maxItems):o).map(a=>CU(e.items,t,a,r));if(!0!==e.uniqueItems)return i;let s=[...new Set(i)];if(!Qj(e,t,s))throw new MU(e,"Array cast produced invalid data due to uniqueItems constraint");return s}(o,n,a,r);case"Constructor":return function(e,t,a,r){if(Qj(e,t,a))return yU(e,t);let n=new Set(e.returns.required||[]),o=function(){};for(let[i,s]of Object.entries(e.returns.properties))!n.has(i)&&void 0===a.prototype[i]||(o.prototype[i]=CU(s,t,a.prototype[i],r));return o}(o,n,a,r);case"Import":return function(e,t,a,r){let n=globalThis.Object.values(e.$defs);return CU(e.$defs[e.$ref],[...t,...n],a,r)}(o,n,a,r);case"Intersect":return EU(o,n,a);case"Never":return function(e){throw new MU(e,"Never types cannot be cast")}(o);case"Object":return function(e,t,a,r){if(r.has(a))return r.get(a);if(Qj(e,t,a))return a;if("object"!=typeof a||!a)return yU(e,t);let n=new Set(e.required||[]),o={};r.set(a,o);for(let[i,s]of Object.entries(e.properties))!n.has(i)&&void 0===a[i]||(o[i]=CU(s,t,a[i],r));if("object"==typeof e.additionalProperties){let n=Object.getOwnPropertyNames(e.properties);for(let i of Object.getOwnPropertyNames(a))n.includes(i)||(o[i]=CU(e.additionalProperties,t,a[i],r))}return o}(o,n,a,r);case"Record":return function(e,t,a,r){if(Qj(e,t,a))return mU(a);if("object"!=typeof a||!a||Array.isArray(a)||a instanceof Date)return yU(e,t);let n=Object.getOwnPropertyNames(e.patternProperties)[0],o=e.patternProperties[n],i={};for(let[e,n]of Object.entries(a))i[e]=CU(o,t,n,r);return i}(o,n,a,r);case"Ref":case"This":return function(e,t,a,r){return CU(wj(e,t),t,a,r)}(o,n,a,r);case"Tuple":return function(e,t,a,r){return Qj(e,t,a)?mU(a):QC(a)?void 0===e.items?[]:e.items.map((e,n)=>CU(e,t,a[n],r)):yU(e,t)}(o,n,a,r);case"Union":return function(e,t,a,r){return Qj(e,t,a)?mU(a):_U(e,t,a,r)}(o,n,a,r);case"Date":case"Symbol":case"Uint8Array":return function(e,t,a){return Qj(e,t,a)?mU(a):yU(e,t)}(e,t,a);default:return function(e,t,a){return Qj(e,t,a)?a:yU(e,t)}(o,n,a)}}function PU(...e){return 2===e.length||3===e.length&&e[2]instanceof WeakMap?CU(e[0],[],e[1],e[2]??new WeakMap):CU(e[0],e[1],e[2],e[3]??new WeakMap)}var MU,$U=V(()=>{nP(),bP(),OP(),SU(),Wj(),gU(),Aj(),MU=class extends cP{constructor(e,t){super(t),this.schema=e}}}),NU=V(()=>{$U()});function IU(e){return tM(e)&&"Unsafe"!==e[mP]}function RU(e,t,a){let r=KC(e.$id)?xj(e,t):t,n=e;switch(n[mP]){case"Array":return function(e,t,a){return QC(a)?a.map(a=>RU(e.items,t,a)):a}(n,r,a);case"Import":return function(e,t,a){let r=globalThis.Object.values(e.$defs);return RU(e.$defs[e.$ref],[...t,...r],a)}(n,r,a);case"Intersect":return function(e,t,a){let r=e.unevaluatedProperties,n=e.allOf.map(e=>RU(e,t,mU(a))).reduce((e,t)=>VC(t)?{...e,...t}:t,{});if(!VC(a)||!VC(n)||!tM(r))return n;let o=cR(e);for(let e of Object.getOwnPropertyNames(a))o.includes(e)||Qj(r,t,a[e])&&(n[e]=RU(r,t,a[e]));return n}(n,r,a);case"Object":return function(e,t,a){if(!VC(a)||QC(a))return a;let r=e.additionalProperties;for(let n of Object.getOwnPropertyNames(a))ZC(e.properties,n)?a[n]=RU(e.properties[n],t,a[n]):tM(r)&&Qj(r,t,a[n])?a[n]=RU(r,t,a[n]):delete a[n];return a}(n,r,a);case"Record":return function(e,t,a){if(!VC(a))return a;let r=e.additionalProperties,n=Object.getOwnPropertyNames(a),[o,i]=Object.entries(e.patternProperties)[0],s=new RegExp(o);for(let e of n)s.test(e)?a[e]=RU(i,t,a[e]):tM(r)&&Qj(r,t,a[e])?a[e]=RU(r,t,a[e]):delete a[e];return a}(n,r,a);case"Ref":case"This":return function(e,t,a){return RU(wj(e,t),t,a)}(n,r,a);case"Tuple":return function(e,t,a){if(!QC(a))return a;if(qC(e.items))return[];let r=Math.min(a.length,e.items.length);for(let n=0;n<r;n++)a[n]=RU(e.items[n],t,a[n]);return a.length>r?a.slice(0,r):a}(n,r,a);case"Union":return function(e,t,a){for(let r of e.anyOf)if(IU(r)&&Qj(r,t,a))return RU(r,t,a);return a}(n,r,a);default:return a}}var DU=V(()=>{yR(),Wj(),gU(),Aj(),OP(),nP(),rM()}),LU=V(()=>{DU()});function BU(e){return KC(e)&&!isNaN(e)&&!isNaN(parseFloat(e))}function jU(e){return!0===e||XC(e)&&1===e||YC(e)&&e===BigInt("1")||KC(e)&&("true"===e.toLowerCase()||"1"===e)}function UU(e){return!1===e||XC(e)&&(0===e||Object.is(e,-0))||YC(e)&&e===BigInt("0")||KC(e)&&("false"===e.toLowerCase()||"0"===e||"-0"===e)}function zU(e,t){return KC(e.const)?function(e,t){let a=ZU(e);return a===t?a:e}(t,e.const):XC(e.const)?function(e,t){let a=VU(e);return a===t?a:e}(t,e.const):WC(e.const)?function(e,t){let a=HU(e);return a===t?a:e}(t,e.const):t}function HU(e){return!!jU(e)||!UU(e)&&e}function ZU(e){return eP(e)&&void 0!==e.description?e.description.toString():function(e){return YC(e)||WC(e)||XC(e)}(e)?e.toString():e}function VU(e){return BU(e)?parseFloat(e):jU(e)?1:UU(e)?0:e}function QU(e){return zC(e)?e:XC(e)?new Date(e):jU(e)?new Date(1):UU(e)?new Date(0):BU(e)?new Date(parseInt(e)):function(e){return KC(e)&&/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)?$/i.test(e)}(e)?new Date(`1970-01-01T${e}.000Z`):function(e){return KC(e)&&/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i.test(e)}(e)?new Date(`1970-01-01T${e}`):function(e){return KC(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)?$/i.test(e)}(e)?new Date(`${e}.000Z`):function(e){return KC(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\dt(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i.test(e)}(e)?new Date(e):function(e){return KC(e)&&/^\d\d\d\d-[0-1]\d-[0-3]\d$/i.test(e)}(e)?new Date(`${e}T00:00:00.000Z`):e}function qU(e,t,a){return function(e){return BU(e)?BigInt((e=>e.split(".")[0])(e)):XC(e)?BigInt(Math.trunc(e)):UU(e)?BigInt(0):jU(e)?BigInt(1):e}(a)}function FU(e,t,a){return function(e){return BU(e)?parseInt(e):XC(e)?Math.trunc(e):jU(e)?1:UU(e)?0:e}(a)}function WU(e,t,a){return function(e){return KC(e)&&"null"===e.toLowerCase()?null:e}(a)}function XU(e,t,a){return function(e){return KC(e)&&"undefined"===e?void 0:e}(a)}function GU(e,t,a){let r=xj(e,t),n=e;switch(e[mP]){case"Array":return function(e,t,a){return(QC(a)?a:[a]).map(a=>GU(e.items,t,a))}(n,r,a);case"BigInt":return qU(0,0,a);case"Boolean":return function(e,t,a){return HU(a)}(0,0,a);case"Date":return function(e,t,a){return QU(a)}(0,0,a);case"Import":return function(e,t,a){let r=globalThis.Object.values(e.$defs);return GU(e.$defs[e.$ref],[...t,...r],a)}(n,r,a);case"Integer":return FU(0,0,a);case"Intersect":return function(e,t,a){return e.allOf.reduce((e,a)=>GU(a,t,e),a)}(n,r,a);case"Literal":return function(e,t,a){return zU(e,a)}(n,0,a);case"Null":return WU(0,0,a);case"Number":return function(e,t,a){return VU(a)}(0,0,a);case"Object":return function(e,t,a){if(!VC(a)||QC(a))return a;for(let r of Object.getOwnPropertyNames(e.properties))ZC(a,r)&&(a[r]=GU(e.properties[r],t,a[r]));return a}(n,r,a);case"Record":return function(e,t,a){if(!VC(a)||QC(a))return a;let r=Object.getOwnPropertyNames(e.patternProperties)[0],n=e.patternProperties[r];for(let[e,r]of Object.entries(a))a[e]=GU(n,t,r);return a}(n,r,a);case"Ref":case"This":return function(e,t,a){return GU(wj(e,t),t,a)}(n,r,a);case"String":return function(e,t,a){return ZU(a)}(0,0,a);case"Symbol":return function(e,t,a){return KC(a)||XC(a)?Symbol(a):a}(0,0,a);case"Tuple":return function(e,t,a){return QC(a)&&!qC(e.items)?a.map((a,r)=>r<e.items.length?GU(e.items[r],t,a):a):a}(n,r,a);case"Undefined":return XU(0,0,a);case"Union":return function(e,t,a){for(let r of e.anyOf)if(Qj(r,t,a))return a;for(let r of e.anyOf){let e=GU(r,t,mU(a));if(Qj(r,t,e))return e}return a}(n,r,a);default:return a}}var YU=V(()=>{gU(),Wj(),Aj(),OP(),nP()}),KU=V(()=>{YU()});function JU(e,t,a){try{return YP(e)?e[uP].Decode(a):a}catch(r){throw new tz(e,t,a,r)}}function ez(e,t,a,r){let n=xj(e,t),o=e;switch(e[mP]){case"Array":return function(e,t,a,r){return QC(r)?JU(e,a,r.map((r,n)=>ez(e.items,t,`${a}/${n}`,r))):JU(e,a,r)}(o,n,a,r);case"Import":return function(e,t,a,r){let n=globalThis.Object.values(e.$defs);return JU(e,a,ez(e.$defs[e.$ref],[...t,...n],a,r))}(o,n,a,r);case"Intersect":return function(e,t,a,r){if(!VC(r)||tP(r))return JU(e,a,r);let n=vR(e),o=n.map(e=>e[0]),i={...r};for(let[e,r]of n)e in i&&(i[e]=ez(r,t,`${a}/${e}`,i[e]));if(!YP(e.unevaluatedProperties))return JU(e,a,i);let s=Object.getOwnPropertyNames(i),l=e.unevaluatedProperties,c={...i};for(let e of s)o.includes(e)||(c[e]=JU(l,`${a}/${e}`,c[e]));return JU(e,a,c)}(o,n,a,r);case"Not":return function(e,t,a,r){return JU(e,a,ez(e.not,t,a,r))}(o,n,a,r);case"Object":return function(e,t,a,r){if(!VC(r))return JU(e,a,r);let n=cR(e),o={...r};for(let r of n)ZC(o,r)&&(qC(o[r])&&(!JP(e.properties[r])||aP.IsExactOptionalProperty(o,r))||(o[r]=ez(e.properties[r],t,`${a}/${r}`,o[r])));if(!aM(e.additionalProperties))return JU(e,a,o);let i=Object.getOwnPropertyNames(o),s=e.additionalProperties,l={...o};for(let e of i)n.includes(e)||(l[e]=JU(s,`${a}/${e}`,l[e]));return JU(e,a,l)}(o,n,a,r);case"Record":return function(e,t,a,r){if(!VC(r))return JU(e,a,r);let n=Object.getOwnPropertyNames(e.patternProperties)[0],o=new RegExp(n),i={...r};for(let s of Object.getOwnPropertyNames(r))o.test(s)&&(i[s]=ez(e.patternProperties[n],t,`${a}/${s}`,i[s]));if(!aM(e.additionalProperties))return JU(e,a,i);let s=Object.getOwnPropertyNames(i),l=e.additionalProperties,c={...i};for(let e of s)o.test(e)||(c[e]=JU(l,`${a}/${e}`,c[e]));return JU(e,a,c)}(o,n,a,r);case"Ref":case"This":return function(e,t,a,r){return JU(e,a,ez(wj(e,t),t,a,r))}(o,n,a,r);case"Symbol":default:return JU(o,a,r);case"Tuple":return function(e,t,a,r){return QC(r)&&QC(e.items)?JU(e,a,e.items.map((e,n)=>ez(e,t,`${a}/${n}`,r[n]))):JU(e,a,r)}(o,n,a,r);case"Union":return function(e,t,a,r){for(let n of e.anyOf)if(Qj(n,t,r))return JU(e,a,ez(n,t,a,r));return JU(e,a,r)}(o,n,a,r)}}var tz,az=V(()=>{oP(),OP(),bP(),yR(),Aj(),Wj(),nP(),rM(),tz=class extends cP{constructor(e,t,a,r){super(r instanceof Error?r.message:"Unknown error"),this.schema=e,this.path=t,this.value=a,this.error=r}}});function rz(e,t,a){try{return YP(e)?e[uP].Encode(a):a}catch(r){throw new oz(e,t,a,r)}}function nz(e,t,a,r){let n=xj(e,t),o=e;switch(e[mP]){case"Array":return function(e,t,a,r){let n=rz(e,a,r);return QC(n)?n.map((r,n)=>nz(e.items,t,`${a}/${n}`,r)):n}(o,n,a,r);case"Import":return function(e,t,a,r){let n=globalThis.Object.values(e.$defs);return nz(e.$defs[e.$ref],[...t,...n],a,rz(e,a,r))}(o,n,a,r);case"Intersect":return function(e,t,a,r){let n=rz(e,a,r);if(!VC(r)||tP(r))return n;let o=vR(e),i=o.map(e=>e[0]),s={...n};for(let[e,r]of o)e in s&&(s[e]=nz(r,t,`${a}/${e}`,s[e]));if(!YP(e.unevaluatedProperties))return s;let l=Object.getOwnPropertyNames(s),c=e.unevaluatedProperties,u={...s};for(let e of l)i.includes(e)||(u[e]=rz(c,`${a}/${e}`,u[e]));return u}(o,n,a,r);case"Not":return function(e,t,a,r){return rz(e.not,a,rz(e,a,r))}(o,0,a,r);case"Object":return function(e,t,a,r){let n=rz(e,a,r);if(!VC(n))return n;let o=cR(e),i={...n};for(let r of o)ZC(i,r)&&(qC(i[r])&&(!JP(e.properties[r])||aP.IsExactOptionalProperty(i,r))||(i[r]=nz(e.properties[r],t,`${a}/${r}`,i[r])));if(!aM(e.additionalProperties))return i;let s=Object.getOwnPropertyNames(i),l=e.additionalProperties,c={...i};for(let e of s)o.includes(e)||(c[e]=rz(l,`${a}/${e}`,c[e]));return c}(o,n,a,r);case"Record":return function(e,t,a,r){let n=rz(e,a,r);if(!VC(r))return n;let o=Object.getOwnPropertyNames(e.patternProperties)[0],i=new RegExp(o),s={...n};for(let n of Object.getOwnPropertyNames(r))i.test(n)&&(s[n]=nz(e.patternProperties[o],t,`${a}/${n}`,s[n]));if(!aM(e.additionalProperties))return s;let l=Object.getOwnPropertyNames(s),c=e.additionalProperties,u={...s};for(let e of l)i.test(e)||(u[e]=rz(c,`${a}/${e}`,u[e]));return u}(o,n,a,r);case"Ref":case"This":return function(e,t,a,r){return rz(e,a,nz(wj(e,t),t,a,r))}(o,n,a,r);case"Tuple":return function(e,t,a,r){let n=rz(e,a,r);return QC(e.items)?e.items.map((e,r)=>nz(e,t,`${a}/${r}`,n[r])):[]}(o,n,a,r);case"Union":return function(e,t,a,r){for(let n of e.anyOf)if(Qj(n,t,r))return rz(e,a,nz(n,t,a,r));for(let n of e.anyOf){let o=nz(n,t,a,r);if(Qj(e,t,o))return rz(e,a,o)}return rz(e,a,r)}(o,n,a,r);default:return rz(o,a,r)}}var oz,iz=V(()=>{oP(),OP(),bP(),yR(),Aj(),Wj(),nP(),rM(),oz=class extends cP{constructor(e,t,a,r){super(`${r instanceof Error?r.message:"Unknown error"}`),this.schema=e,this.path=t,this.value=a,this.error=r}}});function sz(e,t){let a=xj(e,t),r=e;if(e.$id&&cz.has(e.$id))return!1;switch(e.$id&&cz.add(e.$id),e[mP]){case"Array":case"AsyncIterator":case"Iterator":return function(e,t){return YP(e)||sz(e.items,t)}(r,a);case"Constructor":case"Function":return function(e,t){return YP(e)||sz(e.returns,t)||e.parameters.some(e=>sz(e,t))}(r,a);case"Import":return function(e,t){let a=globalThis.Object.getOwnPropertyNames(e.$defs).reduce((t,a)=>[...t,e.$defs[a]],[]),r=e.$defs[e.$ref];return YP(e)||sz(r,[...a,...t])}(r,a);case"Intersect":return function(e,t){return YP(e)||YP(e.unevaluatedProperties)||e.allOf.some(e=>sz(e,t))}(r,a);case"Not":return function(e,t){return YP(e)||sz(e.not,t)}(r,a);case"Object":return function(e,t){return YP(e)||Object.values(e.properties).some(e=>sz(e,t))||aM(e.additionalProperties)&&sz(e.additionalProperties,t)}(r,a);case"Promise":return function(e,t){return YP(e)||sz(e.item,t)}(r,a);case"Record":return function(e,t){let a=Object.getOwnPropertyNames(e.patternProperties)[0],r=e.patternProperties[a];return YP(e)||sz(r,t)||aM(e.additionalProperties)&&YP(e.additionalProperties)}(r,a);case"Ref":case"This":return function(e,t){return!!YP(e)||sz(wj(e,t),t)}(r,a);case"Tuple":return function(e,t){return YP(e)||!qC(e.items)&&e.items.some(e=>sz(e,t))}(r,a);case"Union":return function(e,t){return YP(e)||e.anyOf.some(e=>sz(e,t))}(r,a);default:return YP(e)}}function lz(e,t){return cz.clear(),sz(e,t)}var cz,uz=V(()=>{Aj(),OP(),rM(),nP(),cz=new Set}),dz=V(()=>{az(),iz(),uz()}),pz=V(()=>{}),hz=V(()=>{pz()});function mz(e,t){let a=ZC(e,"default")?e.default:void 0,r=JC(a)?a():mU(a);return qC(t)?r:VC(t)&&VC(r)?Object.assign(r,t):t}function fz(e){return tM(e)&&"default"in e}function gz(e,t,a){let r=xj(e,t),n=e;switch(n[mP]){case"Array":return function(e,t,a){if(QC(a)){for(let r=0;r<a.length;r++)a[r]=gz(e.items,t,a[r]);return a}let r=mz(e,a);if(!QC(r))return r;for(let a=0;a<r.length;a++)r[a]=gz(e.items,t,r[a]);return r}(n,r,a);case"Date":return function(e,t,a){return zC(a)?a:mz(e,a)}(n,0,a);case"Import":return function(e,t,a){let r=globalThis.Object.values(e.$defs);return gz(e.$defs[e.$ref],[...t,...r],a)}(n,r,a);case"Intersect":return function(e,t,a){let r=mz(e,a);return e.allOf.reduce((e,a)=>{let n=gz(a,t,r);return VC(n)?{...e,...n}:n},{})}(n,r,a);case"Object":return function(e,t,a){let r=mz(e,a);if(!VC(r))return r;let n=Object.getOwnPropertyNames(e.properties);for(let a of n)qC(gz(e.properties[a],t,r[a]))||(r[a]=gz(e.properties[a],t,r[a]));if(!fz(e.additionalProperties))return r;for(let a of Object.getOwnPropertyNames(r))n.includes(a)||(r[a]=gz(e.additionalProperties,t,r[a]));return r}(n,r,a);case"Record":return function(e,t,a){let r=mz(e,a);if(!VC(r))return r;let n=e.additionalProperties,[o,i]=Object.entries(e.patternProperties)[0],s=new RegExp(o);for(let e of Object.getOwnPropertyNames(r))s.test(e)&&fz(i)&&(r[e]=gz(i,t,r[e]));if(!fz(n))return r;for(let e of Object.getOwnPropertyNames(r))s.test(e)||(r[e]=gz(n,t,r[e]));return r}(n,r,a);case"Ref":return function(e,t,a){return gz(wj(e,t),t,mz(e,a))}(n,r,a);case"This":return function(e,t,a){return gz(wj(e,t),t,a)}(n,r,a);case"Tuple":return function(e,t,a){let r=mz(e,a);if(!QC(r)||qC(e.items))return r;let[n,o]=[e.items,Math.max(e.items.length,r.length)];for(let e=0;e<o;e++)e<n.length&&(r[e]=gz(n[e],t,r[e]));return r}(n,r,a);case"Union":return function(e,t,a){let r=mz(e,a);for(let a of e.anyOf){let e=gz(a,t,mU(r));if(Qj(a,t,e))return e}return r}(n,r,a);default:return mz(n,a)}}var vz,bz,yz,Oz,xz,wz,kz,Sz,Az,_z,Tz,Ez,Cz,Pz,Mz,$z,Nz,Iz,Rz,Dz,Lz,Bz,jz,Uz,zz,Hz,Zz,Vz,Qz,qz,Fz,Wz,Xz,Gz,Yz,Kz,Jz,eH,tH,aH,rH,nH,oH,iH,sH,lH,cH,uH,dH,pH,hH,mH,fH,gH,vH,bH,yH,OH,xH,wH,kH,SH,AH,_H,TH,EH,CH,PH,MH,$H,NH,IH,RH,DH,LH,BH,jH,UH,zH,HH,ZH,VH,QH,qH,FH,WH,XH,GH,YH,KH,JH,eZ,tZ,aZ,rZ,nZ,oZ,iZ,sZ,lZ,cZ,uZ,dZ,pZ,hZ,mZ,fZ,gZ,vZ,bZ,yZ,OZ,xZ,wZ,kZ,SZ,AZ,_Z,TZ,EZ,CZ,PZ,MZ,$Z,NZ,IZ,RZ,DZ,LZ,BZ,jZ,UZ,zZ,HZ,ZZ,VZ,QZ,qZ,FZ,WZ,XZ,GZ,YZ,KZ,JZ,eV,tV,aV,rV,nV,oV,iV,sV,lV,cV,uV,dV,pV,hV,mV,fV,gV,vV,bV,yV,OV,xV,wV,kV,SV,AV,_V,TV,EV,CV,PV,MV,$V,NV,IV,RV,DV,LV,BV,jV,UV,zV,HV,ZV,VV,QV,qV,FV,WV,XV,GV,YV,KV,JV,eQ,tQ,aQ,rQ,nQ,oQ,iQ,sQ,lQ,cQ,uQ,dQ,pQ,hQ,mQ,fQ,gQ,vQ,bQ,yQ,OQ,xQ,wQ,kQ,SQ,AQ,_Q,TQ,EQ,CQ,PQ,MQ,$Q,NQ,IQ,RQ,DQ,LQ,BQ,jQ,UQ,zQ,HQ,ZQ,VQ,QQ,qQ,FQ,WQ,XQ,GQ,YQ,KQ,JQ,eq,tq,aq,rq,nq,oq,iq,sq,lq,cq,uq,dq,pq,hq,mq,fq,gq,vq,bq,yq,Oq,xq,wq,kq,Sq,Aq,_q,Tq=V(()=>{Wj(),gU(),Aj(),OP(),nP(),rM()}),Eq=V(()=>{Tq()}),Cq=V(()=>{}),Pq=V(()=>{}),Mq=V(()=>{AN(),xI(),LN(),HR(),rN(),vz=yI({type:kN("insert"),path:RN(),value:UR()}),bz=yI({type:kN("update"),path:RN(),value:UR()}),yz=yI({type:kN("delete"),path:RN()}),tN([vz,bz,yz])}),$q=V(()=>{Mq()}),Nq=V(()=>{}),Iq=V(()=>{Nq()}),Rq=V(()=>{Pq()}),Dq=V(()=>{}),Lq=V(()=>{Dq()}),Bq=V(()=>{dz(),hU(),NU(),LU(),gU(),KU(),Eq(),function(e){let t=new Map([["Assert",(e,t,a)=>(function(...e){3===e.length?oU(e[0],e[1],e[2]):oU(e[0],[],e[1])}(e,t,a),a)],["Cast",(e,t,a)=>PU(e,t,a)],["Clean",(e,t,a)=>function(...e){return 3===e.length?RU(e[0],e[1],e[2]):RU(e[0],[],e[1])}(e,t,a)],["Clone",(e,t,a)=>mU(a)],["Convert",(e,t,a)=>function(...e){return 3===e.length?GU(e[0],e[1],e[2]):GU(e[0],[],e[1])}(e,t,a)],["Decode",(e,t,a)=>lz(e,t)?function(e,t,a){return ez(e,t,"",a)}(e,t,a):a],["Default",(e,t,a)=>function(...e){return 3===e.length?gz(e[0],e[1],e[2]):gz(e[0],[],e[1])}(e,t,a)],["Encode",(e,t,a)=>lz(e,t)?function(e,t,a){return nz(e,t,"",a)}(e,t,a):a]]);e.Delete=function(e){t.delete(e)},e.Set=function(e,a){t.set(e,a)},e.Get=function(e){return t.get(e)}}(Oz||={})}),jq=V(()=>{Bq()}),Uq=V(()=>{nU(),NU(),Wj()}),zq=V(()=>{Uq()}),Hq=V(()=>{nP(),hU(),NU(),Wj(),LU(),gU(),KU(),SU(),hz(),Eq(),$q(),Iq(),Rq(),Uj(),Lq(),jq(),Cq(),dz(),zq()}),Zq=V(()=>{Hq(),xz=(e,t)=>PU(e,t)}),Vq=V(()=>{wz={document:{navigation:"x-scalar-navigation"},workspace:{colorMode:"x-scalar-color-mode",sidebarWidth:"x-scalar-sidebar-width",defaultClient:"x-scalar-default-client",activeDocument:"x-scalar-active-document",theme:"x-scalar-theme"}}}),Qq=V(()=>{mj(),J(),kz=nj.Object({name:nj.String(),value:nj.Union([nj.Object({description:nj.Optional(nj.String()),default:nj.String({default:""})}),nj.String()])}),Sz=x({name:h(),value:w([x({description:S(h()),default:h()}),h()])},{typeName:"XScalarEnvVar"}),Az=nj.Object({description:nj.Optional(nj.String()),color:nj.String({default:"#FFFFFF"}),variables:nj.Array(kz)}),_z=x({description:S(h()),color:h({typeComment:"Color for the environment"}),variables:y(Sz,{typeComment:"An array of variables"})},{typeName:"XScalarEnvironment",typeComment:"A map of environments by name"}),Tz=nj.Object({"x-scalar-environments":nj.Optional(nj.Record(nj.String(),Az))}),Ez=x({"x-scalar-environments":S(O(h(),_z))},{typeName:"XScalarEnvironments",typeComment:"A record of environments by name"})}),qq=V(()=>{mj(),J(),Cz=nj.Object({"x-scalar-icon":nj.Optional(nj.String())}),Pz=x({"x-scalar-icon":S(h())},{typeName:"XScalarIcon",typeComment:"A custom icon representing the collection"})}),Fq=V(()=>{mj(),J(),Mz=nj.Object({"x-scalar-is-dirty":nj.Optional(nj.Boolean())}),$z=x({"x-scalar-is-dirty":S(m({typeComment:"Whether the document state is dirty, this is used to track if the document has been modified since it was last saved"}))},{typeName:"XScalarIsDirty",typeComment:"Tracks whether the document has been modified since it was last saved"})}),Wq=V(()=>{mj(),J(),Nz=nj.Object({"x-scalar-original-document-hash":nj.String()}),Iz=x({"x-scalar-original-document-hash":h({typeComment:"Original input document hash"})},{typeName:"XScalarOriginalDocumentHash",typeComment:"Original input document hash"})}),Xq=V(()=>{mj(),J(),Rz=nj.Partial(nj.Object({"x-scalar-original-source-url":nj.String()})),Dz=x({"x-scalar-original-source-url":S(h({typeComment:"Original document source URL when loaded from an external source"}))},{typeName:"XScalarOriginalSourceUrl",typeComment:"Original document source URL when loaded from an external source."})}),Gq=V(()=>{mj(),J(),Lz=nj.Object({namespace:nj.String(),slug:nj.String(),version:nj.String(),commitHash:nj.Optional(nj.String()),conflictCheckedAgainstHash:nj.Optional(nj.String()),hasConflict:nj.Optional(nj.Boolean())}),Bz=nj.Object({"x-scalar-registry-meta":nj.Optional(Lz)}),jz=x({namespace:h({typeComment:"The namespace under which this registry meta is scoped."}),slug:h({typeComment:"A unique slug identifier for this registry meta within the namespace."}),version:h({typeComment:"The version of the registry meta."}),commitHash:S(h({typeComment:"Last known commit hash of this document. Is going to be used to track if the document has been modified since it was last saved."})),conflictCheckedAgainstHash:S(h({typeComment:"Registry commit hash that the cached hasConflict flag was computed against. The cache is invalid when this no longer matches the registry hash."})),hasConflict:S(m({typeComment:"Cached outcome of the last conflict check, valid only while conflictCheckedAgainstHash matches the registry hash."}))},{typeName:"XScalarRegistryMetaInner",typeComment:"Registry meta namespace and slug"}),Uz=x({"x-scalar-registry-meta":S(jz)},{typeName:"XScalarRegistryMeta",typeComment:"The registry meta for the document"})}),Yq=V(()=>{mj(),J(),zz=nj.Object({"x-scalar-watch-mode":nj.Optional(nj.Boolean())}),Hz=x({"x-scalar-watch-mode":S(m({typeComment:"Whether the document is in watch mode"}))},{typeName:"XScalarWatchMode",typeComment:"Whether the document is in watch mode"})}),Kq=V(()=>{mj(),J(),Zz=nj.Object({"x-post-response":nj.Optional(nj.String())}),Vz=x({"x-post-response":S(h({typeComment:"Script to run after a response is received"}))},{typeName:"XPostResponse",typeComment:"Post-response script for an operation"})}),Jq=V(()=>{mj(),J(),Qz=nj.Object({"x-pre-request":nj.Optional(nj.String())}),qz=x({"x-pre-request":S(h())},{typeName:"XPreRequest",typeComment:"Pre-request script to run before the request is sent."})}),eF=V(()=>{mj(),J(),Fz=nj.Object({"x-scalar-active-environment":nj.Optional(nj.String())}),Wz=x({"x-scalar-active-environment":S(h({typeComment:"The currently selected environment"}))},{typeName:"XScalarActiveEnvironment",typeComment:"The currently selected environment"})}),tF=V(()=>{mj(),J(),Xz=nj.Object({name:nj.String(),value:nj.String(),domain:nj.Optional(nj.String()),path:nj.Optional(nj.String()),isDisabled:nj.Optional(nj.Boolean())}),Gz=x({name:h({typeComment:"Defines the cookie name and its value."}),value:h({typeComment:"Defines the cookie value."}),domain:S(h({typeComment:"Allows this domain and all subdomains."})),path:S(h({typeComment:"Restricts this cookie to requests that contain this path."})),isDisabled:S(m({typeComment:"Indicates if the cookie is disabled."}))},{typeName:"XScalarCookie",typeComment:"A persisted cookie definition for the workspace"}),Yz=nj.Object({"x-scalar-cookies":nj.Optional(nj.Array(Xz))}),Kz=x({"x-scalar-cookies":S(y(Gz,{typeComment:"Cookies persisted for the workspace"}))},{typeName:"XScalarCookies",typeComment:"Persisted workspace cookies"})}),aF=V(()=>{mj(),J(),Jz=nj.Object({"x-scalar-order":nj.Optional(nj.Array(nj.String()))}),eH=x({"x-scalar-order":S(y(h()))},{typeName:"XScalarOrder",typeComment:"Custom order for elements in the Scalar UI"})}),rF=V(()=>{mj(),J(),tH=nj.Object({"x-scalar-selected-server":nj.Optional(nj.String())}),aH=x({"x-scalar-selected-server":S(h({typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}))},{typeName:"XScalarSelectedServer",typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."})}),nF=V(()=>{mj(),J(),fj(),aF(),rH=oj(nj.Object({name:nj.String(),tags:nj.Array(nj.String())}),Jz),nH=k([x({name:h({typeComment:"The group name."}),tags:y(h(),{typeComment:"List of tags to include in this group."})},{typeName:"XTagGroupBase"}),eH],{typeName:"XTagGroup",typeComment:"A tag group with optional custom ordering"}),oH=nj.Object({"x-tagGroups":nj.Optional(nj.Array(rH))}),iH=x({"x-tagGroups":S(y(nH,{typeComment:"Tag groups for organizing tags in the UI"}))},{typeName:"XTagGroups",typeComment:"Groups of tags for the OpenAPI document"})}),oF=V(()=>{sH=["delete","get","head","options","patch","post","put","trace"],lH=Object.freeze(new Set(sH))}),iF=V(()=>{mj(),cH={ComponentsObject:"ComponentsObject",SecurityRequirementObject:"SecurityRequirementObject",TagObject:"TagObject",CallbackObject:"CallbackObject",PathsObject:"PathsObject",PathItemObject:"PathItemObject",OperationObject:"OperationObject",SchemaObject:"SchemaObject",EncodingObject:"EncodingObject",HeaderObject:"HeaderObject",MediaTypeObject:"MediaTypeObject",ServerObject:"ServerObject",ExternalDocumentationObject:"ExternalDocumentationObject",InfoObject:"InfoObject",ContactObject:"ContactObject",LicenseObject:"LicenseObject",ResponseObject:"ResponseObject",ResponsesObject:"ResponsesObject",ParameterObject:"ParameterObject",ExampleObject:"ExampleObject",RequestBodyObject:"RequestBodyObject",SecuritySchemeObject:"SecuritySchemeObject",SecuritySchemes:"SecuritySchemes",LinkObject:"LinkObject",XMLObject:"XMLObject",DiscriminatorObject:"DiscriminatorObject",OAuthFlowsObject:"OAuthFlowsObject",ServerVariableObject:"ServerVariableObject",TraversedDescriptionObject:"TraversedDescriptionObject",TraversedOperationObject:"TraversedOperationObject",TraversedAsyncApiOperationObject:"TraversedAsyncApiOperationObject",TraversedAsyncApiChannelObject:"TraversedAsyncApiChannelObject",TraversedAsyncApiMessageObject:"TraversedAsyncApiMessageObject",TraversedSchemaObject:"TraversedSchemaObject",TraversedWebhookObject:"TraversedWebhookObject",TraversedTagObject:"TraversedTagObject",TraversedEntryObject:"TraversedEntryObject",TraversedDocumentObject:"TraversedDocumentObject"},uH=nj.Ref(cH.ComponentsObject),dH=nj.Ref(cH.SecurityRequirementObject),pH=nj.Ref(cH.TagObject),hH=nj.Ref(cH.CallbackObject),mH=nj.Ref(cH.PathItemObject),fH=nj.Ref(cH.PathsObject),gH=nj.Ref(cH.OperationObject),vH=nj.Ref(cH.SchemaObject),bH=nj.Ref(cH.EncodingObject),yH=nj.Ref(cH.HeaderObject),OH=nj.Ref(cH.MediaTypeObject),xH=nj.Ref(cH.ServerObject),wH=nj.Ref(cH.ExternalDocumentationObject),kH=nj.Ref(cH.InfoObject),SH=nj.Ref(cH.ContactObject),AH=nj.Ref(cH.LicenseObject),_H=nj.Ref(cH.ResponseObject),TH=nj.Ref(cH.ResponsesObject),EH=nj.Ref(cH.ParameterObject),CH=nj.Ref(cH.ExampleObject),PH=nj.Ref(cH.RequestBodyObject),MH=nj.Ref(cH.SecuritySchemeObject),$H=nj.Ref(cH.LinkObject),NH=nj.Ref(cH.XMLObject),IH=nj.Ref(cH.DiscriminatorObject),RH=nj.Ref(cH.OAuthFlowsObject),DH=nj.Ref(cH.ServerVariableObject),LH=nj.Ref(cH.TraversedEntryObject),BH=nj.Ref(cH.TraversedDocumentObject)}),sF=V(()=>{oF(),mj(),fj(),iF(),jH=nj.Object({id:nj.String(),title:nj.String()}),UH=oj(jH,nj.Object({type:nj.Literal("document"),name:nj.String(),children:nj.Optional(nj.Array(LH)),icon:nj.Optional(nj.String())})),zH=oj(jH,nj.Object({type:nj.Literal("text"),children:nj.Optional(nj.Array(LH))})),HH=oj(jH,nj.Object({type:nj.Literal("example"),name:nj.String()})),ZH=oj(jH,nj.Object({type:nj.Literal("operation"),ref:nj.String(),method:nj.Union(sH.map(e=>nj.Literal(e))),path:nj.String(),isDeprecated:nj.Optional(nj.Boolean()),children:nj.Optional(nj.Array(LH))})),VH=oj(jH,nj.Object({type:nj.Literal("asyncapi-operation"),operationName:nj.String(),action:nj.Union([nj.Literal("send"),nj.Literal("receive")]),channelName:nj.String(),channelAddress:nj.String(),children:nj.Optional(nj.Array(LH))})),QH=oj(jH,nj.Object({type:nj.Literal("asyncapi-channel"),channelName:nj.String(),channelAddress:nj.String(),children:nj.Optional(nj.Array(LH))})),qH=oj(jH,nj.Object({type:nj.Literal("asyncapi-message"),messageName:nj.String(),channelName:nj.String()})),FH=oj(jH,nj.Object({type:nj.Literal("model"),ref:nj.String(),name:nj.String()})),WH=oj(jH,nj.Object({type:nj.Literal("webhook"),ref:nj.String(),method:nj.Union(sH.map(e=>nj.Literal(e))),name:nj.String(),isDeprecated:nj.Optional(nj.Boolean())})),XH=oj(jH,nj.Object({type:nj.Literal("tag"),name:nj.String(),description:nj.Optional(nj.String()),children:nj.Optional(nj.Array(LH)),isGroup:nj.Boolean(),isWebhooks:nj.Optional(nj.Boolean()),xKeys:nj.Optional(nj.Record(nj.String(),nj.Unknown()))})),GH=oj(jH,nj.Object({type:nj.Literal("models"),name:nj.String(),children:nj.Optional(nj.Array(LH))})),YH=nj.Union([zH,ZH,VH,QH,qH,FH,XH,WH,HH,UH,GH])}),lF=V(()=>{mj(),fj(),KH=nj.Object({$status:nj.Optional(nj.Union([nj.Literal("loading"),nj.Literal("error")])),$global:nj.Optional(nj.Boolean())}),JH=oj(nj.Object({$ref:nj.String(),summary:nj.Optional(nj.String()),description:nj.Optional(nj.String())}),KH),eZ=e=>oj(JH,nj.Object({"$ref-value":e}))}),cF=V(()=>{mj(),iF(),lF(),tZ=nj.Record(nj.String(),nj.Union([mH,eZ(mH)]))}),uF=V(()=>{mj(),iF(),lF(),aZ=nj.Record(nj.String(),nj.Union([MH,eZ(MH)])),rZ=nj.Object({schemas:nj.Optional(nj.Record(nj.String(),nj.Union([vH,eZ(vH)]))),responses:nj.Optional(nj.Record(nj.String(),nj.Union([_H,eZ(_H)]))),parameters:nj.Optional(nj.Record(nj.String(),nj.Union([EH,eZ(EH)]))),examples:nj.Optional(nj.Record(nj.String(),nj.Union([CH,eZ(CH)]))),requestBodies:nj.Optional(nj.Record(nj.String(),nj.Union([PH,eZ(PH)]))),headers:nj.Optional(nj.Record(nj.String(),nj.Union([yH,eZ(yH)]))),securitySchemes:nj.Optional(aZ),links:nj.Optional(nj.Record(nj.String(),nj.Union([$H,eZ($H)]))),callbacks:nj.Optional(nj.Record(nj.String(),nj.Union([hH,eZ(hH)]))),pathItems:nj.Optional(nj.Record(nj.String(),nj.Union([mH,eZ(mH)])))})}),dF=V(()=>{mj(),nZ=nj.Object({name:nj.Optional(nj.String()),url:nj.Optional(nj.String()),email:nj.Optional(nj.String())})}),pF=V(()=>{mj(),oZ=nj.Object({propertyName:nj.String(),mapping:nj.Optional(nj.Record(nj.String(),nj.String()))})}),hF=V(()=>{mj(),iF(),lF(),iZ=nj.Object({contentType:nj.Optional(nj.String()),headers:nj.Optional(nj.Record(nj.String(),nj.Union([yH,eZ(yH)]))),style:nj.Optional(nj.Union([nj.Literal("form"),nj.Literal("spaceDelimited"),nj.Literal("pipeDelimited"),nj.Literal("deepObject")])),explode:nj.Optional(nj.Boolean()),allowReserved:nj.Optional(nj.Boolean())})}),mF=V(()=>{mj(),J(),sZ=nj.Object({"x-disabled":nj.Optional(nj.Boolean())}),lZ=x({"x-disabled":S(m())},{typeName:"XDisabled",typeComment:"Whether a parameter example is disabled in the API client"})}),fF=V(()=>{mj(),fj(),mF(),cZ=oj(nj.Object({summary:nj.Optional(nj.String()),description:nj.Optional(nj.String()),value:nj.Optional(nj.Any()),externalValue:nj.Optional(nj.String())}),sZ)}),gF=V(()=>{mj(),uZ=nj.Object({url:nj.String(),description:nj.Optional(nj.String())})}),vF=V(()=>{mj(),fj(),iF(),lF(),dZ=nj.Object({description:nj.Optional(nj.String()),required:nj.Optional(nj.Boolean()),deprecated:nj.Optional(nj.Boolean())}),pZ=oj(dZ,nj.Object({style:nj.Optional(nj.String()),explode:nj.Optional(nj.Boolean()),schema:nj.Optional(nj.Union([vH,eZ(vH)])),example:nj.Optional(nj.Any()),examples:nj.Optional(nj.Record(nj.String(),nj.Union([CH,eZ(CH)])))})),hZ=nj.Union([pZ,oj(dZ,nj.Object({content:nj.Optional(nj.Record(nj.String(),OH))}))])}),bF=V(()=>{mj(),J(),mZ=nj.Object({lang:nj.String(),description:nj.Optional(nj.String()),source:nj.Optional(nj.String())}),fZ=nj.Object({"x-scalar-sdk-installation":nj.Optional(nj.Array(mZ))}),gZ=x({lang:h(),description:S(h()),source:S(h())},{typeName:"XScalarSdkInstallationItem",typeComment:"Scalar SDK installation entry"}),vZ=x({"x-scalar-sdk-installation":S(y(gZ,{typeComment:"Scalar SDK installation information"}))},{typeName:"XScalarSdkInstallation",typeComment:"Scalar SDK installation information"})}),yF=V(()=>{mj(),fj(),bF(),iF(),bZ=oj(nj.Object({title:nj.String(),version:nj.String(),summary:nj.Optional(nj.String()),description:nj.Optional(nj.String()),termsOfService:nj.Optional(nj.String()),contact:nj.Optional(SH),license:nj.Optional(AH)}),fZ)}),OF=V(()=>{mj(),yZ=nj.Object({name:nj.Optional(nj.String()),identifier:nj.Optional(nj.String()),url:nj.Optional(nj.String())})}),xF=V(()=>{mj(),iF(),OZ=nj.Object({operationRef:nj.Optional(nj.String()),operationId:nj.Optional(nj.String()),parameters:nj.Optional(nj.Record(nj.String(),nj.Any())),requestBody:nj.Optional(nj.Any()),description:nj.Optional(nj.String()),server:nj.Optional(xH)})}),wF=V(()=>{mj(),iF(),lF(),xZ=nj.Object({schema:nj.Optional(nj.Union([vH,eZ(vH)])),example:nj.Optional(nj.Any()),examples:nj.Optional(nj.Record(nj.String(),nj.Union([CH,eZ(CH)]))),encoding:nj.Optional(nj.Record(nj.String(),bH))})}),kF=V(()=>{mj(),J(),wZ=nj.Object({"x-scalar-credentials-location":nj.Optional(nj.Union([nj.Literal("header"),nj.Literal("body")]))}),kZ=x({"x-scalar-credentials-location":S(w([A("header"),A("body")]))},{typeName:"XScalarCredentialsLocation",typeComment:"Where OAuth2 credentials are sent"})}),SF=V(()=>{mj(),J(),SZ=nj.Object({"x-scalar-security-body":nj.Optional(nj.Record(nj.String(),nj.String()))}),AZ=x({"x-scalar-security-body":S(O(h(),h()))},{typeName:"XScalarSecurityBody",typeComment:"Additional OAuth token request body parameters"})}),AF=V(()=>{mj(),J(),_Z=nj.Object({"x-scalar-security-query":nj.Optional(nj.Record(nj.String(),nj.String()))}),TZ=x({"x-scalar-security-query":S(O(h(),h()))},{typeName:"XScalarSecurityQuery",typeComment:"Additional OAuth authorize query parameters"})}),_F=V(()=>{mj(),J(),EZ=nj.Object({"x-scalar-secret-token":nj.String()}),x({"x-scalar-secret-token":h()},{typeName:"XScalarSecretToken",typeComment:"Persisted OAuth access token (sensitive)"}),CZ=nj.Object({"x-scalar-secret-refresh-token":nj.Optional(nj.String())}),x({"x-scalar-secret-refresh-token":S(h())},{typeName:"XScalarSecretRefreshToken",typeComment:"Persisted OAuth refresh token (sensitive)"}),PZ=nj.Object({"x-scalar-secret-auth-url":nj.Optional(nj.String())}),MZ=x({"x-scalar-secret-auth-url":S(h())},{typeName:"XScalarAuthUrl",typeComment:"Persisted OAuth authorization URL override"}),$Z=nj.Object({"x-scalar-secret-token-url":nj.Optional(nj.String())}),NZ=x({"x-scalar-secret-token-url":S(h())},{typeName:"XScalarTokenUrl",typeComment:"Persisted OAuth token URL override"}),IZ=nj.Object({"x-scalar-secret-username":nj.String(),"x-scalar-secret-password":nj.String()}),x({"x-scalar-secret-username":h(),"x-scalar-secret-password":h()},{typeName:"XScalarSecretHTTP",typeComment:"Persisted HTTP basic credentials (sensitive)"}),RZ=nj.Object({"x-scalar-secret-client-secret":nj.String()}),x({"x-scalar-secret-client-secret":h()},{typeName:"XScalarSecretClientSecret",typeComment:"Persisted OAuth client secret (sensitive)"}),DZ=nj.Object({"x-scalar-secret-client-id":nj.String()}),x({"x-scalar-secret-client-id":h()},{typeName:"XScalarSecretClientId",typeComment:"Persisted OAuth client ID"}),LZ=nj.Object({"x-scalar-secret-redirect-uri":nj.String()}),x({"x-scalar-secret-redirect-uri":h()},{typeName:"XScalarSecretRedirectUri",typeComment:"Persisted OAuth redirect URI"})}),TF=V(()=>{mj(),J(),BZ=nj.Object({"x-tokenName":nj.Optional(nj.String())}),jZ=x({"x-tokenName":S(h())},{typeName:"XTokenName",typeComment:"Custom OAuth2 access token field name"})}),EF=V(()=>{mj(),J(),UZ=nj.Object({"x-usePkce":nj.Union([nj.Literal("SHA-256"),nj.Literal("plain"),nj.Literal("no")],{default:"no"})}),zZ=x({"x-usePkce":w([A("SHA-256"),A("plain"),A("no")],{typeComment:"PKCE mode for the OAuth2 authorization code flow"})},{typeName:"XusePkce",typeComment:"PKCE setting for OAuth2"})}),CF=V(()=>{mj(),fj(),kF(),SF(),AF(),_F(),TF(),EF(),HZ=oj(nj.Object({refreshUrl:nj.String(),scopes:nj.Record(nj.String(),nj.String())}),_Z,SZ,BZ,PZ,$Z),ZZ=oj(HZ,nj.Object({authorizationUrl:nj.String()})),VZ=oj(HZ,nj.Object({tokenUrl:nj.String()}),wZ),QZ=oj(HZ,nj.Object({tokenUrl:nj.String()}),wZ),qZ=oj(HZ,nj.Object({authorizationUrl:nj.String(),tokenUrl:nj.String()}),UZ,wZ)}),PF=V(()=>{mj(),CF(),FZ=nj.Object({implicit:nj.Optional(ZZ),password:nj.Optional(VZ),clientCredentials:nj.Optional(QZ),authorizationCode:nj.Optional(qZ)})}),MF=V(()=>{mj(),J(),WZ=nj.Object({"x-internal":nj.Optional(nj.Boolean())}),XZ=x({"x-internal":S(m({typeComment:"Extension to mark an entity as internal"}))},{typeName:"XInternal",typeComment:"Extension to mark an entity as internal"})}),$F=V(()=>{mj(),J(),GZ=nj.Object({"x-scalar-ignore":nj.Optional(nj.Boolean())}),YZ=x({"x-scalar-ignore":S(m())},{typeName:"XScalarIgnore",typeComment:"Internal extension to mark an entity as ignored"})}),NF=V(()=>{mj(),J(),KZ=nj.Object({name:nj.String({description:"The text that displays in the badge",minLength:1}),position:nj.Optional(nj.Union([nj.Literal("before"),nj.Literal("after")],{description:"The position of the badge in relation to the header",default:"after"})),color:nj.Optional(nj.String({description:"The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)",pattern:"^(#([0-9A-Fa-f]{3}){1,2}|rgb\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*\\)|rgba\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*[0-9.]*\\s*\\)|hsl\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*\\)|hsla\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*,\\s*[0-9.]*\\s*\\)|[a-zA-Z]+)$"}))},{description:"Configuration for a single badge in the x-badges extension"}),JZ=x({name:h({typeComment:"The text that displays in the badge. This is required for all badges."}),position:S(w([A("before"),A("after")],{typeComment:"The position of the badge in relation to the header"})),color:S(h({typeComment:"The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)"}))},{typeName:"XBadge",typeComment:"Configuration for a single badge in the x-badges extension"}),eV=nj.Object({"x-badges":nj.Optional(nj.Array(KZ))}),tV=x({"x-badges":S(y(JZ,{typeComment:"Badges displayed for this operation in documentation"}))},{typeName:"XBadges",typeComment:"Badges for an operation in the Scalar UI"})}),IF=V(()=>{mj(),J(),aV=nj.Object({lang:nj.Optional(nj.String()),label:nj.Optional(nj.String()),source:nj.String()}),rV=nj.Object({language:nj.Optional(nj.String()),code:nj.String(),name:nj.Optional(nj.String()),install:nj.Optional(nj.String()),correspondingExample:nj.Optional(nj.String())}),nV=nj.Object({"code-samples":nj.Optional(nj.Array(rV)),"samples-languages":nj.Optional(nj.Array(nj.String()))}),oV=nj.Object({title:nj.Optional(nj.String()),request:nj.Optional(nj.Record(nj.String(),nj.String())),response:nj.Optional(nj.Unknown())}),iV=nj.Union([oV,nj.Array(oV)]),sV=nj.Object({"x-codeSamples":nj.Optional(nj.Array(aV)),"x-code-samples":nj.Optional(nj.Array(aV)),"x-custom-examples":nj.Optional(nj.Array(aV)),"x-readme":nj.Optional(nV),"x-stainless-snippets":nj.Optional(nj.Record(nj.String(),nj.String())),"x-stainless-examples":nj.Optional(iV),"x-scalar-examples":nj.Optional(nj.Array(aV))}),lV=x({lang:S(h()),label:S(h()),source:h()}),cV=x({language:S(h()),code:h(),name:S(h()),install:S(h()),correspondingExample:S(h())}),uV=x({"code-samples":S(y(cV)),"samples-languages":S(y(h()))}),dV=x({title:S(h()),request:S(O(h(),h())),response:S(v())}),pV=w([dV,y(dV)]),hV=x({"x-codeSamples":S(y(lV)),"x-code-samples":S(y(lV)),"x-custom-examples":S(y(lV)),"x-readme":S(uV),"x-stainless-snippets":S(O(h(),h())),"x-stainless-examples":S(pV),"x-scalar-examples":S(y(lV))})}),RF=V(()=>{mj(),J(),mV=nj.Object({"x-draft-examples":nj.Optional(nj.Array(nj.String()))}),fV=x({"x-draft-examples":S(y(h()))},{typeName:"XDraftExamples",typeComment:"Draft example identifiers for an operation"})}),DF=V(()=>{mj(),J(),gV=nj.Record(nj.String(),nj.Boolean()),vV=nj.Record(nj.String(),gV),bV=nj.Object({"x-scalar-disable-parameters":nj.Optional(nj.Object({"global-cookies":nj.Optional(vV),"global-headers":nj.Optional(vV),"default-headers":nj.Optional(vV)}))}),yV=O(h(),m()),OV=O(h(),yV),xV=x({"global-cookies":S(OV),"global-headers":S(OV),"default-headers":S(OV)},{typeName:"DisableParametersConfig",typeComment:"Disabled parameter state by category and example"}),wV=x({"x-scalar-disable-parameters":S(xV)},{typeName:"XScalarDisableParameters",typeComment:"Tracks which parameters are disabled across examples"})}),LF=V(()=>{mj(),J(),kV={Deprecated:"deprecated",Experimental:"experimental",Stable:"stable"},SV=nj.Object({"x-scalar-stability":nj.Optional(nj.Union([nj.Literal("deprecated"),nj.Literal("experimental"),nj.Literal("stable")]))}),AV=x({"x-scalar-stability":S(w([A("deprecated"),A("experimental"),A("stable")],{typeComment:"Stability level of the operation"}))},{typeName:"XScalarStability",typeComment:"Stability of the operation in the Scalar UI"})}),BF=V(()=>{mj(),fj(),MF(),$F(),Kq(),Jq(),NF(),IF(),RF(),DF(),LF(),rF(),iF(),lF(),_V=oj(nj.Object({tags:nj.Optional(nj.Array(nj.String())),summary:nj.Optional(nj.String()),description:nj.Optional(nj.String()),externalDocs:nj.Optional(wH),operationId:nj.Optional(nj.String()),parameters:nj.Optional(nj.Array(nj.Union([EH,eZ(EH)]))),requestBody:nj.Optional(nj.Union([PH,eZ(PH)])),responses:nj.Optional(TH),deprecated:nj.Optional(nj.Boolean()),security:nj.Optional(nj.Array(dH)),servers:nj.Optional(nj.Array(xH)),callbacks:nj.Optional(nj.Record(nj.String(),nj.Union([hH,eZ(hH)])))}),eV,WZ,GZ,sV,SV,bV,Zz,Qz,mV,tH)}),jF=V(()=>{mj(),J(),TV=nj.Object({"x-global":nj.Optional(nj.Boolean())}),EV=x({"x-global":S(m())},{typeName:"XGlobal",typeComment:"When true, the parameter is injected into every request for the workspace"})}),UF=V(()=>{mj(),fj(),MF(),$F(),jF(),iF(),lF(),CV=oj(nj.Object({name:nj.String(),in:nj.Union([nj.Literal("query"),nj.Literal("header"),nj.Literal("path"),nj.Literal("cookie")]),description:nj.Optional(nj.String()),required:nj.Optional(nj.Boolean()),deprecated:nj.Optional(nj.Boolean()),allowEmptyValue:nj.Optional(nj.Boolean()),allowReserved:nj.Optional(nj.Boolean())}),TV,WZ,GZ),PV=oj(CV,nj.Object({style:nj.Optional(nj.String()),explode:nj.Optional(nj.Boolean()),schema:nj.Optional(nj.Union([vH,eZ(vH)])),example:nj.Optional(nj.Any()),examples:nj.Optional(nj.Record(nj.String(),nj.Union([CH,eZ(CH)])))})),MV=oj(CV,nj.Object({content:nj.Optional(nj.Record(nj.String(),OH))})),$V=nj.Union([PV,MV])}),zF=V(()=>{mj(),iF(),lF(),NV=nj.Object({$ref:nj.Optional(nj.String()),summary:nj.Optional(nj.String()),description:nj.Optional(nj.String()),get:nj.Optional(nj.Union([gH,eZ(gH)])),put:nj.Optional(nj.Union([gH,eZ(gH)])),post:nj.Optional(nj.Union([gH,eZ(gH)])),delete:nj.Optional(nj.Union([gH,eZ(gH)])),patch:nj.Optional(nj.Union([gH,eZ(gH)])),connect:nj.Optional(nj.Union([gH,eZ(gH)])),options:nj.Optional(nj.Union([gH,eZ(gH)])),head:nj.Optional(nj.Union([gH,eZ(gH)])),trace:nj.Optional(nj.Union([gH,eZ(gH)])),servers:nj.Optional(nj.Array(xH)),parameters:nj.Optional(nj.Array(nj.Union([EH,eZ(EH)])))})}),HF=V(()=>{mj(),iF(),lF(),IV=nj.Record(nj.String(),nj.Union([mH,eZ(mH)]))}),ZF=V(()=>{mj(),J(),RV=nj.Object({"x-scalar-selected-content-type":nj.Optional(nj.Record(nj.String(),nj.String()))}),DV=x({"x-scalar-selected-content-type":S(O(h(),h(),{typeComment:"Selected content type per example name"}))},{typeName:"XScalarSelectedContentType",typeComment:"Selected content type per example for request or response bodies"})}),VF=V(()=>{mj(),fj(),ZF(),iF(),LV=oj(nj.Object({description:nj.Optional(nj.String()),content:nj.Record(nj.String(),OH),required:nj.Optional(nj.Boolean())}),RV)}),QF=V(()=>{mj(),iF(),lF(),BV=nj.Object({description:nj.String(),headers:nj.Optional(nj.Record(nj.String(),nj.Union([yH,eZ(yH)]))),content:nj.Optional(nj.Record(nj.String(),OH)),links:nj.Optional(nj.Record(nj.String(),nj.Union([$H,eZ($H)])))})}),qF=V(()=>{mj(),iF(),lF(),jV=nj.Record(nj.String(),nj.Union([_H,eZ(_H)]))}),FF=V(()=>{mj(),J(),UV=nj.Object({"x-tags":nj.Optional(nj.Array(nj.String()))}),zV=x({"x-tags":S(y(h()))},{typeName:"XTags",typeComment:"Custom tag ordering or grouping hints for schema objects"})}),WF=V(()=>{mj(),J(),HV=nj.Object({"x-additionalPropertiesName":nj.Optional(nj.String())}),ZV=x({"x-additionalPropertiesName":S(h())},{typeName:"XAdditionalPropertiesName",typeComment:"Display name for additional properties on a schema"})}),XF=V(()=>{mj(),J(),VV=nj.Object({"x-enumDescriptions":nj.Optional(nj.Union([nj.Record(nj.String(),nj.String()),nj.Array(nj.String())])),"x-enum-descriptions":nj.Optional(nj.Union([nj.Record(nj.String(),nj.String()),nj.Array(nj.String())]))}),QV=w([O(h(),h()),y(h())]),qV=x({"x-enumDescriptions":S(QV),"x-enum-descriptions":S(QV)},{typeName:"XEnumDescriptions",typeComment:"Descriptions for enum values"})}),GF=V(()=>{mj(),J(),FV=nj.Object({"x-enum-varnames":nj.Optional(nj.Array(nj.String())),"x-enumNames":nj.Optional(nj.Array(nj.String()))}),WV=x({"x-enum-varnames":S(y(h())),"x-enumNames":S(y(h()))},{typeName:"XEnumVarNames",typeComment:"Display names for enum values"})}),YF=V(()=>{mj(),J(),XV=nj.Object({"x-examples":nj.Optional(nj.Record(nj.String(),nj.Unknown()))}),GV=x({"x-examples":S(O(h(),g()))},{typeName:"XExamples",typeComment:"Named examples attached to a schema"})}),KF=V(()=>{mj(),J(),YV=nj.Object({"x-order":nj.Optional(nj.Number())}),KV=x({"x-order":S(p())},{typeName:"XOrder",typeComment:"Display order for a schema property"})}),JF=V(()=>{mj(),J(),JV=nj.Object({"x-variable":nj.Optional(nj.String())}),eQ=x({"x-variable":S(h())},{typeName:"XVariable",typeComment:"Variable reference for a schema property"})}),eW=V(()=>{mj(),fj(),MF(),$F(),FF(),WF(),XF(),GF(),YF(),KF(),JF(),iF(),lF(),tQ=nj.Union([vH,oj(JH,nj.Object({"$ref-value":nj.Unknown()}))]),aQ=nj.Union([nj.Literal("null"),nj.Literal("boolean"),nj.Literal("string"),nj.Literal("number"),nj.Literal("integer"),nj.Literal("object"),nj.Literal("array")]),rQ=nj.Object({type:nj.Union([nj.Literal("null"),nj.Literal("boolean")])}),nQ=oj(GZ,WZ,JV,XV,VV,FV,HV,YV,UV),oQ=nj.Object({$id:nj.Optional(nj.String()),$anchor:nj.Optional(nj.String()),$dynamicAnchor:nj.Optional(nj.String()),$dynamicRef:nj.Optional(nj.String()),name:nj.Optional(nj.String()),title:nj.Optional(nj.String()),description:nj.Optional(nj.String()),default:nj.Optional(nj.Unknown()),enum:nj.Optional(nj.Array(nj.Unknown())),const:nj.Optional(nj.Unknown()),contentMediaType:nj.Optional(nj.String()),contentEncoding:nj.Optional(nj.String()),contentSchema:nj.Optional(tQ),deprecated:nj.Optional(nj.Boolean()),discriminator:nj.Optional(IH),readOnly:nj.Optional(nj.Boolean()),writeOnly:nj.Optional(nj.Boolean()),xml:nj.Optional(NH),externalDocs:nj.Optional(wH),example:nj.Optional(nj.Unknown()),examples:nj.Optional(nj.Array(nj.Unknown())),allOf:nj.Optional(nj.Array(tQ)),oneOf:nj.Optional(nj.Array(tQ)),anyOf:nj.Optional(nj.Array(tQ)),not:nj.Optional(tQ)}),iQ=nj.Object({multipleOf:nj.Optional(nj.Number()),maximum:nj.Optional(nj.Number()),exclusiveMaximum:nj.Optional(nj.Number({minimum:0})),minimum:nj.Optional(nj.Number()),exclusiveMinimum:nj.Optional(nj.Number({minimum:0}))}),sQ=oj(nj.Object({type:nj.Union([nj.Literal("number"),nj.Literal("integer")]),format:nj.Optional(nj.String())}),iQ),lQ=nj.Object({maxLength:nj.Optional(nj.Integer({minimum:0})),minLength:nj.Optional(nj.Integer({minimum:0})),pattern:nj.Optional(nj.String())}),cQ=oj(nj.Object({type:nj.Literal("string"),format:nj.Optional(nj.String())}),lQ),uQ=nj.Object({maxItems:nj.Optional(nj.Integer({minimum:0})),minItems:nj.Optional(nj.Integer({minimum:0})),uniqueItems:nj.Optional(nj.Boolean()),items:nj.Optional(tQ),prefixItems:nj.Optional(nj.Array(tQ))}),dQ=oj(nj.Object({type:nj.Literal("array")}),uQ),pQ=nj.Object({maxProperties:nj.Optional(nj.Integer({minimum:0})),minProperties:nj.Optional(nj.Integer({minimum:0})),required:nj.Optional(nj.Array(nj.String())),properties:nj.Optional(nj.Record(nj.String(),tQ)),additionalProperties:nj.Optional(nj.Union([nj.Boolean(),tQ])),patternProperties:nj.Optional(nj.Record(nj.String(),tQ)),propertyNames:nj.Optional(tQ)}),hQ=oj(nj.Object({type:nj.Literal("object")}),pQ),mQ=oj(nj.Object({type:nj.Array(aQ),format:nj.Optional(nj.String())}),iQ,lQ,uQ,pQ),fQ=nj.Union([oj(nj.Object({__scalar_:nj.String()}),oQ,nQ),oj(rQ,oQ,nQ),oj(sQ,oQ,nQ),oj(cQ,oQ,nQ),oj(hQ,oQ,nQ),oj(dQ,oQ,nQ),oj(mQ,oQ,nQ)])}),tW=V(()=>{mj(),gQ=nj.Partial(nj.Record(nj.String(),nj.Array(nj.String())))}),aW=V(()=>{mj(),J(),vQ=nj.Object({"x-default-scopes":nj.Optional(nj.Array(nj.String()))}),bQ=x({"x-default-scopes":S(y(h()))},{typeName:"XDefaultScopes",typeComment:"Default selected OAuth scopes"})}),rW=V(()=>{mj(),fj(),aW(),iF(),yQ=nj.Object({description:nj.Optional(nj.String())}),OQ=oj(yQ,nj.Object({type:nj.Literal("apiKey"),name:nj.String(),in:nj.Union([nj.Literal("query"),nj.Literal("header"),nj.Literal("cookie")])})),xQ=oj(yQ,nj.Object({type:nj.Literal("http"),scheme:nj.Union([nj.Literal("basic"),nj.Literal("bearer")]),bearerFormat:nj.Optional(nj.String())})),wQ=oj(yQ,nj.Object({type:nj.Literal("oauth2"),flows:RH}),vQ),kQ=oj(yQ,nj.Object({type:nj.Literal("openIdConnect"),openIdConnectUrl:nj.String()})),SQ=nj.Union([OQ,xQ,wQ,kQ])}),nW=V(()=>{mj(),iF(),AQ=nj.Object({url:nj.String(),description:nj.Optional(nj.String()),variables:nj.Optional(nj.Record(nj.String(),DH))})}),oW=V(()=>{mj(),_Q=nj.Object({enum:nj.Optional(nj.Array(nj.String())),default:nj.Optional(nj.String()),description:nj.Optional(nj.String())})}),iW=V(()=>{mj(),J(),TQ=nj.Object({"x-displayName":nj.Optional(nj.String())}),EQ=x({"x-displayName":S(h())},{typeName:"XDisplayName",typeComment:"Display-friendly name for a tag"})}),sW=V(()=>{mj(),fj(),MF(),$F(),aF(),iW(),iF(),CQ=oj(nj.Object({name:nj.String(),description:nj.Optional(nj.String()),externalDocs:nj.Optional(wH)}),TQ,WZ,GZ,Jz)}),lW=V(()=>{mj(),PQ=nj.Object({name:nj.Optional(nj.String()),namespace:nj.Optional(nj.String()),prefix:nj.Optional(nj.String()),attribute:nj.Optional(nj.Boolean()),wrapped:nj.Optional(nj.Boolean())})}),cW=V(()=>{mj(),fj(),Vq(),Qq(),qq(),Fq(),Wq(),Xq(),Gq(),Yq(),Kq(),Jq(),eF(),tF(),aF(),rF(),nF(),sF(),cF(),uF(),dF(),pF(),hF(),fF(),gF(),vF(),yF(),OF(),xF(),wF(),PF(),BF(),UF(),zF(),HF(),iF(),VF(),QF(),qF(),eW(),tW(),rW(),nW(),oW(),sW(),lW(),MQ=oj(nj.Partial(nj.Object({"x-original-oas-version":nj.String(),[wz.document.navigation]:BH})),Rz,oH,Tz,tH,Cz,Jz,Yz,Nz,Mz,Fz,zz,Bz,Qz,Zz),$Q=oj(nj.Object({openapi:nj.String(),info:kH,jsonSchemaDialect:nj.Optional(nj.String()),servers:nj.Optional(nj.Array(xH)),paths:nj.Optional(fH),webhooks:nj.Optional(fH),components:nj.Optional(uH),security:nj.Optional(nj.Array(dH)),tags:nj.Optional(nj.Array(pH)),externalDocs:nj.Optional(wH)}),MQ),NQ=nj.Module({[cH.ComponentsObject]:rZ,[cH.SecurityRequirementObject]:gQ,[cH.TagObject]:CQ,[cH.CallbackObject]:tZ,[cH.PathItemObject]:NV,[cH.PathsObject]:IV,[cH.OperationObject]:_V,[cH.SchemaObject]:fQ,[cH.EncodingObject]:iZ,[cH.MediaTypeObject]:xZ,[cH.HeaderObject]:hZ,[cH.ServerObject]:AQ,[cH.ExternalDocumentationObject]:uZ,[cH.InfoObject]:bZ,[cH.ContactObject]:nZ,[cH.LicenseObject]:yZ,[cH.ResponseObject]:BV,[cH.ResponsesObject]:jV,[cH.ParameterObject]:$V,[cH.ExampleObject]:cZ,[cH.RequestBodyObject]:LV,[cH.SecuritySchemes]:aZ,[cH.SecuritySchemeObject]:SQ,[cH.LinkObject]:OZ,[cH.XMLObject]:PQ,[cH.DiscriminatorObject]:oZ,[cH.OAuthFlowsObject]:FZ,[cH.ServerVariableObject]:_Q,OpenApiDocument:$Q,[cH.TraversedDescriptionObject]:zH,[cH.TraversedOperationObject]:ZH,[cH.TraversedAsyncApiOperationObject]:VH,[cH.TraversedAsyncApiChannelObject]:QH,[cH.TraversedAsyncApiMessageObject]:qH,[cH.TraversedSchemaObject]:FH,[cH.TraversedWebhookObject]:WH,[cH.TraversedTagObject]:XH,[cH.TraversedEntryObject]:YH,[cH.TraversedDocumentObject]:UH}),IQ=NQ.Import("OpenApiDocument"),NQ.Import("ComponentsObject"),RQ=NQ.Import("SecurityRequirementObject"),NQ.Import("TagObject"),NQ.Import("CallbackObject"),NQ.Import("PathItemObject"),NQ.Import("PathsObject"),NQ.Import("OperationObject"),DQ=NQ.Import("SchemaObject"),NQ.Import("EncodingObject"),NQ.Import("MediaTypeObject"),NQ.Import("HeaderObject"),LQ=NQ.Import("ServerObject"),NQ.Import("ExternalDocumentationObject"),NQ.Import("InfoObject"),NQ.Import("ContactObject"),NQ.Import("LicenseObject"),NQ.Import("ResponseObject"),NQ.Import("ResponsesObject"),NQ.Import("ParameterObject"),NQ.Import("ExampleObject"),NQ.Import("RequestBodyObject"),NQ.Import("SecuritySchemes"),BQ=NQ.Import("SecuritySchemeObject"),NQ.Import("LinkObject"),NQ.Import("XMLObject"),NQ.Import("DiscriminatorObject"),NQ.Import("OAuthFlowsObject"),NQ.Import("ServerVariableObject"),NQ.Import("TraversedDescriptionObject"),NQ.Import("TraversedEntryObject"),NQ.Import("TraversedTagObject"),NQ.Import("TraversedOperationObject"),NQ.Import("TraversedSchemaObject"),NQ.Import("TraversedWebhookObject")}),uW=V(()=>{mj(),jE(),fj(),Zq(),cW(),jQ={schema:e=>{if(void 0===e)return;let t=EE(e,TE);return xz(oj(DQ,nj.Object({$ref:nj.Optional(nj.String())})),t)}}}),dW=V(()=>{wE(),bC(),uW(),UQ=(new Date).toISOString(),zQ=UQ.split("T")[0],HQ=UQ.split("T")[1].split(".")[0],ZQ={"date-time":UQ,date:zQ,email:"hello@example.com",hostname:"example.com","idn-email":"jane.doe@example.com","idn-hostname":"example.com",ipv4:"127.0.0.1",ipv6:"51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998","iri-reference":"/entitiy/1",iri:"https://example.com/entity/123","json-pointer":"/nested/objects",password:"super-secret",regex:"/[a-z]/","relative-json-pointer":"1/nested/objects",time:HQ,"uri-reference":"../folder","uri-template":"https://example.com/{id}",uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000","object-id":"6592008029c8c3e4dc76256c"},VQ=e=>{if(!("propertyNames"in e)||!e.propertyNames)return;let t=jQ.schema(e.propertyNames);return t&&"enum"in t&&Array.isArray(t.enum)&&t.enum.length>0?t.enum:void 0},QQ=(e,t=!1,a="")=>"type"in e&&"string"===e.type&&"format"in e&&"binary"===e.format?"@filename":t&&"format"in e&&e.format?ZQ[e.format]??a:a,qQ=new WeakMap,FQ=new WeakMap,WQ=e=>hC(e,{depth:1}),XQ=e=>{if(!e)return;let t=FQ.get(e);if(t)return t;if("required"in e){let t=e.required;if(Array.isArray(t)&&t.length>0){let a=new Set(t);return FQ.set(e,a),a}}},GQ=(e,t,a)=>{if("object"!=typeof t||!t)return t;let r=WQ(e),n=qQ.get(r)??new Map;return n&&n.set(a,t),qQ.set(r,n),t},YQ=e=>!!(e.allOf||e.oneOf||e.anyOf),KQ=(e,t,a,r)=>{if(e.deprecated||"write"===r?.mode&&e.readOnly||"read"===r?.mode&&e.writeOnly)return!0;if(!0!==r?.omitEmptyAndOptionalProperties||"type"in e&&("object"===e.type||"array"===e.type)||YQ(e)||"examples"in e&&Array.isArray(e.examples)&&e.examples.length>0||"example"in e&&void 0!==e.example||"default"in e&&void 0!==e.default||"const"in e&&void 0!==e.const||"enum"in e&&Array.isArray(e.enum)&&e.enum.length>0)return!1;let n=a??e.title??"",o=XQ(t);return!(o&&o.has(n))},JQ=(e,t)=>Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&"object"==typeof e&&t&&"object"==typeof t?{...e,...t}:t,eq=new WeakMap,tq=(e,t)=>{switch(t){case"string":return"string"==typeof e;case"number":return"number"==typeof e&&!Number.isNaN(e);case"integer":return"number"==typeof e&&Number.isInteger(e);case"boolean":return"boolean"==typeof e;case"object":return"object"==typeof e&&!!e&&!Array.isArray(e);case"array":return Array.isArray(e);case"null":return null===e;default:return!1}},aq=e=>{let t=WQ(e);if(eq.has(t))return eq.get(t);let a="$ref"in e?jQ.schema(e):e;return eq.set(t,a),a},rq=(e,t,a=new Set,r=0)=>{if(r>50)return!0;let n=WQ(e);if(a.has(n))return!0;if(a.add(n),"type"in e&&e.type&&!(Array.isArray(e.type)?e.type:[e.type]).some(e=>!("number"!==e||!tq(t,"integer"))||tq(t,e)))return a.delete(n),!1;let o=e.anyOf;if(Array.isArray(o)&&o.length>0&&!o.some(e=>{let n=aq(e);return!!n&&rq(n,t,a,r+1)}))return a.delete(n),!1;let i=e.oneOf;if(Array.isArray(i)&&i.length>0&&!i.some(e=>{let n=aq(e);return!!n&&rq(n,t,a,r+1)}))return a.delete(n),!1;let s=e.allOf;return Array.isArray(s)&&s.length>0&&!s.every(e=>{let n=aq(e);return!n||rq(n,t,a,r+1)})?(a.delete(n),!1):(a.delete(n),!0)},nq=Symbol("INVALID_DEFAULT"),oq=e=>{let t=e.default;return rq(e,t)?t:nq},iq=(e,t)=>[...e,t].join("."),sq=(e,t,a,r)=>{let n=a?.compositionSelection?.[iq(e,t)];if("number"==typeof n&&!Number.isNaN(n))return Math.max(0,Math.min(n,r-1))},lq=e=>{if(e&&"object"==typeof e&&"x-order"in e){let t=Number(e["x-order"]);return Number.isNaN(t)?void 0:t}},cq=e=>Object.keys(e).sort((t,a)=>{let r=lq(e[t]),n=lq(e[a]);return void 0!==r&&void 0!==n?r-n:void 0===r?void 0===n?0:1:-1}),uq=(e,t,a,r,n,o)=>{let i={};if("properties"in e&&e.properties){let n=e.properties,s=cq(n),l=s.length;for(let c=0;c<l;c++){let l=s[c],u=jQ.schema(n[l]);if(!u)continue;let d=t?.xml&&"xml"in u?u.xml?.name:void 0,p=fq(u,t,{level:a+1,parentSchema:e,name:l,schemaPath:[...o,l],seen:r});void 0!==p&&(i[d??l]=p)}}if("patternProperties"in e&&e.patternProperties)for(let n of Object.keys(e.patternProperties)){let s=jQ.schema(e.patternProperties[n]);s&&(i[n]=fq(s,t,{level:a+1,parentSchema:e,name:n,schemaPath:[...o,n],seen:r}))}if("additionalProperties"in e&&e.additionalProperties){let n="boolean"==typeof e.additionalProperties?e.additionalProperties:jQ.schema(e.additionalProperties),s=!0===e.additionalProperties||"object"==typeof e.additionalProperties&&0===Object.keys(e.additionalProperties).length,l="object"==typeof n&&"x-additionalPropertiesName"in n&&"string"==typeof n["x-additionalPropertiesName"]&&n["x-additionalPropertiesName"].trim().length>0,c=l?void 0:VQ(e),u=l?n["x-additionalPropertiesName"].trim():"additionalProperty",d=s?"anything":"object"==typeof n?fq(n,t,{level:a+1,schemaPath:[...o,u],seen:r}):"anything";c&&c.length>0?i[String(c[0])]=d:i[u]=d}let s=e.oneOf?"oneOf":e.anyOf?"anyOf":void 0,l=s?e[s]:void 0;if(s&&l?.length){let e=sq(o,s,t,l.length)??0,n=jQ.schema(l[e]);n&&Object.assign(i,fq(n,t,{level:a+1,schemaPath:o,seen:r}))}else if(Array.isArray(e.allOf)&&e.allOf.length>0){let n=i;for(let o of e.allOf){let i=fq(jQ.schema(o),t,{level:a+1,parentSchema:e,seen:r});n=JQ(n,i)}n&&"object"==typeof n&&Object.assign(i,n)}if(t?.xml&&"xml"in e&&e.xml?.name&&0===a){let t={};return t[e.xml.name]=i,GQ(e,t,n)}return GQ(e,i,n)},dq=(e,t,a,r,n,o)=>{let i="items"in e?jQ.schema(e.items):void 0,s=[...o,"items"],l=i&&"object"==typeof i&&"xml"in i?i.xml?.name:void 0,c=!!(t?.xml&&"xml"in e&&e.xml?.wrapped&&l);if(void 0!==e.example)return GQ(e,c?{[l]:e.example}:e.example,n);if(i&&"object"==typeof i){if(Array.isArray(i.allOf)&&i.allOf.length>0){let o=i.allOf.filter(bE),u=jQ.schema(o[0]);if(u&&"object"==typeof u&&"type"in u&&"object"===u.type){let i=fq({type:"object",allOf:o},t,{level:a+1,parentSchema:e,schemaPath:s,seen:r});return GQ(e,c?[{[l]:i}]:[i],n)}let d=o.map(n=>fq(jQ.schema(n),t,{level:a+1,parentSchema:e,schemaPath:s,seen:r})).filter(bE);return GQ(e,c?d.map(e=>({[l]:e})):d,n)}let o=i.oneOf?"oneOf":i.anyOf?"anyOf":void 0,u=o?i[o]:void 0;if(o&&u&&u.length>0){let i=u[sq(s,o,t,u.length)??0],d=fq(jQ.schema(i),t,{level:a+1,parentSchema:e,schemaPath:s,seen:r});return GQ(e,c?[{[l]:d}]:[d],n)}}let u=i&&"object"==typeof i&&("type"in i&&"object"===i.type||"properties"in i),d=i&&"object"==typeof i&&("type"in i&&"array"===i.type||"items"in i);if(i&&"object"==typeof i&&("type"in i&&i.type||u||d)){let o=fq(i,t,{level:a+1,schemaPath:s,seen:r});return GQ(e,c?[{[l]:o}]:[o],n)}return GQ(e,[],n)},pq=(e,t,a)=>{if("type"in e&&e.type&&!Array.isArray(e.type))switch(e.type){case"string":return QQ(e,t,a??"");case"boolean":return!0;case"integer":case"number":return"minimum"in e&&"number"==typeof e.minimum?e.minimum:1;case"array":return[];default:return}},hq=(e,t,a)=>{if("type"in e&&Array.isArray(e.type)){if(e.type.includes("null"))return null;let r=e.type[0];if(r)switch(r){case"string":return QQ(e,t,a??"");case"boolean":return!0;case"integer":case"number":return"minimum"in e&&"number"==typeof e.minimum?e.minimum:1;case"null":return null;default:return}}},mq=e=>JSON.stringify({emptyString:e?.emptyString,xml:e?.xml,mode:e?.mode,variables:e?.variables,omitEmptyAndOptionalProperties:e?.omitEmptyAndOptionalProperties,compositionSelection:e?.compositionSelection?Object.entries(e.compositionSelection).sort(([e],[t])=>e.localeCompare(t)):void 0}),fq=(e,t,{level:a=0,parentSchema:r,name:n,seen:o=new WeakSet,schemaPath:i=[]}={})=>{let s=jQ.schema(e);if(!bE(s))return;let l=WQ(s);if(o.has(l))return;o.add(l);let c=mq(t)+(i.length>0?`:path:${i.join(".")}`:""),u=qQ.get(l)?.get(c);if(void 0!==u)return o.delete(l),u;if(a>10)return o.delete(l),"[Max Depth Exceeded]";let d=!!t?.emptyString;if(KQ(s,r,n,t))return void o.delete(l);if("x-variable"in s&&s["x-variable"]){let e=t?.variables?.[s["x-variable"]];if(void 0!==e)return!("type"in s)||"number"!==s.type&&"integer"!==s.type?(o.delete(l),GQ(s,e,c)):(o.delete(l),GQ(s,Number(e),c))}if(Array.isArray(s.examples)&&s.examples.length>0)return o.delete(l),GQ(s,s.examples[0],c);if(void 0!==s.example)return o.delete(l),GQ(s,s.example,c);if(void 0!==s.default){let e=oq(s);if(e!==nq)return o.delete(l),GQ(s,e,c)}if(void 0!==s.const)return o.delete(l),GQ(s,s.const,c);if(Array.isArray(s.enum)&&s.enum.length>0)return o.delete(l),GQ(s,s.enum[0],c);if("properties"in s||"type"in s&&"object"===s.type){let e=uq(s,t,a,o,c,i);return o.delete(l),e}if("type"in s&&"array"===s.type||"items"in s){let e=dq(s,t,a,o,c,i);return o.delete(l),e}let p=pq(s,d,t?.emptyString);if(void 0!==p)return o.delete(l),GQ(s,p,c);let h=s.oneOf?"oneOf":s.anyOf?"anyOf":void 0,m=h?s[h]:void 0;if(h&&Array.isArray(m)&&m.length>0){let e=sq(i,h,t,m.length),r=void 0===e?m.find(e=>{let t=jQ.schema(e);return t&&(!("type"in t)||"null"!==t.type)}):m[e];if(r){let e=jQ.schema(r);if(e)return o.delete(l),GQ(s,fq(e,t,{level:a+1,schemaPath:i,seen:o}),c)}return o.delete(l),GQ(s,null,c)}if(Array.isArray(s.allOf)&&s.allOf.length>0){let e,r=s.allOf;for(let n of r){let r=fq(n,t,{level:a+1,parentSchema:s,schemaPath:i,seen:o});void 0===e?e=r:e&&"object"==typeof e&&r&&"object"==typeof r?e=JQ(e,r):void 0!==r&&(e=r)}return o.delete(l),GQ(s,e??null,c)}let f=hq(s,d,t?.emptyString);return void 0===f?(o.delete(l),GQ(s,null,c)):(o.delete(l),GQ(s,f,c))}}),pW=V(()=>{jE(),yC(),OC(),dW(),gq=(e,t,a,r)=>{let n=e.content?.[t],o=gC(e,a,t);if(o)return o;let i=EE(n?.schema);if(!i)return null;let s=fq(mC(i),{mode:"write",compositionSelection:r},{schemaPath:["requestBody"]});return s?{value:s}:null}}),hW=V(()=>{vq=(e,t="default")=>e?.["x-scalar-selected-content-type"]?.[t]??Object.keys(e?.content??{})[0]??null}),mW=V(()=>{bq=(e,t)=>"string"==typeof e?e:t.includes("json")||"object"==typeof e&&e&&!Array.isArray(e)?JSON.stringify(e):String(e),yq=(e,t)=>{if(Array.isArray(e))return e.join(",");if("object"==typeof e&&e){let a=Object.entries(e);return t?a.map(([e,t])=>`${e}=${t}`).join(","):a.map(([e,t])=>`${e},${t}`).join(",")}return e},Oq=(e,t)=>Array.isArray(e)&&t?e.map(e=>({key:"",value:e})):Array.isArray(e)?e.join(","):"object"==typeof e&&e&&t?Object.entries(e).map(([e,t])=>({key:e,value:t})):"object"==typeof e&&e?Object.entries(e).map(([e,t])=>`${e},${t}`).join(","):e,xq=(e,t)=>{if(Array.isArray(e)&&t)return e.map(e=>({key:"",value:e}));if(Array.isArray(e))return e.map(e=>null===e?"null":String(e)).join(",");if("object"==typeof e&&e&&t)return Object.entries(e).map(([e,t])=>({key:e,value:t}));if("object"==typeof e&&e){let t=e=>{let a=[];for(let[r,n]of Object.entries(e))"object"==typeof n&&n&&!Array.isArray(n)?a.push(r,...t(n)):a.push(r,null===n?"null":String(n));return a};return t(e).join(",")}return e},wq=e=>Array.isArray(e)?e.join(" "):"object"==typeof e&&e?Object.entries(e).map(([e,t])=>`${e} ${t}`).join(" "):String(e),kq=e=>Array.isArray(e)?e.join("|"):"object"==typeof e&&e?Object.entries(e).flat().join("|"):String(e),Sq=(e,t)=>{let a=[],r=(e,t)=>{for(let[n,o]of Object.entries(e)){let e=`${t}[${n}]`;"object"==typeof o&&o&&!Array.isArray(o)?r(o,e):a.push({key:e,value:String(o)})}};return"object"==typeof t&&t&&!Array.isArray(t)&&r(t,e),a}}),fW=V(()=>{bC(),mW(),Aq=e=>"object"==typeof e&&e?JSON.stringify(e):String(e),_q=(e,t,a)=>{if(!a||void 0===a.style&&void 0===a.explode&&void 0===a.allowReserved||"object"!=typeof t||!t||t instanceof File||Array.isArray(t)&&t.some(e=>e instanceof File))return null;let r=hC(t),n=a?.style??"form",o=a?.explode??"form"===n,i=[];if("deepObject"===n)if(Array.isArray(r)){let t=Oq(r,!0);if(Array.isArray(t))for(let a of t)i.push({key:a.key||e,value:Aq(a.value)});else i.push({key:e,value:String(t)})}else for(let t of Sq(e,r))i.push({key:t.key,value:String(t.value)});else if("spaceDelimited"===n)i.push({key:e,value:String(wq(r))});else if("pipeDelimited"===n)i.push({key:e,value:String(kq(r))});else{let t=Oq(r,o);if(Array.isArray(t))for(let a of t)i.push({key:a.key||e,value:Aq(a.value)});else i.push({key:e,value:String(t)})}return i}});function gW(e,t){let a=(e,a)=>"function"==typeof t?t(a):t[a]?.toString()||`{${a}}`;return e.replace(/{{\s*([\w.-]+)\s*}}/g,a).replace(/{\s*([\w.-]+)\s*}/g,a)}var vW,bW,yW,OW,xW=V(()=>{VS(),vW=(e,t={})=>e.replace(Bw.PATH,(e,a)=>t[a]??e),bW=(e,t={})=>e.replace(Bw.VARIABLES,(e,a)=>"function"==typeof t?t(a)??e:t[a]??e)}),wW=V(()=>{yW=e=>({ok:!0,data:e}),OW=(e,t)=>({ok:!1,error:e,message:t})});function kW(e){try{let t=e();return t instanceof Promise?t.then(e=>yW(e),e=>(console.error(e),OW(SW(e)))):yW(t)}catch(e){return console.error(e),OW(SW(e))}}var SW,AW=V(()=>{wW(),SW=e=>e instanceof Error?e.message:String(e)});function _W(e){try{let{hostname:t}=new URL(e);if(TW.includes(t))return!0;let a=t.split(".").pop();return!(!a||!EW.includes(a))}catch{return!0}}var TW,EW,CW,PW,MW,$W,NW,IW,RW,DW,LW,BW,jW,UW,zW,HW,ZW,VW,QW,qW,FW,WW,XW,GW,YW,KW,JW,eX,tX,aX,rX,nX,oX,iX,sX,lX,cX,uX,dX,pX,hX,mX,fX,gX,vX,bX,yX,OX,xX,wX,kX,SX,AX,_X,TX,EX,CX,PX,MX,$X,NX,IX,RX,DX,LX,BX,jX,UX,zX,HX,ZX,VX,QX,qX,FX,WX,XX,GX,YX,KX,JX,eG,tG,aG,rG,nG,oG,iG,sG,lG,cG,uG,dG,pG,hG,mG,fG,gG,vG,bG,yG,OG,xG,wG,kG,SG,AG,_G,TG,EG,CG,PG,MG,$G,NG,IG,RG,DG,LG,BG,jG,UG,zG,HG,ZG,VG,QG,qG,FG,WG,XG,GG,YG,KG,JG,eY,tY,aY,rY,nY,oY,iY,sY,lY,cY,uY,dY,pY,hY,mY,fY,gY,vY,bY,yY,OY,xY,wY,kY,SY,AY,_Y,TY,EY,CY,PY,MY,$Y,NY,IY,RY,DY,LY,BY,jY,UY,zY,HY,ZY,VY,QY,qY,FY,WY,XY,GY,YY,KY,JY,eK,tK,aK,rK,nK,oK,iK,sK,lK,cK,uK,dK,pK,hK,mK,fK,gK,vK,bK,yK,OK,xK,wK,kK,SK,AK,_K,TK,EK,CK,PK,MK=V(()=>{TW=["localhost","127.0.0.1","[::1]","0.0.0.0"],EW=["test","example","invalid","localhost"]}),$K=V(()=>{MK(),QS(),CW=(e,t)=>{try{if(!PW(e,t))return t??"";let a=new URL(t);return a.href=jw(e)?`http://localhost${e}`:e,a.searchParams.append("scalar_url",t),jw(e)?a.toString().replace(/^http:\/\/localhost/,""):a.toString()}catch{return t??""}},PW=(e,t)=>{try{return!(!e||!t||jw(t))&&(!(!jw(e)&&!_W(e))||!_W(t))}catch{return!1}}}),NK=V(()=>{MW="function"==typeof Buffer,"function"==typeof TextDecoder&&new TextDecoder,$W="function"==typeof TextEncoder?new TextEncoder:void 0,(e=>{let t={};e.forEach((e,a)=>t[e]=a)})(NW=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")),IW=String.fromCharCode.bind(String),"function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),RW=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),DW=e=>{let t,a,r,n,o="",i=e.length%3;for(let i=0;i<e.length;){if((a=e.charCodeAt(i++))>255||(r=e.charCodeAt(i++))>255||(n=e.charCodeAt(i++))>255)throw TypeError("invalid character found");t=a<<16|r<<8|n,o+=NW[t>>18&63]+NW[t>>12&63]+NW[t>>6&63]+NW[63&t]}return i?o.slice(0,i-3)+"===".substring(i):o},LW="function"==typeof btoa?e=>btoa(e):MW?e=>Buffer.from(e,"binary").toString("base64"):DW,BW=MW?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let a=0,r=e.length;a<r;a+=4096)t.push(IW.apply(null,e.subarray(a,a+4096)));return LW(t.join(""))},jW=(e,t=!1)=>t?RW(BW(e)):BW(e),UW=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?IW(192|t>>>6)+IW(128|63&t):IW(224|t>>>12&15)+IW(128|t>>>6&63)+IW(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return IW(240|t>>>18&7)+IW(128|t>>>12&63)+IW(128|t>>>6&63)+IW(128|63&t)},zW=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,HW=e=>e.replace(zW,UW),ZW=MW?e=>Buffer.from(e,"utf8").toString("base64"):$W?e=>BW($W.encode(e)):e=>LW(HW(e)),VW=(e,t=!1)=>t?RW(ZW(e)):ZW(e)}),IK=V(()=>{QW=(e,t)=>{if(!e||!t)return!0;try{let a=e.startsWith("http")?e:`http://${e}`,r=new URL(a).hostname,n=!t,o=t===r,i=t.startsWith(".")&&t===`.${r}`,s=t.startsWith(".")&&r?.endsWith(t);return n||o||s||i}catch{return!1}}}),RK=V(()=>{IK(),qW=({cookie:e,url:t,disabledGlobalCookies:a})=>{if(e.isDisabled||!0===a[e.name.toLowerCase()]||!e.name)return!1;let r=new URL(t,"https://example.com");return!(e.domain&&!QW(t,e.domain)||e.path&&!r.pathname.startsWith(e.path))}}),DK=V(()=>{XA(),RK(),FW=(e,t)=>{let a=e.map(e=>`${e.name}=${e.value}`).join("; ");return t&&a?`${t}; ${a}`:t||a||""},WW=({cookies:e,originalCookieHeader:t,url:a,useCustomCookieHeader:r})=>{let n=FW(e.filter(e=>qW({url:a,cookie:e,disabledGlobalCookies:{}})),t??void 0);return n?r?(console.warn("We're using a `X-Scalar-Cookie` custom header to the request. The proxy will forward this as a `Cookie` header. We do this to avoid the browser omitting the `Cookie` header for cross-origin requests for security reasons."),{name:PA,value:n}):(console.warn("We're trying to add a Cookie header, but browsers often omit them for cross-origin requests for various security reasons. If it's not working, that's probably why. Here are the requirements for it to work:\n\n        - The browser URL must be on the same domain as the server URL.\n        - The connection must be made over HTTPS.\n        "),{name:"Cookie",value:n}):null}}),LK=V(()=>{XW={21:"!",24:"$",27:"'",28:"(",29:")","2A":"*","2C":",","2F":"/","3A":":","3B":";",40:"@"},GW=e=>e.replace(/%([0-9A-Fa-f]{2})/g,(e,t)=>XW[t.toUpperCase()]??e),YW=e=>{try{return decodeURIComponent(e.replaceAll("+","%20"))}catch{return e}},KW=(e,t)=>{if(0===t.size)return e;let a=e.indexOf("?");if(-1===a)return e;let r=e.indexOf("#",a),n=e.slice(0,a+1),o=-1===r?e.slice(a+1):e.slice(a+1,r),i=-1===r?"":e.slice(r);return o?`${n}${o.split("&").map(e=>{if(!e)return e;let a=e.indexOf("="),r=-1===a?e:e.slice(0,a),n=YW(r);return t.has(n)&&-1!==a?`${r}=${GW(e.slice(a+1))}`:e}).join("&")}${i}`:e}}),BK=V(()=>{xW(),wW(),AW(),QS(),uA(),JW="INVALID_REQUEST_FACTORY_URL",eX=(e,t)=>{let a=t.envVariables,r=kW(()=>Object.fromEntries(Object.entries(e.path.variables).map(([e,t])=>[e,encodeURIComponent(bW(t,a))])));if(!r.ok)return OW(JW,"The request URL contains invalid characters in path parameters.");let n=r.data,o=WS(bW(e.baseUrl,a),vW(bW(e.path.raw,a),n));if(!t.allowMissingRequestServerBase&&jw(o))return OW("MISSING_REQUEST_SERVER_BASE","No server URL is configured for this request. Add a servers entry to your OpenAPI document (or set a server in the client) before sending.");let i=globalThis.window?.location?.origin,s=i&&"null"!==i?i:"http://localhost:3000",l=kW(()=>new URL(o,s));if(!l.ok)return OW(JW,"The request URL could not be parsed. Check the server URL and path for invalid characters.");let c=l.data,u=new URLSearchParams;for(let[t,r]of e.query.entries())u.append(bW(t,a),bW(r,a));let d=new URLSearchParams;for(let[e,a]of t.securityQueryParams.entries())d.append(e,a);return c.search=qS(c.searchParams,u,d).toString(),yW(c.toString())}}),jK=V(()=>{tX=["9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d","f47ac10b-58cc-4372-a567-0e02b2c3d479","1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed","6ba7b810-9dad-11d1-80b4-00c04fd430c8","a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11","3fa85f64-5717-4562-b3fc-2c963f66afa6","550e8400-e29b-41d4-a716-446655440000","c56a4180-65aa-42ec-a945-5fd21dec0538","7c9e6679-7425-40de-944b-e07fc1f90ae7","e4eaaaf2-d142-11e1-b3e4-080027620cdd","aab5d5fd-70c1-11e5-a4fb-b026b977eb28","2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d","d9428888-122b-11e1-b85c-61cd3cbed5a2","fb1a38e6-4be3-4e38-b8ec-c0c2c2d9e2a7","01234567-89ab-cdef-0123-456789abcdef"],aX="abcdefghijklmnopqrstuvwxyz0123456789",rX=["#e34f26","#3498db","#2ecc71","#9b59b6","#f1c40f","#1abc9c","#e74c3c","#2c3e50","#d35400","#8e44ad","#27ae60","#c0392b","#16a085","#f39c12","#7f8c8d"],nX=["HTTP","SQL","TCP","JSON","XML","API","SSL","CSS","HTML","RAM","FTP","SSH","DNS","URL","USB"],oX=["192.168.1.42","10.0.0.134","172.16.254.1","203.0.113.50","198.51.100.23","100.24.56.78","54.239.28.85","13.107.42.14","151.101.1.140","216.58.214.206","93.184.216.34","104.16.249.249","172.217.14.206","185.199.108.153","140.82.121.4"],iX=["2001:0db8:85a3:0000:0000:8a2e:0370:7334","fe80:0000:0000:0000:0202:b3ff:fe1e:8329","2607:f8b0:4004:0800:0000:0000:0000:200e","2001:4860:4860:0000:0000:0000:0000:8888","2a03:2880:f10c:0083:face:b00c:0000:25de","fd12:3456:789a:1000:0000:0000:0000:0001","2600:1f18:2489:8200:a953:2c7b:e7e0:d12f","2001:0db8:0000:0042:0000:8a2e:0370:7334","fe80:0000:0000:0000:4c5a:e8ff:fe7c:3d92","2001:0db8:aaaa:bbbb:cccc:dddd:eeee:0001"],sX=["00:1A:2B:3C:4D:5E","A4:83:E7:2D:6B:9F","48:2C:6A:1E:59:3D","00:50:56:C0:00:08","D4:BE:D9:19:6F:F2","3C:22:FB:4A:88:C1","08:00:27:5B:8E:A4","F0:18:98:43:65:DA","5C:CF:7F:2B:1D:E3","00:0C:29:3E:71:BC","1C:6F:65:A2:8D:49","B8:27:EB:63:4F:78"],lX=["en","es","fr","de","it","pt","ja","zh","ko","ar","ru","nl","sv","pl","da","fi","nb","tr","hi","th"],cX=["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Safari/605.1.15","Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0","Mozilla/5.0 (iPhone; CPU iPhone OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1","Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.43 Mobile Safari/537.36","Mozilla/5.0 (iPad; CPU OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1","Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0","Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"],uX=["http","https"],dX=["1.0.0","2.3.1","0.9.4","3.12.0","1.5.7","4.0.0-beta.1","0.1.0","2.0.3","1.2.0","5.4.2","3.1.0","0.8.12","2.7.5","1.14.0","6.0.0"],pX=["Emma","Liam","Olivia","Noah","Ava","James","Sophia","Oliver","Isabella","Lucas","Mia","Ethan","Charlotte","Mason","Amelia"],hX=["Smith","Johnson","Williams","Brown","Jones","Garcia","Miller","Davis","Rodriguez","Martinez","Hernandez","Lopez","Gonzalez","Wilson","Anderson"],mX=["Mr.","Mrs.","Ms.","Dr.","Prof.","Rev.","Sir","Mx."],fX=["Jr.","Sr.","II","III","IV","PhD","MD","DDS","Esq."],gX=["Marketing","Engineering","Finance","Operations","Human Resources","Sales","Research","Design","Legal","Product","Data","Support","Quality","Security","Communications"],vX=["Senior","Lead","Junior","Principal","Chief","Associate","Global","Regional","Internal","Dynamic","Staff","Executive","National","Strategic","Corporate"],bX=["Software Engineer","Product Manager","Data Analyst","UX Designer","DevOps Engineer","Marketing Director","Sales Representative","Financial Analyst","Project Manager","QA Engineer","Technical Writer","System Administrator","Business Analyst","Account Executive","Operations Manager"],yX=["Full-time","Part-time","Contract","Freelance","Internship","Temporary","Remote","Hybrid","Consultant","Seasonal"],OX=["(555) 123-4567","(555) 987-6543","(555) 246-8135","(555) 369-2580","(555) 741-8520","(555) 852-9631","(555) 147-2583","(555) 963-8520","(555) 321-6540","(555) 654-9870","(555) 789-0123","(555) 234-5678","(555) 876-5432","(555) 468-1357","(555) 531-2468"],xX=["New York","London","Tokyo","Paris","Sydney","Toronto","Berlin","Singapore","Mumbai","São Paulo","Amsterdam","Seoul","Dublin","Barcelona","Melbourne"],wX=["Main Street","Oak Avenue","Park Boulevard","Cedar Lane","Elm Drive","Maple Court","Pine Road","Walnut Street","Birch Avenue","Cherry Lane","Willow Way","Spruce Circle","Aspen Drive","Hickory Place","Chestnut Road"],kX=["123 Main Street","456 Oak Avenue","789 Park Boulevard","321 Cedar Lane","654 Elm Drive","987 Maple Court","147 Pine Road","258 Walnut Street","369 Birch Avenue","741 Cherry Lane","852 Willow Way","963 Spruce Circle","159 Aspen Drive","357 Hickory Place","486 Chestnut Road"],SX=["United States","United Kingdom","Canada","Australia","Germany","France","Japan","Brazil","India","Netherlands","South Korea","Singapore","Ireland","Spain","Sweden"],AX=["US","GB","CA","AU","DE","FR","JP","BR","IN","NL","KR","SG","IE","ES","SE","IT","NO","DK","FI","CH"],_X=["40.7128","-33.8688","51.5074","35.6762","48.8566","-23.5505","19.4326","55.7558","1.3521","37.7749","52.3676","34.0522","41.9028","39.9042","25.2048"],TX=["-74.0060","151.2093","-0.1278","139.6503","2.3522","-46.6333","-99.1332","37.6173","103.8198","-122.4194","4.9041","-118.2437","12.4964","116.4074","55.2708"],EX=["https://avatars.githubusercontent.com/u/12345678","https://avatars.githubusercontent.com/u/23456789","https://avatars.githubusercontent.com/u/34567890","https://avatars.githubusercontent.com/u/45678901","https://avatars.githubusercontent.com/u/56789012","https://avatars.githubusercontent.com/u/67890123","https://avatars.githubusercontent.com/u/78901234","https://avatars.githubusercontent.com/u/89012345","https://avatars.githubusercontent.com/u/90123456","https://avatars.githubusercontent.com/u/10234567"],CX=["https://picsum.photos/seed/scalar1/640/480","https://picsum.photos/seed/scalar2/640/480","https://picsum.photos/seed/scalar3/640/480","https://picsum.photos/seed/scalar4/640/480","https://picsum.photos/seed/scalar5/640/480","https://picsum.photos/seed/scalar6/640/480","https://picsum.photos/seed/scalar7/640/480","https://picsum.photos/seed/scalar8/640/480","https://picsum.photos/seed/scalar9/640/480","https://picsum.photos/seed/scalar10/640/480"],PX="https://loremflickr.com/640/480",MX=Array.from({length:10},(e,t)=>`${PX}/abstract?lock=${t+1}`),$X=Array.from({length:10},(e,t)=>`${PX}/animals?lock=${t+1}`),NX=Array.from({length:10},(e,t)=>`${PX}/business?lock=${t+1}`),IX=Array.from({length:10},(e,t)=>`${PX}/cat?lock=${t+1}`),RX=Array.from({length:10},(e,t)=>`${PX}/city?lock=${t+1}`),DX=Array.from({length:10},(e,t)=>`${PX}/food?lock=${t+1}`),LX=Array.from({length:10},(e,t)=>`${PX}/nightlife?lock=${t+1}`),BX=Array.from({length:10},(e,t)=>`${PX}/fashion?lock=${t+1}`),jX=Array.from({length:10},(e,t)=>`${PX}/people?lock=${t+1}`),UX=Array.from({length:10},(e,t)=>`${PX}/nature?lock=${t+1}`),zX=Array.from({length:10},(e,t)=>`${PX}/sports?lock=${t+1}`),HX=Array.from({length:10},(e,t)=>`${PX}/transport?lock=${t+1}`),ZX=["data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%233498db%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23e74c3c%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%232ecc71%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%239b59b6%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E","data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23f1c40f%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E"],VX=["34042448","34102758","02997566","52631809","75412296","37762776","44117882","13865687","44377086","74440091"],QX=["Personal Checking","Savings Account","Money Market","Home Loan","Auto Loan","Investment Account","Business Checking","Credit Card","Retirement Fund","College Savings"],qX=["DEUTDEFF","BNPAFRPP","CHASUS33","HSBCGB2L","COBADEFF","SCBLSGSG","ANZBAU3M","CITIUS33","BOFAUS3N","NWBKGB2L"],FX=["GB29NWBK60161331926819","DE89370400440532013000","FR7630006000011234567890189","ES9121000418450200051332","IT60X0542811101000000123456","NL91ABNA0417164300","CH9300762011623852957","BE68539007547034","AT611904300234573201","FI2112345600000785"],WX=["deposit","withdrawal","payment","invoice","transfer"],XX=["USD","EUR","GBP","JPY","AUD","CAD","CHF","CNY","INR","BRL","SEK","NOK","DKK","SGD","HKD"],GX=["US Dollar","Euro","British Pound","Japanese Yen","Australian Dollar","Canadian Dollar","Swiss Franc","Chinese Yuan","Indian Rupee","Brazilian Real","Swedish Krona","Norwegian Krone","Danish Krone","Singapore Dollar","Hong Kong Dollar"],YX=["$","€","£","¥","A$","C$","CHF","¥","₹","R$"],KX=["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa","3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy","bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4","1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2","3Kzh9qAqVWQhEsfQz7zEQL1EuSx5tyNLNS","1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF","bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh","3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5","1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ","bc1q42lja79elem0anu8q860g3milve2ycq5t8g3ux"],JX=["Acme Corp","Globex","Initech","Umbrella Industries","Stark Enterprises","Wayne Corp","Cyberdyne Systems","Tyrell Corp","Soylent Corp","Aperture Science","Massive Dynamic","Oscorp","Abstergo","Weyland-Yutani","Hooli"],eG=["Inc","LLC","Group","Ltd","PLC","Corp"],tG=["leverage agile frameworks","iterate revolutionary convergence","drive seamless solutions","enable viral e-services","synergize scalable supply-chains","harness real-time channels","orchestrate integrated experiences","deliver frictionless partnerships","transform dynamic mindshare","cultivate open-source communities"],aG=["innovative","scalable","seamless","cutting-edge","robust","synergistic","dynamic","holistic","strategic","disruptive","frictionless","proactive","world-class","collaborative","granular"],rG=["leverage","iterate","synergize","monetize","orchestrate","disintermediate","harness","incentivize","optimize","streamline","revolutionize","cultivate","empower","facilitate","aggregate"],nG=["frameworks","paradigms","synergies","platforms","infrastructures","bandwidth","channels","communities","convergence","deliverables","e-markets","experiences","initiatives","interfaces","methodologies"],oG=["Adaptive zero defect data-warehouse","Automated scalable protocol","Business-focused zero defect hub","Cloned responsive flexibility","Cross-group background collaboration","De-engineered stable conglomeration","Distributed actuating throughput","Enhanced client-server capability","Face to face explicit superstructure","Front-line multimedia interface"],iG=["Adaptive","Advanced","Automated","Balanced","Business-focused","Centralized","Cloned","Configurable","Cross-group","Customizable","De-engineered","Decentralized","Digitized","Distributed","Enhanced"],sG=["24 hour","actuating","analyzing","asymmetric","asynchronous","background","bandwidth-monitored","bi-directional","bifurcated","bottom-line","clear-thinking","client-driven","client-server","coherent","cohesive"],lG=["ability","access","algorithm","alliance","analyzer","application","approach","architecture","array","attitude","benchmark","budgetary management","capability","capacity","challenge"],cG=["id","name","email","status","created_at","updated_at","description","amount","category","token","avatar","phone","address","comment","title"],uG=["int","varchar","text","boolean","date","timestamp","float","bigint","json","uuid","decimal","enum","blob","char","smallint"],dG=["utf8_general_ci","utf8mb4_unicode_ci","ascii_general_ci","latin1_swedish_ci","utf8_unicode_ci","utf8mb4_general_ci","utf8_bin","latin1_general_ci","utf8mb4_bin","ascii_bin"],pG=["InnoDB","MyISAM","MEMORY","CSV","ARCHIVE","FEDERATED","NDB","MERGE","BLACKHOLE","EXAMPLE"],hG=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],mG=["January","February","March","April","May","June","July","August","September","October","November","December"],fG=["example.com","test-site.org","my-app.io","dev-portal.net","api-hub.com","code-base.dev","data-flow.co","web-pulse.io","cloud-nest.org","tech-wave.net","open-source.dev","byte-craft.io","pixel-lab.co","node-spark.com","vue-forge.dev"],gG=["com","org","net","io","dev","co","info","app","me","xyz"],vG=["example","test-site","my-app","dev-portal","api-hub","code-base","data-flow","web-pulse","cloud-nest","tech-wave","open-source","byte-craft","pixel-lab","node-spark","vue-forge"],bG=["emma.smith@example.com","liam.johnson@test.org","olivia.williams@demo.io","noah.brown@sample.net","ava.jones@mail.com","james.garcia@inbox.dev","sophia.miller@webmail.co","oliver.davis@post.io","isabella.rodriguez@email.org","lucas.martinez@connect.net","mia.hernandez@hub.com","ethan.lopez@office.dev","charlotte.gonzalez@corp.io","mason.wilson@biz.co","amelia.anderson@pro.net"],yG=["emma@example.com","liam@example.org","olivia@example.net","noah@example.com","ava@example.org","james@example.net","sophia@example.com","oliver@example.org","isabella@example.net","lucas@example.com","mia@example.org","ethan@example.net"],OG=["emma_dev42","liam.codes","olivia_tech","noah_builds","ava.hacks","james_ops","sophia_data","oliver.api","isa_design","lucas_vue","mia_cloud","ethan.stack","char_pixel","mason_byte","amelia_net"],xG=["https://example.com","https://test-site.org","https://my-app.io","https://dev-portal.net","https://api-hub.com","https://code-base.dev","https://data-flow.co","https://web-pulse.io","https://cloud-nest.org","https://tech-wave.net","https://open-source.dev","https://byte-craft.io"],wG=["report.pdf","data.csv","image.png","backup.tar.gz","readme.md","config.yml","schema.json","styles.css","app.tsx","index.html","notes.txt","archive.zip","log.xml","script.sh","database.sql"],kG=["application","text","image","audio","video","font","model","multipart","message","chemical"],SG=["pdf","csv","png","json","md","yml","html","txt","xml","sql","tar","gz","wasm","webp"],AG=["report.pdf","photo.jpg","document.docx","spreadsheet.xlsx","presentation.pptx","image.png","video.mp4","audio.mp3","archive.zip","readme.txt"],_G=["text","application","image","audio","video"],TG=["pdf","jpg","png","gif","mp3","mp4","doc","xls","ppt","txt","zip","html","css","js","json"],EG=["/home/user/documents/report.pdf","/var/log/app/server.log","/tmp/upload/image.png","/opt/data/backup.tar.gz","/home/user/projects/app/src/index.ts","/etc/config/settings.yml","/usr/local/bin/script.sh","/home/user/downloads/archive.zip","/var/www/html/index.html","/home/user/.config/app.json"],CG=["/home/user/documents","/var/log/app","/tmp/uploads","/opt/data","/home/user/projects/app/src","/etc/config","/usr/local/bin","/home/user/downloads","/var/www/html","/home/user/.config"],PG=["application/json","text/html","image/png","application/pdf","text/plain","image/jpeg","application/xml","text/css","application/javascript","image/svg+xml","application/zip","audio/mpeg","video/mp4","font/woff2","application/octet-stream"],MG=["Chair","Computer","Keyboard","Mouse","Table","Phone","Shoes","Shirt","Pants","Hat","Bike","Towels","Gloves","Soap","Tuna"],$G=["Refined","Elegant","Rustic","Gorgeous","Practical","Fantastic","Handcrafted","Incredible","Licensed","Sleek","Intelligent","Recycled","Modern","Bespoke","Ergonomic"],NG=["Cotton","Steel","Wooden","Concrete","Rubber","Granite","Plastic","Frozen","Soft","Metal","Bronze","Silk","Leather","Ceramic","Bamboo"],IG=["Refined Cotton Chair","Sleek Steel Computer","Elegant Wooden Table","Practical Rubber Keyboard","Gorgeous Granite Mouse","Rustic Metal Bike","Handcrafted Silk Shirt","Incredible Bamboo Towels","Modern Leather Shoes","Ergonomic Plastic Phone","Fantastic Ceramic Soap","Licensed Bronze Hat","Intelligent Soft Gloves","Bespoke Cotton Pants","Recycled Steel Tuna"],RG=["Electronics","Clothing","Books","Home","Garden","Sports","Toys","Automotive","Grocery","Health","Beauty","Music","Movies","Games","Outdoors"],DG=["server","database","network","protocol","system","algorithm","interface","module","component","function","framework","library","instance","variable","endpoint"],LG=["run","build","deploy","parse","fetch","render","compile","stream","cache","merge","sync","push","pull","test","debug"],BG=["running","building","deploying","parsing","fetching","rendering","compiling","streaming","caching","merging","syncing","pushing","pulling","testing","debugging"],jG=["fast","secure","scalable","robust","dynamic","modular","stable","lightweight","portable","resilient","efficient","responsive","concurrent","stateless","distributed"],UG=["pixel","quantum","cipher","matrix","vector","nexus","pulse","flux","forge","prism","vortex","helix","orbit","spark","nebula"],zG=["lorem","ipsum","dolor","sit","amet","consectetur","adipiscing","elit","sed","do","eiusmod","tempor","incididunt","ut","labore","et","dolore","magna","aliqua","enim"],HG=["Lorem ipsum dolor sit amet, consectetur adipiscing elit.","Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.","Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.","Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia.","Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.","Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.","Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit.","Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse.","At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis."],ZG=["Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.","Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.","Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.","Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.","Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem."],VG=["lorem-ipsum-dolor","sed-tempor-incididunt","amet-consectetur-adipiscing","eiusmod-labore-dolore","veniam-nostrud-exercitation","voluptate-velit-cillum","occaecat-cupidatat-proident","perspiciatis-omnis-natus","aspernatur-odit-fugit","dolorem-ipsum-amet"]}),UK=V(()=>{jK(),QG=e=>e[Math.floor(Math.random()*e.length)],qG=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,FG=e=>Array.from({length:e},()=>Math.floor(10*Math.random())).join(""),WG=e=>Array.from({length:e},()=>aX[Math.floor(Math.random()*aX.length)]).join(""),XG=()=>{let e=Date.now()+864e5*qG(1,365);return new Date(e).toISOString()},GG=()=>{let e=Date.now()-864e5*qG(1,365);return new Date(e).toISOString()},YG=()=>{let e=Date.now()-864e5*qG(1,3);return new Date(e).toISOString()},KG=(e,t,a)=>{let r=qG(t,a);return Array.from({length:r},()=>QG(e)).join(" ")},JG=(e,t,a)=>{let r=qG(t,a);return Array.from({length:r},()=>QG(e)).join(" ")},eY=(e,t,a)=>{let r=qG(t,a);return Array.from({length:r},()=>QG(e)).join("\n")},tY={$guid:{fn:()=>QG(tX),comment:"A uuid-v4 style guid"},$timestamp:{fn:()=>Math.floor(Date.now()/1e3).toString(),comment:"The current UNIX timestamp in seconds"},$isoTimestamp:{fn:()=>(new Date).toISOString(),comment:"The current ISO timestamp at zero UTC"},$randomUUID:{fn:()=>QG(tX),comment:"A random 36-character UUID"},$randomAlphaNumeric:{fn:()=>"abcdefghijklmnopqrstuvwxyz0123456789"[Math.floor(36*Math.random())]??"a",comment:"A random alpha-numeric character"},$randomBoolean:{fn:()=>Math.random()<.5?"true":"false",comment:"A random boolean value"},$randomInt:{fn:()=>qG(0,1e3).toString(),comment:"A random integer between 0 and 1000"},$randomColor:{fn:()=>QG(rX),comment:"A random color in hex format"},$randomHexColor:{fn:()=>QG(rX),comment:"A random hex value"},$randomAbbreviation:{fn:()=>QG(nX),comment:"A random abbreviation"},$randomIP:{fn:()=>QG(oX),comment:"A random IPv4 address"},$randomIPV6:{fn:()=>QG(iX),comment:"A random IPv6 address"},$randomMACAddress:{fn:()=>QG(sX),comment:"A random MAC address"},$randomPassword:{fn:()=>WG(15),comment:"A random 15-character alpha-numeric password"},$randomLocale:{fn:()=>QG(lX),comment:"A random two-letter language code (ISO 639-1)"},$randomUserAgent:{fn:()=>QG(cX),comment:"A random user agent"},$randomProtocol:{fn:()=>QG(uX),comment:"A random internet protocol"},$randomSemver:{fn:()=>QG(dX),comment:"A random semantic version number"},$randomFirstName:{fn:()=>QG(pX),comment:"A random first name"},$randomLastName:{fn:()=>QG(hX),comment:"A random last name"},$randomFullName:{fn:()=>`${QG(pX)} ${QG(hX)}`,comment:"A random first and last name"},$randomNamePrefix:{fn:()=>QG(mX),comment:"A random name prefix"},$randomNameSuffix:{fn:()=>QG(fX),comment:"A random name suffix"},$randomJobArea:{fn:()=>QG(gX),comment:"A random job area"},$randomJobDescriptor:{fn:()=>QG(vX),comment:"A random job descriptor"},$randomJobTitle:{fn:()=>QG(bX),comment:"A random job title"},$randomJobType:{fn:()=>QG(yX),comment:"A random job type"},$randomPhoneNumber:{fn:()=>QG(OX),comment:"A random ten-digit phone number"},$randomPhoneNumberExt:{fn:()=>`${qG(10,99)}-${QG(OX)}`,comment:"A random phone number prefixed with a two-digit extension (10–99)"},$randomCity:{fn:()=>QG(xX),comment:"A random city name"},$randomStreetName:{fn:()=>QG(wX),comment:"A random street name"},$randomStreetAddress:{fn:()=>QG(kX),comment:"A random street address"},$randomCountry:{fn:()=>QG(SX),comment:"A random country"},$randomCountryCode:{fn:()=>QG(AX),comment:"A random two-letter country code (ISO 3166-1 alpha-2)"},$randomLatitude:{fn:()=>QG(_X),comment:"A random latitude coordinate"},$randomLongitude:{fn:()=>QG(TX),comment:"A random longitude coordinate"},$randomAvatarImage:{fn:()=>QG(EX),comment:"A random avatar image"},$randomImageUrl:{fn:()=>QG(CX),comment:"A URL of a random image"},$randomAbstractImage:{fn:()=>QG(MX),comment:"A URL of a random abstract image"},$randomAnimalsImage:{fn:()=>QG($X),comment:"A URL of a random animal image"},$randomBusinessImage:{fn:()=>QG(NX),comment:"A URL of a random stock business image"},$randomCatsImage:{fn:()=>QG(IX),comment:"A URL of a random cat image"},$randomCityImage:{fn:()=>QG(RX),comment:"A URL of a random city image"},$randomFoodImage:{fn:()=>QG(DX),comment:"A URL of a random food image"},$randomNightlifeImage:{fn:()=>QG(LX),comment:"A URL of a random nightlife image"},$randomFashionImage:{fn:()=>QG(BX),comment:"A URL of a random fashion image"},$randomPeopleImage:{fn:()=>QG(jX),comment:"A URL of a random image of a person"},$randomNatureImage:{fn:()=>QG(UX),comment:"A URL of a random nature image"},$randomSportsImage:{fn:()=>QG(zX),comment:"A URL of a random sports image"},$randomTransportImage:{fn:()=>QG(HX),comment:"A URL of a random transportation image"},$randomImageDataUri:{fn:()=>QG(ZX),comment:"A random image data URI"},$randomBankAccount:{fn:()=>QG(VX),comment:"A random 8-digit bank account number"},$randomBankAccountName:{fn:()=>QG(QX),comment:"A random bank account name"},$randomCreditCardMask:{fn:()=>`**** **** **** ${FG(4)}`,comment:"A random masked credit card number"},$randomBankAccountBic:{fn:()=>QG(qX),comment:"A random BIC (Bank Identifier Code)"},$randomBankAccountIban:{fn:()=>QG(FX),comment:"A random 15-31 character IBAN (International Bank Account Number)"},$randomTransactionType:{fn:()=>QG(WX),comment:"A random transaction type"},$randomCurrencyCode:{fn:()=>QG(XX),comment:"A random 3-letter currency code (ISO-4217)"},$randomCurrencyName:{fn:()=>QG(GX),comment:"A random currency name"},$randomCurrencySymbol:{fn:()=>QG(YX),comment:"A random currency symbol"},$randomBitcoin:{fn:()=>QG(KX),comment:"A random bitcoin address"},$randomCompanyName:{fn:()=>QG(JX),comment:"A random company name"},$randomCompanySuffix:{fn:()=>QG(eG),comment:"A random company suffix"},$randomBs:{fn:()=>QG(tG),comment:"A random phrase of business-speak"},$randomBsAdjective:{fn:()=>QG(aG),comment:"A random business-speak adjective"},$randomBsBuzz:{fn:()=>QG(rG),comment:"A random business-speak buzzword"},$randomBsNoun:{fn:()=>QG(nG),comment:"A random business-speak noun"},$randomCatchPhrase:{fn:()=>QG(oG),comment:"A random catchphrase"},$randomCatchPhraseAdjective:{fn:()=>QG(iG),comment:"A random catchphrase adjective"},$randomCatchPhraseDescriptor:{fn:()=>QG(sG),comment:"A random catchphrase descriptor"},$randomCatchPhraseNoun:{fn:()=>QG(lG),comment:"Randomly generates a catchphrase noun"},$randomDatabaseColumn:{fn:()=>QG(cG),comment:"A random database column name"},$randomDatabaseType:{fn:()=>QG(uG),comment:"A random database type"},$randomDatabaseCollation:{fn:()=>QG(dG),comment:"A random database collation"},$randomDatabaseEngine:{fn:()=>QG(pG),comment:"A random database engine"},$randomDateFuture:{fn:XG,comment:"A random future datetime"},$randomDatePast:{fn:GG,comment:"A random past datetime"},$randomDateRecent:{fn:YG,comment:"A random recent datetime"},$randomWeekday:{fn:()=>QG(hG),comment:"A random weekday"},$randomMonth:{fn:()=>QG(mG),comment:"A random month"},$randomDomainName:{fn:()=>QG(fG),comment:"A random domain name"},$randomDomainSuffix:{fn:()=>QG(gG),comment:"A random domain suffix"},$randomDomainWord:{fn:()=>QG(vG),comment:"A random unqualified domain name"},$randomEmail:{fn:()=>QG(bG),comment:"A random email address"},$randomExampleEmail:{fn:()=>QG(yG),comment:"A random email address from an example domain"},$randomUserName:{fn:()=>QG(OG),comment:"A random username"},$randomUrl:{fn:()=>QG(xG),comment:"A random URL"},$randomFileName:{fn:()=>QG(wG),comment:"A random file name (includes uncommon extensions)"},$randomFileType:{fn:()=>QG(kG),comment:"A random file type (includes uncommon file types)"},$randomFileExt:{fn:()=>QG(SG),comment:"A random file extension (includes uncommon extensions)"},$randomCommonFileName:{fn:()=>QG(AG),comment:"A random file name"},$randomCommonFileType:{fn:()=>QG(_G),comment:"A random, common file type"},$randomCommonFileExt:{fn:()=>QG(TG),comment:"A random, common file extension"},$randomFilePath:{fn:()=>QG(EG),comment:"A random file path"},$randomDirectoryPath:{fn:()=>QG(CG),comment:"A random directory path"},$randomMimeType:{fn:()=>QG(PG),comment:"A random MIME type"},$randomPrice:{fn:()=>(1e3*Math.random()).toFixed(2),comment:"A random price between 0.00 and 1000.00"},$randomProduct:{fn:()=>QG(MG),comment:"A random product"},$randomProductAdjective:{fn:()=>QG($G),comment:"A random product adjective"},$randomProductMaterial:{fn:()=>QG(NG),comment:"A random product material"},$randomProductName:{fn:()=>QG(IG),comment:"A random product name"},$randomDepartment:{fn:()=>QG(RG),comment:"A random commerce department"},$randomNoun:{fn:()=>QG(DG),comment:"A random noun"},$randomVerb:{fn:()=>QG(LG),comment:"A random verb"},$randomIngverb:{fn:()=>QG(BG),comment:"A random verb ending in `-ing`"},$randomAdjective:{fn:()=>QG(jG),comment:"A random adjective"},$randomWord:{fn:()=>QG(UG),comment:"A random word"},$randomWords:{fn:()=>KG(UG,2,5),comment:"Some random words"},$randomPhrase:{fn:()=>QG(tG),comment:"A random phrase"},$randomLoremWord:{fn:()=>QG(zG),comment:"A random word of lorem ipsum text"},$randomLoremWords:{fn:()=>KG(zG,3,3),comment:"Some random words of lorem ipsum text"},$randomLoremSentence:{fn:()=>QG(HG),comment:"A random sentence of lorem ipsum text"},$randomLoremSentences:{fn:()=>JG(HG,2,6),comment:"A random 2 to 6 sentences of lorem ipsum text"},$randomLoremParagraph:{fn:()=>QG(ZG),comment:"A random paragraph of lorem ipsum text"},$randomLoremParagraphs:{fn:()=>JG(ZG,3,3),comment:"3 random paragraphs of lorem ipsum text"},$randomLoremText:{fn:()=>JG(ZG,1,3),comment:"A random amount of lorem ipsum text"},$randomLoremSlug:{fn:()=>QG(VG),comment:"A random lorem ipsum URL slug"},$randomLoremLines:{fn:()=>eY(HG,1,5),comment:"1 to 5 random lines of lorem ipsum"}},aY=e=>tY[e].comment,rY=["$guid","$timestamp","$isoTimestamp","$randomUUID","$randomEmail","$randomInt","$randomFirstName","$randomLastName"],nY=Object.keys(tY),oY=e=>Object.hasOwn(tY,e)}),zK=V(()=>{XA(),xW(),wW(),AW(),$K(),NK(),DK(),LK(),BK(),UK(),iY=[{header:"date",scalarHeader:NA},{header:"dnt",scalarHeader:IA},{header:"referer",scalarHeader:RA},{header:"user-agent",scalarHeader:$A}],sY=(e,t)=>{let a=bW(e.value,t);return"basic"===e.format?`Basic ${VW(a)}`:"bearer"===e.format?`Bearer ${a}`:a},lY=e=>t=>oY(t)?tY[t].fn()??null:e[t]??null,cY=(e,t,a)=>{let r=lY(t),n=new URLSearchParams;e.options?.disableSecurity||e.security.forEach(e=>{if("query"!==e.in)return;let t=bW(e.name,r);n.append(t,sY(e,r))});let o=eX(e,{envVariables:r,securityQueryParams:n,allowMissingRequestServerBase:a?.allowMissingRequestServerBase??!0});if(!o.ok)throw Error(o.message??o.error);return KW(o.data,e.allowedReservedQueryParameters??new Set)},uY=(e,t)=>{let a=kW(()=>dY(e,t));return a.ok?a.data:OW("BUILD_REQUEST_FAILED",a.error)},dY=(e,t)=>{let a=lY(t.envVariables),r=new AbortController,n=(()=>{let t=new Headers;return e.headers.forEach((e,r)=>{t.set(bW(r,a),bW(e,a))}),t})(),o=(()=>{if("raw"===e.body?.mode)return"string"==typeof e.body.value?bW(e.body.value,a):e.body.value;if("formdata"===e.body?.mode){let t=new FormData;return e.body.value.forEach(e=>{"text"!==e.type?t.append(bW(e.key,a),e.value):t.append(bW(e.key,a),bW(e.value,a))}),t}return"urlencoded"===e.body?.mode?new URLSearchParams(e.body.value.map(e=>[bW(e.key,a),bW(e.value,a)])):null})(),i=new URLSearchParams,s=[];e.options?.disableSecurity||e.security.forEach(e=>{let t=bW(e.name,a),r=sY(e,a);"header"!==e.in?"query"!==e.in?"cookie"===e.in&&s.push({name:t,value:r,isDisabled:!1}):i.append(t,r):n.append(t,r)});let l=eX(e,{envVariables:a,securityQueryParams:i,allowMissingRequestServerBase:t.allowMissingRequestServerBase});if(!l.ok)return OW(l.error,l.message);let c=l.data,u=PW(e.proxyUrl,c),d=WW({cookies:[...e.cookies,...s].map(e=>({...e,name:bW(e.name,a),value:bW(e.value,a)})),originalCookieHeader:n.get("cookie"),url:c,useCustomCookieHeader:(u||e.options?.isElectron)??!1});d&&n.set(d.name,d.value),(u||e.options?.isElectron)&&iY.forEach(({header:e,scalarHeader:t})=>{let a=n.get(e);a&&(n.set(t,a),n.delete(e))});let p=KW(c,e.allowedReservedQueryParameters??new Set);return yW({requestPayload:[u?CW(e.proxyUrl,p):p,{method:e.method.toUpperCase(),headers:n,body:o,cache:e.cache,signal:r.signal}],controller:r,isUsingProxy:u})}}),HK=V(()=>{jE(),pY=(e,t)=>"content"in t?hY(e,Object.keys(t.content??{})[0]??""):"schema"in t?gY(e,t.schema):e,hY=(e,t)=>{if("string"==typeof e&&t.includes("json"))try{return JSON.parse(e)}catch{return e}return e},mY=new Set(["array","object"]),fY=e=>{let t=EE(e);if(t&&"object"==typeof t){if("type"in t&&t.type){let e=Array.isArray(t.type)?t.type.find(e=>mY.has(e)):t.type;if("array"===e||"object"===e)return e}for(let e of["anyOf","oneOf","allOf"]){let a=t[e];if(Array.isArray(a))for(let e of a){let t=fY(e);if(t)return t}}}},gY=(e,t)=>{if("string"==typeof e){let a=fY(t);if(a)try{return JSON.parse(e)}catch{if("array"===a)return e.split(/,\s?/).filter(e=>""!==e)}}return e}}),ZK=V(()=>{vY=e=>e.variables.reduce((e,t)=>(e[t.name]="string"==typeof t.value?t.value:t.value.default,e),{})}),VK=V(()=>{bY=e=>Object.entries(e)}),QK=V(()=>{VK(),yY=e=>e?bY(e?.variables??{}).reduce((e,[t,a])=>(a.default&&(e[t]=a.default),e),{}):{}}),qK=V(()=>{xW(),uA(),QK(),OY=({server:e,path:t,urlParams:a})=>{let r=yY(e);return WS(gW(e?.url??"",r),t,a)}}),FK=V(()=>{wE(),xY=(e,t="")=>{let a=[];return e.forEach(e=>{if("apiKey"===e.type){let r=e.name,n=e["x-scalar-secret-token"]||t;if("header"===e.in)return a.push({in:e.in,name:r,value:n});if("query"===e.in)return a.push({in:"query",name:r,value:n});if("cookie"===e.in)return a.push({in:"cookie",name:r,value:n})}if("http"===e.type){if("basic"===e.scheme){let t=e["x-scalar-secret-username"]||"",r=e["x-scalar-secret-password"]||"";return""===t&&""===r?null:a.push({in:"header",name:"Authorization",value:`${t}:${r}`,format:"basic"})}let r=e["x-scalar-secret-token"];return a.push({in:"header",name:"Authorization",value:r||t,format:"bearer"})}if("oauth2"===e.type){let r=Object.values(e?.flows??{}).filter(bE).find(e=>e["x-scalar-secret-token"])?.["x-scalar-secret-token"]??"";return a.push({in:"header",name:"Authorization",value:r||t,format:"bearer"})}if("openIdConnect"===e.type){let r=Object.values(e?.flows??{}).filter(bE).find(e=>e["x-scalar-secret-token"])?.["x-scalar-secret-token"]??"";return a.push({in:"header",name:"Authorization",value:r||t,format:"bearer"})}return null}),a}}),WK=V(()=>{wY=(e,t)=>{let a=t?.["x-disabled"];return"boolean"==typeof a?a:!e.required&&"path"!==e.in}}),XK=V(()=>{FA(),jE(),WK(),kY={accept:"Accept","content-type":"Content-Type","user-agent":"User-Agent"},SY=e=>kY[e.toLowerCase()]??e,AY=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[SY(e),t])),_Y=(e,t)=>{let a=new Set;for(let r of e.parameters??[]){let e=EE(r);if("header"!==e.in)continue;let n="examples"in e&&e.examples?.[t]?e.examples[t]:void 0;wY(e,n?EE(n):void 0)||a.add(e.name.toLowerCase())}return a},TY=(e,t,a,r)=>{let n=r.hideOverriddenHeaders?_Y(e,t):null,o=r.hideDisabledHeaders?e["x-scalar-disable-parameters"]?.["default-headers"]?.[t]??{}:null;return Object.fromEntries(Object.entries(a).filter(([e])=>{let t=e.toLowerCase();return!(n?.has(t)||o&&!0===o[t])}))},EY=(e,t,a)=>TY(e,t,a,{hideOverriddenHeaders:!1,hideDisabledHeaders:!0}),CY=({method:e,operation:t,exampleName:a,hideDisabledHeaders:r=!1,hideOverriddenHeaders:n=!1,options:o={isElectron:!1,appVersion:"0.0.0"}})=>{let i=new Headers,s=EE(t.requestBody);if(TA(e)&&s){let e=s["x-scalar-selected-content-type"]?.[a]??Object.keys(s.content??{})[0];e&&"none"!==e&&"other"!==e&&i.set("Content-Type",e)}let l=Object.keys(t.responses??{}).find(e=>e.startsWith("2")),c=l?EE(t.responses[l]):null,u=Object.keys(c?.content??{}).join(", ")||"*/*";i.set("Accept",u),o.isElectron&&o.appVersion&&i.set("User-Agent",`Scalar/${o.appVersion}`);let d=Object.fromEntries(i.entries());return n||r?TY(t,a,d,{hideOverriddenHeaders:n,hideDisabledHeaders:r}):d}}),GK=V(()=>{PY=new Set(["__proto__","prototype","constructor"]),MY=(e,t)=>{if(PY.has(e)){throw Error(t?`Prototype pollution key detected: "${e}" in ${t}`:`Prototype pollution key detected: "${e}"`)}}}),YK=V(()=>{UE(),GK(),$Y=(e,t,a)=>{let[r,...n]=t;if(!r)return;if(MY(r),!n.length)return void(e[r]=a);let o=CE(e[r])?e[r]:{};e[r]=o,$Y(o,n,a)}}),KK=V(()=>{NY=e=>"type"in e&&("object"===e.type||Array.isArray(e.type)&&e.type.includes("object")),IY=e=>"type"in e&&("array"===e.type||Array.isArray(e.type)&&e.type.includes("array")),RY=e=>"type"in e&&("string"===e.type||Array.isArray(e.type)&&e.type.includes("string")),DY=e=>"type"in e&&("number"===e.type||"integer"===e.type||Array.isArray(e.type)&&e.type.includes("number")||Array.isArray(e.type)&&e.type.includes("integer")),LY=e=>void 0!==e&&"type"in e,BY=e=>"content"in e&&void 0!==e.content}),JK=V(()=>{UE(),YK(),jE(),bC(),KK(),pW(),hW(),fW(),jY=(e,t,a)=>e.content[t]?.encoding?.[a]?.contentType,UY=e=>{let t=e?EE(e,TE):void 0;if(!t||!NY(t)||!t.properties)return(e,t)=>!1;let a=new Set;for(let[e,r]of Object.entries(t.properties)){let t=r?EE(r,TE):void 0;t&&NY(t)&&t.properties&&a.add(e)}return(e,t)=>{if(t instanceof File||!e.includes("."))return!1;let r=e.split(".",1)[0];return!!r&&a.has(r)}},zY=e=>{let t="type"in e?e.type:void 0;return Array.isArray(t)?[...t]:null==t?[]:[t]},HY=(e,t)=>{let a=e;for(let e of t){if(!a||!NY(a)||!a.properties)return;a=EE(a.properties[e],TE)}return a},ZY=(e,t)=>null===e?t.includes("null"):Array.isArray(e)?t.includes("array"):"object"==typeof e?t.includes("object"):"boolean"==typeof e?t.includes("boolean"):"number"==typeof e?t.includes("number")||t.includes("integer")&&Number.isInteger(e):"string"==typeof e&&t.includes("string"),VY=(e,t)=>{if("string"!=typeof e||!t)return e;let a=zY(t);if(0===a.length||a.includes("string"))return e;try{let t=JSON.parse(e);return ZY(t,a)?t:e}catch{return e}},QY=(e,t="default",a)=>{if(!e)return null;let r=vq(e,t);if(!r)return null;let n=gq(e,r,t,a);if(!n)return null;if(("multipart/form-data"===r||"application/x-www-form-urlencoded"===r)&&Array.isArray(n.value)){let t=(Array.isArray(n.value)?n.value:[]).filter(e=>!e.isDisabled),a="multipart/form-data"===r?{mode:"formdata",value:[]}:{mode:"urlencoded",value:[]},o="formdata"===a.mode?EE(e.content[r]?.schema,TE):void 0,i="formdata"===a.mode?UY(o):()=>!1,s=[],l=new Map;for(let e of t){if(!i(e.name,e.value)){s.push(e);continue}let t=e.name.split("."),a=t[0];if(!a)continue;let r=l.get(a);r||(r={},l.set(a,r),s.push({name:a,value:r})),$Y(r,t.slice(1),VY(e.value,HY(o,t)))}return s.forEach(({name:t,value:n})=>{if(!t)return;let o=e.content[r]?.encoding?.[t],i=_q(t,n,o);if(i){for(let e of i)a.value.push({type:"text",key:e.key,value:e.value});return}let s="formdata"===a.mode?o?.contentType:void 0;if(n instanceof File&&"formdata"===a.mode){let e=hC(n),r=s&&s!==e.type?new File([e],e.name,{type:s,lastModified:e.lastModified}):e;return a.value.push({type:"file",key:t,value:r,contentType:s})}if(null!=n){let e="object"==typeof n&&n?JSON.stringify(hC(n)):String(n);return"formdata"===a.mode&&s?a.value.push({type:"blob",key:t,value:new Blob([e],{type:s}),contentType:s}):a.value.push({type:"text",key:t,value:e})}}),a}if("application/x-www-form-urlencoded"===r&&CE(n.value)){let t={mode:"urlencoded",value:[]};for(let[a,o]of Object.entries(n.value))if(a&&null!=o){let n=e.content[r]?.encoding?.[a],i=_q(a,o,n);if(i){for(let e of i)t.value.push({key:e.key,value:e.value});continue}let s="object"==typeof o&&o?JSON.stringify(hC(o)):String(o);t.value.push({key:a,value:s})}return t}if("multipart/form-data"===r&&CE(n.value)){let t={mode:"formdata",value:[]};for(let[a,o]of Object.entries(n.value)){if(!a||null==o)continue;let n=e.content[r]?.encoding?.[a],i=_q(a,o,n);if(i){for(let e of i)t.value.push({type:"text",key:e.key,value:e.value});continue}let s=jY(e,r,a);if(o instanceof File){let e=hC(o),r=s&&s!==e.type?new File([e],e.name,{type:s,lastModified:e.lastModified}):e;t.value.push({type:"file",key:a,value:r,contentType:s});continue}let l="object"==typeof o&&o?JSON.stringify(hC(o)):String(o);s?t.value.push({type:"blob",key:a,value:new Blob([l],{type:s}),contentType:s}):t.value.push({type:"text",key:a,value:l})}return t}let o=null!==n.value&&"object"==typeof n.value?hC(n.value):n.value;return o instanceof File?{mode:"raw",value:o,contentType:o.type}:"object"==typeof o?{mode:"raw",value:JSON.stringify(o),contentType:"application/json"}:{mode:"raw",value:o}}}),eJ=V(()=>{wE(),UE(),jE(),tF(),Zq(),HK(),OC(),WK(),mW(),qY=(e,t)=>"explode"in e&&void 0!==e.explode?e.explode:t,FY=(e=[],t="default")=>{let a={cookies:[],headers:{},pathVariables:{},allowReservedQueryParameters:new Set,urlParams:new URLSearchParams};if(0===e.length)return a;for(let r of e){let e=EE(r),n=gC(e,t,void 0);if(!n||wY(e,n))continue;let o=n.value,i=pY(o,e),s=e.name;switch(e.in){case"header":{if("content-type"===s.toLowerCase()&&"multipart/form-data"===i)break;let t=yq(i,qY(e,!1));if(!bE(t))break;let r=String(t);a.headers[s]?a.headers[s]=`${a.headers[s]},${r}`:a.headers[s]=r;break}case"path":{let t=yq(i,qY(e,!1));a.pathVariables[s]=String(t);break}case"query":YY(e,s,i,a.urlParams,a.allowReservedQueryParameters);break;case"cookie":KY(s,i,qY(e,!0),a.cookies)}}return a},WY=(e,t)=>"style"in e&&e.style?"deepObject"===e.style?CE(t)?"deepObject":"form":e.style:"form",XY=e=>"allowReserved"in e&&void 0!==e.allowReserved?e.allowReserved:!!("schema"in e&&e.schema&&"object"==typeof e.schema&&"allowReserved"in e.schema)&&!0===e.schema.allowReserved,GY=(e,t,...a)=>{if(t)for(let t of a)e.add(t)},YY=(e,t,a,r,n)=>{let o=!("explode"in e)||void 0===e.explode||e.explode,i=XY(e),s=WY(e,a);if("content"in e&&e.content){let o=bq(a,Object.keys(e.content)[0]??"application/json");return r.set(t,o),void GY(n,i,t)}if("deepObject"===s&&o){let e=Sq(t,a);for(let a of e)r.append(a.key,a.value),GY(n,i,t);return}if("spaceDelimited"===s){let e=wq(a),o=r.get(t);return r.set(t,o?`${o} ${e}`:e),void GY(n,i,t)}if("pipeDelimited"===s){let e=kq(a),o=r.get(t);return r.set(t,o?`${o}|${e}`:e),void GY(n,i,t)}let l=Oq(a,o);if(Array.isArray(l))for(let e of l){let a=e.key||t;r.append(a,String(e.value)),GY(n,i,t)}else r.append(t,String(l)),GY(n,i,t)},KY=(e,t,a,r)=>{let n=xq(t,a);if(Array.isArray(n))for(let t of n){let a=t.key||e;r.push(xz(Xz,{name:a,value:String(t.value),path:"/"}))}else r.push(xz(Xz,{name:e,value:String(n),path:"/"}))}}),tJ=V(()=>{FA(),xW(),jE(),QK(),FK(),XK(),JK(),eJ(),JY=({exampleName:e,globalCookies:t,method:a,operation:r,path:n,proxyUrl:o,server:i,defaultHeaders:s,isElectron:l,selectedSecuritySchemes:c,requestBodyCompositionSelection:u})=>{let d=EE(r.requestBody),p=FY(r.parameters??[],e),h=xY(c),m=new Headers({...EY(r,e,s),...p.headers}),f=TA(a)?QY(d,e,u):null;("formdata"===f?.mode||"urlencoded"===f?.mode)&&m.delete("Content-Type");let g=yY(i),v=vW(i?.url??"",g),b=r["x-scalar-disable-parameters"]?.["global-cookies"]?.[e]??{},y=[...t.map(e=>({...e,isDisabled:(e.isDisabled||b[e.name.toLowerCase()])??!1})),...p.cookies],O=m.get("Accept")?.toLowerCase().includes("text/event-stream")??!1,x=O?"no-store":"default";return O&&(m.set("Cache-Control","no-cache"),m.set("Pragma","no-cache")),{request:{baseUrl:v,proxyUrl:o,path:{variables:p.pathVariables,raw:n},query:p.urlParams,method:a.toUpperCase(),headers:m,body:f,cookies:y,cache:x,security:h,options:{isElectron:l},allowedReservedQueryParameters:p.allowReservedQueryParameters}}}}),aJ=V(()=>{pW(),hW(),fW(),zK(),HK(),RK(),mW(),ZK(),OC(),dW(),qK(),QK(),tJ(),FK()}),rJ=V(()=>{UE(),eK=e=>CE(e)&&"openapi"in e&&"string"==typeof e.openapi,tK=e=>CE(e)&&"asyncapi"in e&&"string"==typeof e.asyncapi,aK=e=>eK(e)?"openapi":tK(e)?"asyncapi":void 0}),nJ=V(()=>{Qq(),rJ(),Zq(),rK=(e,t)=>{if(null===e)return{name:null,environment:xz(Az,{})};let a=e.workspace["x-scalar-active-environment"];if(!a)return{name:null,environment:xz(Az,{})};let r=e.workspace["x-scalar-environments"]?.[a]??{variables:[]},n=(eK(t)?t["x-scalar-environments"]?.[a]:void 0)??{variables:[]};return{name:a,environment:xz(Az,{...r,...n,variables:[...r.variables,...n.variables]})}}}),oJ=V(()=>{oF(),nK=e=>!(!e||"string"!=typeof e)&&lH.has(e.toLowerCase())}),iJ=V(()=>{oJ(),jE(),oK=e=>{if(e&&"object"==typeof e)return EE(e,TE)},iK=(e,t)=>{let a=oK(e);if(a)return a[t]},sK=(e,t,a)=>{if(e&&"object"==typeof e){if("$ref"in e&&"$ref-value"in e)return void(e["$ref-value"][t]=a);e[t]=a}},lK=(e,t)=>{!e||"object"!=typeof e||("$ref"in e&&"$ref-value"in e&&delete e["$ref-value"][t],delete e[t])},cK=(e,t)=>{let a=oK(e);if(a)for(let[e,r]of Object.entries(a))!nK(e)||void 0===r||t(e,r)},uK=e=>{let t=oK(e);return!t||0===Object.keys(t).length}}),sJ=V(()=>{jE(),dK=(e=[],t=[])=>{let a=t.flatMap(e=>{let t=EE(e);return t?`${t.in}:${t.name}`:[]}),r=new Set(a);return[...e.filter(e=>{let t=EE(e);return!!t&&!r.has(`${t.in}:${t.name}`)}),...t]}}),lJ=V(()=>{pK=e=>"web"===e?"https://proxy.scalar.com":null,hK=(e,t)=>void 0===e?pK(t):e}),cJ=V(()=>{mK=(e,t)=>"[{}]"===JSON.stringify(t)&&e?.length?e.find(e=>"{}"===JSON.stringify(e))?e:[...e,{}]:t??e??[]}),uJ=V(()=>{fK=e=>Object.keys(e)}),dJ=V(()=>{uJ(),jE(),gK=(e,t)=>fK(t).flatMap(t=>EE(e?.[t])||[])}),pJ=V(()=>{vK=e=>{let t=e.some(e=>Object.keys(e).length>1);return e.some(e=>0===Object.keys(e).length)&&!t}}),hJ=V(()=>{jE(),pJ(),bK=e=>e&&"oauth2"===e.type?e["x-default-scopes"]??[]:[],yK=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,a])=>{if(Array.isArray(a)&&a.length>0)return[e,[...a]];let r=EE(t[e]),n="oauth2"===r?.type?r["x-default-scopes"]:void 0;return Array.isArray(n)&&n.length>0?[e,[...n]]:[e,Array.isArray(a)?[...a]:a]})),OK=(e,t)=>{if(!Array.isArray(e)){let a=EE(t[e]);return{[e]:bK(a)}}let a={};for(let r of e)if(Array.isArray(r))for(let e of r)a[e]=bK(EE(t[e]));else a[r]=bK(EE(t[r]));return a},xK=(e,t,a=[],r={},n)=>{if(t)return t;if(e)return e;if(vK(a)&&!n)return{selectedIndex:-1,selectedSchemes:[]};if(n)return{selectedIndex:0,selectedSchemes:[OK(n,r)]};let o=a[0];return o?{selectedIndex:0,selectedSchemes:[yK(o,r)]}:{selectedIndex:-1,selectedSchemes:[]}}}),mJ=V(()=>{wK=(e,t=new WeakMap)=>{if("object"!=typeof e||!e)return e;if(t.has(e))return t.get(e);let a=Array.isArray(e)?[]:{};return t.set(e,a),Object.keys(e).forEach(r=>{a[r]=wK(e[r],t)}),a}}),fJ=V(()=>{sC(),kK=(e,t,a=!1,r=new Set)=>{for(let n in t)if(n in e){let o=e[n],i=t[n];if("object"!=typeof o||!o||"object"!=typeof i||!i||a&&(Array.isArray(o)||Array.isArray(i)))try{e[n]=i}catch(e){console.warn(`Issue setting ${n} on object`),console.warn(e)}else{let e=WE(o),t=WE(i);if(r.has(e)||r.has(t))continue;r.add(e),r.add(t),kK(o,i,a,r)}}else e[n]=t[n];return e}}),gJ=V(()=>{UE(),VK(),SK={"x-scalar-secret-client-id":"x-scalar-client-id","x-scalar-secret-client-secret":"clientSecret","x-scalar-secret-password":"password","x-scalar-secret-redirect-uri":"x-scalar-redirect-uri","x-scalar-secret-token":"token","x-scalar-secret-username":"username","x-scalar-secret-auth-url":"authorizationUrl","x-scalar-secret-token-url":"tokenUrl"},AK=(e,t,a={},r)=>Object.fromEntries(e.map(e=>{let n="string"==typeof a[e]?a[e]:void 0,o="string"==typeof t[e]?t[e]:void 0,i="string"==typeof t[SK[e]]?t[SK[e]]:void 0;return[e,"x-scalar-secret-redirect-uri"===e?n??o??i??r??"":n||o||i||""]})),_K=(e={})=>{let t=e["x-scalar-secret-refresh-token"];return"string"==typeof t?{"x-scalar-secret-refresh-token":t}:{}},TK=(e,t={})=>{let a=t["x-scalar-credentials-location"]??e["x-scalar-credentials-location"];return a?{"x-scalar-credentials-location":a}:{}},EK=(e,t,a)=>{let r=new Set;return{flows:bY(e??{}).reduce((e,[n,o])=>{if(!CE(o))return e;let i=o.selectedScopes;return Array.isArray(i)&&i.forEach(e=>"string"==typeof e&&r.add(e)),"implicit"===n&&(e.implicit={...o,...AK(["x-scalar-secret-client-id","x-scalar-secret-redirect-uri","x-scalar-secret-token","x-scalar-secret-auth-url"],o,t?.implicit,a),..._K(t?.implicit)}),"password"===n&&(e[n]={...o,...AK(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-username","x-scalar-secret-password","x-scalar-secret-token","x-scalar-secret-token-url"],o,t?.password),...TK(o,t?.password),..._K(t?.password)}),"clientCredentials"===n&&(e[n]={...o,...AK(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-token","x-scalar-secret-token-url"],o,t?.clientCredentials),...TK(o,t?.clientCredentials),..._K(t?.clientCredentials)}),"authorizationCode"===n&&(e[n]={...o,...AK(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-redirect-uri","x-scalar-secret-token","x-scalar-secret-auth-url","x-scalar-secret-token-url"],o,t?.authorizationCode,a),...TK(o,t?.authorizationCode),..._K(t?.authorizationCode)}),e},{}),selectedScopes:Array.from(r)}},CK=(e,t,a,r,n)=>{let o=t.getAuthSecrets(r,a);if("apiKey"===e.type){let t="apiKey"===o?.type?o:void 0;return{...e,"x-scalar-secret-token":t?.["x-scalar-secret-token"]||e.value||""}}if("http"===e.type){let t="http"===o?.type?o:void 0;return{...e,"x-scalar-secret-token":t?.["x-scalar-secret-token"]||e.token||"","x-scalar-secret-username":t?.["x-scalar-secret-username"]||e.username||"","x-scalar-secret-password":t?.["x-scalar-secret-password"]||e.password||""}}if("oauth2"===e.type){let t="oauth2"===o?.type?o:void 0,a=EK(e.flows,t,n),r=Array.isArray(e["x-default-scopes"])?e["x-default-scopes"].filter(e=>"string"==typeof e):[],i=Array.from(new Set([...r,...a.selectedScopes]));return{...e,flows:a.flows,"x-default-scopes":i}}if("openIdConnect"===e.type){let t="openIdConnect"===o?.type?o:void 0,a=EK({implicit:t?.implicit,password:t?.password,clientCredentials:t?.clientCredentials,authorizationCode:t?.authorizationCode},t,n);return{...e,...bY(a.flows).length?{flows:a.flows}:{}}}return e}}),vJ=V(()=>{VK(),mJ(),jE(),fJ(),Zq(),cW(),gJ(),PK=(e={},t={},a,r,n)=>bY(kK(bY(e).reduce((e,[t,a])=>{let r=wK(EE(a));return r&&(e[t]=r),e},{}),t)??{}).reduce((e,[t,o])=>(e[t]=CK({...xz(BQ,o),...o},a,t,r,n),e),{})});function bJ(e,t={}){return Array.isArray(e)?e.map(e=>function(e,t){return e.url?.startsWith("/")&&(e.url=function(e,t){let{baseServerUrl:a,documentUrl:r}=t;if(a)return FS(a,e);if(r){let t=function(e){try{let t=new URL(e),a=t.port?`:${t.port}`:"";return`${t.protocol}//${t.hostname}${a}`}catch{return}}(r);if(t)return FS(t,e)}let n=function(){if(!(typeof window>"u"||"string"!=typeof window?.location?.origin))return window.location.origin}();return n?FS(n,e):e}(e.url,t)),e}(e,t)):[]}var yJ,OJ,xJ=V(()=>{uA(),rJ(),yJ=(e,t,a,r)=>{let n=eK(e)?e["x-scalar-selected-server"]:void 0,o=null==a?t?.["x-scalar-selected-server"]??n:n;return null==o?r[0]??null:r.find(({url:e})=>e===o)??null}}),wJ=V(()=>{iJ(),jE(),nJ(),XK(),sJ(),lJ(),cJ(),dJ(),hJ(),vJ(),xJ(),rJ(),OJ=(e,t,a,r={})=>{let{path:n,method:o,exampleName:i}=a,s=e.workspace.documents[t]??r.fallbackDocument??void 0;if(!s)return{ok:!1,error:`Document ${t} not found`};if(!eK(s))return{ok:!1,error:`Document ${t} is not an OpenAPI document`};let l=oK(s.paths?.[n]);if(!l)return{ok:!1,error:`Path ${n} not found`};let c=EE(iK(s.paths?.[n],o));if(!c)return{ok:!1,error:`Method ${o} not found on path ${n}`};let u={...c,parameters:dK(l.parameters,c.parameters??[])},d=rK(e,s),p=bJ(r.servers??u.servers??s.servers,{baseServerUrl:r.baseServerUrl,documentUrl:s["x-scalar-original-source-url"]}),h=yJ(s,u,r.servers??null,p),m=e.auth.getAuthSelectedSchemas({type:"document",documentName:t}),f=e.auth.getAuthSelectedSchemas({type:"operation",documentName:t,path:n??"",method:o??"get"}),g=PK(s.components?.securitySchemes??{},r.authentication?.securitySchemes??{},e.auth,t),v=mK(s.security,u.security),b=xK(m,f,v,g,r.authentication?.preferredSecurityScheme),y=gK(g,b.selectedSchemes[b.selectedIndex]??{}),O=null==u.servers?{type:"document"}:{type:"operation",path:n??"",method:o??"get"},x=void 0===f?{type:"document"}:{type:"operation",path:n??"",method:o??"get"},w=hK(e.workspace["x-scalar-active-proxy"],r.layout??"other"),k=CY({method:o,operation:u,exampleName:i,options:{appVersion:r.appVersion??"0.0.0",isElectron:r.isElectron??!1}});return{ok:!0,data:{operation:u,environment:d,cookies:{workspace:e.workspace["x-scalar-cookies"]??[],document:s["x-scalar-cookies"]??[]},headers:{default:k},servers:{list:p,selected:h,meta:O},proxy:{url:w},security:{schemes:g,requirements:v,selected:b,selectedSchemes:y,meta:x}}}}}),kJ=V(()=>{nJ(),wJ(),XK(),sJ(),lJ(),cJ(),dJ(),hJ(),pJ(),vJ(),xJ()});var SJ,AJ,_J,TJ,EJ,CJ,PJ,MJ,$J,NJ,IJ,RJ,DJ=V(()=>{}),LJ=V(()=>{aJ(),kJ(),UK(),DJ()}),BJ=V(()=>{BE(),LJ(),jE(),SJ=e=>null==e||"string"==typeof e&&""===e.trim(),AJ=(e=[],t="default")=>{let a=[];for(let r of e){let e=EE(r);if("path"!==e.in)continue;let n=gC(e,t,void 0);AE(e,n)||SJ(n?.value)&&a.push(e.name)}return a.length>0?{ok:!1,invalidParams:a}:{ok:!0}}}),jJ=V(()=>{VK(),TJ=bY(_J={c:["libcurl"],clojure:["clj_http"],csharp:["httpclient","restsharp"],dart:["http"],fsharp:["httpclient"],go:["native"],http:["http1.1"],java:["asynchttp","nethttp","okhttp","unirest"],js:["axios","fetch","jquery","ofetch","xhr"],kotlin:["okhttp"],node:["axios","fetch","ofetch","undici"],objc:["nsurlsession"],ocaml:["cohttp"],php:["curl","guzzle","laravel"],powershell:["restmethod","webrequest"],python:["python3","requests","aiohttp","httpx_sync","httpx_async"],r:["httr2"],ruby:["native"],rust:["reqwest"],shell:["curl","httpie","wget"],swift:["nsurlsession"]}).flatMap(([e,t])=>t.map(t=>`${e}/${t}`))}),UJ=V(()=>{jJ()}),zJ=V(()=>{EJ=e=>(e||"GET").toUpperCase(),CJ=e=>e.replaceAll("\\","\\\\").replaceAll('"','\\"').replaceAll("\n","\\n").replaceAll("\r","\\r").replaceAll("\t","\\t"),PJ=e=>{if(!e)return"";try{let t=new URL(e),a="/"!==t.pathname||e.endsWith("/")||e.includes("?")||e.includes("#")?t.pathname:"";return`${t.protocol}//${t.host}${a}${t.search}${t.hash}`}catch{return e}},MJ=(e,t)=>{let a=t?.length?t.map(e=>`${e.name}=${e.value}`).join("&"):"";return a?e?`${e}${e.includes("?")?"&":"?"}${a}`:`?${a}`:e},$J=e=>e?.length?e.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; "):null,NJ=e=>e?.length?e.map(e=>new URLSearchParams([[e.name,e.value??""]]).toString()).join("&"):null,IJ=e=>{if(void 0===e)return"";try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},RJ={target:"c",client:"libcurl",title:"Libcurl",generate(e,t){if(!e)return"";let a=EJ(e.method),r=MJ(PJ(e.url??""),e.queryString),n=!!e.headers?.length,o=!!e.cookies?.length,i=e.postData,s="multipart/form-data"===i?.mimeType&&!!i.params?.length,l=e.headers??[],c=l.some(e=>"accept-encoding"===e.name.toLowerCase()&&/gzip|deflate/.test(e.value)),u=["#include <curl/curl.h>","","int main(void) {","  curl_global_init(CURL_GLOBAL_DEFAULT);","  CURL *curl = curl_easy_init();","  if (!curl) {","    curl_global_cleanup();","    return 1;","  }","",`  curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "${CJ(a)}");`,`  curl_easy_setopt(curl, CURLOPT_URL, "${CJ(r)}");`];if(t?.auth?.username&&t.auth.password&&u.push(`  curl_easy_setopt(curl, CURLOPT_USERPWD, "${CJ(`${t.auth.username}:${t.auth.password}`)}");`),n&&(u.push("","  struct curl_slist *headers = NULL;"),l.forEach(e=>{u.push(`  headers = curl_slist_append(headers, "${CJ(`${e.name}: ${e.value}`)}");`)}),u.push("  curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);")),o){let t=$J(e.cookies);t&&u.push("",`  curl_easy_setopt(curl, CURLOPT_COOKIE, "${CJ(t)}");`)}if(c&&u.push("",'  curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "");'),i)if(s&&i.params)u.push("","  curl_mime *mime = curl_mime_init(curl);"),i.params.forEach(e=>{u.push("","  {","    curl_mimepart *part = curl_mime_addpart(mime);"),e.name&&u.push(`    curl_mime_name(part, "${CJ(e.name)}");`),void 0===e.fileName?u.push(`    curl_mime_data(part, "${CJ(e.value??"")}", CURL_ZERO_TERMINATED);`):u.push(`    curl_mime_filedata(part, "${CJ(e.fileName)}");`),e.contentType&&u.push(`    curl_mime_type(part, "${CJ(e.contentType)}");`),u.push("  }")}),u.push("","  curl_easy_setopt(curl, CURLOPT_MIMEPOST, mime);");else if("application/x-www-form-urlencoded"===i.mimeType&&i.params?.length){let e=NJ(i.params);null!==e&&u.push("",`  curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${CJ(e)}");`)}else if("application/json"===i.mimeType&&void 0!==i.text)u.push("",`  curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${CJ(IJ(i.text))}");`);else if(void 0!==i.text){let e="application/octet-stream"===i.mimeType?i.text:IJ(i.text);u.push("",`  curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${CJ(e)}");`)}return u.push("","  CURLcode res = curl_easy_perform(curl);"),u.push("  curl_easy_cleanup(curl);"),s&&u.push("  curl_mime_free(mime);"),n&&u.push("  curl_slist_free_all(headers);"),u.push("  curl_global_cleanup();","","  return (int)res;","}"),u.join("\n")}}}),HJ=V(()=>{zJ()});function ZJ(e){return{...e,method:(e.method||"GET").toUpperCase()}}function VJ(e){return e?.length?`?${e.map(e=>`${e.name}=${e.value}`).join("&")}`:""}function QJ(e=[]){return e.reduce((e,{name:t,value:a})=>(GJ(e,t,a),e),{})}var qJ,FJ,WJ,XJ,GJ,YJ,KJ,JJ,e0,t0,a0,r0,n0,o0,i0,s0,l0=V(()=>{qJ=e=>(e||"GET").toUpperCase(),FJ=e=>{if(!e)return"";try{let t=new URL(e);return"/"===t.pathname?`${t.origin}${t.search}${t.hash}`:t.toString()}catch{return e}},WJ=(e,t)=>{let a=VJ(t);return a?e?`${e}${e.includes("?")?"&":"?"}${a.slice(1)}`:a:e},XJ=(e,t)=>{let a=new Map;if(e?.forEach(e=>{e.name&&a.set(e.name,e.value??"")}),t?.length){let e=t.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; ");a.set("Cookie",e)}return Array.from(a.entries()).map(([e,t])=>({name:e,value:t}))},GJ=(e,t,a)=>{let r=e[t];void 0===r?e[t]=a:Array.isArray(r)?r.push(a):e[t]=[r,a]}}),c0=V(()=>{l0(),YJ=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),KJ=class{name;constructor(e){this.name=e}toString(){return`:${this.name}`}},JJ=class{path;constructor(e){this.path=e}toString(){return`(clojure.java.io/file "${YJ(this.path)}")`}},e0=e=>!("object"!=typeof e||!e||Array.isArray(e)||e instanceof KJ||e instanceof JJ||0!==Object.keys(e).length),t0=e=>{for(let t of Object.keys(e))e0(e[t])&&delete e[t];return e},a0=(e,t)=>t.replace(/\n/g,`\n${" ".repeat(e)}`),r0=e=>null==e?"nil":e instanceof KJ||e instanceof JJ?e.toString():"string"==typeof e?`"${YJ(e)}"`:Array.isArray(e)?`[${a0(1,e.reduce((e,t)=>`${e} ${r0(t)}`,"").trim())}]`:"object"==typeof e?`{${a0(1,Object.keys(e).reduce((t,a)=>`${t}:${a} ${a0(a.length+2,r0(e[a]))}\n `,"").trim())}}`:String(e),n0=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),o0=(e,t)=>{let a=n0(e,t);a&&delete e[a]},i0=["get","post","put","delete","patch","head","options"],s0={target:"clojure",client:"clj_http",title:"clj-http",generate(e,t){let a=qJ(e?.method).toLowerCase();if(!i0.includes(a))return"Method not supported";let r=new URL(e?.url??""),n="/"===r.pathname?r.origin:r.toString(),o=QJ([...Array.from(r.searchParams.entries()).map(([e,t])=>({name:e,value:t})),...e?.queryString??[]]);Object.keys(o).length>0&&(n=n.split("?")[0]??n);let i=(e?.headers??[]).reduce((e,t)=>(e[t.name]=t.value??"",e),{});e?.cookies?.length&&(i.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; "));let s={headers:i,"query-params":o};t?.auth?.username&&t?.auth?.password&&(s["basic-auth"]=[t.auth.username,t.auth.password]);let l=e?.postData;switch(l?.mimeType){case"application/json":if(s["content-type"]=new KJ("json"),l.text)try{s["form-params"]=JSON.parse(l.text)}catch{s.body=l.text}o0(i,"content-type");break;case"application/x-www-form-urlencoded":s["form-params"]=(l.params??[]).reduce((e,t)=>(t.name&&void 0!==t.value&&(e[t.name]=t.value),e),{}),o0(i,"content-type");break;case"multipart/form-data":l.params&&(s.multipart=l.params.map(e=>"string"!=typeof e.fileName||e.value?{name:e.name,content:e.value}:{name:e.name,content:new JJ(e.fileName)})),o0(i,"content-type");break;default:l?.text&&(s.body=l.text,o0(i,"content-type"))}let c=n0(i,"accept");c&&"application/json"===i[c]&&(s.accept=new KJ("json"),delete i[c]);let u=t0(s),d="(require '[clj-http.client :as client])\n",p=YJ(n);return e0(u)?`${d}\n(client/${a} "${p}")`:`${d}\n(client/${a} "${p}" ${a0(11+a.length+p.length,r0(u))})`}}}),u0=V(()=>{c0()});function d0(e){let t=3;for(;e.includes('"'.repeat(t));)t++;let a='"'.repeat(t);return`${a}\n${e}\n${a}`}function p0(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function h0(e){return/^[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*\/[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*(\s*;\s*[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*=.*)?$/.test(e)}var m0,f0,g0,v0,b0,y0,O0,x0=V(()=>{NK(),l0(),m0={target:"csharp",client:"httpclient",title:"HttpClient",generate(e,t){let a={method:"GET",url:"",...e};a.method=a.method.toUpperCase();let r=VJ(a.queryString),n=`${a.url}${r}`,o=[];o.push("using var client = new HttpClient();"),o.push("");let i=function(e){switch(e){case"GET":return"HttpMethod.Get";case"POST":return"HttpMethod.Post";case"PUT":return"HttpMethod.Put";case"DELETE":return"HttpMethod.Delete";case"PATCH":return"HttpMethod.Patch";case"HEAD":return"HttpMethod.Head";case"OPTIONS":return"HttpMethod.Options";default:return`new HttpMethod("${e}")`}}(a.method);return o.push(`var request = new HttpRequestMessage(${i}, "${n}");`),function(e,t,a){let r=t.headers||[],n=t.cookies||[],o=r.find(e=>"authorization"===e.name.toLowerCase());if(o){let[t,a]=o.value.split(" ",2);t&&a&&e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("${t}", "${a}");`)}else if(a?.auth?.username&&a?.auth?.password){let t=VW(`${a.auth.username}:${a.auth.password}`);e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "${t}");`)}let i=new Map;for(let e of r){let t=e.name,a=e.value;"authorization"!==t.toLowerCase()&&i.set(t,a)}for(let[a,r]of i)if("accept"===a.toLowerCase()&&h0(r))e.push(`request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("${r}"));`);else{if("content-type"===a.toLowerCase()&&t.postData)continue;e.push(`request.Headers.TryAddWithoutValidation("${a}", "${r}");`)}if(n.length>0){let t=n.map(e=>`${e.name}=${e.value}`).join("; ");e.push(`request.Headers.TryAddWithoutValidation("Cookie", "${t}");`)}}(o,a,t),function(e,t){if(!t.postData)return;let{mimeType:a,text:r,params:n}=t.postData;if("application/json"===a&&r)try{let t=JSON.parse(r),a=d0(JSON.stringify(t,null,2));e.push("request.Content = new StringContent("),e.push(`${a},`),e.push('System.Text.Encoding.UTF8, "application/json");')}catch{let t=d0(r);e.push("request.Content = new StringContent("),e.push(`${t},`),e.push('System.Text.Encoding.UTF8, "application/json");')}else if("application/x-www-form-urlencoded"===a&&n){let t=n.map(e=>e.name);if(t.length!==new Set(t).size){e.push("var formParams = new List<KeyValuePair<string, string>>"),e.push("{");for(let t of n)e.push(`  new("${t.name}", "${t.value}"),`);e.push("};"),e.push("request.Content = new FormUrlEncodedContent(formParams);")}else{e.push("var formParams = new Dictionary<string, string>"),e.push("{");for(let t of n)e.push(`  ["${t.name}"] = "${t.value}",`);e.push("};"),e.push("request.Content = new FormUrlEncodedContent(formParams);")}}else if("multipart/form-data"===a&&n){e.push("var content = new MultipartFormDataContent();");let t=0;for(let a of n)if(void 0!==a.fileName)if(a.contentType){let r="fileContent"+t++;e.push(`var ${r} = new StreamContent(File.OpenRead("${p0(a.fileName)}"));`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${a.contentType}");`),e.push(`content.Add(${r}, "${p0(a.name)}", "${p0(a.fileName)}");`)}else e.push(`content.Add(new StreamContent(File.OpenRead("${p0(a.fileName)}")), "${p0(a.name)}", "${p0(a.fileName)}");`);else if(a.contentType){let r="stringContent"+t++;e.push(`var ${r} = new StringContent("${p0(a.value??"")}");`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${a.contentType}");`),e.push(`content.Add(${r}, "${p0(a.name)}");`)}else e.push(`content.Add(new StringContent("${p0(a.value??"")}"), "${p0(a.name)}");`);e.push("request.Content = content;")}else if("application/octet-stream"===a&&r)e.push('var content = new ByteArrayContent(System.Text.Encoding.UTF8.GetBytes("'+r.replace(/"/g,'\\"')+'"));'),e.push('content.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");'),e.push("request.Content = content;");else if(r){let t=d0(r);e.push("request.Content = new StringContent("),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "${a}");`)}}(o,a),o.push(""),o.push("using var response = await client.SendAsync(request);"),o.join("\n")}}}),w0=V(()=>{x0()}),k0=V(()=>{gA(),NK(),l0(),f0=e=>{if(!e)return!1;let{subtype:t}=iA(e);return"json"===t||t.endsWith("+json")},g0=e=>`Method.${e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}`,v0=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"),b0=e=>{let t=3;for(;e.includes('"'.repeat(t));)t++;let a='"'.repeat(t);return`${a}\n${e}\n${a}`},y0={target:"csharp",client:"restsharp",title:"RestSharp",generate(e,t){let a={method:"GET",url:"",...e};a.method=a.method.toUpperCase();let r=WJ(a.url,a.queryString),n="";try{n=new URL(r).host}catch{}let o=[];o.push(`var client = new RestClient("${v0(r)}");`),o.push(`var request = new RestRequest("", ${g0(a.method)});`);let{username:i,password:s}=t?.auth??{},l=!(!i||!s);if(l){let e=VW(`${i}:${s}`);o.push(`request.AddHeader("Authorization", "Basic ${e}");`)}if(a.headers?.forEach(e=>{l&&"authorization"===e.name.toLowerCase()||o.push(`request.AddHeader("${v0(e.name)}", "${v0(e.value)}");`)}),a.cookies?.forEach(e=>{o.push(`request.AddCookie("${v0(e.name)}", "${v0(e.value)}", "/", "${v0(n)}");`)}),a.postData){let{mimeType:e,text:t,params:r}=a.postData,n=e?iA(e).essence:void 0;if(f0(e)){if(t){let e=t;try{e=JSON.stringify(JSON.parse(t),null,2)}catch{}o.push(`request.AddStringBody(${b0(e)}, ContentType.Json);`)}}else"application/x-www-form-urlencoded"===n&&r?r.forEach(e=>{o.push(`request.AddParameter("${v0(e.name)}", "${v0(e.value??"")}");`)}):"multipart/form-data"===n&&r?r.forEach(e=>{void 0===e.fileName?o.push(`request.AddParameter("${v0(e.name)}", "${v0(e.value??"")}");`):e.contentType?o.push(`request.AddFile("${v0(e.name)}", "${v0(e.fileName)}", "${v0(e.contentType)}");`):o.push(`request.AddFile("${v0(e.name)}", "${v0(e.fileName)}");`)}):"application/octet-stream"===n&&t?o.push(`request.AddParameter("application/octet-stream", "${v0(t)}", ParameterType.RequestBody);`):t&&o.push(`request.AddParameter("${v0(e??"")}", "${v0(t)}", ParameterType.RequestBody);`)}return o.push("var response = await client.ExecuteAsync(request);"),o.join("\n")}}}),S0=V(()=>{k0()}),A0=V(()=>{O0={target:"dart",client:"http",title:"Http",generate(e,t){let a={method:"GET",...e};a.method=a.method.toUpperCase();let r="import 'package:http/http.dart' as http;\n\nvoid main() async {\n",n="",o="";a.cookies&&a.cookies.length>0&&(o=a.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; "),n=`  "Cookie": "${o}",\n`);let i=a.headers?.reduce((e,t)=>(t.value&&!/[; ]/.test(t.name)&&(e[t.name]=t.value),e),{})||{};if(t?.auth){let{username:e,password:a}=t.auth;e&&a&&(i.Authorization=`'Basic ' + base64Encode(utf8.encode('${e}:${a}'))`)}if(n&&(i.Cookie=o),Object.keys(i).length>0){r+="  final headers = <String,String>{\n";for(let[e,t]of Object.entries(i))t.includes("utf8.encode")?r+=`    '${e}': ${t},\n`:r+=`    '${e}': '${t}',\n`;r+="  };\n\n"}let s=a.queryString?.length?"?"+a.queryString.map(e=>`${e.name}=${e.value}`).join("&"):"",l=`${a.url}${s}`,c="";if(a.postData)if("application/json"===a.postData.mimeType)c=`  final body = r'${a.postData.text}';\n\n`;else if("application/x-www-form-urlencoded"===a.postData.mimeType)c=`  final body = '${a.postData.params?.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`).join("&")||""}';\n\n`;else if("multipart/form-data"===a.postData.mimeType){c="  final body = <String,String>{\n";for(let e of a.postData.params||[]){let t=e.value||"",a=e.fileName||"";c+=`    '${e.name}': '${a||t}',\n`}c+="  };\n\n"}else"application/octet-stream"===a.postData.mimeType&&(c=`  final body = '${a.postData.text}';\n\n`);return c&&(r+=c),r+=`  final response = await http.${a.method.toLowerCase()}(Uri.parse('${l}')${Object.keys(i).length>0?", headers: headers":""}${c?", body: body":""});\n`,r+="  print(response.body);\n",r+="}",r}}}),_0=V(()=>{A0()});function T0(e){if(!e)return"";let t="";switch(e.mimeType){case"multipart/form-data":t+=function(e){let t="let content = new MultipartFormDataContent()\n",a=0,r=0;for(let n of e.params)if("BINARY"===n.value){let e=E0(n.fileName??"");t+=`let fileStreamContent_${a} = new StreamContent(File.OpenRead("${e}"))\n`,n.contentType&&(t+=`fileStreamContent_${a}.Headers.ContentType <- MediaTypeHeaderValue("${E0(n.contentType)}")\n`),t+=`content.Add(fileStreamContent_${a}, "${e}", "${e}")\n`,a++}else{let e=E0(n.name??""),a=E0(n.value??"");n.contentType?(t+=`let stringContent_${r} = new StringContent("${a}")\n`,t+=`stringContent_${r}.Headers.ContentType <- MediaTypeHeaderValue("${E0(n.contentType)}")\n`,t+=`content.Add(stringContent_${r}, "${e}")\n`,r++):t+=`content.Add(new StringContent("${a}"), "${e}")\n`}return t}(e);break;case"application/x-www-form-urlencoded":t+=function(e){let t="let formUrlEncodedContentDictionary = new Dictionary<string, string>()\n";for(let a of e.params)t+=`formUrlEncodedContentDictionary.Add("${E0(a.name??"")}", "${E0(a.value??"")}")\n`;return t+="let content = new FormUrlEncodedContent(formUrlEncodedContentDictionary)\n",t}(e);break;case"application/json":t+=function(e){let t;try{t=JSON.stringify(JSON.parse(e.text??"{}"),null,2)}catch{t=e.text??"{}"}return`let content = new StringContent("""${t}""", Encoding.UTF8, "application/json")\n`}(e);break;default:t+=function(e,t){let a=`let content = new StringContent("${E0(e.text??"")}", Encoding.UTF8, "${E0(t??"")}")\n`;return a+=`content.Headers.ContentType <- MediaTypeHeaderValue("${E0(t??"")}")\n`,a}(e,e.mimeType)}return t+="httpRequestMessage.Content <- content\n\n",t}function E0(e){return null==e?"":e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}var C0,P0,M0,$0,N0,I0,R0,D0,L0,B0,j0,U0=V(()=>{C0={target:"fsharp",client:"httpclient",title:"HttpClient",generate:(e,t)=>{if(!e)return"";let a=function(e,t){return e?t&&0!==t.length?e+function(e){return e&&0!==e.length?"?"+e.map(e=>`${e.name}=${e.value}`).join("&"):""}(t):e:""}(e.url,e.queryString),r="";return r+=function(e,t){return`let httpRequestMessage = new HttpRequestMessage(\n  HttpMethod("${e}"),\n  new Uri("${E0(t)}")\n)\n\n`}(e.method,a),e.headers&&e.headers.length>0&&(r+=function(e){let t="";for(let a of e)t+=`httpRequestMessage.Headers.Add("${E0(a.name??"")}", "${E0(a.value??"")}")\n`;return t+="\n",t}(e.headers)),e.postData&&(r+=T0(e.postData)),e.cookies&&e.cookies.length>0&&e.url?(r+=function(e,t){let a="let cookieContainer = CookieContainer()\n";for(let r of e)a+=`cookieContainer.Add(Uri("${E0(t)}"), Cookie("${E0(r.name??"")}", "${E0(r.value??"")}"))\n`;return a+="use handler = new HttpClientHandler()\n",a+="handler.CookieContainer <- cookieContainer\n\n",a}(e.cookies,e.url),r+="let client = new HttpClient(handler)\n"):r+="let client = new HttpClient()\n",r+="let! result = client.SendAsync(httpRequestMessage)\n",r}}}),z0=V(()=>{U0()}),H0=V(()=>{l0(),P0=e=>e.includes(" ")?e:M0(e),M0=e=>JSON.stringify(e),$0=e=>{if(void 0===e)return"";try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},N0=e=>!e.includes("`"),I0=(e,t=!1)=>t&&N0(e)?`\`${e}\``:M0(e),R0=e=>{let t=new Set;if(!e)return{imports:t,setupLines:[],requestBody:"nil",needsMultipartContentTypeHeader:!1};if("application/x-www-form-urlencoded"===e.mimeType&&e.params?.length)return t.add('neturl "net/url"'),t.add("strings"),{imports:t,setupLines:["postData := neturl.Values{}",...e.params.map(e=>`postData.Set(${M0(e.name)}, ${M0(e.value??"")})`)],requestBody:"strings.NewReader(postData.Encode())",needsMultipartContentTypeHeader:!1};if("multipart/form-data"===e.mimeType&&e.params?.length){t.add("bytes"),t.add("mime/multipart");let a=["payload := &bytes.Buffer{}","writer := multipart.NewWriter(payload)"],r=e.params.some(e=>void 0!==e.fileName),n=!1,o=!1;return r&&(t.add("os"),t.add("io")),e.params.forEach(e=>{a.push(""),void 0===e.fileName?a.push(`_ = writer.WriteField(${M0(e.name)}, ${M0(e.value??"")})`):(a.push(`part, _ ${n?"=":":="} writer.CreateFormFile(${M0(e.name)}, ${M0(e.fileName)})`),a.push(""),a.push(`f, _ ${o?"=":":="} os.Open(${M0(e.fileName)})`),a.push("defer f.Close()"),a.push(""),a.push("_, _ = io.Copy(part, f)"),n=!0,o=!0)}),a.push("writer.Close()"),{imports:t,setupLines:a,requestBody:"payload",needsMultipartContentTypeHeader:!0}}return t.add("strings"),{imports:t,setupLines:[`payload := strings.NewReader(${I0("application/json"===e.mimeType?$0(e.text):e.text??"","application/json"===e.mimeType)})`],requestBody:"payload",needsMultipartContentTypeHeader:!1}},D0=e=>Array.from(new Set(["fmt","io","net/http",...e])).sort(),L0={target:"go",client:"native",title:"NewRequest",generate(e,t){if(!e)return"";let a=qJ(e.method),r=FJ(WJ(e.url??"",e.queryString)),n=XJ(e.headers,e.cookies),o=R0(e.postData),i=["package main","","import (",...D0(o.imports).map(e=>`\t${P0(e)}`),")","","func main() {",`\trequestUrl := ${M0(r)}`,"",...o.setupLines.map(e=>e?`\t${e}`:"")];return o.setupLines.length&&i.push(""),i.push(`\treq, _ := http.NewRequest(${M0(a)}, requestUrl, ${o.requestBody})`),i.push(""),o.needsMultipartContentTypeHeader&&i.push('\treq.Header.Set("Content-Type", writer.FormDataContentType())'),t?.auth?.username&&t?.auth?.password&&i.push(`\treq.SetBasicAuth(${M0(t.auth.username)}, ${M0(t.auth.password)})`),n.forEach(e=>{i.push(`\treq.Header.Add(${M0(e.name)}, ${M0(e.value)})`)}),(o.needsMultipartContentTypeHeader||n.length||t?.auth?.username&&t.auth.password)&&i.push(""),i.push("\tres, _ := http.DefaultClient.Do(req)"),i.push(""),i.push("\tdefer res.Body.Close()"),i.push("\tbody, _ := io.ReadAll(res.Body)"),i.push(""),i.push("\tfmt.Println(res)"),i.push("\tfmt.Println(string(body))"),i.push(""),i.push("}"),i.join("\n")}}}),Z0=V(()=>{H0()}),V0=V(()=>{B0={target:"http",client:"http1.1",title:"HTTP/1.1",generate(e){let t,a,r={method:"GET",headers:[],queryString:[],...e};r.method=r.method.toUpperCase();try{t=new URL(r.url||"http://"),a=t.pathname+(t.search||"")}catch{a=r.url||"/"}let n=t?.hostname||"UNKNOWN_HOSTNAME",o=`${r.method} ${a} HTTP/1.1\r\n`;if(r.queryString.length){let e=r.queryString.map(e=>`${e.name}=${e.value}`).join("&");o=`${r.method} ${a}?${e} HTTP/1.1\r\n`}let i=new Map;if(i.set("Host",n),r.headers.forEach(e=>{i.has(e.name)?i.set(e.name,`${i.get(e.name)}, ${e.value}`):i.set(e.name,e.value)}),r.queryString.length){let e=r.queryString.map(e=>`${e.name}=${e.value}`).join("&");o=`${r.method} ${a}?${e} HTTP/1.1\r\n`}let s="";if(r.postData)if("application/json"===r.postData.mimeType&&r.postData.text)i.set("Content-Type","application/json"),s=r.postData.text;else if("application/octet-stream"===r.postData.mimeType&&r.postData.text)i.set("Content-Type","application/octet-stream"),s=r.postData.text;else if("application/x-www-form-urlencoded"===r.postData.mimeType&&r.postData.params){let e=r.postData.params.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`).join("&");i.set("Content-Type","application/x-www-form-urlencoded"),s=e}else if("multipart/form-data"===r.postData.mimeType&&r.postData.params){let e="----WebKitFormBoundary7MA4YWxkTrZu0gW";i.set("Content-Type",`multipart/form-data; boundary=${e}`),s=r.postData.params.map(t=>{let a=t.contentType?`Content-Type: ${t.contentType}\r\n`:"";return t.fileName?`--${e}\r\nContent-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"\r\n${a}\r\n`:`--${e}\r\nContent-Disposition: form-data; name="${t.name}"\r\n${a}\r\n${t.value??""}\r\n`}).join("")+`--${e}--\r\n`}return i.forEach((e,t)=>{o+=`${t}: ${e}\r\n`}),o+=`\r\n${s}`,o}}}),Q0=V(()=>{V0()}),q0=V(()=>{j0=class{postProcessors;code;indentationCharacter;lineJoin;indentLine;unshift;push;blank;join;addPostProcessor;constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter="",this.lineJoin="\n",this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,this.unshift=(e,t)=>{let a=this.indentLine(e,t);this.code.unshift(a)},this.push=(e,t)=>{let a=this.indentLine(e,t);this.code.push(a)},this.blank=()=>{this.code.push("")},this.join=()=>{let e=this.code.join(this.lineJoin);return this.postProcessors.reduce((e,t)=>t(e),e)},this.addPostProcessor=e=>{this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||"",this.lineJoin=t??"\n"}}});function F0(e,t={}){let{delimiter:a='"',escapeChar:r="\\",escapeNewlines:n=!0}=t;return[...e.toString()].map(e=>"\b"===e?`${r}b`:"\t"===e?`${r}t`:"\n"===e?n?`${r}n`:e:"\f"===e?`${r}f`:"\r"===e?n?`${r}r`:e:e===r?r+r:e===a?r+a:e<" "||e>"~"?JSON.stringify(e).slice(1,-1):e).join("")}var W0,X0,G0,Y0=V(()=>{W0=e=>F0(e,{delimiter:"'"}),X0=e=>F0(e,{delimiter:'"'})}),K0=V(()=>{q0(),Y0(),G0={info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/AsyncHttpClient/async-http-client",description:"Asynchronous Http and WebSocket Client library for Java"},convert:({method:e,allHeaders:t,postData:a,fullUrl:r},n)=>{let{blank:o,push:i,join:s}=new j0({indent:{indent:"  ",...n}.indent});return i("AsyncHttpClient client = new DefaultAsyncHttpClient();"),i(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach(e=>{i(`.setHeader("${e}", "${X0(t[e])}")`,1)}),a?.text&&i(`.setBody(${JSON.stringify(a.text)})`,1),i(".execute()",1),i(".toCompletableFuture()",1),i(".thenAccept(System.out::println)",1),i(".join();",1),o(),i("client.close();"),s()}}});function J0(e,t){let a=new URL(t?.url??""),r="/"===a.pathname?a.origin:a.toString(),n={method:t?.method??"GET",url:r,httpVersion:"HTTP/1.1",cookies:[],headers:t?.headers??[],headersSize:-1,bodySize:-1,queryString:Array.from(a.searchParams.entries()).map(([e,t])=>({name:e,value:t})),postData:t?.postData},o=(n?.headers??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),i=QJ(n.queryString),s=(n.cookies??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),l=new URL(n.url),c={protocol:l.protocol,hostname:l.hostname,host:l.hostname,port:l.port,pathname:l.pathname.split("/").map(e=>encodeURIComponent(decodeURIComponent(e))).join("/")+l.search,path:l.pathname.split("/").map(e=>encodeURIComponent(decodeURIComponent(e))).join("/")+l.search,search:l.search,hash:l.hash,href:l.href,origin:l.origin,password:l.password,searchParams:l.searchParams,username:l.username,toString:l.toString,toJSON:()=>l.toJSON()},u={url:n.url,uriObj:c,method:n.method?.toLocaleUpperCase()??"GET",httpVersion:n.httpVersion,cookies:n.cookies??[],headers:n.headers??[],headersSize:n.headersSize??0,headersObj:o??{},bodySize:n.bodySize??0,queryString:n.queryString??[],postData:n.postData?{mimeType:n.postData.mimeType??"application/json",text:n.postData.text??"",params:n.postData.params??[],paramsObj:n.postData.params?.reduce((e,t)=>(t.name&&void 0!==t.value&&(e[t.name]=t.value),e),{})??{}}:void 0,allHeaders:o??{},fullUrl:n.url,queryObj:i??{},cookiesObj:s??{}};if("application/json"===u.postData?.mimeType&&u.postData.text)try{u.postData.jsonObj=JSON.parse(u.postData.text)}catch(e){console.error("Error parsing JSON:",e)}return"function"==typeof e.convert?e.convert(u):""}var e1,t1,a1,r1,n1,o1,i1,s1=V(()=>{l0()}),l1=V(()=>{K0(),s1(),e1={target:"java",client:"asynchttp",title:"AsyncHttp",generate:e=>J0(G0,e)}}),c1=V(()=>{l1()}),u1=V(()=>{q0(),Y0(),t1={info:{key:"nethttp",title:"java.net.http",link:"https://openjdk.java.net/groups/net/httpclient/intro.html",description:"Java Standardized HTTP Client API"},convert:({allHeaders:e,fullUrl:t,method:a,postData:r},n)=>{let{push:o,join:i}=new j0({indent:{indent:"  ",...n}.indent});return o("HttpRequest request = HttpRequest.newBuilder()"),o(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(t=>{o(`.header("${t}", "${X0(e[t])}")`,2)}),o(r?.text?`.method("${a.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`:`.method("${a.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),o(".build();",2),o("HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),o("System.out.println(response.body());"),i()}}}),d1=V(()=>{u1(),s1(),a1={target:"java",client:"nethttp",title:"java.net.http",generate:e=>J0(t1,e)}}),p1=V(()=>{d1()}),h1=V(()=>{q0(),Y0(),r1={info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:a,allHeaders:r},n)=>{let{push:o,blank:i,join:s}=new j0({indent:{indent:"  ",...n}.indent});return o("OkHttpClient client = new OkHttpClient();"),i(),null!=e&&("application/x-www-form-urlencoded"===e.mimeType&&e.params?(o("FormBody formBody = new FormBody.Builder()"),e.params.forEach(e=>{o(`.addEncoded("${e.name}", "${e.value}")`,1)}),o(".build();",1),i()):"multipart/form-data"===e.mimeType&&e.params?(o("MultipartBody body = new MultipartBody.Builder()"),o(".setType(MultipartBody.FORM)",1),e.params.forEach(e=>{void 0===e.fileName?void 0!==e.value&&o(`.addFormDataPart("${e.name}", "${e.value}")`,1):o(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), new File("${e.fileName}")))`,1)}),o(".build();",1),i()):(o(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),o(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`))),o("Request request = new Request.Builder()"),o(`.url("${a}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(t.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(t.toUpperCase())?null!=e&&(e.text||e.params)?o(`.${t.toLowerCase()}(body)`,1):o(`.${t.toLowerCase()}(null)`,1):o(`.${t.toLowerCase()}()`,1):o(e?.text?`.method("${t.toUpperCase()}", body)`:`.method("${t.toUpperCase()}", null)`,1),Object.keys(r).forEach(e=>{o(`.addHeader("${e}", "${X0(r[e])}")`,1)}),o(".build();",1),i(),o("Response response = client.newCall(request).execute();"),s()}}}),m1=V(()=>{h1(),s1(),n1={target:"java",client:"okhttp",title:"OkHttp",generate:e=>J0(r1,e)}}),f1=V(()=>{m1()}),g1=V(()=>{q0(),Y0(),o1={info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:a,fullUrl:r},n)=>{let{join:o,push:i}=new j0({indent:{indent:"  ",...n}.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?i(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):i(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),Object.keys(t).forEach(e=>{i(`.header("${e}", "${X0(t[e])}")`,1)}),a?.text&&i(`.body(${JSON.stringify(a.text)})`,1),i(".asString();",1),o()}}}),v1=V(()=>{g1(),s1(),i1={target:"java",client:"unirest",title:"Unirest",generate:e=>J0(o1,e)}}),b1=V(()=>{v1()});function y1(e){return!/^[$A-Z_][0-9A-Z_$]*$/i.test(e)}function O1(e){return e.replaceAll("\\","\\\\").replaceAll("\n","\\n").replaceAll("\r","\\r").replaceAll("'","\\'")}function x1(e,t=0){let a=[],r=" ".repeat(t),n=" ".repeat(t+2);if(0===Object.keys(e).length)return"{}";for(let[r,o]of Object.entries(e)){let e=y1(r)?`'${O1(r)}'`:r;if(o instanceof k1){let t=o.value.split("\n"),r=`${o.value}`;t.length>1&&(r=t.map((e,t)=>0===t?e:`${n}${e}`).join("\n")),a.push(`${n}${e}: ${r}`)}else if(Array.isArray(o)){let r=o.map(e=>"string"==typeof e?`'${e}'`:e&&"object"==typeof e?x1(e):JSON.stringify(e));if(r.some(e=>e.includes("\n"))){let o=r.map(e=>w1(e,t+4)).join(",\n");a.push(`${n}${e}: [\n${o}\n${n}]`)}else a.push(`${n}${e}: [${r.join(", ")}]`)}else if(o&&"object"==typeof o)a.push(`${n}${e}: ${x1(o,t+2)}`);else if("string"==typeof o){let t=`'${o}'`;a.push(`${n}${e}: ${t}`)}else a.push(`${n}${e}: ${o}`)}return`{\n${a.join(",\n")}\n${r}}`}function w1(e,t){let a=" ".repeat(t);return e.split("\n").map(e=>`${a}${e}`).join("\n")}var k1,S1,A1,_1,T1,E1,C1,P1,M1,$1=V(()=>{k1=class{value;constructor(e){this.value=e}}}),N1=V(()=>{l0(),$1(),S1=e=>e.replaceAll("\\","\\\\").replaceAll("\n","\\n").replaceAll("\r","\\r").replaceAll("'","\\'"),A1=e=>"string"==typeof e?S1(e):Array.isArray(e)?e.map(e=>A1(e)):!e||"object"!=typeof e||e instanceof k1?e:Object.entries(e).reduce((e,[t,a])=>(e[t]=A1(a),e),{}),_1=(e,t,a)=>{""!==a?GJ(e,t,a):e[t]=a},T1=e=>{let t={};return e?.headers?.forEach(e=>{_1(t,e.name,e.value)}),e?.cookies?.length&&_1(t,"Cookie",e.cookies.map(e=>`${e.name}=${e.value}`).join("; ")),Object.keys(t).length?t:void 0},E1=e=>{let t=[],a=e?.postData;if(!a)return{setup:t};if("application/json"===a.mimeType){if(!a.text)return{setup:t};try{return{setup:t,data:JSON.parse(a.text)}}catch{return{setup:t,data:a.text}}}return"application/x-www-form-urlencoded"===a.mimeType&&a.params?.length?(t.push("const encodedParams = new URLSearchParams()"),a.params.forEach(e=>{let a=S1(e.name),r=S1(e.value??"");t.push(`encodedParams.append('${a}', '${r}')`)}),{setup:t,data:new k1("encodedParams")}):"multipart/form-data"===a.mimeType&&a.params?.length?(t.push("const formData = new FormData()"),a.params.forEach(e=>{let a=S1(e.name);if(void 0!==e.fileName){let r=S1(e.fileName),n=e.contentType?`, { type: '${S1(e.contentType)}' }`:"";return void t.push(`formData.append('${a}', new Blob([]${n}), '${r}')`)}if(e.contentType){let r=S1(e.contentType),n=S1(e.value??"");return void t.push(`formData.append('${a}', new Blob(['${n}'], { type: '${r}' }))`)}let r=S1(e.value??"");t.push(`formData.append('${a}', '${r}')`)}),{setup:t,data:new k1("formData")}):a.text?{setup:t,data:a.text}:{setup:t}},C1=e=>({target:e,client:"axios",title:"Axios",generate(e,t){let a={method:"GET",...e};a.method=a.method.toUpperCase();let r={method:a.method,url:S1(a.url??"")},n=QJ(a.queryString);Object.keys(n).length&&(r.params=A1(n));let o=T1(a);o&&(r.headers=A1(o)),t?.auth?.username&&t?.auth?.password&&(r.auth={username:S1(t.auth.username),password:S1(t.auth.password)});let{setup:i,data:s}=E1(a);return void 0!==s&&(r.data=s instanceof k1?s:A1(s)),`import axios from 'axios'\n\n${i.length?`${i.join("\n")}\n\n`:""}const options = ${x1(r)}\n\ntry {\n  const { data } = await axios.request(options)\n  console.log(data)\n} catch (error) {\n  console.error(error)\n}`}})}),I1=V(()=>{N1(),P1=C1("js")}),R1=V(()=>{I1()}),D1=V(()=>{l0(),$1(),M1={target:"js",client:"fetch",title:"Fetch",generate(e){let t={method:"GET",...e},a="";t.method=t.method.toUpperCase();let r={method:"GET"===t.method?void 0:t.method},n=VJ(t.queryString);if(t.headers?.length&&(r.headers={},t.headers.forEach(e=>{r.headers[e.name]=e.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(e=>{r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(r).forEach(e=>{void 0===r[e]&&delete r[e]}),t.postData){let{mimeType:e,text:n,params:o}=t.postData;if("application/json"===e&&n)try{r.body=new k1(`JSON.stringify(${x1(JSON.parse(n))})`)}catch{r.body=n}else"multipart/form-data"===e&&o?(a="const formData = new FormData()\n",o.forEach(e=>{void 0===e.fileName?void 0!==e.value&&(a+=`formData.append('${e.name}', '${e.value}')\n`):a+=`formData.append('${e.name}', new Blob([]), '${e.fileName}')\n`}),a+="\n",r.body=new k1("formData")):r.body="application/x-www-form-urlencoded"===e&&o?new k1(`new URLSearchParams(${x1(Object.fromEntries(o.map(e=>[e.name,e.value])))})`):t.postData.text}let o=Object.keys(r).length?`, ${x1(r)}`:"";return`${a}fetch('${t.url}${n}'${o})`}}}),L1=V(()=>{D1()});var B1,j1=V(()=>{({toString:B1}=Object.prototype)});var U1=V(()=>{});var z1,H1=V(()=>{({propertyIsEnumerable:z1}=Object.prototype)});function Z1({includeGlobalProperties:e=!1}={}){return new Set([...V1,...e?Q1:[]])}var V1,Q1,q1=V(()=>{V1="await.break.case.catch.class.const.continue.debugger.default.delete.do.else.enum.export.extends.false.finally.for.function.if.import.in.instanceof.new.null.return.super.switch.this.throw.true.try.typeof.var.void.while.with.yield.implements.interface.let.package.private.protected.public.static.arguments.eval".split("."),Q1=["globalThis","Infinity","NaN","undefined"]});var F1,W1,X1,G1,Y1=V(()=>{q1(),F1=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u,W1=`(?<![@#$_\\p{ID_Continue}\\p{ID_Start}])(?!(?:${[...Z1({includeGlobalProperties:!0})].join("|")})(?![$_\\p{ID_Continue}]))${F1.source}`,X1=new RegExp(W1,"u"),G1=RegExp(`^${W1}$`,"u")});var K1=V(()=>{}),J1=((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports))((e,t)=>{t.exports=Worker});var e2,t2,a2,r2,n2=V(()=>{e2=class extends Error{constructor(e){super(e),this.name="TimeoutError"}},t2=class extends Error{constructor(e){super(),this.name="AbortError",this.message=e}},a2=e=>void 0===globalThis.DOMException?new t2(e):new DOMException(e),r2=e=>{let t=void 0===e.reason?a2("This operation was aborted."):e.reason;return t instanceof Error?t:a2(t)}});function o2(e,t,a){let r,n=new Promise((n,o)=>{if(!((a={rejectionEvents:["error"],multiArgs:!1,resolveImmediately:!1,...a}).count>=0)||a.count!==1/0&&!Number.isInteger(a.count))throw TypeError("The `count` option should be at least 0 or more");a.signal?.throwIfAborted();let i=[t].flat(),s=[],{addListener:l,removeListener:c}=s2(e),u=(...e)=>{let t=a.multiArgs?e:e[0];a.filter&&!a.filter(t)||(s.push(t),a.count===s.length&&(r(),n(s)))},d=e=>{r(),o(e)};r=()=>{for(let e of i)c(e,u);for(let e of a.rejectionEvents)c(e,d)};for(let e of i)l(e,u);for(let e of a.rejectionEvents)l(e,d);a.signal&&a.signal.addEventListener("abort",()=>{d(a.signal.reason)},{once:!0}),a.resolveImmediately&&n(s)});if(n.cancel=r,"number"==typeof a.timeout){let e=function(e,t){let a,r,{milliseconds:n,fallback:o,message:i,customTimers:s={setTimeout:setTimeout,clearTimeout:clearTimeout}}=t,l=new Promise((l,c)=>{if("number"!=typeof n||1!==Math.sign(n))throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&c(r2(e)),r=()=>{c(r2(e))},e.addEventListener("abort",r,{once:!0})}if(n===1/0)return void e.then(l,c);let u=new e2;a=s.setTimeout.call(void 0,()=>{if(o)try{l(o())}catch(e){c(e)}else"function"==typeof e.cancel&&e.cancel(),!1===i?l():i instanceof Error?c(i):(u.message=i??`Promise timed out after ${n} milliseconds`,c(u))},n),(async()=>{try{l(await e)}catch(e){c(e)}})()}).finally(()=>{l.clear(),r&&t.signal&&t.signal.removeEventListener("abort",r)});return l.clear=()=>{s.clearTimeout.call(void 0,a),a=void 0},l}(n,{milliseconds:a.timeout});return e.cancel=r,e}return n}function i2(e,t,a){"function"==typeof a&&(a={filter:a});let r=o2(e,t,a={...a,count:1,resolveImmediately:!1}),n=r.then(e=>e[0]);return n.cancel=r.cancel,n}var s2,l2=V(()=>{n2(),s2=e=>{let t=e.addEventListener||e.on||e.addListener,a=e.removeEventListener||e.off||e.removeListener;if(!t||!a)throw TypeError("Emitter is not compatible");return{addListener:t.bind(e),removeListener:a.bind(e)}}});function c2(e){let t,a;return p2?a=new d2.default(m2(e),{type:"module"}):(t=URL.createObjectURL(h2(e)),a=new d2.default(t,{type:"module"})),{worker:a,cleanup:()=>{t&&URL.revokeObjectURL(t),a?.terminate()}}}function u2(e){let t=f2(e),a=()=>c2(t);async function r({worker:e,arguments_:t}){let a=i2(e,"message",{rejectionEvents:["error","messageerror"]});e.postMessage(t);let{data:{output:r,error:n}}=await a;if(n)throw n;return r}let n=async(...e)=>{let{worker:t,cleanup:n}=a();try{return await r({arguments_:e,worker:t})}finally{n()}};return n.withSignal=e=>async(...t)=>{e.throwIfAborted();let{worker:n,cleanup:o}=a(),i=i2(e,[],{rejectionEvents:["abort"]});try{return await Promise.race([r({arguments_:t,worker:n}),i])}catch(t){throw e.throwIfAborted(),t}finally{i.cancel(),o()}},n}var d2,p2,h2,m2,f2,g2,v2=V(()=>{d2=((e,t,a)=>(a=null==e?{}:B(H(e)),q(!t&&e&&e.__esModule?a:j(a,"default",{value:e,enumerable:!0}),e)))(J1(),1),l2(),p2=!!globalThis.process?.versions?.node,h2=e=>new globalThis.Blob([e],{type:"text/javascript"}),m2=e=>`data:text/javascript;base64,${globalThis.Buffer.from(e).toString("base64")}`,f2=e=>`\n\tglobalThis.onmessage = async ({data: arguments_}) => {\n\t\ttry {\n\t\t\tconst output = await (${e.toString()})(...arguments_);\n\t\t\tglobalThis.postMessage({output});\n\t\t} catch (error) {\n\t\t\tglobalThis.postMessage({error});\n\t\t}\n\t};\n\t`,g2=e=>`\n\tconst nothing = Symbol('nothing');\n\tlet iterator = nothing;\n\n\tglobalThis.onmessage = async ({data: arguments_}) => {\n\t\ttry {\n\t\t\tif (iterator === nothing) {\n\t\t\t\titerator = await (${e.toString()})(...arguments_);\n\t\t\t}\n\n\t\t\tconst output = await iterator.next();\n\t\t\tglobalThis.postMessage({output});\n\t\t} catch (error) {\n\t\t\tglobalThis.postMessage({error});\n\t\t}\n\t};\n\t`});function b2(e,t,{timeout:a,throwOnTimeout:r}={}){try{return function(e){let t=(...t)=>e(...t);return Object.defineProperty(t,"name",{value:`functionTimeout(${e.name||"<anonymous>"})`,configurable:!0}),t}(()=>structuredClone(e).test(t),y2(a))()}catch(e){throw e}}var y2,O2=V(()=>{K1(),v2(),y2=e=>{if(void 0===e||Number.isNaN(e))return;let t=Math.max(1,Math.trunc(Math.abs(e)));return Number.isFinite(t)?t:void 0},u2((e,t,a)=>new RegExp(e,t).test(a)),u2((e,t,a)=>{let r=new RegExp(e,t).exec(a);if(null!==r)return{match:r[0],index:r.index,groups:r.slice(1),namedGroups:r.groups??{},input:r.input}}),function(e){let t=g2(e),a=()=>c2(t),r=(...e)=>({async*[Symbol.asyncIterator](){let{worker:t,cleanup:r}=a();try{let a=!0;for(;;){let r=i2(t,"message",{rejectionEvents:["error","messageerror"]});t.postMessage(a?e:void 0),a=!1;let{data:{output:n,error:o}}=await r;if(o)throw o;let{value:i,done:s}=n;if(s)break;yield i}}finally{r()}}});r.withSignal=e=>(...t)=>({async*[Symbol.asyncIterator](){e.throwIfAborted();let{worker:r,cleanup:n}=a(),o=i2(e,[],{rejectionEvents:["abort"]});try{let e=!0;for(;;){let a=Promise.race([i2(r,"message",{rejectionEvents:["error","messageerror"]}),o]);r.postMessage(e?t:void 0),e=!1;let{data:{output:n,error:i}}=await a;if(i)throw i;let{value:s,done:l}=n;if(l)break;yield s}}catch(t){throw e.throwIfAborted(),t}finally{o.cancel(),n()}}})}(function*(e,t,a){let r=new RegExp(e,t),n=a.matchAll(r);for(let e of n)yield{match:e[0],index:e.index,groups:e.slice(1),namedGroups:e.groups??{},input:e.input}})});var x2,w2=V(()=>{Y1(),O2(),x2=function({exact:e=!0}={}){return e?G1:X1}()});function k2(e,t,a){let r=[];return function e(t,a={},n=""){let o,i=a.indent||"\t";o=void 0===a.inlineCharacterLimit?{newline:"\n",newlineOrSpace:"\n",pad:n,indent:n+i}:{newline:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newlineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};let s=e=>{if(void 0===a.inlineCharacterLimit)return e;let t=e.replaceAll(o.newline,"").replaceAll(o.newlineOrSpace," ").replaceAll(o.pad,"").replaceAll(o.indent,"");return t.length<=a.inlineCharacterLimit?t:e.replaceAll(o.newline,"\n").replaceAll(o.newlineOrSpace,"\n").replaceAll(o.pad,n).replaceAll(o.indent,n+i)};if(r.includes(t))return'"[Circular]"';let l=typeof t;if(null==t||"number"===l||"boolean"===l||"function"===l||function(e){return"[object RegExp]"===B1.call(e)}(t))return String(t);if("bigint"===l)return String(t)+"n";if("symbol"===l){let{description:r}=t;if(void 0===r)return"Symbol()";if(r?.startsWith("Symbol.")&&Symbol[r.slice(7)]===t)return r;let n=Symbol.keyFor(t);return void 0===n?`Symbol(${e(r,a)})`:`Symbol.for(${e(n,a)})`}if(t instanceof Date)return Number.isNaN(t.getTime())?"new Date('Invalid Date')":`new Date('${t.toISOString()}')`;if(t instanceof Map||t instanceof Set){let l=t instanceof Map,c=l?"Map":"Set";if(0===t.size)return`new ${c}()`;r.push(t);let u=[...t].map(t=>{if(l){let[r,s]=t;return o.indent+`[${e(r,a,n+i)}, ${e(s,a,n+i)}]`}return o.indent+e(t,a,n+i)}).join(","+o.newlineOrSpace);return r.pop(),s(`new ${c}([${o.newline}${u}${o.newline}${o.pad}])`)}if(Array.isArray(t)){if(0===t.length)return"[]";r.push(t);let l=t.map((r,s)=>{let l=e(r,a,n+i);return a.transform&&(l=a.transform(t,s,l)),o.indent+l}).join(","+o.newlineOrSpace);return r.pop(),s(`[${o.newline}${l}${o.newline}${o.pad}]`)}if(function(e){let t=typeof e;return null!==e&&("object"===t||"function"===t)}(t)){let l=function(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>z1.call(e,t))]}(t);if(a.filter&&(l=l.filter(e=>a.filter(t,e))),0===l.length)return"{}";r.push(t);let c=l.map(r=>{let s;s="symbol"==typeof r?`[${e(r,a)}]`:function(e){if("string"!=typeof e)throw TypeError(`Expected a string, got \`${typeof e}\`.`);return!(e.length>1e5)&&b2(x2,e,{timeout:1e3})}(r)?r:e(r,a);let l=e(t[r],a,n+i);return a.transform&&(l=a.transform(t,r,l)),o.indent+s+": "+l}).join(","+o.newlineOrSpace);return r.pop(),s(`{${o.newline}${c}${o.newline}${o.pad}}`)}let c=String(t).replaceAll("\\","\\\\").replaceAll(/[\u0000-\u001F\u007F]/g,e=>S2[e]??`\\u${e.codePointAt(0).toString(16).padStart(4,"0")}`);return!1===a.singleQuotes?`"${c.replaceAll('"',String.raw`\"`)}"`:`'${c.replaceAll("'",String.raw`\'`)}'`}(e,t,a)}var S2,A2,_2,T2,E2,C2,P2,M2,$2,N2,I2,R2,D2,L2,B2,j2,U2,z2,H2,Z2,V2,Q2,q2,F2=V(()=>{j1(),U1(),H1(),w2(),S2={"\n":String.raw`\n`,"\r":String.raw`\r`,"\t":String.raw`\t`,"\b":String.raw`\b`,"\f":String.raw`\f`,"\v":String.raw`\v`,"\0":String.raw`\0`}}),W2=V(()=>{A2=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),_2=(e,t)=>{let a=A2(e,t);if(a)return e[a]},T2=(e,t)=>!!A2(e,t)}),X2=V(()=>{F2(),q0(),W2(),E2={info:{key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/",description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"},convert:({fullUrl:e,method:t,allHeaders:a,postData:r},n)=>{let o={indent:"  ",...n},{blank:i,push:s,join:l}=new j0({indent:o.indent}),c={async:!0,crossDomain:!0,url:e,method:t,headers:a};switch(r?.mimeType){case"application/x-www-form-urlencoded":c.data=r?.paramsObj?r.paramsObj:r.text;break;case"application/json":c.processData=!1,c.data=r.text;break;case"multipart/form-data":if(!r?.params)break;if(s("const form = new FormData();"),r.params.forEach(e=>{s(`form.append('${e.name}', '${e.value||e.fileName||""}');`)}),c.processData=!1,c.contentType=!1,c.mimeType="multipart/form-data",c.data="[form]",T2(a,"content-type")&&_2(a,"content-type")?.includes("boundary")){let e=A2(a,"content-type");e&&delete c.headers[e]}i();break;default:r?.text&&(c.data=r.text)}return s(`const settings = ${k2(c,{indent:o.indent}).replace("'[form]'","form")};`),i(),s("$.ajax(settings).done(function (response) {"),s("console.log(response);",1),s("});"),l()}}}),G2=V(()=>{X2(),s1(),C2={target:"js",client:"jquery",title:"jQuery",generate:e=>J0(E2,e)}}),Y2=V(()=>{G2()}),K2=V(()=>{l0(),$1(),P2={target:"js",client:"ofetch",title:"ofetch",generate(e){let t={method:"GET",...e};t.method=t.method.toUpperCase();let a={method:"GET"===t.method?void 0:t.method};t.queryString?.length&&(a.query=QJ(t.queryString)),t.headers?.length&&(a.headers={},t.headers.forEach(e=>{a.headers[e.name]=e.value})),t.cookies?.length&&(a.headers=a.headers||{},t.cookies.forEach(e=>{a.headers["Set-Cookie"]=a.headers["Set-Cookie"]?`${a.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(a).forEach(e=>{void 0===a[e]&&delete a[e]}),t.postData&&(a.body=t.postData.text,"application/json"===t.postData.mimeType&&(a.body=JSON.parse(a.body)));let r=Object.keys(a).length?`, ${x1(a)}`:"";return`import { ofetch } from 'ofetch'\n\nofetch('${t.url}'${r})`}}}),J2=V(()=>{K2()}),e8=V(()=>{F2(),q0(),Y0(),W2(),M2={info:{key:"xhr",title:"XMLHttpRequest",link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",description:"W3C Standard API that provides scripted client functionality"},convert:({postData:e,allHeaders:t,method:a,fullUrl:r},n)=>{let o={indent:"  ",cors:!0,...n},{blank:i,push:s,join:l}=new j0({indent:o.indent});switch(e?.mimeType){case"application/json":s(`const data = JSON.stringify(${k2(e?.jsonObj,{indent:o.indent})});`),i();break;case"multipart/form-data":if(!e?.params)break;if(s("const data = new FormData();"),e.params.forEach(e=>{s(`data.append('${e.name}', '${e.value||e.fileName||""}');`)}),T2(t,"content-type")&&_2(t,"content-type")?.includes("boundary")){let e=A2(t,"content-type");e&&delete t[e]}i();break;default:s(`const data = ${e?.text?`'${e.text}'`:"null"};`),i()}return s("const xhr = new XMLHttpRequest();"),o.cors&&s("xhr.withCredentials = true;"),i(),s("xhr.addEventListener('readystatechange', function () {"),s("if (this.readyState === this.DONE) {",1),s("console.log(this.responseText);",2),s("}",1),s("});"),i(),s(`xhr.open('${a}', '${r}');`),Object.keys(t).forEach(e=>{s(`xhr.setRequestHeader('${e}', '${W0(t[e])}');`)}),i(),s("xhr.send(data);"),l()}}}),t8=V(()=>{e8(),s1(),$2={target:"js",client:"xhr",title:"XHR",generate:e=>J0(M2,e)}}),a8=V(()=>{t8()}),r8=V(()=>{Y0(),l0(),N2=["GET","POST","PUT","DELETE","PATCH","HEAD"],I2=["POST","PUT","DELETE","PATCH"],R2=e=>`"${X0(e)}"`,D2={target:"kotlin",client:"okhttp",title:"OkHttp",generate(e,t){let a=qJ(e?.method),r=FJ(WJ(e?.url??"",e?.queryString)),n=e?.postData,o=["val client = OkHttpClient()",""],i=!1;"application/x-www-form-urlencoded"===n?.mimeType&&n.params?(o.push("val body = FormBody.Builder()"),n.params.forEach(e=>{o.push(`  .addEncoded(${R2(e.name??"")}, ${R2(e.value??"")})`)}),o.push("  .build()",""),i=!0):"multipart/form-data"===n?.mimeType&&n.params?(o.push("val body = MultipartBody.Builder()","  .setType(MultipartBody.FORM)"),n.params.forEach(e=>{void 0===e.fileName?void 0!==e.value&&o.push(`  .addFormDataPart(${R2(e.name??"")}, ${R2(e.value)})`):o.push(`  .addFormDataPart(${R2(e.name??"")}, ${R2(e.fileName)}, RequestBody.create(MediaType.parse("application/octet-stream"), File(${R2(e.fileName)})))`)}),o.push("  .build()",""),i=!0):n&&(o.push(`val mediaType = MediaType.parse(${R2(n.mimeType??"")})`),o.push(`val body = RequestBody.create(mediaType, ${JSON.stringify(n.text??"")})`),i=!0),o.push("val request = Request.Builder()",`  .url(${R2(r)})`);let s=i?"body":"null";return N2.includes(a)?I2.includes(a)?o.push(`  .${a.toLowerCase()}(${s})`):o.push(`  .${a.toLowerCase()}()`):o.push(`  .method(${R2(a)}, ${s})`),t?.auth?.username&&t?.auth?.password&&o.push(`  .addHeader("Authorization", Credentials.basic(${R2(t.auth.username)}, ${R2(t.auth.password)}))`),XJ(e?.headers,e?.cookies).forEach(e=>{o.push(`  .addHeader(${R2(e.name)}, ${R2(e.value)})`)}),o.push("  .build()","","val response = client.newCall(request).execute()"),o.join("\n")}}}),n8=V(()=>{r8()}),o8=V(()=>{N1(),L2=C1("node")}),i8=V(()=>{o8()}),s8=V(()=>{l0(),$1(),B2={target:"node",client:"fetch",title:"Fetch",generate(e){let t={method:"GET",...e},a="";t.method=t.method.toUpperCase();let r={method:"GET"===t.method?void 0:t.method},n=VJ(t.queryString);if(t.headers?.length&&(r.headers={},t.headers.forEach(e=>{r.headers[e.name]=e.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(e=>{r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(r).forEach(e=>{void 0===r[e]&&delete r[e]}),t.postData){let{mimeType:e,text:n,params:o}=t.postData,i=!1;if("application/json"===e&&n)try{r.body=new k1(`JSON.stringify(${x1(JSON.parse(n))})`)}catch{r.body=n}else"multipart/form-data"===e&&o?(a="const formData = new FormData()\n",o.forEach(e=>{void 0===e.fileName?void 0!==e.value&&(a+=`formData.append('${e.name}', '${e.value}')\n`):(i||=(a=`import fs from 'node:fs'\n\n${a}`,!0),a+=`formData.append('${e.name}', new Blob([fs.readFileSync('${e.fileName}')]), '${e.fileName}')\n`)}),a+="\n",r.body=new k1("formData")):r.body="application/x-www-form-urlencoded"===e&&o?new k1(`new URLSearchParams(${x1(Object.fromEntries(o.map(e=>[e.name,e.value])))})`):t.postData.text}let o=Object.keys(r).length?`, ${x1(r)}`:"";return`${a}fetch('${t.url}${n}'${o})`}}}),l8=V(()=>{s8()}),c8=V(()=>{l0(),$1(),j2={target:"node",client:"ofetch",title:"ofetch",generate(e){let t={method:"GET",...e};t.method=t.method.toUpperCase();let a={method:"GET"===t.method?void 0:t.method};t.queryString?.length&&(a.query=QJ(t.queryString)),t.headers?.length&&(a.headers={},t.headers.forEach(e=>{a.headers[e.name]=e.value})),t.cookies?.length&&(a.headers=a.headers||{},t.cookies.forEach(e=>{a.headers["Set-Cookie"]=a.headers["Set-Cookie"]?`${a.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(a).forEach(e=>{void 0===a[e]&&delete a[e]}),t.postData&&(a.body=t.postData.text,"application/json"===t.postData.mimeType&&(a.body=JSON.parse(a.body)));let r=Object.keys(a).length?`, ${x1(a)}`:"";return`import { ofetch } from 'ofetch'\n\nofetch('${t.url}'${r})`}}}),u8=V(()=>{c8()}),d8=V(()=>{l0(),$1(),U2={target:"node",client:"undici",title:"undici",generate(e){let t={method:"GET",...e};t.method=t.method.toUpperCase();let a={method:"GET"===t.method?void 0:t.method},r=VJ(t.queryString);t.headers?.length&&(a.headers={},t.headers.forEach(e=>{a.headers[e.name]=e.value})),t.cookies?.length&&(a.headers=a.headers||{},t.cookies.forEach(e=>{a.headers["Set-Cookie"]=a.headers["Set-Cookie"]?`${a.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(a).forEach(e=>{void 0===a[e]&&delete a[e]}),t.postData&&(a.body=t.postData.text,"application/json"===t.postData.mimeType&&(a.body=new k1(`JSON.stringify(${x1(JSON.parse(a.body))})`)));let n=Object.keys(a).length?`, ${x1(a)}`:"";return`import { request } from 'undici'\n\nconst { statusCode, body } = await request('${t.url}${r}'${n})`}}}),p8=V(()=>{d8()}),h8=V(()=>{l0(),z2=e=>`@"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}"`,H2=(e,t)=>{let a=void 0===t?", ":`,\n   ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":return`@[ ${e.map(e=>H2(e)).join(a)} ]`;case"[object Object]":return`@{ ${Object.entries(e).map(([e,t])=>`@"${e}": ${H2(t)}`).join(a)} }`;case"[object Boolean]":return e?"@YES":"@NO";default:return null==e?"[NSNull null]":z2(e.toString())}},Z2=(e,t,a)=>{let r=`${e} *${t} = `;return`${r}${H2(a,r.length)};`},V2={target:"objc",client:"nsurlsession",title:"NSURLSession",generate(e,t){if(!e)return"";let a=qJ(e.method),r=FJ(WJ(e.url??"",e.queryString)),n=XJ(e.headers,e.cookies),o=["#import <Foundation/Foundation.h>"],i=n.length>0;if(i){let e=Object.fromEntries(n.map(e=>[e.name,e.value]));o.push("",Z2("NSDictionary","headers",e))}let s=!1;if(e.postData){let{mimeType:t,text:a,params:r}=e.postData;if("application/json"===t&&void 0!==a)try{let e=JSON.parse(a);o.push("",Z2("NSDictionary","parameters",e)),o.push("","NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"),s=!0}catch{o.push("",`NSData *postData = [${z2(a)} dataUsingEncoding:NSUTF8StringEncoding];`),s=!0}else if("application/x-www-form-urlencoded"===t&&r?.length){s=!0;let[e,...t]=r;o.push("",`NSMutableData *postData = [[NSMutableData alloc] initWithData:[${z2(`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`)} dataUsingEncoding:NSUTF8StringEncoding]];`),t.forEach(e=>{o.push(`[postData appendData:[${z2(`&${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`)} dataUsingEncoding:NSUTF8StringEncoding]];`)})}else"multipart/form-data"===t&&r?.length?(s=!0,o.push("",Z2("NSArray","parameters",r),'NSString *boundary = @"---011000010111000001101001";',"","NSError *error;","NSMutableString *body = [NSMutableString string];","for (NSDictionary *param in parameters) {",'  [body appendFormat:@"--%@\\r\\n", boundary];','  if (param[@"fileName"]) {','    [body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];','    [body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];','    [body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',"    if (error) {",'      NSLog(@"%@", error);',"    }","  } else {",'    [body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];','    [body appendFormat:@"%@", param[@"value"]];',"  }","}",'[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];',"NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];")):"application/octet-stream"===t?(s=!0,o.push("",`NSData *postData = [${z2(a??"")} dataUsingEncoding:NSUTF8StringEncoding];`)):void 0!==a&&(s=!0,o.push("",`NSData *postData = [${z2(a)} dataUsingEncoding:NSUTF8StringEncoding];`))}if(o.push("",`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:${z2(r)}]`,"                                                      cachePolicy:NSURLRequestUseProtocolCachePolicy","                                                  timeoutInterval:10.0];",`[request setHTTPMethod:@"${a}"];`),i&&o.push("[request setAllHTTPHeaderFields:headers];"),s&&o.push("[request setHTTPBody:postData];"),t?.auth?.username&&t?.auth?.password){let e=z2(`${t.auth.username}:${t.auth.password}`);o.push(`NSData *authData = [${e} dataUsingEncoding:NSUTF8StringEncoding];`,'NSString *authValue = [NSString stringWithFormat:@"Basic %@", [authData base64EncodedStringWithOptions:0]];','[request setValue:authValue forHTTPHeaderField:@"Authorization"];')}return o.push("","NSURLSession *session = [NSURLSession sharedSession];","NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request","completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {","  if (error) {",'    NSLog(@"%@", error);',"  } else {","    NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",'    NSLog(@"%@", httpResponse);',"  }","}];","[dataTask resume];"),o.join("\n")}}}),m8=V(()=>{h8()}),f8=V(()=>{q0(),Y0(),Q2={info:{key:"cohttp",title:"CoHTTP",link:"https://github.com/mirage/ocaml-cohttp",description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml"},convert:({fullUrl:e,allHeaders:t,postData:a,method:r},n)=>{let o={indent:"  ",...n},i=["get","post","head","delete","patch","put","options"],{push:s,blank:l,join:c}=new j0({indent:o.indent});s("open Cohttp_lwt_unix"),s("open Cohttp"),s("open Lwt"),l(),s(`let uri = Uri.of_string "${e}" in`);let u=Object.keys(t);return 1===u.length?s(`let headers = Header.add (Header.init ()) "${u[0]}" "${X0(t[u[0]])}" in`):u.length>1&&(s("let headers = Header.add_list (Header.init ()) ["),u.forEach(e=>{s(`("${e}", "${X0(t[e])}");`,1)}),s("] in")),a?.text&&s(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(a.text)} in`),l(),s(`Client.call ${u.length?"~headers ":""}${a?.text?"~body ":""}${i.includes(r.toLowerCase())?`\`${r.toUpperCase()}`:`(Code.method_of_string "${r}")`} uri`),s(">>= fun (res, body_stream) ->"),s("(* Do stuff with the result *)",1),c()}}}),g8=V(()=>{f8(),s1(),q2={target:"ocaml",client:"cohttp",title:"Cohttp",generate:e=>J0(Q2,e)}}),v8=V(()=>{g8()});function b8(e){return" ".repeat(2*e)}function y8(e,t=0){if(null==e)return"null";if(e instanceof O8){let a=e.value.split("\n");if(a.length>1){let e=b8(t+1);return a.map((t,a)=>0===a?t:`${e}${t}`).join("\n")}return e.value}if("string"==typeof e)return`'${e.replace(/\\/g,"\\\\").replace(/'/g,"\\'")}'`;if("number"==typeof e||"boolean"==typeof e)return String(e);if(Array.isArray(e)){if(0===e.length)return"[]";let a=e.map(e=>y8(e,t+1)).join(",\n"+b8(t+1));return`[\n${b8(t+1)}${a}\n${b8(t)}]`}if("object"==typeof e){let a=Object.entries(e);if(0===a.length)return"[]";let r=a.map(([e,a])=>`'${e}' => ${y8(a,t+1)}`).join(",\n"+b8(t+1));return`[\n${b8(t+1)}${r}\n${b8(t)}]`}return"null"}var O8,x8,w8,k8,S8,A8,_8,T8,E8,C8,P8,M8,$8,N8,I8=V(()=>{O8=class{value;constructor(e){this.value=e}}}),R8=V(()=>{I8(),x8={target:"php",client:"curl",title:"cURL",generate(e,t){let a={method:"GET",...e};a.method=a.method.toUpperCase();let r=[],n=!1,o=a.queryString?.length?"?"+a.queryString.map(e=>`${e.name}=${e.value}`).join("&"):"",i=`${a.url}${o}`;r.push(`$ch = curl_init("${i}");`),r.push(""),"POST"===a.method?r.push("curl_setopt($ch, CURLOPT_POST, true);"):"GET"!==a.method&&r.push(`curl_setopt($ch, CURLOPT_CUSTOMREQUEST, '${a.method}');`),t?.auth?.username&&t?.auth?.password&&r.push(`curl_setopt($ch, CURLOPT_USERPWD, '${t.auth.username}:${t.auth.password}');`);let s=[...a.headers||[]],l=()=>s.some(e=>"content-type"===e.name.toLowerCase());if(a.postData&&("application/x-www-form-urlencoded"===a.postData.mimeType&&a.postData.params&&!l()?s.push({name:"Content-Type",value:"application/x-www-form-urlencoded"}):"application/octet-stream"===a.postData.mimeType&&!l()&&s.push({name:"Content-Type",value:"application/octet-stream"})),s.length){let e=s.map(e=>`'${e.name}: ${e.value}'`);r.push(`curl_setopt($ch, CURLOPT_HTTPHEADER, [${e.join(", ")}]);`);let t=s.find(e=>"accept-encoding"===e.name.toLowerCase());t&&/gzip|deflate/.test(t.value)&&r.push("curl_setopt($ch, CURLOPT_ENCODING, '');")}if(a.cookies?.length){let e=a.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; ");r.push(`curl_setopt($ch, CURLOPT_COOKIE, '${e}');`)}if(a.postData)if("application/json"===a.postData.mimeType){if(a.postData.text)try{let e=y8(JSON.parse(a.postData.text));r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${a.postData.text}');`)}}else if("multipart/form-data"===a.postData.mimeType&&a.postData.params)n=!0,r.push("$mime = curl_mime_init($ch);"),a.postData.params.forEach((e,t)=>{let a=`$part${t}`;r.push(`${a} = curl_mime_addpart($mime);`),r.push(`curl_mime_name(${a}, '${e.name}');`),void 0===e.fileName?void 0!==e.value&&r.push(`curl_mime_data(${a}, '${e.value}');`):r.push(`curl_mime_filedata(${a}, '${e.fileName}');`),e.contentType&&r.push(`curl_mime_type(${a}, '${e.contentType}');`)}),r.push("curl_setopt($ch, CURLOPT_MIMEPOST, $mime);");else if("application/x-www-form-urlencoded"===a.postData.mimeType&&a.postData.params){let e=a.postData.params.map(e=>`${encodeURIComponent(e.name)}=${e.value?encodeURIComponent(e.value):""}`).join("&");r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${e}');`)}else if("application/octet-stream"===a.postData.mimeType)r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${a.postData.text||""}');`);else if(a.postData.text)try{let e=y8(JSON.parse(a.postData.text));r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${a.postData.text}');`)}return r.push(""),r.push("curl_exec($ch);"),n&&r.push("curl_mime_free($mime);"),r.push(""),r.push("curl_close($ch);"),r.join("\n").replace(/\n\n\n/g,"\n\n")}}}),D8=V(()=>{R8()}),L8=V(()=>{l0(),I8(),w8={target:"php",client:"guzzle",title:"Guzzle",generate(e,t){if(!e)return"";let a={},r=(e.method||"GET").toUpperCase(),n=e.url||"";if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){let t={};e.headers.forEach(e=>{void 0===t[e.name]?t[e.name]=e.value:Array.isArray(t[e.name])?t[e.name].push(e.value):t[e.name]=[t[e.name],e.value]}),a.headers=t}if(e.queryString&&e.queryString.length>0&&(a.query=QJ(e.queryString)),e.cookies&&e.cookies.length>0){let t={};e.cookies.forEach(e=>{t[e.name]=e.value}),a.cookies=t}if(t?.auth?.username&&t.auth.password&&(a.auth=[t.auth.username,t.auth.password]),e.postData)if("application/json"===e.postData.mimeType)try{a.json=JSON.parse(e.postData.text||"{}")}catch{a.body=e.postData.text}else if("multipart/form-data"===e.postData.mimeType){if(e.postData.params)a.multipart=e.postData.params.map(e=>{let t={name:e.name,contents:e.fileName?new O8(`fopen('${e.fileName}', 'r')`):e.value||""};return e.contentType&&(t.headers={"Content-Type":e.contentType}),t});else if(e.postData.text)try{a.form_params=JSON.parse(e.postData.text)}catch{a.body=e.postData.text}}else if("application/x-www-form-urlencoded"===e.postData.mimeType){if(e.postData.params){let t={};e.postData.params.forEach(e=>{t[e.name]=e.value||""}),a.form_params=t}}else a.body=e.postData.text;e.headers&&Array.isArray(e.headers)&&e.headers.some(e=>"Accept-Encoding"===e.name&&e.value.includes("gzip"))&&(a.decode_content=!0);let o="$client = new GuzzleHttp\\Client();\n\n";if(Object.keys(a).length>0){o+=`$response = $client->request('${r}', '${n}', ${y8(a)});`}else o+=`$response = $client->request('${r}', '${n}');`;return o}}}),B8=V(()=>{L8()}),j8=V(()=>{l0(),I8(),k8=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),S8=e=>`'${k8(e)}'`,A8=k8,_8=e=>Array.isArray(e)?e.map(e=>_8(e)):e&&"object"==typeof e?Object.entries(e).reduce((e,[t,a])=>(e[A8(t)]=_8(a),e),{}):e,T8=e=>{if(!e)return"localhost";try{return new URL(e).hostname||"localhost"}catch{return"localhost"}},E8={target:"php",client:"laravel",title:"Laravel HTTP Client",generate(e,t){let a={method:"GET",...e};a.method=a.method.toUpperCase();let r,n=VJ(a.queryString),o=`${a.url??""}${n}`,i=[];if(t?.auth?.username&&t.auth.password&&i.push(`withBasicAuth(${S8(t.auth.username)}, ${S8(t.auth.password)})`),a.headers?.length){let e={};a.headers.forEach(t=>{GJ(e,t.name,t.value)}),i.push(`withHeaders(${y8(_8(e))})`)}if(a.cookies?.length){let e={};a.cookies.forEach(t=>{GJ(e,t.name,t.value)}),i.push(`withCookies(${y8(_8(e))}, ${S8(T8(a.url??""))})`)}if(a.postData)if("application/json"===a.postData.mimeType){if(a.postData.text)try{r=JSON.parse(a.postData.text)}catch{i.push(`withBody(${S8(a.postData.text)}, 'application/json')`)}}else if("application/x-www-form-urlencoded"===a.postData.mimeType&&a.postData.params){let e={};a.postData.params.forEach(t=>{GJ(e,t.name,t.value??"")}),i.push("asForm()"),r=e}else if("multipart/form-data"===a.postData.mimeType&&a.postData.params){let e={};a.postData.params.forEach(t=>{if(void 0!==t.fileName){let e=[S8(t.name),`file_get_contents(${S8(t.fileName)})`,S8(t.fileName)];t.contentType&&e.push(y8(_8({"Content-Type":t.contentType}))),i.push(`attach(${e.join(", ")})`)}else t.contentType?i.push(`attach(${S8(t.name)}, ${S8(t.value??"")}, null, ${y8(_8({"Content-Type":t.contentType}))})`):GJ(e,t.name,t.value??"")}),Object.keys(e).length>0&&(r=e)}else if("application/octet-stream"===a.postData.mimeType)i.push(`withBody(${S8(a.postData.text??"")}, 'application/octet-stream')`);else if(a.postData.text)try{r=JSON.parse(a.postData.text)}catch{i.push(`withBody(${S8(a.postData.text)}, ${S8(a.postData.mimeType||"text/plain")})`)}let s=a.method.toLowerCase(),l=["delete","get","head","patch","post","put"].includes(s)?void 0!==r&&"head"!==s?`${s}(${S8(o)}, ${y8(_8(r),1)})`:`${s}(${S8(o)})`:void 0===r?`send(${S8(a.method)}, ${S8(o)})`:`send(${S8(a.method)}, ${S8(o)}, ${y8(_8(r),1)})`;return`use Illuminate\\Support\\Facades\\Http;\n\n$response = ${i.length>0?[`Http::${i[0]}`,...i.slice(1).map(e=>`  ->${e}`),`  ->${l}`].join("\n"):`Http::${l}`};`}}}),U8=V(()=>{j8()}),z8=V(()=>{q0(),Y0(),W2(),C8=e=>({method:t,headersObj:a,cookies:r,uriObj:n,fullUrl:o,postData:i,allHeaders:s})=>{let{push:l,join:c}=new j0;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";let u=[],d=Object.keys(a);return d.length&&(l("$headers=@{}"),d.forEach(e=>{"connection"!==e&&l(`$headers.Add("${e}", "${F0(a[e],{escapeChar:"`"})}")`)}),u.push("-Headers $headers")),r.length&&(l("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),r.forEach(e=>{l("$cookie = New-Object System.Net.Cookie"),l(`$cookie.Name = '${e.name}'`),l(`$cookie.Value = '${e.value}'`),l(`$cookie.Domain = '${n.host}'`),l("$session.Cookies.Add($cookie)")}),u.push("-WebSession $session")),i?.text&&(u.push(`-ContentType '${F0(_2(s,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${o}' -Method ${t} ${u.join(" ")}`),c()}}),H8=V(()=>{z8(),P8={info:{key:"restmethod",title:"Invoke-RestMethod",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",description:"Powershell Invoke-RestMethod client"},convert:C8("Invoke-RestMethod")}}),Z8=V(()=>{H8(),s1(),M8={target:"powershell",client:"restmethod",title:"Invoke-RestMethod",generate:e=>J0(P8,e)}}),V8=V(()=>{Z8()}),Q8=V(()=>{z8(),$8={info:{key:"webrequest",title:"Invoke-WebRequest",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",description:"Powershell Invoke-WebRequest client"},convert:C8("Invoke-WebRequest")}}),q8=V(()=>{Q8(),s1(),N8={target:"powershell",client:"webrequest",title:"Invoke-WebRequest",generate:e=>J0($8,e)}}),F8=V(()=>{q8()});function W8(e){let t=[["true","True"],["false","False"],["null","None"]],a=e;for(let[e,r]of t){let t=[`(: )${e}(?=,|\\n)`,`^( +)${e}(?=,|\\n)`];for(let e of t)a=a.replace(new RegExp(e,"gm"),`$1${r}`)}return a}function X8(e,t=4){return W8(JSON.stringify(e,null,2).split("\n").map((e,a)=>0===a?e:" ".repeat(t)+e).join("\n"))}function G8(e,t,a){let r={url:"https://example.com",method:"get",...t},n=r.method.toLowerCase(),o={};if(r.headers?.length&&(o.headers=r.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})),r.queryString?.length&&(o.params=QJ(r.queryString)),r.cookies?.length&&(o.cookies=Object.fromEntries(r.cookies.map(e=>[e.name,e.value]))),a?.auth?.username&&a?.auth?.password&&(o.auth=[a.auth.username,a.auth.password]),r.postData){let{mimeType:e,text:t,params:a}=r.postData;if("application/json"===e&&t)try{o.json=JSON.parse(t)}catch{o.data=t}else if("application/octet-stream"===e&&t)o.data=t;else if("multipart/form-data"===e&&a){let e=[],t={};a.forEach(a=>{if(void 0!==a.fileName){let t=JSON.stringify(a.name),r=JSON.stringify(a.fileName),n=`open(${r}, "rb")`;if(a.contentType){let o=JSON.stringify(a.contentType);e.push(`(${t}, (${r}, ${n}, ${o}))`)}else e.push(`(${t}, ${n})`)}else if(void 0!==a.value)if(a.contentType){let t=JSON.stringify(a.name),r=JSON.stringify(a.value),n=JSON.stringify(a.contentType);e.push(`(${t}, (None, ${r}, ${n}))`)}else GJ(t,a.name,a.value)}),e.length&&(o.files=e),Object.keys(t).length&&(o.data=t)}else if("application/x-www-form-urlencoded"===e&&a){let e={};a.forEach(t=>{GJ(e,t.name,t.value??"")}),o.data=e}}let i=[],s=`"${r.url}"`;r.url.length>40?i.push(s):i.push("");for(let[e,t]of Object.entries(o))if("auth"===e)i.push(`${e}=(${W8(JSON.stringify(t[0]))}, ${W8(JSON.stringify(t[1]))})`);else if("files"===e){let a="[\n"+t.map(e=>`      ${e}`).join(",\n")+"\n    ]";i.push(`${e}=${a}`)}else if("json"===e){let a=X8(t);i.push(`${e}=${a}`)}else if("data"===e&&"application/octet-stream"===r.postData?.mimeType)i.push(`${e}=b"${t}"`);else{let a=X8(t);i.push(`${e}=${a}`)}return r.url.length>40?`${e}.${n}(\n    ${i.join(",\n    ")}\n)`:i.length<=1?`${e}.${n}(${s})`:`${e}.${n}(${s}${i.length>1?",":""}\n    ${i.slice(1).join(",\n    ")}\n)`}var Y8,K8,J8,e4,t4,a4,r4,n4,o4,i4,s4,l4,c4,u4,d4,p4,h4,m4,f4,g4,v4,b4,y4,O4=V(()=>{l0()}),x4=V(()=>{l0(),O4(),Y8=(e,t="    ")=>e.split("\n").map(e=>""===e.trim()?e:`${t}${e}`).join("\n"),K8=(e,t,a,r)=>{let n=JSON.stringify(a);return a.length>40?`${e}.${t}(\n    ${[n,...r].join(",\n    ")}\n)`:0===r.length?`${e}.${t}(${n})`:`${e}.${t}(${n},\n    ${r.join(",\n    ")}\n)`},J8={target:"python",client:"aiohttp",title:"aiohttp",generate(e,t){let a={url:"https://example.com",method:"get",...e},r=a.method?.toLowerCase()??"get",n=[],o=[],i=[];if(a.headers?.length){let e=a.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{});n.push(`headers=${X8(e)}`)}if(a.queryString?.length&&n.push(`params=${X8(QJ(a.queryString))}`),a.cookies?.length){let e=Object.fromEntries(a.cookies.map(e=>[e.name,e.value]));o.push(`cookies=${X8(e)}`)}if(t?.auth?.username&&t?.auth?.password&&o.push(`auth=aiohttp.BasicAuth(${JSON.stringify(t.auth.username)}, ${JSON.stringify(t.auth.password)})`),a.postData){let{mimeType:e,text:t,params:r}=a.postData;if("application/json"===e&&t)try{n.push(`json=${X8(JSON.parse(t))}`)}catch{n.push(`data=${JSON.stringify(t)}`)}else if("application/octet-stream"===e&&t)n.push(`data=b"${t}"`);else if("multipart/form-data"===e&&r)i.push("data = aiohttp.FormData()"),r.forEach(e=>{if(void 0!==e.fileName){let t=[JSON.stringify(e.name),`open(${JSON.stringify(e.fileName)}, "rb")`,`filename=${JSON.stringify(e.fileName)}`];return e.contentType&&t.push(`content_type=${JSON.stringify(e.contentType)}`),void i.push(`data.add_field(${t.join(", ")})`)}e.contentType?i.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??"")}, content_type=${JSON.stringify(e.contentType)})`):i.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??"")})`)}),n.push("data=data");else if("application/x-www-form-urlencoded"===e&&r){let e={};r.forEach(t=>{GJ(e,t.name,t.value??"")}),n.push(`data=${X8(e)}`)}else t&&n.push(`data=${JSON.stringify(t)}`)}let s=0===o.length?"async with aiohttp.ClientSession() as session:":`async with aiohttp.ClientSession(\n    ${o.join(",\n    ")}\n) as session:`,l=K8("await session",r,a.url??"",n);return`${s}\n${Y8([...i,l].join("\n"))}`}}}),w4=V(()=>{x4()}),k4=V(()=>{O4(),e4={target:"python",client:"httpx_async",title:"HTTPX (Async)",generate(e,t){let a=G8("await client",e,t);return a=a.split("\n").map(e=>""===e.trim()?e:"    "+e).join("\n"),`async with httpx.AsyncClient() as client:\n${a}`}}}),S4=V(()=>{O4(),t4={target:"python",client:"httpx_sync",title:"HTTPX (Sync)",generate:(e,t)=>G8("httpx",e,t)}}),A4=V(()=>{k4(),S4()}),_4=V(()=>{l0(),O4(),a4=e=>{if("function"==typeof globalThis.btoa)return globalThis.btoa(e);if(typeof Buffer<"u")return Buffer.from(e,"utf-8").toString("base64");throw Error("Could not encode basic auth credentials")},r4=e=>{if(!e)return new URL("https://example.com");try{return new URL(e)}catch{return new URL(e,"https://example.com")}},n4=(e,t=[])=>{if(!t.length)return e.search;let a=VJ(t);return e.search?`${e.search}&${a.slice(1)}`:a},o4=e=>`b"${JSON.stringify(e).slice(1,-1)}"`,i4=(e,t,a)=>{let r=e.postData;if(!r)return{payloadLines:[]};let{mimeType:n,text:o,params:i}=r;if("application/json"===n&&o)try{let e=JSON.parse(o);return a.add("import json"),{payloadLines:[`payload = json.dumps(${X8(e,0)})`],payloadVariable:"payload"}}catch{return{payloadLines:[`payload = ${JSON.stringify(o)}`],payloadVariable:"payload"}}if("application/octet-stream"===n&&o)return{payloadLines:[`payload = ${o4(o)}`],payloadVariable:"payload"};if("application/x-www-form-urlencoded"===n&&i){a.add("import urllib.parse");let e={};return i.forEach(t=>{GJ(e,t.name,t.value??"")}),t["Content-Type"]||="application/x-www-form-urlencoded",{payloadLines:[`payload = urllib.parse.urlencode(${X8(e,0)}, doseq=True)`],payloadVariable:"payload"}}if("multipart/form-data"===n&&i){let e=['boundary = "----ScalarSnippetzBoundary"',"data_list = []"];return i.forEach(t=>{e.push('data_list.append("--" + boundary)'),void 0===t.fileName?e.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${t.name}"`)})`):e.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"`)})`),t.contentType&&e.push(`data_list.append(${JSON.stringify(`Content-Type: ${t.contentType}`)})`),e.push('data_list.append("")'),void 0===t.fileName?e.push(`data_list.append(${JSON.stringify(t.value??"")})`):e.push(`data_list.append(open(${JSON.stringify(t.fileName)}, "rb").read().decode("latin-1"))`)}),e.push('data_list.append("--" + boundary + "--")'),e.push('data_list.append("")'),e.push('payload = "\\r\\n".join(data_list)'),t["Content-Type"]="multipart/form-data; boundary=----ScalarSnippetzBoundary",{payloadLines:e,payloadVariable:"payload"}}if(o)try{let e=JSON.parse(o);return a.add("import json"),{payloadLines:[`payload = json.dumps(${X8(e,0)})`],payloadVariable:"payload"}}catch{return{payloadLines:[`payload = ${JSON.stringify(o)}`],payloadVariable:"payload"}}return{payloadLines:[]}},s4={target:"python",client:"python3",title:"http.client",generate(e,t){let a=ZJ({url:"https://example.com",...e}),r=r4(a.url??"https://example.com"),n=n4(r,a.queryString),o=`${r.pathname||"/"}${n}`,i=a.headers?.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})??{};if(a.cookies?.length){let e=a.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; ");i.Cookie?i.Cookie=`${i.Cookie}; ${e}`:i.Cookie=e}t?.auth?.username&&t.auth.password&&(i.Authorization=`Basic ${a4(`${t.auth.username}:${t.auth.password}`)}`);let s=new Set(["import http.client"]),l=[],c=i4(a,i,s);l.push(...c.payloadLines),Object.keys(i).length&&l.push(`headers = ${X8(i,0)}`);let u=[JSON.stringify(a.method),JSON.stringify(o)];c.payloadVariable&&u.push(`body=${c.payloadVariable}`),Object.keys(i).length&&u.push("headers=headers");let d=u.length<=2?`conn.request(${u.join(", ")})`:`conn.request(\n    ${u.join(",\n    ")},\n)`;return[...s,"",`conn = http.client.${"https:"===r.protocol?"HTTPSConnection":"HTTPConnection"}(${JSON.stringify(r.host)})`,...l.length?["",...l]:[],"",d,"","response = conn.getresponse()","print(response.read().decode())","","conn.close()"].join("\n")}}}),T4=V(()=>{_4()}),E4=V(()=>{O4(),l4={target:"python",client:"requests",title:"Requests",generate:(e,t)=>G8("requests",e,t)}}),C4=V(()=>{E4()}),P4=V(()=>{l0(),c4=(e,t)=>{try{return u4(JSON.parse(e),t)}catch{return`"${e}"`}},u4=(e,t)=>{if(null==e)return"NULL";if("boolean"==typeof e)return e?"TRUE":"FALSE";if("number"==typeof e)return String(e);if("string"==typeof e)return`"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`;if(Array.isArray(e))return 0===e.length?"list()":`list(\n${e.map(e=>`${t}  ${u4(e,t+"  ")}`).join(",\n")}\n${t})`;if("object"==typeof e){let a=Object.entries(e);return 0===a.length?"list()":`list(\n${a.map(([e,a])=>`${t}  ${e} = ${u4(a,t+"  ")}`).join(",\n")}\n${t})`}return String(e)},d4={target:"r",client:"httr2",title:"httr2",generate(e,t){let a={url:"https://example.com",method:"GET",...e},r=a.method.toUpperCase(),n=["library(httr2)",""];n.push(`response <- request("${a.url}") |>`);let o=[];"GET"!==r&&o.push(`  req_method("${r}")`);let i={};if(a.headers?.length)for(let e of a.headers)i[e.name]=e.value;if(a.cookies?.length&&(i.Cookie=a.cookies.map(e=>`${e.name}=${e.value}`).join("; ")),t?.auth?.username&&t?.auth?.password&&o.push(`  req_auth_basic("${t.auth.username}", "${t.auth.password}")`),Object.keys(i).length){let e=Object.entries(i);if(1===e.length){let[t,a]=e[0];o.push(`  req_headers("${t}" = "${a}")`)}else{let t=e.map(([e,t])=>`    "${e}" = "${t}"`).join(",\n");o.push(`  req_headers(\n${t}\n  )`)}}if(a.queryString?.length){let e=QJ(a.queryString),t=Object.entries(e);if(1===t.length){let[e,a]=t[0];if(Array.isArray(a)){let t=a.map(e=>`"${e}"`).join(", ");o.push(`  req_url_query("${e}" = c(${t}))`)}else o.push(`  req_url_query("${e}" = "${a}")`)}else{let e=t.map(([e,t])=>Array.isArray(t)?`    "${e}" = c(${t.map(e=>`"${e}"`).join(", ")})`:`    "${e}" = "${t}"`).join(",\n");o.push(`  req_url_query(\n${e}\n  )`)}}if(a.postData){let{mimeType:e,text:t,params:r}=a.postData;if("application/json"===e&&t){let e=c4(t,"  ");o.push(`  req_body_json(${e})`)}else if("multipart/form-data"===e&&r){let e=r.map(e=>void 0===e.fileName?`    ${e.name} = "${e.value??""}"`:`    ${e.name} = curl::form_file("${e.fileName}")`).join(",\n");o.push(`  req_body_multipart(\n${e}\n  )`)}else if("application/x-www-form-urlencoded"===e&&r){let e=r.map(e=>`    "${e.name}" = "${e.value??""}"`).join(",\n");o.push(`  req_body_form(\n${e}\n  )`)}else t&&o.push(`  req_body_raw("${t}", type = "${e??"application/octet-stream"}")`)}return o.push("  req_perform()"),n[n.length-1]=`response <- request("${a.url}") |>`,n.push(o.join(" |>\n")),n.push(""),n.push("resp_body_string(response)"),n.join("\n")}}}),M4=V(()=>{P4()}),$4=V(()=>{l0(),p4=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),h4=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),m4=e=>encodeURIComponent(e).replace(/'/g,"%27"),f4=new Set(["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"]),g4=e=>e.charAt(0)+e.slice(1).toLowerCase(),v4=(e,t,a)=>{if(f4.has(t))return;let r=g4(t);e.push(`class Net::HTTP::${r} < Net::HTTPRequest`),e.push(`  METHOD = '${t}'`),e.push(`  REQUEST_HAS_BODY = '${a?"true":"false"}'`),e.push("  RESPONSE_HAS_BODY = true"),e.push("end"),e.push("")},b4=e=>{try{let t=new URL(e),a=t.pathname.split("/").map(e=>encodeURIComponent(decodeURIComponent(e)).replace(/%5B/g,"[").replace(/%5D/g,"]").replace(/%24/g,"$")).join("/");return"/"===t.pathname?`${t.origin}${t.search}${t.hash}`:`${t.origin}${a}${t.search}${t.hash}`}catch{return e}},y4={target:"ruby",client:"native",title:"net::http",generate(e,t){let a={method:"GET",...e};a.method=a.method.toUpperCase();let r=VJ(a.queryString),n=b4(`${a.url??""}${r}`),o=["require 'uri'","require 'net/http'",""];v4(o,a.method,!!a.postData?.text),o.push(`url = URI("${p4(n)}")`,""),o.push("http = Net::HTTP.new(url.host, url.port)"),n.startsWith("https://")&&o.push("http.use_ssl = true"),o.push("");let i=g4(a.method);if(o.push(`request = Net::HTTP::${i}.new(url)`),t?.auth?.username&&t?.auth?.password){let e=p4(t.auth.username),a=p4(t.auth.password);o.push(`request.basic_auth("${e}", "${a}")`)}if(a.headers?.length&&a.headers.forEach(e=>{o.push(`request["${p4(e.name)}"] = '${h4(e.value)}'`)}),a.cookies?.length){let e=a.cookies.map(e=>`${m4(e.name)}=${m4(e.value)}`).join("; ");o.push(`request["Cookie"] = '${h4(e)}'`)}if(a.postData){let{mimeType:e,text:t,params:r}=a.postData;if("application/json"===e&&void 0!==t)try{let e=JSON.parse(t),a=JSON.stringify(e,null,2);o.push("request.body = <<~JSON"),o.push(a),o.push("JSON")}catch{o.push(`request.body = ${JSON.stringify(t)}`)}else if("application/x-www-form-urlencoded"===e&&r){let e=r.map(e=>`${m4(e.name)}=${m4(e.value??"")}`).join("&");o.push(`request.body = '${h4(e)}'`)}else"multipart/form-data"===e&&r?(o.push("form_data = []"),r.forEach(e=>{let t=h4(e.name);if(void 0!==e.fileName){let a=h4(e.fileName);if(e.contentType){let r=h4(e.contentType);o.push(`form_data << ['${t}', File.open('${a}'), { filename: '${a}', content_type: '${r}' }]`)}else o.push(`form_data << ['${t}', File.open('${a}')]`)}else if(e.contentType){let a=h4(e.value??""),r=h4(e.contentType);o.push(`form_data << ['${t}', '${a}', { content_type: '${r}' }]`)}else{let a=h4(e.value??"");o.push(`form_data << ['${t}', '${a}']`)}}),o.push("request.set_form(form_data, 'multipart/form-data')")):"application/octet-stream"===e?o.push(`request.body = ${JSON.stringify(t??"")}`):void 0!==t&&o.push(`request.body = ${JSON.stringify(t)}`)}return o.push("","response = http.request(request)","puts response.read_body"),o.join("\n")}}}),N4=V(()=>{$4()});function I4(e){return`"${function(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\0/g,"\\0")}(e)}"`}function R4(e,t){return`${" ".repeat(4*e)}${t}`}function D4(e,...t){return R4(1,`.${e}(${t.join(", ")})`)}var L4,B4,j4,U4,z4,H4,Z4,V4,Q4,q4,F4,W4,X4,G4,Y4,K4,J4,e6,t6,a6,r6,n6,o6,i6=V(()=>{}),s6=V(()=>{l0(),i6(),L4={target:"rust",client:"reqwest",title:"reqwest",generate(e,t){if(!e)return"";let a=ZJ(e),r=VJ(a.queryString),n=function(e,t){return`${e}${t}`}(a.url||"",r),o=function(e){let t={};if(e.headers)for(let a of e.headers)a.value&&!/[; ]/.test(a.name)&&(t[a.name]=a.value);return e.cookies&&e.cookies.length>0&&(t.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; ")),t}(a),i=[],s=j4(t?.auth);s&&i.push(s),i.push(...U4(o));let l=z4(a.postData);return l&&i.push(l),H4(n,a.method,i)}},B4=e=>{if(e.fileName){let t=[R4(2,`let part = reqwest::multipart::Part::text(${I4(e.value||"")})`),R4(3,`.file_name(${I4(e.fileName)})`)];return e.contentType?(t.push(R4(3,`.mime_str(${I4(e.contentType)})`)),t.push(R4(3,".unwrap();"))):t[t.length-1]+=";",t.push(R4(2,`form = form.part(${I4(e.name)}, part);`)),t.join("\n")}return e.contentType?[R4(2,`let part = reqwest::multipart::Part::text(${I4(e.value||"")})`),R4(3,`.mime_str(${I4(e.contentType)})`),R4(3,".unwrap();"),R4(2,`form = form.part(${I4(e.name)}, part);`)].join("\n"):R4(2,`form = form.text(${I4(e.name)}, ${I4(e.value||"")});`)},j4=e=>e?.username&&e?.password?D4("basic_auth",I4(e.username),I4(e.password)):null,U4=e=>Object.entries(e).map(([e,t])=>D4("header",I4(e),I4(t))),z4=e=>{if(!e)return null;let{mimeType:t,text:a,params:r}=e;switch(t){case"application/json":return D4("json",`&serde_json::json!(${function(e){try{let t=JSON.parse(e),a=JSON.stringify(t,null,4).split("\n");return a.map((e,t)=>0===t?e:(a.length,R4(1,e))).join("\n")}catch{return e}}(a)})`);case"application/x-www-form-urlencoded":return D4("form",`&[${r?.map(e=>`(${I4(e.name)}, ${I4(e.value||"")})`).join(", ")||""}]`);case"multipart/form-data":{let e=r?.map(B4).join("\n")||"";return R4(1,[".multipart({",R4(2,"let mut form = reqwest::multipart::Form::new();"),e,R4(3,"form"),R4(2,"})")].join("\n"))}default:return D4("body",I4(a||""))}},H4=(e,t,a)=>{let r=["let client = reqwest::Client::new();",""];a.length>0?(r.push("let request = client"),r.push(R4(1,`.${t.toLowerCase()}(${I4(e)})`)),r.push(...a)):r.push(`let request = client.${t.toLowerCase()}(${I4(e)})`);let n=r[r.length-1];return r[r.length-1]=n+";",r.push(""),r.push("let response = request.send().await?;"),r.join("\n")}}),l6=V(()=>{s6()}),c6=V(()=>{Z4=e=>e.replace(/'/g,"'\\''")}),u6=V(()=>{gA(),c6(),V4=e=>{if(!e)return!1;let{subtype:t}=iA(e);return"json"===t||t.endsWith("+json")},Q4={target:"shell",client:"curl",title:"Curl",generate(e,t){let a={method:"GET",...e};a.method=a.method.toUpperCase();let r=["curl"],n=a.url??"",o=n.includes("?")?"&":"?",i=`${n}${a.queryString?.length?o+a.queryString.map(e=>`${e.name}=${e.value}`).join("&"):""}`;if(r[0]=`curl ${/^[A-Za-z0-9._~:/%@+,=-]*$/.test(i)?i:`'${Z4(i)}'`}`,"GET"!==a.method&&r.push(`--request ${a.method}`),t?.auth?.username&&t?.auth?.password){let e=Z4(`${t.auth.username}:${t.auth.password}`);r.push(`--user '${e}'`)}if(a.headers?.length){a.headers.forEach(e=>{let t=Z4(`${e.name}: ${e.value}`);r.push(`--header '${t}'`)});let e=a.headers.find(e=>"accept-encoding"===e.name.toLowerCase());e&&/gzip|deflate/.test(e.value)&&r.push("--compressed")}if(a.cookies?.length){let e=Z4(a.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; "));r.push(`--cookie '${e}'`)}if(a.postData)if(V4(a.postData.mimeType)){if(a.postData.text)try{let e=JSON.parse(a.postData.text),t=Z4(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=Z4(a.postData.text??"");r.push(`--data '${e}'`)}}else if("application/octet-stream"===a.postData.mimeType){let e=Z4(a.postData.text??"");r.push(`--data-binary '${e}'`)}else if("application/x-www-form-urlencoded"===a.postData.mimeType&&a.postData.params)a.postData.params.forEach(e=>{let t=Z4(e.value??""),a=Z4(encodeURIComponent(e.name));r.push(`--data-urlencode '${a}=${t}'`)});else if("multipart/form-data"===a.postData.mimeType&&a.postData.params)a.postData.params.forEach(e=>{let t=Z4(e.name),a=e.contentType?`;type=${e.contentType}`:"";if(void 0!==e.fileName){let n=Z4(`${e.fileName}${a}`);r.push(`--form '${t}=@${n}'`)}else{let n=e.value??"",o=n;if(V4(e.contentType)&&n)try{o=JSON.stringify(JSON.parse(n),null,2)}catch{}let i=Z4(`${o}${a}`);r.push(`--form '${t}=${i}'`)}});else try{let e=JSON.parse(a.postData.text??""),t=Z4(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=Z4(a.postData.text??"");r.push(`--data '${e}'`)}return r.join(" \\\n  ")}}}),d6=V(()=>{u6()}),p6=V(()=>{q4=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`}),h6=V(()=>{q0(),p6(),F4={info:{key:"httpie",title:"HTTPie",link:"http://httpie.org/",description:"a CLI, cURL-like tool for humans"},convert:({allHeaders:e,postData:t,queryObj:a,fullUrl:r,method:n,url:o},i)=>{let s={body:!1,cert:!1,headers:!1,indent:"  ",pretty:!1,print:!1,queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...i},{push:l,join:c,unshift:u}=new j0({indent:s.indent,join:!1===s.indent?" ":` \\\n${s.indent}`}),d=!1,p=[];return s.headers&&p.push(s.short?"-h":"--headers"),s.body&&p.push(s.short?"-b":"--body"),s.verbose&&p.push(s.short?"-v":"--verbose"),s.print&&p.push(`${s.short?"-p":"--print"}=${s.print}`),s.verify&&p.push(`--verify=${s.verify}`),s.cert&&p.push(`--cert=${s.cert}`),s.pretty&&p.push(`--pretty=${s.pretty}`),s.style&&p.push(`--style=${s.style}`),s.timeout&&p.push(`--timeout=${s.timeout}`),s.queryParams&&Object.keys(a).forEach(e=>{let t=a[e];Array.isArray(t)?t.forEach(t=>{l(`${e}==${q4(t)}`)}):l(`${e}==${q4(t)}`)}),Object.keys(e).sort().forEach(t=>{l(`${t}:${q4(e[t])}`)}),"application/x-www-form-urlencoded"===t?.mimeType?t.params?.length&&(p.push(s.short?"-f":"--form"),t.params.forEach(e=>{l(`${e.name}=${q4(e.value)}`)})):"multipart/form-data"===t?.mimeType?t?.params?.length&&(p.push("--multipart"),t.params.forEach(e=>{e.fileName?l(`${e.name}@${q4(e.fileName)}`):l(`${e.name}='${q4(e.value)}'`)})):d=!0,u(`http ${p.length?`${p.join(" ")} `:""}${n} ${o=q4(s.queryParams?o:r)}`),d&&t?.text&&u(`echo ${q4(t.text)} | `),c()}}}),m6=V(()=>{h6(),s1(),W4={target:"shell",client:"httpie",title:"HTTPie",generate:e=>J0(F4,e)}}),f6=V(()=>{m6()}),g6=V(()=>{gA(),c6(),X4=e=>{if(!e)return!1;let{subtype:t}=iA(e);return"json"===t||t.endsWith("+json")},G4=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},Y4={target:"shell",client:"wget",title:"Wget",generate(e,t){let a={...e,method:(e?.method??"GET").toUpperCase()},r=a.url??"",n=r.includes("?")?"&":"?",o=`${r}${a.queryString?.length?n+a.queryString.map(e=>`${e.name}=${e.value}`).join("&"):""}`,i=/^[A-Za-z0-9._~:/%@+,=-]*$/.test(o)?o:`'${Z4(o)}'`,s=["wget --quiet",`--method ${a.method}`];if(t?.auth?.username&&t?.auth?.password&&(s.push(`--user '${Z4(t.auth.username)}'`),s.push(`--password '${Z4(t.auth.password)}'`)),a.headers?.length&&a.headers.forEach(e=>{let t=Z4(`${e.name}: ${e.value}`);s.push(`--header '${t}'`)}),a.cookies?.length){let e=a.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; ");s.push(`--header 'Cookie: ${Z4(e)}'`)}if(a.postData){let{mimeType:e,text:t,params:r}=a.postData;if(X4(e))t&&s.push(`--body-data '${Z4(G4(t))}'`);else if("application/octet-stream"===e)s.push(`--body-data '${Z4(t??"")}'`);else if("application/x-www-form-urlencoded"===e&&r){let e=r.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`).join("&");s.push(`--body-data '${Z4(e)}'`)}else"multipart/form-data"===e&&r?r.forEach(e=>{if(void 0!==e.fileName)s.push(`--body-file='${Z4(e.fileName)}'`);else{let t=e.value??"",a=X4(e.contentType)&&t?G4(t):t;s.push(`--body-data '${Z4(`${e.name}=${a}`)}'`)}}):t&&s.push(`--body-data '${Z4(G4(t))}'`)}return s.push("--output-document",`- ${i}`),s.join(" \\\n  ")}}}),v6=V(()=>{g6()}),b6=V(()=>{l0(),K4=e=>JSON.stringify(e),J4=e=>{let t=1;for(;e.includes(`"""${"#".repeat(t)}`);)t+=1;return"#".repeat(t)},e6=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},t6=e=>encodeURIComponent(e),a6=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),r6=e=>{let t=["let boundary = UUID().uuidString","var body = Data()","","func appendToBody(_ value: String) {","  body.append(value.data(using: .utf8)!)","}",""];return e.forEach(e=>{let a=a6(e.name),r=a6(e.fileName??""),n=e.contentType?a6(e.contentType):void 0;t.push('appendToBody("--\\(boundary)\\r\\n")'),void 0===e.fileName?(t.push(`appendToBody(${K4(`Content-Disposition: form-data; name="${a}"\r\n`)})`),n&&t.push(`appendToBody(${K4(`Content-Type: ${n}\r\n`)})`),t.push('appendToBody("\\r\\n")'),t.push(`appendToBody(${K4(e.value??"")})`),t.push('appendToBody("\\r\\n")')):(t.push(`appendToBody(${K4(`Content-Disposition: form-data; name="${a}"; filename="${r}"\r\n`)})`),n&&t.push(`appendToBody(${K4(`Content-Type: ${n}\r\n`)})`),t.push('appendToBody("\\r\\n")'),t.push(`appendToBody(${K4(`<# File data for ${e.fileName||"file"} #>\r\n`)})`)),t.push("")}),t.push('appendToBody("--\\(boundary)--\\r\\n")'),t},n6={target:"swift",client:"nsurlsession",title:"NSURLSession",generate(e,t){if(!e)return"";let a=qJ(e.method),r=FJ(WJ(e.url??"",e.queryString)),n=XJ(e.headers,e.cookies),o=["import Foundation","",`var request = URLRequest(url: URL(string: ${K4(r)})!)`];if(o.push(`request.httpMethod = ${K4(a)}`),n.forEach(e=>{o.push(`request.setValue(${K4(e.value)}, forHTTPHeaderField: ${K4(e.name)})`)}),t?.auth?.username&&t?.auth?.password&&(o.push(`let credentials = ${K4(`${t.auth.username}:${t.auth.password}`)}`),o.push("let encodedCredentials = Data(credentials.utf8).base64EncodedString()"),o.push('request.setValue("Basic \\(encodedCredentials)", forHTTPHeaderField: "Authorization")')),e.postData){let{mimeType:t,text:a,params:r}=e.postData;if("application/json"===t&&void 0!==a){let e=e6(a),t=J4(e);o.push(`let jsonBody = ${t}"""`),o.push(e),o.push(`"""${t}`),o.push("request.httpBody = jsonBody.data(using: .utf8)")}else if("application/x-www-form-urlencoded"===t&&r?.length){let e=r.map(e=>`${t6(e.name)}=${t6(e.value??"")}`).join("&");o.push(`let formBody = ${K4(e)}`),o.push("request.httpBody = formBody.data(using: .utf8)")}else"multipart/form-data"===t&&r?.length?(o.push(...r6(r)),o.push('request.setValue("multipart/form-data; boundary=\\(boundary)", forHTTPHeaderField: "Content-Type")'),o.push("request.httpBody = body")):"application/octet-stream"===t?(o.push(`let binaryBody = Data(${K4(a??"")}.utf8)`),o.push("request.httpBody = binaryBody")):void 0!==a&&(o.push(`let rawBody = ${K4(a)}`),o.push("request.httpBody = rawBody.data(using: .utf8)"))}return o.push(""),o.push("let (data, response) = try await URLSession.shared.data(for: request)"),o.push(""),o.push("guard let httpResponse = response as? HTTPURLResponse,"),o.push("      200..<300 ~= httpResponse.statusCode else {"),o.push("  throw URLError(.badServerResponse)"),o.push("}"),o.push(""),o.push('print(String(data: data, encoding: .utf8) ?? "")'),o.join("\n")}}}),y6=V(()=>{b6()}),O6=V(()=>{HJ(),u0(),w0(),S0(),_0(),z0(),Z0(),Q0(),c1(),p1(),f1(),b1(),R1(),L1(),Y2(),J2(),a8(),n8(),i8(),l8(),u8(),p8(),m8(),v8(),D8(),B8(),U8(),V8(),F8(),w4(),A4(),T4(),C4(),M4(),N4(),l6(),d6(),f6(),v6(),y6(),o6=[{key:"c",title:"C",default:"libcurl",clients:[RJ]},{key:"csharp",title:"C#",default:"restsharp",clients:[m0,y0]},{key:"clojure",title:"Clojure",default:"clj_http",clients:[s0]},{key:"dart",title:"Dart",default:"http",clients:[O0]},{key:"fsharp",title:"F#",default:"httpclient",clients:[C0]},{key:"go",title:"Go",default:"native",clients:[L0]},{key:"http",title:"HTTP",default:"http1.1",clients:[B0]},{key:"java",title:"Java",default:"unirest",clients:[e1,a1,n1,i1]},{key:"js",title:"JavaScript",default:"fetch",clients:[M1,P1,P2,C2,$2]},{key:"kotlin",title:"Kotlin",default:"okhttp",clients:[D2]},{key:"node",title:"Node.js",default:"fetch",clients:[B2,L2,j2,U2]},{key:"objc",title:"Objective-C",default:"nsurlsession",clients:[V2]},{key:"ocaml",title:"OCaml",default:"cohttp",clients:[q2]},{key:"php",title:"PHP",default:"curl",clients:[x8,w8,E8]},{key:"powershell",title:"PowerShell",default:"webrequest",clients:[N8,M8]},{key:"python",title:"Python",default:"python3",clients:[s4,l4,J8,t4,e4]},{key:"r",title:"R",default:"httr2",clients:[d4]},{key:"ruby",title:"Ruby",default:"native",clients:[y4]},{key:"rust",title:"Rust",default:"reqwest",clients:[L4]},{key:"shell",title:"Shell",default:"curl",clients:[Q4,Y4,W4]},{key:"swift",title:"Swift",default:"nsurlsession",clients:[n6]}]});function x6(){function e(e,t){return o6.find(({key:t})=>t===e)?.clients.find(e=>e.client===t)}return{print:(t,a,r)=>e(t,a)?.generate(r),clients:()=>o6,plugins:()=>o6.flatMap(({key:e,clients:t})=>t.map(t=>({target:e,client:t.client}))),findPlugin:e,hasPlugin:(t,a)=>!!e(t,a)}}var w6,k6,S6,A6,_6,T6,E6,C6,P6,M6,$6,N6=V(()=>{O6()}),I6=V(()=>{UJ(),N6()}),R6=V(()=>{Rc(),I6(),w6=e=>{let t=new Map;return e.map(e=>{let a=(e.lang||"plaintext").toLowerCase(),r=t.get(a)??0;return t.set(a,r+1),0===r?`custom/${a}`:`custom/${a}/${r}`})},k6=(e=TJ)=>{let t=new Set(e);return x6().clients().flatMap(e=>{let a=e.clients.flatMap(a=>{let r=`${e.key}/${a.client}`;return t.has(r)?{id:r,lang:"curl"===a.client?"curl":e.key,title:`${Lt(e.title)} ${a.title}`,label:a.title,targetKey:e.key,targetTitle:e.title,clientKey:a.client}:[]});return 0===a.length?[]:{label:e.title,key:e.key,options:a}})}}),D6=V(()=>{Rc(),iE(),S6={key:0,class:"request-response-header bg-b-1 -mb-1/2 sticky top-0 z-1 flex min-h-11 items-center border-b px-2.5 text-base font-medium xl:rounded-none"},A6=Pn({inheritAttrs:!1,__name:"ViewLayoutSection",setup(e){let{cx:t}=aE();return(e,a)=>(Zo(),qo("section",at(Ko(Fa(t)("xl:custom-scroll bg-b-1 flex flex-1 flex-col xl:h-full xl:min-w-0"))),[e.$slots.title?(Zo(),qo("div",S6,[Jn(e.$slots,"title")])):ai("",!0),Jn(e.$slots,"default")],16))}})}),L6=V(()=>{D6(),_6=A6}),B6=V(()=>{Rc(),T6=["aria-controls","aria-selected","tabindex"],E6=Pn({__name:"SectionFilterButton",props:{selected:{type:Boolean},controls:{}},setup:e=>(t,a)=>(Zo(),qo("button",{"aria-controls":e.controls??"","aria-selected":!!e.selected,class:tt(["hover:bg-b-2 flex w-fit cursor-pointer items-center rounded p-1 px-2 text-center font-medium whitespace-nowrap has-[:focus-visible]:outline",{"text-c-1 pointer-events-none":e.selected}]),role:"tab",tabindex:e.selected?0:-1,type:"button"},[Jn(t.$slots,"default")],10,T6))})}),j6=V(()=>{B6(),C6=E6}),U6=V(()=>{P6=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a}}),z6=V(()=>{M6=Object.defineProperty,$6=(e,t)=>{let a={};for(var r in e)M6(a,r,{get:e[r],enumerable:!0});return t||M6(a,Symbol.toStringTag,{value:"Module"}),a}});function H6(e,t){return Zo(),qo("svg",V6,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5 11.988h14M12.006 5v14"},null,-1)]])}var Z6,V6,Q6,q6=V(()=>{z6(),Rc(),Z6=$6({default:()=>Q6,render:()=>H6}),V6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Q6={render:H6}});function F6(e,t){return Zo(),qo("svg",X6,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.143 12h7.714M12 8.143v7.714M5.571 3H18.43A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3"},null,-1)]])}var W6,X6,G6,Y6=V(()=>{z6(),Rc(),W6=$6({default:()=>G6,render:()=>F6}),X6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},G6={render:F6}});function K6(e,t){return Zo(),qo("svg",e3,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"},null,-1)]])}var J6,e3,t3,a3=V(()=>{z6(),Rc(),J6=$6({default:()=>t3,render:()=>K6}),e3={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},t3={render:K6}});function r3(e,t){return Zo(),qo("svg",o3,[...t[0]||=[Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 12H2m9.3-9.3L2 12l9.3 9.3"},null,-1)]])}var n3,o3,i3,s3=V(()=>{z6(),Rc(),n3=$6({default:()=>i3,render:()=>r3}),o3={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},i3={render:r3}});function l3(e,t){return Zo(),qo("svg",u3,[...t[0]||=[Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 12h20m-9.3 9.3L22 12l-9.3-9.3"},null,-1)]])}var c3,u3,d3,p3=V(()=>{z6(),Rc(),c3=$6({default:()=>d3,render:()=>l3}),u3={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},d3={render:l3}});function h3(e,t){return Zo(),qo("svg",f3,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1m8 0h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1"},null,-1)]])}var m3,f3,g3,v3=V(()=>{z6(),Rc(),m3=$6({default:()=>g3,render:()=>h3}),f3={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},g3={render:h3}});function b3(e,t){return Zo(),qo("svg",O3,[...t[0]||=[Go("path",{d:"M16.4 6.8v5.6H7.6m0-5.6v10.4"},null,-1),Go("circle",{cx:"7.6",cy:"4.4",r:"2.4"},null,-1),Go("circle",{cx:"7.6",cy:"19.6",r:"2.4"},null,-1),Go("circle",{cx:"16.4",cy:"4.4",r:"2.4"},null,-1)]])}var y3,O3,x3,w3=V(()=>{z6(),Rc(),y3=$6({default:()=>x3,render:()=>b3}),O3={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},x3={render:b3}});function k3(e,t){return Zo(),qo("svg",A3,[...t[0]||=[Go("path",{d:"M12 22.125V4.712S9.545 1.985 1.268 1.875a.5.5 0 0 0-.366.15.52.52 0 0 0-.152.369v16.375a.515.515 0 0 0 .5.519C9.543 19.4 12 22.125 12 22.125"},null,-1),Go("path",{d:"M9 11.18a21.3 21.3 0 0 0-5.26-1.055M9 15.375a21.3 21.3 0 0 0-5.26-1.055M15 11.18a21.3 21.3 0 0 1 5.26-1.055M15 15.375a21.3 21.3 0 0 1 5.26-1.055"},null,-1),Go("path",{d:"M12 22.125V4.712s2.455-2.727 10.732-2.837a.5.5 0 0 1 .366.15.52.52 0 0 1 .152.369v16.375a.515.515 0 0 1-.5.519C14.457 19.4 12 22.125 12 22.125"},null,-1)]])}var S3,A3,_3,T3=V(()=>{z6(),Rc(),S3=$6({default:()=>_3,render:()=>k3}),A3={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},_3={render:k3}});function E3(e,t){return Zo(),qo("svg",P3,[...t[0]||=[Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21.4 4.6 10.6 19.4l-8-6.4"},null,-1)]])}var C3,P3,M3,$3=V(()=>{z6(),Rc(),C3=$6({default:()=>M3,render:()=>E3}),P3={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},M3={render:E3}});function N3(e,t){return Zo(),qo("svg",R3,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 10-6 6-6-6"},null,-1)]])}var I3,R3,D3,L3=V(()=>{z6(),Rc(),I3=$6({default:()=>D3,render:()=>N3}),R3={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},D3={render:N3}});function B3(e,t){return Zo(),qo("svg",U3,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m14 18-6-6 6-6"},null,-1)]])}var j3,U3,z3,H3=V(()=>{z6(),Rc(),j3=$6({default:()=>z3,render:()=>B3}),U3={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},z3={render:B3}});function Z3(e,t){return Zo(),qo("svg",Q3,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9 18 6-6-6-6"},null,-1)]])}var V3,Q3,q3,F3=V(()=>{z6(),Rc(),V3=$6({default:()=>q3,render:()=>Z3}),Q3={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},q3={render:Z3}});function W3(e,t){return Zo(),qo("svg",G3,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 15-6-6-6 6"},null,-1)]])}var X3,G3,Y3,K3=V(()=>{z6(),Rc(),X3=$6({default:()=>Y3,render:()=>W3}),G3={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Y3={render:W3}});function J3(e,t){return Zo(),qo("svg",t5,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-6 4h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2"},null,-1)]])}var e5,t5,a5,r5=V(()=>{z6(),Rc(),e5=$6({default:()=>a5,render:()=>J3}),t5={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},a5={render:J3}});function n5(e,t){return Zo(),qo("svg",i5,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 6 6 18M6 6l12 12"},null,-1)]])}var o5,i5,s5,l5=V(()=>{z6(),Rc(),o5=$6({default:()=>s5,render:()=>n5}),i5={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},s5={render:n5}});function c5(e,t){return Zo(),qo("svg",d5,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9.273 9.273 5.454 5.454m0-5.454-5.454 5.454M5.57 3h12.86A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3Z"},null,-1)]])}var u5,d5,p5,h5=V(()=>{z6(),Rc(),u5=$6({default:()=>p5,render:()=>c5}),d5={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},p5={render:c5}});function m5(e,t){return Zo(),qo("svg",g5,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-3.121 8.879 4.242 4.242m0-4.242L12.88 17.12M10 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2"},null,-1)]])}var f5,g5,v5,b5=V(()=>{z6(),Rc(),f5=$6({default:()=>v5,render:()=>m5}),g5={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},v5={render:m5}});function y5(e,t){return Zo(),qo("svg",x5,[...t[0]||=[Go("path",{d:"M18.375 19.5a4.875 4.875 0 1 0-2.764-8.885A7.5 7.5 0 1 0 8.25 19.5z"},null,-1)]])}var O5,x5,w5,k5=V(()=>{z6(),Rc(),O5=$6({default:()=>w5,render:()=>y5}),x5={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},w5={render:y5}});function S5(e,t){return Zo(),qo("svg",_5,[...t[0]||=[Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21.75 9V6a1.5 1.5 0 0 0-1.5-1.5h-12V3a1.5 1.5 0 0 0-1.5-1.5h-4.5A1.5 1.5 0 0 0 .75 3v17.8a1.7 1.7 0 0 0 3.336.438l2.352-11.154A1.5 1.5 0 0 1 7.879 9za1.5 1.5 0 0 1 1.45 1.886l-2.2 10.5a1.5 1.5 0 0 1-1.45 1.114H2.447"},null,-1),Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m12 13.5-2.25 2.25L12 18m4.5-4.5 2.25 2.25L16.5 18"},null,-1)]])}var A5,_5,T5,E5=V(()=>{z6(),Rc(),A5=$6({default:()=>T5,render:()=>S5}),_5={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},T5={render:S5}});function C5(e,t){return Zo(),qo("svg",M5,[...t[0]||=[Go("path",{d:"M10.546 2.438a1.957 1.957 0 0 0 2.908 0L14.4 1.4a1.959 1.959 0 0 1 3.41 1.413l-.071 1.4a1.96 1.96 0 0 0 2.051 2.054l1.4-.071a1.959 1.959 0 0 1 1.41 3.41l-1.042.94a1.96 1.96 0 0 0 0 2.909l1.042.94a1.959 1.959 0 0 1-1.413 3.41l-1.4-.071a1.96 1.96 0 0 0-2.056 2.056l.071 1.4A1.959 1.959 0 0 1 14.4 22.6l-.941-1.041a1.96 1.96 0 0 0-2.908 0L9.606 22.6A1.959 1.959 0 0 1 6.2 21.192l.072-1.4a1.96 1.96 0 0 0-2.056-2.056l-1.4.071A1.958 1.958 0 0 1 1.4 14.4l1.041-.94a1.96 1.96 0 0 0 0-2.909L1.4 9.606A1.958 1.958 0 0 1 2.809 6.2l1.4.071a1.96 1.96 0 0 0 2.058-2.06L6.2 2.81A1.959 1.959 0 0 1 9.606 1.4z"},null,-1),Go("path",{d:"M7.5 12.001a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0"},null,-1)]])}var P5,M5,$5,N5=V(()=>{z6(),Rc(),P5=$6({default:()=>$5,render:()=>C5}),M5={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},$5={render:C5}});function I5(e,t){return Zo(),qo("svg",D5,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.86 16.6c0 .32-.16.64-.47.72l-6.3 2.83a.93.93 0 0 1-.8-.08c-.23-.16-.38-.4-.38-.63V4.56c0-.24.15-.55.39-.63.24-.16.47-.16.79-.08l6.3 2.83c.31.16.47.4.47.71v9.22zM10.7 19.52a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V5.35c0-.24.15-.56.4-.63.23-.16.46-.16.78-.08M7.43 18.73a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.05c0-.23.16-.55.4-.63.23-.15.47-.15.78-.07m-3.43 12.6a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.84c0-.23.16-.55.4-.63.23-.16.47-.16.78-.08"},null,-1)]])}var R5,D5,L5,B5=V(()=>{z6(),Rc(),R5=$6({default:()=>L5,render:()=>I5}),D5={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},L5={render:I5}});function j5(e,t){return Zo(),qo("svg",z5,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M15.739 8.061c-2.02.404-4.041-1.01-4.445-3.03-.202-1.01 0-2.223.606-3.031C6.445 2 2 6.445 2 11.9s4.445 9.9 9.9 9.9 9.9-4.445 9.9-9.9v-.808c-1.616 1.212-4.04.808-5.253-.808-.606-.606-.808-1.415-.808-2.223"},null,-1),Go("path",{fill:"currentColor",d:"M8.667 15.133a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425m4.243 1.212a1.212 1.212 0 1 0 0-2.424 1.212 1.212 0 0 0 0 2.424M9.88 9.88a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425"},null,-1)]])}var U5,z5,H5,Z5=V(()=>{z6(),Rc(),U5=$6({default:()=>H5,render:()=>j5}),z5={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},H5={render:j5}});function V5(e,t){return Zo(),qo("svg",q5,[...t[0]||=[Go("path",{d:"M17.673 16.462C10.59 16.46 5.52 9.612 7.59 2.837.22 6.233-.71 16.333 5.917 21.016c5.864 4.144 14.064 1.34 16.163-5.526-1.38.64-2.884.972-4.407.972M11.996 3.484h4.866m-2.433-2.433v4.867m4.867 2.433h3.244m-1.622-1.622v3.244"},null,-1)]])}var Q5,q5,F5,W5=V(()=>{z6(),Rc(),Q5=$6({default:()=>F5,render:()=>V5}),q5={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},F5={render:V5}});function X5(e,t){return Zo(),qo("svg",Y5,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 6h18m-2 0v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6m3 0V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2m-6 5v6m4-6v6"},null,-1)]])}var G5,Y5,K5,J5=V(()=>{z6(),Rc(),G5=$6({default:()=>K5,render:()=>X5}),Y5={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},K5={render:X5}});function e7(e,t){return Zo(),qo("svg",a7,[...t[0]||=[Go("path",{d:"M10.145 5.108a.584.584 0 0 1-.657-.37l-.24-.705a.51.51 0 0 0-.496-.35c-1.835.065-3.434.577-4.13.834a1.2 1.2 0 0 0-.6.474c-.75 1.142-3.085 5.242-3.02 11.944.003.4.169.78.485 1.025.716.556 2.259 1.576 4.702 2.314.358.108.75.004.962-.304.316-.462.597-1.04.796-1.494a.56.56 0 0 1 .669-.31c.87.248 1.993.439 3.39.439 1.393 0 2.512-.19 3.379-.437a.56.56 0 0 1 .669.31c.199.454.48 1.03.795 1.492.211.308.604.412.962.304 2.443-.738 3.986-1.758 4.703-2.314.315-.245.48-.626.485-1.025.063-6.652-2.236-10.74-3.003-11.917a1.25 1.25 0 0 0-.654-.5c-.75-.256-2.428-.763-4.094-.833a.505.505 0 0 0-.496.348l-.239.703a.586.586 0 0 1-.66.37 10.5 10.5 0 0 0-1.846-.15c-.827 0-1.461.08-1.862.152"},null,-1),Go("path",{d:"M10 12.553c0 1.38-1.008 2.5-2.25 2.5-1.243 0-2.25-1.12-2.25-2.5 0-1.381 1.007-2.5 2.25-2.5 1.242 0 2.25 1.119 2.25 2.5m4 0c0 1.38 1.007 2.5 2.25 2.5 1.242 0 2.25-1.12 2.25-2.5 0-1.381-1.008-2.5-2.25-2.5-1.243 0-2.25 1.119-2.25 2.5"},null,-1)]])}var t7,a7,r7,n7=V(()=>{z6(),Rc(),t7=$6({default:()=>r7,render:()=>e7}),a7={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},r7={render:e7}});function o7(e,t){return Zo(),qo("svg",s7,[...t[0]||=[Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5.4 22.2h13c1.1 0 2-.9 2-2V3.6c0-1.1-.9-2-2-2h-9l-6 6v12.6c0 1.1.9 2 2 2"},null,-1),Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3.6 7.6h4c1.1 0 2-.9 2-2v-4zm9.4 0h4m-10 5h10M7 17.4h10"},null,-1)]])}var i7,s7,l7,c7=V(()=>{z6(),Rc(),i7=$6({default:()=>l7,render:()=>o7}),s7={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},l7={render:o7}});function u7(e,t){return Zo(),qo("svg",p7,[...t[0]||=[Go("path",{d:"M12.001 3.75v12m-4.5-4.5 4.5 4.5 4.5-4.5m6.75 4.5v1.5a3 3 0 0 1-3 3h-16.5a3 3 0 0 1-3-3v-1.5"},null,-1)]])}var d7,p7,h7,m7=V(()=>{z6(),Rc(),d7=$6({default:()=>h7,render:()=>u7}),p7={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},h7={render:u7}});function f7(e,t){return Zo(),qo("svg",v7,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.42 16.58H3.25a.83.83 0 0 1-.83-.83V3.25a.83.83 0 0 1 .83-.83h12.5a.83.83 0 0 1 .83.83v4.17"},null,-1),Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 7.42h12.5s.83 0 .83.83v12.5s0 .83-.83.83H8.25s-.83 0-.83-.83V8.25s0-.83.83-.83"},null,-1)]])}var g7,v7,b7,y7=V(()=>{z6(),Rc(),g7=$6({default:()=>b7,render:()=>f7}),v7={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},b7={render:f7}});function O7(e,t){return Zo(),qo("svg",w7,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M14 3H5.571A2.57 2.57 0 0 0 3 5.571V18.43A2.57 2.57 0 0 0 5.571 21H18.43A2.57 2.57 0 0 0 21 18.429V10m.96-5.35a1.845 1.845 0 0 0-2.61-2.61l-6.644 6.647a1.3 1.3 0 0 0-.328.543l-.864 2.849a.327.327 0 0 0 .408.407l2.849-.864c.205-.062.391-.174.543-.325l6.645-6.647Z"},null,-1)]])}var x7,w7,k7,S7=V(()=>{z6(),Rc(),x7=$6({default:()=>k7,render:()=>O7}),w7={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},k7={render:O7}});function A7(e,t){return Zo(),qo("svg",T7,[...t[0]||=[Go("path",{d:"M6 11c-.5 0-1 .4-1 1s.5 1 1 1 1-.4 1-1-.5-1-1-1m12 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1m-6 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1"},null,-1)]])}var _7,T7,E7,C7=V(()=>{z6(),Rc(),_7=$6({default:()=>E7,render:()=>A7}),T7={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},E7={render:A7}});function P7(e,t){return Zo(),qo("svg",$7,[...t[0]||=[Go("path",{d:"M2.25 4.5h19.5s1.5 0 1.5 1.5v12s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V6s0-1.5 1.5-1.5m13.437 5.475L19.5 13.5M8.313 9.975 4.5 13.5"},null,-1),Go("path",{d:"m22.88 5.014-9.513 6.56a2.41 2.41 0 0 1-2.734 0L1.12 5.014"},null,-1)]])}var M7,$7,N7,I7=V(()=>{z6(),Rc(),M7=$6({default:()=>N7,render:()=>P7}),$7={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},N7={render:P7}});function R7(e,t){return Zo(),qo("svg",L7,[...t[0]||=[Go("path",{d:"M12 17.6c-.2 0-.4-.2-.4-.4s.2-.4.4-.4m0 .8c.2 0 .4-.2.4-.4s-.2-.4-.4-.4m0-3V5.6"},null,-1),Go("path",{d:"M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10"},null,-1)]])}var D7,L7,B7,j7=V(()=>{z6(),Rc(),D7=$6({default:()=>B7,render:()=>R7}),L7={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},B7={render:R7}});function U7(e,t){return Zo(),qo("svg",H7,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18.59 15.3 2.9-2.91a1.32 1.32 0 0 0 0-1.87l-1.85-1.85a3.3 3.3 0 1 1-4.31-4.31L13.48 2.5a1.32 1.32 0 0 0-1.87 0l-2.9 2.91a3.3 3.3 0 1 0-3.3 3.3l-2.9 2.9a1.32 1.32 0 0 0 0 1.87l1.85 1.85a3.3 3.3 0 1 1 4.31 4.31l1.85 1.85a1.32 1.32 0 0 0 1.87 0l2.9-2.9a3.3 3.3 0 1 0 3.3-3.3Z"},null,-1)]])}var z7,H7,Z7,V7=V(()=>{z6(),Rc(),z7=$6({default:()=>Z7,render:()=>U7}),H7={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Z7={render:U7}});function Q7(e,t){return Zo(),qo("svg",F7,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.4 4H20v13.59M4 20 20 4"},null,-1)]])}var q7,F7,W7,X7=V(()=>{z6(),Rc(),q7=$6({default:()=>W7,render:()=>Q7}),F7={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},W7={render:Q7}});function G7(e,t){return Zo(),qo("svg",K7,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M7.556 12h8.888m-6.222 6h3.556"},null,-1)]])}var Y7,K7,J7,e9=V(()=>{z6(),Rc(),Y7=$6({default:()=>J7,render:()=>G7}),K7={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},J7={render:G7}});function t9(e,t){return Zo(),qo("svg",r9,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z"},null,-1)]])}var a9,r9,n9,o9=V(()=>{z6(),Rc(),a9=$6({default:()=>n9,render:()=>t9}),r9={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},n9={render:t9}});function i9(e,t){return Zo(),qo("svg",l9,[...t[0]||=[Go("path",{d:"M512 0a512 512 0 0 0-162 998c26 4 35-11 35-25l-1-95c-128 23-161-32-172-60-6-15-31-61-52-73-18-10-44-33-1-33 40-1 69 37 78 52 46 78 120 56 149 43 5-33 18-56 33-69-114-13-234-56-234-253 0-56 20-101 53-137-5-13-23-65 5-136 0 0 43-13 141 53a487 487 0 0 1 256 0c98-66 141-53 141-53 28 71 10 123 5 136 33 36 53 81 53 137 0 197-120 240-234 253 18 16 35 47 35 95l-1 140c0 14 9 30 35 25A512 512 0 0 0 512 0"},null,-1)]])}var s9,l9,c9,u9=V(()=>{z6(),Rc(),s9=$6({default:()=>c9,render:()=>i9}),l9={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 1024 1024"},c9={render:i9}});function d9(e,t){return Zo(),qo("svg",h9,[...t[0]||=[Go("path",{d:"M16.643 22.94v-3.135a3.68 3.68 0 0 0-1.026-2.852c3.43-.382 7.036-1.682 7.036-7.648a5.94 5.94 0 0 0-1.64-4.097 5.54 5.54 0 0 0-.097-4.12s-1.29-.382-4.272 1.618a14.6 14.6 0 0 0-7.649 0c-2.982-2-4.272-1.617-4.272-1.617a5.54 5.54 0 0 0-.098 4.119 5.94 5.94 0 0 0-1.639 4.13c0 5.922 3.606 7.222 7.036 7.648a3.68 3.68 0 0 0-1.027 2.819v3.136m0-2.186c-3.277 1.064-6.009 0-7.648-3.278"},null,-1)]])}var p9,h9,m9,f9=V(()=>{z6(),Rc(),p9=$6({default:()=>m9,render:()=>d9}),h9={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},m9={render:d9}});function g9(e,t){return Zo(),qo("svg",b9,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 12c0 5.523-4.477 10-10 10m10-10c0-5.523-4.477-10-10-10m10 10H2m10 10C6.477 22 2 17.523 2 12m10 10a14.5 14.5 0 0 1 0-20m0 20a14.5 14.5 0 0 0 0-20M2 12C2 6.477 6.477 2 12 2"},null,-1)]])}var v9,b9,y9,O9=V(()=>{z6(),Rc(),v9=$6({default:()=>y9,render:()=>g9}),b9={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},y9={render:g9}});function x9(e,t){return Zo(),qo("svg",k9,[...t[0]||=[Go("path",{d:"M23.93 10.67a.76.76 0 0 0-.75-.67H12.75a.76.76 0 0 0-.75.75v3.5a.76.76 0 0 0 .75.75h5.58A7 7 0 1 1 12 5a7 7 0 0 1 4.23 1.42.74.74 0 0 0 1-.07l2.47-2.49a.75.75 0 0 0 .22-.57.77.77 0 0 0-.27-.54A12 12 0 1 0 24 12a12 12 0 0 0-.07-1.33"},null,-1)]])}var w9,k9,S9,A9=V(()=>{z6(),Rc(),w9=$6({default:()=>S9,render:()=>x9}),k9={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},S9={render:x9}});function _9(e,t){return Zo(),qo("svg",E9,[...t[0]||=[Go("path",{d:"M9.2 9.2c0-.5.1-1 .4-1.5s.6-.8 1.1-1q.75-.3 1.5-.3c.75 0 1 .2 1.4.5s.7.7 1 1.2c.2.5.3 1 .2 1.5s-.3 1-.6 1.4-.8.7-1.2.9c-.255.128-.5.3-.7.5s-.3.5-.3.8v.9m0 3.5c-.2 0-.4-.2-.4-.4s.2-.4.4-.4.4.2.4.4-.2.4-.4.4"},null,-1),Go("path",{d:"M12 22c5.524 0 10-4.476 10-10S17.524 2 12 2 2 6.476 2 12s4.476 10 10 10"},null,-1)]])}var T9,E9,C9,P9=V(()=>{z6(),Rc(),T9=$6({default:()=>C9,render:()=>_9}),E9={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},C9={render:_9}});function M9(e,t){return Zo(),qo("svg",N9,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M9.88 14.12a3 3 0 1 1 4.24-4.24m-3.39 9.04q.632.079 1.27.08c7 0 10-7 10-7a13.2 13.2 0 0 0-1.67-2.68M6.61 17.39A13.5 13.5 0 0 1 2 12s3-7 10-7a9.74 9.74 0 0 1 5.39 1.61M2 22 22 2"},null,-1)]])}var $9,N9,I9,R9=V(()=>{z6(),Rc(),$9=$6({default:()=>I9,render:()=>M9}),N9={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},I9={render:M9}});function D9(e,t){return Zo(),qo("svg",B9,[...t[0]||=[Go("path",{d:"M12.9 6.8v6.1h4.7"},null,-1),Go("path",{d:"M6.1 17.2c1.6 2.2 4.2 3.6 7.1 3.6 4.8 0 8.8-3.9 8.8-8.8s-3.9-8.8-8.8-8.8-8.8 4-8.8 8.8v1.7M2 11.3l2.4 2.4 2.4-2.4"},null,-1)]])}var L9,B9,j9,U9=V(()=>{z6(),Rc(),L9=$6({default:()=>j9,render:()=>D9}),B9={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},j9={render:D9}});function z9(e,t){return Zo(),qo("svg",Z9,[...t[0]||=[Go("path",{d:"M22.1 9.2 12 1.5 1.8 9.2c-.2.2-.3.5-.4.7v11.7c0 .5.4.9.9.9h6.1v-4.9c0-1.9 1.6-3.5 3.5-3.5s3.5 1.6 3.5 3.5v4.9h6.1c.5 0 .9-.4.9-.9V9.9c0-.3-.1-.6-.4-.7z"},null,-1)]])}var H9,Z9,V9,Q9=V(()=>{z6(),Rc(),H9=$6({default:()=>V9,render:()=>z9}),Z9={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},V9={render:z9}});function q9(e,t){return Zo(),qo("svg",W9,[...t[0]||=[Go("path",{d:"M12 10.67v7.98M14.66 16 12 18.64 9.34 16"},null,-1),Go("path",{d:"M3.35 7.34h17.3s1.33 0 1.33 1.33v11.98s0 1.33-1.33 1.33H3.35s-1.33 0-1.33-1.33V8.67s0-1.33 1.33-1.33"},null,-1),Go("path",{d:"m2.2 8 2.13-5.19a1.33 1.33 0 0 1 1.22-.79h12.9a1.33 1.33 0 0 1 1.22.8l2.08 5.1M12 7.34V2.02"},null,-1)]])}var F9,W9,X9,G9=V(()=>{z6(),Rc(),F9=$6({default:()=>X9,render:()=>q9}),W9={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},X9={render:q9}});function Y9(e,t){return Zo(),qo("svg",J9,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10"},null,-1),Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 17v-6 0a.5.5 0 0 0-.5-.5l-.5.001h-1M12 17h-2m2 0h2"},null,-1),Go("path",{fill:"currentColor","fill-rule":"evenodd",d:"M10.75 7.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0","clip-rule":"evenodd"},null,-1)]])}var K9,J9,eee,tee=V(()=>{z6(),Rc(),K9=$6({default:()=>eee,render:()=>Y9}),J9={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},eee={render:Y9}});function aee(e,t){return Zo(),qo("svg",nee,[...t[0]||=[Go("path",{d:"M12.82 14.51 15.36 12l1.76.47a1.56 1.56 0 0 0 1.51-.47 1.58 1.58 0 0 0 .37-1.49l-.47-1.75.82-.76 1.76.47A1.56 1.56 0 0 0 22.62 8 1.58 1.58 0 0 0 23 6.52l-.47-1.75a2.35 2.35 0 0 0-3.33-3.33l-9.71 9.74a6.29 6.29 0 1 0 3.33 3.33"},null,-1),Go("path",{d:"M4.26 17.84a1.9 1.9 0 1 0 3.8 0 1.9 1.9 0 1 0-3.8 0"},null,-1)]])}var ree,nee,oee,iee=V(()=>{z6(),Rc(),ree=$6({default:()=>oee,render:()=>aee}),nee={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},oee={render:aee}});function see(e,t){return Zo(),qo("svg",cee,[...t[0]||=[Go("path",{d:"M16.35 16.5v1c0 1.1-.9 2-2 2H2.75c-1.1 0-2-.9-2-2v-11c0-1.1.9-2 2-2h11.6c1.1 0 2 .9 2 2v1M5.25 12h18m0 0-3 3.1m3-3.1-3-2.9"},null,-1)]])}var lee,cee,uee,dee=V(()=>{z6(),Rc(),lee=$6({default:()=>uee,render:()=>see}),cee={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},uee={render:see}});function pee(e,t){return Zo(),qo("svg",mee,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.55 12a5.46 5.46 0 1 0 10.91.481A5.46 5.46 0 0 0 6.55 12m0 0H2m4.55 0H4.73m12.31 2.1a5.46 5.46 0 0 1-6.614-6.887M12 2v4.55m7.08-1.62-3.22 3.22M22 12h-4.54m1.62 7.08L16 16.01M12 22v-4m-7.07 1.08L8 16.01M4.93 4.93l3.22 3.22"},null,-1)]])}var hee,mee,fee,gee=V(()=>{z6(),Rc(),hee=$6({default:()=>fee,render:()=>pee}),mee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},fee={render:pee}});function vee(e,t){return Zo(),qo("svg",yee,[...t[0]||=[Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.501 12a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0m4.5-10.5v3m0 15v3m10.5-10.5h-3m-15 0h-3m17.924-7.424-2.121 2.121M6.697 17.304l-2.121 2.121m14.849 0-2.121-2.121M6.697 6.697 4.576 4.576"},null,-1)]])}var bee,yee,Oee,xee=V(()=>{z6(),Rc(),bee=$6({default:()=>Oee,render:()=>vee}),yee={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Oee={render:vee}});function wee(e,t){return Zo(),qo("svg",See,[...t[0]||=[Go("path",{d:"M13.5 18 12 19.5c-1 1-2.3 1.5-3.7 1.5s-2.7-.6-3.7-1.5c-1-1-1.5-2.3-1.5-3.7s.6-2.7 1.5-3.7l1.5-1.5M10.5 6 12 4.5c1-1 2.3-1.5 3.7-1.5s2.7.6 3.7 1.5c1 1 1.5 2.3 1.5 3.7s-.6 2.7-1.5 3.7l-1.5 1.5M9 15l6-6"},null,-1)]])}var kee,See,Aee,_ee=V(()=>{z6(),Rc(),kee=$6({default:()=>Aee,render:()=>wee}),See={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},Aee={render:wee}});function Tee(e,t){return Zo(),qo("svg",Cee,[...t[0]||=[Go("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),Go("path",{d:"M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M7 10V7a5 5 0 1 1 10 0v3"},null,-1)]])}var Eee,Cee,Pee,Mee=V(()=>{z6(),Rc(),Eee=$6({default:()=>Pee,render:()=>Tee}),Cee={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},Pee={render:Tee}});function $ee(e,t){return Zo(),qo("svg",Iee,[...t[0]||=[Go("path",{"fill-rule":"evenodd",d:"M347 0c6 0 12 5 12 12v134l94-95c5-5 13-5 17 0l72 72c4 4 5 12 0 16v1l-95 94h134c7 0 12 5 12 12v101c0 7-5 12-12 12H447l95 94c4 5 5 13 0 17l-72 72c-4 4-12 5-16 0h-1l-94-95v134c0 7-5 12-12 12H246c-7 0-12-5-12-12v-70c0-22 9-43 24-59l130-130c14-14 14-37 0-51L259 142a84 84 0 0 1-25-59V12c0-7 5-12 12-12zM138 52h1l219 219c14 14 14 37 0 51L139 542c-4 5-12 5-17 0l-71-70c-4-5-5-12 0-17l95-96H12c-7 0-12-5-12-12V246c0-7 5-12 12-12h134l-95-94c-4-5-4-12 0-17l71-71c4-5 12-5 16 0"},null,-1)]])}var Nee,Iee,Ree,Dee=V(()=>{z6(),Rc(),Nee=$6({default:()=>Ree,render:()=>$ee}),Iee={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 593 593"},Ree={render:$ee}});function Lee(e,t){return Zo(),qo("svg",jee,[...t[0]||=[Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m.75 23.25 15-15m-5.25 0H8.25m15 0H21M21 3l-1.591 1.591M15.75 3V.75m0 15V13.5m-3.659-8.909L10.5 3M21 13.5l-1.591-1.591"},null,-1)]])}var Bee,jee,Uee,zee=V(()=>{z6(),Rc(),Bee=$6({default:()=>Uee,render:()=>Lee}),jee={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Uee={render:Lee}});function Hee(e,t){return Zo(),qo("svg",Vee,[...t[0]||=[Go("path",{fill:"currentColor",d:"M3 16.142V8.245h2.323l2.322 2.903 2.323-2.903h2.322v7.897H9.968v-4.53l-2.323 2.904-2.322-2.903v4.529zm14.516 0-3.484-3.832h2.323V8.245h2.322v4.065H21z"},null,-1)]])}var Zee,Vee,Qee,qee=V(()=>{z6(),Rc(),Zee=$6({default:()=>Qee,render:()=>Hee}),Vee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Qee={render:Hee}});function Fee(e,t){return Zo(),qo("svg",Xee,[...t[0]||=[Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 6.8H2m20 10.4H2"},null,-1)]])}var Wee,Xee,Gee,Yee=V(()=>{z6(),Rc(),Wee=$6({default:()=>Gee,render:()=>Fee}),Xee={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Gee={render:Fee}});function Kee(e,t){return Zo(),qo("svg",ete,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m4.9 4.9 14.2 14.2M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"},null,-1)]])}var Jee,ete,tte,ate=V(()=>{z6(),Rc(),Jee=$6({default:()=>tte,render:()=>Kee}),ete={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},tte={render:Kee}});function rte(e,t){return Zo(),qo("svg",ote,[...t[0]||=[Go("path",{d:"M17.333 5.34c1.39-.22 2.796-.334 4.205-.34.121 0 .238.043.329.122a.44.44 0 0 1 .133.314v13.73a.44.44 0 0 1-.133.306.46.46 0 0 1-.311.13C14.186 19.708 12 22 12 22m0 0V7.38S9.822 5.096 2.462 5a.5.5 0 0 0-.329.122.44.44 0 0 0-.133.314v13.73a.44.44 0 0 0 .133.306.46.46 0 0 0 .311.13C9.814 19.708 12 22 12 22"},null,-1),Go("path",{d:"M12 22a5.67 5.67 0 0 1 1.367-3.135c.967-1.141 2.237-1.923 3.633-2.236V2.443a.45.45 0 0 0-.051-.21.4.4 0 0 0-.14-.154.47.47 0 0 0-.409-.054 6.44 6.44 0 0 0-3.033 2.063A5.86 5.86 0 0 0 12 7.205"},null,-1)]])}var nte,ote,ite,ste=V(()=>{z6(),Rc(),nte=$6({default:()=>ite,render:()=>rte}),ote={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},ite={render:rte}});function lte(e,t){return Zo(),qo("svg",ute,[...t[0]||=[Go("path",{d:"M17 3a2.85 2.85 0 0 1 2.064-1.007 2.87 2.87 0 0 1 2.14.834 2.83 2.83 0 0 1 .825 2.131A2.8 2.8 0 0 1 21 7L7.5 20.5 2 22l1.5-5.5z"},null,-1)]])}var cte,ute,dte,pte=V(()=>{z6(),Rc(),cte=$6({default:()=>dte,render:()=>lte}),ute={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},dte={render:lte}});function hte(e,t){return Zo(),qo("svg",fte,[...t[0]||=[Go("path",{d:"M6 6.663c0-1.582 1.75-2.538 3.082-1.682l8.301 5.337a2 2 0 0 1 0 3.364L9.082 19.02C7.75 19.875 6 18.919 6 17.337z"},null,-1)]])}var mte,fte,gte,vte=V(()=>{z6(),Rc(),mte=$6({default:()=>gte,render:()=>hte}),fte={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},gte={render:hte}});function bte(e,t){return Zo(),qo("svg",Ote,[...t[0]||=[Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 14.248v4.5H.75m18-9v-4.5h4.5m-4.218-.003A9.752 9.752 0 0 1 8.246 21m-3.279-2.249A9.753 9.753 0 0 1 15.754 3"},null,-1)]])}var yte,Ote,xte,wte=V(()=>{z6(),Rc(),yte=$6({default:()=>xte,render:()=>bte}),Ote={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},xte={render:bte}});function kte(e,t){return Zo(),qo("svg",Ate,[...t[0]||=[Go("path",{d:"M16.22 2.663a1.47 1.47 0 0 0-1.09 0L8.87 5.167c-.35.14-.74.14-1.09 0L1.982 2.848a.735.735 0 0 0-1.008.686V17.62c0 .601.366 1.142.924 1.365l5.88 2.352c.35.14.742.14 1.092 0l6.258-2.504c.35-.14.741-.14 1.092 0l5.796 2.315a.735.735 0 0 0 1.008-.686V6.38a1.47 1.47 0 0 0-.924-1.365ZM8.325 5.272v16.17m7.35-18.884v16.17"},null,-1)]])}var Ste,Ate,_te,Tte=V(()=>{z6(),Rc(),Ste=$6({default:()=>_te,render:()=>kte}),Ate={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},_te={render:kte}});function Ete(e,t){return Zo(),qo("svg",Pte,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M3 15c1.895 3 3.79 4 6.632 4s6.631-3 6.631-7-2.842-7-5.684-7-4.737 1.5-4.737 4 1.895 5 5.684 5S19.492 11.547 21 9"},null,-1)]])}var Cte,Pte,Mte,$te=V(()=>{z6(),Rc(),Cte=$6({default:()=>Mte,render:()=>Ete}),Pte={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Mte={render:Ete}});function Nte(e,t){return Zo(),qo("svg",Rte,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16m10 2-4.35-4.35"},null,-1)]])}var Ite,Rte,Dte,Lte=V(()=>{z6(),Rc(),Ite=$6({default:()=>Dte,render:()=>Nte}),Rte={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Dte={render:Nte}});function Bte(e,t){return Zo(),qo("svg",Ute,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2m16 0H4m16 0a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2"},null,-1),Go("path",{fill:"currentColor",d:"M18 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)]])}var jte,Ute,zte,Hte=V(()=>{z6(),Rc(),jte=$6({default:()=>zte,render:()=>Bte}),Ute={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},zte={render:Bte}});function Zte(e,t){return Zo(),qo("svg",Qte,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M20 7H9m0 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 10H5m11 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0"},null,-1)]])}var Vte,Qte,qte,Fte=V(()=>{z6(),Rc(),Vte=$6({default:()=>qte,render:()=>Zte}),Qte={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},qte={render:Zte}});function Wte(e,t){return Zo(),qo("svg",Gte,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7"},null,-1),Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6"},null,-1)]])}var Xte,Gte,Yte,Kte=V(()=>{z6(),Rc(),Xte=$6({default:()=>Yte,render:()=>Wte}),Gte={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Yte={render:Wte}});function Jte(e,t){return Zo(),qo("svg",tae,[...t[0]||=[Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 5.4h20M2 12h20M2 18.6h13.3"},null,-1)]])}var eae,tae,aae,rae=V(()=>{z6(),Rc(),eae=$6({default:()=>aae,render:()=>Jte}),tae={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},aae={render:Jte}});function nae(e,t){return Zo(),qo("svg",iae,[...t[0]||=[Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13 15h5M6 9l4 3-4 3"},null,-1),Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M21 2.8H3.1c-.7 0-1.4.6-1.4 1.4v15.6c0 .7.6 1.4 1.4 1.4H21c.7 0 1.4-.6 1.4-1.4V4.2c0-.8-.5-1.4-1.3-1.4z"},null,-1)]])}var oae,iae,sae,lae=V(()=>{z6(),Rc(),oae=$6({default:()=>sae,render:()=>nae}),iae={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},sae={render:nae}});function cae(e,t){return Zo(),qo("svg",dae,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m19.5 5.75-1.51 14.34a1.67 1.67 0 0 1-1.66 1.5H7.67A1.67 1.67 0 0 1 6 20.08L4.5 5.75m-2.08 0h19.16m-13.33 0v-2.5a.83.83 0 0 1 .83-.83h5.84a.83.83 0 0 1 .83.83v2.5M12 9.5v8.75m3.75-8.75-.42 8.75M8.25 9.5l.42 8.75"},null,-1)]])}var uae,dae,pae,hae=V(()=>{z6(),Rc(),uae=$6({default:()=>pae,render:()=>cae}),dae={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},pae={render:cae}});function mae(e,t){return Zo(),qo("svg",gae,[...t[0]||=[Go("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),Go("path",{d:"M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M17 10V7a5 5 0 0 0-9.33-2.5"},null,-1)]])}var fae,gae,vae,bae=V(()=>{z6(),Rc(),fae=$6({default:()=>vae,render:()=>mae}),gae={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},vae={render:mae}});function yae(e,t){return Zo(),qo("svg",xae,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.9 19.1c-3.038-3.038-3.71-7.592-2.015-11.3M7.8 16.2c-1.397-1.397-1.945-3.346-1.646-5.2M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19m-8.423-8.5a2 2 0 0 1 2.75 2.901M22 22 2 2"},null,-1)]])}var Oae,xae,wae,kae=V(()=>{z6(),Rc(),Oae=$6({default:()=>wae,render:()=>yae}),xae={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},wae={render:yae}});function Sae(e,t){return Zo(),qo("svg",_ae,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.33v15.32m5.37-9.95L12 4.33 6.63 9.7"},null,-1)]])}var Aae,_ae,Tae,Eae=V(()=>{z6(),Rc(),Aae=$6({default:()=>Tae,render:()=>Sae}),_ae={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Tae={render:Sae}});function Cae(e,t){return Zo(),qo("svg",Mae,[...t[0]||=[Go("path",{d:"M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z"},null,-1),Go("circle",{cx:"12",cy:"6.2",r:"4.5"},null,-1)]])}var Pae,Mae,$ae,Nae=V(()=>{z6(),Rc(),Pae=$6({default:()=>$ae,render:()=>Cae}),Mae={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},$ae={render:Cae}});function Iae(e,t){return Zo(),qo("svg",Dae,[...t[0]||=[Go("path",{d:"M11.101 1.488H4.83a1 1 0 0 0-1 1v6.614m9.069 13.41h6.272a1 1 0 0 0 1-1v-6.614"},null,-1),Go("path",{d:"m1.23 6.5 2.6 2.6 2.601-2.6m16.339 11-2.6-2.6-2.601 2.6M5.505 18.546a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.29-3.202-4.276-3.202-1.988 0-3.718 1.372-4.277 3.202m17.264-15.92a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.289-3.202-4.276-3.202s-3.718 1.372-4.276 3.202"},null,-1)]])}var Rae,Dae,Lae,Bae=V(()=>{z6(),Rc(),Rae=$6({default:()=>Lae,render:()=>Iae}),Dae={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},Lae={render:Iae}});function jae(e,t){return Zo(),qo("svg",zae,[...t[0]||=[Go("path",{d:"M3.375 7.875a4.125 4.125 0 1 0 8.25 0 4.125 4.125 0 1 0-8.25 0M.75 20.25a6.75 6.75 0 0 1 13.5 0m.001-15.834a4.125 4.125 0 1 1-.006 6.914M15 13.667a6.757 6.757 0 0 1 8.25 6.583"},null,-1)]])}var Uae,zae,Hae,Zae=V(()=>{z6(),Rc(),Uae=$6({default:()=>Hae,render:()=>jae}),zae={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},Hae={render:jae}});function Vae(e,t){return Zo(),qo("svg",qae,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m5.246 12.069-2.74 1.569a1 1 0 0 0 .001 1.74l8.5 4.87a2 2 0 0 0 2 0l8.5-4.87a.999.999 0 0 0 0-1.74l-2.702-1.548m-5.798 3.158a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l8.5-4.87a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z"},null,-1)]])}var Qae,qae,Fae,Wae=V(()=>{z6(),Rc(),Qae=$6({default:()=>Fae,render:()=>Vae}),qae={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Fae={render:Vae}});function Xae(e,t){return Zo(),qo("svg",Yae,[...t[0]||=[Go("path",{d:"M2.97 2.771 13.908 5.88a3.77 3.77 0 0 1 2.592 3.5v10.51a2.052 2.052 0 0 1-2.6 2.167l-9.048-2.46a3.7 3.7 0 0 1-2.6-3.457V4.688a2.75 2.75 0 0 1 2.67-2.813H18.75a3 3 0 0 1 3 3v8.953a3.073 3.073 0 0 1-3.11 3.047H16.5"},null,-1),Go("path",{d:"M12.375 13.875a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75m9.375-3.75H16.5"},null,-1)]])}var Gae,Yae,Kae,Jae=V(()=>{z6(),Rc(),Gae=$6({default:()=>Kae,render:()=>Xae}),Yae={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},Kae={render:Xae}});function ere(e,t){return Zo(),qo("svg",are,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9m2.9 11.3c-2.3-2.3-2.3-6.1 0-8.5m8.4.1c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0"},null,-1)]])}var tre,are,rre,nre=V(()=>{z6(),Rc(),tre=$6({default:()=>rre,render:()=>ere}),are={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},rre={render:ere}});function ore(e,t){return Zo(),qo("svg",sre,[...t[0]||=[Go("path",{d:"M20.25 3.75v19.5M3.75 3.75h16.5m-16.5 19.5V3.75m16.5 19.5H3.75m16.5-19.5H3.75l1.5-3h13.5zM.75 23.25h22.5m-9-2.25a2.25 2.25 0 0 0-4.5 0v2.25h4.5zM7.5 7.13a.37.37 0 1 1 0-.75m0 .75a.37.37 0 1 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m-9 5.25a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m-9 5.26a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75"},null,-1)]])}var ire,sre,lre,cre=V(()=>{z6(),Rc(),ire=$6({default:()=>lre,render:()=>ore}),sre={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},lre={render:ore}});function ure(e,t){return Zo(),qo("svg",pre,[...t[0]||=[Go("path",{d:"M9.931 12.645h4.138l-2.07-4.908m0-7.737L.68 3.982l1.726 14.771L12 24l9.596-5.242L23.32 3.984zm7.064 18.31h-2.638l-1.422-3.503H8.996l-1.422 3.504h-2.64L12 2.65z"},null,-1)]])}var dre,pre,hre,mre=V(()=>{z6(),Rc(),dre=$6({default:()=>hre,render:()=>ure}),pre={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},hre={render:ure}});function fre(e,t){return Zo(),qo("svg",vre,[...t[0]||=[Go("path",{d:"M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.35 2.35 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.1 3.1 0 0 0 .378-1.494 3.1 3.1 0 0 0-.148-.954M15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.2 18.2 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.2 18.2 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.6 1.6 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.6 1.6 0 0 1 15.55.6z"},null,-1)]])}var gre,vre,bre,yre=V(()=>{z6(),Rc(),gre=$6({default:()=>bre,render:()=>fre}),vre={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},bre={render:fre}});function Ore(e,t){return Zo(),qo("svg",wre,[...t[0]||=[Go("path",{fill:"currentColor","fill-rule":"evenodd",d:"M6.335.83a.75.75 0 0 0-.67 0L1.667 2.827a.75.75 0 0 0-.417.672V18c0 .271.146.52.382.654l7.989 4.493a.75.75 0 0 0 .747.007l8-4.5A.75.75 0 0 0 18.75 18v-4.537l3.585-1.792A.75.75 0 0 0 22.75 11V6a.75.75 0 0 0-.417-.672l-3.998-1.999a.75.75 0 0 0-.67 0l-3.997 1.999a.7.7 0 0 0-.246.194.75.75 0 0 0-.172.478v4.561l-2.5 1.407V3.5a.75.75 0 0 0-.43-.678L6.336.829Zm7.686 11.019 2.38 1.19-6.422 3.612-2.38-1.19zm3.229-.063-2.5-1.25V7.215l2.5 1.25zm1.5 0 2.5-1.25V7.215l-2.5 1.25zm-9.5 1.025V4.714l-2.5 1.25v8.254zm-1.005 4.65.743.372c.17.091.262.153.262.183v3.202l-6.5-3.657V4.714l2.5 1.25V15.5a.75.75 0 0 0 .415.67s1.122.591 2.108 1.064zm2.505.478 6.5-3.657v3.28l-6.5 3.656v-3.28ZM6 4.66 3.677 3.5 6 2.339 8.323 3.5zM20.323 6 18 4.839 15.677 6 18 7.161z","clip-rule":"evenodd"},null,-1)]])}var xre,wre,kre,Sre=V(()=>{z6(),Rc(),xre=$6({default:()=>kre,render:()=>Ore}),wre={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},kre={render:Ore}});function Are(e,t){return Zo(),qo("svg",Tre,[...t[0]||=[Go("path",{d:"M11.573 0a5 5 0 0 0-.359.007L10.85.04c-3.407.307-6.6 2.146-8.622 4.972a11.9 11.9 0 0 0-2.119 5.243c-.096.659-.108.854-.108 1.747s.012 1.089.108 1.748c.652 4.506 3.86 8.292 8.209 9.695.779.25 1.6.422 2.534.525.363.04 1.935.04 2.299 0 1.611-.178 2.977-.577 4.323-1.264.207-.106.247-.134.219-.158-.02-.013-.9-1.193-1.955-2.62l-1.919-2.592-2.404-3.558a339 339 0 0 0-2.422-3.556c-.009-.002-.018 1.579-.023 3.51-.007 3.38-.01 3.515-.052 3.595a.43.43 0 0 1-.206.214c-.075.037-.14.044-.495.044H7.81l-.108-.068a.44.44 0 0 1-.157-.171l-.05-.106.006-4.703.007-4.705.072-.092a.7.7 0 0 1 .174-.143c.096-.047.134-.051.54-.051.478 0 .558.018.682.154a467 467 0 0 1 2.895 4.361l4.735 7.17 1.9 2.879.096-.063a12.3 12.3 0 0 0 2.466-2.163 11.94 11.94 0 0 0 2.824-6.134c.096-.66.108-.854.108-1.748 0-.893-.012-1.088-.108-1.747-.652-4.506-3.859-8.292-8.208-9.695a12.6 12.6 0 0 0-2.499-.523A33 33 0 0 0 11.573 0m4.068 7.217c.347 0 .408.005.486.047a.47.47 0 0 1 .237.277c.018.06.023 1.365.018 4.304l-.006 4.218-.744-1.14-.746-1.14v-3.066c0-1.982.01-3.097.023-3.15a.48.48 0 0 1 .233-.296c.096-.05.13-.054.5-.054z"},null,-1)]])}var _re,Tre,Ere,Cre=V(()=>{z6(),Rc(),_re=$6({default:()=>Ere,render:()=>Are}),Tre={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},Ere={render:Are}});function Pre(e,t){return Zo(),qo("svg",$re,[...t[0]||=[Go("path",{d:"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236m2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38a2.17 2.17 0 0 0-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44a23.5 23.5 0 0 0-3.107-.534A24 24 0 0 0 12.769 4.7c1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442a23 23 0 0 0-3.113.538 15 15 0 0 1-.254-1.42c-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05q.684.704 1.36 1.564c-.44-.02-.89-.034-1.345-.034q-.691-.001-1.36.034c.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093q.61.874 1.183 1.86.557.961 1.018 1.946c-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87a25.6 25.6 0 0 1-4.412.005 27 27 0 0 1-1.183-1.86q-.557-.961-1.018-1.946a25 25 0 0 1 1.013-1.954c.38-.66.773-1.286 1.18-1.868A25 25 0 0 1 12 8.098zm-3.635.254c-.24.377-.48.763-.704 1.16q-.336.585-.635 1.174c-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0q1.044.153 2.006.387c-.18.632-.405 1.282-.66 1.933a26 26 0 0 0-1.345-2.32zm3.063.675q.727.226 1.375.498c1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493a24 24 0 0 0-1.1-2.98c.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98a23 23 0 0 0-1.086 2.964c-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474s1.12-1.742 2.852-2.476c.42-.18.88-.342 1.356-.494m11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39a26 26 0 0 0 1.341-2.338zm-9.945.02c.2.392.41.783.64 1.175q.345.586.705 1.143a22 22 0 0 1-2.006-.386c.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295a1.2 1.2 0 0 1-.553-.132c-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64q.661.032 1.345.034.691.001 1.36-.034c-.44.572-.895 1.095-1.345 1.565q-.684-.706-1.36-1.565"},null,-1)]])}var Mre,$re,Nre,Ire=V(()=>{z6(),Rc(),Mre=$6({default:()=>Nre,render:()=>Pre}),$re={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},Nre={render:Pre}});function Rre(e,t){return Zo(),qo("svg",Lre,[...t[0]||=[Go("path",{d:"M23.94 3a.5.5 0 0 0-.44-.25h-2.31l-8.55 13.91a.75.75 0 0 1-1.28 0L2.81 2.77H.5A.5.5 0 0 0 .06 3a.54.54 0 0 0 0 .51l11.5 19a.51.51 0 0 0 .86 0l11.5-19a.54.54 0 0 0 .02-.51"},null,-1),Go("path",{d:"m12 14.84 7.43-12.07H16a.47.47 0 0 0-.43.25L12 9.26 8.43 3A.47.47 0 0 0 8 2.77H4.57Z"},null,-1)]])}var Dre,Lre,Bre,jre=V(()=>{z6(),Rc(),Dre=$6({default:()=>Bre,render:()=>Rre}),Lre={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},Bre={render:Rre}});function Ure(e,t){return Zo(),qo("svg",Hre,[...t[0]||=[Go("path",{d:"m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6M64 88.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5"},null,-1)]])}var zre,Hre,Zre,Vre=V(()=>{z6(),Rc(),zre=$6({default:()=>Zre,render:()=>Ure}),Hre={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},Zre={render:Ure}});function Qre(e,t){return Zo(),qo("svg",Fre,[...t[0]||=[Go("path",{d:"M60.952.266C27.377.266.065 28.77.065 63.806s27.318 63.54 60.887 63.54c33.576 0 60.893-28.505 60.893-63.54S94.528.266 60.952.266m0 6.117c30.39 0 55.025 25.712 55.025 57.423 0 2.482-.167 4.924-.46 7.321-1.495 6.214-4.194 10.358-7.412 13.19-4.941 4.336-11.524 5.738-17.62 5.733a41 41 0 0 1-4.973-.289C97.506 77.4 99.336 57.866 89.864 43.315 80.39 28.763 62.315 23.338 46.882 30.416a24 24 0 0 0-1.68-1.114c-2.41-1.413-7.439-3.482-13.837-3.505-5.361-.022-10.615 1.568-15.133 4.58C26.554 15.317 43.21 6.386 60.952 6.394zM51.341 84.6c.894-4.07 3.343-10.431 5.548-15.655.623-1.481 1.23-2.872 1.777-4.104 3.451 12.822 5.635 20.449 9.546 25.65a18 18 0 0 0 1.913 2.114 28 28 0 0 1-9.173 1.56 28.2 28.2 0 0 1-10.023-1.86q-.098-1.227-.103-2.459a24.5 24.5 0 0 1 .515-5.24zm-7.444 3.77c-7.555-5.703-12.031-14.84-12.04-24.57.008-9.88 4.625-19.138 12.375-24.813 1.637.984 3.121 2.143 4.34 3.477 2.395 2.56 5.077 8.214 6.94 13.082.51 1.312.965 2.567 1.36 3.709C50.16 73.502 45.685 80.608 43.898 88.37zm21.802-18.226c-1.501-4.037-2.374-7.079-2.379-7.084l-.005-.012c-2.747-10.984-5.592-21.025-11.497-28.052a28 28 0 0 1 9.134-1.55c16.06.022 29.074 13.602 29.095 30.36-.007 9.673-4.432 18.764-11.914 24.474a15 15 0 0 1-2.184-.78c-1.137-.514-2.812-2.267-4.329-4.698-2.313-3.635-4.437-8.622-5.927-12.653zm-4.747 51.08c-30.39 0-55.025-25.707-55.025-57.424 0-2.086.114-4.144.32-6.173 4.508-16 15.338-21.92 25.595-22.02 2.08-.007 4.117.282 6.068.774-13.182 12.081-15.74 32.487-5.979 47.7 9.762 15.213 28.817 20.518 44.544 12.403 2.78 1.023 5.96 1.633 9.812 2.137 1.447.186 3.007.277 4.665.277a61.6 61.6 0 0 0 14.997-2.087c-10.29 15.308-27.088 24.417-45.007 24.407z"},null,-1)]])}var qre,Fre,Wre,Xre=V(()=>{z6(),Rc(),qre=$6({default:()=>Wre,render:()=>Qre}),Fre={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},Wre={render:Qre}});function Gre(e,t){return Zo(),qo("svg",Kre,[...t[0]||=[Go("path",{d:"m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6m-53.5 70c-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8M115 62h-3.2l-.9 4h4.1v5h-5l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2 6h3.8l1.2-6h4.8l-1.2 6h2.2zm-12.7 4h3.8l.9-4h-3.8z"},null,-1)]])}var Yre,Kre,Jre,ene=V(()=>{z6(),Rc(),Yre=$6({default:()=>Jre,render:()=>Gre}),Kre={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},Jre={render:Gre}});function tne(e,t){return Zo(),qo("svg",rne,[...t[0]||=[Go("path",{d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53z"},null,-1)]])}var ane,rne,nne,one=V(()=>{z6(),Rc(),ane=$6({default:()=>nne,render:()=>tne}),rne={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},nne={render:tne}});function ine(e,t){return Zo(),qo("svg",lne,[...t[0]||=[Go("path",{d:"m7.91 9.32.09.09V35.3l-5.09-5.09a6.22 6.22 0 0 1-1.27-6.92zM35.3 8H9.41l-.09-.09 13.97-6.27a6.22 6.22 0 0 1 6.92 1.27zm2.29 31H11.71l-.54-.54A4 4 0 0 1 10 35.63V11.41zm-23.88 2H39v6c0 .55-.45 1-1 1H21.1c-.27 0-.52-.11-.71-.29l-4.7-4.7.02-.02zM48 21.1V38c0 .55-.45 1-1 1h-6.58L11.41 10h24.22c1.07 0 2.07.42 2.83 1.17l4.53 4.54.02-.02 4.7 4.7c.18.19.29.44.29.71"},null,-1)]])}var sne,lne,cne,une=V(()=>{z6(),Rc(),sne=$6({default:()=>cne,render:()=>ine}),lne={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 50 50"},cne={render:ine}});function dne(e,t){return Zo(),qo("svg",hne,[...t[0]||=[Go("path",{d:"M0 64.5 60.7 3.8v30.4L30.4 64.5l30.4 30.4v30.4zm39.1 0 21.7-21.7v43.4zm88.9 0L65.1 3.8v30.4l30.4 30.4-30.4 30.3v30.4z"},null,-1)]])}var pne,hne,mne,fne=V(()=>{z6(),Rc(),pne=$6({default:()=>mne,render:()=>dne}),hne={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},mne={render:dne}});function gne(e,t){return Zo(),qo("svg",bne,[...t[0]||=[Go("path",{d:"M108.2 64.8c-.1-.1-.2-.2-.4-.2l-.1-.1c-.1-.1-.2-.1-.2-.2l-.1-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1-.1 0-.1 0-.2-.1l-.3-.1c-.1 0-.1 0-.2-.1l-.3-.1h-.1l-.4-.1h-.2c-.1 0-.2 0-.3-.1h-2.3c-.6-13.3.6-26.8-2.8-39.6 12.9-4.6 2.8-22.3-8.4-14.4-7.4-6.4-17.6-7.8-28.3-7.8-10.5.7-20.4 2.9-27.4 8.4-2.8-1.4-5.5-1.8-7.9-1.1v.1c-.1 0-.3.1-.4.2-.1 0-.3.1-.4.2h-.1c-.1 0-.2.1-.4.2h-.1l-.3.2h-.1l-.3.2h-.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2-.1.1c-.1.1-.2.1-.2.2l-.1.1-.2.2-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1c.4.3.4.4.4.4v.1l-.1.3v.1c0 .1 0 .2-.1.3v3.1c0 .1 0 .2.1.3v.1l.1.3v.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3.1.1.3.3.3.3h.1c1 .9 2 1.6 4 2.2v-.2C23 37.3 26.5 50 26.7 63c-.6 0-.7.4-1.7.5h-.5c-.1 0-.3 0-.5.1-.1 0-.3 0-.4.1l-.4.1h-.1l-.4.1h-.1l-.3.1h-.1l-.3.1s-.1 0-.1.1l-.3.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.4.3c-.1.1-.2.2-.3.2l-.4.4-.1.1c-.1.2-.3.4-.4.5l-.2.3-.3.6-.1.3v.3c0 .5.2.9.9 1.2.2 3.7 3.9 2 5.6.8l.1-.1c.2-.2.5-.3.6-.3h.1l.2-.1c.1 0 .1 0 .2-.1.2-.1.4-.1.5-.2.1 0 .1-.1.1-.2l.1-.1c.1-.2.2-.6.2-1.2l.1-1.3v1.8c-.5 13.1-4 30.7 3.3 42.5 1.3 2.1 2.9 3.9 4.7 5.4h-.5c-.2.2-.5.4-.8.6l-.9.6-.3.2-.6.4-.9.7-1.1 1c-.2.2-.3.4-.4.5l-.4.6-.2.3c-.1.2-.2.4-.2.6l-.1.3q-.3 1.2.6 2.7l.4.4h.2c.1 0 .2 0 .4.1.2.4 1.2 2.5 3.9.9 2.8-1.5 4.7-4.6 8.1-5.1l-.5-.6c5.9 2.8 12.8 4 19 4.2 8.7.3 18.6-.9 26.5-5.2 2.2.7 3.9 3.9 5.8 5.4l.1.1.1.1.1.1.1.1s.1 0 .1.1c0 0 .1 0 .1.1 0 0 .1 0 .1.1h2.1s.1 0 .1-.1h.1s.1 0 .1-.1h.1s.1 0 .1-.1c0 0 .1 0 .1-.1l.1-.1s.1 0 .1-.1l.1-.1h.1l.2-.2.2-.1h.1l.1-.1h.1l.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-1.4s-.3 0-.3-.1l-.3-.1v-.1l.3-.1s.2 0 .2-.1l.1-.1v-2.1s0-.1-.1-.1v-.1s0-.1-.1-.1v-.1s0-.1-.1-.1c0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1v-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1c2-1.9 3.8-4.2 5.1-6.9 5.9-11.8 4.9-26.2 4.1-39.2h.1c.1 0 .2.1.2.1h.3s.1 0 .1.1h.1s.1 0 .1.1l.2.1c1.7 1.2 5.4 2.9 5.6-.8 1.6.6-.3-1.8-1.3-2.5M36 23C32.8 7 58.4 4 59.3 19.6c.8 13-20 16.3-23.3 3.4m36.1 15c-1.3 1.4-2.7 1.2-4.1.7 0 1.9.4 3.9.1 5.9-.5.9-1.5 1-2.3 1.4-1.2-.2-2.1-.9-2.6-2l-.2-.1c-3.9 5.2-6.3-1.1-5.2-5-1.2.1-2.2-.2-3-1.5-1.4-2.6.7-5.8 3.4-6.3.7 3 8.7 2.6 10.1-.2 3.1 1.5 6.5 4.3 3.8 7.1m-7-17.5c-.9-13.8 20.3-17.5 23.4-4 3.5 15-20.8 18.9-23.4 4M41.7 17c-1.9 0-3.5 1.7-3.5 3.8s1.6 3.8 3.5 3.8 3.5-1.7 3.5-3.8-1.5-3.8-3.5-3.8m1.6 5.7c-.5 0-.8-.4-.8-1 0-.5.4-1 .8-1 .5 0 .8.4.8 1 0 .5-.3 1-.8 1m27.8-6.6c-1.9 0-3.4 1.7-3.4 3.8s1.5 3.8 3.4 3.8 3.4-1.7 3.4-3.8-1.5-3.8-3.4-3.8m1.6 5.6c-.4 0-.8-.4-.8-1 0-.5.4-1 .8-1s.8.4.8 1-.4 1-.8 1"},null,-1)]])}var vne,bne,yne,One=V(()=>{z6(),Rc(),vne=$6({default:()=>yne,render:()=>gne}),bne={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},yne={render:gne}});function xne(e,t){return Zo(),qo("svg",kne,[...t[0]||=[Go("path",{d:"M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438zm7.031 9.75-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157z"},null,-1)]])}var wne,kne,Sne,Ane=V(()=>{z6(),Rc(),wne=$6({default:()=>Sne,render:()=>xne}),kne={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},Sne={render:xne}});function _ne(e,t){return Zo(),qo("svg",Ene,[...t[0]||=[Go("path",{d:"M111.7 29.7 128 64l-16.3 34.3H16.3L0 64l16.3-34.3zm-5.5 5.7H20L6.3 64l13.6 28.6h86.3L119.8 64zm-76.3 19v8h9.2v-8.1h4.8v20.4h-4.7v-8.4H30v8.4h-4.8V54.4zm34.3 0v3.8h-6.5v16.5H53V58.2h-6.5v-3.8zm18.3 0v3.8H76v16.5h-4.7V58.2h-6.5v-3.8zm16.1.9c1.2.5 2.3 1.4 3.1 2.6.7 1.2 1.1 2.5 1 3.9.1 1.4-.3 2.7-1 3.9-.7 1.1-1.8 2-3.1 2.6-1.5.6-3.1.9-4.7.9h-4.1v5.6H85V54.4h8.9c1.6 0 3.2.3 4.7.9m-5.1 2.9h-3.8v7.1h3.8q2.1 0 3.3-.9c.8-.6 1.2-1.6 1.1-2.6 0-1.1-.3-2.1-1.1-2.6-.8-.7-1.9-1-3.3-1"},null,-1)]])}var Tne,Ene,Cne,Pne=V(()=>{z6(),Rc(),Tne=$6({default:()=>Cne,render:()=>_ne}),Ene={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},Cne={render:_ne}});function Mne(e,t){return Zo(),qo("svg",Nne,[...t[0]||=[Go("path",{d:"M11.26 15.27c3.37-.15 7.15-1.09 7-2.21a26 26 0 0 1-4.76.59c-3.62.16-6.58-.24-6.61-.9 0-.2.24-.4.69-.58-2.39-.64-3.67.53-3.69 1.22-.1 1.45 3.22 2.06 7.37 1.88m5.91 1.64a23 23 0 0 1-4.07.5c-3.09.14-5.61-.21-5.64-.77 0-.17.21-.34.59-.49-2-.55-3.13.45-3.15 1-.05 1.24 2.78 1.77 6.33 1.61 2.87-.1 6.25-1 5.94-1.85M3.61 20.8a.93.93 0 0 1 .29-.65c-2.09.1-2.54 1.13-2.51 1.76.07 1.39 4.67 2.31 10 2.05 4.44-.22 9.16-1 9.16-2.34a26.3 26.3 0 0 1-7.2 1.23c-5.35.26-9.67-.66-9.74-2.05"},null,-1),Go("path",{d:"M22.4 12.65c-.55-1.48-2.67-2.34-4.74-1.57a2.47 2.47 0 0 0-1 .81c1.94-.56 3.83 0 4.34 1.41.45 1.21-.3 2.64-1.72 3.54a1.37 1.37 0 0 0 .92-.13c2.25-1.05 2.8-2.58 2.2-4.06m-9.88-1.38s-3.1-2.19-1.92-4.35S14.37 2.43 13.38 0c0 0 .12 1-3.12 3.91s-2.14 6.33 2.26 7.36"},null,-1),Go("path",{d:"M15.17 4.83s-4.24 1.51-2.83 3.53c1 1.43 2.13 2 1.42 4 0 0 2.83-1.51.71-3.53s.7-4 .7-4M8.69 19.26c-1.6-.43-2.46.35-2.47.81 0 1 2.18 1.39 5 1.27 2.26-.11 4.73-.95 4.67-1.49a16.6 16.6 0 0 1-3.2.4c-2.43.11-4.41-.16-4.43-.61-.04-.13.13-.26.43-.38"},null,-1)]])}var $ne,Nne,Ine,Rne=V(()=>{z6(),Rc(),$ne=$6({default:()=>Ine,render:()=>Mne}),Nne={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},Ine={render:Mne}});function Dne(e,t){return Zo(),qo("svg",Bne,[...t[0]||=[Go("path",{d:"M0 0h24v24H0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179z"},null,-1)]])}var Lne,Bne,jne,Une=V(()=>{z6(),Rc(),Lne=$6({default:()=>jne,render:()=>Dne}),Bne={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},jne={render:Dne}});function zne(e,t){return Zo(),qo("svg",Zne,[...t[0]||=[Go("path",{d:"M4.56 18.71c-1.41-4-.65-8.94 1.77-11.48A5.47 5.47 0 0 1 12 5.71h.15a.8.8 0 0 1 .22.12c4 1.65 4.28 8.57 1.28 11.41a4.15 4.15 0 0 0 3.08-1.35c2.12-2.23 2.76-6.62 1.49-10.22A7.75 7.75 0 0 0 12.81.54H12a11.5 11.5 0 0 0-5.42 21.6 10 10 0 0 1-2.02-3.43"},null,-1),Go("path",{d:"M23.5 12a11.49 11.49 0 0 0-6.09-10.14 9.9 9.9 0 0 1 2 3.43c1.41 4 .65 9-1.77 11.5a5.42 5.42 0 0 1-4 1.75A6.5 6.5 0 0 1 12 18.3h-.15a.8.8 0 0 1-.22-.12c-4-1.65-4.29-8.57-1.29-11.41a4.14 4.14 0 0 0-3.11 1.32c-2.12 2.22-2.76 6.61-1.49 10.2a7.77 7.77 0 0 0 5.45 5.17H12A11.5 11.5 0 0 0 23.5 12"},null,-1)]])}var Hne,Zne,Vne,Qne=V(()=>{z6(),Rc(),Hne=$6({default:()=>Vne,render:()=>zne}),Zne={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},Vne={render:zne}});function qne(e,t){return Zo(),qo("svg",Wne,[...t[0]||=[Go("path",{d:"M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z"},null,-1)]])}var Fne,Wne,Xne,Gne=V(()=>{z6(),Rc(),Fne=$6({default:()=>Xne,render:()=>qne}),Wne={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},Xne={render:qne}});function Yne(e,t){return Zo(),qo("svg",Jne,[...t[0]||=[Go("path",{d:"M21.75 5.52 13 .28a2 2 0 0 0-2 0L2.25 5.52a2 2 0 0 0-1 1.69v9.58a2 2 0 0 0 1 1.69l2.62 1.57a3.12 3.12 0 0 0 4.73-2.68V8.12a1 1 0 0 0-2 0v9.25a1.13 1.13 0 0 1-.57 1 1.14 1.14 0 0 1-1.13 0l-2.61-1.58V7.24L12 2l8.73 5.21v9.55L12 22l-1.7-1a1 1 0 1 0-1 1.71l1.72 1a2 2 0 0 0 2 0l8.74-5.24a2 2 0 0 0 1-1.69V7.21a2 2 0 0 0-1.01-1.69"},null,-1),Go("path",{d:"M15.51 14.76a9.3 9.3 0 0 1-2.24 0 .85.85 0 0 1-.75-.85 1 1 0 0 0-2 0A2.87 2.87 0 0 0 13 16.75a12 12 0 0 0 1.36.08 12 12 0 0 0 1.37-.08 2.87 2.87 0 0 0 2.5-2.84A2.68 2.68 0 0 0 16 11.26l-2.91-.49a.69.69 0 0 1-.58-.68.85.85 0 0 1 .75-.85 9.3 9.3 0 0 1 2.24 0 .85.85 0 0 1 .75.85 1 1 0 0 0 2 0 2.87 2.87 0 0 0-2.5-2.84 12.5 12.5 0 0 0-2.73 0 2.87 2.87 0 0 0-2.51 2.84 2.68 2.68 0 0 0 2.25 2.65l2.91.49a.68.68 0 0 1 .58.68.85.85 0 0 1-.74.85"},null,-1)]])}var Kne,Jne,eoe,toe=V(()=>{z6(),Rc(),Kne=$6({default:()=>eoe,render:()=>Yne}),Jne={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},eoe={render:Yne}});function aoe(e,t){return Zo(),qo("svg",noe,[...t[0]||=[Go("path",{d:"M63.877 125.392c-32.671 0-60.37-27.594-60.627-60.469a59.94 59.94 0 0 1 17.506-42.759 60.94 60.94 0 0 1 43.279-18.36 60.08 60.08 0 0 1 42.647 17.71 60.15 60.15 0 0 1 18.157 42.522c.151 33.604-26.864 61.021-60.469 61.363h-.493zm.19-118.406a57.77 57.77 0 0 0-41.01 17.427 56.78 56.78 0 0 0-16.63 40.484c.236 31.159 26.495 57.286 57.43 57.286h.414c31.863-.29 57.504-26.266 57.385-58.128a56.97 56.97 0 0 0-17.217-40.273A56.7 56.7 0 0 0 64.068 6.986z"},null,-1),Go("path",{d:"M16.89 82.383V46.865h8.64v3.183h-4.583v29.218h4.584v3.183zm29.323-18.111c0 6.478-3.933 10.167-9.26 10.167s-8.877-4.156-8.877-9.831c0-5.939 3.722-10.121 9.167-10.121s8.97 4.36 8.97 9.785m-14.415.29c0 3.932 1.973 7.05 5.36 7.05s5.333-3.183 5.333-7.195c0-3.643-1.796-7.083-5.334-7.083s-5.392 3.328-5.392 7.307zm17.407-9.404c1.69-.29 3.407-.434 5.123-.428a9.17 9.17 0 0 1 5.537 1.223 4.06 4.06 0 0 1 2.006 3.61 4.48 4.48 0 0 1-3.183 4.183c2.269.46 3.9 2.46 3.9 4.775a5.02 5.02 0 0 1-1.861 3.978c-1.368 1.21-3.643 1.796-7.162 1.796a34 34 0 0 1-4.327-.257zm3.499 7.622h1.795c2.433 0 3.801-1.145 3.801-2.782s-1.368-2.644-3.61-2.644a9.8 9.8 0 0 0-2.006.145zm0 8.878c.618.065 1.243.092 1.86.078 2.263 0 4.262-.861 4.262-3.182s-1.94-3.183-4.373-3.183h-1.75zM69.54 54.901h3.517v12.554c0 5.334-2.577 7.116-6.365 7.116a9.3 9.3 0 0 1-2.973-.507l.428-2.834c.703.224 1.44.335 2.183.349 2.006 0 3.183-.921 3.183-4.262l.026-12.416zm13.527 10.456v2.434h-7.32v-2.434zm17.091 8.273a12.3 12.3 0 0 1-4.978.862c-6.129 0-9.851-3.834-9.851-9.707-.283-5.353 3.827-9.923 9.18-10.206.375-.02.757-.02 1.131.006a11.1 11.1 0 0 1 4.775.862l-.783 2.801a9.5 9.5 0 0 0-3.788-.75c-3.932 0-6.76 2.467-6.76 7.116 0 4.235 2.499 6.971 6.734 6.971a9.8 9.8 0 0 0 3.834-.717zM111.2 46.766v35.61h-8.641v-3.182h4.583V49.949h-4.583v-3.183h8.64z"},null,-1)]])}var roe,noe,ooe,ioe=V(()=>{z6(),Rc(),roe=$6({default:()=>ooe,render:()=>aoe}),noe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},ooe={render:aoe}});function soe(e,t){return Zo(),qo("svg",coe,[...t[0]||=[Go("path",{d:"M65.004 115.355c-.461-.894-1.004-2.796-1.356-3.601-.378-.711-1.46-2.692-1.984-3.332-1.164-1.332-1.437-1.438-1.809-3.23-.628-3.067-2.148-8.462-4.042-12.227-1.004-2-2.626-3.606-4.067-5.07-1.246-1.247-4.121-3.31-4.668-3.227-4.766.894-6.226 5.586-8.457 9.27-1.27 2.062-2.516 3.769-3.52 5.937-.898 1.98-.812 4.23-2.331 5.938a15.4 15.4 0 0 0-3.333 5.855c-.195.453-.546 4.957-1.003 6.016l7.02-.438c6.585.461 4.687 2.961 14.858 2.438l16.098-.54a25 25 0 0 0-1.433-3.792zM111.793 8.254H16.207C7.312 8.23.086 15.457.086 24.352v35.105c2.352-.812 5.578-5.75 6.668-6.934 1.789-2.062 2.16-4.77 3.059-6.378 2.062-3.793 2.433-6.477 7.101-6.477 2.164 0 3.063.516 4.5 2.516.996 1.332 2.79 3.957 3.602 5.668 1.004 1.98 2.523 4.582 3.254 5.125.515.351.972.722 1.433.894.707.27 1.356-.27 1.902-.629.622-.539.895-1.52 1.52-2.953.895-2.086 1.813-4.418 2.332-5.312.914-1.461 1.273-3.254 2.25-4.067 1.461-1.246 3.441-1.355 3.957-1.437 2.98-.625 4.336 1.437 5.777 2.707.973.894 2.243 2.605 3.246 4.851.708 1.793 1.606 3.52 2.067 4.5.351.98 1.266 2.606 1.789 4.582.543 1.711 1.809 3.067 2.352 3.961 0 0 .812 2.164 5.476 4.145a35 35 0 0 0 4.336 1.52c2.066.734 4.047.644 6.563.374 1.789 0 2.793-2.625 3.601-4.683.438-1.254.98-4.774 1.25-5.758.27-.996-.437-1.707.192-2.625.722-.977 1.164-1.082 1.519-2.332.914-2.793 5.957-2.875 8.832-2.875 2.414 0 2.063 2.332 6.125 1.52 2.336-.434 4.586.273 7.023.995 2.063.543 4.043 1.168 5.204 2.524.73.898 2.629 5.312.73 5.476.164.188.36.645.625.817-.46 1.707-2.25.46-3.332.27-1.355-.27-2.332 0-3.684.624-2.335.996-5.668.918-7.726 2.625-1.715 1.438-1.715 4.582-2.543 6.371 0 0-2.254 5.696-6.996 9.192-1.278.914-3.715 3.058-8.918 3.871-2.356.355-4.586.355-7.024.27-1.164-.079-2.332-.079-3.52-.079-.706 0-3.062-.109-2.96.164l-.27.645c.024.29.063.602.164.895.102.515.102.976.192 1.437 0 .98-.086 2.063 0 3.066.082 2.063.894 3.957 1.004 6.102.078 2.355 1.246 4.875 2.414 6.77.46.707 1.086.789 1.355 1.71.352.98 0 2.141.188 3.227.625 4.227 1.875 8.73 3.773 12.61v.078c2.332-.352 4.77-1.247 7.836-1.684 5.664-.832 13.5-.461 18.54-.914 12.796-1.168 19.706 5.226 31.148 2.601V24.336c-.063-8.895-7.293-16.102-16.207-16.102zM64.086 83.855q0-.28 0 0m-34.457 14.75c.894-1.98 1.433-4.125 2.144-6.101.73-1.899 1.813-4.61 3.684-5.582-.246-.274-3.957-.375-4.934-.461-1.082-.086-2.171-.273-3.25-.438a135 135 0 0 1-6.125-1.265c-1.168-.274-5.21-1.715-6.02-2.067-2.085-.894-3.421-3.52-4.96-3.246-.977.188-1.98.54-2.605 1.54-.543.812-.731 2.242-1.083 3.226-.437 1.086-1.168 2.164-1.707 3.25-1.277 1.875-3.332 3.582-4.23 5.484-.191.457-.27.895-.457 1.356v21.683c1.082.188 2.16.371 3.328.73 8.996 2.438 11.164 2.606 19.98 1.63l.813-.11c.625-1.437 1.188-6.207 1.629-7.644.352-1.164.812-2.063.996-3.14.164-1.09 0-2.173-.102-3.15-.171-2.628 1.895-3.519 2.899-5.69zm0 0"},null,-1)]])}var loe,coe,uoe,doe=V(()=>{z6(),Rc(),loe=$6({default:()=>uoe,render:()=>soe}),coe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},uoe={render:soe}});function poe(e,t){return Zo(),qo("svg",moe,[...t[0]||=[Go("path",{d:"M7.01 10.207h-.944l-.515 2.648h.838q.834 0 1.242-.314.408-.315.55-1.049.137-.705-.124-.995-.262-.29-1.047-.29M12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12s-5.373-6.312-12-6.312m-3.26 7.451c-.261.25-.575.438-.917.551q-.505.163-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65q1.195 0 1.744.628.549.627.33 1.752a2.8 2.8 0 0 1-.305.847q-.215.383-.561.703m4.024.715.543-2.799q.094-.478-.068-.651-.16-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218q1.15 0 1.586.401c.436.401.378.7.263 1.299l-.572 2.944zm7.597-2.265a2.8 2.8 0 0 1-.305.847q-.214.383-.561.703a2.44 2.44 0 0 1-.917.551q-.504.163-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649q1.195 0 1.744.628.55.626.331 1.751m-2.595-1.382h-.943l-.516 2.648h.838q.835 0 1.242-.314.407-.315.551-1.049.137-.705-.125-.995c-.262-.29-.524-.29-1.047-.29"},null,-1)]])}var hoe,moe,foe,goe=V(()=>{z6(),Rc(),hoe=$6({default:()=>foe,render:()=>poe}),moe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},foe={render:poe}});function voe(e,t){return Zo(),qo("svg",yoe,[...t[0]||=[Go("path",{"fill-rule":"evenodd",d:"M73.7 58.9c-1.5-1.8-3.2-3.9-5-5.9C58.5 41.7 48.4 30.3 38 19.2c-4.7-5.1-6.2-10-.6-15.1C43-.9 48.5-.4 53.7 5.3 68.1 21.2 82.4 37.2 97 52.9c5.5 5.9 4.2 9.9-1.8 14.2-23 16.7-46 33.5-68.9 50.4-5.1 3.8-10.1 4.8-14.2-.9-4.6-6.2-.3-9.9 4.4-13.3 17-12.4 34-24.8 50.9-37.4 2.5-1.7 5.9-2.8 6.3-7m7.3 59.8c-6.2 0-12.4.2-18.6-.1-4.9-.2-7.9-3-7.8-8.2.1-4.9 2.5-8.6 7.5-8.7 13.5-.4 27.1-.3 40.7 0 4.3.1 7.5 2.9 7.5 7.4 0 5.1-2.7 9.1-8.2 9.5-7.2.4-14.2.1-21.1.1","clip-rule":"evenodd"},null,-1)]])}var boe,yoe,Ooe,xoe=V(()=>{z6(),Rc(),boe=$6({default:()=>Ooe,render:()=>voe}),yoe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 121 121"},Ooe={render:voe}});function woe(e,t){return Zo(),qo("svg",Soe,[...t[0]||=[Go("path",{d:"m14.25.18.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z"},null,-1)]])}var koe,Soe,Aoe,_oe=V(()=>{z6(),Rc(),koe=$6({default:()=>Aoe,render:()=>woe}),Soe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},Aoe={render:woe}});function Toe(e,t){return Zo(),qo("svg",Coe,[...t[0]||=[Go("path",{d:"M64 14.648c-35.346 0-64 19.19-64 42.863C0 78.275 22.046 95.589 51.316 99.53V86.699c-15.55-4.89-26.166-14.693-26.166-25.991 0-16.183 21.779-29.303 48.646-29.303 26.866 0 46.693 8.975 46.693 29.303 0 10.486-5.273 17.95-14.066 22.72 1.204.908 2.22 2.072 2.904 3.419l.388.655C121.025 79.772 128 69.189 128 57.51c0-23.672-28.654-42.863-64-42.863zm20.1 74.88c-2.612.257-5.322.41-8.114.462l.002 9.63a88 88 0 0 0 12.474-2.492l-.501-.941c-.68-1.268-1.347-2.543-2.033-3.807a41 41 0 0 0-1.828-2.851z"},null,-1),Go("path",{"fill-rule":"evenodd",d:"M97.469 81.036s3.874 1.169 6.124 2.307c.78.396 2.132 1.184 3.106 2.22a8.4 8.4 0 0 1 1.42 2.04l15.266 25.74-24.674.01-11.537-21.666s-2.363-4.06-3.817-5.237c-1.213-.982-1.73-1.331-2.929-1.331h-5.862l.004 28.219-21.834.009V41.263h43.845s19.97.36 19.97 19.359S97.47 81.035 97.47 81.035zm-9.497-24.137-13.218-.009-.006 12.257 13.224-.004s6.124-.019 6.124-6.235c0-6.34-6.124-6.01-6.124-6.01z"},null,-1)]])}var Eoe,Coe,Poe,Moe=V(()=>{z6(),Rc(),Eoe=$6({default:()=>Poe,render:()=>Toe}),Coe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},Poe={render:Toe}});function $oe(e,t){return Zo(),qo("svg",Ioe,[...t[0]||=[Go("path",{d:"M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75z"},null,-1)]])}var Noe,Ioe,Roe,Doe=V(()=>{z6(),Rc(),Noe=$6({default:()=>Roe,render:()=>$oe}),Ioe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},Roe={render:$oe}});function Loe(e,t){return Zo(),qo("svg",joe,[...t[0]||=[Go("path",{fill:"currentColor",d:"m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481"},null,-1)]])}var Boe,joe,Uoe,zoe=V(()=>{z6(),Rc(),Boe=$6({default:()=>Uoe,render:()=>Loe}),joe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Uoe={render:Loe}});function Hoe(e,t){return Zo(),qo("svg",Voe,[...t[0]||=[Go("path",{d:"M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.635c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.636c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912z"},null,-1)]])}var Zoe,Voe,Qoe,qoe=V(()=>{z6(),Rc(),Zoe=$6({default:()=>Qoe,render:()=>Hoe}),Voe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},Qoe={render:Hoe}});function Foe(e,t){return Zo(),qo("svg",Xoe,[...t[0]||=[Go("path",{d:"m2.4 11.4 5.1-4.6-5.1-4.7L.7 3.7l3.4 3v.1l-3.4 3zm14.2 3.3v-2.2h-8v2.2z"},null,-1)]])}var Woe,Xoe,Goe,Yoe=V(()=>{z6(),Rc(),Woe=$6({default:()=>Goe,render:()=>Foe}),Xoe={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 17 17"},Goe={render:Foe}});function Koe(e,t){return Zo(),qo("svg",eie,[...t[0]||=[Go("path",{d:"M117.3 87.3c.2-.6.4-1.3.5-1.9 7-28-10.1-61.2-39.2-78.6C91.4 24 97 44.9 92 63.2c-.4 1.6-1 3.2-1.6 4.7-.6-.4-1.5-.9-2.5-1.5 0 0-28.9-17.9-60.2-49.4-.9-.8 16.7 25 36.6 46.1-9.4-5.3-35.5-24.3-52-39.4 2 3.4 4.4 6.7 7.1 9.8C33.1 51 51.2 72.6 72.7 89.2c-15.2 9.3-36.6 10-57.9 0C9.5 86.7 4.6 83.7 0 80.3c9 14.4 22.9 26.9 39.9 34.2 20.2 8.7 40.3 8.1 55.2.1.1 0 .1-.1.2-.1.7-.4 1.3-.7 2-1.1 7.2-3.7 21.3-7.4 28.9 7.4 1.7 3.6 5.7-15.6-8.9-33.5"},null,-1)]])}var Joe,eie,tie,aie=V(()=>{z6(),Rc(),Joe=$6({default:()=>tie,render:()=>Koe}),eie={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},tie={render:Koe}});function rie(e,t){return Zo(),qo("svg",oie,[...t[0]||=[Go("path",{d:"M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75q.918 0 1.627.111a6.4 6.4 0 0 1 1.306.34v2.458a4 4 0 0 0-.643-.361 5 5 0 0 0-.717-.26 5.5 5.5 0 0 0-1.426-.2q-.45 0-.819.086a2.1 2.1 0 0 0-.623.242q-.254.156-.393.374a.9.9 0 0 0-.14.49q0 .294.156.529.156.234.443.444c.287.21.423.276.696.41q.41.203.926.416.705.296 1.266.628.561.333.963.753.402.418.614.957.213.538.214 1.253 0 .986-.373 1.656a3 3 0 0 1-1.012 1.085 4.4 4.4 0 0 1-1.487.596q-.85.18-1.79.18a10 10 0 0 1-1.84-.164 5.5 5.5 0 0 1-1.512-.493v-2.63a5.03 5.03 0 0 0 3.237 1.2q.5 0 .872-.09.373-.09.623-.25.249-.162.373-.38a1.02 1.02 0 0 0-.074-1.089 2.1 2.1 0 0 0-.537-.5 5.6 5.6 0 0 0-.807-.444 28 28 0 0 0-1.007-.436q-1.377-.575-2.053-1.405t-.676-2.005q0-.92.369-1.582.368-.662 1.004-1.089a4.5 4.5 0 0 1 1.47-.629 7.5 7.5 0 0 1 1.77-.201m-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z"},null,-1)]])}var nie,oie,iie,sie=V(()=>{z6(),Rc(),nie=$6({default:()=>iie,render:()=>rie}),oie={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},iie={render:rie}});function lie(e,t){return Zo(),qo("svg",uie,[...t[0]||=[Go("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M7.8 4.6 1.4 11c-.6.6-.6 1.6 0 2l6.2 6.2m8.6-14.6 6.2 6.2c.6.6.6 1.6 0 2l-6.2 6.6"},null,-1)]])}var cie,uie,die,pie=V(()=>{z6(),Rc(),cie=$6({default:()=>die,render:()=>lie}),uie={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},die={render:lie}});function hie(e,t){return Zo(),qo("svg",fie,[...t[0]||=[Go("path",{d:"M23.55 10.91 13.09.45a1.55 1.55 0 0 0-2.18 0L8.46 2.9 11 5.48a2.06 2.06 0 0 1 1-.23 2.25 2.25 0 0 1 2.25 2.25 2.2 2.2 0 0 1-.22 1l2.19 2.2a2 2 0 1 1-1.06 1.06L13 9.52a1 1 0 0 1-.21.09v5.54a2 2 0 1 1-1.5 0V9.61A2.24 2.24 0 0 1 9.75 7.5a2.2 2.2 0 0 1 .22-1L7.4 4 .45 11a1.55 1.55 0 0 0 0 2.18l10.46 10.37a1.55 1.55 0 0 0 2.18 0l10.46-10.46a1.55 1.55 0 0 0 0-2.18"},null,-1)]])}var mie,fie,gie,vie=V(()=>{z6(),Rc(),mie=$6({default:()=>gie,render:()=>hie}),fie={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},gie={render:hie}});function bie(e,t){return Zo(),qo("svg",Oie,[...t[0]||=[Go("path",{d:"M12.001 4.8q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624C13.666 10.618 15.027 12 18.001 12q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C16.337 6.182 14.976 4.8 12.001 4.8m-6 7.2q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624 1.177 1.194 2.538 2.576 5.512 2.576q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C10.337 13.382 8.976 12 6.001 12"},null,-1)]])}var yie,Oie,xie,wie=V(()=>{z6(),Rc(),yie=$6({default:()=>xie,render:()=>bie}),Oie={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},xie={render:bie}});function kie(e,t){return Zo(),qo("svg",Aie,[...t[0]||=[Go("path",{fill:"currentColor","fill-rule":"evenodd",d:"M2 11.997C2 20.066 3.934 22 11.997 22 20.066 22 22 20.066 22 11.997 22 3.934 20.06 2 11.997 2S2 3.934 2 11.997m4.034 2.081 3.129-7.132a2.96 2.96 0 0 1 2.828-1.848c1.285 0 2.302.649 2.834 1.848l3.135 7.132c.14.343.263.796.263 1.182 0 1.77-1.243 3.012-3.012 3.012-.606 0-1.084-.153-1.567-.306a5.1 5.1 0 0 0-1.653-.325c-.643 0-1.157.16-1.665.325-.49.153-.968.306-1.55.306A2.89 2.89 0 0 1 5.76 15.26c0-.392.122-.839.27-1.182zm5.963-5.889L8.905 15.2c.919-.429 1.972-.637 3.092-.637 1.084 0 2.18.208 3.06.637z","clip-rule":"evenodd"},null,-1)]])}var Sie,Aie,_ie,Tie=V(()=>{z6(),Rc(),Sie=$6({default:()=>_ie,render:()=>kie}),Aie={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},_ie={render:kie}});function Eie(e,t){return Zo(),qo("svg",Pie)}var Cie,Pie,Mie,$ie=V(()=>{z6(),Rc(),Cie=$6({default:()=>Mie,render:()=>Eie}),Pie={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Mie={render:Eie}});function Nie(e,t){return Zo(),qo("svg",Rie,[...t[0]||=[ti('<path fill="#fff" fill-rule="evenodd" d="M11.9 7.2h8.4v3.4h-8.4z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M4.3 18.3c-.74 0-1.384-.403-1.73-1a2 2 0 0 0 1.73 3h2v-2z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M13.298 7.738 20.3 7.3v-1a2 2 0 0 0-2-2h-9l-.25-.433a.29.29 0 0 0-.5 0L8.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L7.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L6.3 4.3h-.006l-.415-.414a.29.29 0 0 0-.482.13l-.137.51-.52-.14a.29.29 0 0 0-.353.354l.139.52-.51.136a.29.29 0 0 0-.13.483l.414.415V6.3l-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8l-7.002-.438a1.065 1.065 0 0 1 0-2.124" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M16.3 20.3h3v-4h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M17.3 14.3h3v-2h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M8.3 7.55a.25.25 0 0 1-.25-.25.75.75 0 0 0-1.5 0 .25.25 0 0 1-.5 0 1.25 1.25 0 0 1 2.5 0 .25.25 0 0 1-.25.25" clip-rule="evenodd"></path><path fill="#FFFF50" fill-rule="evenodd" d="M12.3 20.3h6a2 2 0 0 0 2-2v-7h-6a2 2 0 0 0-2 2z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M18.802 14.4h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0-4.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 1.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2M20.3 8.161h-.003c-.31.01-.456.32-.585.592-.134.285-.238.47-.409.465-.189-.007-.297-.22-.411-.446-.132-.26-.282-.554-.596-.543-.305.01-.452.28-.581.517-.138.253-.232.406-.412.4-.193-.008-.295-.181-.414-.382-.132-.224-.285-.475-.593-.467-.3.01-.447.239-.577.44-.137.213-.233.343-.416.336-.198-.007-.3-.151-.417-.318-.133-.187-.282-.4-.59-.39-.293.01-.44.198-.57.363-.123.156-.219.28-.422.272a.1.1 0 0 0-.008.2c.302.01.455-.18.588-.349.117-.15.219-.278.419-.285.192-.008.283.111.42.304.13.184.276.392.572.402.31.01.46-.221.592-.426.119-.184.22-.342.415-.349.18-.006.277.135.415.368.13.22.276.47.579.48.312.01.463-.262.594-.503.114-.21.222-.406.412-.413.18-.004.273.16.411.433.13.255.276.544.583.556h.017c.306 0 .452-.308.58-.58.114-.24.222-.468.407-.477z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 20.3h4v-4h-4z" clip-rule="evenodd"></path><path fill="#D8D8D8" d="m20.276 9.922-7.778 2.084a.2.2 0 0 0-.141.245l.76 2.837a.2.2 0 0 0 .245.141l7.777-2.084a.2.2 0 0 0 .142-.245l-.76-2.836a.2.2 0 0 0-.245-.142"></path><path fill="#4A4A4A" d="m14.845 13.56-.278.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.56-.15-.28.075a.1.1 0 0 0-.07.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.558-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.559-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m13.082 14.032 1.187-.318a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-1.187.318a.1.1 0 0 1-.123-.07l-.075-.279a.1.1 0 0 1 .071-.122m6.533-1.75 1.187-.319a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-1.188.318a.1.1 0 0 1-.122-.07l-.075-.28a.1.1 0 0 1 .071-.122Zm-6.835.621.453-.121a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-.454.121a.1.1 0 0 1-.122-.07l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.792 12.632-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.483 10.771-.454.122a.1.1 0 0 1-.122-.071l-.075-.278a.1.1 0 0 1 .071-.123l.453-.121a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m12.93 13.462.645-.173a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-.646.173a.1.1 0 0 1-.123-.071l-.074-.278a.1.1 0 0 1 .07-.123Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m14.151 13.135-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.56-.15-.28.075a.1.1 0 0 0-.07.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Zm.558-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07m.558-.15-.277.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.039 11.557.61-.164a.1.1 0 0 1 .123.071l.074.279a.1.1 0 0 1-.07.122l-.61.164a.1.1 0 0 1-.123-.071l-.075-.278a.1.1 0 0 1 .07-.123z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.517 14.54-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m15.474 14.016 2.69-.72a.1.1 0 0 1 .122.07l.074.278a.1.1 0 0 1-.07.123l-2.69.72a.1.1 0 0 1-.122-.07l-.074-.279a.1.1 0 0 1 .07-.122m2.97-.796.348-.093a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122l-.349.094a.1.1 0 0 1-.122-.071l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.351 12.977-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm1.048-.281-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm-.845.442-.028-.104a.1.1 0 0 1 .07-.123l.28-.074a.1.1 0 0 1 .122.07l.027.105zm.49-.057.028.105a.1.1 0 0 1-.07.122l-.279.075a.1.1 0 0 1-.122-.07l-.028-.105zm-.344-2.893-7.652 2.05a.108.108 0 1 0 .057.21l7.65-2.05a.108.108 0 1 0-.055-.21"></path><path fill="#D8D8D8" d="m13.075 12-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.603-.162-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 0 0-.038-.14m.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.038-.14Zm.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.301.08a.072.072 0 1 0 .037.14l.301-.08a.072.072 0 1 0-.037-.14m.464-.124-.301.08a.072.072 0 0 0 .037.14l.302-.08a.072.072 0 0 0-.038-.14" opacity=".136"></path><path fill="#44D860" fill-rule="evenodd" d="M16.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 14.3h4v-2h-4z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M15.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M16.3 6.175a.3.3 0 0 1-.096-.019.3.3 0 0 1-.081-.054.3.3 0 0 1-.054-.081.26.26 0 0 1 0-.192.26.26 0 0 1 .092-.112.3.3 0 0 1 .09-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .073.177.25.25 0 0 1-.154.231.3.3 0 0 1-.096.02Zm2-.125a.26.26 0 0 1-.208-.11.26.26 0 0 1-.042-.139.26.26 0 0 1 .11-.209.3.3 0 0 1 .091-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .054.273l-.023.043-.031.038a.26.26 0 0 1-.177.073" clip-rule="evenodd"></path>',29)]])}var Iie,Rie,Die,Lie=V(()=>{z6(),Rc(),Iie=$6({default:()=>Die,render:()=>Nie}),Rie={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Die={render:Nie}});function Bie(e,t){return Zo(),qo("svg",Uie,[...t[0]||=[Go("path",{fill:"#512BD4",d:"M22 2H2v20h20z"},null,-1),Go("path",{fill:"#fff",d:"M5.565 14.778a.5.5 0 0 1-.361-.142.47.47 0 0 1-.148-.344.47.47 0 0 1 .148-.348.5.5 0 0 1 .36-.145q.216 0 .365.145a.46.46 0 0 1 .152.348.46.46 0 0 1-.152.344.5.5 0 0 1-.364.142m5.653-.08h-.92l-2.421-3.82a1.7 1.7 0 0 1-.152-.301h-.021q.028.166.028.714v3.407h-.813V9.5h.98l2.34 3.73q.148.232.19.319h.015a5 5 0 0 1-.036-.7V9.5h.81zm3.96 0h-2.846V9.5h2.732v.732h-1.89v1.472h1.742v.728h-1.743v1.537h2.005zm4.044-4.466h-1.456v4.466h-.842v-4.466h-1.453V9.5h3.751z"},null,-1)]])}var jie,Uie,zie,Hie=V(()=>{z6(),Rc(),jie=$6({default:()=>zie,render:()=>Bie}),Uie={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},zie={render:Bie}});function Zie(e,t){return Zo(),qo("svg",Qie,[...t[0]||=[ti('<path fill="#333" fill-rule="evenodd" d="M18.578 20.398A9.98 9.98 0 0 0 22 12.866c0-5.523-4.477-10-10-10s-10 4.477-10 10a9.97 9.97 0 0 0 3.24 7.369l.01-.064 13.123-4.297z" clip-rule="evenodd"></path><path fill="#CCC" d="m9.419 4.067-1.774-.264.265-.081q.242-.076.444-.228l.042-.032a1.22 1.22 0 0 0 .466-.778l.02-.124q.032-.202-.003-.403a.073.073 0 0 1 .1-.08l.072.03q.136.056.263.132l.302.182c.4.242.752.558 1.036.931l.2.264a1.33 1.33 0 0 0 .618.45l.14.05-.732.03a8 8 0 0 1-1.46-.08Z"></path><path fill="#CCC" d="m8.966 5.64.526-.962a.03.03 0 0 0 0-.03l-.179-.378a.68.68 0 0 0-.614-.388l-.05-.002a4.7 4.7 0 0 1-1.017-.148l-.065-.017a4 4 0 0 1-.79-.297l-.111-.055a3 3 0 0 1-.474-.3l-.147-.115a.1.1 0 0 0-.14.02 1 1 0 0 0-.185.47l-.027.235a2 2 0 0 0-.004.379l.065.734c.049.547.237 1.071.548 1.524l.066.097q.144.209.331.38a.1.1 0 0 0 .064.027A2.28 2.28 0 0 0 8.966 5.64"></path><path fill="#EDEDED" d="m6.976 6.832.625-.27a.45.45 0 1 0-.458-.769l-.148.117a1 1 0 0 0-.097.094l-.356.428a.15.15 0 0 0 .009.203l.11.126a.275.275 0 0 0 .315.071"></path><path fill="#B2B2B2" d="m7.78 3.758-.018.006.057.018c.247.08.504.125.763.138a.1.1 0 0 0 .038-.005l.118-.034.059-.02-.374-.08a.3.3 0 0 1-.134-.066.063.063 0 0 1 0-.096l.056-.046a.6.6 0 0 0 .157-.2c-.216.171-.46.301-.721.385Z"></path><path fill="#fff" d="M9.92 10.578 4.825 19.69a.078.078 0 0 1-.124.017l-.102-.103-.43-.488-.274-.354a8 8 0 0 1-.693-1.067l-.04-.072a8 8 0 0 1-.536-1.24l-.137-.412a5.55 5.55 0 0 1-.139-2.295l.005-.032a5.7 5.7 0 0 1 .24-.988l.226-.669.17-.356a5 5 0 0 1 1.067-1.473l.215-.204a3.8 3.8 0 0 1 1.576-.897 3 3 0 0 1-.422.084l-.281.033-.215.02-.235.04-.234.021-.156.017-.113.007c-.036.002-.053-.044-.024-.065l.157-.076a2.65 2.65 0 0 0 1.19-1.135l.174-.271a2.6 2.6 0 0 1 .808-.802l.067-.043q.182-.115.385-.187l.615-.217a.43.43 0 0 0 .253-.236l.009-.022a.34.34 0 0 0-.083-.38l-.108-.099-.018-.02-.696-.926-.555-.764a.97.97 0 0 1-.184-.517.04.04 0 0 1 .056-.038l.6.288a2.38 2.38 0 0 0 1.666.148q.195-.053.394-.075l.276-.028a5.7 5.7 0 0 1 2.064.17l.058.016.656.236a3 3 0 0 1 1.785 1.756l.138.536a2.17 2.17 0 0 0 .863 1.246l.35.244q.232.162.483.287l.775.388a.062.062 0 0 1 .022.093 2.1 2.1 0 0 1-.82.644l-.449.195a4 4 0 0 1-.55.193l-.33.088a5.5 5.5 0 0 1-1.417.188h-.79a1.3 1.3 0 0 1-.477-.091 1.3 1.3 0 0 0-1.615.576Z"></path><path fill="#666" d="m12.593 7.292.344.004c.047 0 .057-.065.013-.079a1.4 1.4 0 0 1-.212-.087l-.269-.139a2.8 2.8 0 0 1-.51-.338l-.053-.044q-.18-.15-.323-.334l-.06-.078a.034.034 0 0 0-.062.023c.04.598.533 1.065 1.132 1.072"></path><path fill="#CCC" d="m5.212 19.834 5.824-5.195a7.8 7.8 0 0 0 1.417-1.677l.035-.057a2.3 2.3 0 0 0 .237-1.239l-.052-.587a1.66 1.66 0 0 0-.424-.97.1.1 0 0 0-.036-.02l-.936-.192a4.2 4.2 0 0 0-2.092-.086l-.037.008-.544.127a6.74 6.74 0 0 0-3.94 2.63l-.023.034a6.4 6.4 0 0 0-.665 1.168l-.032.074a6.07 6.07 0 0 0-.441 3.31l.054.367a3.7 3.7 0 0 0 .932 1.96l.297.324a.304.304 0 0 0 .426.021"></path><path fill="#5E5E5E" d="m10.31 12.9-.018.01c-.492.281-.756.811-.73 1.377.007.16.168.308.323.264l.285-.081a2.6 2.6 0 0 0 1.001-.539l.829-.713.246-.182a6.6 6.6 0 0 1 4.979-1.209c.054.009.056.086.002.097l-.207.043-.095.033a1 1 0 0 0-.48.359.04.04 0 0 0 .044.062l.068-.021a3.2 3.2 0 0 1 1.184-.132l.157.012a2.86 2.86 0 0 1 2.159 1.137l.192.256c.57.758.812 1.714.67 2.652l-.074.49a4.7 4.7 0 0 1-.713 1.87l-.027.04-.41.547-.449.508-.411.395q-.566.542-1.227.962l-.14.088-.266.127c-.069.033-.126-.061-.065-.107l.37-.352.077-.08c.206-.216.355-.482.431-.77l.035-.134a.715.715 0 0 0-.549-.886.7.7 0 0 0-.583.146l-.367.299-.649.53a8 8 0 0 1-1.376.902l-.67.345-1.133.43-.238.064a8 8 0 0 1-1.263.235l-.316.032H9.891l-1.348-.146-.73-.158a4.55 4.55 0 0 1-1.91-.917l-.563-.458a3.02 3.02 0 0 1-1.177-2.168l-.034-.45.04-.631a4.6 4.6 0 0 1 1.956-3.483l.12-.084a5.2 5.2 0 0 1 1.646-.763l.396-.105a3.4 3.4 0 0 1 1.577-.042l.413.086c.104.022.126.16.034.212Z"></path>',9)]])}var Vie,Qie,qie,Fie=V(()=>{z6(),Rc(),Vie=$6({default:()=>qie,render:()=>Zie}),Qie={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},qie={render:Zie}});function Wie(e,t){return Zo(),qo("svg",Gie,[...t[0]||=[Go("path",{fill:"currentColor",d:"m16.378 12.034-4.148-5.53h.507c.369 0 .738.185.968.461l3.272 4.286 3.226-4.24c.322-.322.691-.507 1.06-.507h.553l-4.194 5.53L22 17.841h-.553c-.369 0-.737-.185-.968-.507l-3.456-4.516-3.456 4.516c-.23.322-.6.46-.968.46h-.553zm-13.456.461v.369c0 1.935 1.29 3.686 3.18 4.147a4.15 4.15 0 0 0 4.654-2.258c.138-.23.368-.415.645-.415h.46a5.07 5.07 0 0 1-4.792 3.687C4.212 18.025 2 15.583 2 12.541v-1.29c0-2.489 1.751-4.747 4.24-5.207a5.07 5.07 0 0 1 5.898 5.069v1.382zm0-.921h8.295v-.461a4.148 4.148 0 0 0-5.07-4.056c-1.935.461-3.225 2.212-3.225 4.378z"},null,-1)]])}var Xie,Gie,Yie,Kie=V(()=>{z6(),Rc(),Xie=$6({default:()=>Yie,render:()=>Wie}),Gie={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Yie={render:Wie}});function Jie(e,t){return Zo(),qo("svg",tse,[...t[0]||=[Go("path",{fill:"currentColor",d:"M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m-.7 4.5h6.3L11.3 11h4.3l-9.2 6.4 2-4.4 1-2 2-4.5z"},null,-1)]])}var ese,tse,ase,rse=V(()=>{z6(),Rc(),ese=$6({default:()=>ase,render:()=>Jie}),tse={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},ase={render:Jie}});function nse(e,t){return Zo(),qo("svg",ise,[...t[0]||=[Go("path",{fill:"currentColor",d:"M23.241 7.492 24 5.536l-.031-.125-7.479 1.971c.798-1.158.524-2.08.524-2.08s-2.386 1.525-4.193 1.486c-1.807-.04-2.386-.525-5.155.36-2.769.883-3.551 3.59-4.357 4.177-.798.579-3.309 2.51-3.309 2.51l2.269-.727s-.642.61-1.964 2.386v.008c.211.297 1.142 1.525 2.065 1.26.102-.032.22-.087.352-.15.415.236.97.462 1.573.525 0 0-.407-.47-.751-1.017l.281-.18-.047.031.869.313-.094-.813h.008l.844.313-.101-.744.32-.156.884-3.348 3.661-2.503-.289.735c-.743 1.823-2.136 2.253-2.136 2.253l-.578.227c-.438.508-.618.634-.767 2.354.352-.093.68-.11.986-.03 1.564.422 2.104 2.307 1.681 2.831-.101.125-.352.352-.672.61H7.76l-.008.516-.062.055h-.65l-.007.5-.173.126c-.602.016-1.376-.516-1.376-.516.008.485.406 1.228.406 1.228l.07-.04-.062.048s1.627 1.08 2.652.68c.908-.36 3.262-2.214 5.296-3.09l6.149-1.627.813-2.096-4.685 1.236V13.14l5.499-1.448.814-2.104-6.313 1.666V9.37zm-11.163 3.997 1.463-.383.016.07-.454 1.181-1.51.4zm.5 2.527-1.509.399.493-1.268 1.455-.383.023.07zm1.972-.423-1.51.4.493-1.268 1.455-.383.024.07z"},null,-1)]])}var ose,ise,sse,lse=V(()=>{z6(),Rc(),ose=$6({default:()=>sse,render:()=>nse}),ise={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},sse={render:nse}});function cse(e,t){return Zo(),qo("svg",dse,[...t[0]||=[Go("path",{fill:"currentColor",d:"M1.81 10.714c-.046 0-.058-.023-.034-.058l.245-.316c.023-.035.082-.058.128-.058h4.17c.047 0 .059.035.035.07l-.198.304c-.024.035-.082.07-.117.07zM.048 11.789c-.047 0-.059-.024-.035-.059l.245-.315c.023-.035.082-.059.128-.059h5.327c.047 0 .07.036.058.07l-.093.28c-.012.048-.058.07-.105.07zm2.826 1.074c-.046 0-.058-.035-.035-.07l.164-.292c.023-.035.07-.07.117-.07h2.336c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082l-2.546-.012Zm12.125-2.36-1.962.515c-.175.046-.187.058-.339-.117a1.6 1.6 0 0 0-.549-.444 2.03 2.03 0 0 0-2.114.175 2.49 2.49 0 0 0-1.192 2.22c.012.934.655 1.705 1.577 1.833.795.106 1.46-.175 1.986-.77l.316-.433h-2.255c-.245 0-.304-.151-.222-.35.152-.362.432-.97.596-1.273a.32.32 0 0 1 .292-.187h4.252c-.024.315-.024.63-.07.946a5 5 0 0 1-.958 2.29 4.87 4.87 0 0 1-3.33 1.985 4.14 4.14 0 0 1-3.141-.77A3.67 3.67 0 0 1 6.4 13.528a4.58 4.58 0 0 1 .993-3.422 5.2 5.2 0 0 1 3.27-2.021c1.099-.199 2.15-.07 3.096.572.62.409 1.063.97 1.355 1.647.07.105.024.164-.117.199Z"},null,-1),Go("path",{fill:"currentColor",d:"M18.865 16.963a4.38 4.38 0 0 1-2.85-1.028 3.67 3.67 0 0 1-1.262-2.254 4.46 4.46 0 0 1 .946-3.528 4.9 4.9 0 0 1 3.27-1.95 4.32 4.32 0 0 1 3.33.595 3.63 3.63 0 0 1 1.647 2.605 4.51 4.51 0 0 1-1.343 3.96 5.35 5.35 0 0 1-2.804 1.495c-.315.058-.63.07-.934.105m2.78-4.719c-.012-.152-.012-.268-.035-.385a1.93 1.93 0 0 0-2.383-1.554c-1.087.245-1.787.935-2.044 2.033-.21.91.233 1.834 1.074 2.207.643.28 1.285.246 1.904-.07a2.56 2.56 0 0 0 1.484-2.23Z"},null,-1)]])}var use,dse,pse,hse=V(()=>{z6(),Rc(),use=$6({default:()=>pse,render:()=>cse}),dse={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},pse={render:cse}});function mse(e,t){return Zo(),qo("svg",gse,[...t[0]||=[Go("path",{fill:"#FF5B11",d:"M12.371 1.736q.08-.01.141.04a76 76 0 0 1 4.217 5.662 28 28 0 0 1 2.49 4.659q1.64 4.374-1.707 7.61-2.928 2.475-6.747 1.928-4.564-.93-6.205-5.281a7.4 7.4 0 0 1-.28-2.891 17.3 17.3 0 0 1 1.204-4.9 7.3 7.3 0 0 1 1.044-1.767q.525.625 1.004 1.285.222.232.462.442a38 38 0 0 1 4.377-6.787",opacity:".993"},null,-1),Go("path",{fill:"#FF9758",d:"M12.09 5.962a42.5 42.5 0 0 1 3.996 5.462q.56.959.924 2.008.758 2.982-1.627 4.92-2.306 1.622-5.06.963-2.97-.921-3.433-3.996a4.25 4.25 0 0 1 .2-1.887c.297-.754.66-1.48 1.085-2.168L9.38 9.495q1.367-1.758 2.71-3.534Z"},null,-1)]])}var fse,gse,vse,bse=V(()=>{z6(),Rc(),fse=$6({default:()=>vse,render:()=>mse}),gse={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},vse={render:mse}});function yse(e,t){return Zo(),qo("svg",xse,[...t[0]||=[Go("path",{fill:"#FF2D20",d:"M21.217 6.8a.3.3 0 0 1 .012.076v4.078a.3.3 0 0 1-.15.26l-3.424 1.969v3.907a.3.3 0 0 1-.147.259l-7.15 4.111q-.023.014-.05.024l-.021.007a.3.3 0 0 1-.152 0l-.024-.01c-.017-.007-.033-.011-.048-.02l-7.142-4.112a.3.3 0 0 1-.15-.26V4.857q0-.043.012-.079c0-.01.007-.016.01-.023a.2.2 0 0 1 .019-.048l.021-.026.024-.036.03-.024.034-.023L6.492 2.54a.29.29 0 0 1 .298 0l3.573 2.053.033.024.029.024.026.036.022.023.019.048c0 .01.007.017.01.024a.4.4 0 0 1 .009.08v7.643l2.978-1.713v-3.91c0-.023.003-.052.01-.076l.01-.026.018-.047.022-.024.026-.036.029-.024.033-.023L17.21 4.56a.3.3 0 0 1 .298 0l3.57 2.058.034.024c.01.01.022.014.029.024q.017.015.026.035l.021.024c.01.017.015.03.02.048l.009.023zm-.58 3.98V7.392l-1.252.719-1.727.994v3.393l2.978-1.713zm-3.576 6.138v-3.395l-1.7.971-4.85 2.77v3.425l6.55-3.77ZM3.366 5.37v11.548l6.55 3.769V17.26l-3.421-1.934h-.003l-.03-.024c-.01-.01-.022-.014-.03-.024-.011-.01-.018-.024-.025-.03l-.024-.032-.014-.038q-.009-.015-.015-.033l-.007-.043-.002-.033V7.08l-1.728-.994-1.253-.716zm3.276-2.23L3.666 4.857 6.64 6.569l2.976-1.713-2.974-1.713zM8.19 13.833l1.727-.992V5.37l-1.247.718-1.727.995v7.47l1.249-.72zm9.169-8.667-2.974 1.713 2.974 1.713 2.974-1.713zm-.297 3.943-1.728-.995-1.249-.718v3.385l1.727.995 1.25.72v-3.39zm-6.845 7.639 4.365-2.491 2.182-1.244L13.79 11.3l-3.426 1.972-3.117 1.796z"},null,-1)]])}var Ose,xse,wse,kse=V(()=>{z6(),Rc(),Ose=$6({default:()=>wse,render:()=>yse}),xse={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},wse={render:yse}});function Sse(e,t){return Zo(),qo("svg",_se,[...t[0]||=[ti('<g fill="#EDB641" clip-path="url(#a)"><path d="m5.33 10.983.419 1.29H7.11l-1.1.796.42 1.29-1.101-.797-1.09.791.419-1.29-1.1-.796H4.92l.42-1.289-.011.005Zm1.954-4.245.362 1.111h1.169l-.944.687.362 1.111-.949-.681-.943.681.351-1.111-.943-.687h1.169l.361-1.11h.005ZM1.31 13.504l.21.65h.68l-.55.409.21.65-.55-.404-.556.404.21-.65-.551-.404h.681l.21-.65.005-.005Z"></path><path d="M9.197 15.684a19 19 0 0 0 2.505-1.378 22.6 22.6 0 0 0 3.092-2.6l-.613-.408-.534-.362 1.692-.063.545-.02.147-.525.461-1.635.587 1.588.189.514.545-.027 1.693-.062-1.332 1.048-.43.335.19.514.586 1.588-1.41-.944-.45-.298-.43.335-1.331 1.048.23-.812.231-.818.026-.105a21 21 0 0 1-5.24 2.815c-.315.104-.63.188-.944.267zm-3.186 1.242a16.1 16.1 0 0 0 8.081-2.494l-.535 1.923 3.145-2.479 3.328 2.222-1.384-3.752 3.144-2.474-4.003.158-1.384-3.758-1.09 3.852-3.999.157 2.317 1.546c-1.52 1.384-5.346 4.34-10.413 4.538A14 14 0 0 1 0 16.11s2.52.953 6.016.817h-.005Z"></path><path d="M16.408 4.412a7.588 7.588 0 0 0-7.242 9.862q.495-.25.943-.508a6.53 6.53 0 0 1 6.3-8.306 6.54 6.54 0 1 1-4.916 10.848c-.351.136-.703.262-1.059.367a7.588 7.588 0 1 0 5.974-12.263"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"></path></clipPath></defs>',2)]])}var Ase,_se,Tse,Ese=V(()=>{z6(),Rc(),Ase=$6({default:()=>Tse,render:()=>Sse}),_se={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Tse={render:Sse}});function Cse(e,t){return Zo(),qo("svg",Mse,[...t[0]||=[Go("path",{fill:"#E0234E","fill-rule":"evenodd",d:"M13.776 2.04c-.144 0-.279.03-.403.071.264.176.409.409.48.672.006.036.016.062.021.098q.009.046.01.093c.021.455-.118.511-.216.78-.15.346-.109.718.072 1.017a.6.6 0 0 0 .062.114c-.196-1.307.894-1.503 1.095-1.91.016-.357-.279-.595-.511-.76a1.14 1.14 0 0 0-.61-.176Zm1.643.294c-.021.118-.005.087-.01.15-.006.04-.006.092-.01.134q-.016.063-.037.124a1 1 0 0 1-.042.124c-.02.041-.035.077-.056.118-.016.021-.026.042-.042.062l-.03.047a2 2 0 0 1-.078.103c-.03.031-.057.067-.093.093v.005c-.031.026-.062.057-.098.083-.108.082-.233.145-.346.222-.036.026-.073.046-.103.078a1 1 0 0 0-.099.082c-.036.031-.062.062-.093.098-.025.031-.056.067-.077.104q-.039.052-.072.108c-.021.041-.036.077-.057.119-.016.041-.031.077-.042.119a2 2 0 0 0-.036.129c-.005.02-.005.046-.01.067-.005.02-.005.041-.01.062 0 .041-.005.088-.005.129q-.001.046.005.093 0 .06.015.13.01.06.026.123l.041.124c.01.026.026.052.037.072l-1.188-.46a13 13 0 0 0-.6-.154l-.325-.078a10 10 0 0 0-.94-.14c-.01 0-.016-.004-.026-.004a9 9 0 0 0-1.601-.021c-.315.02-.63.062-.945.114q-.116.017-.233.04-.232.048-.465.104l-.232.062c-.077.031-.15.067-.222.098l-.17.078c-.01.005-.021.005-.026.01-.052.026-.098.047-.145.073a2 2 0 0 0-.196.098c-.036.015-.072.036-.104.051a3 3 0 0 0-.305.18c-.035.027-.071.048-.103.073-.005.005-.01.005-.015.01a1 1 0 0 0-.098.073l-.01.01-.078.062c-.01.005-.02.016-.03.02l-.078.068c-.006.01-.016.016-.021.02-.031.032-.062.058-.093.088-.005 0-.005.006-.01.011a2 2 0 0 0-.094.088c-.005.005-.005.01-.01.01a1 1 0 0 0-.077.083c-.01.01-.026.02-.036.03q-.04.047-.088.094c-.005.01-.016.015-.02.025-.042.042-.078.083-.12.124l-.015.016q-.123.134-.264.253-.14.125-.289.227a3.2 3.2 0 0 1-.635.351 4 4 0 0 1-.336.124c-.217.047-.439.135-.63.15-.041 0-.088.01-.129.016l-.129.03-.124.047a1 1 0 0 0-.124.057c-.036.026-.077.046-.114.072a1 1 0 0 0-.103.088 1 1 0 0 0-.103.093c-.031.036-.062.067-.088.103-.026.042-.057.078-.078.12a1 1 0 0 0-.072.118q-.032.067-.057.134l-.046.134a1 1 0 0 0-.026.124c0 .006-.005.011-.005.016-.01.047-.01.108-.016.14q-.009.05-.01.103a.5.5 0 0 0 .026.165q.014.046.036.093v.005a1 1 0 0 0 .057.093 1 1 0 0 0 .067.093q.042.044.088.083.045.045.098.082c.124.109.155.145.315.228q.038.02.083.041c.005 0 .01.005.015.005q-.001.013.005.026.01.062.026.124a1 1 0 0 0 .041.124c.016.03.026.062.042.093q.007.016.015.026l.062.113.078.109q.042.051.088.098.045.043.098.088s.005.005.01.005a1 1 0 0 0 .207.14 1 1 0 0 0 .118.056.6.6 0 0 0 .104.036c.005.005.01.005.02.01.021.006.047.011.068.016-.016.279-.021.543.02.635.047.104.274-.211.501-.573-.03.357-.051.775 0 .899.057.129.367-.274.636-.718 3.662-.847 7.003 1.684 7.354 5.258-.067-.558-.754-.868-1.069-.79-.155.382-.418.873-.841 1.177.037-.345.02-.693-.052-1.033a3.3 3.3 0 0 1-.64 1.302c-.491.036-.982-.202-1.24-.558-.02-.015-.026-.046-.042-.067a1 1 0 0 1-.04-.108.4.4 0 0 1-.032-.109q-.006-.052-.005-.114v-.077a1 1 0 0 1 .026-.109 1 1 0 0 1 .036-.108c.02-.036.036-.072.062-.108.088-.248.088-.45-.072-.569a.6.6 0 0 0-.099-.051c-.02-.006-.046-.016-.067-.021l-.041-.015a1 1 0 0 0-.109-.026.4.4 0 0 0-.108-.016 1 1 0 0 0-.114-.01c-.025 0-.051.005-.077.005a.4.4 0 0 0-.114.015q-.054.007-.108.021a1 1 0 0 0-.109.036l-.103.047c-.03.015-.062.036-.098.052-1.203.784-.486 2.623.336 3.155-.31.057-.625.124-.713.191l-.01.01q.334.202.697.347.415.134.837.248v.005a5 5 0 0 0 1.301.093c2.288-.16 4.163-1.9 4.504-4.194l.031.134c.015.093.036.191.046.29v.005q.014.07.021.134v.02q.009.072.01.135.01.085.01.17v.083c0 .026.006.057.006.083 0 .03-.005.062-.005.093v.072c0 .036-.005.067-.005.103q.001.029-.006.067c0 .036-.005.073-.005.114q-.006.022-.005.046l-.015.12q.001.022-.005.046c-.006.051-.016.098-.021.15v.01c-.01.046-.02.098-.031.144v.016l-.031.14c0 .005-.005.015-.005.02a1 1 0 0 1-.036.14v.015q-.025.076-.042.145-.006.009-.005.01l-.046.155c-.021.052-.037.098-.057.15s-.036.103-.057.15l-.062.15h-.005c-.021.046-.041.097-.067.144l-.016.036c-.005.005-.005.01-.01.015a4.9 4.9 0 0 1-1.451 1.736q-.063.04-.125.088c-.01.01-.026.015-.036.026q-.053.038-.113.077l.015.031h.005l.217-.03h.005q.202-.033.403-.073a1 1 0 0 0 .114-.026l.072-.015c.036-.006.072-.016.109-.021.03-.01.062-.016.093-.026a10 10 0 0 0 1.497-.496 8.3 8.3 0 0 1-3.207 2.619 8.5 8.5 0 0 0 1.761-.305 8.25 8.25 0 0 0 4.881-3.9 8.2 8.2 0 0 1-1.39 3.321c.501-.33.964-.714 1.38-1.146a8.2 8.2 0 0 0 2.174-4.39c.177.817.227 1.657.15 2.49 3.73-5.202.31-10.594-1.12-12.015-.006-.01-.01-.015-.01-.026-.006.006-.006.006-.006.011 0-.005 0-.005-.005-.01q-.002.092-.01.186a7 7 0 0 1-.052.345 8 8 0 0 1-.088.341 4 4 0 0 1-.124.33q-.072.162-.155.316a4 4 0 0 1-.398.573c-.077.093-.16.176-.242.259a3 3 0 0 1-.15.129l-.12.103c-.092.072-.185.14-.288.201a4 4 0 0 1-.305.176 9 9 0 0 1-.325.145 3.6 3.6 0 0 1-.682.186c-.12.02-.238.03-.351.04a4 4 0 0 1-.248.011c-.12 0-.238-.01-.351-.02a3 3 0 0 1-.352-.052 3 3 0 0 1-.346-.088h-.005c.114-.01.227-.02.341-.041a3.7 3.7 0 0 0 1.317-.501q.148-.099.29-.207.138-.108.263-.232c.087-.078.165-.165.242-.253q.117-.14.217-.28c.01-.015.02-.035.031-.05q.08-.125.15-.249a3.6 3.6 0 0 0 .367-.981c.02-.119.041-.233.052-.346.01-.119.02-.238.02-.351q-.001-.125-.01-.248-.017-.178-.041-.346a4 4 0 0 0-.078-.346c-.036-.109-.072-.222-.114-.331a3.5 3.5 0 0 0-.527-.91 11 11 0 0 0-.237-.262 3 3 0 0 0-.134-.13 9 9 0 0 0-.718-.506 1 1 0 0 0-.104-.051 2 2 0 0 0-.49-.217","clip-rule":"evenodd"},null,-1)]])}var Pse,Mse,$se,Nse=V(()=>{z6(),Rc(),Pse=$6({default:()=>$se,render:()=>Cse}),Mse={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},$se={render:Cse}});function Ise(e,t){return Zo(),qo("svg",Dse,[...t[0]||=[Go("path",{fill:"currentColor",d:"M11.345 2.005c-.043.004-.18.018-.303.028-2.84.256-5.501 1.788-7.187 4.144a9.9 9.9 0 0 0-1.765 4.369c-.08.549-.09.711-.09 1.456s.01.907.09 1.456c.543 3.755 3.216 6.91 6.84 8.08.65.208 1.334.351 2.112.437.303.033 1.613.033 1.916 0 1.343-.149 2.48-.48 3.603-1.053.172-.088.205-.112.182-.131a191 191 0 0 1-1.629-2.184l-1.599-2.16-2.004-2.965a284 284 0 0 0-2.017-2.964 161 161 0 0 0-.02 2.925c-.006 2.816-.008 2.93-.043 2.996a.36.36 0 0 1-.172.178c-.063.031-.117.037-.412.037h-.339l-.09-.056a.4.4 0 0 1-.13-.143l-.042-.088.004-3.92.006-3.92.06-.077a.5.5 0 0 1 .145-.12c.08-.038.112-.042.45-.042.399 0 .465.016.569.129.03.031 1.114 1.665 2.412 3.634l3.946 5.975 1.583 2.399.08-.053a10.3 10.3 0 0 0 2.055-1.802 9.95 9.95 0 0 0 2.354-5.112c.08-.549.09-.711.09-1.456s-.01-.907-.09-1.456c-.543-3.755-3.216-6.91-6.84-8.08a10.5 10.5 0 0 0-2.083-.435c-.187-.02-1.48-.041-1.642-.026m4.094 6.048c.094.047.17.137.197.231.016.05.02 1.138.016 3.587l-.006 3.515-.62-.95-.621-.95V10.93c0-1.652.008-2.58.02-2.625a.4.4 0 0 1 .193-.247c.08-.04.11-.045.416-.045.29 0 .34.004.405.04"},null,-1)]])}var Rse,Dse,Lse,Bse=V(()=>{z6(),Rc(),Rse=$6({default:()=>Lse,render:()=>Ise}),Dse={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Lse={render:Ise}});function jse(e,t){return Zo(),qo("svg",zse,[...t[0]||=[ti('<path fill="url(#a)" fill-rule="evenodd" d="M19.608 5.51C16.023 1.308 9.712.808 5.51 4.392 1.308 7.977.808 14.288 4.392 18.49c3.585 4.202 9.896 4.702 14.098 1.118 4.202-3.585 4.702-9.896 1.118-14.098m-4.982 5.249c.385 0 .631.417.438.75l-.056.096-3.774 6.21a.39.39 0 0 1-.33.185h-.36a.378.378 0 0 1-.366-.472l1.024-3.959a.5.5 0 0 0-.484-.625H9.145a.5.5 0 0 1-.484-.625l1.545-5.978a.46.46 0 0 1 .448-.34l.067.001h1.584a.5.5 0 0 1 .496.568l-.01.071-.604 3.533a.5.5 0 0 0 .493.585z" clip-rule="evenodd"></path><defs><radialGradient id="a" cx="0" cy="0" r="1" gradientTransform="matrix(19.5 0 0 198.851 4 12)" gradientUnits="userSpaceOnUse"><stop stop-color="#31B2F3"></stop><stop offset=".474" stop-color="#F27CEC"></stop><stop offset="1" stop-color="#FD6641"></stop></radialGradient></defs>',2)]])}var Use,zse,Hse,Zse=V(()=>{z6(),Rc(),Use=$6({default:()=>Hse,render:()=>jse}),zse={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Hse={render:jse}});function Vse(e,t){return Zo(),qo("svg",qse,[...t[0]||=[Go("path",{fill:"#00DC82",d:"M13.32 19.333h8.14c.26 0 .508-.09.733-.22.226-.129.457-.29.587-.513s.22-.476.22-.733c0-.258-.09-.51-.22-.734l-5.5-9.46a1.34 1.34 0 0 0-.513-.513 1.8 1.8 0 0 0-.807-.22c-.26 0-.508.09-.733.22-.216.12-.393.298-.514.513l-1.393 2.42L10.533 5.4c-.13-.223-.288-.458-.513-.587s-.474-.146-.733-.146c-.26 0-.509.018-.734.146-.24.146-.441.347-.586.587l-6.82 11.733c-.13.223-.147.476-.147.734 0 .257.017.51.147.733s.361.384.586.513c.225.13.474.22.734.22H7.6c2.034 0 3.515-.912 4.547-2.64l2.493-4.326 1.32-2.274 4.033 6.894H14.64zm-5.793-2.346H3.933l5.354-9.24L12 12.367l-1.797 3.132c-.687 1.122-1.468 1.488-2.676 1.488"},null,-1)]])}var Qse,qse,Fse,Wse=V(()=>{z6(),Rc(),Qse=$6({default:()=>Fse,render:()=>Vse}),qse={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Fse={render:Vse}});function Xse(e,t){return Zo(),qo("svg",Yse,[...t[0]||=[ti('<path fill="#93D500" d="M7.285 13.5H2.007l.003.077.009.15.004.063.014.171.004.039a8.8 8.8 0 0 0 .387 1.871q0 .005.003.011l.058.173.016.044.08.216.048.124a5 5 0 0 0 .078.189l.052.117.031.07.066.14.022.046.079.16.012.024q.045.088.093.175l.004.008.02.036 4.508-2.715.017-.01a3.6 3.6 0 0 1-.33-1.179"></path><path fill="#4D5A31" d="m8.582 15.923-.013.013-3.717 3.717.057.053.105.094.055.048.127.107.034.029a8 8 0 0 0 .324.254l.006.004q.336.252.695.47l.025.016.137.08.084.048.08.045q.072.04.145.078a8 8 0 0 0 .431.21l.132-.32 1.87-4.54.007-.017a3.6 3.6 0 0 1-.584-.389"></path><path fill="#6BA43A" d="M8.195 15.553a3 3 0 0 1-.212-.262 4 4 0 0 1-.2-.296L3.27 17.713q.104.174.215.338l.007.012.003.005.007.01v.002l.019.026.001.002q.119.174.242.342l.006.007.005.007.11.142.015.019q.057.073.117.145l.028.034.155.181.094.105.053.058.024.026.07.075.028.03.125.127 3.723-3.723a3 3 0 0 1-.122-.13"></path><path fill="#4D5A31" d="m13.13 15.921-.124.096.009.016 2.714 4.506a8 8 0 0 0 1.134-.886l-3.718-3.717z"></path><path fill="#93D500" d="m15.335 20.576-.092-.153-2.534-4.206a4 4 0 0 1-.316.167 3.6 3.6 0 0 1-2.567.2c-.057-.017-.113-.04-.169-.06s-.113-.037-.168-.06L7.62 21.003l-.073.178-.063.152.014.006.016.006.004.002.133.05.167.065.085.032a9 9 0 0 0 1.88.442l.075.008.142.016.036.003.174.014.06.004.153.01.094.003.122.004.217.003a9 9 0 0 0 1.495-.126l.154-.028.088-.017.09-.02.15-.032.028-.007a9 9 0 0 0 2.124-.791l.13-.074.157-.088.107-.06.001-.001.002-.001h.001l.001-.001.002-.001.006-.004.034-.02zm-6.75-10.21.123-.097-.009-.015-2.714-4.506q-.189.123-.372.256a9 9 0 0 0-.762.629L8.57 10.35z"></path><path fill="#4D5A31" d="M4.594 6.88q-.064.065-.124.13l-.123.128a9 9 0 0 0-.753.933l-.032.046-.076.112-.104.16a8.83 8.83 0 0 0-1.375 4.397l-.005.178-.003.179h5.266q.002-.09.008-.179c.006-.089.004-.119.01-.178a3.57 3.57 0 0 1 .794-1.917q.059-.069.12-.133c.04-.044.077-.09.12-.133L4.594 6.881Zm10.864-1.306q-.01-.008-.021-.013l-.14-.083-.082-.047-.082-.046-.143-.077-.023-.012a9 9 0 0 0-.95-.426l-.024-.01a9 9 0 0 0-1.987-.498l-.074-.01-.075-.008-.143-.016-.04-.004-.17-.014-.066-.004-.146-.009-.078-.003v5.278c.27.028.54.086.8.174l3.884-3.884a9 9 0 0 0-.44-.288"></path><path fill="#6BA43A" d="M10.679 4.29q-.09 0-.179.003a9 9 0 0 0-1.113.115l-.024.004-.155.029-.087.016a6 6 0 0 0-.24.052l-.028.006a9 9 0 0 0-2.125.792l-.13.074-.156.087-.115.066h-.002l-.008.005-.03.017v.001l.093.153 2.625 4.359a4 4 0 0 1 .316-.167 3.6 3.6 0 0 1 1.536-.35V4.285q-.09.001-.178.004Z"></path><path fill="#4D5A31" d="M19.704 12.708a10 10 0 0 0-.05-.61l-.002-.014-.001-.007-.027-.201v-.006a9 9 0 0 0-.273-1.245l-.002-.008-.059-.19-.008-.025-.057-.17-.016-.046-.054-.147-.027-.07a5 5 0 0 0-.086-.216l-.04-.094-.052-.12-.03-.068-.066-.142-.021-.043-.08-.162-.012-.022-.093-.177-.003-.006a9 9 0 0 0-.504-.818l-3.886 3.886q.132.392.174.8h5.278q0-.04-.003-.08Z"></path><path fill="#6BA43A" d="M14.45 13.143q-.002.09-.01.179-.001.09-.01.178a3.57 3.57 0 0 1-.793 1.918c-.037.046-.08.088-.12.133-.04.044-.077.09-.12.132l3.723 3.723q.063-.064.124-.13l.123-.128q.415-.448.754-.935l.027-.039.082-.12.07-.108.034-.052a8.83 8.83 0 0 0 1.377-4.573l.003-.178z"></path><path fill="#424143" d="M21.279 2.722a2.467 2.467 0 0 0-3.953 2.84l-5.374 5.373a2.467 2.467 0 1 0 1.114 1.113l5.373-5.373a2.466 2.466 0 0 0 2.84-3.953"></path>',10)]])}var Gse,Yse,Kse,Jse=V(()=>{z6(),Rc(),Gse=$6({default:()=>Kse,render:()=>Xse}),Yse={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Kse={render:Xse}});function ele(e,t){return Zo(),qo("svg",ale,[...t[0]||=[Go("path",{stroke:"#21FA90","stroke-linecap":"round","stroke-linejoin":"round",d:"M5.038 13.757v3.814m1.496-4.566 3.04 1.761 4.534-2.627V6.885L9.574 4.258 5.038 6.885v4.56m1.496 1.56v1.668m0-1.668 1.49-.91"},null,-1),Go("path",{stroke:"#00050B","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":".885",d:"m21.719 10.719 1.839 1.09v1.09l-1.84 1.091M2.834 8.13.774 9.322v5.326l2.016 1.167m3.744 1.07v1.183l3.021 1.674 2.32-1.358-.02-2.471m2.282-1.387v1.3L16.31 17.1l3.175-1.9v-5.186L16.36 8.217"},null,-1)]])}var tle,ale,rle,nle=V(()=>{z6(),Rc(),tle=$6({default:()=>rle,render:()=>ele}),ale={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},rle={render:ele}});function ole(e,t){return Zo(),qo("svg",sle,[...t[0]||=[Go("path",{fill:"#61DAFB",d:"M12.5 14.014a1.783 1.783 0 1 0 0-3.565 1.783 1.783 0 0 0 0 3.565"},null,-1),Go("path",{stroke:"#61DAFB","stroke-width":".87",d:"M12.5 15.884c5.283 0 9.565-1.635 9.565-3.652S17.783 8.58 12.5 8.58s-9.565 1.635-9.565 3.652 4.282 3.652 9.565 3.652Z"},null,-1),Go("path",{stroke:"#61DAFB","stroke-width":".87",d:"M9.337 14.058c2.642 4.575 6.199 7.466 7.946 6.457 1.746-1.008 1.021-5.534-1.62-10.11C13.02 5.832 9.464 2.94 7.717 3.949s-1.021 5.535 1.62 10.11Z"},null,-1),Go("path",{stroke:"#61DAFB","stroke-width":".87",d:"M9.337 10.406c-2.641 4.575-3.366 9.1-1.62 10.11 1.747 1.008 5.304-1.883 7.946-6.458s3.366-9.101 1.62-10.11c-1.747-1.009-5.305 1.883-7.946 6.458Z"},null,-1)]])}var ile,sle,lle,cle=V(()=>{z6(),Rc(),ile=$6({default:()=>lle,render:()=>ole}),sle={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},lle={render:ole}});function ule(e,t){return Zo(),qo("svg",ple,[...t[0]||=[Go("path",{fill:"currentColor",d:"m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481"},null,-1)]])}var dle,ple,hle,mle=V(()=>{z6(),Rc(),dle=$6({default:()=>hle,render:()=>ule}),ple={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},hle={render:ule}});function fle(e,t){return Zo(),qo("svg",vle,[...t[0]||=[Go("path",{fill:"#FF3E00",d:"M18.664 3.171c-2.219-3.185-6.61-4.13-9.788-2.104L3.29 4.625A6.42 6.42 0 0 0 .398 8.917a6.74 6.74 0 0 0 .666 4.332 6.4 6.4 0 0 0-.959 2.369 6.85 6.85 0 0 0 1.166 5.175c2.219 3.194 6.61 4.137 9.782 2.11l5.586-3.557a6.42 6.42 0 0 0 2.892-4.292 6.74 6.74 0 0 0-.666-4.332 6.4 6.4 0 0 0 .959-2.369 6.94 6.94 0 0 0-1.16-5.182"},null,-1),Go("path",{fill:"#fff",d:"M8.327 21.099a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122q.05-.261.133-.517l.105-.318.286.182a7.1 7.1 0 0 0 2.186 1.095l.208.063-.02.201c-.025.293.055.585.223.83a1.305 1.305 0 0 0 1.779.379l5.581-3.521a1.18 1.18 0 0 0 .524-.783 1.23 1.23 0 0 0-.211-.923 1.305 1.305 0 0 0-1.78-.379l-2.12 1.35q-.53.321-1.135.488a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122 3.84 3.84 0 0 1 1.736-2.573l5.581-3.559a4.3 4.3 0 0 1 1.134-.485 4.435 4.435 0 0 1 4.76 1.751c.641.908.893 2.03.7 3.122a4 4 0 0 1-.132.517l-.105.318-.287-.182a7.1 7.1 0 0 0-2.186-1.095l-.207-.063.019-.202a1.27 1.27 0 0 0-.223-.83 1.305 1.305 0 0 0-1.779-.378L6.6 9.363a1.18 1.18 0 0 0-.523.783c-.056.323.019.655.21.923a1.305 1.305 0 0 0 1.78.38l2.121-1.35c.352-.214.732-.38 1.134-.485a4.435 4.435 0 0 1 4.76 1.75 4.16 4.16 0 0 1 .7 3.122 3.8 3.8 0 0 1-1.736 2.563l-5.58 3.559c-.353.214-.732.38-1.135.489"},null,-1)]])}var gle,vle,ble,yle=V(()=>{z6(),Rc(),gle=$6({default:()=>ble,render:()=>fle}),vle={xmlns:"http://www.w3.org/2000/svg",fill:"green",viewBox:"-2 0 24 24"},ble={render:fle}});function Ole(e,t){return Zo(),qo("svg",wle,[...t[0]||=[Go("path",{fill:"#41B883",d:"m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z"},null,-1),Go("path",{fill:"#34495E",d:"m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z"},null,-1)]])}var xle,wle,kle,Sle,Ale,_le,Tle,Ele,Cle,Ple,Mle,$le,Nle,Ile,Rle,Dle,Lle,Ble=V(()=>{z6(),Rc(),xle=$6({default:()=>kle,render:()=>Ole}),wle={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},kle={render:Ole}}),jle=V(()=>{q6(),Y6(),a3(),s3(),p3(),v3(),w3(),T3(),$3(),L3(),H3(),F3(),K3(),r5(),l5(),h5(),b5(),k5(),E5(),N5(),B5(),Z5(),W5(),J5(),n7(),c7(),m7(),y7(),S7(),C7(),I7(),j7(),V7(),X7(),e9(),o9(),u9(),f9(),O9(),A9(),P9(),R9(),U9(),Q9(),G9(),tee(),iee(),dee(),gee(),xee(),_ee(),Mee(),Dee(),zee(),qee(),Yee(),ate(),ste(),pte(),vte(),wte(),Tte(),$te(),Lte(),Hte(),Fte(),Kte(),rae(),lae(),hae(),bae(),kae(),Eae(),Nae(),Bae(),Zae(),Wae(),Jae(),nre(),cre(),mre(),yre(),Sre(),Cre(),Ire(),jre(),Vre(),Xre(),ene(),one(),une(),fne(),One(),Ane(),Pne(),Rne(),Une(),Qne(),Gne(),toe(),ioe(),doe(),goe(),xoe(),_oe(),Moe(),Doe(),zoe(),qoe(),Yoe(),aie(),sie(),pie(),vie(),wie(),Tie(),$ie(),Lie(),Hie(),Fie(),Kie(),rse(),lse(),hse(),bse(),kse(),Ese(),Nse(),Bse(),Zse(),Wse(),Jse(),nle(),cle(),mle(),yle(),Ble(),Sle=Object.assign({"../icons/Add.svg":Z6,"../icons/AddTab.svg":W6,"../icons/Alert.svg":J6,"../icons/ArrowLeft.svg":n3,"../icons/ArrowRight.svg":c3,"../icons/Brackets.svg":m3,"../icons/Branch.svg":y3,"../icons/Changelog.svg":S3,"../icons/Checkmark.svg":C3,"../icons/ChevronDown.svg":I3,"../icons/ChevronLeft.svg":j3,"../icons/ChevronRight.svg":V3,"../icons/ChevronUp.svg":X3,"../icons/Clipboard.svg":e5,"../icons/Close.svg":o5,"../icons/CloseTab.svg":u5,"../icons/CloseTabs.svg":f5,"../icons/Cloud.svg":O5,"../icons/CodeFolder.svg":A5,"../icons/Cog.svg":P5,"../icons/Collection.svg":R5,"../icons/Cookie.svg":U5,"../icons/DarkMode.svg":Q5,"../icons/Delete.svg":G5,"../icons/Discord.svg":t7,"../icons/DocsPage.svg":i7,"../icons/Download.svg":d7,"../icons/Duplicate.svg":g7,"../icons/Edit.svg":x7,"../icons/Ellipses.svg":_7,"../icons/Email.svg":M7,"../icons/Error.svg":D7,"../icons/Example.svg":z7,"../icons/ExternalLink.svg":q7,"../icons/FilterList.svg":Y7,"../icons/Folder.svg":a9,"../icons/GitHub.svg":s9,"../icons/GitHubLine.svg":p9,"../icons/Globe.svg":v9,"../icons/Google.svg":w9,"../icons/Help.svg":T9,"../icons/Hide.svg":$9,"../icons/History.svg":L9,"../icons/House.svg":H9,"../icons/Import.svg":F9,"../icons/Info.svg":K9,"../icons/Key.svg":ree,"../icons/Leave.svg":lee,"../icons/LightDarkModeToggle.svg":hee,"../icons/LightMode.svg":bee,"../icons/Link.svg":kee,"../icons/Lock.svg":Eee,"../icons/Logo.svg":Nee,"../icons/Magic.svg":Bee,"../icons/Markdown.svg":Zee,"../icons/Menu.svg":Wee,"../icons/NotAllowed.svg":Jee,"../icons/Page.svg":nte,"../icons/Pencil.svg":cte,"../icons/Play.svg":mte,"../icons/Refresh.svg":yte,"../icons/Roadmap.svg":Ste,"../icons/Scribble.svg":Cte,"../icons/Search.svg":Ite,"../icons/Server.svg":jte,"../icons/Settings.svg":Vte,"../icons/Show.svg":Xte,"../icons/Sort.svg":eae,"../icons/Terminal.svg":oae,"../icons/Trash.svg":uae,"../icons/Unlock.svg":fae,"../icons/Unwatch.svg":Oae,"../icons/Upload.svg":Aae,"../icons/User.svg":Pae,"../icons/UserSwitch.svg":Rae,"../icons/Users.svg":Uae,"../icons/Versions.svg":Qae,"../icons/Wallet.svg":Gae,"../icons/Watch.svg":tre,"../icons/Workspace.svg":ire,"../icons/programming-framework-angular.svg":dre,"../icons/programming-framework-astro.svg":gre,"../icons/programming-framework-laravel.svg":xre,"../icons/programming-framework-nextdotjs.svg":_re,"../icons/programming-framework-react.svg":Mre,"../icons/programming-framework-vuedotjs.svg":Dre,"../icons/programming-language-c.svg":zre,"../icons/programming-language-clojure.svg":qre,"../icons/programming-language-csharp.svg":Yre,"../icons/programming-language-css3.svg":ane,"../icons/programming-language-dart.svg":sne,"../icons/programming-language-fsharp.svg":pne,"../icons/programming-language-go.svg":vne,"../icons/programming-language-html5.svg":wne,"../icons/programming-language-http.svg":Tne,"../icons/programming-language-java.svg":$ne,"../icons/programming-language-javascript.svg":Lne,"../icons/programming-language-json.svg":Hne,"../icons/programming-language-kotlin.svg":Fne,"../icons/programming-language-node.svg":Kne,"../icons/programming-language-objc.svg":roe,"../icons/programming-language-ocaml.svg":loe,"../icons/programming-language-php.svg":hoe,"../icons/programming-language-powershell.svg":boe,"../icons/programming-language-python.svg":koe,"../icons/programming-language-r.svg":Eoe,"../icons/programming-language-ruby.svg":Noe,"../icons/programming-language-rust.svg":Boe,"../icons/programming-language-scala.svg":Zoe,"../icons/programming-language-shell.svg":Woe,"../icons/programming-language-swift.svg":Joe,"../icons/programming-language-typescript.svg":nie,"../icons/programming-script-code.svg":cie,"../icons/programming-tool-git.svg":mie,"../icons/programming-tool-tailwindcss.svg":yie}),Ale=Object.assign({"../logos/Adonisjs.svg":Sie,"../logos/Astro.svg":Cie,"../logos/Docusaurus.svg":Iie,"../logos/Dotnet.svg":jie,"../logos/Elysiajs.svg":Vie,"../logos/Express.svg":Xie,"../logos/Fastapi.svg":ese,"../logos/Fastify.svg":ose,"../logos/Go.svg":use,"../logos/Hono.svg":fse,"../logos/Laravel.svg":Ose,"../logos/Litestar.svg":Ase,"../logos/Nestjs.svg":Pse,"../logos/Nextjs.svg":Rse,"../logos/Nitro.svg":Use,"../logos/Nuxt.svg":Qse,"../logos/Openapi.svg":Gse,"../logos/Platformatic.svg":tle,"../logos/React.svg":ile,"../logos/Rust.svg":dle,"../logos/Svelte.svg":gle,"../logos/Vue.svg":xle}),_le=e=>{let t=`../icons/${e}.svg`;return Sle[t]?Sle[t]:(console.warn(`Could not find icon: ${e}`),null)},Tle=e=>{let t=`../logos/${e}.svg`;return Ale[t]?Ale[t]:(console.warn(`Could not find icon: ${e}`),null)}}),Ule=V(()=>{iE(),Ele=XT({variants:{size:{xs:"size-3",sm:"size-3.5",md:"size-4",lg:"size-5",xl:"size-6","2xl":"size-8","3xl":"size-10",full:"size-full"}},defaultVariants:{size:"full"}})}),zle=V(()=>{jle(),Ule(),iE(),Rc(),Cle=Pn({inheritAttrs:!1,__name:"ScalarIcon",props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){bl(e=>({c07589c2:r.value}));let t=e,{cx:a}=aE(),r=ol(()=>t.thickness??"2"),n=ol(()=>t.label?{"aria-label":t.label}:{"aria-hidden":!0,role:"presentation"}),o=ol(()=>t.icon?_le(t.icon):t.logo?Tle(t.logo):void 0);return(t,r)=>(Zo(),Fo(Wn(o.value),at(Ko({...Fa(a)("scalar-icon",Fa(Ele)({size:e.size})),...n.value})),null,16))}})}),Hle=V(()=>{U6(),zle(),Ple=P6(Cle,[["__scopeId","data-v-b651bb23"]])}),Zle=V(()=>{Ule(),Hle(),iE(),Rc(),Mle=Pn({inheritAttrs:!1,__name:"ScalarIconLegacyAdapter",props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){let{cx:t}=aE();return(a,r)=>"string"==typeof e.icon?(Zo(),Fo(Ple,ii({key:0},{...a.$props,...a.$attrs},{icon:e.icon}),null,16,["icon"])):(Zo(),Fo(Wn(e.icon),ii({key:1,label:e.label,weight:e.weight},Fa(t)(Fa(Ele)({size:e.size}))),null,16,["label","weight"]))}})}),Vle=V(()=>{Zle(),$le=Mle}),Qle=V(()=>{Hle()}),qle=V(()=>{j6(),Rc(),Qle(),Nle={class:"request-section-content request-section-content-filter fade-request-section-content text-c-3 pointer-events-auto relative hidden w-full justify-end gap-[1.5px] rounded py-1.75 text-xs xl:flex"},Ile={class:"filter-button context-bar-group-hover:text-c-1 absolute -right-[30px] flex items-center"},Rle={class:"context-bar-group-hover:hidden mr-1.5"},Dle=Pn({__name:"SectionFilter",props:io({filters:{default:()=>[]},filterIds:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=wo(e,"modelValue"),a=Za(),r=r=>{let n="prev"===r?-1:1,o=t.value?e.filters.indexOf(t.value):0,i=e.filters.length,s=(o+n+i)%i;t.value=e.filters[s],en(()=>{if(a.value){let e=a.value.querySelector('button[aria-selected="true"]');e&&e.focus()}})};return(n,o)=>(Zo(),qo("div",{ref_key:"tablist",ref:a,class:"filter-hover context-bar-group ml-auto hidden lg:flex",role:"tablist",onKeydown:[o[0]||=Tc(e=>r("prev"),["left"]),o[1]||=Tc(e=>r("next"),["right"])]},[Go("div",Nle,[(Zo(!0),qo(Ls,null,Yn(e.filters,a=>(Zo(),Fo(C6,{key:a,class:"filter-hover-item",controls:e.filterIds?.[a],role:"tab",selected:t.value===a,onClick:e=>t.value=a},{default:cn(()=>[ei(Kt(a),1)]),_:2},1032,["controls","selected","onClick"]))),128)),Go("div",Ile,[Go("span",Rle,Kt(t.value),1),qs(Fa(Ple),{icon:"FilterList",size:"md",thickness:"2"})])])],544))}})}),Fle=V(()=>{_m(),qle(),Lle=km(Dle,[["__scopeId","data-v-07ff8fc3"]])});function Wle({multiple:e,accept:t,onChange:a,onError:r}={}){let n,o=Za(null);return typeof document<"u"&&(n=document.createElement("input"),n.type="file",n.onchange=e=>{o.value=e.target.files,a?.(o.value)},n.onerror=()=>r?.(),n.multiple=e,n.accept=t),{files:Na(o),open:()=>{if(!n)return r?.();n.click()}}}var Xle,Gle,Yle,Kle,Jle,ece,tce,ace=V(()=>{Rc()}),rce=V(()=>{iE(),Rc(),Xle={class:"circular-loader"},Gle=Pn({inheritAttrs:!1,__name:"ScalarLoading",props:{loader:{},size:{}},setup(e){let{cx:t}=aE(),a=XT({variants:{size:{xs:"size-3",sm:"size-3.5",md:"size-4",lg:"size-5",xl:"size-6","2xl":"size-8","3xl":"size-10",full:"size-full"}},defaultVariants:{size:"full"}});return(r,n)=>e.loader?(Zo(),qo("div",at(ii({key:0},Fa(t)("loader-wrapper",Fa(a)({size:e.size})))),[(Zo(),qo("svg",{class:tt(["svg-loader",{"icon-is-valid":e.loader.isValid,"icon-is-invalid":e.loader.isInvalid}]),viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[n[0]||=ti('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-27df5cd8></path>',5),Go("g",Xle,[Go("circle",{class:tt(["loader-path",{"loader-path-off":!e.loader.isLoading}]),cx:"50",cy:"50",fill:"none",r:"20","stroke-width":"3"},null,2)])],2))],16)):ai("",!0)}})}),nce=V(()=>{rce(),U6(),Yle=P6(Gle,[["__scopeId","data-v-27df5cd8"]])}),oce=V(()=>{Kle={solid:["scalar-button-solid","bg-b-btn text-c-btn focus-visible:border-c-btn active:bg-b-btn hover:bg-h-btn outline-offset-1"],outlined:["scalar-button-outlined","active:bg-btn-1 shadow-border bg-b-1 text-c-1 hover:bg-b-2"],ghost:["scalar-button-ghost","bg-transparent text-c-2 active:text-c-1 hover:text-c-1"],gradient:["scalar-button-gradient","shadow-border bg-b-1.5 bg-linear-to-b from-b-1 to-b-2 hover:bg-linear-to-t","dark:bg-linear-to-t dark:hover:bg-linear-to-b"],danger:["scalar-button-danger","bg-c-danger text-white active:brightness-90 hover:brightness-90"]}}),ice=V(()=>{nce(),oce(),iE(),Rc(),Jle={key:3,class:"centered"},ece=Pn({inheritAttrs:!1,__name:"ScalarButton",props:{is:{default:"button"},variant:{default:"solid"},size:{default:"md"},disabled:{type:Boolean},icon:{type:[Object,Function]},loader:{}},setup(e){let t=XT({base:"scalar-button flex cursor-pointer items-center justify-center rounded font-medium -outline-offset-1",variants:{disabled:{true:"bg-b-2 text-color-3 shadow-none"},size:{xs:"px-2 py-1 text-xs/4",sm:"px-3.5 py-2 text-sm/4",md:"px-5 py-3 text-sm/4"},variant:Kle},compoundVariants:[{disabled:!0,variant:["solid","outlined","ghost","gradient","danger"],class:"bg-b-2 text-c-3 shadow-none hover:bg-b-[_] cursor-not-allowed active:bg-b-[_] hover:text-c-[_] active:text-c-[_]"},{disabled:!0,variant:["gradient"],class:"to-b-1.5 bg-linear-to-b hover:bg-linear-to-b dark:hover:bg-linear-to-t"}]}),a=XT({base:"shrink-0",variants:{size:{xs:"size-2.75 -ml-0.25 mr-1",sm:"size-3.5 -ml-0.25 mr-1",md:"size-3.5 -ml-0.5 mr-1.5"}}}),r=XT({variants:{size:{xs:"size-4",sm:"size-5",md:"size-6"}}}),{cx:n}=aE();return(o,i)=>(Zo(),Fo(Wn(e.is),ii({"aria-disabled":e.disabled||void 0,type:"button"===e.is?"button":void 0},Fa(n)(Fa(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{default:cn(()=>[o.$slots.icon||e.icon?(Zo(),qo("div",{key:0,class:tt([Fa(a)({size:e.size}),{invisible:e.loader?.isActive}])},[Jn(o.$slots,"icon",{},()=>[(Zo(),Fo(Wn(e.icon),{class:"size-full"}))])],2)):ai("",!0),e.loader?(Zo(),qo("span",{key:1,class:tt({invisible:e.loader?.isActive})},[Jn(o.$slots,"default")],2)):Jn(o.$slots,"default",{key:2}),e.loader?.isActive?(Zo(),qo("div",Jle,[qs(Fa(Yle),{class:tt(Fa(r)({size:e.size})),loader:e.loader},null,8,["class","loader"])])):ai("",!0)]),_:3},16,["aria-disabled","type"]))}})}),sce=V(()=>{ice(),tce=ece}),lce=V(()=>{sce()});function cce(e){return!!e[0]&&function(e){return void 0!==e?.options}(e[0])}var uce,dce,pce,hce,mce,fce,gce,vce,bce,yce,Oce,xce,wce,kce,Sce,Ace,_ce,Tce,Ece,Cce,Pce,Mce=V(()=>{}),$ce=V(()=>{uce=(e,t)=>""===e?t:t.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()))}),Nce=V(()=>{Rc(),ZS(),dce=Pn({__name:"ScalarListboxCheckbox",props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup:e=>(t,a)=>(Zo(),qo("div",{class:tt(["flex size-4 items-center justify-center p-0.75",[e.selected?"bg-c-accent text-b-1":"text-transparent shadow-border",e.multiselect?"rounded":"rounded-full"]])},[e.selected?(Zo(),Fo(Fa(cg),{key:0,class:"size-3",weight:"bold"})):ai("",!0)],2))})}),Ice=V(()=>{Nce(),pce=dce}),Rce=V(()=>{iE(),Rc(),hce=["aria-selected"],mce=Pn({__name:"ScalarComboboxOption",props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){let t=XT({base:["group/item","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","truncate bg-transparent text-c-1","cursor-pointer hover:bg-b-2"],variants:{selected:{true:"text-c-1"},active:{true:"bg-b-2"}}});return(a,r)=>(Zo(),qo("li",{"aria-selected":e.selected,class:tt(Fa(GT)(Fa(t)({active:e.active,selected:e.selected}))),role:"option",tabindex:"-1"},[Jn(a.$slots,"default",{active:e.active,selected:e.selected})],10,hce))}})}),Dce=V(()=>{Rce(),fce=mce}),Lce=V(()=>{Rc(),gce=["id","aria-labelledby","role"],vce=["id"],bce=Pn({__name:"ScalarComboboxOptionGroup",props:{id:{default:()=>Mn()},hidden:{type:Boolean,default:!1}},setup:e=>(t,a)=>(Zo(),qo("div",{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:"contents",role:e.hidden?void 0:"group"},[e.hidden?ai("",!0):(Zo(),qo("div",{key:0,id:`${e.id}-label`,class:"min-w-0 truncate px-2.5 py-1.5 text-c-2"},[Jn(t.$slots,"label")],8,vce)),Jn(t.$slots,"default")],8,gce))})}),Bce=V(()=>{Lce(),yce=bce}),jce=V(()=>{$ce(),Ice(),Dce(),Bce(),Mce(),Rc(),ZS(),Oce={class:"relative flex"},xce=["aria-activedescendant","placeholder"],wce=["aria-multiselectable"],kce={class:"inline-block min-w-0 flex-1 truncate text-c-1"},Sce=Pn({inheritAttrs:!1,__name:"ScalarComboboxOptions",props:io({options:{},placeholder:{},filterFn:{type:Function,default:uce},multiselect:{type:Boolean}},{modelValue:{default:[]},modelModifiers:{}}),emits:io(["add"],["update:modelValue"]),setup(e,{emit:t}){let a=t,r=wo(e,"modelValue"),n=ao(),o=`scalar-combobox-items-${Mn()}`,i={id:`${Mn()}-add`,label:"Add a new option"};function s(e){return`${o}-${e.id}`}let l=ol(()=>cce(e.options)?e.options.flatMap(e=>e.options):e.options),c=ol(()=>cce(e.options)?e.options:[{label:"",options:e.options}]),u=Za(""),d=Za(r.value?.[0]??l.value[0]);ts(()=>{u.value="",d.value=r.value?.[0]??l.value[0],r.value[0]&&setTimeout(()=>{let e=r.value[0];e&&document?.getElementById(s(e))?.scrollIntoView({block:"nearest"})},10)}),fn(()=>u.value,()=>d.value=h.value[0]);let p=ol(()=>e.filterFn(u.value,l.value,c.value)),h=ol(()=>n.add?[...p.value,i]:p.value);function m(t){if(t){if(t.id===i.id)return void g();e.multiselect?r.value.some(e=>e.id===t.id)?r.value=r.value.filter(e=>e.id!==t.id):r.value=[...r.value,l.value.find(e=>e.id===t.id)]:r.value=[l.value.find(e=>e.id===t.id)]}}function f(e){let t=h.value,a=t.findIndex(e=>e.id===d.value?.id)+e;a<0||a>t.length-1||(d.value=t[a],d.value&&document?.getElementById(s(d.value))?.scrollIntoView({behavior:"smooth",block:"nearest"}))}function g(){a("add"),u.value=""}let v=Za(null);return ts(()=>setTimeout(()=>v.value?.focus(),0)),(t,a)=>(Zo(),qo(Ls,null,[Go("div",Oce,[qs(Fa(jy),{class:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4"}),un(Go("input",{ref_key:"input",ref:v,"onUpdate:modelValue":a[0]||=e=>u.value=e,"aria-activedescendant":d.value?s(d.value):void 0,"aria-autocomplete":"list","aria-controls":o,class:"min-w-0 flex-1 rounded border-0 py-2.5 pl-8 pr-3 leading-none text-c-1 -outline-offset-1","data-1p-ignore":"",placeholder:e.placeholder,role:"combobox",tabindex:"0",type:"text",onKeydown:[a[1]||=Tc(Ac(e=>f(1),["prevent"]),["down"]),a[2]||=Tc(Ac(e=>d.value&&m(d.value),["prevent"]),["enter"]),a[3]||=Tc(Ac(e=>f(-1),["prevent"]),["up"])]},null,40,xce),[[bc,u.value]])]),un(Go("ul",{id:o,"aria-multiselectable":e.multiselect,class:"border-t p-0.75 custom-scroll overscroll-contain flex-1 min-h-0",role:"listbox",tabindex:"-1"},[(Zo(!0),qo(Ls,null,Yn(c.value,(n,i)=>(Zo(),Fo(yce,{id:`${o}-group-${i}`,key:i,hidden:!n.options.some(e=>p.value.some(t=>t.id===e.id))||!n.label},{label:cn(()=>[t.$slots.group?Jn(t.$slots,"group",{key:0,group:n}):(Zo(),qo(Ls,{key:1},[ei(Kt(n.label),1)],64))]),default:cn(()=>[(Zo(!0),qo(Ls,null,Yn(p.value,o=>(Zo(),qo(Ls,{key:o.id},[n.options.some(e=>e.id===o.id)?(Zo(),Fo(fce,{key:0,id:s(o),active:d.value?.id===o.id,selected:r.value.some(e=>e.id===o.id),onClick:e=>m(o),onMousedown:a[4]||=Ac(()=>{},["prevent"]),onMouseenter:e=>d.value=o},{default:cn(({active:a,selected:n})=>[t.$slots.option?Jn(t.$slots,"option",{key:0,active:a,option:o,selected:n}):(Zo(),qo(Ls,{key:1},[qs(Fa(pce),{multiselect:e.multiselect,selected:r.value.some(e=>e.id===o.id)},null,8,["multiselect","selected"]),Go("span",kce,Kt(o.label),1)],64))]),_:2},1032,["id","active","selected","onClick","onMouseenter"])):ai("",!0)],64))),128))]),_:2},1032,["id","hidden"]))),128)),n.add?(Zo(),Fo(fce,{key:0,id:s(i),active:d.value?.id===i.id,onClick:g,onMousedown:a[5]||=Ac(()=>{},["prevent"]),onMouseenter:a[6]||=e=>d.value=i},{default:cn(({active:e})=>[qs(Fa(NO),{class:"size-4 p-px"}),Jn(t.$slots,"add",{active:e})]),_:3},8,["id","active"])):ai("",!0)],8,wce),[[ac,p.value.length||n.add]])],64))}})}),Uce=V(()=>{jce(),Ace=Sce}),zce=V(()=>{Rc(),_ce=Symbol(),Tce=()=>hn(_ce,"body"),Ece=e=>{let t=e??`scalar-teleport-${Mn()}`;return pn(_ce,`#${t}`),t}}),Hce=V(()=>{zce(),Rc(),Cce=Pn({inheritAttrs:!1,__name:"ScalarTeleport",props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=Tce();return(a,r)=>(Zo(),Fo(Ii,{defer:!e.immediate,disabled:e.disabled,to:e.to||Fa(t)},[Go("div",ii({class:"scalar-app",style:{display:"contents"}},a.$attrs),[Jn(a.$slots,"default")],16)],8,["defer","disabled","to"]))}})}),Zce=V(()=>{Hce(),Pce=Cce});var Vce=V(()=>{Rc()});function Qce(e,t,a){return nue(e,rue(t,a))}function qce(e,t){return"function"==typeof e?e(t):e}function Fce(e){return e.split("-")[0]}function Wce(e){return e.split("-")[1]}function Xce(e){return"x"===e?"y":"x"}function Gce(e){return"y"===e?"height":"width"}function Yce(e){return uue.has(Fce(e))?"y":"x"}function Kce(e){return Xce(Yce(e))}function Jce(e){return e.replace(/start|end/g,e=>cue[e])}function eue(e,t,a,r){let n=Wce(e),o=function(e,t,a){switch(e){case"top":case"bottom":return a?t?pue:due:t?due:pue;case"left":case"right":return t?hue:mue;default:return[]}}(Fce(e),"start"===a,r);return n&&(o=o.map(e=>e+"-"+n),t&&(o=o.concat(o.map(Jce)))),o}function tue(e){return e.replace(/left|right|bottom|top/g,e=>lue[e])}function aue(e){let{x:t,y:a,width:r,height:n}=e;return{width:r,height:n,top:a,left:t,right:t+r,bottom:a+n,x:t,y:a}}var rue,nue,oue,iue,sue,lue,cue,uue,due,pue,hue,mue,fue=V(()=>{rue=Math.min,nue=Math.max,oue=Math.round,iue=Math.floor,sue=e=>({x:e,y:e}),lue={left:"right",right:"left",bottom:"top",top:"bottom"},cue={start:"end",end:"start"},uue=new Set(["top","bottom"]),due=["left","right"],pue=["right","left"],hue=["top","bottom"],mue=["bottom","top"]});function gue(e,t,a){let r,{reference:n,floating:o}=e,i=Yce(t),s=Kce(t),l=Gce(s),c=Fce(t),u="y"===i,d=n.x+n.width/2-o.width/2,p=n.y+n.height/2-o.height/2,h=n[l]/2-o[l]/2;switch(c){case"top":r={x:d,y:n.y-o.height};break;case"bottom":r={x:d,y:n.y+n.height};break;case"right":r={x:n.x+n.width,y:p};break;case"left":r={x:n.x-o.width,y:p};break;default:r={x:n.x,y:n.y}}switch(Wce(t)){case"start":r[s]-=h*(a&&u?-1:1);break;case"end":r[s]+=h*(a&&u?-1:1)}return r}async function vue(e,t){void 0===t&&(t={});let{x:a,y:r,platform:n,rects:o,elements:i,strategy:s}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:u="floating",altBoundary:d=!1,padding:p=0}=qce(t,e),h=function(e){return"number"==typeof e?{top:e,right:e,bottom:e,left:e}:function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e)}(p),m=i[d?"floating"===u?"reference":"floating":u],f=aue(await n.getClippingRect({element:await(null==n.isElement?void 0:n.isElement(m))??1?m:m.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(i.floating)),boundary:l,rootBoundary:c,strategy:s})),g="floating"===u?{x:a,y:r,width:o.floating.width,height:o.floating.height}:o.reference,v=await(null==n.getOffsetParent?void 0:n.getOffsetParent(i.floating)),b=await(null==n.isElement?void 0:n.isElement(v))&&await(null==n.getScale?void 0:n.getScale(v))||{x:1,y:1},y=aue(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:g,offsetParent:v,strategy:s}):g);return{top:(f.top-y.top+h.top)/b.y,bottom:(y.bottom-f.bottom+h.bottom)/b.y,left:(f.left-y.left+h.left)/b.x,right:(y.right-f.right+h.right)/b.x}}var bue,yue,Oue,xue,wue,kue,Sue=V(()=>{fue(),bue=async(e,t,a)=>{let{placement:r="bottom",strategy:n="absolute",middleware:o=[],platform:i}=a,s=o.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t)),c=await i.getElementRects({reference:e,floating:t,strategy:n}),{x:u,y:d}=gue(c,r,l),p=r,h={},m=0;for(let a=0;a<s.length;a++){let{name:o,fn:f}=s[a],{x:g,y:v,data:b,reset:y}=await f({x:u,y:d,initialPlacement:r,placement:p,strategy:n,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});u=g??u,d=v??d,h={...h,[o]:{...h[o],...b}},y&&m<=50&&(m++,"object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(c=!0===y.rects?await i.getElementRects({reference:e,floating:t,strategy:n}):y.rects),({x:u,y:d}=gue(c,p,l))),a=-1)}return{x:u,y:d,placement:p,strategy:n,middlewareData:h}},yue=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var a;let{placement:r,middlewareData:n,rects:o,initialPlacement:i,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...f}=qce(e,t);if(null!=(a=n.arrow)&&a.alignmentOffset)return{};let g=Fce(r),v=Yce(i),b=Fce(i)===i,y=await(null==s.isRTL?void 0:s.isRTL(l.floating)),O=d||(b||!m?[tue(i)]:function(e){let t=tue(e);return[Jce(e),t,Jce(t)]}(i)),x="none"!==h;!d&&x&&O.push(...eue(i,m,h,y));let w=[i,...O],k=await vue(t,f),S=[],A=n.flip?.overflows||[];if(c&&S.push(k[g]),u){let e=function(e,t,a){void 0===a&&(a=!1);let r=Wce(e),n=Kce(e),o=Gce(n),i="x"===n?r===(a?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=tue(i)),[i,tue(i)]}(r,o,y);S.push(k[e[0]],k[e[1]])}if(A=[...A,{placement:r,overflows:S}],!S.every(e=>e<=0)){let e=(n.flip?.index||0)+1,t=w[e];if(t&&("alignment"!==u||v===Yce(t)||A.every(e=>Yce(e.placement)!==v||e.overflows[0]>0)))return{data:{index:e,overflows:A},reset:{placement:t}};let a=A.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!a)switch(p){case"bestFit":{let e=A.filter(e=>{if(x){let t=Yce(e.placement);return t===v||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(a=e);break}case"initialPlacement":a=i}if(r!==a)return{reset:{placement:a}}}return{}}}},Oue=new Set(["left","top"]),xue=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var a;let{x:r,y:n,placement:o,middlewareData:i}=t,s=await async function(e,t){let{placement:a,platform:r,elements:n}=e,o=await(null==r.isRTL?void 0:r.isRTL(n.floating)),i=Fce(a),s=Wce(a),l="y"===Yce(a),c=Oue.has(i)?-1:1,u=o&&l?-1:1,d=qce(t,e),{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof m&&(h="end"===s?-1*m:m),l?{x:h*u,y:p*c}:{x:p*c,y:h*u}}(t,e);return o===i.offset?.placement&&null!=(a=i.arrow)&&a.alignmentOffset?{}:{x:r+s.x,y:n+s.y,data:{...s,placement:o}}}}},wue=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:a,y:r,placement:n}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:a}=e;return{x:t,y:a}}},...l}=qce(e,t),c={x:a,y:r},u=await vue(t,l),d=Yce(Fce(n)),p=Xce(d),h=c[p],m=c[d];if(o){let e="y"===p?"bottom":"right";h=Qce(h+u["y"===p?"top":"left"],h,h-u[e])}if(i){let e="y"===d?"bottom":"right";m=Qce(m+u["y"===d?"top":"left"],m,m-u[e])}let f=s.fn({...t,[p]:h,[d]:m});return{...f,data:{x:f.x-a,y:f.y-r,enabled:{[p]:o,[d]:i}}}}}},kue=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var a,r;let n,o,{placement:i,rects:s,platform:l,elements:c}=t,{apply:u=()=>{},...d}=qce(e,t),p=await vue(t,d),h=Fce(i),m=Wce(i),f="y"===Yce(i),{width:g,height:v}=s.floating;"top"===h||"bottom"===h?(n=h,o=m===(await(null==l.isRTL?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(o=h,n="end"===m?"top":"bottom");let b=v-p.top-p.bottom,y=g-p.left-p.right,O=rue(v-p[n],b),x=rue(g-p[o],y),w=!t.middlewareData.shift,k=O,S=x;if(null!=(a=t.middlewareData.shift)&&a.enabled.x&&(S=y),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(k=b),w&&!m){let e=nue(p.left,0),t=nue(p.right,0),a=nue(p.top,0),r=nue(p.bottom,0);f?S=g-2*(0!==e||0!==t?e+t:nue(p.left,p.right)):k=v-2*(0!==a||0!==r?a+r:nue(p.top,p.bottom))}await u({...t,availableWidth:S,availableHeight:k});let A=await l.getDimensions(c.floating);return g!==A.width||v!==A.height?{reset:{rects:!0}}:{}}}}});function Aue(){return typeof window<"u"}function _ue(e){return Cue(e)?(e.nodeName||"").toLowerCase():"#document"}function Tue(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Eue(e){return((Cue(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Cue(e){return!!Aue()&&(e instanceof Node||e instanceof Tue(e).Node)}function Pue(e){return!!Aue()&&(e instanceof Element||e instanceof Tue(e).Element)}function Mue(e){return!!Aue()&&(e instanceof HTMLElement||e instanceof Tue(e).HTMLElement)}function $ue(e){return!(!Aue()||typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof Tue(e).ShadowRoot)}function Nue(e){let{overflow:t,overflowX:a,overflowY:r,display:n}=jue(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+a)&&!Que.has(n)}function Iue(e){return que.has(_ue(e))}function Rue(e){return Fue.some(t=>{try{return e.matches(t)}catch{return!1}})}function Due(e){let t=Lue(),a=Pue(e)?jue(e):e;return Wue.some(e=>!!a[e]&&"none"!==a[e])||!!a.containerType&&"normal"!==a.containerType||!t&&!!a.backdropFilter&&"none"!==a.backdropFilter||!t&&!!a.filter&&"none"!==a.filter||Xue.some(e=>(a.willChange||"").includes(e))||Gue.some(e=>(a.contain||"").includes(e))}function Lue(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Bue(e){return Yue.has(_ue(e))}function jue(e){return Tue(e).getComputedStyle(e)}function Uue(e){return Pue(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function zue(e){if("html"===_ue(e))return e;let t=e.assignedSlot||e.parentNode||$ue(e)&&e.host||Eue(e);return $ue(t)?t.host:t}function Hue(e){let t=zue(e);return Bue(t)?e.ownerDocument?e.ownerDocument.body:e.body:Mue(t)&&Nue(t)?t:Hue(t)}function Zue(e,t,a){void 0===t&&(t=[]),void 0===a&&(a=!0);let r=Hue(e),n=r===e.ownerDocument?.body,o=Tue(r);if(n){let e=Vue(o);return t.concat(o,o.visualViewport||[],Nue(r)?r:[],e&&a?Zue(e):[])}return t.concat(r,Zue(r,[],a))}function Vue(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var Que,que,Fue,Wue,Xue,Gue,Yue,Kue=V(()=>{Que=new Set(["inline","contents"]),que=new Set(["table","td","th"]),Fue=[":popover-open",":modal"],Wue=["transform","translate","scale","rotate","perspective"],Xue=["transform","translate","scale","rotate","perspective","filter"],Gue=["paint","layout","strict","content"],Yue=new Set(["html","body","#document"])});function Jue(e){let t=jue(e),a=parseFloat(t.width)||0,r=parseFloat(t.height)||0,n=Mue(e),o=n?e.offsetWidth:a,i=n?e.offsetHeight:r,s=oue(a)!==o||oue(r)!==i;return s&&(a=o,r=i),{width:a,height:r,$:s}}function ede(e){return Pue(e)?e:e.contextElement}function tde(e){let t=ede(e);if(!Mue(t))return sue(1);let a=t.getBoundingClientRect(),{width:r,height:n,$:o}=Jue(t),i=(o?oue(a.width):a.width)/r,s=(o?oue(a.height):a.height)/n;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}function ade(e){let t=Tue(e);return Lue()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ode}function rde(e,t,a,r){void 0===t&&(t=!1),void 0===a&&(a=!1);let n=e.getBoundingClientRect(),o=ede(e),i=sue(1);t&&(r?Pue(r)&&(i=tde(r)):i=tde(e));let s=function(e,t,a){return void 0===t&&(t=!1),!(!a||t&&a!==Tue(e))&&t}(o,a,r)?ade(o):sue(0),l=(n.left+s.x)/i.x,c=(n.top+s.y)/i.y,u=n.width/i.x,d=n.height/i.y;if(o){let e=Tue(o),t=r&&Pue(r)?Tue(r):r,a=e,n=Vue(a);for(;n&&r&&t!==a;){let e=tde(n),t=n.getBoundingClientRect(),r=jue(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=i,a=Tue(n),n=Vue(a)}}return aue({width:u,height:d,x:l,y:c})}function nde(e,t){let a=Uue(e).scrollLeft;return t?t.left+a:rde(Eue(e)).left+a}function ode(e,t){let a=e.getBoundingClientRect();return{x:a.left+t.scrollLeft-nde(e,a),y:a.top+t.scrollTop}}function ide(e){let{elements:t,rect:a,offsetParent:r,strategy:n}=e,o="fixed"===n,i=Eue(r),s=!!t&&Rue(t.floating);if(r===i||s&&o)return a;let l={scrollLeft:0,scrollTop:0},c=sue(1),u=sue(0),d=Mue(r);if((d||!d&&!o)&&(("body"!==_ue(r)||Nue(i))&&(l=Uue(r)),Mue(r))){let e=rde(r);c=tde(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let p=!i||d||o?sue(0):ode(i,l);return{width:a.width*c.x,height:a.height*c.y,x:a.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:a.y*c.y-l.scrollTop*c.y+u.y+p.y}}function sde(e){return Array.from(e.getClientRects())}function lde(e,t,a){let r;if("viewport"===t)r=function(e,t){let a=Tue(e),r=Eue(e),n=a.visualViewport,o=r.clientWidth,i=r.clientHeight,s=0,l=0;if(n){o=n.width,i=n.height;let e=Lue();(!e||e&&"fixed"===t)&&(s=n.offsetLeft,l=n.offsetTop)}let c=nde(r);if(c<=0){let e=r.ownerDocument,t=e.body,a=getComputedStyle(t),n="CSS1Compat"===e.compatMode&&parseFloat(a.marginLeft)+parseFloat(a.marginRight)||0,i=Math.abs(r.clientWidth-t.clientWidth-n);i<=xde&&(o-=i)}else c<=xde&&(o+=c);return{width:o,height:i,x:s,y:l}}(e,a);else if("document"===t)r=function(e){let t=Eue(e),a=Uue(e),r=e.ownerDocument.body,n=nue(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=nue(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),i=-a.scrollLeft+nde(e),s=-a.scrollTop;return"rtl"===jue(r).direction&&(i+=nue(t.clientWidth,r.clientWidth)-n),{width:n,height:o,x:i,y:s}}(Eue(e));else if(Pue(t))r=function(e,t){let a=rde(e,!0,"fixed"===t),r=a.top+e.clientTop,n=a.left+e.clientLeft,o=Mue(e)?tde(e):sue(1);return{width:e.clientWidth*o.x,height:e.clientHeight*o.y,x:n*o.x,y:r*o.y}}(t,a);else{let a=ade(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return aue(r)}function cde(e,t){let a=zue(e);return!(a===t||!Pue(a)||Bue(a))&&("fixed"===jue(a).position||cde(a,t))}function ude(e,t){let a=t.get(e);if(a)return a;let r=Zue(e,[],!1).filter(e=>Pue(e)&&"body"!==_ue(e)),n=null,o="fixed"===jue(e).position,i=o?zue(e):e;for(;Pue(i)&&!Bue(i);){let t=jue(i),a=Due(i);!a&&"fixed"===t.position&&(n=null),(o?!a&&!n:!a&&"static"===t.position&&n&&wde.has(n.position)||Nue(i)&&!a&&cde(e,i))?r=r.filter(e=>e!==i):n=t,i=zue(i)}return t.set(e,r),r}function dde(e){let{element:t,boundary:a,rootBoundary:r,strategy:n}=e,o=[..."clippingAncestors"===a?Rue(t)?[]:ude(t,this._c):[].concat(a),r],i=o[0],s=o.reduce((e,a)=>{let r=lde(t,a,n);return e.top=nue(r.top,e.top),e.right=rue(r.right,e.right),e.bottom=rue(r.bottom,e.bottom),e.left=nue(r.left,e.left),e},lde(t,i,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function pde(e){let{width:t,height:a}=Jue(e);return{width:t,height:a}}function hde(e,t,a){let r=Mue(t),n=Eue(t),o="fixed"===a,i=rde(e,!0,o,t),s={scrollLeft:0,scrollTop:0},l=sue(0);function c(){l.x=nde(n)}if(r||!r&&!o)if(("body"!==_ue(t)||Nue(n))&&(s=Uue(t)),r){let e=rde(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else n&&c();o&&!r&&n&&c();let u=!n||r||o?sue(0):ode(n,s);return{x:i.left+s.scrollLeft-l.x-u.x,y:i.top+s.scrollTop-l.y-u.y,width:i.width,height:i.height}}function mde(e){return"static"===jue(e).position}function fde(e,t){if(!Mue(e)||"fixed"===jue(e).position)return null;if(t)return t(e);let a=e.offsetParent;return Eue(e)===a&&(a=a.ownerDocument.body),a}function gde(e,t){let a=Tue(e);if(Rue(e))return a;if(!Mue(e)){let t=zue(e);for(;t&&!Bue(t);){if(Pue(t)&&!mde(t))return t;t=zue(t)}return a}let r=fde(e,t);for(;r&&Iue(r)&&mde(r);)r=fde(r,t);return r&&Bue(r)&&mde(r)&&!Due(r)?a:r||function(e){let t=zue(e);for(;Mue(t)&&!Bue(t);){if(Due(t))return t;if(Rue(t))return null;t=zue(t)}return null}(e)||a}function vde(e){return"rtl"===jue(e).direction}function bde(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function yde(e,t,a,r){void 0===r&&(r={});let{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=ede(e),u=n||o?[...c?Zue(c):[],...Zue(t)]:[];u.forEach(e=>{n&&e.addEventListener("scroll",a,{passive:!0}),o&&e.addEventListener("resize",a)});let d=c&&s?function(e,t){let a,r=null,n=Eue(e);function o(){var e;clearTimeout(a),null==(e=r)||e.disconnect(),r=null}return function i(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();let c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(s||t(),!p||!h)return;let m={rootMargin:-iue(d)+"px "+-iue(n.clientWidth-(u+p))+"px "+-iue(n.clientHeight-(d+h))+"px "+-iue(u)+"px",threshold:nue(0,rue(1,l))||1},f=!0;function g(t){let r=t[0].intersectionRatio;if(r!==l){if(!f)return i();r?i(!1,r):a=setTimeout(()=>{i(!1,1e-7)},1e3)}1===r&&!bde(c,e.getBoundingClientRect())&&i(),f=!1}try{r=new IntersectionObserver(g,{...m,root:n.ownerDocument})}catch{r=new IntersectionObserver(g,m)}r.observe(e)}(!0),o}(c,a):null,p=-1,h=null;i&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),a()}),c&&!l&&h.observe(c),h.observe(t));let m,f=l?rde(e):null;return l&&function t(){let r=rde(e);f&&!bde(f,r)&&a(),f=r,m=requestAnimationFrame(t)}(),a(),()=>{var e;u.forEach(e=>{n&&e.removeEventListener("scroll",a),o&&e.removeEventListener("resize",a)}),d?.(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(m)}}var Ode,xde,wde,kde,Sde,Ade,_de,Tde,Ede,Cde,Pde=V(()=>{Sue(),fue(),Kue(),Ode=sue(0),xde=25,wde=new Set(["absolute","fixed"]),kde=async function(e){let t=this.getOffsetParent||gde,a=this.getDimensions,r=await a(e.floating);return{reference:hde(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},Sde={convertOffsetParentRelativeRectToViewportRelativeRect:ide,getDocumentElement:Eue,getClippingRect:dde,getOffsetParent:gde,getElementRects:kde,getClientRects:sde,getDimensions:pde,getScale:tde,isElement:Pue,isRTL:vde},Ade=xue,_de=wue,Tde=yue,Ede=kue,Cde=(e,t,a)=>{let r=new Map,n={platform:Sde,...a},o={...n.platform,_c:r};return bue(e,t,{...n,platform:o})}}),Mde=V(()=>{Rc()});function $de(e){if(function(e){return"object"==typeof e&&!!e&&"$el"in e}(e)){let t=e.$el;return Cue(t)&&"#comment"===_ue(t)?null:t}return e}function Nde(e){return"function"==typeof e?e():Fa(e)}function Ide(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Rde(e,t){let a=Ide(e);return Math.round(t*a)/a}function Dde(e,t,a){void 0===a&&(a={});let r,n=a.whileElementsMounted,o=ol(()=>Nde(a.open)??!0),i=ol(()=>Nde(a.middleware)),s=ol(()=>Nde(a.placement)??"bottom"),l=ol(()=>Nde(a.strategy)??"absolute"),c=ol(()=>Nde(a.transform)??!0),u=ol(()=>$de(e.value)),d=ol(()=>$de(t.value)),p=Za(0),h=Za(0),m=Za(l.value),f=Za(s.value),g=Va({}),v=Za(!1),b=ol(()=>{let e={position:m.value,left:"0",top:"0"};if(!d.value)return e;let t=Rde(d.value,p.value),a=Rde(d.value,h.value);return c.value?{...e,transform:"translate("+t+"px, "+a+"px)",...Ide(d.value)>=1.5&&{willChange:"transform"}}:{position:m.value,left:t+"px",top:a+"px"}});function y(){if(null==u.value||null==d.value)return;let e=o.value;Cde(u.value,d.value,{middleware:i.value,placement:s.value,strategy:l.value}).then(t=>{p.value=t.x,h.value=t.y,m.value=t.strategy,f.value=t.placement,g.value=t.middlewareData,v.value=!1!==e})}function O(){"function"==typeof r&&(r(),r=void 0)}return fn([i,s,l,o],y,{flush:"sync"}),fn([u,d],function(){O(),void 0!==n?null==u.value||null==d.value||(r=n(u.value,d.value,y)):y()},{flush:"sync"}),fn(o,function(){o.value||(v.value=!1)},{flush:"sync"}),aa()&&ra(O),{x:Ia(p),y:Ia(h),strategy:Ia(m),placement:Ia(f),middlewareData:Ia(g),isPositioned:Ia(v),floatingStyles:b,update:y}}var Lde,Bde,jde,Ude,zde,Hde,Zde,Vde,Qde,qde,Fde,Wde,Xde,Gde,Yde=V(()=>{Pde(),Kue(),Mde()}),Kde=V(()=>{Zce(),Vce(),Rc(),fue(),Yde(),Lde=Pn({inheritAttrs:!1,__name:"ScalarFloating",props:{placement:{},offset:{type:[Number,Object,Function],default:5},resize:{type:Boolean,default:!1},target:{},middleware:{default:()=>[]},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let a=Za(null),r=Za(null),n=ol(()=>{if(typeof window<"u"&&r.value){if("string"==typeof e.target){let t=document.getElementById(e.target);if(t)return t;console.warn(`ScalarFloating: Target with id="${e.target}" not found`)}else if(e.target instanceof HTMLElement)return e.target;let t=r.value.children?.[0];return t instanceof HTMLElement?t:r.value}}),o=function(e,t={enabled:Za(!0)}){let a=Za(0),r=Za(0),n=Za();return typeof ResizeObserver<"u"&&(n.value=new ResizeObserver(([e])=>{e&&(a.value=e.borderBoxSize[0]?.inlineSize??0,r.value=e.borderBoxSize[0]?.blockSize??0)})),fn([()=>Wa(t.enabled),()=>Wa(e)],([e,t])=>{!t||!n.value||(e?n.value.observe(t):n.value.disconnect())},{immediate:!0}),{width:ol(()=>Wa(t.enabled)?`${a.value}px`:void 0),height:ol(()=>Wa(t.enabled)?`${r.value}px`:void 0)}}(n,{enabled:ol(()=>e.resize)}),i=ol(()=>"y"===Yce(e.placement??"bottom")?o.width.value:void 0),s=ol(()=>"x"===Yce(e.placement??"bottom")?o.height.value:void 0),{floatingStyles:l,middlewareData:c}=Dde(n,a,{placement:ol(()=>e.placement??"bottom"),whileElementsMounted:yde,middleware:ol(()=>[Ade(e.offset),Tde({padding:48}),_de({padding:8}),Ede({apply({availableWidth:e,availableHeight:t,elements:a}){Object.assign(a.floating.style,{maxWidth:Math.max(0,e)-16+"px",maxHeight:Math.max(0,t)-16+"px"})}}),...e.middleware])});return t({targetRef:n}),(t,n)=>(Zo(),qo(Ls,null,[Go("div",{ref_key:"wrapperRef",ref:r,class:tt({contents:!!t.$slots.default})},[Jn(t.$slots,"default")],2),t.$slots.floating?(Zo(),Fo(Fa(Pce),{key:0,disabled:!e.teleport,to:"string"==typeof e.teleport?e.teleport:void 0},{default:cn(()=>[Go("div",{ref_key:"floatingRef",ref:a,class:"relative z-context",style:Je(Fa(l))},[Jn(t.$slots,"floating",{data:Fa(c),height:s.value,width:i.value})],4)]),_:3},8,["disabled","to"])):ai("",!0)],64))}})}),Jde=V(()=>{Kde(),Bde=Lde}),epe=V(()=>{iE(),Rc(),jde=Pn({inheritAttrs:!1,__name:"ScalarFloatingBackdrop",setup(e){let{cx:t}=aE();return(e,a)=>(Zo(),qo("div",at(Ko(Fa(t)("absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"))),[Jn(e.$slots,"default")],16))}})}),tpe=V(()=>{epe(),Ude=jde}),ape=V(()=>{Jde(),tpe(),iE(),Rc(),Am(),zde=Pn({inheritAttrs:!1,__name:"ScalarComboboxPopover",props:{placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let{cx:a}=aE(),r=Za(null),n=e=>{["ArrowUp","ArrowDown"].includes(e.key)&&(e.preventDefault(),e.target?.dispatchEvent(new KeyboardEvent("keydown",{key:"Enter"})))};return t({popoverButtonRef:r}),(e,t)=>(Zo(),Fo(Fa(Nh),{as:"template"},{default:cn(({open:t})=>[qs(Fa(Bde),at(Ko(e.$props)),Kn({default:cn(()=>[qs(Fa(Ih),{ref_key:"popoverButtonRef",ref:r,as:"template",onKeydown:n},{default:cn(()=>[Jn(e.$slots,"default",{open:t})]),_:2},1536)]),_:2},[t?{name:"floating",fn:cn(({width:r})=>[qs(Fa(Rh),ii({style:{width:r}},Fa(a)("relative flex flex-col max-h-[inherit] w-40 rounded text-sm")),{default:cn(({close:a})=>[Jn(e.$slots,"popover",{close:a,open:t}),qs(Fa(Ude))]),_:2},1040,["style"])]),key:"0"}:void 0]),1040)]),_:3}))}})}),rpe=V(()=>{ape(),Hde=zde}),npe=V(()=>{Uce(),rpe(),Rc(),Zde=Pn({__name:"ScalarCombobox",props:io({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:io(["add"],["update:modelValue"]),setup(e,{emit:t}){let a=t,r=wo(e,"modelValue");return(t,n)=>(Zo(),Fo(Hde,{middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",resize:e.resize,target:e.target,teleport:e.teleport},{default:cn(({open:e})=>[Jn(t.$slots,"default",{open:e})]),popover:cn(({open:n,close:o})=>[qs(Ace,{filterFn:e.filterFn,modelValue:r.value?[r.value]:[],open:n,options:e.options,placeholder:e.placeholder,onAdd:()=>(o(),a("add")),"onUpdate:modelValue":e=>(o(),r.value=e[0])},Kn({_:2},[t.$slots.option?{name:"option",fn:cn(e=>[Jn(t.$slots,"option",at(Ko(e)))]),key:"0"}:void 0,t.$slots.group?{name:"group",fn:cn(e=>[Jn(t.$slots,"group",at(Ko(e)))]),key:"1"}:void 0,t.$slots.add?{name:"add",fn:cn(e=>[Jn(t.$slots,"add",at(Ko(e)))]),key:"2"}:void 0]),1032,["filterFn","modelValue","open","options","placeholder","onAdd","onUpdate:modelValue"])]),_:3},8,["middleware","offset","placement","resize","target","teleport"]))}})}),ope=V(()=>{npe(),Vde=Zde}),ipe=V(()=>{Uce(),rpe(),Rc(),Qde=Pn({__name:"ScalarComboboxMultiselect",props:io({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:[]},modelModifiers:{}}),emits:io(["add"],["update:modelValue"]),setup(e,{expose:t,emit:a}){let r=a,n=wo(e,"modelValue"),o=Za(null);return t({comboboxPopoverRef:o}),(t,a)=>(Zo(),Fo(Hde,{ref_key:"comboboxPopoverRef",ref:o,middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",resize:e.resize,target:e.target,teleport:e.teleport},{default:cn(({open:e})=>[Jn(t.$slots,"default",{open:e})]),popover:cn(({open:o})=>[e.options?.length?(Zo(),Fo(Ace,{key:0,modelValue:n.value,"onUpdate:modelValue":a[0]||=e=>n.value=e,filterFn:e.filterFn,multiselect:"",open:o,options:e.options,placeholder:e.placeholder,onAdd:a[1]||=e=>r("add")},Kn({_:2},[t.$slots.option?{name:"option",fn:cn(e=>[Jn(t.$slots,"option",at(Ko(e)))]),key:"0"}:void 0,t.$slots.group?{name:"group",fn:cn(e=>[Jn(t.$slots,"group",at(Ko(e)))]),key:"1"}:void 0,t.$slots.add?{name:"add",fn:cn(e=>[Jn(t.$slots,"add",at(Ko(e)))]),key:"2"}:void 0]),1032,["modelValue","filterFn","open","options","placeholder"])):ai("",!0)]),_:3},8,["middleware","offset","placement","resize","target","teleport"]))}})}),spe=V(()=>{ipe(),qde=Qde}),lpe=V(()=>{ope(),spe()}),cpe=V(()=>{tpe(),iE(),Rc(),Fde={class:"custom-scroll min-h-0 flex-1"},Wde={class:"flex flex-col p-0.75"},Xde=Pn({inheritAttrs:!1,__name:"ScalarDropdownMenu",props:{is:{}},setup(e){let{cx:t}=aE();return(a,r)=>(Zo(),Fo(Wn(e.is??"div"),at(Ko(Fa(t)("relative flex w-56"))),{default:cn(()=>[Go("div",Fde,[Jn(a.$slots,"menu",{},()=>[Go("div",Wde,[Jn(a.$slots,"default")])]),Jn(a.$slots,"backdrop",{},()=>[qs(Fa(Ude))])])]),_:3},16))}})}),upe=V(()=>{cpe(),Gde=Xde});var dpe,ppe=V(()=>{Rc(),dpe=Symbol()});function hpe(e){return!!aa()&&(ra(e),!0)}function mpe(...e){if(1!==e.length)return Ya(...e);let t=e[0];return"function"==typeof t?Na(Ga(()=>({get:t,set:wpe}))):Za(t)}function fpe(e,t){return function(...a){return new Promise((r,n)=>{Promise.resolve(e(()=>t.apply(this,a),{fn:t,thisArg:this,args:a})).then(r).catch(n)})}}function gpe(e,t={}){let a,r,n,o=wpe,i=e=>{clearTimeout(e),o(),o=wpe};return s=>{let l=Wa(e),c=Wa(t.maxWait);return a&&i(a),l<=0||void 0!==c&&c<=0?(r&&=void i(r),Promise.resolve(s())):new Promise((e,u)=>{o=t.rejectOnCancel?u:e,n=s,c&&!r&&(r=setTimeout(()=>{a&&i(a),r=void 0,e(n())},c)),a=setTimeout(()=>{r&&i(r),r=void 0,e(s())},l)})}}function vpe(e){return Array.isArray(e)?e:[e]}var bpe,ype,Ope,xpe,wpe,kpe,Spe,Ape=V(()=>{Rc(),bpe=typeof window<"u"&&typeof document<"u",typeof WorkerGlobalScope<"u"&&(globalThis,WorkerGlobalScope),ype=e=>null!=e,Ope=Object.prototype.toString,xpe=e=>"[object Object]"===Ope.call(e),wpe=()=>{},kpe=bpe&&(null==window?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(null==window?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(null==window?void 0:window.navigator.userAgent)),Spe=e=>e()});function _pe(e){let t=Wa(e);return t?.$el??t}function Tpe(...e){let t=[],a=()=>{t.forEach(e=>e()),t.length=0},r=ol(()=>{let t=vpe(Wa(e[0])).filter(e=>null!=e);return t.every(e=>"string"!=typeof e)?t:void 0}),n=function(e,t,a){return fn(e,t,{...a,immediate:!0})}(()=>[r.value?.map(e=>_pe(e))??[jpe].filter(e=>null!=e),vpe(Wa(r.value?e[1]:e[0])),vpe(Fa(r.value?e[2]:e[1])),Wa(r.value?e[3]:e[2])],([e,r,n,o])=>{if(a(),!e?.length||!r?.length||!n?.length)return;let i=xpe(o)?{...o}:o;t.push(...e.flatMap(e=>r.flatMap(t=>n.map(a=>((e,t,a,r)=>(e.addEventListener(t,a,r),()=>e.removeEventListener(t,a,r)))(e,t,a,i)))))},{flush:"post"});return hpe(a),()=>{n(),a()}}function Epe(e,t,a={}){let{window:r=jpe,ignore:n=[],capture:o=!0,detectIframe:i=!1,controls:s=!1}=a;if(!r)return s?{stop:wpe,cancel:wpe,trigger:wpe}:wpe;if(kpe&&!Hpe){Hpe=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener("click",wpe,e)),r.document.documentElement.addEventListener("click",wpe,e)}let l=!0,c=e=>Wa(n).some(t=>{if("string"==typeof t)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let a=_pe(t);return a&&(e.target===a||e.composedPath().includes(a))}});let u=a=>{let r=_pe(e);if(null!=a.target&&(r instanceof Element||!function(e){let t=Wa(e);return t&&16===t.$.subTree.shapeFlag}(e)||!function(e,t){let a=Wa(e),r=a.$.subTree&&a.$.subTree.children;return!(null==r||!Array.isArray(r))&&r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}(e,a))&&r&&r!==a.target&&!a.composedPath().includes(r)){if("detail"in a&&0===a.detail&&(l=!c(a)),!l)return void(l=!0);t(a)}},d=!1,p=[Tpe(r,"click",e=>{d||(d=!0,setTimeout(()=>{d=!1},0),u(e))},{passive:!0,capture:o}),Tpe(r,"pointerdown",t=>{let a=_pe(e);l=!c(t)&&!(!a||t.composedPath().includes(a))},{passive:!0}),i&&Tpe(r,"blur",a=>{setTimeout(()=>{let n=_pe(e);"IFRAME"===r.document.activeElement?.tagName&&!n?.contains(r.document.activeElement)&&t(a)},0)},{passive:!0})].filter(Boolean),h=()=>p.forEach(e=>e());return s?{stop:h,cancel:()=>{l=!1},trigger:e=>{l=!0,u(e),l=!1}}:h}function Cpe(e){let t=function(){let e=Va(!1),t=Gs();return t&&ts(()=>{e.value=!0},t),e}();return ol(()=>(t.value,!!e()))}function Ppe(e,t,a={}){let{window:r=jpe,document:n=r?.document,flush:o="sync"}=a;if(!r||!n)return wpe;let i,s=e=>{i?.(),i=e},l=mn(()=>{let a=_pe(e);if(a){let{stop:e}=function(e,t,a={}){let r,{window:n=jpe,...o}=a,i=Cpe(()=>n&&"MutationObserver"in n),s=()=>{r&&=void r.disconnect()},l=fn(ol(()=>{let t=vpe(Wa(e)).map(_pe).filter(ype);return new Set(t)}),e=>{s(),i.value&&e.size&&(r=new MutationObserver(t),e.forEach(e=>r.observe(e,o)))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return hpe(c),{isSupported:i,stop:c,takeRecords:()=>r?.takeRecords()}}(n,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===a||e.contains(a))&&t(e)},{window:r,childList:!0,subtree:!0});s(e)}},{flush:o}),c=()=>{l(),s()};return hpe(c),c}function Mpe(e={}){let{window:t=jpe,deep:a=!0,triggerOnRemoval:r=!1}=e,n=e.document??t?.document,o=Va(),i=()=>{o.value=(()=>{let e=n?.activeElement;if(a)for(;e?.shadowRoot;)e=e?.shadowRoot?.activeElement;return e})()};if(t){let e={capture:!0,passive:!0};Tpe(t,"blur",e=>{null===e.relatedTarget&&i()},e),Tpe(t,"focus",i,e)}return r&&Ppe(o,i,{document:n}),i(),o}function $pe(e,t={}){let{controls:a=!1,navigator:r=zpe}=t,n=Cpe(()=>r&&"permissions"in r),o=Va(),i="string"==typeof e?{name:e}:e,s=Va(),l=()=>{s.value=o.value?.state??"prompt"};Tpe(o,"change",l,{passive:!0});let c=function(e){let t;function a(){return t||=e(),t}return a.reset=async()=>{let e=t;t=void 0,e&&await e},a}(async()=>{if(n.value){if(!o.value)try{o.value=await r.permissions.query(i)}catch{o.value=void 0}finally{l()}if(a)return Ua(o.value)}});return c(),a?{state:s,isSupported:n,query:c}:s}function Npe(e={}){let{navigator:t=zpe,read:a=!1,source:r,copiedDuring:n=1500,legacy:o=!1}=e,i=Cpe(()=>t&&"clipboard"in t),s=$pe("clipboard-read"),l=$pe("clipboard-write"),c=ol(()=>i.value||o),u=Va(""),d=Va(!1),p=function(e,t,a={}){let r,{immediate:n=!0,immediateCallback:o=!1}=a,i=Va(!1);function s(){r&&=void clearTimeout(r)}function l(){i.value=!1,s()}function c(...a){o&&e(),s(),i.value=!0,r=setTimeout(()=>{i.value=!1,r=void 0,e(...a)},Wa(t))}return n&&(i.value=!0,bpe&&c()),hpe(l),{isPending:Ia(i),start:c,stop:l}}(()=>d.value=!1,n,{immediate:!1});function h(e){return"granted"===e||"prompt"===e}return c.value&&a&&Tpe(["copy","cut"],async function(){let e=!(i.value&&h(s.value));if(!e)try{u.value=await t.clipboard.readText()}catch{e=!0}e&&(u.value=((null==document?void 0:document.getSelection)?.call(document))?.toString()??"")},{passive:!0}),{isSupported:c,text:u,copied:d,copy:async function(e=Wa(r)){if(c.value&&null!=e){let a=!(i.value&&h(l.value));if(!a)try{await t.clipboard.writeText(e)}catch{a=!0}a&&function(e){let t=document.createElement("textarea");t.value=e??"",t.style.position="absolute",t.style.opacity="0",document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}(e),u.value=e,d.value=!0,p.start()}}}}function Ipe(e,t,a={}){let{root:r,rootMargin:n="0px",threshold:o=0,window:i=jpe,immediate:s=!0}=a,l=Cpe(()=>i&&"IntersectionObserver"in i),c=ol(()=>vpe(Wa(e)).map(_pe).filter(ype)),u=wpe,d=Va(s),p=l.value?fn(()=>[c.value,_pe(r),d.value],([e,a])=>{if(u(),!d.value||!e.length)return;let r=new IntersectionObserver(t,{root:_pe(a),rootMargin:n,threshold:o});e.forEach(e=>e&&r.observe(e)),u=()=>{r.disconnect(),u=wpe}},{immediate:s,flush:"post"}):wpe,h=()=>{u(),p(),d.value=!1};return hpe(h),{isSupported:l,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:h}}function Rpe(e=null,t={}){let{baseUrl:a="",rel:r="icon",document:n=Upe}=t,o=mpe(e);return fn(o,(e,t)=>{"string"==typeof e&&e!==t&&(e=>{let t=n?.head.querySelectorAll(`link[rel*="${r}"]`);if(!t||0===t.length){let t=n?.createElement("link");return void(t&&(t.rel=r,t.href=`${a}${e}`,t.type=`image/${e.split(".").pop()}`,n?.head.append(t)))}t?.forEach(t=>t.href=`${a}${e}`)})(e)},{immediate:!0}),o}function Dpe(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Lpe(e){let t=window.getComputedStyle(e);if("scroll"===t.overflowX||"scroll"===t.overflowY||"auto"===t.overflowX&&e.clientWidth<e.scrollWidth||"auto"===t.overflowY&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!(!t||"BODY"===t.tagName)&&Lpe(t)}}function Bpe(e){let t=e||window.event;return!Lpe(t.target)&&(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))}var jpe,Upe,zpe,Hpe,Zpe,Vpe,Qpe,qpe,Fpe,Wpe,Xpe,Gpe,Ype,Kpe,Jpe=V(()=>{Ape(),Ape(),Rc(),jpe=bpe?window:void 0,Upe=bpe?window.document:void 0,zpe=bpe?window.navigator:void 0,bpe&&window.location,Hpe=!1,Zpe="focusin",Vpe="focusout",Qpe=":focus-within",qpe=new WeakMap}),ehe=V(()=>{Jde(),upe(),ppe(),iE(),Rc(),Jpe(),Fpe=["id","aria-activedescendant","aria-labelledby","onKeydown"],Wpe=Pn({inheritAttrs:!1,__name:"ScalarDropdown",props:io({placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:["update:open"],setup(e){let t=Za(),a=Za(),r=wo(e,"open"),{active:n}=function(){let e=Za();return pn(dpe,e),{active:e}}(),o=Mn(),i=Za(o),s=Mn();async function l(){r.value=!r.value,await en(),r.value&&a.value?.focus()}async function c(e){["ArrowDown","ArrowUp"," ","Enter"].includes(e.key)&&(e.preventDefault(),r.value||=!0,await en(),a.value?.focus(),["ArrowDown"," ","Enter"].includes(e.key)?p(1):"ArrowUp"===e.key&&p(-1))}async function u(){t.value?.targetRef?.focus(),r.value=!1}function d(){if(!n.value||!a.value)return;let e=a.value.querySelector(`#${n.value}[role="menuitem"]:not([aria-disabled="true"])`);e&&(e.click(),u())}function p(e){if(!r.value||!a.value)return;let t=Array.from(a.value.querySelectorAll('[role="menuitem"]:not([aria-disabled="true"])'));if(0===t.length)return;let o=t.findIndex(e=>e.id===n.value);if(-1===o){let a=t[e>0?0:t.length-1];return void(a?.id&&(n.value=a.id))}let i=o+e;if(i<0||i>t.length-1)return;let s=t[i];s?.id&&(n.value=s.id)}fn(()=>t.value?.targetRef,(e,t)=>{e&&(e.id?i.value=e.id:(i.value=o,e.setAttribute("id",i.value)),e.setAttribute("aria-haspopup","menu"),e.setAttribute("aria-expanded",`${r.value}`),r.value&&e.setAttribute("aria-controls",s),e.addEventListener("click",l),e.addEventListener("keydown",c)),t&&t!==e&&(t.id===o&&t.removeAttribute("id"),t.removeAttribute("aria-controls"),t.removeAttribute("aria-haspopup"),t.removeAttribute("aria-expanded"),t.removeEventListener("click",l),t.removeEventListener("keydown",c))},{immediate:!0}),fn(r,e=>{let a=t.value?.targetRef;a&&(a.setAttribute("aria-expanded",`${e}`),e?a.setAttribute("aria-controls",s):a.removeAttribute("aria-controls"))},{immediate:!0}),Epe(a,u,{ignore:[ol(()=>t.value?.targetRef)]});let{cx:h}=aE();return(o,l)=>(Zo(),Fo(Fa(Bde),ii({ref_key:"floatingRef",ref:t},o.$props,{placement:e.placement??"bottom-start"}),Kn({default:cn(()=>[Jn(o.$slots,"default",{open:r.value})]),_:2},[r.value?{name:"floating",fn:cn(({width:e})=>[qs(Gde,ii({style:{width:e}},Fa(h)("max-h-[inherit] max-w-[inherit]")),{menu:cn(()=>[Go("div",{id:Fa(s),ref_key:"menuRef",ref:a,"aria-activedescendant":Fa(n),"aria-labelledby":i.value,class:"flex flex-col p-0.75 outline-none",role:"menu",tabindex:"-1",onClick:Ac(u,["stop"]),onKeydown:[l[0]||=Tc(Ac(e=>p(1),["prevent","stop"]),["down"]),Tc(Ac(d,["prevent","stop"]),["enter"]),Tc(Ac(u,["prevent","stop"]),["escape"]),Tc(Ac(d,["prevent","stop"]),["space"]),Tc(Ac(u,["prevent","stop"]),["tab"]),l[1]||=Tc(Ac(e=>p(-1),["prevent","stop"]),["up"])]},[Jn(o.$slots,"items",{open:r.value})],40,Fpe)]),_:3},16,["style"])]),key:"0"}:void 0]),1040,["placement"]))}})}),the=V(()=>{ehe(),Xpe=Wpe}),ahe=V(()=>{iE(),Rc(),Gpe=Pn({__name:"ScalarDropdownButton",props:{is:{default:"button"},active:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=XT({base:["block h-8 min-w-0 gap-1.5 rounded px-2.5 py-1.5 text-left","truncate  no-underline text-sm text-c-1","cursor-pointer hover:bg-b-2 highlighted:bg-b-2"],variants:{disabled:{true:"pointer-events-none text-c-3"},active:{true:""}},compoundVariants:[{disabled:!1,active:!0,class:"bg-b-2"}]});return(a,r)=>(Zo(),Fo(Wn(e.is),{"aria-disabled":e.disabled,class:tt(["item",Fa(GT)("scalar-dropdown-item",Fa(t)({active:e.active,disabled:e.disabled}))]),type:"button"===e.is?"button":void 0},{default:cn(()=>[Jn(a.$slots,"default",{},void 0,!0)]),_:3},8,["aria-disabled","class","type"]))}})}),rhe=V(()=>{U6(),ahe(),Ype=P6(Gpe,[["__scopeId","data-v-f5e0d3d8"]])}),nhe=V(()=>{Kpe={}});function ohe(e,t,a,r,n,o){return Zo(),qo("div",ihe)}var ihe,she,lhe,che,uhe,dhe,phe,hhe,mhe,fhe,ghe,vhe,bhe,yhe,Ohe=V(()=>{U6(),nhe(),Rc(),ihe={class:"-mx-0.75 my-0.75 h-border bg-border"},she=P6(Kpe,[["render",ohe]])}),xhe=V(()=>{ppe(),rhe(),Rc(),lhe=Pn({__name:"ScalarDropdownItem",props:{id:{default:()=>Mn()},disabled:{type:Boolean}},emits:["click"],setup(e){let{active:t}=function(){let e=hn(dpe);return e||console.warn("useDropdownItem must be used within a ScalarDropdown"),{active:e}}();return(a,r)=>(Zo(),Fo(Ype,{id:e.id,active:Fa(t)===e.id,disabled:e.disabled,role:"menuitem",tabindex:"-1",onClick:r[0]||=e=>a.$emit("click",e),onMouseenter:r[1]||=a=>t.value=e.id},{default:cn(()=>[Jn(a.$slots,"default",{},void 0,!0)]),_:3},8,["id","active","disabled"]))}})}),whe=V(()=>{U6(),xhe(),che=P6(lhe,[["__scopeId","data-v-3402682d"]])}),khe=V(()=>{the(),Ohe(),whe()}),She=V(()=>{Rc(),lce(),Qle(),lpe(),khe(),uhe={class:"group-[.alert]:outline-orange group-[.error]:outline-red w-full pr-10 -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline"},dhe={class:"text-c-1 whitespace-nowrap"},phe={class:"text-c-1 overflow-hidden text-ellipsis"},hhe={class:"overflow-hidden text-ellipsis"},mhe={class:"flex h-4 w-4 items-center justify-center"},fhe=Pn({__name:"DataTableInputSelect",props:{modelValue:{type:[String,Number,Boolean,Array,Object]},value:{},default:{type:[String,Number,Boolean,Array,Object]},canAddCustomValue:{type:Boolean,default:!0},type:{}},emits:["update:modelValue"],setup(e,{emit:t}){let a=e,r=t,n=ol(()=>a.value??[]),o=Za(!1),i=Za(""),s=Za(null);fn(i,e=>{r("update:modelValue",e)});let l=e=>{r("update:modelValue",e),o.value=!1},c=()=>{i.value.trim()&&l(i.value)},u=()=>{i.value.trim()||r("update:modelValue",""),o.value=!1},d=e=>a.modelValue.toString()===e;fn(o,e=>{e&&en(()=>{s.value?.focus()})});let p=ol(()=>void 0===a.modelValue?a.default:a.modelValue),h=ol(()=>n.value.map(e=>{let t=e.toString();return{id:t,label:t,value:t}})),m=ol(()=>{let e=new Set(a.modelValue.toString().split(","));return h.value.filter(t=>e.has(t.id))}),f=e=>{r("update:modelValue",e.map(e=>e.value).join(","))};return(t,a)=>(Zo(),qo("div",uhe,["array"===e.type?(Zo(),Fo(Fa(qde),{key:0,modelValue:m.value,options:h.value,"onUpdate:modelValue":f},{default:cn(()=>[qs(Fa(tce),{class:"custom-scroll h-full justify-start gap-1.5 px-2 py-1.5 pr-6 font-normal outline-none",fullWidth:"",variant:"ghost"},{default:cn(()=>[Go("span",dhe,Kt(m.value.length>0?m.value.map(e=>e.label).join(", "):"Select a value"),1),qs(Fa(Ple),{class:"min-w-4",icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["modelValue","options"])):o.value?un((Zo(),qo("input",{key:1,ref_key:"inputRef",ref:s,"onUpdate:modelValue":a[0]||=e=>i.value=e,class:"text-c-1 w-full min-w-0 border-none px-2 py-1.5 outline-none",placeholder:"Value",type:"text",onBlur:u,onKeyup:Tc(c,["enter"])},null,544)),[[bc,i.value]]):(Zo(),Fo(Fa(Xpe),{key:2,resize:"",value:p.value},{items:cn(()=>[(Zo(!0),qo(Ls,null,Yn(n.value,e=>(Zo(),Fo(Fa(che),{key:e,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",value:e,onClick:t=>l(e)},{default:cn(()=>[Go("div",{class:tt(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",d(e)?"bg-c-accent text-b-1":"shadow-border text-transparent"])},[qs(Fa(Ple),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),Go("span",hhe,Kt(e),1)]),_:2},1032,["value","onClick"]))),128)),e.canAddCustomValue?(Zo(),qo(Ls,{key:0},[n.value.length?(Zo(),Fo(Fa(she),{key:0})):ai("",!0),qs(Fa(che),{class:"flex items-center gap-1.5",onClick:a[1]||=e=>o.value=!0},{default:cn(()=>[Go("div",mhe,[qs(Fa(Ple),{icon:"Add",size:"sm"})]),a[2]||=Go("span",null,"Add value",-1)]),_:1})],64)):ai("",!0)]),default:cn(()=>[qs(Fa(tce),{class:"size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none",variant:"ghost"},{default:cn(()=>[Go("span",phe,Kt(p.value??"Select a value"),1),qs(Fa(Ple),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["value"]))]))}})}),Ahe=V(()=>{She(),ghe=fhe}),_he=V(()=>{zce(),Rc(),vhe=["id"],bhe=Pn({inheritAttrs:!1,__name:"ScalarTeleportRoot",props:{id:{}},setup(e){let t=Ece(e.id);return(e,a)=>(Zo(),qo(Ls,null,[Jn(e.$slots,"default"),Go("div",{id:Fa(t),class:"scalar-teleport-root contents"},null,8,vhe)],64))}})}),The=V(()=>{_he(),yhe=bhe}),Ehe=V(()=>{Zce(),The()});function Che(e){return Array.isArray?Array.isArray(e):"[object Array]"===Lhe(e)}function Phe(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-Khe?"-0":t}(e)}function Mhe(e){return"string"==typeof e}function $he(e){return"number"==typeof e}function Nhe(e){return!0===e||!1===e||function(e){return Ihe(e)&&null!==e}(e)&&"[object Boolean]"==Lhe(e)}function Ihe(e){return"object"==typeof e}function Rhe(e){return null!=e}function Dhe(e){return!e.trim().length}function Lhe(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function Bhe(e){let t=null,a=null,r=null,n=1,o=null;if(Mhe(e)||Che(e))r=e,t=jhe(e),a=Uhe(e);else{if(!rme.call(e,"name"))throw Error(tme("name"));let i=e.name;if(r=i,rme.call(e,"weight")&&(n=e.weight,n<=0))throw Error(ame(i));t=jhe(i),a=Uhe(i),o=e.getFn}return{path:t,id:a,weight:n,src:r,getFn:o}}function jhe(e){return Che(e)?e:e.split(".")}function Uhe(e){return Che(e)?e.join("."):e}function zhe(e,t){let a=[],r=!1,n=(e,t,o)=>{if(Rhe(e))if(t[o]){let i=e[t[o]];if(!Rhe(i))return;if(o===t.length-1&&(Mhe(i)||$he(i)||Nhe(i)))a.push(Phe(i));else if(Che(i)){r=!0;for(let e=0,a=i.length;e<a;e+=1)n(i[e],t,o+1)}else t.length&&n(i,t,o+1)}else a.push(e)};return n(e,Mhe(t)?t.split("."):t,0),r?a:a[0]}function Hhe(e,t,{getFn:a=cme.getFn,fieldNormWeight:r=cme.fieldNormWeight}={}){let n=new dme({getFn:a,fieldNormWeight:r});return n.setKeys(e.map(Bhe)),n.setSources(t),n.create(),n}function Zhe(e,{getFn:t=cme.getFn,fieldNormWeight:a=cme.fieldNormWeight}={}){let{keys:r,records:n}=e,o=new dme({getFn:t,fieldNormWeight:a});return o.setKeys(r),o.setIndexRecords(n),o}function Vhe(e,{errors:t=0,currentLocation:a=0,expectedLocation:r=0,distance:n=cme.distance,ignoreLocation:o=cme.ignoreLocation}={}){let i=t/e.length;if(o)return i;let s=Math.abs(r-a);return n?i+s/n:s?1:i}function Qhe(e,t,a,{location:r=cme.location,distance:n=cme.distance,threshold:o=cme.threshold,findAllMatches:i=cme.findAllMatches,minMatchCharLength:s=cme.minMatchCharLength,includeMatches:l=cme.includeMatches,ignoreLocation:c=cme.ignoreLocation}={}){if(t.length>pme)throw Error(eme(pme));let u,d=t.length,p=e.length,h=Math.max(0,Math.min(r,p)),m=o,f=h,g=s>1||l,v=g?Array(p):[];for(;(u=e.indexOf(t,f))>-1;){let e=Vhe(t,{currentLocation:u,expectedLocation:h,distance:n,ignoreLocation:c});if(m=Math.min(e,m),f=u+d,g){let e=0;for(;e<d;)v[u+e]=1,e+=1}}f=-1;let b=[],y=1,O=d+p,x=1<<d-1;for(let r=0;r<d;r+=1){let o=0,s=O;for(;o<s;)Vhe(t,{errors:r,currentLocation:h+s,expectedLocation:h,distance:n,ignoreLocation:c})<=m?o=s:O=s,s=Math.floor((O-o)/2+o);O=s;let l=Math.max(1,h-s+1),u=i?p:Math.min(h+s,p)+d,w=Array(u+2);w[u+1]=(1<<r)-1;for(let o=u;o>=l;--o){let i=o-1,s=a[e.charAt(i)];if(g&&(v[i]=+!!s),w[o]=(w[o+1]<<1|1)&s,r&&(w[o]|=(b[o+1]|b[o])<<1|1|b[o+1]),w[o]&x&&(y=Vhe(t,{errors:r,currentLocation:i,expectedLocation:h,distance:n,ignoreLocation:c}),y<=m)){if(m=y,f=i,f<=h)break;l=Math.max(1,2*h-f)}}if(Vhe(t,{errors:r+1,currentLocation:h,expectedLocation:h,distance:n,ignoreLocation:c})>m)break;b=w}let w={isMatch:f>=0,score:Math.max(.001,y)};if(g){let e=function(e=[],t=cme.minMatchCharLength){let a=[],r=-1,n=-1,o=0;for(let i=e.length;o<i;o+=1){let i=e[o];i&&-1===r?r=o:!i&&-1!==r&&(n=o-1,n-r+1>=t&&a.push([r,n]),r=-1)}return e[o-1]&&o-r>=t&&a.push([r,o-1]),a}(v,s);e.length?l&&(w.indices=e):w.isMatch=!1}return w}function qhe(e){let t={};for(let a=0,r=e.length;a<r;a+=1){let n=e.charAt(a);t[n]=(t[n]||0)|1<<r-a-1}return t}function Fhe(e,t){let a=e.match(t);return a?a[1]:null}function Whe(e,t){for(let a=0,r=Pme.length;a<r;a+=1){let r=Pme[a];if(r.condition(e,t))return new r(e,t)}return new mme(e,t)}function Xhe(e,t,{auto:a=!0}={}){let r=e=>{let n=Object.keys(e),o=Ime(e);if(!o&&n.length>1&&!Nme(e))return r(Dme(e));if(Rme(e)){let r=o?e[$me.PATH]:n[0],i=o?e[$me.PATTERN]:e[r];if(!Mhe(i))throw Error(Jhe(r));let s={keyId:Uhe(r),pattern:i};return a&&(s.searcher=Whe(i,t)),s}let i={children:[],operator:n[0]};return n.forEach(t=>{let a=e[t];Che(a)&&a.forEach(e=>{i.children.push(r(e))})}),i};return Nme(e)||(e=Dme(e)),r(e)}function Ghe(e,t){let a=e.matches;t.matches=[],Rhe(a)&&a.forEach(e=>{if(!Rhe(e.indices)||!e.indices.length)return;let{indices:a,value:r}=e,n={indices:a,value:r};e.key&&(n.key=e.key.src),e.idx>-1&&(n.refIndex=e.idx),t.matches.push(n)})}function Yhe(e,t){t.score=e.score}var Khe,Jhe,eme,tme,ame,rme,nme,ome,ime,sme,lme,cme,ume,dme,pme,hme,mme,fme,gme,vme,bme,yme,Ome,xme,wme,kme,Sme,Ame,_me,Tme,Eme,Cme,Pme,Mme,$me,Nme,Ime,Rme,Dme,Lme,Bme,jme,Ume,zme,Hme,Zme,Vme,Qme,qme,Fme=V(()=>{Khe=1/0,Jhe=e=>`Invalid value for key ${e}`,eme=e=>`Pattern length exceeds max of ${e}.`,tme=e=>`Missing ${e} property in key`,ame=e=>`Property 'weight' in key '${e}' must be a positive integer`,rme=Object.prototype.hasOwnProperty,nme=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let a=Bhe(e);this._keys.push(a),this._keyMap[a.id]=a,t+=a.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}},ome={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},ime={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},sme={location:0,threshold:.6,distance:100},lme={useExtendedSearch:!1,getFn:zhe,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},cme={...ime,...ome,...sme,...lme},ume=/[^ ]+/g,dme=class{constructor({getFn:e=cme.getFn,fieldNormWeight:t=cme.fieldNormWeight}={}){this.norm=function(e=1,t=3){let a=new Map,r=10**t;return{get(t){let n=t.match(ume).length;if(a.has(n))return a.get(n);let o=1/n**(.5*e),i=parseFloat(Math.round(o*r)/r);return a.set(n,i),i},clear(){a.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Mhe(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){let t=this.size();Mhe(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,a=this.size();t<a;t+=1)--this.records[t].i}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!Rhe(e)||Dhe(e))return;let a={v:e,i:t,n:this.norm.get(e)};this.records.push(a)}_addObject(e,t){let a={i:t,$:{}};this.keys.forEach((t,r)=>{let n=t.getFn?t.getFn(e):this.getFn(e,t.path);if(Rhe(n))if(Che(n)){let e=[],t=[{nestedArrIndex:-1,value:n}];for(;t.length;){let{nestedArrIndex:a,value:r}=t.pop();if(Rhe(r))if(Mhe(r)&&!Dhe(r)){let t={v:r,i:a,n:this.norm.get(r)};e.push(t)}else Che(r)&&r.forEach((e,a)=>{t.push({nestedArrIndex:a,value:e})})}a.$[r]=e}else if(Mhe(n)&&!Dhe(n)){let e={v:n,n:this.norm.get(n)};a.$[r]=e}}),this.records.push(a)}toJSON(){return{keys:this.keys,records:this.records}}},pme=32,hme=String.prototype.normalize?e=>e.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):e=>e,mme=class{constructor(e,{location:t=cme.location,threshold:a=cme.threshold,distance:r=cme.distance,includeMatches:n=cme.includeMatches,findAllMatches:o=cme.findAllMatches,minMatchCharLength:i=cme.minMatchCharLength,isCaseSensitive:s=cme.isCaseSensitive,ignoreDiacritics:l=cme.ignoreDiacritics,ignoreLocation:c=cme.ignoreLocation}={}){if(this.options={location:t,threshold:a,distance:r,includeMatches:n,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:s,ignoreDiacritics:l,ignoreLocation:c},e=s?e:e.toLowerCase(),e=l?hme(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:qhe(e),startIndex:t})},d=this.pattern.length;if(d>pme){let e=0,t=d%pme,a=d-t;for(;e<a;)u(this.pattern.substr(e,pme),e),e+=pme;if(t){let e=d-pme;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:a,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=a?hme(e):e,this.pattern===e){let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:n,distance:o,threshold:i,findAllMatches:s,minMatchCharLength:l,ignoreLocation:c}=this.options,u=[],d=0,p=!1;this.chunks.forEach(({pattern:t,alphabet:a,startIndex:h})=>{let{isMatch:m,score:f,indices:g}=Qhe(e,t,a,{location:n+h,distance:o,threshold:i,findAllMatches:s,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});m&&(p=!0),d+=f,m&&g&&(u=[...u,...g])});let h={isMatch:p,score:p?d/this.chunks.length:1};return p&&r&&(h.indices=u),h}},fme=class{constructor(e){this.pattern=e}static isMultiMatch(e){return Fhe(e,this.multiRegex)}static isSingleMatch(e){return Fhe(e,this.singleRegex)}search(){}},gme=class extends fme{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){let t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},vme=class extends fme{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){let t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},bme=class extends fme{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){let t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},yme=class extends fme{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){let t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},Ome=class extends fme{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){let t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},xme=class extends fme{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){let t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},wme=class extends fme{constructor(e,{location:t=cme.location,threshold:a=cme.threshold,distance:r=cme.distance,includeMatches:n=cme.includeMatches,findAllMatches:o=cme.findAllMatches,minMatchCharLength:i=cme.minMatchCharLength,isCaseSensitive:s=cme.isCaseSensitive,ignoreDiacritics:l=cme.ignoreDiacritics,ignoreLocation:c=cme.ignoreLocation}={}){super(e),this._bitapSearch=new mme(e,{location:t,threshold:a,distance:r,includeMatches:n,findAllMatches:o,minMatchCharLength:i,isCaseSensitive:s,ignoreDiacritics:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}},kme=class extends fme{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,a=0,r=[],n=this.pattern.length;for(;(t=e.indexOf(this.pattern,a))>-1;)a=t+n,r.push([t,a-1]);let o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}},Ame=(Sme=[gme,kme,bme,yme,xme,Ome,vme,wme]).length,_me=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Tme="|",Eme=new Set([wme.type,kme.type]),Cme=class{constructor(e,{isCaseSensitive:t=cme.isCaseSensitive,ignoreDiacritics:a=cme.ignoreDiacritics,includeMatches:r=cme.includeMatches,minMatchCharLength:n=cme.minMatchCharLength,ignoreLocation:o=cme.ignoreLocation,findAllMatches:i=cme.findAllMatches,location:s=cme.location,threshold:l=cme.threshold,distance:c=cme.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:a,includeMatches:r,minMatchCharLength:n,findAllMatches:i,ignoreLocation:o,location:s,threshold:l,distance:c},e=t?e:e.toLowerCase(),e=a?hme(e):e,this.pattern=e,this.query=function(e,t={}){return e.split(Tme).map(e=>{let a=e.trim().split(_me).filter(e=>e&&!!e.trim()),r=[];for(let e=0,n=a.length;e<n;e+=1){let n=a[e],o=!1,i=-1;for(;!o&&++i<Ame;){let e=Sme[i],a=e.isMultiMatch(n);a&&(r.push(new e(a,t)),o=!0)}if(!o)for(i=-1;++i<Ame;){let e=Sme[i],a=e.isSingleMatch(n);if(a){r.push(new e(a,t));break}}}return r})}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:a,isCaseSensitive:r,ignoreDiacritics:n}=this.options;e=r?e:e.toLowerCase(),e=n?hme(e):e;let o=0,i=[],s=0;for(let r=0,n=t.length;r<n;r+=1){let n=t[r];i.length=0,o=0;for(let t=0,r=n.length;t<r;t+=1){let r=n[t],{isMatch:l,indices:c,score:u}=r.search(e);if(!l){s=0,o=0,i.length=0;break}if(o+=1,s+=u,a){let e=r.constructor.type;Eme.has(e)?i=[...i,...c]:i.push(c)}}if(o){let e={isMatch:!0,score:s/o};return a&&(e.indices=i),e}}return{isMatch:!1,score:1}}},Pme=[],Mme={AND:"$and",OR:"$or"},$me={PATH:"$path",PATTERN:"$val"},Nme=e=>!(!e[Mme.AND]&&!e[Mme.OR]),Ime=e=>!!e[$me.PATH],Rme=e=>!Che(e)&&Ihe(e)&&!Nme(e),Dme=e=>({[Mme.AND]:Object.keys(e).map(t=>({[t]:e[t]}))}),Lme=class{constructor(e,t={},a){this.options={...cme,...t},this.options.useExtendedSearch,this._keyStore=new nme(this.options.keys),this.setCollection(e,a)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof dme))throw Error("Incorrect 'index' type");this._myIndex=t||Hhe(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Rhe(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){let t=[];for(let a=0,r=this._docs.length;a<r;a+=1){let n=this._docs[a];e(n,a)&&(this.removeAt(a),--a,--r,t.push(n))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:t=-1}={}){let{includeMatches:a,includeScore:r,shouldSort:n,sortFn:o,ignoreFieldNorm:i}=this.options,s=Mhe(e)?Mhe(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=cme.ignoreFieldNorm}){e.forEach(e=>{let a=1;e.matches.forEach(({key:e,norm:r,score:n})=>{let o=e?e.weight:null;a*=(0===n&&o?2**-52:n)**(+(o||1)*(t?1:r))}),e.score=a})}(s,{ignoreFieldNorm:i}),n&&s.sort(o),$he(t)&&t>-1&&(s=s.slice(0,t)),function(e,t,{includeMatches:a=cme.includeMatches,includeScore:r=cme.includeScore}={}){let n=[];return a&&n.push(Ghe),r&&n.push(Yhe),e.map(e=>{let{idx:a}=e,r={item:t[a],refIndex:a};return n.length&&n.forEach(t=>{t(e,r)}),r})}(s,this._docs,{includeMatches:a,includeScore:r})}_searchStringList(e){let t=Whe(e,this.options),{records:a}=this._myIndex,r=[];return a.forEach(({v:e,i:a,n:n})=>{if(!Rhe(e))return;let{isMatch:o,score:i,indices:s}=t.searchIn(e);o&&r.push({item:e,idx:a,matches:[{score:i,value:e,norm:n,indices:s}]})}),r}_searchLogical(e){let t=Xhe(e,this.options),a=(e,t,r)=>{if(!e.children){let{keyId:a,searcher:n}=e,o=this._findMatches({key:this._keyStore.get(a),value:this._myIndex.getValueForItemAtKeyId(t,a),searcher:n});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}let n=[];for(let o=0,i=e.children.length;o<i;o+=1){let i=e.children[o],s=a(i,t,r);if(s.length)n.push(...s);else if(e.operator===Mme.AND)return[]}return n},r=this._myIndex.records,n={},o=[];return r.forEach(({$:e,i:r})=>{if(Rhe(e)){let i=a(t,e,r);i.length&&(n[r]||(n[r]={idx:r,item:e,matches:[]},o.push(n[r])),i.forEach(({matches:e})=>{n[r].matches.push(...e)}))}}),o}_searchObjectList(e){let t=Whe(e,this.options),{keys:a,records:r}=this._myIndex,n=[];return r.forEach(({$:e,i:r})=>{if(!Rhe(e))return;let o=[];a.forEach((a,r)=>{o.push(...this._findMatches({key:a,value:e[r],searcher:t}))}),o.length&&n.push({idx:r,item:e,matches:o})}),n}_findMatches({key:e,value:t,searcher:a}){if(!Rhe(t))return[];let r=[];if(Che(t))t.forEach(({v:t,i:n,n:o})=>{if(!Rhe(t))return;let{isMatch:i,score:s,indices:l}=a.searchIn(t);i&&r.push({score:s,key:e,value:t,idx:n,norm:o,indices:l})});else{let{v:n,n:o}=t,{isMatch:i,score:s,indices:l}=a.searchIn(n);i&&r.push({score:s,key:e,value:n,norm:o,indices:l})}return r}},Lme.version="7.1.0",Lme.createIndex=Hhe,Lme.parseIndex=Zhe,Lme.config=cme,Lme.parseQuery=Xhe,function(...e){Pme.push(...e)}(Cme)}),Wme=V(()=>{Rc(),lce(),ZS(),LJ(),Ehe(),Jpe(),Fme(),Bme={key:0,class:"gap-1/2 flex flex-col"},jme=["onClick"],Ume={class:"flex items-center gap-2 whitespace-nowrap"},zme={key:1,class:"text-c-3 bg-b-3 flex h-4.5 min-w-4.5 items-center justify-center rounded px-0.5 font-sans text-[9px] font-semibold"},Hme={class:"max-w-[9rem] overflow-hidden text-right text-ellipsis whitespace-nowrap"},Zme=Pn({__name:"EnvironmentVariablesDropdown",props:{query:{},environment:{},dropdownPosition:{},contextFunctionItems:{default:()=>[]}},emits:["select","redirect"],setup(e,{expose:t,emit:a}){let r=a,n=Za(!0),o=Za(null),i=Za(0),s=()=>{r("redirect"),n.value=!1},l=ol(()=>(e.environment?.variables??[]).map(e=>({key:e.name,value:"string"==typeof e.value?e.value:e.value.default}))),c=ol(()=>e.contextFunctionItems.map(e=>({kind:"context",key:e.key,secondary:e.description}))),u=ol(()=>l.value.filter(({key:e,value:t})=>""!==e||""!==t).map(({key:e,value:t})=>({kind:"env",key:e,secondary:t}))),d=ol(()=>u.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),p=ol(()=>c.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),h=ol(()=>new Lme(d.value,{keys:["fuseText"],threshold:.35})),m=ol(()=>new Lme(p.value,{keys:["fuseText"],threshold:.35})),f=ol(()=>{let t=new Map(e.contextFunctionItems.map(e=>[e.key,e]));return rY.flatMap(e=>{let a=t.get(e);return a?[{kind:"context",key:a.key,secondary:a.description}]:[]})}),g=ol(()=>{if(!e.query.trim())return[...u.value.slice(-4),...f.value];let t=e.query.trim(),a=h.value.search(t,{limit:12}).map(e=>{let{kind:t,key:a,secondary:r}=e.item;return{kind:t,key:a,secondary:r}}),r=12-a.length,n=r>0?m.value.search(t,{limit:r}).map(e=>{let{kind:t,key:a,secondary:r}=e.item;return{kind:t,key:a,secondary:r}}):[];return[...a,...n]}),v=e=>{r("select",e)};t({handleArrowKey:e=>{let t="up"===e?-1:1,a=g.value.length;0!==a&&(i.value=(i.value+t+a)%a)},handleSelect:()=>{if(i.value>=0){let e=g.value[i.value];e&&v(e.key)}}}),ts(()=>{i.value=0});let b=ol(()=>({left:(e.dropdownPosition?.left??0)+"px",top:(e.dropdownPosition?.top??0)+5+"px"}));return Epe(o,()=>{n.value=!1},{ignore:[o]}),(t,a)=>n.value?(Zo(),Fo(Fa(Pce),{key:0,class:"scalar-client"},{default:cn(()=>[Go("div",{ref_key:"dropdownRef",ref:o,class:"custom-scroll z-context fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75",style:Je(b.value)},[g.value.length?(Zo(),qo("ul",Bme,[(Zo(!0),qo(Ls,null,Yn(g.value,(t,a)=>(Zo(),qo("li",{key:`${t.kind}-${t.key}`,class:tt(["font-code text-xxs hover:bg-b-2 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",{"bg-b-2":a===i.value}]),onClick:e=>v(t.key)},[Go("div",Ume,["env"===t.kind?(Zo(),qo("span",{key:0,class:"h-2.25 w-2.25 min-w-2.25 rounded-full",style:Je({backgroundColor:e.environment?.color})},null,4)):(Zo(),qo("span",zme," fn ")),ei(" "+Kt(t.key),1)]),Go("span",Hme,Kt(t.secondary),1)],10,jme))),128))])):(Zo(),Fo(Fa(tce),{key:1,class:"font-code text-xxs bg-b-inherit hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",variant:"outlined",onClick:s},{default:cn(()=>[qs(Fa(NO),{class:"size-3"}),a[0]||=ei(" Add Variable ",-1)]),_:1})),a[1]||=Go("div",{class:"bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg"},null,-1)],4)]),_:1})):ai("",!0)}})}),Xme=V(()=>{Wme(),Vme=Zme}),Gme=V(()=>{Qme="scalar-tooltip",qme="scalar-tooltip"});function Yme(e){(function(e){let t=Fa(rfe.value?.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){let a=function(e){let t=[],a=e.parentElement;for(;a;)t.push(a),a=a.parentElement;return t}(e.relatedTarget);return"scalar-tooltip"!==e.relatedTarget.id&&!a.some(e=>"scalar-tooltip"===e.id)&&e.relatedTarget!==t}return!0})(e)&&(Jme(),rfe.value=void 0)}function Kme(e){"Escape"===e.key&&(e.stopPropagation(),Yme(e))}function Jme(){tfe.value&&(clearTimeout(tfe.value),tfe.value=void 0)}function efe(e){function t(t){let r=Fa(e.delay)??300;Jme(),r>0?tfe.value=setTimeout(()=>a(t),r):a(t)}function a(t){Jme(),document.addEventListener("keydown",Kme,{once:!0,capture:!0}),rfe.value=e}!function(){if(typeof document>"u"||typeof window>"u"||afe.value)return;let e=document.getElementById(Qme);e?afe.value=e:(afe.value=document.createElement("div"),afe.value.role="tooltip",afe.value.id=Qme,afe.value.classList.add(qme),afe.value.classList.add("scalar-app"),afe.value.style.setProperty("display","none"),afe.value.addEventListener("mouseleave",Yme),document.body.appendChild(afe.value))}(),fn(()=>Fa(e.targetRef),(e,r)=>{r&&(r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",Yme),r.removeEventListener("focus",a),r.removeEventListener("blur",Yme),r.removeAttribute("aria-describedby")),e&&(e.addEventListener("mouseenter",t),e.addEventListener("mouseleave",Yme),e.addEventListener("focus",a),e.addEventListener("blur",Yme),e.setAttribute("aria-describedby",Qme))},{immediate:!0}),ra(()=>{Jme();let r=Fa(e.targetRef);r&&(r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",Yme),r.removeEventListener("focus",a),r.removeEventListener("blur",Yme),r.removeAttribute("aria-describedby")),Fa(rfe.value?.targetRef)===Fa(e.targetRef)&&(rfe.value=void 0)})}var tfe,afe,rfe,nfe,ofe,ife,sfe,lfe,cfe,ufe=V(()=>{Gme(),Rc(),Yde(),tfe=Za(),afe=Za(),rfe=Za(),({floatingStyles:nfe}=Dde(ol(()=>Fa(rfe.value?.targetRef)),afe,{placement:ol(()=>Fa(rfe.value?.placement)),whileElementsMounted:yde,middleware:ol(()=>[Tde(),_de()])})),fn(nfe,()=>{afe.value&&(afe.value.style.position=nfe.value.position,afe.value.style.top=nfe.value.top,afe.value.style.left=nfe.value.left,afe.value.style.transform=nfe.value.transform??"",afe.value.style.willChange=nfe.value.willChange??"")}),fn(rfe,e=>{if(afe.value)if(e){let t=Fa(e?.contentTarget)??"textContent";afe.value[t]=Fa(e?.content)??"";let a=Fa(e?.offset)??4;afe.value.style.setProperty("--scalar-tooltip-offset",`${a}px`),afe.value.style.setProperty("display","block")}else afe.value.innerHTML="",afe.value.style.removeProperty("--scalar-tooltip-offset"),afe.value.style.setProperty("display","none")},{deep:!0})}),dfe=V(()=>{ofe={"⌘":"Command","^":"Control",ctrl:"Control","⌥":"Option",alt:"Alt","⇧":"Shift","⇪":"Caps Lock","↵":"Enter","←":"Left Arrow","→":"Right Arrow","↑":"Up Arrow","↓":"Down Arrow"},ife={Meta:"⌘",Shift:"⇧",Alt:"⌥",Control:"^"},sfe={Meta:"ctrl",Shift:"⇧",Alt:"alt",Control:"ctrl"}}),pfe=V(()=>{lfe=e=>{let t=Reflect.get(e,"userAgentData");if(t&&"object"==typeof t&&"platform"in t&&"string"==typeof t.platform)return t.platform},cfe=()=>{if(typeof navigator>"u")return!1;let e=lfe(navigator);return e?e.toLowerCase().includes("mac"):/Mac/.test(navigator.userAgent)}});function hfe(e,t){return[...t.map(e=>function(e){let t=function(e){return"default"===e}(e)?"Meta":e;return ffe()?ife[t]:sfe[t]}(e)),e]}function mfe(e){return e in ofe?ofe[e]:e}var ffe,gfe,vfe,bfe,yfe,Ofe,xfe,wfe,kfe,Sfe,Afe=V(()=>{dfe(),pfe(),ffe=()=>{let e;return"mac"===e||"non-mac"!==e&&cfe()}}),_fe=V(()=>{Afe(),iE(),Rc(),gfe={"aria-hidden":"true",class:"contents"},vfe={class:"sr-only"},bfe=Pn({inheritAttrs:!1,__name:"ScalarHotkey",props:{hotkey:{},modifier:{default:()=>["Meta"]}},setup(e){let{cx:t}=aE(),a=ol(()=>hfe(e.hotkey,e.modifier));return(e,r)=>(Zo(),qo("div",at(Ko(Fa(t)("border-(--scalar-background-3) inline-flex gap-0.5 overflow-hidden rounded border text-xxs rounded-b p-1 font-medium uppercase leading-none"))),[(Zo(!0),qo(Ls,null,Yn(a.value,(e,t)=>(Zo(),qo("div",{key:t},[Go("span",gfe,Kt(e),1),Go("span",vfe,Kt(Fa(mfe)(e)),1)]))),128))],16))}})}),Tfe=V(()=>{_fe(),yfe=bfe}),Efe=V(()=>{ufe(),Rc(),Ofe=Pn({__name:"ScalarTooltip",props:{content:{default:""},delay:{default:()=>300},placement:{default:"top"},offset:{default:()=>4}},setup(e){let t=Za(null);return efe({content:ol(()=>e.content),delay:ol(()=>e.delay),placement:ol(()=>e.placement),offset:ol(()=>e.offset),targetRef:ol(()=>t.value?.children?.[0]||t.value||void 0)}),(e,a)=>(Zo(),qo("div",{ref_key:"wrapperRef",ref:t,class:tt({contents:!!e.$slots.default})},[Jn(e.$slots,"default")],2))}})}),Cfe=V(()=>{Efe(),xfe=Ofe}),Pfe=V(()=>{ufe(),Cfe()}),Mfe=V(()=>{Rc(),Pfe(),wfe={class:"flex items-center gap-1 whitespace-nowrap"},kfe=Pn({name:"PillTooltipHost",__name:"PillTooltipHost",props:{context:{}},setup(e){let t=e,a=Za(null),r="contextFunction"===t.context.type,n=ol(()=>{if(!r||typeof document>"u")return"";let e=document.createElement("div");return Mc(hi("div",{class:"flex flex-col gap-1.5 text-left"},[hi("span",{},t.context.details),hi("div",{class:"text-[color:var(--scalar-color-3)] text-[10px] font-normal"},"Computed at request execution")]),e),e.innerHTML}),o=ol(()=>"environment"===t.context.type?t.context.value:"");return efe({content:r?n:o,contentTarget:r?"innerHTML":"textContent",delay:0,placement:"bottom-start",offset:6,targetRef:ol(()=>a.value?.children?.[0]||a.value||void 0)}),(e,r)=>(Zo(),qo("div",{ref_key:"wrapperRef",ref:a,class:"contents"},[Go("div",wfe,[Go("span",null,Kt("environment"===t.context.type?t.context.name:t.context.identifier),1)])],512))}})}),$fe=V(()=>{Mfe(),Sfe=kfe});function Nfe(e){if(e<768)return!1;for(let t=0,a=Hfe.length;;){let r=t+a>>1;if(e<Hfe[r])a=r;else{if(!(e>=Zfe[r]))return!0;t=r+1}if(t==a)return!1}}function Ife(e){return e>=127462&&e<=127487}function Rfe(e,t,a=!0,r=!0){return(a?Dfe:Lfe)(e,t,r)}function Dfe(e,t,a){if(t==e.length)return t;t&&jfe(e.charCodeAt(t))&&Ufe(e.charCodeAt(t-1))&&t--;let r=Bfe(e,t);for(t+=zfe(r);t<e.length;){let n=Bfe(e,t);if(r==Vfe||n==Vfe||a&&Nfe(n))t+=zfe(n),r=n;else{if(!Ife(n))break;{let a=0,r=t-2;for(;r>=0&&Ife(Bfe(e,r));)a++,r-=2;if(a%2==0)break;t+=2}}}return t}function Lfe(e,t,a){for(;t>0;){let r=Dfe(e,t-2,a);if(r<t)return r;t--}return 0}function Bfe(e,t){let a=e.charCodeAt(t);if(!Ufe(a)||t+1==e.length)return a;let r=e.charCodeAt(t+1);return jfe(r)?r-56320+(a-55296<<10)+65536:a}function jfe(e){return e>=56320&&e<57344}function Ufe(e){return e>=55296&&e<56320}function zfe(e){return e<65536?1:2}var Hfe,Zfe,Vfe,Qfe=V(()=>{Hfe=[],Zfe=[],(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let t=0,a=0;t<e.length;t++)(t%2?Zfe:Hfe).push(a+=e[t])})(),Vfe=8205});function qfe(e,t,a=0,r=1e9){for(let n=0,o=0,i=!0;o<e.length&&n<=r;o++){let s=e[o],l=n+s.length;l>=a&&(l>r&&(s=s.slice(0,r-n)),n<a&&(s=s.slice(a-n)),i?(t[t.length-1]+=s,i=!1):t.push(s)),n=l+1}return t}function Ffe(e,t,a){return qfe(e,[""],t,a)}function Wfe(e,t,a){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,a))]}function Xfe(e,t,a=!0,r=!0){return Rfe(e,t,a,r)}function Gfe(e,t){let a=e.charCodeAt(t);if(!function(e){return e>=55296&&e<56320}(a)||t+1==e.length)return a;let r=e.charCodeAt(t+1);return function(e){return e>=56320&&e<57344}(r)?r-56320+(a-55296<<10)+65536:a}function Yfe(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function Kfe(e){return e<65536?1:2}function Jfe(e,t,a,r=!1){if(0==t&&a<=0)return;let n=e.length-2;n>=0&&a<=0&&a==e[n+1]?e[n]+=t:n>=0&&0==t&&0==e[n]?e[n+1]+=a:r?(e[n]+=t,e[n+1]+=a):e.push(t,a)}function ege(e,t,a){if(0==a.length)return;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(a);else{for(;e.length<r;)e.push(Ege.empty);e.push(a)}}function tge(e,t,a){let r=e.inserted;for(let n=0,o=0,i=0;i<e.sections.length;){let s=e.sections[i++],l=e.sections[i++];if(l<0)n+=s,o+=s;else{let c=n,u=o,d=Ege.empty;for(;c+=s,u+=l,l&&r&&(d=d.append(r[i-2>>1])),!(a||i==e.sections.length||e.sections[i+1]<0);)s=e.sections[i++],l=e.sections[i++];t(n,c,o,u,d),n=c,o=u}}}function age(e,t,a,r=!1){let n=[],o=r?[]:null,i=new jge(e),s=new jge(t);for(let e=-1;;){if(i.done&&s.len||s.done&&i.len)throw Error("Mismatched change set lengths");if(-1==i.ins&&-1==s.ins){let e=Math.min(i.len,s.len);Jfe(n,e,-1),i.forward(e),s.forward(e)}else if(s.ins>=0&&(i.ins<0||e==i.i||0==i.off&&(s.len<i.len||s.len==i.len&&!a))){let t=s.len;for(Jfe(n,s.ins,-1);t;){let a=Math.min(i.len,t);i.ins>=0&&e<i.i&&i.len<=a&&(Jfe(n,0,i.ins),o&&ege(o,n,i.text),e=i.i),i.forward(a),t-=a}s.next()}else{if(!(i.ins>=0)){if(i.done&&s.done)return o?Bge.createSet(n,o):Lge.create(n);throw Error("Mismatched change set lengths")}{let t=0,a=i.len;for(;a;)if(-1==s.ins){let e=Math.min(a,s.len);t+=e,a-=e,s.forward(e)}else{if(!(0==s.ins&&s.len<a))break;a-=s.len,s.next()}Jfe(n,t,e<i.i?i.ins:0),o&&e<i.i&&ege(o,n,i.text),e=i.i,i.forward(i.len-a)}}}}function rge(e,t,a=!1){let r=[],n=a?[]:null,o=new jge(e),i=new jge(t);for(let e=!1;;){if(o.done&&i.done)return n?Bge.createSet(r,n):Lge.create(r);if(0==o.ins)Jfe(r,o.len,0,e),o.next();else if(0!=i.len||i.done){if(o.done||i.done)throw Error("Mismatched change set lengths");{let t=Math.min(o.len2,i.len),a=r.length;if(-1==o.ins){let a=-1==i.ins?-1:i.off?0:i.ins;Jfe(r,t,a,e),n&&a&&ege(n,r,i.text)}else-1==i.ins?(Jfe(r,o.off?0:o.len,t,e),n&&ege(n,r,o.textBit(t))):(Jfe(r,o.off?0:o.len,i.off?0:i.ins,e),n&&!i.off&&ege(n,r,i.text));e=(o.ins>t||i.ins>=0&&i.len>t)&&(e||r.length>a),o.forward2(t),i.forward(t)}}else Jfe(r,0,i.ins,e),n&&ege(n,r,i.text),i.next()}}function nge(e,t){for(let a of e.ranges)if(a.to>t)throw RangeError("Selection points outside of document")}function oge(e,t){return e==t||e.length==t.length&&e.every((e,a)=>e===t[a])}function ige(e,t,a){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!a(e[r],t[r]))return!1;return!0}function sge(e,t){let a=!1;for(let r of t)1&uge(e,r)&&(a=!0);return a}function lge(e,t,a){let r=a.map(t=>e[t.id]),n=a.map(e=>e.type),o=r.filter(e=>!(1&e)),i=e[t.id]>>1;function s(e){let a=[];for(let t=0;t<r.length;t++){let o=dge(e,r[t]);if(2==n[t])for(let e of o)a.push(e);else a.push(o)}return t.combine(a)}return{create(e){for(let t of r)uge(e,t);return e.values[i]=s(e),1},update(e,a){if(!sge(e,o))return 0;let r=s(e);return t.compare(r,e.values[i])?0:(e.values[i]=r,1)},reconfigure(e,n){let o=sge(e,r),l=n.config.facets[t.id],c=n.facet(t);if(l&&!o&&oge(a,l))return e.values[i]=c,0;let u=s(e);return t.compare(u,c)?(e.values[i]=c,0):(e.values[i]=u,1)}}}function cge(e){return t=>new Xge(t,e)}function uge(e,t){if(1&t)return 2;let a=t>>1,r=e.status[a];if(4==r)throw Error("Cyclic dependency between fields and/or facets");if(2&r)return r;e.status[a]=4;let n=e.computeSlot(e,e.config.dynamicSlots[a]);return e.status[a]=2|n}function dge(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}function pge(e,t){let a=[];for(let r=0,n=0;;){let o,i;if(r<e.length&&(n==t.length||t[n]>=e[r]))o=e[r++],i=e[r++];else{if(!(n<t.length))return a;o=t[n++],i=t[n++]}!a.length||a[a.length-1]<o?a.push(o,i):a[a.length-1]<i&&(a[a.length-1]=i)}}function hge(e,t,a){let r,n,o;return a?(r=t.changes,n=Bge.empty(t.changes.length),o=e.changes.compose(t.changes)):(r=t.changes.map(e.changes),n=e.changes.mapDesc(t.changes,!0),o=e.changes.compose(r)),{changes:o,selection:t.selection?t.selection.map(n):e.selection?.map(r),effects:cve.mapEffects(e.effects,r).concat(cve.mapEffects(t.effects,n)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function mge(e,t,a){let r=t.selection,n=gge(t.annotations);return t.userEvent&&(n=n.concat(uve.userEvent.of(t.userEvent))),{changes:t.changes instanceof Bge?t.changes:Bge.of(t.changes||[],a,e.facet(tve)),selection:r&&(r instanceof zge?r:zge.single(r.anchor,r.head)),effects:gge(t.effects),annotations:n,scrollIntoView:!!t.scrollIntoView}}function fge(e,t,a){let r=mge(e,t.length?t[0]:{},e.doc.length);t.length&&!1===t[0].filter&&(a=!1);for(let n=1;n<t.length;n++){!1===t[n].filter&&(a=!1);let o=!!t[n].sequential;r=hge(r,mge(e,t[n],o?r.changes.newLength:e.doc.length),o)}let n=uve.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return function(e){let t=e.startState,a=t.facet(nve),r=e;for(let n=a.length-1;n>=0;n--){let o=a[n](e);o&&Object.keys(o).length&&(r=hge(r,mge(t,o,e.changes.newLength),!0))}return r==e?e:uve.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)}(a?function(e){let t=e.startState,a=!0;for(let r of t.facet(ave)){let t=r(e);if(!1===t){a=!1;break}Array.isArray(t)&&(a=!0===a?t:pge(a,t))}if(!0!==a){let r,n;if(!1===a)n=e.changes.invertedDesc,r=Bge.empty(t.doc.length);else{let t=e.changes.filter(a);r=t.changes,n=t.filtered.mapDesc(t.changes).invertedDesc}e=uve.create(t,r,e.selection&&e.selection.map(n),cve.mapEffects(e.effects,n),e.annotations,e.scrollIntoView)}let r=t.facet(rve);for(let a=r.length-1;a>=0;a--){let n=r[a](e);e=n instanceof uve?n:Array.isArray(n)&&1==n.length&&n[0]instanceof uve?n[0]:fge(t,gge(n),!1)}return e}(n):n)}function gge(e){return null==e?dve:Array.isArray(e)?e:[e]}function vge(e){return t=>{if(!/\S/.test(t))return pve.Space;if(function(e){if(mve)return mve.test(e);for(let t=0;t<e.length;t++){let a=e[t];if(/\w/.test(a)||a>""&&(a.toUpperCase()!=a.toLowerCase()||hve.test(a)))return!0}return!1}(t))return pve.Word;for(let a=0;a<e.length;a++)if(t.indexOf(e[a])>-1)return pve.Word;return pve.Other}}function bge(e,t,a={}){let r={};for(let t of e)for(let e of Object.keys(t)){let n=t[e],o=r[e];if(void 0===o)r[e]=n;else if(o!==n&&void 0!==n){if(!Object.hasOwnProperty.call(a,e))throw Error("Config merge conflict for field "+e);r[e]=a[e](o,n)}}for(let e in t)void 0===r[e]&&(r[e]=t[e]);return r}function yge(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}function Oge(e,t,a){let r=new Map;for(let t of e)for(let e=0;e<t.chunk.length;e++)t.chunk[e].maxPoint<=0&&r.set(t.chunk[e],t.chunkPos[e]);let n=new Set;for(let e of t)for(let t=0;t<e.chunk.length;t++){let o=r.get(e.chunk[t]);null!=o&&(a?a.mapPos(o):o)==e.chunkPos[t]&&!a?.touchesRange(o,o+e.chunk[t].length)&&n.add(e.chunk[t])}return n}function xge(e,t){for(let a=e[t];;){let r=1+(t<<1);if(r>=e.length)break;let n=e[r];if(r+1<e.length&&n.compare(e[r+1])>=0&&(n=e[r+1],r++),a.compare(n)<0)break;e[r]=a,e[t]=n,t=r}}function wge(e,t,a,r,n,o){e.goto(t),a.goto(r);let i=r+n,s=r,l=r-t;for(;;){let t=e.to+l-a.to,r=t||e.endSide-a.endSide,n=r<0?e.to+l:a.to,c=Math.min(n,i);if(e.point||a.point?e.point&&a.point&&(e.point==a.point||e.point.eq(a.point))&&kge(e.activeForPoint(e.to),a.activeForPoint(a.to))||o.comparePoint(s,c,e.point,a.point):c>s&&!kge(e.active,a.active)&&o.compareRange(s,c,e.active,a.active),n>i)break;(t||e.openEnd!=a.openEnd)&&o.boundChange&&o.boundChange(n),s=n,r<=0&&e.next(),r>=0&&a.next()}}function kge(e,t){if(e.length!=t.length)return!1;for(let a=0;a<e.length;a++)if(e[a]!=t[a]&&!e[a].eq(t[a]))return!1;return!0}function Sge(e,t){for(let a=t,r=e.length-1;a<r;a++)e[a]=e[a+1];e.pop()}function Age(e,t,a){for(let a=e.length-1;a>=t;a--)e[a+1]=e[a];e[t]=a}function _ge(e,t){let a=-1,r=1e9;for(let n=0;n<t.length;n++)(t[n]-r||e[n].endSide-e[a].endSide)<0&&(a=n,r=t[n]);return a}function Tge(e,t,a=e.length){let r=0;for(let n=0;n<a;)9==e.charCodeAt(n)?(r+=t-r%t,n++):(r++,n=Xfe(e,n));return r}var Ege,Cge,Pge,Mge,$ge,Nge,Ige,Rge,Dge,Lge,Bge,jge,Uge,zge,Hge,Zge,Vge,Qge,qge,Fge,Wge,Xge,Gge,Yge,Kge,Jge,eve,tve,ave,rve,nve,ove,ive,sve,lve,cve,uve,dve,pve,hve,mve,fve,gve,vve,bve,yve,Ove,xve,wve,kve,Sve,Ave,_ve,Tve,Eve,Cve,Pve=V(()=>{Qfe(),Ege=class e{lineAt(e){if(e<0||e>this.length)throw RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,a){[e,t]=Wfe(this,e,t);let r=[];return this.decompose(0,e,r,2),a.length&&a.decompose(0,a.length,r,3),this.decompose(t,this.length,r,1),Pge.from(r,this.length-(t-e)+a.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=Wfe(this,e,t);let a=[];return this.decompose(e,t,a,0),Pge.from(a,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),a=this.length-this.scanIdentical(e,-1),r=new Mge(this),n=new Mge(e);for(let e=t,o=t;;){if(r.next(e),n.next(e),e=0,r.lineBreak!=n.lineBreak||r.done!=n.done||r.value!=n.value)return!1;if(o+=r.value.length,r.done||o>=a)return!0}}iter(e=1){return new Mge(this,e)}iterRange(e,t=this.length){return new $ge(this,e,t)}iterLines(e,t){let a;if(null==e)a=this.iter();else{t??=this.lines+1;let r=this.line(e).from;a=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new Nge(a)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(t){if(0==t.length)throw RangeError("A document must have at least one line");return 1!=t.length||t[0]?t.length<=32?new Cge(t):Pge.from(Cge.split(t,[])):e.empty}},Cge=class e extends Ege{constructor(e,t=function(e){let t=-1;for(let a of e)t+=a.length+1;return t}(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,a,r){for(let n=0;;n++){let o=this.text[n],i=r+o.length;if((t?a:i)>=e)return new Ige(r,i,a,o);r=i+1,a++}}decompose(t,a,r,n){let o=t<=0&&a>=this.length?this:new e(Ffe(this.text,t,a),Math.min(a,this.length)-Math.max(0,t));if(1&n){let t=r.pop(),a=qfe(o.text,t.text.slice(),0,o.length);if(a.length<=32)r.push(new e(a,t.length+o.length));else{let t=a.length>>1;r.push(new e(a.slice(0,t)),new e(a.slice(t)))}}else r.push(o)}replace(t,a,r){if(!(r instanceof e))return super.replace(t,a,r);[t,a]=Wfe(this,t,a);let n=qfe(this.text,qfe(r.text,Ffe(this.text,0,t)),a),o=this.length+r.length-(a-t);return n.length<=32?new e(n,o):Pge.from(e.split(n,[]),o)}sliceString(e,t=this.length,a="\n"){[e,t]=Wfe(this,e,t);let r="";for(let n=0,o=0;n<=t&&o<this.text.length;o++){let i=this.text[o],s=n+i.length;n>e&&o&&(r+=a),e<s&&t>n&&(r+=i.slice(Math.max(0,e-n),t-n)),n=s+1}return r}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(t,a){let r=[],n=-1;for(let o of t)r.push(o),n+=o.length+1,32==r.length&&(a.push(new e(r,n)),r=[],n=-1);return n>-1&&a.push(new e(r,n)),a}},Pge=class e extends Ege{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let t of e)this.lines+=t.lines}lineInner(e,t,a,r){for(let n=0;;n++){let o=this.children[n],i=r+o.length,s=a+o.lines-1;if((t?s:i)>=e)return o.lineInner(e,t,a,r);r=i+1,a=s+1}}decompose(e,t,a,r){for(let n=0,o=0;o<=t&&n<this.children.length;n++){let i=this.children[n],s=o+i.length;if(e<=s&&t>=o){let n=r&((o<=e?1:0)|(s>=t?2:0));o>=e&&s<=t&&!n?a.push(i):i.decompose(e-o,t-o,a,n)}o=s+1}}replace(t,a,r){if([t,a]=Wfe(this,t,a),r.lines<this.lines)for(let n=0,o=0;n<this.children.length;n++){let i=this.children[n],s=o+i.length;if(t>=o&&a<=s){let l=i.replace(t-o,a-o,r),c=this.lines-i.lines+l.lines;if(l.lines<c>>4&&l.lines>c>>6){let o=this.children.slice();return o[n]=l,new e(o,this.length-(a-t)+r.length)}return super.replace(o,s,l)}o=s+1}return super.replace(t,a,r)}sliceString(e,t=this.length,a="\n"){[e,t]=Wfe(this,e,t);let r="";for(let n=0,o=0;n<this.children.length&&o<=t;n++){let i=this.children[n],s=o+i.length;o>e&&n&&(r+=a),e<s&&t>o&&(r+=i.sliceString(e-o,t-o,a)),o=s+1}return r}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(t,a){if(!(t instanceof e))return 0;let r=0,[n,o,i,s]=a>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;n+=a,o+=a){if(n==i||o==s)return r;let e=this.children[n],l=t.children[o];if(e!=l)return r+e.scanIdentical(l,a);r+=e.length+1}}static from(t,a=t.reduce((e,t)=>e+t.length+1,-1)){let r=0;for(let e of t)r+=e.lines;if(r<32){let e=[];for(let a of t)a.flatten(e);return new Cge(e,a)}let n=Math.max(32,r>>5),o=n<<1,i=n>>1,s=[],l=0,c=-1,u=[];function d(t){let a;if(t.lines>o&&t instanceof e)for(let e of t.children)d(e);else t.lines>i&&(l>i||!l)?(p(),s.push(t)):t instanceof Cge&&l&&(a=u[u.length-1])instanceof Cge&&t.lines+a.lines<=32?(l+=t.lines,c+=t.length+1,u[u.length-1]=new Cge(a.text.concat(t.text),a.length+1+t.length)):(l+t.lines>n&&p(),l+=t.lines,c+=t.length+1,u.push(t))}function p(){0!=l&&(s.push(1==u.length?u[0]:e.from(u,c)),c=-1,l=u.length=0)}for(let e of t)d(e);return p(),1==s.length?s[0]:new e(s,a)}},Ege.empty=new Cge([""],0),Mge=class{constructor(e,t=1){this.dir=t,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[e],this.offsets=[t>0?1:(e instanceof Cge?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let a=this.nodes.length-1,r=this.nodes[a],n=this.offsets[a],o=n>>1,i=r instanceof Cge?r.text.length:r.children.length;if(o==(t>0?i:0)){if(0==a)return this.done=!0,this.value="",this;t>0&&this.offsets[a-1]++,this.nodes.pop(),this.offsets.pop()}else if((1&n)==(t>0?0:1)){if(this.offsets[a]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--}else if(r instanceof Cge){let n=r.text[o+(t<0?-1:0)];if(this.offsets[a]+=t,n.length>Math.max(0,e))return this.value=0==e?n:t>0?n.slice(e):n.slice(0,n.length-e),this;e-=n.length}else{let n=r.children[o+(t<0?-1:0)];e>n.length?(e-=n.length,this.offsets[a]+=t):(t<0&&this.offsets[a]--,this.nodes.push(n),this.offsets.push(t>0?1:(n instanceof Cge?n.text.length:n.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}},$ge=class{constructor(e,t,a){this.value="",this.done=!1,this.cursor=new Mge(e,t>a?-1:1),this.pos=t>a?e.length:0,this.from=Math.min(t,a),this.to=Math.max(t,a)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let a=t<0?this.pos-this.from:this.to-this.pos;e>a&&(e=a),a-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*t,this.value=r.length<=a?r:t<0?r.slice(r.length-a):r.slice(0,a),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&""!=this.value}},Nge=class{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:a,value:r}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):a?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}},typeof Symbol<"u"&&(Ege.prototype[Symbol.iterator]=function(){return this.iter()},Mge.prototype[Symbol.iterator]=$ge.prototype[Symbol.iterator]=Nge.prototype[Symbol.iterator]=function(){return this}),Ige=class{constructor(e,t,a,r){this.from=e,this.to=t,this.number=a,this.text=r}get length(){return this.to-this.from}},Rge=/\r\n?|\n/,Dge=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(Dge||={}),Lge=class e{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){let a=this.sections[t+1];e+=a<0?this.sections[t]:a}return e}get empty(){return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}iterGaps(e){for(let t=0,a=0,r=0;t<this.sections.length;){let n=this.sections[t++],o=this.sections[t++];o<0?(e(a,r,n),r+=n):r+=o,a+=n}}iterChangedRanges(e,t=!1){tge(this,e,t)}get invertedDesc(){let t=[];for(let e=0;e<this.sections.length;){let a=this.sections[e++],r=this.sections[e++];r<0?t.push(a,r):t.push(r,a)}return new e(t)}composeDesc(e){return this.empty?e:e.empty?this:rge(this,e)}mapDesc(e,t=!1){return e.empty?this:age(this,e,t)}mapPos(e,t=-1,a=Dge.Simple){let r=0,n=0;for(let o=0;o<this.sections.length;){let i=this.sections[o++],s=this.sections[o++],l=r+i;if(s<0){if(l>e)return n+(e-r);n+=i}else{if(a!=Dge.Simple&&l>=e&&(a==Dge.TrackDel&&r<e&&l>e||a==Dge.TrackBefore&&r<e||a==Dge.TrackAfter&&l>e))return null;if(l>e||l==e&&t<0&&!i)return e==r||t<0?n:n+s;n+=s}r=l}if(e>r)throw RangeError(`Position ${e} is out of range for changeset of length ${r}`);return n}touchesRange(e,t=e){for(let a=0,r=0;a<this.sections.length&&r<=t;){let n=r+this.sections[a++];if(this.sections[a++]>=0&&r<=t&&n>=e)return!(r<e&&n>t)||"cover";r=n}return!1}toString(){let e="";for(let t=0;t<this.sections.length;){let a=this.sections[t++],r=this.sections[t++];e+=(e?" ":"")+a+(r>=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(e=>"number"!=typeof e))throw RangeError("Invalid JSON representation of ChangeDesc");return new e(t)}static create(t){return new e(t)}},Bge=class e extends Lge{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw RangeError("Applying change set to a document with the wrong length");return tge(this,(t,a,r,n,o)=>e=e.replace(r,r+(a-t),o),!1),e}mapDesc(e,t=!1){return age(this,e,t,!0)}invert(t){let a=this.sections.slice(),r=[];for(let e=0,n=0;e<a.length;e+=2){let o=a[e],i=a[e+1];if(i>=0){a[e]=i,a[e+1]=o;let s=e>>1;for(;r.length<s;)r.push(Ege.empty);r.push(o?t.slice(n,n+o):Ege.empty)}n+=o}return new e(a,r)}compose(e){return this.empty?e:e.empty?this:rge(this,e,!0)}map(e,t=!1){return e.empty?this:age(this,e,t,!0)}iterChanges(e,t=!1){tge(this,e,t)}get desc(){return Lge.create(this.sections)}filter(t){let a=[],r=[],n=[],o=new jge(this);e:for(let e=0,i=0;;){let s=e==t.length?1e9:t[e++];for(;i<s||i==s&&0==o.len;){if(o.done)break e;let e=Math.min(o.len,s-i);Jfe(n,e,-1);let t=-1==o.ins?-1:0==o.off?o.ins:0;Jfe(a,e,t),t>0&&ege(r,a,o.text),o.forward(e),i+=e}let l=t[e++];for(;i<l;){if(o.done)break e;let e=Math.min(o.len,l-i);Jfe(a,e,-1),Jfe(n,e,-1==o.ins?-1:0==o.off?o.ins:0),o.forward(e),i+=e}}return{changes:new e(a,r),filtered:Lge.create(n)}}toJSON(){let e=[];for(let t=0;t<this.sections.length;t+=2){let a=this.sections[t],r=this.sections[t+1];r<0?e.push(a):0==r?e.push([a]):e.push([a].concat(this.inserted[t>>1].toJSON()))}return e}static of(t,a,r){let n=[],o=[],i=0,s=null;function l(t=!1){if(!t&&!n.length)return;i<a&&Jfe(n,a-i,-1);let r=new e(n,o);s=s?s.compose(r.map(s)):r,n=[],o=[],i=0}return function t(c){if(Array.isArray(c))for(let e of c)t(e);else if(c instanceof e){if(c.length!=a)throw RangeError(`Mismatched change set length (got ${c.length}, expected ${a})`);l(),s=s?s.compose(c.map(s)):c}else{let{from:e,to:t=e,insert:s}=c;if(e>t||e<0||t>a)throw RangeError(`Invalid change range ${e} to ${t} (in doc of length ${a})`);let u=s?"string"==typeof s?Ege.of(s.split(r||Rge)):s:Ege.empty,d=u.length;if(e==t&&0==d)return;e<i&&l(),e>i&&Jfe(n,e-i,-1),Jfe(n,t-e,d),ege(o,n,u),i=t}}(t),l(!s),s}static empty(t){return new e(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw RangeError("Invalid JSON representation of ChangeSet");let a=[],r=[];for(let e=0;e<t.length;e++){let n=t[e];if("number"==typeof n)a.push(n,-1);else{if(!Array.isArray(n)||"number"!=typeof n[0]||n.some((e,t)=>t&&"string"!=typeof e))throw RangeError("Invalid JSON representation of ChangeSet");if(1==n.length)a.push(n[0],0);else{for(;r.length<e;)r.push(Ege.empty);r[e]=Ege.of(n.slice(1)),a.push(n[0],r[e].length)}}}return new e(a,r)}static createSet(t,a){return new e(t,a)}},jge=class{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i<e.length?(this.len=e[this.i++],this.ins=e[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return-2==this.ins}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:e}=this.set,t=this.i-2>>1;return t>=e.length?Ege.empty:e[t]}textBit(e){let{inserted:t}=this.set,a=this.i-2>>1;return a>=t.length&&!e?Ege.empty:t[a].slice(this.off,null==e?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){-1==this.ins?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}},Uge=class e{constructor(e,t,a){this.from=e,this.to=t,this.flags=a}get anchor(){return 32&this.flags?this.to:this.from}get head(){return 32&this.flags?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return 8&this.flags?-1:16&this.flags?1:0}get bidiLevel(){let e=7&this.flags;return 7==e?null:e}get goalColumn(){let e=this.flags>>6;return 16777215==e?void 0:e}map(t,a=-1){let r,n;return this.empty?r=n=t.mapPos(this.from,a):(r=t.mapPos(this.from,1),n=t.mapPos(this.to,-1)),r==this.from&&n==this.to?this:new e(r,n,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return zge.range(e,t);let a=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return zge.range(this.anchor,a)}eq(e,t=!1){return!(this.anchor!=e.anchor||this.head!=e.head||t&&this.empty&&this.assoc!=e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||"number"!=typeof e.anchor||"number"!=typeof e.head)throw RangeError("Invalid JSON representation for SelectionRange");return zge.range(e.anchor,e.head)}static create(t,a,r){return new e(t,a,r)}},zge=class e{constructor(e,t){this.ranges=e,this.mainIndex=t}map(t,a=-1){return t.empty?this:e.create(this.ranges.map(e=>e.map(t,a)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let a=0;a<this.ranges.length;a++)if(!this.ranges[a].eq(e.ranges[a],t))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return 1==this.ranges.length?this:new e([this.main],0)}addRange(t,a=!0){return e.create([t].concat(this.ranges),a?0:this.mainIndex+1)}replaceRange(t,a=this.mainIndex){let r=this.ranges.slice();return r[a]=t,e.create(r,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(e=>e.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||"number"!=typeof t.main||t.main>=t.ranges.length)throw RangeError("Invalid JSON representation for EditorSelection");return new e(t.ranges.map(e=>Uge.fromJSON(e)),t.main)}static single(t,a=t){return new e([e.range(t,a)],0)}static create(t,a=0){if(0==t.length)throw RangeError("A selection needs at least one range");for(let r=0,n=0;n<t.length;n++){let o=t[n];if(o.empty?o.from<=r:o.from<r)return e.normalized(t.slice(),a);r=o.to}return new e(t,a)}static cursor(e,t=0,a,r){return Uge.create(e,e,(0==t?0:t<0?8:16)|(null==a?7:Math.min(6,a))|(r??16777215)<<6)}static range(e,t,a,r){let n=(a??16777215)<<6|(null==r?7:Math.min(6,r));return t<e?Uge.create(t,e,48|n):Uge.create(e,t,(t>e?8:0)|n)}static normalized(t,a=0){let r=t[a];t.sort((e,t)=>e.from-t.from),a=t.indexOf(r);for(let r=1;r<t.length;r++){let n=t[r],o=t[r-1];if(n.empty?n.from<=o.to:n.from<o.to){let i=o.from,s=Math.max(n.to,o.to);r<=a&&a--,t.splice(--r,2,n.anchor>n.head?e.range(s,i):e.range(i,s))}}return new e(t,a)}},Hge=0,Zge=class e{constructor(e,t,a,r,n){this.combine=e,this.compareInput=t,this.compare=a,this.isStatic=r,this.id=Hge++,this.default=e([]),this.extensions="function"==typeof n?n(this):n}get reader(){return this}static define(t={}){return new e(t.combine||(e=>e),t.compareInput||((e,t)=>e===t),t.compare||(t.combine?(e,t)=>e===t:oge),!!t.static,t.enables)}of(e){return new Vge([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new Vge(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new Vge(e,this,2,t)}from(e,t){return t||=e=>e,this.compute([e],a=>t(a.field(e)))}},Vge=class{constructor(e,t,a,r){this.dependencies=e,this.facet=t,this.type=a,this.value=r,this.id=Hge++}dynamicSlot(e){let t=this.value,a=this.facet.compareInput,r=this.id,n=e[r]>>1,o=2==this.type,i=!1,s=!1,l=[];for(let t of this.dependencies)"doc"==t?i=!0:"selection"==t?s=!0:1&(e[t.id]??1)||l.push(e[t.id]);return{create:e=>(e.values[n]=t(e),1),update(e,r){if(i&&r.docChanged||s&&(r.docChanged||r.selection)||sge(e,l)){let r=t(e);if(o?!ige(r,e.values[n],a):!a(r,e.values[n]))return e.values[n]=r,1}return 0},reconfigure:(e,i)=>{let s,l=i.config.address[r];if(null!=l){let r=dge(i,l);if(this.dependencies.every(t=>t instanceof Zge?i.facet(t)===e.facet(t):!(t instanceof qge)||i.field(t,!1)==e.field(t,!1))||(o?ige(s=t(e),r,a):a(s=t(e),r)))return e.values[n]=r,0}else s=t(e);return e.values[n]=s,1}}}},Qge=Zge.define({static:!0}),qge=class e{constructor(e,t,a,r,n){this.id=e,this.createF=t,this.updateF=a,this.compareF=r,this.spec=n,this.provides=void 0}static define(t){let a=new e(Hge++,t.create,t.update,t.compare||((e,t)=>e===t),t);return t.provide&&(a.provides=t.provide(a)),a}create(e){return(e.facet(Qge).find(e=>e.field==this)?.create||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:e=>(e.values[t]=this.create(e),1),update:(e,a)=>{let r=e.values[t],n=this.updateF(r,a);return this.compareF(r,n)?0:(e.values[t]=n,1)},reconfigure:(e,a)=>null==a.config.address[this.id]?(e.values[t]=this.create(e),1):(e.values[t]=a.field(this),0)}}init(e){return[this,Qge.of({field:this,create:e})]}get extension(){return this}},Wge={highest:cge((Fge={lowest:4,low:3,default:2,high:1,highest:0}).highest),high:cge(Fge.high),default:cge(Fge.default),low:cge(Fge.low),lowest:cge(Fge.lowest)},Xge=class{constructor(e,t){this.inner=e,this.prec=t}},Gge=class e{of(e){return new Yge(this,e)}reconfigure(t){return e.reconfigure.of({compartment:this,extension:t})}get(e){return e.config.compartments.get(this)}},Yge=class{constructor(e,t){this.compartment=e,this.inner=t}},Kge=class e{constructor(e,t,a,r,n,o){for(this.base=e,this.compartments=t,this.dynamicSlots=a,this.address=r,this.staticValues=n,this.facets=o,this.statusTemplate=[];this.statusTemplate.length<a.length;)this.statusTemplate.push(0)}staticFacet(e){let t=this.address[e.id];return null==t?e.default:this.staticValues[t>>1]}static resolve(t,a,r){let n=[],o=Object.create(null),i=new Map;for(let e of function(e,t,a){let r=[[],[],[],[],[]],n=new Map;return function e(o,i){let s=n.get(o);if(null!=s){if(s<=i)return;let e=r[s].indexOf(o);e>-1&&r[s].splice(e,1),o instanceof Yge&&a.delete(o.compartment)}if(n.set(o,i),Array.isArray(o))for(let t of o)e(t,i);else if(o instanceof Yge){if(a.has(o.compartment))throw RangeError("Duplicate use of compartment in extensions");let r=t.get(o.compartment)||o.inner;a.set(o.compartment,r),e(r,i)}else if(o instanceof Xge)e(o.inner,o.prec);else if(o instanceof qge)r[i].push(o),o.provides&&e(o.provides,i);else if(o instanceof Vge)r[i].push(o),o.facet.extensions&&e(o.facet.extensions,Fge.default);else{let t=o.extension;if(!t)throw Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);e(t,i)}}(e,Fge.default),r.reduce((e,t)=>e.concat(t))}(t,a,i))e instanceof qge?n.push(e):(o[e.facet.id]||(o[e.facet.id]=[])).push(e);let s=Object.create(null),l=[],c=[];for(let e of n)s[e.id]=c.length<<1,c.push(t=>e.slot(t));let u=r?.config.facets;for(let e in o){let t=o[e],a=t[0].facet,n=u&&u[e]||[];if(t.every(e=>0==e.type))if(s[a.id]=l.length<<1|1,oge(n,t))l.push(r.facet(a));else{let e=a.combine(t.map(e=>e.value));l.push(r&&a.compare(e,r.facet(a))?r.facet(a):e)}else{for(let e of t)0==e.type?(s[e.id]=l.length<<1|1,l.push(e.value)):(s[e.id]=c.length<<1,c.push(t=>e.dynamicSlot(t)));s[a.id]=c.length<<1,c.push(e=>lge(e,a,t))}}return new e(t,i,c.map(e=>e(s)),s,l,o)}},Jge=Zge.define(),eve=Zge.define({combine:e=>e.some(e=>e),static:!0}),tve=Zge.define({combine:e=>e.length?e[0]:void 0,static:!0}),ave=Zge.define(),rve=Zge.define(),nve=Zge.define(),ove=Zge.define({combine:e=>!!e.length&&e[0]}),ive=class{constructor(e,t){this.type=e,this.value=t}static define(){return new sve}},sve=class{of(e){return new ive(this,e)}},lve=class{constructor(e){this.map=e}of(e){return new cve(this,e)}},cve=class e{constructor(e,t){this.type=e,this.value=t}map(t){let a=this.type.map(this.value,t);return void 0===a?void 0:a==this.value?this:new e(this.type,a)}is(e){return this.type==e}static define(e={}){return new lve(e.map||(e=>e))}static mapEffects(e,t){if(!e.length)return e;let a=[];for(let r of e){let e=r.map(t);e&&a.push(e)}return a}},cve.reconfigure=cve.define(),cve.appendConfig=cve.define(),uve=class e{constructor(t,a,r,n,o,i){this.startState=t,this.changes=a,this.selection=r,this.effects=n,this.annotations=o,this.scrollIntoView=i,this._doc=null,this._state=null,r&&nge(r,a.newLength),o.some(t=>t.type==e.time)||(this.annotations=o.concat(e.time.of(Date.now())))}static create(t,a,r,n,o,i){return new e(t,a,r,n,o,i)}get newDoc(){return this._doc||=this.changes.apply(this.startState.doc)}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let a=this.annotation(e.userEvent);return!(!a||!(a==t||a.length>t.length&&a.slice(0,t.length)==t&&"."==a[t.length]))}},uve.time=ive.define(),uve.userEvent=ive.define(),uve.addToHistory=ive.define(),uve.remote=ive.define(),dve=[],pve=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(pve||={}),hve=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{mve=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}fve=class e{constructor(e,t,a,r,n,o){this.config=e,this.doc=t,this.selection=a,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=n,o&&(o._state=this);for(let e=0;e<this.config.dynamicSlots.length;e++)uge(this,e<<1);this.computeSlot=null}field(e,t=!0){let a=this.config.address[e.id];if(null!=a)return uge(this,a),dge(this,a);if(t)throw RangeError("Field is not present in this state")}update(...e){return fge(this,e,!0)}applyTransaction(t){let a,r=this.config,{base:n,compartments:o}=r;for(let e of t.effects)e.is(Gge.reconfigure)?(r&&=(o=new Map,r.compartments.forEach((e,t)=>o.set(t,e)),null),o.set(e.value.compartment,e.value.extension)):e.is(cve.reconfigure)?(r=null,n=e.value):e.is(cve.appendConfig)&&(r=null,n=gge(n).concat(e.value));r?a=t.startState.values.slice():(r=Kge.resolve(n,o,this),a=new e(r,this.doc,this.selection,r.dynamicSlots.map(()=>null),(e,t)=>t.reconfigure(e,this),null).values);let i=t.startState.facet(eve)?t.newSelection:t.newSelection.asSingle();new e(r,t.newDoc,i,a,(e,a)=>a.update(e,t),t)}replaceSelection(e){return"string"==typeof e&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:zge.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,a=e(t.ranges[0]),r=this.changes(a.changes),n=[a.range],o=gge(a.effects);for(let a=1;a<t.ranges.length;a++){let i=e(t.ranges[a]),s=this.changes(i.changes),l=s.map(r);for(let e=0;e<a;e++)n[e]=n[e].map(l);let c=r.mapDesc(s,!0);n.push(i.range.map(c)),r=r.compose(l),o=cve.mapEffects(o,l).concat(cve.mapEffects(gge(i.effects),c))}return{changes:r,selection:zge.create(n,t.mainIndex),effects:o}}changes(t=[]){return t instanceof Bge?t:Bge.of(t,this.doc.length,this.facet(e.lineSeparator))}toText(t){return Ege.of(t.split(this.facet(e.lineSeparator)||Rge))}sliceDoc(e=0,t=this.doc.length){return this.doc.sliceString(e,t,this.lineBreak)}facet(e){let t=this.config.address[e.id];return null==t?e.default:(uge(this,t),dge(this,t))}toJSON(e){let t={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let a in e){let r=e[a];r instanceof qge&&null!=this.config.address[r.id]&&(t[a]=r.spec.toJSON(this.field(e[a]),this))}return t}static fromJSON(t,a={},r){if(!t||"string"!=typeof t.doc)throw RangeError("Invalid JSON representation for EditorState");let n=[];if(r)for(let e in r)if(Object.prototype.hasOwnProperty.call(t,e)){let a=r[e],o=t[e];n.push(a.init(e=>a.spec.fromJSON(o,e)))}return e.create({doc:t.doc,selection:zge.fromJSON(t.selection),extensions:a.extensions?n.concat([a.extensions]):n})}static create(t={}){let a=Kge.resolve(t.extensions||[],new Map),r=t.doc instanceof Ege?t.doc:Ege.of((t.doc||"").split(a.staticFacet(e.lineSeparator)||Rge)),n=t.selection?t.selection instanceof zge?t.selection:zge.single(t.selection.anchor,t.selection.head):zge.single(0);return nge(n,r.length),a.staticFacet(eve)||(n=n.asSingle()),new e(a,r,n,a.dynamicSlots.map(()=>null),(e,t)=>t.create(e),null)}get tabSize(){return this.facet(e.tabSize)}get lineBreak(){return this.facet(e.lineSeparator)||"\n"}get readOnly(){return this.facet(ove)}phrase(t,...a){for(let a of this.facet(e.phrases))if(Object.prototype.hasOwnProperty.call(a,t)){t=a[t];break}return a.length&&(t=t.replace(/\$(\$|\d*)/g,(e,t)=>{if("$"==t)return"$";let r=+(t||1);return!r||r>a.length?e:a[r-1]})),t}languageDataAt(e,t,a=-1){let r=[];for(let n of this.facet(Jge))for(let o of n(this,t,a))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){return vge(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:t,from:a,length:r}=this.doc.lineAt(e),n=this.charCategorizer(e),o=e-a,i=e-a;for(;o>0;){let e=Xfe(t,o,!1);if(n(t.slice(e,o))!=pve.Word)break;o=e}for(;i<r;){let e=Xfe(t,i);if(n(t.slice(i,e))!=pve.Word)break;i=e}return o==i?null:zge.range(o+a,i+a)}},fve.allowMultipleSelections=eve,fve.tabSize=Zge.define({combine:e=>e.length?e[0]:4}),fve.lineSeparator=tve,fve.readOnly=ove,fve.phrases=Zge.define({compare(e,t){let a=Object.keys(e),r=Object.keys(t);return a.length==r.length&&a.every(a=>e[a]==t[a])}}),fve.languageData=Jge,fve.changeFilter=ave,fve.transactionFilter=rve,fve.transactionExtender=nve,Gge.reconfigure=cve.define(),gve=class{eq(e){return this==e}range(e,t=e){return vve.create(e,t,this)}},gve.prototype.startSide=gve.prototype.endSide=0,gve.prototype.point=!1,gve.prototype.mapMode=Dge.TrackDel,vve=class e{constructor(e,t,a){this.from=e,this.to=t,this.value=a}static create(t,a,r){return new e(t,a,r)}},bve=class e{constructor(e,t,a,r){this.from=e,this.to=t,this.value=a,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,t,a,r=0){let n=a?this.to:this.from;for(let o=r,i=n.length;;){if(o==i)return o;let r=o+i>>1,s=n[r]-e||(a?this.value[r].endSide:this.value[r].startSide)-t;if(r==o)return s>=0?o:i;s>=0?i=r:o=r+1}}between(e,t,a,r){for(let n=this.findIndex(t,-1e9,!0),o=this.findIndex(a,1e9,!1,n);n<o;n++)if(!1===r(this.from[n]+e,this.to[n]+e,this.value[n]))return!1}map(t,a){let r=[],n=[],o=[],i=-1,s=-1;for(let e=0;e<this.value.length;e++){let l,c,u=this.value[e],d=this.from[e]+t,p=this.to[e]+t;if(d==p){let e=a.mapPos(d,u.startSide,u.mapMode);if(null==e||(l=c=e,u.startSide!=u.endSide&&(c=a.mapPos(d,u.endSide),c<l)))continue}else if(l=a.mapPos(d,u.startSide),c=a.mapPos(p,u.endSide),l>c||l==c&&u.startSide>0&&u.endSide<=0)continue;(c-l||u.endSide-u.startSide)<0||(i<0&&(i=l),u.point&&(s=Math.max(s,c-l)),r.push(u),n.push(l-i),o.push(c-i))}return{mapped:r.length?new e(n,o,r,s):null,pos:i}}},yve=class e{constructor(e,t,a,r){this.chunkPos=e,this.chunk=t,this.nextLayer=a,this.maxPoint=r}static create(t,a,r,n){return new e(t,a,r,n)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let t of this.chunk)e+=t.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(t){let{add:a=[],sort:r=!1,filterFrom:n=0,filterTo:o=this.length}=t,i=t.filter;if(0==a.length&&!i)return this;if(r&&(a=a.slice().sort(yge)),this.isEmpty)return a.length?e.of(a):this;let s=new xve(this,null,-1).goto(0),l=0,c=[],u=new Ove;for(;s.value||l<a.length;)if(l<a.length&&(s.from-a[l].from||s.startSide-a[l].value.startSide)>=0){let e=a[l++];u.addInner(e.from,e.to,e.value)||c.push(e)}else 1==s.rangeIndex&&s.chunkIndex<this.chunk.length&&(l==a.length||this.chunkEnd(s.chunkIndex)<a[l].from)&&(!i||n>this.chunkEnd(s.chunkIndex)||o<this.chunkPos[s.chunkIndex])&&u.addChunk(this.chunkPos[s.chunkIndex],this.chunk[s.chunkIndex])?s.nextChunk():((!i||n>s.to||o<s.from||i(s.from,s.to,s.value))&&(u.addInner(s.from,s.to,s.value)||c.push(vve.create(s.from,s.to,s.value))),s.next());return u.finishInner(this.nextLayer.isEmpty&&!c.length?e.empty:this.nextLayer.update({add:c,filter:i,filterFrom:n,filterTo:o}))}map(t){if(t.empty||this.isEmpty)return this;let a=[],r=[],n=-1;for(let e=0;e<this.chunk.length;e++){let o=this.chunkPos[e],i=this.chunk[e],s=t.touchesRange(o,o+i.length);if(!1===s)n=Math.max(n,i.maxPoint),a.push(i),r.push(t.mapPos(o));else if(!0===s){let{mapped:e,pos:s}=i.map(o,t);e&&(n=Math.max(n,e.maxPoint),a.push(e),r.push(s))}}let o=this.nextLayer.map(t);return 0==a.length?o:new e(r,a,o||e.empty,n)}between(e,t,a){if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){let n=this.chunkPos[r],o=this.chunk[r];if(t>=n&&e<=n+o.length&&!1===o.between(n,e-n,t-n,a))return}this.nextLayer.between(e,t,a)}}iter(e=0){return wve.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return wve.from(e).goto(t)}static compare(e,t,a,r,n=-1){let o=e.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=n),i=t.filter(e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=n),s=Oge(o,i,a),l=new kve(o,s,n),c=new kve(i,s,n);a.iterGaps((e,t,a)=>wge(l,e,c,t,a,r)),a.empty&&0==a.length&&wge(l,0,c,0,0,r)}static eq(e,t,a=0,r){r??=999999999;let n=e.filter(e=>!e.isEmpty&&t.indexOf(e)<0),o=t.filter(t=>!t.isEmpty&&e.indexOf(t)<0);if(n.length!=o.length)return!1;if(!n.length)return!0;let i=Oge(n,o),s=new kve(n,i,0).goto(a),l=new kve(o,i,0).goto(a);for(;;){if(s.to!=l.to||!kge(s.active,l.active)||s.point&&(!l.point||!s.point.eq(l.point)))return!1;if(s.to>r)return!0;s.next(),l.next()}}static spans(e,t,a,r,n=-1){let o=new kve(e,null,n).goto(t),i=t,s=o.openStart;for(;;){let e=Math.min(o.to,a);if(o.point){let a=o.activeForPoint(o.to),n=o.pointFrom<t?a.length+1:o.point.startSide<0?a.length:Math.min(a.length,s);r.point(i,e,o.point,a,n,o.pointRank),s=Math.min(o.openEnd(e),a.length)}else e>i&&(r.span(i,e,o.active,s),s=o.openEnd(e));if(o.to>a)return s+(o.point&&o.to>a?1:0);i=o.to,o.next()}}static of(e,t=!1){let a=new Ove;for(let r of e instanceof vve?[e]:t?function(e){if(e.length>1)for(let t=e[0],a=1;a<e.length;a++){let r=e[a];if(yge(t,r)>0)return e.slice().sort(yge);t=r}return e}(e):e)a.add(r.from,r.to,r.value);return a.finish()}static join(t){if(!t.length)return e.empty;let a=t[t.length-1];for(let r=t.length-2;r>=0;r--)for(let n=t[r];n!=e.empty;n=n.nextLayer)a=new e(n.chunkPos,n.chunk,a,Math.max(n.maxPoint,a.maxPoint));return a}},yve.empty=new yve([],[],null,-1),yve.empty.nextLayer=yve.empty,Ove=class e{finishChunk(e){this.chunks.push(new bve(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(t,a,r){this.addInner(t,a,r)||(this.nextLayer||=new e).add(t,a,r)}addInner(e,t,a){let r=e-this.lastTo||a.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||a.startSide-this.last.startSide)<0)throw Error("Ranges must be added sorted by `from` position and `startSide`");return!(r<0)&&(250==this.from.length&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(t-this.chunkStart),this.last=a,this.lastFrom=e,this.lastTo=t,this.value.push(a),a.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),!0)}addChunk(e,t){if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),this.chunks.push(t),this.chunkPos.push(e);let a=t.value.length-1;return this.last=t.value[a],this.lastFrom=t.from[a]+e,this.lastTo=t.to[a]+e,!0}finish(){return this.finishInner(yve.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=yve.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}},xve=class{constructor(e,t,a,r=0){this.layer=e,this.skip=t,this.minPoint=a,this.rank=r}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(e,t=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}gotoInner(e,t,a){for(;this.chunkIndex<this.layer.chunk.length;){let t=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break;this.chunkIndex++,a=!1}if(this.chunkIndex<this.layer.chunk.length){let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0);(!a||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,t){(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}{let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex];if(this.from=e+t.from[this.rangeIndex],this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide}},wve=class e{constructor(e){this.heap=e}static from(t,a=null,r=-1){let n=[];for(let e=0;e<t.length;e++)for(let o=t[e];!o.isEmpty;o=o.nextLayer)o.maxPoint>=r&&n.push(new xve(o,a,r,e));return 1==n.length?n[0]:new e(n)}get startSide(){return this.value?this.value.startSide:0}goto(e,t=-1e9){for(let a of this.heap)a.goto(e,t);for(let e=this.heap.length>>1;e>=0;e--)xge(this.heap,e);return this.next(),this}forward(e,t){for(let a of this.heap)a.forward(e,t);for(let e=this.heap.length>>1;e>=0;e--)xge(this.heap,e);(this.to-e||this.value.endSide-t)<0&&this.next()}next(){if(0==this.heap.length)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),xge(this.heap,0)}}},kve=class{constructor(e,t,a){this.minPoint=a,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=wve.from(e,t,a)}goto(e,t=-1e9){return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}forward(e,t){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive);this.cursor.forward(e,t)}removeActive(e){Sge(this.active,e),Sge(this.activeTo,e),Sge(this.activeRank,e),this.minActive=_ge(this.active,this.activeTo)}addActive(e){let t=0,{value:a,to:r,rank:n}=this.cursor;for(;t<this.activeRank.length&&(n-this.activeRank[t]||r-this.activeTo[t])>0;)t++;Age(this.active,t,a),Age(this.activeTo,t,r),Age(this.activeRank,t,n),e&&Age(e,t,this.cursor.from),this.minActive=_ge(this.active,this.activeTo)}next(){let e=this.to,t=this.point;this.point=null;let a=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),a&&Sge(a,r)}else{if(!this.cursor.value){this.to=this.endSide=1e9;break}if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}{let e=this.cursor.value;if(e.point){if(!(t&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)){this.point=e,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=e.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}this.cursor.next()}else this.addActive(a),this.cursor.next()}}}if(a){this.openStart=0;for(let t=a.length-1;t>=0&&a[t]<e;t--)this.openStart++}}activeForPoint(e){if(!this.active.length)return this.active;let t=[];for(let a=this.active.length-1;a>=0&&!(this.activeRank[a]<this.pointRank);a--)(this.activeTo[a]>e||this.activeTo[a]==e&&this.active[a].endSide>=this.point.endSide)&&t.push(this.active[a]);return t.reverse()}openEnd(e){let t=0;for(let a=this.activeTo.length-1;a>=0&&this.activeTo[a]>e;a--)t++;return t}}}),Mve=V(()=>{Sve=typeof Symbol>"u"?"__ͼ":Symbol.for("ͼ"),Ave=typeof Symbol>"u"?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),_ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{},Tve=class{constructor(e,t){this.rules=[];let{finish:a}=t||{};function r(e){return/^@/.test(e)?[e]:e.split(/,\s*/)}function n(e,t,o,i){let s=[],l=/^@(\w+)\b/.exec(e[0]),c=l&&"keyframes"==l[1];if(l&&null==t)return o.push(e[0]+";");for(let a in t){let i=t[a];if(/&/.test(a))n(a.split(/,\s*/).map(t=>e.map(e=>t.replace(/&/,e))).reduce((e,t)=>e.concat(t)),i,o);else if(i&&"object"==typeof i){if(!l)throw RangeError("The value of a property ("+a+") should be a primitive value.");n(r(a),i,s,c)}else null!=i&&s.push(a.replace(/_.*/,"").replace(/[A-Z]/g,e=>"-"+e.toLowerCase())+": "+i+";")}(s.length||c)&&o.push((!a||l||i?e:e.map(a)).join(", ")+" {"+s.join(" ")+"}")}for(let t in e)n(r(t),e[t],this.rules)}getRules(){return this.rules.join("\n")}static newName(){let e=_ve[Sve]||1;return _ve[Sve]=e+1,"ͼ"+e.toString(36)}static mount(e,t,a){let r=e[Ave],n=a&&a.nonce;r?n&&r.setNonce(n):r=new Cve(e,n),r.mount(Array.isArray(t)?t:[t],e)}},Eve=new Map,Cve=class{constructor(e,t){let a=e.ownerDocument||e,r=a.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=Eve.get(a);if(t)return e[Ave]=t;this.sheet=new r.CSSStyleSheet,Eve.set(a,this)}else this.styleTag=a.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[Ave]=this}mount(e,t){let a=this.sheet,r=0,n=0;for(let t=0;t<e.length;t++){let o=e[t],i=this.modules.indexOf(o);if(i<n&&i>-1&&(this.modules.splice(i,1),n--,i=-1),-1==i){if(this.modules.splice(n++,0,o),a)for(let e=0;e<o.rules.length;e++)a.insertRule(o.rules[e],r++)}else{for(;n<i;)r+=this.modules[n++].rules.length;r+=o.rules.length,n++}}if(a)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{let e="";for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n";this.styleTag.textContent=e;let a=t.head||t;this.styleTag.parentNode!=a&&a.insertBefore(this.styleTag,a.firstChild)}}setNonce(e){this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)}}});var $ve,Nve,Ive,Rve,Dve,Lve=V(()=>{for($ve={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Nve={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Ive=typeof navigator<"u"&&/Mac/.test(navigator.platform),Rve=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Dve=0;Dve<10;Dve++)$ve[48+Dve]=$ve[96+Dve]=String(Dve);for(Dve=1;Dve<=24;Dve++)$ve[Dve+111]="F"+Dve;for(Dve=65;Dve<=90;Dve++)$ve[Dve]=String.fromCharCode(Dve+32),Nve[Dve]=String.fromCharCode(Dve);for(var e in $ve)Nve.hasOwnProperty(e)||(Nve[e]=$ve[e])});function Bve(e){let t;return t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e,t.getSelection()}function jve(e,t){return!!t&&(e==t||e.contains(1==t.nodeType?t:t.parentNode))}function Uve(e,t){if(!t.anchorNode)return!1;try{return jve(e,t.anchorNode)}catch{return!1}}function zve(e){return 3==e.nodeType?Yve(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function Hve(e,t,a,r){return!!a&&(Qve(e,t,a,r,-1)||Qve(e,t,a,r,1))}function Zve(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function Vve(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function Qve(e,t,a,r,n){for(;;){if(e==a&&t==r)return!0;if(t==(n<0?0:qve(e))){if("DIV"==e.nodeName)return!1;let a=e.parentNode;if(!a||1!=a.nodeType)return!1;t=Zve(e)+(n<0?0:1),e=a}else{if(1!=e.nodeType)return!1;if(1==(e=e.childNodes[t+(n<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1;t=n<0?qve(e):0}}}function qve(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Fve(e,t){let a=t?e.left:e.right;return{left:a,right:a,top:e.top,bottom:e.bottom}}function Wve(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function Xve(e,t){let a=t.width/e.offsetWidth,r=t.height/e.offsetHeight;return(a>.995&&a<1.005||!isFinite(a)||Math.abs(t.width-e.offsetWidth)<1)&&(a=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.height-e.offsetHeight)<1)&&(r=1),{scaleX:a,scaleY:r}}function Gve(e){if(e.setActive)return e.setActive();if(Mye)return e.focus(Mye);let t=[];for(let a=e;a&&(t.push(a,a.scrollTop,a.scrollLeft),a!=a.ownerDocument);a=a.parentNode);if(e.focus(null==Mye?{get preventScroll(){return Mye={preventScroll:!0},!0}}:void 0),!Mye){Mye=!1;for(let e=0;e<t.length;){let a=t[e++],r=t[e++],n=t[e++];a.scrollTop!=r&&(a.scrollTop=r),a.scrollLeft!=n&&(a.scrollLeft=n)}}}function Yve(e,t,a=t){let r=$ye||=document.createRange();return r.setEnd(e,a),r.setStart(e,t),r}function Kve(e,t,a,r){let n={key:t,code:t,keyCode:a,which:a,cancelable:!0};r&&({altKey:n.altKey,ctrlKey:n.ctrlKey,shiftKey:n.shiftKey,metaKey:n.metaKey}=r);let o=new KeyboardEvent("keydown",n);o.synthetic=!0,e.dispatchEvent(o);let i=new KeyboardEvent("keyup",n);return i.synthetic=!0,e.dispatchEvent(i),o.defaultPrevented||i.defaultPrevented}function Jve(e){for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}function ebe(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function tbe(e,t){for(let a=e,r=t;;){if(3==a.nodeType&&r>0)return{node:a,offset:r};if(1==a.nodeType&&r>0){if("false"==a.contentEditable)return null;a=a.childNodes[r-1],r=qve(a)}else{if(!a.parentNode||Vve(a))return null;r=Zve(a),a=a.parentNode}}}function abe(e,t){for(let a=e,r=t;;){if(3==a.nodeType&&r<a.nodeValue.length)return{node:a,offset:r};if(1==a.nodeType&&r<a.childNodes.length){if("false"==a.contentEditable)return null;a=a.childNodes[r],r=0}else{if(!a.parentNode||Vve(a))return null;r=Zve(a)+1,a=a.parentNode}}}function rbe(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}function nbe(e,t,a,r,n,o,i,s,l){let{children:c}=e,u=c.length?c[t]:null,d=o.length?o[o.length-1]:null,p=d?d.breakAfter:i;if(!(t==r&&u&&!i&&!p&&o.length<2&&u.merge(a,n,o.length?d:null,0==a,s,l))){if(r<c.length){let e=c[r];e&&(n<e.length||e.breakAfter&&d?.breakAfter)?(t==r&&(e=e.split(n),n=0),!p&&d&&e.merge(0,n,d,!0,0,l)?o[o.length-1]=e:((n||e.children.length&&!e.children[0].length)&&e.merge(0,n,null,!1,0,l),o.push(e))):e?.breakAfter&&(d?d.breakAfter=1:i=1),r++}for(u&&(u.breakAfter=i,a>0&&(!i&&o.length&&u.merge(a,u.length,o[0],!1,s,0)?u.breakAfter=o.shift().breakAfter:(a<u.length||u.children.length&&0==u.children[u.children.length-1].length)&&u.merge(a,u.length,null,!1,s,0),t++));t<r&&o.length;)if(c[r-1].become(o[o.length-1]))r--,o.pop(),l=o.length?0:s;else{if(!c[t].become(o[0]))break;t++,o.shift(),s=o.length?0:l}!o.length&&t&&r<c.length&&!c[t-1].breakAfter&&c[r].merge(0,0,c[t-1],!1,s,l)&&t--,(t<r||o.length)&&e.replaceChildren(t,r,o)}}function obe(e,t,a,r,n,o){let i=e.childCursor(),{i:s,off:l}=i.findPos(a,1),{i:c,off:u}=i.findPos(t,-1),d=t-a;for(let e of r)d+=e.length;e.length+=d,nbe(e,c,u,s,l,r,0,n,o)}function ibe(e,t){let a=e.dom,{children:r}=e,n=0;for(let e=0;n<r.length;n++){let o=r[n],i=e+o.length;if(!(i==e&&o.getSide()<=0)){if(t>e&&t<i&&o.dom.parentNode==a)return o.domAtPos(t-e);if(t<=e)break;e=i}}for(let e=n;e>0;e--){let t=r[e-1];if(t.dom.parentNode==a)return t.domAtPos(t.length)}for(let e=n;e<r.length;e++){let t=r[e];if(t.dom.parentNode==a)return t.domAtPos(0)}return new Nye(a,0)}function sbe(e,t,a){let r,{children:n}=e;a>0&&t instanceof Gye&&n.length&&(r=n[n.length-1])instanceof Gye&&r.mark.eq(t.mark)?sbe(r,t.children[0],a-1):(n.push(t),t.setParent(e)),e.length+=t.length}function lbe(e,t,a){let r=null,n=-1,o=null,i=-1;!function e(t,s){for(let l=0,c=0;l<t.children.length&&c<=s;l++){let u=t.children[l],d=c+u.length;d>=s&&(u.children.length?e(u,s-c):(!o||o.isHidden&&a>0)&&(d>s||c==d&&u.getSide()>0)?(o=u,i=s-c):(c<s||c==d&&u.getSide()<0&&!u.isHidden)&&(r=u,n=s-c)),c=d}}(e,t);let s=(a<0?r:o)||r||o;return s?s.coordsAt(Math.max(0,s==r?n:i),a):function(e){let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let a=zve(t);return a[a.length-1]||null}(e)}function cbe(e,t){for(let a in e)"class"==a&&t.class?t.class+=" "+e.class:"style"==a&&t.style?t.style+=";"+e.style:t[a]=e[a];return t}function ube(e,t,a){if(e==t)return!0;e||=Jye,t||=Jye;let r=Object.keys(e),n=Object.keys(t);if(r.length-(a&&r.indexOf(a)>-1?1:0)!=n.length-(a&&n.indexOf(a)>-1?1:0))return!1;for(let o of r)if(o!=a&&(-1==n.indexOf(o)||e[o]!==t[o]))return!1;return!0}function dbe(e,t,a){let r=!1;if(t)for(let n in t)a&&n in a||(r=!0,"style"==n?e.style.cssText="":e.removeAttribute(n));if(a)for(let n in a)t&&t[n]==a[n]||(r=!0,"style"==n?e.style.cssText=a[n]:e.setAttribute(n,a[n]));return r}function pbe(e){let t=Object.create(null);for(let a=0;a<e.attributes.length;a++){let r=e.attributes[a];t[r.name]=r.value}return t}function hbe(e,t=!1){let{inclusiveStart:a,inclusiveEnd:r}=e;return a??=e.inclusive,r??=e.inclusive,{start:a??t,end:r??t}}function mbe(e,t,a,r=0){let n=a.length-1;n>=0&&a[n]+r>=e?a[n]=Math.max(a[n],t):a.push(e,t)}function fbe(e,t){for(let a of t)e=new Gye(a,[e],e.length);return e}function gbe(e){let t=[];for(let a=0;a<e.length;a++)t.push(1<<e[a]);return t}function vbe(e){return e<=247?mOe[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?fOe[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}function bbe(e,t){if(e.length!=t.length)return!1;for(let a=0;a<e.length;a++){let r=e[a],n=t[a];if(r.from!=n.from||r.to!=n.to||r.direction!=n.direction||!bbe(r.inner,n.inner))return!1}return!0}function ybe(e,t,a,r,n,o,i){let s=r%2?2:1;if(r%2==n%2)for(let l=t,c=0;l<a;){let t=!0,u=!1;if(c==o.length||l<o[c].from){let e=OOe[l];e!=s&&(t=!1,u=16==e)}let d=t||1!=s?null:[],p=t?r:r+1,h=l;e:for(;;)if(c<o.length&&h==o[c].from){if(u)break e;let m=o[c];if(!t)for(let e=m.to,t=c+1;;){if(e==a)break e;if(!(t<o.length&&o[t].from==e)){if(OOe[e]==s)break e;break}e=o[t++].to}c++,d?d.push(m):(m.from>l&&i.push(new yOe(l,m.from,p)),Obe(e,m.direction==pOe==!(p%2)?r:r+1,n,m.inner,m.from,m.to,i),l=m.to),h=m.to}else{if(h==a||(t?OOe[h]!=s:OOe[h]==s))break;h++}d?ybe(e,l,h,r+1,n,d,i):l<h&&i.push(new yOe(l,h,p)),l=h}else for(let l=a,c=o.length;l>t;){let a=!0,u=!1;if(!c||l>o[c-1].to){let e=OOe[l-1];e!=s&&(a=!1,u=16==e)}let d=a||1!=s?null:[],p=a?r:r+1,h=l;e:for(;;)if(c&&h==o[c-1].to){if(u)break e;let m=o[--c];if(!a)for(let e=m.from,a=c;;){if(e==t)break e;if(!a||o[a-1].to!=e){if(OOe[e-1]==s)break e;break}e=o[--a].from}d?d.push(m):(m.to<l&&i.push(new yOe(m.to,l,p)),Obe(e,m.direction==pOe==!(p%2)?r:r+1,n,m.inner,m.from,m.to,i),l=m.from),h=m.from}else{if(h==t||(a?OOe[h-1]!=s:OOe[h-1]==s))break;h--}d?ybe(e,h,l,r+1,n,d,i):h<l&&i.push(new yOe(h,l,p)),l=h}}function Obe(e,t,a,r,n,o,i){let s=t%2?2:1;(function(e,t,a,r,n){for(let o=0;o<=r.length;o++){let i=o?r[o-1].to:t,s=o<r.length?r[o].from:a,l=o?256:n;for(let t=i,a=l,r=l;t<s;t++){let n=vbe(e.charCodeAt(t));512==n?n=a:8==n&&4==r&&(n=16),OOe[t]=4==n?2:n,7&n&&(r=n),a=n}for(let e=i,t=l,r=l;e<s;e++){let n=OOe[e];if(128==n)e<s-1&&t==OOe[e+1]&&24&t?n=OOe[e]=t:OOe[e]=256;else if(64==n){let n=e+1;for(;n<s&&64==OOe[n];)n++;let o=e&&8==t||n<a&&8==OOe[n]?1==r?1:8:256;for(let t=e;t<n;t++)OOe[t]=o;e=n-1}else 8==n&&1==r&&(OOe[e]=1);t=n,7&n&&(r=n)}}})(e,n,o,r,s),function(e,t,a,r,n){let o=1==n?2:1;for(let i=0,s=0,l=0;i<=r.length;i++){let c=i?r[i-1].to:t,u=i<r.length?r[i].from:a;for(let t,a,r,i=c;i<u;i++)if(a=gOe[t=e.charCodeAt(i)])if(a<0){for(let e=s-3;e>=0;e-=3)if(vOe[e+1]==-a){let t=vOe[e+2],a=2&t?n:4&t?1&t?o:n:0;a&&(OOe[i]=OOe[vOe[e]]=a),s=e;break}}else{if(189==vOe.length)break;vOe[s++]=i,vOe[s++]=t,vOe[s++]=l}else if(2==(r=OOe[i])||1==r){let e=r==n;l=e?0:1;for(let t=s-3;t>=0;t-=3){let a=vOe[t+2];if(2&a)break;if(e)vOe[t+2]|=2;else{if(4&a)break;vOe[t+2]|=4}}}}}(e,n,o,r,s),function(e,t,a,r){for(let n=0,o=r;n<=a.length;n++){let i=n?a[n-1].to:e,s=n<a.length?a[n].from:t;for(let l=i;l<s;){let i=OOe[l];if(256==i){let i=l+1;for(;;)if(i==s){if(n==a.length)break;i=a[n++].to,s=n<a.length?a[n].from:t}else{if(256!=OOe[i])break;i++}let c=1==o,u=c==(1==(i<t?OOe[i]:r))?c?1:2:r;for(let t=i,r=n,o=r?a[r-1].to:e;t>l;)t==o&&(t=a[--r].from,o=r?a[r-1].to:e),OOe[--t]=u;l=i}else o=i,l++}}}(n,o,r,s),ybe(e,n,o,t,a,r,i)}function xbe(e){return[new yOe(0,e,0)]}function wbe(e,t,a,r,n){let o=r.head-e.from,i=yOe.find(t,o,r.bidiLevel??-1,r.assoc),s=t[i],l=s.side(n,a);if(o==l){let e=i+=n?1:-1;if(e<0||e>=t.length)return null;s=t[i=e],o=s.side(!n,a),l=s.side(n,a)}let c=Xfe(e.text,o,s.forward(n,a));(c<s.from||c>s.to)&&(c=l),xOe=e.text.slice(Math.min(o,c),Math.max(o,c));let u=i==(n?t.length-1:0)?null:t[i+(n?1:-1)];return u&&c==l&&u.level+(n?0:1)<s.level?zge.cursor(u.side(!n,a)+e.from,u.forward(n,a)?1:-1,u.level):zge.cursor(c+e.from,s.forward(n,a)?-1:1,s.level)}function kbe(e,t,a){for(let r=t;r<a;r++){let t=vbe(e.charCodeAt(r));if(1==t)return pOe;if(2==t||4==t)return hOe}return pOe}function Sbe(e,t,a){let r=e.facet(AOe);r.length?r[0](t):window.onerror?window.onerror(String(t),a,void 0,void 0,t):a?console.error(a+":",t):console.error(t)}function Abe(e,t){let a=e.state.facet(FOe);if(!a.length)return a;let r=a.map(t=>t instanceof Function?t(e):t),n=[];return yve.spans(r,t.from,t.to,{point(){},span(e,a,r,o){let i=e-t.from,s=a-t.from,l=n;for(let e=r.length-1;e>=0;e--,o--){let a,n=r[e].spec.bidiIsolate;if(n??=kbe(t.text,i,s),o>0&&l.length&&(a=l[l.length-1]).to==i&&a.direction==n)a.to=s,l=a.inner;else{let e={from:i,to:s,direction:n,inner:[]};l.push(e),l=e.inner}}}}),n}function _be(e){let t=0,a=0,r=0,n=0;for(let o of e.state.facet(WOe)){let i=o(e);i&&(null!=i.left&&(t=Math.max(t,i.left)),null!=i.right&&(a=Math.max(a,i.right)),null!=i.top&&(r=Math.max(r,i.top)),null!=i.bottom&&(n=Math.max(n,i.bottom)))}return{left:t,right:a,top:r,bottom:n}}function Tbe(e,t){let a=e.observer.selectionRange;if(!a.focusNode)return null;let r=tbe(a.focusNode,a.focusOffset),n=abe(a.focusNode,a.focusOffset),o=r||n;if(n&&r&&n.node!=r.node){let t=Rye.get(n.node);if(!t||t instanceof Xye&&t.text!=n.node.nodeValue)o=n;else if(e.docView.lastCompositionAfterCursor){let e=Rye.get(r.node);!e||e instanceof Xye&&e.text!=r.node.nodeValue||(o=n)}}if(e.docView.lastCompositionAfterCursor=o!=r,!o)return null;let i=t-o.offset;return{from:i,to:i+o.node.nodeValue.length,node:o.node}}function Ebe(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}function Cbe(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function Pbe(e,t){return e.top<t.bottom-1&&e.bottom>t.top+1}function Mbe(e,t){return t<e.top?{top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function $be(e,t){return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function Nbe(e,t,a){let r,n,o,i,s,l,c,u,d=!1;for(let p=e.firstChild;p;p=p.nextSibling){let e=zve(p);for(let h=0;h<e.length;h++){let m=e[h];n&&Pbe(n,m)&&(m=Mbe($be(m,n.bottom),n.top));let f=Ebe(t,m),g=Cbe(a,m);if(0==f&&0==g)return 3==p.nodeType?Ibe(p,t,a):Nbe(p,t,a);if(!r||i>g||i==g&&o>f){r=p,n=m,o=f,i=g;let s=g?a<m.top?-1:1:f?t<m.left?-1:1:0;d=!s||(s>0?h<e.length-1:h>0)}0==f?a>m.bottom&&(!c||c.bottom<m.bottom)?(s=p,c=m):a<m.top&&(!u||u.top>m.top)&&(l=p,u=m):c&&Pbe(c,m)?c=$be(c,m.bottom):u&&Pbe(u,m)&&(u=Mbe(u,m.top))}}if(c&&c.bottom>=a?(r=s,n=c):u&&u.top<=a&&(r=l,n=u),!r)return{node:e,offset:0};let p=Math.max(n.left,Math.min(n.right,t));return 3==r.nodeType?Ibe(r,p,a):d&&"false"!=r.contentEditable?Nbe(r,p,a):{node:e,offset:Array.prototype.indexOf.call(e.childNodes,r)+(t>=(n.left+n.right)/2?1:0)}}function Ibe(e,t,a){let r=e.nodeValue.length,n=-1,o=1e9,i=0;for(let s=0;s<r;s++){let r=Yve(e,s,s+1).getClientRects();for(let l=0;l<r.length;l++){let c=r[l];if(c.top==c.bottom)continue;i||=t-c.left;let u=(c.top>a?c.top-a:a-c.bottom)-1;if(c.left-1<=t&&c.right+1>=t&&u<o){let a=t>=(c.left+c.right)/2,r=a;if((Wye.chrome||Wye.gecko)&&Yve(e,s).getBoundingClientRect().left==c.right&&(r=!a),u<=0)return{node:e,offset:s+(r?1:0)};n=s+(r?1:0),o=u}}}return{node:e,offset:n>-1?n:i>0?e.nodeValue.length:0}}function Rbe(e,t,a,r=-1){let n,o=e.contentDOM.getBoundingClientRect(),i=o.top+e.viewState.paddingTop,{docHeight:s}=e.viewState,{x:l,y:c}=t,u=c-i;if(u<0)return 0;if(u>s)return e.state.doc.length;for(let t=e.viewState.heightOracle.textHeight/2,o=!1;n=e.elementAtHeight(u),n.type!=tOe.Text;)for(;u=r>0?n.bottom+t:n.top-t,!(u>=0&&u<=s);){if(o)return a?null:0;o=!0,r=-r}c=i+u;let d=n.from;if(d<e.viewport.from)return 0==e.viewport.from?0:a?null:Dbe(e,o,n,l,c);if(d>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:a?null:Dbe(e,o,n,l,c);let p=e.dom.ownerDocument,h=e.root.elementFromPoint?e.root:p,m=h.elementFromPoint(l,c);m&&!e.contentDOM.contains(m)&&(m=null),m||(l=Math.max(o.left+1,Math.min(o.right-1,l)),m=h.elementFromPoint(l,c),m&&!e.contentDOM.contains(m)&&(m=null));let f,g=-1;if(m&&0!=e.docView.nearest(m)?.isEditable){if(p.caretPositionFromPoint){let e=p.caretPositionFromPoint(l,c);e&&({offsetNode:f,offset:g}=e)}else if(p.caretRangeFromPoint){let t=p.caretRangeFromPoint(l,c);t&&(({startContainer:f,startOffset:g}=t),(!e.contentDOM.contains(f)||Wye.safari&&function(e,t,a){let r;if(3!=e.nodeType||t!=(r=e.nodeValue.length))return!1;for(let t=e.nextSibling;t;t=t.nextSibling)if(1!=t.nodeType||"BR"!=t.nodeName)return!1;return Yve(e,r-1,r).getBoundingClientRect().left>a}(f,g,l)||Wye.chrome&&function(e,t,a){if(0!=t)return!1;for(let t=e;;){let e=t.parentNode;if(!e||1!=e.nodeType||e.firstChild!=t)return!1;if(e.classList.contains("cm-line"))break;t=e}return a-(1==e.nodeType?e.getBoundingClientRect():Yve(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()).left>5}(f,g,l))&&(f=void 0))}f&&(g=Math.min(qve(f),g))}if(!f||!e.docView.dom.contains(f)){let t=iOe.find(e.docView,d);if(!t)return u>n.top+n.height/2?n.to:n.from;({node:f,offset:g}=Nbe(t.dom,l,c))}let v=e.docView.nearest(f);if(!v)return null;if(v.isWidget&&1==v.dom?.nodeType){let e=v.dom.getBoundingClientRect();return t.y<e.top||t.y<=e.bottom&&t.x<=(e.left+e.right)/2?v.posAtStart:v.posAtEnd}return v.localPosFromDOM(f,g)+v.posAtStart}function Dbe(e,t,a,r,n){let o=Math.round((r-t.left)*e.defaultCharacterWidth);if(e.lineWrapping&&a.height>1.5*e.defaultLineHeight){let t=e.viewState.heightOracle.textHeight;o+=Math.floor((n-a.top-.5*(e.defaultLineHeight-t))/t)*e.viewState.heightOracle.lineLength}let i=e.state.sliceDoc(a.from,a.to);return a.from+function(e,t,a,r){for(let r=0,n=0;;){if(n>=t)return r;if(r==e.length)break;n+=9==e.charCodeAt(r)?a-n%a:1,r=Xfe(e,r)}return!0===r?-1:e.length}(i,o,e.state.tabSize)}function Lbe(e,t,a,r){let n=function(e,t){let a=e.lineBlockAt(t);if(Array.isArray(a.type))for(let e of a.type)if(e.to>t||e.to==t&&(e.to==a.to||e.type==tOe.Text))return e;return a}(e,t.head),o=r&&n.type==tOe.Text&&(e.lineWrapping||n.widgetLineBreaks)?e.coordsAtPos(t.assoc<0&&t.head>n.from?t.head-1:t.head):null;if(o){let t=e.dom.getBoundingClientRect(),r=e.textDirectionAt(n.from),i=e.posAtCoords({x:a==(r==dOe.LTR)?t.right-1:t.left+1,y:(o.top+o.bottom)/2});if(null!=i)return zge.cursor(i,a?-1:1)}return zge.cursor(a?n.to:n.from,a?-1:1)}function Bbe(e,t,a,r){let n=e.state.doc.lineAt(t.head),o=e.bidiSpans(n),i=e.textDirectionAt(n.from);for(let s=t,l=null;;){let t=wbe(n,o,i,s,a),c=xOe;if(!t){if(n.number==(a?e.state.doc.lines:1))return s;c="\n",n=e.state.doc.line(n.number+(a?1:-1)),o=e.bidiSpans(n),t=e.visualLineSide(n,!a)}if(l){if(!l(c))return s}else{if(!r)return t;l=r(c)}s=t}}function jbe(e,t,a){for(;;){let r=0;for(let n of e)n.between(t-1,t+1,(e,n,o)=>{if(t>e&&t<n){let o=r||a||(t-e<n-t?-1:1);t=o<0?e:n,r=o}});if(!r)return t}}function Ube(e,t,a){let r=jbe(e.state.facet(qOe).map(t=>t(e)),a.from,t.head>a.from?-1:1);return r==a.from?a:zge.cursor(r,r<a.from?1:-1)}function zbe(e,t,a){for(;;){if(!t||a<qve(t))return!1;if(t==e)return!0;a=Zve(t)+1,t=t.parentNode}}function Hbe(e,t){let a,{newSel:r}=t,n=e.state.selection.main,o=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:r,to:i}=t.bounds,s=n.from,l=null;(8===o||Wye.android&&t.text.length<i-r)&&(s=n.to,l="end");let c=function(e,t,a,r){let n=Math.min(e.length,t.length),o=0;for(;o<n&&e.charCodeAt(o)==t.charCodeAt(o);)o++;if(o==n&&e.length==t.length)return null;let i=e.length,s=t.length;for(;i>0&&s>0&&e.charCodeAt(i-1)==t.charCodeAt(s-1);)i--,s--;if("end"==r){a-=i+Math.max(0,o-Math.min(i,s))-o}if(i<o&&e.length<t.length){o-=a<=o&&a>=i?o-a:0,s=o+(s-i),i=o}else if(s<o){o-=a<=o&&a>=s?o-a:0,i=o+(i-s),s=o}return{from:o,toA:i,toB:s}}(e.state.doc.sliceString(r,i,exe),t.text,s-r,l);c&&(Wye.chrome&&13==o&&c.toB==c.from+2&&t.text.slice(c.from,c.toB)==exe+exe&&c.toB--,a={from:r+c.from,to:r+c.toA,insert:Ege.of(t.text.slice(c.from,c.toB).split(exe))})}else r&&(!e.hasFocus&&e.state.facet(LOe)||r.main.eq(n))&&(r=null);if(!a&&!r)return!1;if(!a&&t.typeOver&&!n.empty&&r&&r.main.empty?a={from:n.from,to:n.to,insert:e.state.doc.slice(n.from,n.to)}:a&&a.from>=n.from&&a.to<=n.to&&(a.from!=n.from||a.to!=n.to)&&n.to-n.from-(a.to-a.from)<=4?a={from:n.from,to:n.to,insert:e.state.doc.slice(n.from,a.from).append(a.insert).append(e.state.doc.slice(a.to,n.to))}:(Wye.mac||Wye.android)&&a&&a.from==a.to&&a.from==n.head-1&&/^\. ?$/.test(a.insert.toString())&&"off"==e.contentDOM.getAttribute("autocorrect")?(r&&2==a.insert.length&&(r=zge.single(r.main.anchor-1,r.main.head-1)),a={from:n.from,to:n.to,insert:Ege.of([" "])}):Wye.chrome&&a&&a.from==a.to&&a.from==n.head&&"\n "==a.insert.toString()&&e.lineWrapping&&(r&&=zge.single(r.main.anchor-1,r.main.head-1),a={from:n.from,to:n.to,insert:Ege.of([" "])}),a)return Zbe(e,a,r,o);if(r&&!r.main.eq(n)){let t=!1,a="select";return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(t=!0),a=e.inputState.lastSelectionOrigin),e.dispatch({selection:r,scrollIntoView:t,userEvent:a}),!0}return!1}function Zbe(e,t,a,r=-1){if(Wye.ios&&e.inputState.flushIOSKey(t))return!0;let n=e.state.selection.main;if(Wye.android&&(t.to==n.to&&(t.from==n.from||t.from==n.from-1&&" "==e.state.sliceDoc(t.from,n.from))&&1==t.insert.length&&2==t.insert.lines&&Kve(e.contentDOM,"Enter",13)||(t.from==n.from-1&&t.to==n.to&&0==t.insert.length||8==r&&t.insert.length<t.to-t.from&&t.to>n.head)&&Kve(e.contentDOM,"Backspace",8)||t.from==n.from&&t.to==n.to+1&&0==t.insert.length&&Kve(e.contentDOM,"Delete",46)))return!0;let o=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let i,s=()=>i||=function(e,t,a){let r,n=e.state,o=n.selection.main;if(t.from>=o.from&&t.to<=o.to&&t.to-t.from>=(o.to-o.from)/3&&(!a||a.main.empty&&a.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let a=o.from<t.from?n.sliceDoc(o.from,t.from):"",i=o.to>t.to?n.sliceDoc(t.to,o.to):"";r=n.replaceSelection(e.state.toText(a+t.insert.sliceString(0,void 0,e.state.lineBreak)+i))}else{let i=n.changes(t),s=a&&a.main.to<=i.newLength?a.main:void 0;if(n.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=o.to&&t.to>=o.to-10){let l,c=e.state.sliceDoc(t.from,t.to),u=a&&Tbe(e,a.main.head);if(u){let e=t.insert.length-(t.to-t.from);l={from:u.from,to:u.to-e}}else l=e.state.doc.lineAt(o.head);let d=o.to-t.to,p=o.to-o.from;r=n.changeByRange(a=>{if(a.from==o.from&&a.to==o.to)return{changes:i,range:s||a.map(i)};let r=a.to-d,u=r-c.length;if(a.to-a.from!=p||e.state.sliceDoc(u,r)!=c||a.to>=l.from&&a.from<=l.to)return{range:a};let h=n.changes({from:u,to:r,insert:t.insert}),m=a.to-o.to;return{changes:h,range:s?zge.range(Math.max(0,s.anchor+m),Math.max(0,s.head+m)):a.map(h)}})}else r={changes:i,selection:s&&n.selection.replaceRange(s)}}let i="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,i+=".compose",e.inputState.compositionFirstChange&&(i+=".start",e.inputState.compositionFirstChange=!1)),n.update(r,{userEvent:i,scrollIntoView:!0})}(e,t,a);return e.state.facet(TOe).some(a=>a(e,t.from,t.to,o,s))||e.dispatch(s()),!0}function Vbe(e,t){return(a,r)=>{try{return t.call(e,r,a)}catch(e){Sbe(a.state,e)}}}function Qbe(e){return.7*Math.max(0,e)+8}function qbe(e,t,a){for(let r of e.facet(t))a=r(a,e);return a}function Fbe(e,t){t=qbe(e.state,COe,t);let a,{state:r}=e,n=1,o=r.toText(t),i=o.lines==r.selection.ranges.length;if(null!=vxe&&r.selection.ranges.every(e=>e.empty)&&vxe==o.toString()){let e=-1;a=r.changeByRange(a=>{let s=r.doc.lineAt(a.from);if(s.from==e)return{range:a};e=s.from;let l=r.toText((i?o.line(n++).text:t)+r.lineBreak);return{changes:{from:s.from,insert:l},range:zge.cursor(a.from+l.length)}})}else a=i?r.changeByRange(e=>{let t=o.line(n++);return{changes:{from:e.from,to:e.to,insert:t.text},range:zge.cursor(e.from+t.length)}}):r.replaceSelection(o);e.dispatch(a,{userEvent:"input.paste",scrollIntoView:!0})}function Wbe(e,t,a,r){if(1==r)return zge.cursor(t,a);if(2==r)return function(e,t,a=1){let r=e.charCategorizer(t),n=e.doc.lineAt(t),o=t-n.from;if(0==n.length)return zge.cursor(t);0==o?a=1:o==n.length&&(a=-1);let i=o,s=o;a<0?i=Xfe(n.text,o,!1):s=Xfe(n.text,o);let l=r(n.text.slice(i,s));for(;i>0;){let e=Xfe(n.text,i,!1);if(r(n.text.slice(e,i))!=l)break;i=e}for(;s<n.length;){let e=Xfe(n.text,s);if(r(n.text.slice(s,e))!=l)break;s=e}return zge.range(i+n.from,s+n.from)}(e.state,t,a);{let a=iOe.find(e.docView,t),r=e.state.doc.lineAt(a?a.posAtEnd:t),n=a?a.posAtStart:r.from,o=a?a.posAtEnd:r.to;return o<e.state.doc.length&&o==r.to&&o++,zge.range(n,o)}}function Xbe(e,t,a,r){let n=iOe.find(e.docView,t);if(!n)return 1;let o=t-n.posAtStart;if(0==o)return 1;if(o==n.length)return-1;let i=n.coordsAt(o,-1);if(i&&pxe(a,r,i))return-1;let s=n.coordsAt(o,1);return s&&pxe(a,r,s)?1:i&&i.bottom>=r?-1:1}function Gbe(e,t){let a=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:a,bias:Xbe(e,a,t.clientX,t.clientY)}}function Ybe(e){if(!hxe)return e.detail;let t=mxe,a=gxe;return mxe=e,gxe=Date.now(),fxe=!t||a>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(fxe+1)%3:1}function Kbe(e,t){let a=Gbe(e,t),r=Ybe(t),n=e.state.selection;return{update(e){e.docChanged&&(a.pos=e.changes.mapPos(a.pos),n=n.map(e.changes))},get(t,o,i){let s,l=Gbe(e,t),c=Wbe(e,l.pos,l.bias,r);if(a.pos!=l.pos&&!o){let t=Wbe(e,a.pos,a.bias,r),n=Math.min(t.from,c.from),o=Math.max(t.to,c.to);c=n<c.from?zge.range(n,o):zge.range(o,n)}return o?n.replaceRange(n.main.extend(c.from,c.to)):i&&1==r&&n.ranges.length>1&&(s=function(e,t){for(let a=0;a<e.ranges.length;a++){let{from:r,to:n}=e.ranges[a];if(r<=t&&n>=t)return zge.create(e.ranges.slice(0,a).concat(e.ranges.slice(a+1)),e.mainIndex==a?0:e.mainIndex-(e.mainIndex>a?1:0))}return null}(n,l.pos))?s:i?n.addRange(c):zge.create([c])}}}function Jbe(e,t,a,r){if(!(a=qbe(e.state,COe,a)))return;let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:o}=e.inputState,i=r&&o&&function(e,t){let a=e.state.facet(kOe);return a.length?a[0](t):Wye.mac?!t.altKey:!t.ctrlKey}(e,t)?{from:o.from,to:o.to}:null,s={from:n,insert:a},l=e.state.changes(i?[i,s]:s);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(n,-1),head:l.mapPos(n,1)},userEvent:i?"move.drop":"input.drop"}),e.inputState.draggedContent=null}function eye(e,t){let a=[];for(let r of e.facet(EOe)){let n=r(e,t);n&&a.push(n)}return a?e.update({effects:a,annotations:bxe.of(!0)}):null}function tye(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let a=eye(e.state,t);a?e.dispatch(a):e.update([])}},10)}function aye(){xxe=!1}function rye(e,t){return e==t?e:(e.constructor!=t.constructor&&(xxe=!0),t)}function nye(e,t){let a,r;null==e[t]&&(a=e[t-1])instanceof Pxe&&(r=e[t+1])instanceof Pxe&&e.splice(t-1,3,new Pxe(a.length+1+r.length))}function oye(e,t){let a=e.getBoundingClientRect(),r=e.ownerDocument,n=r.defaultView||window,o=Math.max(0,a.left),i=Math.min(n.innerWidth,a.right),s=Math.max(0,a.top),l=Math.min(n.innerHeight,a.bottom);for(let t=e.parentNode;t&&t!=r.body;)if(1==t.nodeType){let a=t,r=window.getComputedStyle(a);if((a.scrollHeight>a.clientHeight||a.scrollWidth>a.clientWidth)&&"visible"!=r.overflow){let r=a.getBoundingClientRect();o=Math.max(o,r.left),i=Math.min(i,r.right),s=Math.max(s,r.top),l=Math.min(t==e.parentNode?n.innerHeight:l,r.bottom)}t="absolute"==r.position||"fixed"==r.position?a.offsetParent:a.parentNode}else{if(11!=t.nodeType)break;t=t.host}return{left:o-a.left,right:Math.max(o,i)-a.left,top:s-(a.top+t),bottom:Math.max(s,l)-(a.top+t)}}function iye(e,t){let a=e.getBoundingClientRect();return{left:0,right:a.right-a.left,top:t,bottom:a.bottom-(a.top+t)}}function sye({total:e,ranges:t},a){if(a<=0)return t[0].from;if(a>=1)return t[t.length-1].to;let r=Math.floor(e*a);for(let e=0;;e++){let{from:a,to:n}=t[e],o=n-a;if(r<=o)return a+r;r-=o}}function lye(e,t){let a=0;for(let{from:r,to:n}of e.ranges){if(t<=n){a+=t-r;break}a+=n-r}return a/e.total}function cye(e,t){if(1==t.scale)return e;let a=t.toDOM(e.top),r=t.toDOM(e.bottom);return new Sxe(e.from,e.length,a,r-a,Array.isArray(e._content)?e._content.map(e=>cye(e,t)):e._content)}function uye(e,t,a){return new Tve(t,{finish:t=>/&/.test(t)?t.replace(/&\w*/,t=>{if("&"==t)return e;if(!a||!a[t])throw RangeError(`Unsupported selector: ${t}`);return a[t]}):e+" "+t})}function dye(e,t,a){for(;t;){let r=Rye.get(t);if(r&&r.parent==e)return r;let n=t.parentNode;t=n==e.dom?a>0?t.nextSibling:t.previousSibling:n}return null}function pye(e,t){let a=t.startContainer,r=t.startOffset,n=t.endContainer,o=t.endOffset,i=e.docView.domAtPos(e.state.selection.main.anchor);return Hve(i.node,i.offset,n,o)&&([a,r,n,o]=[n,o,a,r]),{anchorNode:a,anchorOffset:r,focusNode:n,focusOffset:o}}function hye(e,t,a){for(let r=e.state.facet(t),n=r.length-1;n>=0;n--){let t=r[n],o="function"==typeof t?t(e):t;o&&cbe(o,a)}return a}function mye(e,t,a){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),!1!==a&&t.shiftKey&&(e="Shift-"+e),e}function fye(e){let t=e.facet(rwe),a=nwe.get(t);return a||nwe.set(t,a=function(e,t=twe){let a=Object.create(null),r=Object.create(null),n=(e,t)=>{let a=r[e];if(null==a)r[e]=t;else if(a!=t)throw Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")},o=(e,r,o,i,s)=>{let l=a[e]||(a[e]=Object.create(null)),c=r.split(/ (?!$)/).map(e=>function(e,t){let a,r,n,o,i=e.split(/-(?!$)/),s=i[i.length-1];"Space"==s&&(s=" ");for(let e=0;e<i.length-1;++e){let s=i[e];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))a=!0;else if(/^(c|ctrl|control)$/i.test(s))r=!0;else if(/^s(hift)?$/i.test(s))n=!0;else{if(!/^mod$/i.test(s))throw Error("Unrecognized modifier name: "+s);"mac"==t?o=!0:r=!0}}return a&&(s="Alt-"+s),r&&(s="Ctrl-"+s),o&&(s="Meta-"+s),n&&(s="Shift-"+s),s}(e,t));for(let t=1;t<c.length;t++){let a=c.slice(0,t).join(" ");n(a,!0),l[a]||(l[a]={preventDefault:!0,stopPropagation:!1,run:[t=>{let r=owe={view:t,prefix:a,scope:e};return setTimeout(()=>{owe==r&&(owe=null)},iwe),!0}]})}let u=c.join(" ");n(u,!1);let d=l[u]||(l[u]={preventDefault:!1,stopPropagation:!1,run:(l._any?.run)?.slice()||[]});o&&d.run.push(o),i&&(d.preventDefault=!0),s&&(d.stopPropagation=!0)};for(let r of e){let e=r.scope?r.scope.split(" "):["editor"];if(r.any)for(let t of e){let e=a[t]||(a[t]=Object.create(null));e._any||={preventDefault:!1,stopPropagation:!1,run:[]};let{any:n}=r;for(let t in e)e[t].run.push(e=>n(e,swe))}let n=r[t]||r.key;if(n)for(let t of e)o(t,n,r.run,r.preventDefault,r.stopPropagation),r.shift&&o(t,"Shift-"+n,r.shift,r.preventDefault,r.stopPropagation)}return a}(t.reduce((e,t)=>e.concat(t),[]))),a}function gye(e,t,a,r){swe=t;let n=function(e){var t=!(Ive&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Rve&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?Nve:$ve)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}(t),o=Kfe(Gfe(n,0))==n.length&&" "!=n,i="",s=!1,l=!1,c=!1;owe&&owe.view==a&&owe.scope==r&&(i=owe.prefix+" ",sxe.indexOf(t.keyCode)<0&&(l=!0,owe=null));let u,d,p=new Set,h=e=>{if(e){for(let t of e.run)if(!p.has(t)&&(p.add(t),t(a)))return e.stopPropagation&&(c=!0),!0;e.preventDefault&&(e.stopPropagation&&(c=!0),l=!0)}return!1},m=e[r];return m&&(h(m[i+mye(n,t,!o)])?s=!0:o&&(t.altKey||t.metaKey||t.ctrlKey)&&!(Wye.windows&&t.ctrlKey&&t.altKey)&&(u=$ve[t.keyCode])&&u!=n?(h(m[i+mye(u,t,!0)])||t.shiftKey&&(d=Nve[t.keyCode])!=n&&d!=u&&h(m[i+mye(d,t,!1)]))&&(s=!0):o&&t.shiftKey&&h(m[i+mye(n,t,!0)])&&(s=!0),!s&&h(m._any)&&(s=!0)),l&&(s=!0),s&&c&&t.stopPropagation(),swe=null,s}function vye(e,t,a,r,n){t.lastIndex=0;for(let o,i=e.iterRange(a,r),s=a;!i.next().done;s+=i.value.length)if(!i.lineBreak)for(;o=t.exec(i.value);)n(s+o.index,o)}function bye(e={}){return[fwe.of(e),gwe||=UOe.fromClass(class{constructor(e){this.view=e,this.decorations=aOe.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(fwe)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new uwe({regexp:e.specialChars,decoration:(t,a,r)=>{let{doc:n}=a.state,o=Gfe(t[0],0);if(9==o){let e=n.lineAt(r),t=a.state.tabSize,o=Tge(e.text,t,r-e.from);return aOe.replace({widget:new ywe((t-o%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=aOe.replace({widget:new bwe(e,o)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(fwe);e.startState.facet(fwe)==t?this.decorations=this.decorator.updateDeco(e,this.decorations):(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view))}},{decorations:e=>e.decorations})]}function yye(e){let{win:t}=e;return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}function Oye(e,t){let a=parseInt(e.style.left,10);(isNaN(a)||Math.abs(t-a)>1)&&(e.style.left=t+"px")}function xye(e,t={}){let a=cve.define(),r=qge.define({create:()=>[],update(e,r){if(e.length&&(t.hideOnChange&&(r.docChanged||r.selection)?e=[]:t.hideOn&&(e=e.filter(e=>!t.hideOn(r,e))),r.docChanged)){let t=[];for(let a of e){let e=r.changes.mapPos(a.pos,-1,Dge.TrackDel);if(null!=e){let n=Object.assign(Object.create(null),a);n.pos=e,null!=n.end&&(n.end=r.changes.mapPos(n.end)),t.push(n)}}e=t}for(let t of r.effects)t.is(a)&&(e=t.value),t.is(Iwe)&&(e=[]);return e},provide:e=>Cwe.from(e)});return{active:r,extension:[r,UOe.define(n=>new $we(n,e,r,a,t.hoverTime||300)),Mwe]}}function wye(e,t){let a=e.plugin(Awe);if(!a)return null;let r=a.manager.tooltips.indexOf(t);return r<0?null:a.manager.tooltipViews[r]}function kye(e){let t=e.nextSibling;return e.remove(),t}function Sye(e){return[Aye(),Zwe.of(Object.assign(Object.assign({},Hwe),e))]}function Aye(e){let t=[Qwe];return e&&!1===e.fixed&&t.push(Vwe.of(!0)),t}function _ye(e){return Array.isArray(e)?e:[e]}function Tye(e,t,a){for(;e.value&&e.from<=a;)e.from==a&&t.push(e.value),e.next()}function Eye(e,t){return e.state.facet(Ywe).formatNumber(t,e.state)}function Cye(e){let t=9;for(;t<e;)t=10*t+9;return t}var Pye,Mye,$ye,Nye,Iye,Rye,Dye,Lye,Bye,jye,Uye,zye,Hye,Zye,Vye,Qye,qye,Fye,Wye,Xye,Gye,Yye,Kye,Jye,eOe,tOe,aOe,rOe,nOe,oOe,iOe,sOe,lOe,cOe,uOe,dOe,pOe,hOe,mOe,fOe,gOe,vOe,bOe,yOe,OOe,xOe,wOe,kOe,SOe,AOe,_Oe,TOe,EOe,COe,POe,MOe,$Oe,NOe,IOe,ROe,DOe,LOe,BOe,jOe,UOe,zOe,HOe,ZOe,VOe,QOe,qOe,FOe,WOe,XOe,GOe,YOe,KOe,JOe,exe,txe,axe,rxe,nxe,oxe,ixe,sxe,lxe,cxe,uxe,dxe,pxe,hxe,mxe,fxe,gxe,vxe,bxe,yxe,Oxe,xxe,wxe,kxe,Sxe,Axe,_xe,Txe,Exe,Cxe,Pxe,Mxe,$xe,Nxe,Ixe,Rxe,Dxe,Lxe,Bxe,jxe,Uxe,zxe,Hxe,Zxe,Vxe,Qxe,qxe,Fxe,Wxe,Xxe,Gxe,Yxe,Kxe,Jxe,ewe,twe,awe,rwe,nwe,owe,iwe,swe,lwe,cwe,uwe,dwe,pwe,hwe,mwe,fwe,gwe,vwe,bwe,ywe,Owe,xwe,wwe,kwe,Swe,Awe,_we,Twe,Ewe,Cwe,Pwe,Mwe,$we,Nwe,Iwe,Rwe,Dwe,Lwe,Bwe,jwe,Uwe,zwe,Hwe,Zwe,Vwe,Qwe,qwe,Fwe,Wwe,Xwe,Gwe,Ywe,Kwe,Jwe,eke=V(()=>{Pve(),Mve(),Lve(),Pye=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:t,focusNode:a}=e;this.set(t,Math.min(e.anchorOffset,t?qve(t):0),a,Math.min(e.focusOffset,a?qve(a):0))}set(e,t,a,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=a,this.focusOffset=r}},Mye=null,Nye=class e{constructor(e,t,a=!0){this.node=e,this.offset=t,this.precise=a}static before(t,a){return new e(t.parentNode,Zve(t),a)}static after(t,a){return new e(t.parentNode,Zve(t)+1,a)}},Iye=[],Rye=class e{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let t=this.posAtStart;for(let a of this.children){if(a==e)return t;t+=a.length+a.breakAfter}throw RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(t,a){if(2&this.flags){let r,n=this.dom,o=null;for(let i of this.children){if(7&i.flags){if(!i.dom&&(r=o?o.nextSibling:n.firstChild)){let t=e.get(r);(!t||!t.parent&&t.canReuseDOM(i))&&i.reuseDOM(r)}i.sync(t,a),i.flags&=-8}if(r=o?o.nextSibling:n.firstChild,a&&!a.written&&a.node==n&&r!=i.dom&&(a.written=!0),i.dom.parentNode==n)for(;r&&r!=i.dom;)r=rbe(r);else n.insertBefore(i.dom,r);o=i.dom}for(r=o?o.nextSibling:n.firstChild,r&&a&&a.node==n&&(a.written=!0);r;)r=rbe(r)}else if(1&this.flags)for(let e of this.children)7&e.flags&&(e.sync(t,a),e.flags&=-8)}reuseDOM(e){}localPosFromDOM(t,a){let r;if(t==this.dom)r=this.dom.childNodes[a];else{let e=0==qve(t)?0:0==a?-1:1;for(;;){let a=t.parentNode;if(a==this.dom)break;0==e&&a.firstChild!=a.lastChild&&(e=t==a.firstChild?-1:1),t=a}r=e<0?t:t.nextSibling}if(r==this.dom.firstChild)return 0;for(;r&&!e.get(r);)r=r.nextSibling;if(!r)return this.length;for(let e=0,t=0;;e++){let a=this.children[e];if(a.dom==r)return t;t+=a.length+a.breakAfter}}domBoundsAround(e,t,a=0){let r=-1,n=-1,o=-1,i=-1;for(let s=0,l=a,c=a;s<this.children.length;s++){let a=this.children[s],u=l+a.length;if(l<e&&u>t)return a.domBoundsAround(e,t,l);if(u>=e&&-1==r&&(r=s,n=l),l>t&&a.dom.parentNode==this.dom){o=s,i=c;break}c=u,l=u+a.breakAfter}return{from:n,to:i<0?a+this.length:i,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o<this.children.length&&o>=0?this.children[o].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let t=this.parent;t;t=t.parent){if(e&&(t.flags|=2),1&t.flags)return;t.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,7&this.flags&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let t=e.parent;if(!t)return e;e=t}}replaceChildren(e,t,a=Iye){this.markDirty();for(let r=e;r<t;r++){let e=this.children[r];e.parent==this&&a.indexOf(e)<0&&e.destroy()}a.length<250?this.children.splice(e,t-e,...a):this.children=[].concat(this.children.slice(0,e),a,this.children.slice(t));for(let e=0;e<a.length;e++)a[e].setParent(this)}ignoreMutation(e){return!1}ignoreEvent(e){return!1}childCursor(e=this.length){return new Dye(this.children,e,this.children.length)}childPos(e,t=1){return this.childCursor().findPos(e,t)}toString(){let e=this.constructor.name.replace("View","");return e+(this.children.length?"("+this.children.join()+")":this.length?"["+("Text"==e?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(e){return e.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(e,t,a,r,n,o){return!1}become(e){return!1}canReuseDOM(e){return e.constructor==this.constructor&&!(8&(this.flags|e.flags))}getSide(){return 0}destroy(){for(let e of this.children)e.parent==this&&e.destroy();this.parent=null}},Rye.prototype.breakAfter=0,Dye=class{constructor(e,t,a){this.children=e,this.pos=t,this.i=a,this.off=0}findPos(e,t=1){for(;;){if(e>this.pos||e==this.pos&&(t>0||0==this.i||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let a=this.children[--this.i];this.pos-=a.length+a.breakAfter}}},Lye=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},Bye=typeof document<"u"?document:{documentElement:{style:{}}},jye=/Edge\/(\d+)/.exec(Lye.userAgent),Uye=/MSIE \d/.test(Lye.userAgent),zye=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Lye.userAgent),Zye=!(Hye=!!(Uye||zye||jye))&&/gecko\/(\d+)/i.test(Lye.userAgent),Vye=!Hye&&/Chrome\/(\d+)/.exec(Lye.userAgent),Qye="webkitFontSmoothing"in Bye.documentElement.style,qye=!Hye&&/Apple Computer/.test(Lye.vendor),Fye=qye&&(/Mobile\/\w+/.test(Lye.userAgent)||Lye.maxTouchPoints>2),Wye={mac:Fye||/Mac/.test(Lye.platform),windows:/Win/.test(Lye.platform),linux:/Linux|X11/.test(Lye.platform),ie:Hye,ie_version:Uye?Bye.documentMode||6:zye?+zye[1]:jye?+jye[1]:0,gecko:Zye,gecko_version:Zye?+(/Firefox\/(\d+)/.exec(Lye.userAgent)||[0,0])[1]:0,chrome:!!Vye,chrome_version:Vye?+Vye[1]:0,ios:Fye,android:/Android\b/.test(Lye.userAgent),webkit:Qye,safari:qye,webkit_version:Qye?+(/\bAppleWebKit\/(\d+)/.exec(Lye.userAgent)||[0,0])[1]:0,tabSize:null==Bye.documentElement.style.tabSize?"-moz-tab-size":"tab-size"},Xye=class e extends Rye{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,t){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(t&&t.node==this.dom&&(t.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){3==e.nodeType&&this.createDOM(e)}merge(t,a,r){return!(8&this.flags||r&&(!(r instanceof e)||this.length-(a-t)+r.length>256||8&r.flags))&&(this.text=this.text.slice(0,t)+(r?r.text:"")+this.text.slice(a),this.markDirty(),!0)}split(t){let a=new e(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),a.flags|=8&this.flags,a}localPosFromDOM(e,t){return e==this.dom?t:t?this.text.length:0}domAtPos(e){return new Nye(this.dom,e)}domBoundsAround(e,t,a){return{from:a,to:a+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){return function(e,t,a){let r=e.nodeValue.length;t>r&&(t=r);let n=t,o=t,i=0;0==t&&a<0||t==r&&a>=0?Wye.chrome||Wye.gecko||(t?(n--,i=1):o<r&&(o++,i=-1)):a<0?n--:o<r&&o++;let s=Yve(e,n,o).getClientRects();if(!s.length)return null;let l=s[(i?i<0:a>=0)?0:s.length-1];return Wye.safari&&!i&&0==l.width&&(l=Array.prototype.find.call(s,e=>e.width)||l),i?Fve(l,i<0):l||null}(this.dom,e,t)}},Gye=class e extends Rye{constructor(e,t=[],a=0){super(),this.mark=e,this.children=t,this.length=a;for(let e of t)e.setParent(this)}setAttrs(e){if(Jve(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let t in this.mark.attrs)e.setAttribute(t,this.mark.attrs[t]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!(8&(this.flags|e.flags))}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?4&this.flags&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,t)}merge(t,a,r,n,o,i){return(!r||!(!(r instanceof e&&r.mark.eq(this.mark))||t&&o<=0||a<this.length&&i<=0))&&(obe(this,t,a,r?r.children.slice():[],o-1,i-1),this.markDirty(),!0)}split(t){let a=[],r=0,n=-1,o=0;for(let e of this.children){let i=r+e.length;i>t&&a.push(r<t?e.split(t-r):e),n<0&&r>=t&&(n=o),r=i,o++}let i=this.length-t;return this.length=t,n>-1&&(this.children.length=n,this.markDirty()),new e(this.mark,a,i)}domAtPos(e){return ibe(this,e)}coordsAt(e,t){return lbe(this,e,t)}},Yye=class e extends Rye{static create(t,a,r){return new e(t,a,r)}constructor(e,t,a){super(),this.widget=e,this.length=t,this.side=a,this.prevWidget=null}split(t){let a=e.create(this.widget,this.length-t,this.side);return this.length-=t,a}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(t,a,r,n,o,i){return!(r&&(!(r instanceof e&&this.widget.compare(r.widget))||t>0&&o<=0||a<this.length&&i<=0))&&(this.length=t+(r?r.length:0)+(this.length-a),!0)}become(t){return t instanceof e&&t.side==this.side&&this.widget.constructor==t.widget.constructor&&(this.widget.compare(t.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=t.widget,this.length=t.length,!0)}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get overrideDOMText(){if(0==this.length)return Ege.empty;let e=this;for(;e.parent;)e=e.parent;let{view:t}=e,a=t&&t.state.doc,r=this.posAtStart;return a?a.slice(r,r+this.length):Ege.empty}domAtPos(e){return(this.length?0==e:this.side>0)?Nye.before(this.dom):Nye.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,t){let a=this.widget.coordsAt(this.dom,e,t);if(a)return a;let r=this.dom.getClientRects(),n=null;if(!r.length)return null;let o=this.side?this.side<0:e>0;for(let t=o?r.length-1:0;n=r[t],!(e>0?0==t:t==r.length-1||n.top<n.bottom);t+=o?-1:1);return Fve(n,!o)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}},Kye=class e extends Rye{constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}become(t){return t instanceof e&&t.side==this.side}split(){return new e(this.side)}sync(){if(!this.dom){let e=document.createElement("img");e.className="cm-widgetBuffer",e.setAttribute("aria-hidden","true"),this.setDOM(e)}}getSide(){return this.side}domAtPos(e){return this.side>0?Nye.before(this.dom):Nye.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return Ege.empty}get isHidden(){return!0}},Xye.prototype.children=Yye.prototype.children=Kye.prototype.children=Iye,Jye=Object.create(null),eOe=class{eq(e){return!1}updateDOM(e,t){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,t,a){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}},tOe=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(tOe||={}),aOe=class extends gve{constructor(e,t,a,r){super(),this.startSide=e,this.endSide=t,this.widget=a,this.spec=r}get heightRelevant(){return!1}static mark(e){return new rOe(e)}static widget(e){let t=Math.max(-1e4,Math.min(1e4,e.side||0)),a=!!e.block;return t+=a&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,new oOe(e,t,t,a,e.widget||null,!1)}static replace(e){let t,a,r=!!e.block;if(e.isBlockGap)t=-5e8,a=4e8;else{let{start:n,end:o}=hbe(e,r);t=(n?r?-3e8:-1:5e8)-1,a=1+(o?r?2e8:1:-6e8)}return new oOe(e,t,a,r,e.widget||null,!0)}static line(e){return new nOe(e)}static set(e,t=!1){return yve.of(e,t)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}},aOe.none=yve.empty,rOe=class e extends aOe{constructor(e){let{start:t,end:a}=hbe(e);super(t?-1:5e8,a?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(t){return this==t||t instanceof e&&this.tagName==t.tagName&&(this.class||this.attrs?.class)==(t.class||t.attrs?.class)&&ube(this.attrs,t.attrs,"class")}range(e,t=e){if(e>=t)throw RangeError("Mark decorations may not be empty");return super.range(e,t)}},rOe.prototype.point=!1,nOe=class e extends aOe{constructor(e){super(-2e8,-2e8,null,e)}eq(t){return t instanceof e&&this.spec.class==t.spec.class&&ube(this.spec.attributes,t.spec.attributes)}range(e,t=e){if(t!=e)throw RangeError("Line decoration ranges must be zero-length");return super.range(e,t)}},nOe.prototype.mapMode=Dge.TrackBefore,nOe.prototype.point=!0,oOe=class e extends aOe{constructor(e,t,a,r,n,o){super(t,a,n,e),this.block=r,this.isReplace=o,this.mapMode=r?t<=0?Dge.TrackBefore:Dge.TrackAfter:Dge.TrackDel}get type(){return this.startSide==this.endSide?this.startSide<=0?tOe.WidgetBefore:tOe.WidgetAfter:tOe.WidgetRange}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){return t instanceof e&&function(e,t){return e==t||!!(e&&t&&e.compare(t))}(this.widget,t.widget)&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(e,t=e){if(this.isReplace&&(e>t||e==t&&this.startSide>0&&this.endSide<=0))throw RangeError("Invalid range for replacement decoration");if(!this.isReplace&&t!=e)throw RangeError("Widget decorations can only have zero-length ranges");return super.range(e,t)}},oOe.prototype.point=!0,iOe=class e extends Rye{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,a,r,n,o,i){if(r){if(!(r instanceof e))return!1;this.dom||r.transferDOM(this)}return n&&this.setDeco(r?r.attrs:null),obe(this,t,a,r?r.children.slice():[],o,i),!0}split(t){let a=new e;if(a.breakAfter=this.breakAfter,0==this.length)return a;let{i:r,off:n}=this.childPos(t);n&&(a.append(this.children[r].split(n),0),this.children[r].merge(n,this.children[r].length,null,!1,0,0),r++);for(let e=r;e<this.children.length;e++)a.append(this.children[e],0);for(;r>0&&0==this.children[r-1].length;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=t,a}transferDOM(e){this.dom&&=(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=void 0===this.prevAttrs?this.attrs:this.prevAttrs,this.prevAttrs=void 0,null)}setDeco(e){ube(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){sbe(this,e,t)}addLineDeco(e){let t=e.spec.attributes,a=e.spec.class;t&&(this.attrs=cbe(t,this.attrs||{})),a&&(this.attrs=cbe({class:a},this.attrs||{}))}domAtPos(e){return ibe(this,e)}reuseDOM(e){"DIV"==e.nodeName&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?4&this.flags&&(Jve(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),void 0!==this.prevAttrs&&(dbe(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t);let a=this.dom.lastChild;for(;a&&Rye.get(a)instanceof Gye;)a=a.lastChild;if(!(a&&this.length&&("BR"==a.nodeName||0!=Rye.get(a)?.isEditable||Wye.ios&&this.children.some(e=>e instanceof Xye)))){let e=document.createElement("BR");e.cmIgnore=!0,this.dom.appendChild(e)}}measureTextSize(){if(0==this.children.length||this.length>20)return null;let e,t=0;for(let a of this.children){if(!(a instanceof Xye)||/[^ -~]/.test(a.text))return null;let r=zve(a.dom);if(1!=r.length)return null;t+=r[0].width,e=r[0].height}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length,textHeight:e}:null}coordsAt(e,t){let a=lbe(this,e,t);if(!this.children.length&&a&&this.parent){let{heightOracle:e}=this.parent.view.viewState,t=a.bottom-a.top;if(Math.abs(t-e.lineHeight)<2&&e.textHeight<t){let r=(t-e.textHeight)/2;return{top:a.top+r,bottom:a.bottom-r,left:a.left,right:a.left}}}return a}become(t){return t instanceof e&&0==this.children.length&&0==t.children.length&&ube(this.attrs,t.attrs)&&this.breakAfter==t.breakAfter}covers(){return!0}static find(t,a){for(let r=0,n=0;r<t.children.length;r++){let o=t.children[r],i=n+o.length;if(i>=a){if(o instanceof e)return o;if(i>a)break}n=i+o.breakAfter}return null}},sOe=class e extends Rye{constructor(e,t,a){super(),this.widget=e,this.length=t,this.deco=a,this.breakAfter=0,this.prevWidget=null}merge(t,a,r,n,o,i){return!(r&&(!(r instanceof e&&this.widget.compare(r.widget))||t>0&&o<=0||a<this.length&&i<=0))&&(this.length=t+(r?r.length:0)+(this.length-a),!0)}domAtPos(e){return 0==e?Nye.before(this.dom):Nye.after(this.dom,e==this.length)}split(t){let a=this.length-t;this.length=t;let r=new e(this.widget,a,this.deco);return r.breakAfter=this.breakAfter,r}get children(){return Iye}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):Ege.empty}domBoundsAround(){return null}become(t){return t instanceof e&&t.widget.constructor==this.widget.constructor&&(t.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=t.widget,this.length=t.length,this.deco=t.deco,this.breakAfter=t.breakAfter,!0)}ignoreMutation(){return!0}ignoreEvent(e){return this.widget.ignoreEvent(e)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(e,t){return this.widget.coordsAt(this.dom,e,t)||(this.widget instanceof lOe?null:Fve(this.dom.getBoundingClientRect(),this.length?0==e:t<=0))}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(e){let{startSide:t,endSide:a}=this.deco;return t!=a&&(e<0?t<0:a>0)}},lOe=class extends eOe{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}},cOe=class e{constructor(e,t,a,r){this.doc=e,this.pos=t,this.end=a,this.disallowBlockEffectsFor=r,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=t}posCovered(){if(0==this.content.length)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof sOe&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new iOe),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&=(this.curLine.append(fbe(new Kye(-1),e),e.length),0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof sOe)&&this.getLine()}buildText(e,t,a){for(;e>0;){if(this.textOff==this.text.length){let{value:t,lineBreak:a,done:r}=this.cursor.next(this.skip);if(this.skip=0,r)throw Error("Ran out of text content when drawing inline views");if(a){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}this.text=t,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(t.slice(t.length-a)),this.getLine().append(fbe(new Xye(this.text.slice(this.textOff,this.textOff+r)),t),a),this.atCursorPos=!0,this.textOff+=r,e-=r,a=0}}span(e,t,a,r){this.buildText(t-e,a,r),this.pos=t,this.openStart<0&&(this.openStart=r)}point(e,t,a,r,n,o){if(this.disallowBlockEffectsFor[o]&&a instanceof oOe){if(a.block)throw RangeError("Block decorations may not be specified via plugins");if(t>this.doc.lineAt(this.pos).to)throw RangeError("Decorations that replace line breaks may not be specified via plugins")}let i=t-e;if(a instanceof oOe)if(a.block)a.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new sOe(a.widget||uOe.block,i,a));else{let o=Yye.create(a.widget||uOe.inline,i,i?0:a.startSide),s=this.atCursorPos&&!o.isEditable&&n<=r.length&&(e<t||a.startSide>0),l=!o.isEditable&&(e<t||n>r.length||a.startSide<=0),c=this.getLine();2==this.pendingBuffer&&!s&&!o.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),s&&(c.append(fbe(new Kye(1),r),n),n=r.length+Math.max(0,n-r.length)),c.append(fbe(o,r),n),this.atCursorPos=l,this.pendingBuffer=l?e<t||n>r.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(a);i&&(this.textOff+i<=this.text.length?this.textOff+=i:(this.skip+=i-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=t),this.openStart<0&&(this.openStart=n)}static build(t,a,r,n,o){let i=new e(t,a,r,o);return i.openEnd=yve.spans(n,a,r,i),i.openStart<0&&(i.openStart=i.openEnd),i.finish(i.openEnd),i}},uOe=class extends eOe{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}},uOe.inline=new uOe("span"),uOe.block=new uOe("div"),dOe=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(dOe||={}),pOe=dOe.LTR,hOe=dOe.RTL,mOe=gbe("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),fOe=gbe("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),gOe=Object.create(null),vOe=[];for(let e of["()","[]","{}"]){let t=e.charCodeAt(0),a=e.charCodeAt(1);gOe[t]=a,gOe[a]=-t}bOe=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,yOe=class{get dir(){return this.level%2?hOe:pOe}constructor(e,t,a){this.from=e,this.to=t,this.level=a}side(e,t){return this.dir==t==e?this.to:this.from}forward(e,t){return e==(this.dir==t)}static find(e,t,a,r){let n=-1;for(let o=0;o<e.length;o++){let i=e[o];if(i.from<=t&&i.to>=t){if(i.level==a)return o;(n<0||(0==r?e[n].level>i.level:r<0?i.from<t:i.to>t))&&(n=o)}}if(n<0)throw RangeError("Index out of range");return n}},OOe=[],xOe="",wOe=Zge.define(),kOe=Zge.define(),SOe=Zge.define(),AOe=Zge.define(),_Oe=Zge.define(),TOe=Zge.define(),EOe=Zge.define(),COe=Zge.define(),POe=Zge.define(),MOe=Zge.define({combine:e=>e.some(e=>e)}),$Oe=Zge.define({combine:e=>e.some(e=>e)}),NOe=Zge.define(),IOe=class e{constructor(e,t="nearest",a="nearest",r=5,n=5,o=!1){this.range=e,this.y=t,this.x=a,this.yMargin=r,this.xMargin=n,this.isSnapshot=o}map(t){return t.empty?this:new e(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(t){return this.range.to<=t.doc.length?this:new e(zge.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}},ROe=cve.define({map:(e,t)=>e.map(t)}),DOe=cve.define(),LOe=Zge.define({combine:e=>!e.length||e[0]}),BOe=0,jOe=Zge.define(),UOe=class e{constructor(e,t,a,r,n){this.id=e,this.create=t,this.domEventHandlers=a,this.domEventObservers=r,this.extension=n(this)}static define(t,a){let{eventHandlers:r,eventObservers:n,provide:o,decorations:i}=a||{};return new e(BOe++,t,r,n,e=>{let t=[jOe.of(e)];return i&&t.push(VOe.of(t=>{let a=t.plugin(e);return a?i(a):aOe.none})),o&&t.push(o(e)),t})}static fromClass(t,a){return e.define(e=>new t(e),a)}},zOe=class{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let e=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(e)}catch(t){if(Sbe(e.state,t,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(t){Sbe(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){if(this.value?.destroy)try{this.value.destroy()}catch(t){Sbe(e.state,t,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}},HOe=Zge.define(),ZOe=Zge.define(),VOe=Zge.define(),QOe=Zge.define(),qOe=Zge.define(),FOe=Zge.define(),WOe=Zge.define(),XOe=Zge.define(),GOe=class e{constructor(e,t,a,r){this.fromA=e,this.toA=t,this.fromB=a,this.toB=r}join(t){return new e(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(e){let t=e.length,a=this;for(;t>0;t--){let r=e[t-1];if(!(r.fromA>a.toA)){if(r.toA<a.fromA)break;a=a.join(r),e.splice(t-1,1)}}return e.splice(t,0,a),e}static extendWithRanges(t,a){if(0==a.length)return t;let r=[];for(let n=0,o=0,i=0,s=0;;n++){let l=n==t.length?null:t[n],c=i-s,u=l?l.fromB:1e9;for(;o<a.length&&a[o]<u;){let t=a[o],n=a[o+1],i=Math.max(s,t),l=Math.min(u,n);if(i<=l&&new e(i+c,l+c,i,l).addToSet(r),n>u)break;o+=2}if(!l)return r;new e(l.fromA,l.toA,l.fromB,l.toB).addToSet(r),i=l.toA,s=l.toB}}},YOe=class e{constructor(e,t,a){this.view=e,this.state=t,this.transactions=a,this.flags=0,this.startState=e.state,this.changes=Bge.empty(this.startState.doc.length);for(let e of a)this.changes=this.changes.compose(e.changes);let r=[];this.changes.iterChangedRanges((e,t,a,n)=>r.push(new GOe(e,t,a,n))),this.changedRanges=r}static create(t,a,r){return new e(t,a,r)}get viewportChanged(){return(4&this.flags)>0}get heightChanged(){return(2&this.flags)>0}get geometryChanged(){return this.docChanged||(10&this.flags)>0}get focusChanged(){return(1&this.flags)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return 0==this.flags&&0==this.transactions.length}},KOe=class extends Rye{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=aOe.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new iOe],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new GOe(0,0,0,e.state.doc.length)],0,null)}update(e){let t=e.changedRanges;this.minWidth>0&&t.length&&(t.every(({fromA:e,toA:t})=>t<this.minWidthFrom||e>this.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let a=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(this.domChanged?.newSel?a=this.domChanged.newSel.head:!function(e,t){let a=!1;return t&&e.iterChangedRanges((e,r)=>{e<t.to&&r>t.from&&(a=!0)}),a}(e.changes,this.hasComposition)&&!e.selectionSet&&(a=e.state.selection.main.head));let r=a>-1?function(e,t,a){let r=Tbe(e,a);if(!r)return null;let{node:n,from:o,to:i}=r,s=n.nodeValue;if(/[\n\r]/.test(s)||e.state.doc.sliceString(r.from,r.to)!=s)return null;let l=t.invertedDesc,c=new GOe(l.mapPos(o),l.mapPos(i),o,i),u=[];for(let t=n.parentNode;;t=t.parentNode){let a=Rye.get(t);if(a instanceof Gye)u.push({node:t,deco:a.mark});else{if(a instanceof iOe||"DIV"==t.nodeName&&t.parentNode==e.contentDOM)return{range:c,text:n,marks:u,line:t};if(t==e.contentDOM)return null;u.push({node:t,deco:new rOe({inclusive:!0,attributes:pbe(t),tagName:t.tagName.toLowerCase()})})}}}(this.view,e.changes,a):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:a,to:r}=this.hasComposition;t=new GOe(a,r,e.changes.mapPos(a,-1),e.changes.mapPos(r,1)).addToSet(t.slice())}this.hasComposition=r?{from:r.range.fromB,to:r.range.toB}:null,(Wye.ie||Wye.chrome)&&!r&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let n=function(e,t,a){let r=new JOe;return yve.compare(e,t,a,r),r.changes}(this.decorations,this.updateDeco(),e.changes);return t=GOe.extendWithRanges(t,n),!!(7&this.flags||0!=t.length)&&(this.updateInner(t,e.startState.doc.length,r),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,a){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,a);let{observer:r}=this.view;r.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let e=Wye.chrome||Wye.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,e),this.flags&=-8,e&&(e.written||r.selectionRange.focusNode!=e.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(e=>e.flags&=-9);let n=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let e of this.children)e instanceof sOe&&e.widget instanceof lOe&&n.push(e.dom);r.updateGaps(n)}updateChildren(e,t,a){let r=a?a.range.addToSet(e.slice()):e,n=this.childCursor(t);for(let e=r.length-1;;e--){let t=e>=0?r[e]:null;if(!t)break;let o,i,s,l,{fromA:c,toA:u,fromB:d,toB:p}=t;if(a&&a.range.fromB<p&&a.range.toB>d){let e=cOe.build(this.view.state.doc,d,a.range.fromB,this.decorations,this.dynamicDecorationMap),t=cOe.build(this.view.state.doc,a.range.toB,p,this.decorations,this.dynamicDecorationMap);i=e.breakAtStart,s=e.openStart,l=t.openEnd;let r=this.compositionView(a);t.breakAtStart?r.breakAfter=1:t.content.length&&r.merge(r.length,r.length,t.content[0],!1,t.openStart,0)&&(r.breakAfter=t.content[0].breakAfter,t.content.shift()),e.content.length&&r.merge(0,0,e.content[e.content.length-1],!0,0,e.openEnd)&&e.content.pop(),o=e.content.concat(r).concat(t.content)}else({content:o,breakAtStart:i,openStart:s,openEnd:l}=cOe.build(this.view.state.doc,d,p,this.decorations,this.dynamicDecorationMap));let{i:h,off:m}=n.findPos(u,1),{i:f,off:g}=n.findPos(c,-1);nbe(this,f,g,h,m,o,i,s,l)}a&&this.fixCompositionDOM(a)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let t of e.transactions)for(let e of t.effects)e.is(DOe)&&(this.editContextFormatting=e.value)}compositionView(e){let t=new Xye(e.text.nodeValue);t.flags|=8;for(let{deco:a}of e.marks)t=new Gye(a,[t],t.length);let a=new iOe;return a.append(t,0),a}fixCompositionDOM(e){let t=(e,t)=>{t.flags|=8|(t.children.some(e=>7&e.flags)?1:0),this.markedForComposition.add(t);let a=Rye.get(e);a&&a!=t&&(a.dom=null),t.setDOM(e)},a=this.childPos(e.range.fromB,1),r=this.children[a.i];t(e.line,r);for(let n=e.marks.length-1;n>=-1;n--)a=r.childPos(a.off,1),r=r.children[a.i],t(n>=0?e.marks[n].node:e.text,r)}updateSelection(e=!1,t=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let a=this.view.root.activeElement,r=a==this.dom,n=!r&&!(this.view.state.facet(LOe)||this.dom.tabIndex>-1)&&Uve(this.dom,this.view.observer.selectionRange)&&!(a&&this.dom.contains(a));if(!(r||t||n))return;let o=this.forceSelection;this.forceSelection=!1;let i=this.view.state.selection.main,s=this.moveToLine(this.domAtPos(i.anchor)),l=i.empty?s:this.moveToLine(this.domAtPos(i.head));if(Wye.gecko&&i.empty&&!this.hasComposition&&function(e){return 1==e.node.nodeType&&e.node.firstChild&&(0==e.offset||"false"==e.node.childNodes[e.offset-1].contentEditable)&&(e.offset==e.node.childNodes.length||"false"==e.node.childNodes[e.offset].contentEditable)}(s)){let e=document.createTextNode("");this.view.observer.ignore(()=>s.node.insertBefore(e,s.node.childNodes[s.offset]||null)),s=l=new Nye(e,0),o=!0}let c=this.view.observer.selectionRange;(o||!c.focusNode||(!Hve(s.node,s.offset,c.anchorNode,c.anchorOffset)||!Hve(l.node,l.offset,c.focusNode,c.focusOffset))&&!this.suppressWidgetCursorChange(c,i))&&(this.view.observer.ignore(()=>{Wye.android&&Wye.chrome&&this.dom.contains(c.focusNode)&&function(e,t){for(let a=e;a&&a!=t;a=a.assignedSlot||a.parentNode)if(1==a.nodeType&&"false"==a.contentEditable)return!0;return!1}(c.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let e=Bve(this.view.root);if(e)if(i.empty){if(Wye.gecko){let e=function(e,t){return 1==e.nodeType?(t&&"false"==e.childNodes[t-1].contentEditable?1:0)|(t<e.childNodes.length&&"false"==e.childNodes[t].contentEditable?2:0):0}(s.node,s.offset);if(e&&3!=e){let t=(1==e?tbe:abe)(s.node,s.offset);t&&(s=new Nye(t.node,t.offset))}}e.collapse(s.node,s.offset),null!=i.bidiLevel&&void 0!==e.caretBidiLevel&&(e.caretBidiLevel=i.bidiLevel)}else if(e.extend){e.collapse(s.node,s.offset);try{e.extend(l.node,l.offset)}catch{}}else{let t=document.createRange();i.anchor>i.head&&([s,l]=[l,s]),t.setEnd(l.node,l.offset),t.setStart(s.node,s.offset),e.removeAllRanges(),e.addRange(t)}n&&this.view.root.activeElement==this.dom&&(this.dom.blur(),a&&a.focus())}),this.view.observer.setSelectionRange(s,l)),this.impreciseAnchor=s.precise?null:new Nye(c.anchorNode,c.anchorOffset),this.impreciseHead=l.precise?null:new Nye(c.focusNode,c.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&Hve(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==t.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,t=e.state.selection.main,a=Bve(e.root),{anchorNode:r,anchorOffset:n}=e.observer.selectionRange;if(!(a&&t.empty&&t.assoc&&a.modify))return;let o=iOe.find(this,t.head);if(!o)return;let i=o.posAtStart;if(t.head==i||t.head==i+o.length)return;let s=this.coordsAt(t.head,-1),l=this.coordsAt(t.head,1);if(!s||!l||s.bottom>l.top)return;let c=this.domAtPos(t.head+t.assoc);a.collapse(c.node,c.offset),a.modify("move",t.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let u=e.observer.selectionRange;e.docView.posFromDOM(u.anchorNode,u.anchorOffset)!=t.from&&a.collapse(r,n)}moveToLine(e){let t,a=this.dom;if(e.node!=a)return e;for(let r=e.offset;!t&&r<a.childNodes.length;r++){let e=Rye.get(a.childNodes[r]);e instanceof iOe&&(t=e.domAtPos(0))}for(let r=e.offset-1;!t&&r>=0;r--){let e=Rye.get(a.childNodes[r]);e instanceof iOe&&(t=e.domAtPos(e.length))}return t?new Nye(t.node,t.offset,!0):e}nearest(e){for(let t=e;t;){let e=Rye.get(t);if(e&&e.rootView==this)return e;t=t.parentNode}return null}posFromDOM(e,t){let a=this.nearest(e);if(!a)throw RangeError("Trying to find position for a DOM position outside of the document");return a.localPosFromDOM(e,t)+a.posAtStart}domAtPos(e){let{i:t,off:a}=this.childCursor().findPos(e,-1);for(;t<this.children.length-1;){let e=this.children[t];if(a<e.length||e instanceof iOe)break;t++,a=0}return this.children[t].domAtPos(a)}coordsAt(e,t){let a=null,r=0;for(let n=this.length,o=this.children.length-1;o>=0;o--){let i=this.children[o],s=n-i.breakAfter,l=s-i.length;if(s<e)break;if(l<=e&&(l<e||i.covers(-1))&&(s>e||i.covers(1))&&(!a||i instanceof iOe&&!(a instanceof iOe&&t>=0)))a=i,r=l;else if(a&&l==e&&s==e&&i instanceof sOe&&Math.abs(t)<2){if(i.deco.startSide<0)break;o&&(a=null)}n=l}return a?a.coordsAt(e-r,t):null}coordsForChar(e){let{i:t,off:a}=this.childPos(e,1),r=this.children[t];if(!(r instanceof iOe))return null;for(;r.children.length;){let{i:e,off:t}=r.childPos(a,1);for(;;e++){if(e==r.children.length)return null;if((r=r.children[e]).length)break}a=t}if(!(r instanceof Xye))return null;let n=Xfe(r.text,a);if(n==a)return null;let o=Yve(r.dom,a,n).getClientRects();for(let e=0;e<o.length;e++){let t=o[e];if(e==o.length-1||t.top<t.bottom&&t.left<t.right)return t}return null}measureVisibleLineHeights(e){let t=[],{from:a,to:r}=e,n=this.view.contentDOM.clientWidth,o=n>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,i=-1,s=this.view.textDirection==dOe.LTR;for(let e=0,l=0;l<this.children.length;l++){let c=this.children[l],u=e+c.length;if(u>r)break;if(e>=a){let a=c.dom.getBoundingClientRect();if(t.push(a.height),o){let t=c.dom.lastChild,r=t?zve(t):[];if(r.length){let t=r[r.length-1],o=s?t.right-a.left:a.right-t.left;o>i&&(i=o,this.minWidth=n,this.minWidthFrom=e,this.minWidthTo=u)}}}e=u+c.breakAfter}return t}textDirectionAt(e){let{i:t}=this.childPos(e,1);return"rtl"==getComputedStyle(this.children[t].dom).direction?dOe.RTL:dOe.LTR}measureTextSize(){for(let e of this.children)if(e instanceof iOe){let t=e.measureTextSize();if(t)return t}let e,t,a,r=document.createElement("div");return r.className="cm-line",r.style.width="99999px",r.style.position="absolute",r.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(r);let n=zve(r.firstChild)[0];e=r.getBoundingClientRect().height,t=n?n.width/27:7,a=n?n.height:e,r.remove()}),{lineHeight:e,charWidth:t,textHeight:a}}childCursor(e=this.length){let t=this.children.length;return t&&(e-=this.children[--t].length),new Dye(this.children,e,t)}computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let a=0,r=0;;r++){let n=r==t.viewports.length?null:t.viewports[r],o=n?n.from-1:this.length;if(o>a){let r=(t.lineBlockAt(o).bottom-t.lineBlockAt(a).top)/this.view.scaleY;e.push(aOe.replace({widget:new lOe(r),block:!0,inclusive:!0,isBlockGap:!0}).range(a,o))}if(!n)break;a=n.to+1}return aOe.set(e)}updateDeco(){let e=1,t=this.view.state.facet(VOe).map(t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t),a=!1,r=this.view.state.facet(QOe).map((e,t)=>{let r="function"==typeof e;return r&&(a=!0),r?e(this.view):e});for(r.length&&(this.dynamicDecorationMap[e++]=a,t.push(yve.join(r))),this.decorations=[this.editContextFormatting,...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e<this.decorations.length;)this.dynamicDecorationMap[e++]=!1;return this.decorations}scrollIntoView(e){if(e.isSnapshot){let t=this.view.viewState.lineBlockAt(e.range.head);return this.view.scrollDOM.scrollTop=t.top-e.yMargin,void(this.view.scrollDOM.scrollLeft=e.xMargin)}for(let t of this.view.state.facet(NOe))try{if(t(this.view,e.range,e))return!0}catch(e){Sbe(this.view.state,e,"scroll handler")}let t,{range:a}=e,r=this.coordsAt(a.head,a.empty?a.assoc:a.head>a.anchor?-1:1);if(!r)return;!a.empty&&(t=this.coordsAt(a.anchor,a.anchor>a.head?-1:1))&&(r={left:Math.min(r.left,t.left),top:Math.min(r.top,t.top),right:Math.max(r.right,t.right),bottom:Math.max(r.bottom,t.bottom)});let n=_be(this.view),o={left:r.left-n.left,top:r.top-n.top,right:r.right+n.right,bottom:r.bottom+n.bottom},{offsetWidth:i,offsetHeight:s}=this.view.scrollDOM;!function(e,t,a,r,n,o,i,s){let l=e.ownerDocument,c=l.defaultView||window;for(let u=e,d=!1;u&&!d;)if(1==u.nodeType){let e,p=u==l.body,h=1,m=1;if(p)e=Wve(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let t=u.getBoundingClientRect();({scaleX:h,scaleY:m}=Xve(u,t)),e={left:t.left,right:t.left+u.clientWidth*h,top:t.top,bottom:t.top+u.clientHeight*m}}let f=0,g=0;if("nearest"==n)t.top<e.top?(g=-(e.top-t.top+i),a>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+g+i)):t.bottom>e.bottom&&(g=t.bottom-e.bottom+i,a<0&&t.top-g<e.top&&(g=-(e.top+g-t.top+i)));else{let r=t.bottom-t.top,o=e.bottom-e.top;g=("center"==n&&r<=o?t.top+r/2-o/2:"start"==n||"center"==n&&a<0?t.top-i:t.bottom-o+i)-e.top}if("nearest"==r?t.left<e.left?(f=-(e.left-t.left+o),a>0&&t.right>e.right+f&&(f=t.right-e.right+f+o)):t.right>e.right&&(f=t.right-e.right+o,a<0&&t.left<e.left+f&&(f=-(e.left+f-t.left+o))):f=("center"==r?t.left+(t.right-t.left)/2-(e.right-e.left)/2:"start"==r==s?t.left-o:t.right-(e.right-e.left)+o)-e.left,f||g)if(p)c.scrollBy(f,g);else{let e=0,a=0;if(g){let e=u.scrollTop;u.scrollTop+=g/m,a=(u.scrollTop-e)*m}if(f){let t=u.scrollLeft;u.scrollLeft+=f/h,e=(u.scrollLeft-t)*h}t={left:t.left-e,top:t.top-a,right:t.right-e,bottom:t.bottom-a},e&&Math.abs(e-f)<1&&(r="nearest"),a&&Math.abs(a-g)<1&&(n="nearest")}if(p)break;u=u.assignedSlot||u.parentNode}else{if(11!=u.nodeType)break;u=u.host}}(this.view.scrollDOM,o,a.head<a.anchor?-1:1,e.x,e.y,Math.max(Math.min(e.xMargin,i),-i),Math.max(Math.min(e.yMargin,s),-s),this.view.textDirection==dOe.LTR)}},JOe=class{constructor(){this.changes=[]}compareRange(e,t){mbe(e,t,this.changes)}comparePoint(e,t){mbe(e,t,this.changes)}boundChange(e){mbe(e,e,this.changes)}},exe="￿",txe=class{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(fve.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=exe}readRange(e,t){if(!e)return this;let a=e.parentNode;for(let r=e;;){this.findPointBefore(a,r);let e=this.text.length;this.readNode(r);let n=r.nextSibling;if(n==t)break;let o=Rye.get(r),i=Rye.get(n);(o&&i?o.breakAfter:(o?o.breakAfter:Vve(r))||Vve(n)&&("BR"!=r.nodeName||r.cmIgnore)&&this.text.length>e)&&this.lineBreak(),r=n}return this.findPointBefore(a,t),this}readTextNode(e){let t=e.nodeValue;for(let a of this.points)a.node==e&&(a.pos=this.text.length+Math.min(a.offset,t.length));for(let a=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let n,o=-1,i=1;if(this.lineSeparator?(o=t.indexOf(this.lineSeparator,a),i=this.lineSeparator.length):(n=r.exec(t))&&(o=n.index,i=n[0].length),this.append(t.slice(a,o<0?t.length:o)),o<0)break;if(this.lineBreak(),i>1)for(let t of this.points)t.node==e&&t.pos>this.text.length&&(t.pos-=i-1);a=o+i}}readNode(e){if(e.cmIgnore)return;let t=Rye.get(e),a=t&&t.overrideDOMText;if(null!=a){this.findPointInside(e,a.length);for(let e=a.iter();!e.next().done;)e.lineBreak?this.lineBreak():this.append(e.value)}else 3==e.nodeType?this.readTextNode(e):"BR"==e.nodeName?e.nextSibling&&this.lineBreak():1==e.nodeType&&this.readRange(e.firstChild,null)}findPointBefore(e,t){for(let a of this.points)a.node==e&&e.childNodes[a.offset]==t&&(a.pos=this.text.length)}findPointInside(e,t){for(let a of this.points)(3==e.nodeType?a.node==e:e.contains(a.node))&&(a.pos=this.text.length+(zbe(e,a.node,a.offset)?t:0))}},axe=class{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}},rxe=class{constructor(e,t,a,r){this.typeOver=r,this.bounds=null,this.text="",this.domChanged=t>-1;let{impreciseHead:n,impreciseAnchor:o}=e.docView;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,a,0))){let t=n||o?[]:function(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:a,anchorOffset:r,focusNode:n,focusOffset:o}=e.observer.selectionRange;return a&&(t.push(new axe(a,r)),(n!=a||o!=r)&&t.push(new axe(n,o))),t}(e),a=new txe(t,e.state);a.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=a.text,this.newSel=function(e,t){if(0==e.length)return null;let a=e[0].pos,r=2==e.length?e[1].pos:a;return a>-1&&r>-1?zge.single(a+t,r+t):null}(t,this.bounds.from)}else{let t=e.observer.selectionRange,a=n&&n.node==t.focusNode&&n.offset==t.focusOffset||!jve(e.contentDOM,t.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),r=o&&o.node==t.anchorNode&&o.offset==t.anchorOffset||!jve(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),i=e.viewport;if((Wye.ios||Wye.chrome)&&e.state.selection.main.empty&&a!=r&&(i.from>0||i.to<e.state.doc.length)){let t=Math.min(a,r),n=Math.max(a,r),o=i.from-t,s=i.to-n;(0==o||1==o||0==t)&&(0==s||-1==s||n==e.state.doc.length)&&(a=0,r=e.state.doc.length)}this.newSel=zge.single(r,a)}}},nxe=class{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,Wye.safari&&e.contentDOM.addEventListener("input",()=>null),Wye.gecko&&function(e){yxe.has(e)||(yxe.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{}))}(e.contentDOM.ownerDocument)}handleEvent(e){!function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let a,r=t.target;r!=e.contentDOM;r=r.parentNode)if(!r||11==r.nodeType||(a=Rye.get(r))&&a.ignoreEvent(t))return!1;return!0}(this.view,e)||this.ignoreDuringComposition(e)||"keydown"==e.type&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,t){let a=this.handlers[e];if(a){for(let e of a.observers)e(this.view,t);for(let e of a.handlers){if(t.defaultPrevented)break;if(e(this.view,t)){t.preventDefault();break}}}}ensureHandlers(e){let t=function(e){let t=Object.create(null);function a(e){return t[e]||(t[e]={observers:[],handlers:[]})}for(let t of e){let e=t.spec;if(e&&e.domEventHandlers)for(let r in e.domEventHandlers){let n=e.domEventHandlers[r];n&&a(r).handlers.push(Vbe(t.value,n))}if(e&&e.domEventObservers)for(let r in e.domEventObservers){let n=e.domEventObservers[r];n&&a(r).observers.push(Vbe(t.value,n))}}for(let e in cxe)a(e).handlers.push(cxe[e]);for(let e in uxe)a(e).observers.push(uxe[e]);return t}(e),a=this.handlers,r=this.view.contentDOM;for(let e in t)if("scroll"!=e){let n=!t[e].handlers.length,o=a[e];o&&n!=!o.handlers.length&&(r.removeEventListener(e,this.handleEvent),o=null),o||r.addEventListener(e,this.handleEvent,{passive:n})}for(let e in a)"scroll"!=e&&!t[e]&&r.removeEventListener(e,this.handleEvent);this.handlers=t}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),9==e.keyCode&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&27!=e.keyCode&&sxe.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),Wye.android&&Wye.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let t;return!Wye.ios||e.synthetic||e.altKey||e.metaKey||!((t=oxe.find(t=>t.keyCode==e.keyCode))&&!e.ctrlKey||ixe.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(229!=e.keyCode&&this.view.observer.forceFlush(),!1):(this.pendingIOSKey=t||e,setTimeout(()=>this.flushIOSKey(),250),!0)}flushIOSKey(e){let t=this.pendingIOSKey;return!(!t||"Enter"==t.key&&e&&e.from<e.to&&/^\S+$/.test(e.insert.toString()))&&(this.pendingIOSKey=void 0,Kve(this.view.contentDOM,t.key,t.keyCode,t instanceof KeyboardEvent?t:void 0))}ignoreDuringComposition(e){return!!/^key/.test(e.type)&&(this.composing>0||!!(Wye.safari&&!Wye.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100)&&(this.compositionPendingKey=!1,!0))}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}},oxe=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],ixe="dthko",sxe=[16,17,18,20,91,92,224,225],lxe=class{constructor(e,t,a,r){this.view=e,this.startEvent=t,this.style=a,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=function(e){let t,a,r=e.ownerDocument;for(let n=e.parentNode;n&&!(n==r.body||t&&a);)if(1==n.nodeType)!a&&n.scrollHeight>n.clientHeight&&(a=n),!t&&n.scrollWidth>n.clientWidth&&(t=n),n=n.assignedSlot||n.parentNode;else{if(11!=n.nodeType)break;n=n.host}return{x:t,y:a}}(e.contentDOM),this.atoms=e.state.facet(qOe).map(t=>t(e));let n=e.contentDOM.ownerDocument;n.addEventListener("mousemove",this.move=this.move.bind(this)),n.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,this.multiple=e.state.facet(fve.allowMultipleSelections)&&function(e,t){let a=e.state.facet(wOe);return a.length?a[0](t):Wye.mac?t.metaKey:t.ctrlKey}(e,t),this.dragging=!(!function(e,t){let{main:a}=e.state.selection;if(a.empty)return!1;let r=Bve(e.root);if(!r||0==r.rangeCount)return!0;let n=r.getRangeAt(0).getClientRects();for(let e=0;e<n.length;e++){let a=n[e];if(a.left<=t.clientX&&a.right>=t.clientX&&a.top<=t.clientY&&a.bottom>=t.clientY)return!0}return!1}(e,t)||1!=Ybe(t))&&null}start(e){!1===this.dragging&&this.select(e)}move(e){if(0==e.buttons)return this.destroy();if(this.dragging||null==this.dragging&&function(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let t=0,a=0,r=0,n=0,o=this.view.win.innerWidth,i=this.view.win.innerHeight;this.scrollParents.x&&({left:r,right:o}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:n,bottom:i}=this.scrollParents.y.getBoundingClientRect());let s=_be(this.view);e.clientX-s.left<=r+6?t=-Qbe(r-e.clientX):e.clientX+s.right>=o-6&&(t=Qbe(e.clientX-o)),e.clientY-s.top<=n+6?a=-Qbe(n-e.clientY):e.clientY+s.bottom>=i-6&&(a=Qbe(e.clientY-i)),this.setScrollSpeed(t,a)}up(e){this.dragging??this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,t){this.scrollSpeed={x:e,y:t},e||t?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:t}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),t&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=t,t=0),(e||t)&&this.view.win.scrollBy(e,t),!1===this.dragging&&this.select(this.lastEvent)}skipAtoms(e){let t=null;for(let a=0;a<e.ranges.length;a++){let r=e.ranges[a],n=null;if(r.empty){let e=jbe(this.atoms,r.from,0);e!=r.from&&(n=zge.cursor(e,-1))}else{let e=jbe(this.atoms,r.from,-1),t=jbe(this.atoms,r.to,1);(e!=r.from||t!=r.to)&&(n=zge.range(r.from==r.anchor?e:t,r.from==r.head?e:t))}n&&(t||=e.ranges.slice(),t[a]=n)}return t?zge.create(t,e.mainIndex):e}select(e){let{view:t}=this,a=this.skipAtoms(this.style.get(e,this.extend,this.multiple));(this.mustSelect||!a.eq(t.state.selection,!1===this.dragging))&&this.view.dispatch({selection:a,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){e.transactions.some(e=>e.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}},cxe=Object.create(null),uxe=Object.create(null),dxe=Wye.ie&&Wye.ie_version<15||Wye.ios&&Wye.webkit_version<604,uxe.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft},cxe.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),!1),uxe.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")},uxe.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")},cxe.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let a=null;for(let r of e.state.facet(SOe))if(a=r(e,t),a)break;if(!a&&0==t.button&&(a=Kbe(e,t)),a){let r=!e.hasFocus;e.inputState.startMouseSelection(new lxe(e,t,a,r)),r&&e.observer.ignore(()=>{Gve(e.contentDOM);let t=e.root.activeElement;t&&!t.contains(e.contentDOM)&&t.blur()});let n=e.inputState.mouseSelection;if(n)return n.start(t),!1===n.dragging}return!1},pxe=(e,t,a)=>t>=a.top&&t<=a.bottom&&e>=a.left&&e<=a.right,hxe=Wye.ie&&Wye.ie_version<=11,mxe=null,fxe=0,gxe=0,cxe.dragstart=(e,t)=>{let{selection:{main:a}}=e.state;if(t.target.draggable){let r=e.docView.nearest(t.target);if(r&&r.isWidget){let e=r.posAtStart,t=e+r.length;(e>=a.to||t<=a.from)&&(a=zge.range(e,t))}}let{inputState:r}=e;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=a,t.dataTransfer&&(t.dataTransfer.setData("Text",qbe(e.state,POe,e.state.sliceDoc(a.from,a.to))),t.dataTransfer.effectAllowed="copyMove"),!1},cxe.dragend=e=>(e.inputState.draggedContent=null,!1),cxe.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let a=t.dataTransfer.files;if(a&&a.length){let r=Array(a.length),n=0,o=()=>{++n==a.length&&Jbe(e,t,r.filter(e=>null!=e).join(e.state.lineBreak),!1)};for(let e=0;e<a.length;e++){let t=new FileReader;t.onerror=o,t.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(r[e]=t.result),o()},t.readAsText(a[e])}return!0}{let a=t.dataTransfer.getData("Text");if(a)return Jbe(e,t,a,!0),!0}return!1},cxe.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let a=dxe?null:t.clipboardData;return a?(Fbe(e,a.getData("text/plain")||a.getData("text/uri-list")),!0):(function(e){let t=e.dom.parentNode;if(!t)return;let a=t.appendChild(document.createElement("textarea"));a.style.cssText="position: fixed; left: -10000px; top: 10px",a.focus(),setTimeout(()=>{e.focus(),a.remove(),Fbe(e,a.value)},50)}(e),!1)},vxe=null,cxe.copy=cxe.cut=(e,t)=>{let{text:a,ranges:r,linewise:n}=function(e){let t=[],a=[],r=!1;for(let r of e.selection.ranges)r.empty||(t.push(e.sliceDoc(r.from,r.to)),a.push(r));if(!t.length){let n=-1;for(let{from:r}of e.selection.ranges){let o=e.doc.lineAt(r);o.number>n&&(t.push(o.text),a.push({from:o.from,to:Math.min(e.doc.length,o.to+1)})),n=o.number}r=!0}return{text:qbe(e,POe,t.join(e.lineBreak)),ranges:a,linewise:r}}(e.state);if(!a&&!n)return!1;vxe=n?a:null,"cut"==t.type&&!e.state.readOnly&&e.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let o=dxe?null:t.clipboardData;return o?(o.clearData(),o.setData("text/plain",a),!0):(function(e,t){let a=e.dom.parentNode;if(!a)return;let r=a.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout(()=>{r.remove(),e.focus()},50)}(e,a),!1)},bxe=ive.define(),uxe.focus=e=>{e.inputState.lastFocusTime=Date.now(),!e.scrollDOM.scrollTop&&(e.inputState.lastScrollTop||e.inputState.lastScrollLeft)&&(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),tye(e)},uxe.blur=e=>{e.observer.clearSelectionRange(),tye(e)},uxe.compositionstart=uxe.compositionupdate=e=>{e.observer.editContext||(e.inputState.compositionFirstChange??(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))},uxe.compositionend=e=>{e.observer.editContext||(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,Wye.chrome&&Wye.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))},uxe.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},cxe.beforeinput=(e,t)=>{if("insertReplacementText"==t.inputType&&e.observer.editContext){let a=t.dataTransfer?.getData("text/plain"),r=t.getTargetRanges();if(a&&r.length){let t=r[0];return Zbe(e,{from:e.posAtDOM(t.startContainer,t.startOffset),to:e.posAtDOM(t.endContainer,t.endOffset),insert:e.state.toText(a)},null),!0}}let a;if(Wye.chrome&&Wye.android&&(a=oxe.find(e=>e.inputType==t.inputType))&&(e.observer.delayAndroidKey(a.key,a.keyCode),"Backspace"==a.key||"Delete"==a.key)){let t=window.visualViewport?.height||0;setTimeout(()=>{(window.visualViewport?.height||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return Wye.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),Wye.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout(()=>uxe.compositionend(e,t),20),!1},yxe=new Set,Oxe=["pre-wrap","normal","pre-line","break-spaces"],xxe=!1,wxe=class{constructor(e){this.lineWrapping=e,this.doc=Ege.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,t){let a=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(a+=Math.max(0,Math.ceil((t-e-a*this.lineLength*.5)/this.lineLength))),this.lineHeight*a}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Oxe.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1;for(let a=0;a<e.length;a++){let r=e[a];r<0?a++:this.heightSamples[Math.floor(10*r)]||(t=!0,this.heightSamples[Math.floor(10*r)]=!0)}return t}refresh(e,t,a,r,n,o){let i=Oxe.indexOf(e)>-1,s=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=i;if(this.lineWrapping=i,this.lineHeight=t,this.charWidth=a,this.textHeight=r,this.lineLength=n,s){this.heightSamples={};for(let e=0;e<o.length;e++){let t=o[e];t<0?e++:this.heightSamples[Math.floor(10*t)]=!0}}return s}},kxe=class{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}},Sxe=class e{constructor(e,t,a,r,n){this.from=e,this.length=t,this.top=a,this.height=r,this._content=n}get type(){return"number"==typeof this._content?tOe.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof oOe?this._content.widget:null}get widgetLineBreaks(){return"number"==typeof this._content?this._content:0}join(t){let a=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(t._content)?t._content:[t]);return new e(this.from,this.length+t.length,this.top,this.height+t.height,a)}},Axe=function(e){return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",e}(Axe||={}),_xe=.001,Txe=class e{constructor(e,t,a=2){this.length=e,this.height=t,this.flags=a}get outdated(){return(2&this.flags)>0}set outdated(e){this.flags=(e?2:0)|-3&this.flags}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>_xe&&(xxe=!0),this.height=e)}replace(t,a,r){return e.of(r)}decomposeLeft(e,t){t.push(this)}decomposeRight(e,t){t.push(this)}applyChanges(e,t,a,r){let n=this,o=a.doc;for(let i=r.length-1;i>=0;i--){let{fromA:s,toA:l,fromB:c,toB:u}=r[i],d=n.lineAt(s,Axe.ByPosNoHeight,a.setDoc(t),0,0),p=d.to>=l?d:n.lineAt(l,Axe.ByPosNoHeight,a,0,0);for(u+=p.to-l,l=p.to;i>0&&d.from<=r[i-1].toA;)s=r[i-1].fromA,c=r[i-1].fromB,i--,s<d.from&&(d=n.lineAt(s,Axe.ByPosNoHeight,a,0,0));c+=d.from-s,s=d.from;let h=$xe.build(a.setDoc(o),e,c,u);n=rye(n,n.replace(s,l,h))}return n.updateHeight(a,0)}static empty(){return new Cxe(0,0)}static of(t){if(1==t.length)return t[0];let a=0,r=t.length,n=0,o=0;for(;;)if(a==r)if(n>2*o){let e=t[a-1];e.break?t.splice(--a,1,e.left,null,e.right):t.splice(--a,1,e.left,e.right),r+=1+e.break,n-=e.size}else{if(!(o>2*n))break;{let e=t[r];e.break?t.splice(r,1,e.left,null,e.right):t.splice(r,1,e.left,e.right),r+=2+e.break,o-=e.size}}else if(n<o){let e=t[a++];e&&(n+=e.size)}else{let e=t[--r];e&&(o+=e.size)}let i=0;return null==t[a-1]?(i=1,a--):t[a]??(i=1,r++),new Mxe(e.of(t.slice(0,a)),i,e.of(t.slice(r)))}},Txe.prototype.size=1,Exe=class extends Txe{constructor(e,t,a){super(e,t),this.deco=a}blockAt(e,t,a,r){return new Sxe(r,this.length,a,this.height,this.deco||0)}lineAt(e,t,a,r,n){return this.blockAt(0,a,r,n)}forEachLine(e,t,a,r,n,o){e<=n+this.length&&t>=n&&o(this.blockAt(0,a,r,n))}updateHeight(e,t=0,a=!1,r){return r&&r.from<=t&&r.more&&this.setHeight(r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}},Cxe=class e extends Exe{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,a,r){return new Sxe(r,this.length,a,this.height,this.breaks)}replace(t,a,r){let n=r[0];return 1==r.length&&(n instanceof e||n instanceof Pxe&&4&n.flags)&&Math.abs(this.length-n.length)<10?(n instanceof Pxe?n=new e(n.length,this.height):n.height=this.height,this.outdated||(n.outdated=!1),n):Txe.of(r)}updateHeight(e,t=0,a=!1,r){return r&&r.from<=t&&r.more?this.setHeight(r.heights[r.index++]):(a||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}},Pxe=class e extends Txe{constructor(e){super(e,0)}heightMetrics(e,t){let a,r=e.doc.lineAt(t).number,n=e.doc.lineAt(t+this.length).number,o=n-r+1,i=0;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*o);a=t/o,this.length>o+1&&(i=(this.height-t)/(this.length-o-1))}else a=this.height/o;return{firstLine:r,lastLine:n,perLine:a,perChar:i}}blockAt(e,t,a,r){let{firstLine:n,lastLine:o,perLine:i,perChar:s}=this.heightMetrics(t,r);if(t.lineWrapping){let n=r+(e<t.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-a)/this.height))*this.length)),o=t.doc.lineAt(n),l=i+o.length*s,c=Math.max(a,e-l/2);return new Sxe(o.from,o.length,c,l,0)}{let r=Math.max(0,Math.min(o-n,Math.floor((e-a)/i))),{from:s,length:l}=t.doc.line(n+r);return new Sxe(s,l,a+i*r,i,0)}}lineAt(e,t,a,r,n){if(t==Axe.ByHeight)return this.blockAt(e,a,r,n);if(t==Axe.ByPosNoHeight){let{from:t,to:r}=a.doc.lineAt(e);return new Sxe(t,r-t,0,0,0)}let{firstLine:o,perLine:i,perChar:s}=this.heightMetrics(a,n),l=a.doc.lineAt(e),c=i+l.length*s,u=l.number-o,d=r+i*u+s*(l.from-n-u);return new Sxe(l.from,l.length,Math.max(r,Math.min(d,r+this.height-c)),c,0)}forEachLine(e,t,a,r,n,o){e=Math.max(e,n),t=Math.min(t,n+this.length);let{firstLine:i,perLine:s,perChar:l}=this.heightMetrics(a,n);for(let c=e,u=r;c<=t;){let t=a.doc.lineAt(c);if(c==e){let a=t.number-i;u+=s*a+l*(e-n-a)}let r=s+l*t.length;o(new Sxe(t.from,t.length,u,r,0)),u+=r,c=t.to+1}}replace(t,a,r){let n=this.length-a;if(n>0){let t=r[r.length-1];t instanceof e?r[r.length-1]=new e(t.length+n):r.push(null,new e(n-1))}if(t>0){let a=r[0];a instanceof e?r[0]=new e(t+a.length):r.unshift(new e(t-1),null)}return Txe.of(r)}decomposeLeft(t,a){a.push(new e(t-1),null)}decomposeRight(t,a){a.push(null,new e(this.length-t-1))}updateHeight(t,a=0,r=!1,n){let o=a+this.length;if(n&&n.from<=a+this.length&&n.more){let r=[],i=Math.max(a,n.from),s=-1;for(n.from>a&&r.push(new e(n.from-a-1).updateHeight(t,a));i<=o&&n.more;){let e=t.doc.lineAt(i).length;r.length&&r.push(null);let a=n.heights[n.index++];-1==s?s=a:Math.abs(a-s)>=_xe&&(s=-2);let o=new Cxe(e,a);o.outdated=!1,r.push(o),i+=e+1}i<=o&&r.push(null,new e(o-i).updateHeight(t,i));let l=Txe.of(r);return(s<0||Math.abs(l.height-this.height)>=_xe||Math.abs(s-this.heightMetrics(t,a).perLine)>=_xe)&&(xxe=!0),rye(this,l)}return(r||this.outdated)&&(this.setHeight(t.heightForGap(a,a+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}},Mxe=class extends Txe{constructor(e,t,a){super(e.length+t+a.length,e.height+a.height,t|(e.outdated||a.outdated?2:0)),this.left=e,this.right=a,this.size=e.size+a.size}get break(){return 1&this.flags}blockAt(e,t,a,r){let n=a+this.left.height;return e<n?this.left.blockAt(e,t,a,r):this.right.blockAt(e,t,n,r+this.left.length+this.break)}lineAt(e,t,a,r,n){let o=r+this.left.height,i=n+this.left.length+this.break,s=t==Axe.ByHeight?e<o:e<i,l=s?this.left.lineAt(e,t,a,r,n):this.right.lineAt(e,t,a,o,i);if(this.break||(s?l.to<i:l.from>i))return l;let c=t==Axe.ByPosNoHeight?Axe.ByPosNoHeight:Axe.ByPos;return s?l.join(this.right.lineAt(i,c,a,o,i)):this.left.lineAt(i,c,a,r,n).join(l)}forEachLine(e,t,a,r,n,o){let i=r+this.left.height,s=n+this.left.length+this.break;if(this.break)e<s&&this.left.forEachLine(e,t,a,r,n,o),t>=s&&this.right.forEachLine(e,t,a,i,s,o);else{let l=this.lineAt(s,Axe.ByPos,a,r,n);e<l.from&&this.left.forEachLine(e,l.from-1,a,r,n,o),l.to>=e&&l.from<=t&&o(l),t>l.to&&this.right.forEachLine(l.to+1,t,a,i,s,o)}}replace(e,t,a){let r=this.left.length+this.break;if(t<r)return this.balanced(this.left.replace(e,t,a),this.right);if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,a));let n=[];e>0&&this.decomposeLeft(e,n);let o=n.length;for(let e of a)n.push(e);if(e>0&&nye(n,o-1),t<this.length){let e=n.length;this.decomposeRight(t,n),nye(n,e)}return Txe.of(n)}decomposeLeft(e,t){let a=this.left.length;if(e<=a)return this.left.decomposeLeft(e,t);t.push(this.left),this.break&&(a++,e>=a&&t.push(null)),e>a&&this.right.decomposeLeft(e-a,t)}decomposeRight(e,t){let a=this.left.length,r=a+this.break;if(e>=r)return this.right.decomposeRight(e-r,t);e<a&&this.left.decomposeRight(e,t),this.break&&e<r&&t.push(null),t.push(this.right)}balanced(e,t){return e.size>2*t.size||t.size>2*e.size?Txe.of(this.break?[e,null,t]:[e,t]):(this.left=rye(this.left,e),this.right=rye(this.right,t),this.setHeight(e.height+t.height),this.outdated=e.outdated||t.outdated,this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}updateHeight(e,t=0,a=!1,r){let{left:n,right:o}=this,i=t+n.length+this.break,s=null;return r&&r.from<=t+n.length&&r.more?s=n=n.updateHeight(e,t,a,r):n.updateHeight(e,t,a),r&&r.from<=i+o.length&&r.more?s=o=o.updateHeight(e,i,a,r):o.updateHeight(e,i,a),s?this.balanced(n,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}},$xe=class e{constructor(e,t){this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){if(this.lineStart>-1){let e=Math.min(t,this.lineEnd),a=this.nodes[this.nodes.length-1];a instanceof Cxe?a.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new Cxe(e-this.pos,-1)),this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=t}point(e,t,a){if(e<t||a.heightRelevant){let r=a.widget?a.widget.estimatedHeight:0,n=a.widget?a.widget.lineBreaks:0;r<0&&(r=this.oracle.lineHeight);let o=t-e;a.block?this.addBlock(new Exe(o,r,a)):(o||n||r>=5)&&this.addLineDeco(r,n,o)}else t>e&&this.span(e,t);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=t,this.writtenTo<e&&((this.writtenTo<e-1||null==this.nodes[this.nodes.length-1])&&this.nodes.push(this.blankContent(this.writtenTo,e-1)),this.nodes.push(null)),this.pos>e&&this.nodes.push(new Cxe(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let a=new Pxe(t-e);return this.oracle.doc.lineAt(e).to==t&&(a.flags|=4),a}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof Cxe)return e;let t=new Cxe(0,-1);return this.nodes.push(t),t}addBlock(e){this.enterLine();let t=e.deco;t&&t.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos+=e.length,t&&t.endSide>0&&(this.covering=e)}addLineDeco(e,t,a){let r=this.ensureLine();r.length+=a,r.collapsed+=a,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,this.writtenTo=this.pos+=a}finish(e){let t=0==this.nodes.length?null:this.nodes[this.nodes.length-1];!(this.lineStart>-1)||t instanceof Cxe||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new Cxe(0,-1));let a=e;for(let e of this.nodes)e instanceof Cxe&&e.updateHeight(this.oracle,a),a+=e?e.length:1;return this.nodes}static build(t,a,r,n){let o=new e(r,t);return yve.spans(a,r,n,o,0),o.finish(r)}},Nxe=class{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,a,r){(e<t||a&&a.heightRelevant||r&&r.heightRelevant)&&mbe(e,t,this.changes,5)}},Ixe=class{constructor(e,t,a,r){this.from=e,this.to=t,this.size=a,this.displaySize=r}static same(e,t){if(e.length!=t.length)return!1;for(let a=0;a<e.length;a++){let r=e[a],n=t[a];if(r.from!=n.from||r.to!=n.to||r.size!=n.size)return!1}return!0}draw(e,t){return aOe.replace({widget:new Rxe(this.displaySize*(t?e.scaleY:e.scaleX),t)}).range(this.from,this.to)}},Rxe=class extends eOe{constructor(e,t){super(),this.size=e,this.vertical=t}eq(e){return e.size==this.size&&e.vertical==this.vertical}toDOM(){let e=document.createElement("div");return this.vertical?e.style.height=this.size+"px":(e.style.width=this.size+"px",e.style.height="2px",e.style.display="inline-block"),e}get estimatedHeight(){return this.vertical?this.size:-1}},Dxe=class{constructor(e){this.state=e,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!1,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=Bxe,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=dOe.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1,this.heightOracle=new wxe(e.facet(ZOe).some(e=>"function"!=typeof e&&"cm-lineWrapping"==e.class)),this.stateDeco=e.facet(VOe).filter(e=>"function"!=typeof e),this.heightMap=Txe.empty().applyChanges(this.stateDeco,Ege.empty,this.heightOracle.setDoc(e.doc),[new GOe(0,0,0,e.doc.length)]);for(let e=0;e<2&&(this.viewport=this.getViewport(0,null),this.updateForViewport());e++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=aOe.set(this.lineGaps.map(e=>e.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:t}=this.state.selection;for(let a=0;a<=1;a++){let r=a?t.head:t.anchor;if(!e.some(({from:e,to:t})=>r>=e&&r<=t)){let{from:t,to:a}=this.lineBlockAt(r);e.push(new Lxe(t,a))}}return this.viewports=e.sort((e,t)=>e.from-t.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?Bxe:new jxe(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(cye(e,this.scaler))})}update(e,t=null){this.state=e.state;let a=this.stateDeco;this.stateDeco=this.state.facet(VOe).filter(e=>"function"!=typeof e);let r=e.changedRanges,n=GOe.extendWithRanges(r,function(e,t,a){let r=new Nxe;return yve.compare(e,t,a,r,0),r.changes}(a,this.stateDeco,e?e.changes:Bge.empty(this.state.doc.length))),o=this.heightMap.height,i=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);aye(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),n),(this.heightMap.height!=o||xxe)&&(e.flags|=2),i?(this.scrollAnchorPos=e.changes.mapPos(i.from,-1),this.scrollAnchorHeight=i.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let s=n.length?this.mapViewport(this.viewport,e.changes):this.viewport;(t&&(t.range.head<s.from||t.range.head>s.to)||!this.viewportIsAppropriate(s))&&(s=this.getViewport(0,t));let l=s.from!=this.viewport.from||s.to!=this.viewport.to;this.viewport=s,e.flags|=this.updateForViewport(),(l||!e.changes.empty||2&e.flags)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),t&&(this.scrollTarget=t),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet($Oe)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,a=window.getComputedStyle(t),r=this.heightOracle,n=a.whiteSpace;this.defaultTextDirection="rtl"==a.direction?dOe.RTL:dOe.LTR;let o=this.heightOracle.mustRefreshForWrapping(n),i=t.getBoundingClientRect(),s=o||this.mustMeasureContent||this.contentDOMHeight!=i.height;this.contentDOMHeight=i.height,this.mustMeasureContent=!1;let l=0,c=0;if(i.width&&i.height){let{scaleX:e,scaleY:a}=Xve(t,i);(e>.005&&Math.abs(this.scaleX-e)>.005||a>.005&&Math.abs(this.scaleY-a)>.005)&&(this.scaleX=e,this.scaleY=a,l|=8,o=s=!0)}let u=(parseInt(a.paddingTop)||0)*this.scaleY,d=(parseInt(a.paddingBottom)||0)*this.scaleY;(this.paddingTop!=u||this.paddingBottom!=d)&&(this.paddingTop=u,this.paddingBottom=d,l|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(s=!0),this.editorWidth=e.scrollDOM.clientWidth,l|=8);let p=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=p&&(this.scrollAnchorHeight=-1,this.scrollTop=p),this.scrolledToBottom=ebe(e.scrollDOM);let h=(this.printing?iye:oye)(t,this.paddingTop),m=h.top-this.pixelViewport.top,f=h.bottom-this.pixelViewport.bottom;this.pixelViewport=h;let g=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(g!=this.inView&&(this.inView=g,g&&(s=!0)),!this.inView&&!this.scrollTarget)return 0;let v=i.width;if((this.contentDOMWidth!=v||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=i.width,this.editorHeight=e.scrollDOM.clientHeight,l|=8),s){let t=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(t)&&(o=!0),o||r.lineWrapping&&Math.abs(v-this.contentDOMWidth)>r.charWidth){let{lineHeight:a,charWidth:i,textHeight:s}=e.docView.measureTextSize();o=a>0&&r.refresh(n,a,i,s,v/i,t),o&&(e.docView.minWidth=0,l|=8)}m>0&&f>0?c=Math.max(m,f):m<0&&f<0&&(c=Math.min(m,f)),aye();for(let a of this.viewports){let n=a.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(a);this.heightMap=(o?Txe.empty().applyChanges(this.stateDeco,Ege.empty,this.heightOracle,[new GOe(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new kxe(a.from,n))}xxe&&(l|=2)}let b=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return b&&(2&l&&(l|=this.updateScaler()),this.viewport=this.getViewport(c,this.scrollTarget),l|=this.updateForViewport()),(2&l||b)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),l|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),l}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,t){let a=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,n=this.heightOracle,{visibleTop:o,visibleBottom:i}=this,s=new Lxe(r.lineAt(o-1e3*a,Axe.ByHeight,n,0,0).from,r.lineAt(i+1e3*(1-a),Axe.ByHeight,n,0,0).to);if(t){let{head:e}=t.range;if(e<s.from||e>s.to){let a,o=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),i=r.lineAt(e,Axe.ByPos,n,0,0);a="center"==t.y?(i.top+i.bottom)/2-o/2:"start"==t.y||"nearest"==t.y&&e<s.from?i.top:i.bottom-o,s=new Lxe(r.lineAt(a-500,Axe.ByHeight,n,0,0).from,r.lineAt(a+o+500,Axe.ByHeight,n,0,0).to)}}return s}mapViewport(e,t){let a=t.mapPos(e.from,-1),r=t.mapPos(e.to,1);return new Lxe(this.heightMap.lineAt(a,Axe.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,Axe.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:e,to:t},a=0){if(!this.inView)return!0;let{top:r}=this.heightMap.lineAt(e,Axe.ByPos,this.heightOracle,0,0),{bottom:n}=this.heightMap.lineAt(t,Axe.ByPos,this.heightOracle,0,0),{visibleTop:o,visibleBottom:i}=this;return(0==e||r<=o-Math.max(10,Math.min(-a,250)))&&(t==this.state.doc.length||n>=i+Math.max(10,Math.min(a,250)))&&r>o-2e3&&n<i+2e3}mapLineGaps(e,t){if(!e.length||t.empty)return e;let a=[];for(let r of e)t.touchesRange(r.from,r.to)||a.push(new Ixe(t.mapPos(r.from),t.mapPos(r.to),r.size,r.displaySize));return a}ensureLineGaps(e,t){let a=this.heightOracle.lineWrapping,r=a?1e4:2e3,n=r>>1,o=r<<1;if(this.defaultTextDirection!=dOe.LTR&&!a)return[];let i=[],s=(r,o,l,c)=>{if(o-r<n)return;let u=this.state.selection.main,d=[u.from];u.empty||d.push(u.to);for(let e of d)if(e>r&&e<o)return s(r,e-10,l,c),void s(e+10,o,l,c);let p=function(e,t){for(let a of e)if(t(a))return a}(e,e=>e.from>=l.from&&e.to<=l.to&&Math.abs(e.from-r)<n&&Math.abs(e.to-o)<n&&!d.some(t=>e.from<t&&e.to>t));if(!p){if(o<l.to&&t&&a&&t.visibleRanges.some(e=>e.from<=o&&e.to>=o)){let e=t.moveToLineBoundary(zge.cursor(o),!1,!0).head;e>r&&(o=e)}let e=this.gapSize(l,r,o,c);p=new Ixe(r,o,e,a||e<2e6?e:2e6)}i.push(p)},l=t=>{if(t.length<o||t.type!=tOe.Text)return;let n=function(e,t,a){let r=[],n=e,o=0;return yve.spans(a,e,t,{span(){},point(e,t){e>n&&(r.push({from:n,to:e}),o+=e-n),n=t}},20),n<t&&(r.push({from:n,to:t}),o+=t-n),{total:o,ranges:r}}(t.from,t.to,this.stateDeco);if(n.total<o)return;let i,l,c=this.scrollTarget?this.scrollTarget.range.head:null;if(a){let e,a,o=r/this.heightOracle.lineLength*this.heightOracle.lineHeight;if(null!=c){let r=lye(n,c),i=((this.visibleBottom-this.visibleTop)/2+o)/t.height;e=r-i,a=r+i}else e=(this.visibleTop-t.top-o)/t.height,a=(this.visibleBottom-t.top+o)/t.height;i=sye(n,e),l=sye(n,a)}else{let a=n.total*this.heightOracle.charWidth,o=r*this.heightOracle.charWidth,s=0;if(a>2e6)for(let a of e)a.from>=t.from&&a.from<t.to&&a.size!=a.displaySize&&a.from*this.heightOracle.charWidth+s<this.pixelViewport.left&&(s=a.size-a.displaySize);let u,d,p=this.pixelViewport.left+s,h=this.pixelViewport.right+s;if(null!=c){let e=lye(n,c),t=((h-p)/2+o)/a;u=e-t,d=e+t}else u=(p-o)/a,d=(h+o)/a;i=sye(n,u),l=sye(n,d)}i>t.from&&s(t.from,i,t,n),l<t.to&&s(l,t.to,t,n)};for(let e of this.viewportLines)Array.isArray(e.type)?e.type.forEach(l):l(e);return i}gapSize(e,t,a,r){let n=lye(r,a)-lye(r,t);return this.heightOracle.lineWrapping?e.height*n:r.total*this.heightOracle.charWidth*n}updateLineGaps(e){Ixe.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=aOe.set(e.map(e=>e.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let t=[];yve.spans(e,this.viewport.from,this.viewport.to,{span(e,a){t.push({from:e,to:a})},point(){}},20);let a=t.length!=this.visibleRanges.length||this.visibleRanges.some((e,a)=>e.from!=t[a].from||e.to!=t[a].to);return this.visibleRanges=t,a?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(t=>t.from<=e&&t.to>=e)||cye(this.heightMap.lineAt(e,Axe.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(t=>t.top<=e&&t.bottom>=e)||cye(this.heightMap.lineAt(this.scaler.fromDOM(e),Axe.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let t=this.lineBlockAtHeight(e+8);return t.from>=this.viewport.from||this.viewportLines[0].top-e>200?t:this.viewportLines[0]}elementAtHeight(e){return cye(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}},Lxe=class{constructor(e,t){this.from=e,this.to=t}},Bxe={toDOM:e=>e,fromDOM:e=>e,scale:1,eq(e){return e==this}},jxe=class e{constructor(e,t,a){let r=0,n=0,o=0;this.viewports=a.map(({from:a,to:n})=>{let o=t.lineAt(a,Axe.ByPos,e,0,0).top,i=t.lineAt(n,Axe.ByPos,e,0,0).bottom;return r+=i-o,{from:a,to:n,top:o,bottom:i,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(t.height-r);for(let e of this.viewports)e.domTop=o+(e.top-n)*this.scale,o=e.domBottom=e.domTop+(e.bottom-e.top),n=e.bottom}toDOM(e){for(let t=0,a=0,r=0;;t++){let n=t<this.viewports.length?this.viewports[t]:null;if(!n||e<n.top)return r+(e-a)*this.scale;if(e<=n.bottom)return n.domTop+(e-n.top);a=n.bottom,r=n.domBottom}}fromDOM(e){for(let t=0,a=0,r=0;;t++){let n=t<this.viewports.length?this.viewports[t]:null;if(!n||e<n.domTop)return a+(e-r)/this.scale;if(e<=n.domBottom)return n.top+(e-n.domTop);a=n.bottom,r=n.domBottom}}eq(t){return t instanceof e&&(this.scale==t.scale&&this.viewports.length==t.viewports.length&&this.viewports.every((e,a)=>e.from==t.viewports[a].from&&e.to==t.viewports[a].to))}},Uxe=Zge.define({combine:e=>e.join(" ")}),zxe=Zge.define({combine:e=>e.indexOf(!0)>-1}),Hxe=Tve.newName(),Zxe=Tve.newName(),Vxe=Tve.newName(),qxe=uye("."+Hxe,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:'url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>\')',backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Qxe={"&light":"."+Zxe,"&dark":"."+Vxe}),Fxe={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Wxe=Wye.ie&&Wye.ie_version<=11,Xxe=class{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new Pye,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(t=>{for(let e of t)this.queue.push(e);(Wye.ie&&Wye.ie_version<=11||Wye.ios&&e.composing)&&t.some(e=>"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&!1!==e.constructor.EDIT_CONTEXT&&!(Wye.chrome&&Wye.chrome_version<126)&&(this.editContext=new Gxe(e),e.state.facet(LOe)&&(e.contentDOM.editContext=this.editContext.editContext)),Wxe&&(this.onCharData=e=>{this.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),"function"==typeof ResizeObserver&&(this.resizeScroll=new ResizeObserver(()=>{this.view.docView?.lastUpdate<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(e.scrollDOM)),this.addWindowListeners(this.win=e.win),this.start(),"function"==typeof IntersectionObserver&&(this.intersection=new IntersectionObserver(e=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),e.length>0&&e[e.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(e=>{e.length>0&&e[e.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){("change"==e.type||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((t,a)=>t!=e[a]))){this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t);this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:a}=this,r=this.selectionRange;if(a.state.facet(LOe)?a.root.activeElement!=this.dom:!Uve(this.dom,r))return;let n=r.anchorNode&&a.docView.nearest(r.anchorNode);n&&n.ignoreEvent(e)?t||(this.selectionChanged=!1):(Wye.ie&&Wye.ie_version<=11||Wye.android&&Wye.chrome)&&!a.state.selection.main.empty&&r.focusNode&&Hve(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=Bve(e.root);if(!t)return!1;let a=Wye.safari&&11==e.root.nodeType&&e.root.activeElement==this.dom&&function(e,t){if(t.getComposedRanges){let a=t.getComposedRanges(e.root)[0];if(a)return pye(e,a)}let a=null;function r(e){e.preventDefault(),e.stopImmediatePropagation(),a=e.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",r,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",r,!0),a?pye(e,a):null}(this.view,t)||t;if(!a||this.selectionRange.eq(a))return!1;let r=Uve(this.dom,a);return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&function(e,t){let a=t.focusNode,r=t.focusOffset;if(!a||t.anchorNode!=a||t.anchorOffset!=r)return!1;for(r=Math.min(r,qve(a));;)if(r){if(1!=a.nodeType)return!1;let e=a.childNodes[r-1];"false"==e.contentEditable?r--:(a=e,r=qve(a))}else{if(a==e)return!0;r=Zve(a),a=a.parentNode}}(this.dom,a)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),!1):(this.selectionRange.setRange(a),r&&(this.selectionChanged=!0),!0)}setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let e=0,t=null;for(let a=this.dom;a;)if(1==a.nodeType)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==a?e++:t||=this.scrollTargets.slice(0,e),t&&t.push(a),a=a.assignedSlot||a.parentNode;else{if(11!=a.nodeType)break;a=a.host}if(e<this.scrollTargets.length&&!t&&(t=this.scrollTargets.slice(0,e)),t){for(let e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll);for(let e of this.scrollTargets=t)e.addEventListener("scroll",this.onScroll)}}ignore(e){if(!this.active)return e();try{return this.stop(),e()}finally{this.start(),this.clear()}}start(){this.active||=(this.observer.observe(this.dom,Fxe),Wxe&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),Wxe&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){this.delayedAndroidKey||(this.flushingAndroidKey=this.view.win.requestAnimationFrame(()=>{let e=this.delayedAndroidKey;e&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&Kve(this.dom,e.key,e.keyCode))})),(!this.delayedAndroidKey||"Enter"==e)&&(this.delayedAndroidKey={key:e,keyCode:t,force:this.lastChange<Date.now()-50||!!this.delayedAndroidKey?.force})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let t=-1,a=-1,r=!1;for(let n of e){let e=this.readMutation(n);e&&(e.typeOver&&(r=!0),-1==t?({from:t,to:a}=e):(t=Math.min(e.from,t),a=Math.max(e.to,a)))}return{from:t,to:a,typeOver:r}}readChange(){let{from:e,to:t,typeOver:a}=this.processRecords(),r=this.selectionChanged&&Uve(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let n=new rxe(this.view,e,t,a);return this.view.docView.domChanged={newSel:n.newSel?n.newSel.main:null},n}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let t=this.readChange();if(!t)return this.view.requestMeasure(),!1;let a=this.view.state,r=Hbe(this.view,t);return this.view.state==a&&(t.domChanged||t.newSel&&!t.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),r}readMutation(e){let t=this.view.docView.nearest(e.target);if(!t||t.ignoreMutation(e))return null;if(t.markDirty("attributes"==e.type),"attributes"==e.type&&(t.flags|=4),"childList"==e.type){let a=dye(t,e.previousSibling||e.target.previousSibling,-1),r=dye(t,e.nextSibling||e.target.nextSibling,1);return{from:a?t.posAfter(a):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,typeOver:!1}}return"characterData"==e.type?{from:t.posAtStart,to:t.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(LOe)!=e.state.facet(LOe)&&(e.view.contentDOM.editContext=e.state.facet(LOe)?this.editContext.editContext:null))}destroy(){var e,t,a;this.stop(),null==(e=this.intersection)||e.disconnect(),null==(t=this.gapIntersection)||t.disconnect(),null==(a=this.resizeScroll)||a.disconnect();for(let e of this.scrollTargets)e.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}},Gxe=class{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(e.state);let t=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=t=>{let{anchor:a}=e.state.selection.main,r=this.toEditorPos(t.updateRangeStart),n=this.toEditorPos(t.updateRangeEnd);e.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:t.updateRangeStart,editorBase:r,drifted:!1});let o={from:r,to:n,insert:Ege.of(t.text.split("\n"))};if(o.from==this.from&&a<this.from?o.from=a:o.to==this.to&&a>this.to&&(o.to=a),o.from!=o.to||o.insert.length){if(this.pendingContextChange=o,!e.state.readOnly){let a=this.to-this.from+(o.to-o.from+o.insert.length);Zbe(e,o,zge.single(this.toEditorPos(t.selectionStart,a),this.toEditorPos(t.selectionEnd,a)))}this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state))}},this.handlers.characterboundsupdate=a=>{let r=[],n=null;for(let t=this.toEditorPos(a.rangeStart),o=this.toEditorPos(a.rangeEnd);t<o;t++){let a=e.coordsForChar(t);n=a&&new DOMRect(a.left,a.top,a.right-a.left,a.bottom-a.top)||n||new DOMRect,r.push(n)}t.updateCharacterBounds(a.rangeStart,r)},this.handlers.textformatupdate=t=>{let a=[];for(let e of t.getTextFormats()){let t=e.underlineStyle,r=e.underlineThickness;if("None"!=t&&"None"!=r){let n=this.toEditorPos(e.rangeStart),o=this.toEditorPos(e.rangeEnd);if(n<o){let e=`text-decoration: underline ${"Dashed"==t?"dashed ":"Squiggle"==t?"wavy ":""}${"Thin"==r?1:2}px`;a.push(aOe.mark({attributes:{style:e}}).range(n,o))}}}e.dispatch({effects:DOe.of(aOe.set(a))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(e.inputState.composing=-1,e.inputState.compositionFirstChange=null,this.composing){let{drifted:t}=this.composing;this.composing=null,t&&this.reset(e.state)}};for(let e in this.handlers)t.addEventListener(e,this.handlers[e]);this.measureReq={read:e=>{this.editContext.updateControlBounds(e.contentDOM.getBoundingClientRect());let t=Bve(e.root);t&&t.rangeCount&&this.editContext.updateSelectionBounds(t.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let t=0,a=!1,r=this.pendingContextChange;return e.changes.iterChanges((n,o,i,s,l)=>{if(a)return;let c=l.length-(o-n);if(r&&o>=r.to){if(r.from==n&&r.to==o&&r.insert.eq(l))return r=this.pendingContextChange=null,t+=c,void(this.to+=c);r=null,this.revertPending(e.state)}if(n+=t,(o+=t)<=this.from)this.from+=c,this.to+=c;else if(n<this.to){if(n<this.from||o>this.to||this.to-this.from+l.length>3e4)return void(a=!0);this.editContext.updateText(this.toContextPos(n),this.toContextPos(o),l.toString()),this.to+=c}t+=c}),r&&!a&&this.revertPending(e.state),!a}update(e){let t=this.pendingContextChange;this.composing&&(this.composing.drifted||e.transactions.some(e=>!e.isUserEvent("input.type")&&e.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=e.changes.mapPos(this.composing.editorBase)):this.applyEdits(e)&&this.rangeIsValid(e.state)?(e.docChanged||e.selectionSet||t)&&this.setSelection(e.state):(this.pendingContextChange=null,this.reset(e.state)),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:t}=e.selection.main;this.from=Math.max(0,t-1e4),this.to=Math.min(e.doc.length,t+1e4)}reset(e){this.resetRange(e),this.editContext.updateText(0,this.editContext.text.length,e.doc.sliceString(this.from,this.to)),this.setSelection(e)}revertPending(e){let t=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(t.from),this.toContextPos(t.from+t.insert.length),e.doc.sliceString(t.from,t.to))}setSelection(e){let{main:t}=e.selection,a=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),r=this.toContextPos(t.head);(this.editContext.selectionStart!=a||this.editContext.selectionEnd!=r)&&this.editContext.updateSelection(a,r)}rangeIsValid(e){let{head:t}=e.selection.main;return!(this.from>0&&t-this.from<500||this.to<e.doc.length&&this.to-t<500||this.to-this.from>3e4)}toEditorPos(e,t=this.to-this.from){e=Math.min(e,t);let a=this.composing;return a&&a.drifted?a.editorBase+(e-a.contextBase):e+this.from}toContextPos(e){let t=this.composing;return t&&t.drifted?t.contextBase+(e-t.editorBase):e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}},Yxe=class e{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:t}=e;this.dispatchTransactions=e.dispatchTransactions||t&&(e=>e.forEach(e=>t(e,this)))||(e=>this.update(e)),this.dispatch=this.dispatch.bind(this),this._root=e.root||function(e){for(;e;){if(e&&(9==e.nodeType||11==e.nodeType&&e.host))return e;e=e.assignedSlot||e.parentNode}return null}(e.parent)||document,this.viewState=new Dxe(e.state||fve.create(e)),e.scrollTo&&e.scrollTo.is(ROe)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(jOe).map(e=>new zOe(e));for(let e of this.plugins)e.update(this);this.observer=new Xxe(this),this.inputState=new nxe(this),this.inputState.ensureHandlers(this.plugins),this.docView=new KOe(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),document.fonts?.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let t=1==e.length&&e[0]instanceof uve?e:1==e.length&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(t,this)}update(e){if(0!=this.updateState)throw Error("Calls to EditorView.update are not allowed while an update is in progress");let t,a=!1,r=!1,n=this.state;for(let t of e){if(t.startState!=n)throw RangeError("Trying to update state with a transaction that doesn't start from the previous state.");n=t.state}if(this.destroyed)return void(this.viewState.state=n);let o=this.hasFocus,i=0,s=null;e.some(e=>e.annotation(bxe))?(this.inputState.notifiedFocused=o,i=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,s=eye(n,o),s||(i=1));let l=this.observer.delayedAndroidKey,c=null;if(l?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(n.doc)||!this.state.selection.eq(n.selection))&&(c=null)):this.observer.clear(),n.facet(fve.phrases)!=this.state.facet(fve.phrases))return this.setState(n);t=YOe.create(this,n,e),t.flags|=i;let u=this.viewState.scrollTarget;try{this.updateState=2;for(let t of e){if(u&&=u.map(t.changes),t.scrollIntoView){let{main:e}=t.state.selection;u=new IOe(e.empty?e:zge.cursor(e.head,e.head>e.anchor?-1:1))}for(let e of t.effects)e.is(ROe)&&(u=e.value.clip(this.state))}this.viewState.update(t,u),this.bidiCache=ewe.update(this.bidiCache,t.changes),t.empty||(this.updatePlugins(t),this.inputState.update(t)),a=this.docView.update(t),this.state.facet(XOe)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(a,e.some(e=>e.isUserEvent("select.pointer")))}finally{this.updateState=0}if(t.startState.facet(Uxe)!=t.state.facet(Uxe)&&(this.viewState.mustMeasureContent=!0),(a||r||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),a&&this.docViewUpdate(),!t.empty)for(let a of this.state.facet(_Oe))try{a(t)}catch(e){Sbe(this.state,e,"update listener")}(s||c)&&Promise.resolve().then(()=>{s&&this.state==s.startState&&this.dispatch(s),c&&!Hbe(this,c)&&l.force&&Kve(this.contentDOM,l.key,l.keyCode)})}setState(e){if(0!=this.updateState)throw Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed)return void(this.viewState.state=e);this.updateState=2;let t=this.hasFocus;try{for(let e of this.plugins)e.destroy(this);this.viewState=new Dxe(e),this.plugins=e.facet(jOe).map(e=>new zOe(e)),this.pluginMap.clear();for(let e of this.plugins)e.update(this);this.docView.destroy(),this.docView=new KOe(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}t&&this.focus(),this.requestMeasure()}updatePlugins(e){let t=e.startState.facet(jOe),a=e.state.facet(jOe);if(t!=a){let r=[];for(let n of a){let a=t.indexOf(n);if(a<0)r.push(new zOe(n));else{let t=this.plugins[a];t.mustUpdate=e,r.push(t)}}for(let t of this.plugins)t.mustUpdate!=e&&t.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let t of this.plugins)t.mustUpdate=e;for(let e=0;e<this.plugins.length;e++)this.plugins[e].update(this);t!=a&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){for(let e of this.plugins){let t=e.value;if(t&&t.docViewUpdate)try{t.docViewUpdate(this)}catch(e){Sbe(this.state,e,"doc view update listener")}}}measure(e=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey)return this.measureScheduled=-1,void this.requestMeasure();this.measureScheduled=0,e&&this.observer.forceFlush();let t=null,a=this.scrollDOM,r=a.scrollTop*this.scaleY,{scrollAnchorPos:n,scrollAnchorHeight:o}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let i=0;;i++){if(o<0)if(ebe(a))n=-1,o=this.viewState.heightMap.height;else{let e=this.viewState.scrollAnchorAt(r);n=e.from,o=e.top}this.updateState=1;let s=this.viewState.measure(this);if(!s&&!this.measureRequests.length&&null==this.viewState.scrollTarget)break;if(i>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let l=[];4&s||([this.measureRequests,l]=[l,this.measureRequests]);let c=l.map(e=>{try{return e.read(this)}catch(e){return Sbe(this.state,e),Jxe}}),u=YOe.create(this,this.state,[]),d=!1;u.flags|=s,t?t.flags|=s:t=u,this.updateState=2,u.empty||(this.updatePlugins(u),this.inputState.update(u),this.updateAttrs(),d=this.docView.update(u),d&&this.docViewUpdate());for(let t=0;t<l.length;t++)if(c[t]!=Jxe)try{let e=l[t];e.write&&e.write(c[t],this)}catch(e){Sbe(this.state,e)}if(d&&this.docView.updateSelection(!0),!u.viewportChanged&&0==this.measureRequests.length){if(this.viewState.editorHeight){if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,o=-1;continue}{let e=(n<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(n).top)-o;if(e>1||e<-1){r+=e,a.scrollTop=r/this.scaleY,o=-1;continue}}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(t&&!t.empty)for(let e of this.state.facet(_Oe))e(t)}get themeClasses(){return Hxe+" "+(this.state.facet(zxe)?Vxe:Zxe)+" "+this.state.facet(Uxe)}updateAttrs(){let e=hye(this,HOe,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(LOe)?"true":"false",class:"cm-content",style:`${Wye.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),hye(this,ZOe,t);let a=this.observer.ignore(()=>{let a=dbe(this.contentDOM,this.contentAttrs,t),r=dbe(this.dom,this.editorAttrs,e);return a||r});return this.editorAttrs=e,this.contentAttrs=t,a}showAnnouncements(t){let a=!0;for(let r of t)for(let t of r.effects)if(t.is(e.announce)){a&&(this.announceDOM.textContent=""),a=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=t.value}}mountStyles(){this.styleModules=this.state.facet(XOe);let t=this.state.facet(e.cspNonce);Tve.mount(this.root,this.styleModules.concat(qxe).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(2==this.updateState)throw Error("Reading the editor layout isn't allowed during an update");0==this.updateState&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(null!=e.key)for(let t=0;t<this.measureRequests.length;t++)if(this.measureRequests[t].key===e.key)return void(this.measureRequests[t]=e);this.measureRequests.push(e)}}plugin(e){let t=this.pluginMap.get(e);return(void 0===t||t&&t.spec!=e)&&this.pluginMap.set(e,t=this.plugins.find(t=>t.spec==e)||null),t&&t.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,t,a){return Ube(this,e,Bbe(this,e,t,a))}moveByGroup(e,t){return Ube(this,e,Bbe(this,e,t,t=>function(e,t,a){let r=e.state.charCategorizer(t),n=r(a);return e=>{let t=r(e);return n==pve.Space&&(n=t),n==t}}(this,e.head,t)))}visualLineSide(e,t){let a=this.bidiSpans(e),r=this.textDirectionAt(e.from),n=a[t?a.length-1:0];return zge.cursor(n.side(t,r)+e.from,n.forward(!t,r)?1:-1)}moveToLineBoundary(e,t,a=!0){return Lbe(this,e,t,a)}moveVertically(e,t,a){return Ube(this,e,function(e,t,a,r){let n=t.head,o=a?1:-1;if(n==(a?e.state.doc.length:0))return zge.cursor(n,t.assoc);let i,s=t.goalColumn,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(n,t.assoc||-1),u=e.documentTop;if(c)s??=c.left-l.left,i=o<0?c.top:c.bottom;else{let t=e.viewState.lineBlockAt(n);s??=Math.min(l.right-l.left,e.defaultCharacterWidth*(n-t.from)),i=(o<0?t.top:t.bottom)+u}let d=l.left+s,p=r??e.viewState.heightOracle.textHeight>>1;for(let t=0;;t+=10){let a=i+(p+t)*o,r=Rbe(e,{x:d,y:a},!1,o);if(a<l.top||a>l.bottom||(o<0?r<n:r>n)){let t=e.docView.coordsForChar(r),n=!t||a<t.top?-1:1;return zge.cursor(r,n,void 0,s)}}}(this,e,t,a))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,t=0){return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){return this.readMeasured(),Rbe(this,e,t)}coordsAtPos(e,t=1){this.readMeasured();let a=this.docView.coordsAt(e,t);if(!a||a.left==a.right)return a;let r=this.state.doc.lineAt(e),n=this.bidiSpans(r);return Fve(a,n[yOe.find(n,e-r.from,-1,t)].dir==dOe.LTR==t>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(MOe)||e<this.viewport.from||e>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>Kxe)return xbe(e.length);let t,a=this.textDirectionAt(e.from);for(let r of this.bidiCache)if(r.from==e.from&&r.dir==a&&(r.fresh||bbe(r.isolates,t=Abe(this,e))))return r.order;t||=Abe(this,e);let r=function(e,t,a){if(!e)return[new yOe(0,0,t==hOe?1:0)];if(t==pOe&&!a.length&&!bOe.test(e))return xbe(e.length);if(a.length)for(;e.length>OOe.length;)OOe[OOe.length]=256;let r=[],n=t==pOe?0:1;return Obe(e,n,n,a,0,e.length,r),r}(e.text,a,t);return this.bidiCache.push(new ewe(e.from,e.to,a,t,!0,r)),r}get hasFocus(){return(this.dom.ownerDocument.hasFocus()||Wye.safari&&this.inputState?.lastContextMenu>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{Gve(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((9==e.nodeType?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,t={}){return ROe.of(new IOe("number"==typeof e?zge.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:t}=this.scrollDOM,a=this.viewState.scrollAnchorAt(e);return ROe.of(new IOe(zge.cursor(a.from),"start","start",a.top-e,t,!0))}setTabFocusMode(e){null==e?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:"boolean"==typeof e?this.inputState.tabFocusMode=e?0:-1:0!=this.inputState.tabFocusMode&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return UOe.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return UOe.define(()=>({}),{eventObservers:e})}static theme(e,t){let a=Tve.newName(),r=[Uxe.of(a),XOe.of(uye(`.${a}`,e))];return t&&t.dark&&r.push(zxe.of(!0)),r}static baseTheme(e){return Wge.lowest(XOe.of(uye("."+Hxe,e,Qxe)))}static findFromDOM(e){let t=e.querySelector(".cm-content");return(t&&Rye.get(t)||Rye.get(e))?.rootView?.view||null}},Yxe.styleModule=XOe,Yxe.inputHandler=TOe,Yxe.clipboardInputFilter=COe,Yxe.clipboardOutputFilter=POe,Yxe.scrollHandler=NOe,Yxe.focusChangeEffect=EOe,Yxe.perLineTextDirection=MOe,Yxe.exceptionSink=AOe,Yxe.updateListener=_Oe,Yxe.editable=LOe,Yxe.mouseSelectionStyle=SOe,Yxe.dragMovesSelection=kOe,Yxe.clickAddsSelectionRange=wOe,Yxe.decorations=VOe,Yxe.outerDecorations=QOe,Yxe.atomicRanges=qOe,Yxe.bidiIsolatedRanges=FOe,Yxe.scrollMargins=WOe,Yxe.darkTheme=zxe,Yxe.cspNonce=Zge.define({combine:e=>e.length?e[0]:""}),Yxe.contentAttributes=ZOe,Yxe.editorAttributes=HOe,Yxe.lineWrapping=Yxe.contentAttributes.of({class:"cm-lineWrapping"}),Yxe.announce=cve.define(),Kxe=4096,Jxe={},ewe=class e{constructor(e,t,a,r,n,o){this.from=e,this.to=t,this.dir=a,this.isolates=r,this.fresh=n,this.order=o}static update(t,a){if(a.empty&&!t.some(e=>e.fresh))return t;let r=[],n=t.length?t[t.length-1].dir:dOe.LTR;for(let o=Math.max(0,t.length-10);o<t.length;o++){let i=t[o];i.dir==n&&!a.touchesRange(i.from,i.to)&&r.push(new e(a.mapPos(i.from,1),a.mapPos(i.to,-1),i.dir,i.isolates,!1,i.order))}return r}},twe=Wye.mac?"mac":Wye.windows?"win":Wye.linux?"linux":"key",awe=Wge.default(Yxe.domEventHandlers({keydown:(e,t)=>gye(fye(t.state),e,t,"editor")})),rwe=Zge.define({enables:awe}),nwe=new WeakMap,owe=null,iwe=4e3,swe=null,lwe=!(Wye.ios&&Wye.webkit&&Wye.webkit_version<534),cwe={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}},lwe&&(cwe[".cm-line"].caretColor=cwe[".cm-content"].caretColor="transparent !important"),uwe=class{constructor(e){let{regexp:t,decoration:a,decorate:r,boundary:n,maxLength:o=1e3}=e;if(!t.global)throw RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=t,r)this.addMatch=(e,t,a,n)=>r(n,a,a+e[0].length,e,t);else if("function"==typeof a)this.addMatch=(e,t,r,n)=>{let o=a(e,t,r);o&&n(r,r+e[0].length,o)};else{if(!a)throw RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.addMatch=(e,t,r,n)=>n(r,r+e[0].length,a)}this.boundary=n,this.maxLength=o}createDeco(e){let t=new Ove,a=t.add.bind(t);for(let{from:t,to:r}of function(e,t){let a=e.visibleRanges;if(1==a.length&&a[0].from==e.viewport.from&&a[0].to==e.viewport.to)return a;let r=[];for(let{from:n,to:o}of a)n=Math.max(e.state.doc.lineAt(n).from,n-t),o=Math.min(e.state.doc.lineAt(o).to,o+t),r.length&&r[r.length-1].to>=n?r[r.length-1].to=o:r.push({from:n,to:o});return r}(e,this.maxLength))vye(e.state.doc,this.regexp,t,r,(t,r)=>this.addMatch(r,e,t,a));return t.finish()}updateDeco(e,t){let a=1e9,r=-1;return e.docChanged&&e.changes.iterChanges((t,n,o,i)=>{i>e.view.viewport.from&&o<e.view.viewport.to&&(a=Math.min(o,a),r=Math.max(i,r))}),e.viewportChanged||r-a>1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),a,r):t}updateRange(e,t,a,r){for(let n of e.visibleRanges){let o=Math.max(n.from,a),i=Math.min(n.to,r);if(i>o){let a=e.state.doc.lineAt(o),r=a.to<i?e.state.doc.lineAt(i):a,s=Math.max(n.from,a.from),l=Math.min(n.to,r.to);if(this.boundary){for(;o>a.from;o--)if(this.boundary.test(a.text[o-1-a.from])){s=o;break}for(;i<r.to;i++)if(this.boundary.test(r.text[i-r.from])){l=i;break}}let c,u=[],d=(e,t,a)=>u.push(a.range(e,t));if(a==r)for(this.regexp.lastIndex=s-a.from;(c=this.regexp.exec(a.text))&&c.index<l-a.from;)this.addMatch(c,e,c.index+a.from,d);else vye(e.state.doc,this.regexp,s,l,(t,a)=>this.addMatch(a,e,t,d));t=t.update({filterFrom:s,filterTo:l,filter:(e,t)=>e<s||t>l,add:u})}}return t}},dwe=null==/x/.unicode?"g":"gu",pwe=RegExp("[\0-\b\n--­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]",dwe),hwe={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"},mwe=null,fwe=Zge.define({combine(e){let t=bge(e,{render:null,specialChars:pwe,addSpecialChars:null});return(t.replaceTabs=!function(){if(null==mwe&&typeof document<"u"&&document.body){let e=document.body.style;mwe=null!=(e.tabSize??e.MozTabSize)}return mwe||!1}())&&(t.specialChars=RegExp("\t|"+t.specialChars.source,dwe)),t.addSpecialChars&&(t.specialChars=RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,dwe)),t}}),gwe=null,vwe="•",bwe=class extends eOe{constructor(e,t){super(),this.options=e,this.code=t}eq(e){return e.code==this.code}toDOM(e){let t=function(e){return e>=32?vwe:10==e?"␤":String.fromCharCode(9216+e)}(this.code),a=e.state.phrase("Control character")+" "+(hwe[this.code]||"0x"+this.code.toString(16)),r=this.options.render&&this.options.render(this.code,a,t);if(r)return r;let n=document.createElement("span");return n.textContent=t,n.title=a,n.setAttribute("aria-label",a),n.className="cm-specialChar",n}ignoreEvent(){return!1}},ywe=class extends eOe{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent="\t",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}},Owe=class extends eOe{constructor(e){super(),this.content=e}toDOM(e){let t=document.createElement("span");return t.className="cm-placeholder",t.style.pointerEvents="none",t.appendChild("string"==typeof this.content?document.createTextNode(this.content):"function"==typeof this.content?this.content(e):this.content.cloneNode(!0)),"string"==typeof this.content?t.setAttribute("aria-label","placeholder "+this.content):t.setAttribute("aria-hidden","true"),t}coordsAt(e){let t=e.firstChild?zve(e.firstChild):[];if(!t.length)return null;let a=window.getComputedStyle(e.parentNode),r=Fve(t[0],"rtl"!=a.direction),n=parseInt(a.lineHeight);return r.bottom-r.top>1.5*n?{left:r.left,right:r.right,top:r.top,bottom:r.top+n}:r}ignoreEvent(){return!1}},xwe="-10000px",wwe=class{constructor(e,t,a,r){this.facet=t,this.createTooltipView=a,this.removeTooltipView=r,this.input=e.state.facet(t),this.tooltips=this.input.filter(e=>e);let n=null;this.tooltipViews=this.tooltips.map(e=>n=a(e,n))}update(e,t){var a;let r=e.state.facet(this.facet),n=r.filter(e=>e);if(r===this.input){for(let t of this.tooltipViews)t.update&&t.update(e);return!1}let o=[],i=t?[]:null;for(let a=0;a<n.length;a++){let r=n[a],s=-1;if(r){for(let e=0;e<this.tooltips.length;e++){let t=this.tooltips[e];t&&t.create==r.create&&(s=e)}if(s<0)o[a]=this.createTooltipView(r,a?o[a-1]:null),i&&(i[a]=!!r.above);else{let r=o[a]=this.tooltipViews[s];i&&(i[a]=t[s]),r.update&&r.update(e)}}}for(let e of this.tooltipViews)o.indexOf(e)<0&&(this.removeTooltipView(e),null==(a=e.destroy)||a.call(e));return t&&(i.forEach((e,a)=>t[a]=e),t.length=i.length),this.input=r,this.tooltips=n,this.tooltipViews=o,!0}},kwe=Zge.define({combine:e=>({position:Wye.ios?"absolute":e.find(e=>e.position)?.position||"fixed",parent:e.find(e=>e.parent)?.parent||null,tooltipSpace:e.find(e=>e.tooltipSpace)?.tooltipSpace||yye})}),Swe=new WeakMap,Awe=UOe.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(kwe);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver="function"==typeof ResizeObserver?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new wwe(e,Ewe,(e,t)=>this.createTooltip(e,t),e=>{this.resizeObserver&&this.resizeObserver.unobserve(e.dom),e.dom.remove()}),this.above=this.manager.tooltips.map(e=>!!e.above),this.intersectionObserver="function"==typeof IntersectionObserver?new IntersectionObserver(e=>{Date.now()>this.lastTransaction-50&&e.length>0&&e[e.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let a=t||e.geometryChanged,r=e.state.facet(kwe);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let e of this.manager.tooltipViews)e.dom.style.position=this.position;a=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let e of this.manager.tooltipViews)this.container.appendChild(e.dom);a=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);a&&this.maybeMeasure()}createTooltip(e,t){let a=e.create(this.view),r=t?t.dom:null;if(a.dom.classList.add("cm-tooltip"),e.arrow&&!a.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let e=document.createElement("div");e.className="cm-tooltip-arrow",a.dom.appendChild(e)}return a.dom.style.position=this.position,a.dom.style.top=xwe,a.dom.style.left="0px",this.container.insertBefore(a.dom,r),a.mount&&a.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(a.dom),a}destroy(){var e,t,a;this.view.win.removeEventListener("resize",this.measureSoon);for(let t of this.manager.tooltipViews)t.dom.remove(),null==(e=t.destroy)||e.call(t);this.parent&&this.container.remove(),null==(t=this.resizeObserver)||t.disconnect(),null==(a=this.intersectionObserver)||a.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,a=!1;if("fixed"==this.position&&this.manager.tooltipViews.length){let{dom:e}=this.manager.tooltipViews[0];if(Wye.gecko)a=e.offsetParent!=this.container.ownerDocument.body;else if(e.style.top==xwe&&"0px"==e.style.left){let t=e.getBoundingClientRect();a=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}}if(a||"absolute"==this.position)if(this.parent){let a=this.parent.getBoundingClientRect();a.width&&a.height&&(e=a.width/this.parent.offsetWidth,t=a.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);let r=this.view.scrollDOM.getBoundingClientRect(),n=_be(this.view);return{visible:{left:r.left+n.left,top:r.top+n.top,right:r.right-n.right,bottom:r.bottom-n.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((e,t)=>{let a=this.manager.tooltipViews[t];return a.getCoords?a.getCoords(e.pos):this.view.coordsAtPos(e.pos)}),size:this.manager.tooltipViews.map(({dom:e})=>e.getBoundingClientRect()),space:this.view.state.facet(kwe).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:a}}writeMeasure(e){if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let e of this.manager.tooltipViews)e.dom.style.position="absolute"}let{visible:t,space:a,scaleX:r,scaleY:n}=e,o=[];for(let i=0;i<this.manager.tooltips.length;i++){let s=this.manager.tooltips[i],l=this.manager.tooltipViews[i],{dom:c}=l,u=e.pos[i],d=e.size[i];if(!u||!1!==s.clip&&(u.bottom<=Math.max(t.top,a.top)||u.top>=Math.min(t.bottom,a.bottom)||u.right<Math.max(t.left,a.left)-.1||u.left>Math.min(t.right,a.right)+.1)){c.style.top=xwe;continue}let p=s.arrow?l.dom.querySelector(".cm-tooltip-arrow"):null,h=p?7:0,m=d.right-d.left,f=Swe.get(l)??d.bottom-d.top,g=l.offset||Twe,v=this.view.textDirection==dOe.LTR,b=d.width>a.right-a.left?v?a.left:a.right-d.width:v?Math.max(a.left,Math.min(u.left-(p?14:0)+g.x,a.right-m)):Math.min(Math.max(a.left,u.left-m+(p?14:0)-g.x),a.right-m),y=this.above[i];!s.strictSide&&(y?u.top-f-h-g.y<a.top:u.bottom+f+h+g.y>a.bottom)&&y==a.bottom-u.bottom>u.top-a.top&&(y=this.above[i]=!y);let O=(y?u.top-a.top:a.bottom-u.bottom)-h;if(O<f&&!1!==l.resize){if(O<this.view.defaultLineHeight){c.style.top=xwe;continue}Swe.set(l,f),c.style.height=(f=O)/n+"px"}else c.style.height&&(c.style.height="");let x=y?u.top-f-h-g.y:u.bottom+h+g.y,w=b+m;if(!0!==l.overlap)for(let e of o)e.left<w&&e.right>b&&e.top<x+f&&e.bottom>x&&(x=y?e.top-f-2-h:e.bottom+h+2);if("absolute"==this.position?(c.style.top=(x-e.parent.top)/n+"px",Oye(c,(b-e.parent.left)/r)):(c.style.top=x/n+"px",Oye(c,b/r)),p){let e=u.left+(v?g.x:-g.x)-(b+14-7);p.style.left=e/r+"px"}!0!==l.overlap&&o.push({left:b,top:x,right:w,bottom:x+f}),c.classList.toggle("cm-tooltip-above",y),c.classList.toggle("cm-tooltip-below",!y),l.positioned&&l.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=xwe}},{eventObservers:{scroll(){this.maybeMeasure()}}}),_we=Yxe.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),Twe={x:0,y:0},Ewe=Zge.define({enables:[Awe,_we]}),Cwe=Zge.define({combine:e=>e.reduce((e,t)=>e.concat(t),[])}),Pwe=class e{static create(t){return new e(t)}constructor(e){this.view=e,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new wwe(e,Cwe,(e,t)=>this.createHostedView(e,t),e=>e.dom.remove())}createHostedView(e,t){let a=e.create(this.view);return a.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(a.dom,t?t.dom.nextSibling:this.dom.firstChild),this.mounted&&a.mount&&a.mount(this.view),a}mount(e){for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}positioned(e){for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){this.manager.update(e)}destroy(){var e;for(let t of this.manager.tooltipViews)null==(e=t.destroy)||e.call(t)}passProp(e){let t;for(let a of this.manager.tooltipViews){let r=a[e];if(void 0!==r)if(void 0===t)t=r;else if(t!==r)return}return t}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}},Mwe=Ewe.compute([Cwe],e=>{let t=e.facet(Cwe);return 0===t.length?null:{pos:Math.min(...t.map(e=>e.pos)),end:Math.max(...t.map(e=>e.end??e.pos)),create:Pwe.create,above:t[0].above,arrow:t.some(e=>e.arrow)}}),$we=class{constructor(e,t,a,r,n){this.view=e,this.source=t,this.field=a,this.setHover=r,this.hoverTime=n,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:e.dom,time:0},this.checkHover=this.checkHover.bind(this),e.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),e.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let e=Date.now()-this.lastMove.time;e<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-e):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:e,lastMove:t}=this,a=e.docView.nearest(t.target);if(!a)return;let r,n=1;if(a instanceof Yye)r=a.posAtStart;else{if(r=e.posAtCoords(t),null==r)return;let a=e.coordsAtPos(r);if(!a||t.y<a.top||t.y>a.bottom||t.x<a.left-e.defaultCharacterWidth||t.x>a.right+e.defaultCharacterWidth)return;let o=e.bidiSpans(e.state.doc.lineAt(r)).find(e=>e.from<=r&&e.to>=r),i=o&&o.dir==dOe.RTL?-1:1;n=t.x<a.left?-i:i}let o=this.source(e,r,n);if(o?.then){let t=this.pending={pos:r};o.then(a=>{this.pending==t&&(this.pending=null,a&&(!Array.isArray(a)||a.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(a)?a:[a])}))},t=>Sbe(e.state,t,"hover tooltip"))}else o&&(!Array.isArray(o)||o.length)&&e.dispatch({effects:this.setHover.of(Array.isArray(o)?o:[o])})}get tooltip(){let e=this.view.plugin(Awe),t=e?e.manager.tooltips.findIndex(e=>e.create==Pwe.create):-1;return t>-1?e.manager.tooltipViews[t]:null}mousemove(e){this.lastMove={x:e.clientX,y:e.clientY,target:e.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:t,tooltip:a}=this;if(t.length&&a&&!function(e,t){let a,{left:r,right:n,top:o,bottom:i}=e.getBoundingClientRect();if(a=e.querySelector(".cm-tooltip-arrow")){let e=a.getBoundingClientRect();o=Math.min(e.top,o),i=Math.max(e.bottom,i)}return t.clientX>=r-Nwe&&t.clientX<=n+Nwe&&t.clientY>=o-Nwe&&t.clientY<=i+Nwe}(a.dom,e)||this.pending){let{pos:a}=t[0]||this.pending,r=t[0]?.end??a;(a==r?this.view.posAtCoords(this.lastMove)!=a:!function(e,t,a,r,n){let o=e.scrollDOM.getBoundingClientRect(),i=e.documentTop+e.documentPadding.top+e.contentHeight;if(o.left>r||o.right<r||o.top>n||Math.min(o.bottom,i)<n)return!1;let s=e.posAtCoords({x:r,y:n},!1);return s>=t&&s<=a}(this.view,a,r,e.clientX,e.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(e){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:t}=this;if(t.length){let{tooltip:t}=this;t&&t.dom.contains(e.relatedTarget)?this.watchTooltipLeave(t.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(e){let t=a=>{e.removeEventListener("mouseleave",t),this.active.length&&!this.view.dom.contains(a.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};e.addEventListener("mouseleave",t)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}},Nwe=4,Iwe=cve.define(),Rwe=Zge.define({combine(e){let t,a;for(let r of e)t||=r.topContainer,a||=r.bottomContainer;return{topContainer:t,bottomContainer:a}}}),Dwe=UOe.fromClass(class{constructor(e){this.input=e.state.facet(Bwe),this.specs=this.input.filter(e=>e),this.panels=this.specs.map(t=>t(e));let t=e.state.facet(Rwe);this.top=new Lwe(e,!0,t.topContainer),this.bottom=new Lwe(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(e=>e.top)),this.bottom.sync(this.panels.filter(e=>!e.top));for(let e of this.panels)e.dom.classList.add("cm-panel"),e.mount&&e.mount()}update(e){let t=e.state.facet(Rwe);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new Lwe(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new Lwe(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let a=e.state.facet(Bwe);if(a!=this.input){let t=a.filter(e=>e),r=[],n=[],o=[],i=[];for(let a of t){let t,s=this.specs.indexOf(a);s<0?(t=a(e.view),i.push(t)):(t=this.panels[s],t.update&&t.update(e)),r.push(t),(t.top?n:o).push(t)}this.specs=t,this.panels=r,this.top.sync(n),this.bottom.sync(o);for(let e of i)e.dom.classList.add("cm-panel"),e.mount&&e.mount()}else for(let t of this.panels)t.update&&t.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>Yxe.scrollMargins.of(t=>{let a=t.plugin(e);return a&&{top:a.top.scrollMargin(),bottom:a.bottom.scrollMargin()}})}),Lwe=class{constructor(e,t,a){this.view=e,this.top=t,this.container=a,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(0==this.panels.length)return void(this.dom&&=void this.dom.remove());if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let e=this.container||this.view.dom;e.insertBefore(this.dom,this.top?e.firstChild:null)}let e=this.dom.firstChild;for(let t of this.panels)if(t.dom.parentNode==this.dom){for(;e!=t.dom;)e=kye(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=kye(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(this.container&&this.classes!=this.view.themeClasses){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}},Bwe=Zge.define({enables:Dwe}),jwe=class extends gve{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}},jwe.prototype.elementClass="",jwe.prototype.toDOM=void 0,jwe.prototype.mapMode=Dge.TrackBefore,jwe.prototype.startSide=jwe.prototype.endSide=-1,jwe.prototype.point=!0,Uwe=Zge.define(),zwe=Zge.define(),Hwe={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>yve.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Zwe=Zge.define(),Vwe=Zge.define({combine:e=>e.some(e=>e)}),Qwe=UOe.fromClass(class{constructor(e){this.view=e,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(Zwe).map(t=>new Fwe(e,t));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!e.state.facet(Vwe),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}update(e){if(this.updateGutters(e)){let t=this.prevViewport,a=e.view.viewport,r=Math.min(t.to,a.to)-Math.max(t.from,a.from);this.syncGutters(r<.8*(a.to-a.from))}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(Vwe)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&this.dom.remove();let a=yve.iter(this.view.state.facet(Uwe),this.view.viewport.from),r=[],n=this.gutters.map(e=>new qwe(e,this.view.viewport,-this.view.documentPadding.top));for(let e of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(e.type)){let t=!0;for(let o of e.type)if(o.type==tOe.Text&&t){Tye(a,r,o.from);for(let e of n)e.line(this.view,o,r);t=!1}else if(o.widget)for(let e of n)e.widget(this.view,o)}else if(e.type==tOe.Text){Tye(a,r,e.from);for(let t of n)t.line(this.view,e,r)}else if(e.widget)for(let t of n)t.widget(this.view,e);for(let e of n)e.finish();e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){let t=e.startState.facet(Zwe),a=e.state.facet(Zwe),r=e.docChanged||e.heightChanged||e.viewportChanged||!yve.eq(e.startState.facet(Uwe),e.state.facet(Uwe),e.view.viewport.from,e.view.viewport.to);if(t==a)for(let t of this.gutters)t.update(e)&&(r=!0);else{r=!0;let n=[];for(let r of a){let a=t.indexOf(r);a<0?n.push(new Fwe(this.view,r)):(this.gutters[a].update(e),n.push(this.gutters[a]))}for(let e of this.gutters)e.dom.remove(),n.indexOf(e)<0&&e.destroy();for(let e of n)this.dom.appendChild(e.dom);this.gutters=n}return r}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove()}},{provide:e=>Yxe.scrollMargins.of(t=>{let a=t.plugin(e);return a&&0!=a.gutters.length&&a.fixed?t.textDirection==dOe.LTR?{left:a.dom.offsetWidth*t.scaleX}:{right:a.dom.offsetWidth*t.scaleX}:null})}),qwe=class{constructor(e,t,a){this.gutter=e,this.height=a,this.i=0,this.cursor=yve.iter(e.markers,t.from)}addElement(e,t,a){let{gutter:r}=this,n=(t.top-this.height)/e.scaleY,o=t.height/e.scaleY;if(this.i==r.elements.length){let t=new Wwe(e,o,n,a);r.elements.push(t),r.dom.appendChild(t.dom)}else r.elements[this.i].update(e,o,n,a);this.height=t.bottom,this.i++}line(e,t,a){let r=[];Tye(this.cursor,r,t.from),a.length&&(r=r.concat(a));let n=this.gutter.config.lineMarker(e,t,r);n&&r.unshift(n);let o=this.gutter;0==r.length&&!o.config.renderEmptyElements||this.addElement(e,t,r)}widget(e,t){let a=this.gutter.config.widgetMarker(e,t.widget,t),r=a?[a]:null;for(let a of e.state.facet(zwe)){let n=a(e,t.widget,t);n&&(r||=[]).push(n)}r&&this.addElement(e,t,r)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let t=e.elements.pop();e.dom.removeChild(t.dom),t.destroy()}}},Fwe=class{constructor(e,t){this.view=e,this.config=t,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let a in t.domEventHandlers)this.dom.addEventListener(a,r=>{let n,o=r.target;if(o!=this.dom&&this.dom.contains(o)){for(;o.parentNode!=this.dom;)o=o.parentNode;let e=o.getBoundingClientRect();n=(e.top+e.bottom)/2}else n=r.clientY;let i=e.lineBlockAtHeight(n-e.documentTop);t.domEventHandlers[a](e,i,r)&&r.preventDefault()});this.markers=_ye(t.markers(e)),t.initialSpacer&&(this.spacer=new Wwe(e,0,0,[t.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let t=this.markers;if(this.markers=_ye(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let t=this.config.updateSpacer(this.spacer.markers[0],e);t!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[t])}let a=e.view.viewport;return!yve.eq(this.markers,t,a.from,a.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)}destroy(){for(let e of this.elements)e.destroy()}},Wwe=class{constructor(e,t,a,r){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,t,a,r)}update(e,t,a,r){this.height!=t&&(this.height=t,this.dom.style.height=t+"px"),this.above!=a&&(this.dom.style.marginTop=(this.above=a)?a+"px":""),function(e,t){if(e.length!=t.length)return!1;for(let a=0;a<e.length;a++)if(!e[a].compare(t[a]))return!1;return!0}(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){let a="cm-gutterElement",r=this.dom.firstChild;for(let n=0,o=0;;){let i=o,s=n<t.length?t[n++]:null,l=!1;if(s){let e=s.elementClass;e&&(a+=" "+e);for(let e=o;e<this.markers.length;e++)if(this.markers[e].compare(s)){i=e,l=!0;break}}else i=this.markers.length;for(;o<i;){let e=this.markers[o++];if(e.toDOM){e.destroy(r);let t=r.nextSibling;r.remove(),r=t}}if(!s)break;s.toDOM&&(l?r=r.nextSibling:this.dom.insertBefore(s.toDOM(e),r)),l&&o++}this.dom.className=a,this.markers=t}destroy(){this.setMarkers(null,[])}},Xwe=Zge.define(),Gwe=Zge.define(),Ywe=Zge.define({combine:e=>bge(e,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){let a=Object.assign({},e);for(let e in t){let r=a[e],n=t[e];a[e]=r?(e,t,a)=>r(e,t,a)||n(e,t,a):n}return a}})}),Kwe=class extends jwe{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}},Jwe=Zwe.compute([Ywe],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers:e=>e.state.facet(Xwe),lineMarker:(e,t,a)=>a.some(e=>e.toDOM)?null:new Kwe(Eye(e,e.state.doc.lineAt(t.from).number)),widgetMarker:(e,t,a)=>{for(let r of e.state.facet(Gwe)){let n=r(e,t,a);if(n)return n}return null},lineMarkerChange:e=>e.startState.facet(Ywe)!=e.state.facet(Ywe),initialSpacer:e=>new Kwe(Eye(e,Cye(e.state.doc.lines))),updateSpacer(e,t){let a=Eye(t.view,Cye(t.view.state.doc.lines));return a==e.number?e:new Kwe(a)},domEventHandlers:e.facet(Ywe).domEventHandlers}))});function tke(e,t,a,r){switch(e){case-2:return a<t;case-1:return r>=t&&a<t;case 0:return a<t&&r>t;case 1:return a<=t&&r>t;case 2:return r>t;case 4:return!0}}function ake(e,t,a,r){for(;e.from==e.to||(a<1?e.from>=t:e.from>t)||(a>-1?e.to<=t:e.to<t);){let t=!r&&e instanceof $ke&&e.index<0?null:e.parent;if(!t)return e;e=t}let n=r?0:Tke.IgnoreOverlays;if(r)for(let r=e,o=r.parent;o;r=o,o=r.parent)r instanceof $ke&&r.index<0&&o.enter(t,a,n)?.from!=r.from&&(e=o);for(;;){let r=e.enter(t,a,n);if(!r)return e;e=r}}function rke(e,t,a,r){let n=e.cursor(),o=[];if(!n.firstChild())return o;if(null!=a)for(let e=!1;!e;)if(e=n.type.is(a),!n.nextSibling())return o;for(;;){if(null!=r&&n.type.is(r))return o;if(n.type.is(t)&&o.push(n.node),!n.nextSibling())return null==r?o:[]}}function nke(e,t,a=t.length-1){for(let r=e;a>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(t[a]&&t[a]!=r.name)return!1;a--}}return!0}function oke(e){if(!e.length)return null;let t=0,a=e[0];for(let r=1;r<e.length;r++){let n=e[r];(n.from>a.from||n.to<a.to)&&(a=n,t=r)}let r=a instanceof $ke&&a.index<0?null:a.parent,n=e.slice();return r?n[t]=r:n.splice(t,1),new Rke(n,a)}function ike(e){return e.children.some(e=>e instanceof Pke||!e.type.isAnonymous||ike(e))}function ske(e){let{buffer:t,nodeSet:a,maxBufferLength:r=vke,reused:n=[],minRepeatType:o=a.types.length}=e,i=Array.isArray(t)?new Cke(t,t.length):t,s=a.types,l=0,c=0;function u(e,t,f,g,v,b){let{id:y,start:O,end:x,size:w}=i,k=c,S=l;for(;w<0;){if(i.next(),-1==w){let t=n[y];return f.push(t),void g.push(O-e)}if(-3==w)return void(l=y);if(-4==w)return void(c=y);throw RangeError(`Unrecognized record size: ${w}`)}let A,_,T=s[y],E=O-e;if(x-O<=r&&(_=function(e,t){let a=i.fork(),n=0,s=0,l=0,c=a.end-r,u={size:0,start:0,skip:0};e:for(let r=a.pos-e;a.pos>r;){let e=a.size;if(a.id==t&&e>=0){u.size=n,u.start=s,u.skip=l,l+=4,n+=4,a.next();continue}let i=a.pos-e;if(e<0||i<r||a.start<c)break;let d=a.id>=o?4:0,p=a.start;for(a.next();a.pos>i;){if(a.size<0){if(-3!=a.size)break e;d+=4}else a.id>=o&&(d+=4);a.next()}s=p,n+=e,l+=d}return(t<0||n==e)&&(u.size=n,u.start=s,u.skip=l),u.size>4?u:void 0}(i.pos-t,v))){let t=new Uint16Array(_.size-_.skip),r=i.pos-_.size,n=t.length;for(;i.pos>r;)n=m(_.start,t,n);A=new Pke(t,x-_.start,a),E=_.start-e}else{let e=i.pos-w;i.next();let t=[],a=[],n=y>=o?y:-1,s=0,l=x;for(;i.pos>e;)n>=0&&i.id==n&&i.size>=0?(i.end<=l-r&&(p(t,a,O,s,i.end,l,n,k,S),s=t.length,l=i.end),i.next()):b>2500?d(O,e,t,a):u(O,e,t,a,n,b+1);if(n>=0&&s>0&&s<t.length&&p(t,a,O,s,O,l,n,k,S),t.reverse(),a.reverse(),n>-1&&s>0){let e=function(e,t){return(a,r,n)=>{let o,i,s=0,l=a.length-1;if(l>=0&&(o=a[l])instanceof Eke){if(!l&&o.type==e&&o.length==n)return o;(i=o.prop(Oke.lookAhead))&&(s=r[l]+o.length+i)}return h(e,a,r,n,s,t)}}(T,S);A=cke(T,t,a,0,t.length,0,x-O,e,e)}else A=h(T,t,a,x-O,k-x,S)}f.push(A),g.push(E)}function d(e,t,n,o){let s=[],l=0,c=-1;for(;i.pos>t;){let{id:e,start:t,end:a,size:n}=i;if(n>4)i.next();else{if(c>-1&&t<c)break;c<0&&(c=a-r),s.push(e,t,a),l++,i.next()}}if(l){let t=new Uint16Array(4*l),r=s[s.length-2];for(let e=s.length-3,a=0;e>=0;e-=3)t[a++]=s[e],t[a++]=s[e+1]-r,t[a++]=s[e+2]-r,t[a++]=a;n.push(new Pke(t,s[2]-r,a)),o.push(r-e)}}function p(e,t,r,n,o,i,s,l,c){let u=[],d=[];for(;e.length>n;)u.push(e.pop()),d.push(t.pop()+r-o);e.push(h(a.types[s],u,d,i-o,l-i,c)),t.push(o-r)}function h(e,t,a,r,n,o,i){if(o){let e=[Oke.contextHash,o];i=i?[e].concat(i):[e]}if(n>25){let e=[Oke.lookAhead,n];i=i?[e].concat(i):[e]}return new Eke(e,t,a,r,i)}function m(e,t,a){let{id:r,start:n,end:s,size:u}=i;if(i.next(),u>=0&&r<o){let o=a;if(u>4){let r=i.pos-(u-4);for(;i.pos>r;)a=m(e,t,a)}t[--a]=o,t[--a]=s-e,t[--a]=n-e,t[--a]=r}else-3==u?l=r:-4==u&&(c=r);return a}let f=[],g=[];for(;i.pos>0;)u(e.start||0,e.bufferStart||0,f,g,-1,0);let v=e.length??(f.length?g[0]+f[0].length:0);return new Eke(s[e.topID],f.reverse(),g.reverse(),v)}function lke(e,t){if(!e.isAnonymous||t instanceof Pke||t.type!=e)return 1;let a=Lke.get(t);if(null==a){a=1;for(let r of t.children){if(r.type!=e||!(r instanceof Eke)){a=1;break}a+=lke(e,r)}Lke.set(t,a)}return a}function cke(e,t,a,r,n,o,i,s,l){let c=0;for(let a=r;a<n;a++)c+=lke(e,t[a]);let u=Math.ceil(1.5*c/8),d=[],p=[];return function t(a,r,n,i,s){for(let c=n;c<i;){let n=c,h=r[c],m=lke(e,a[c]);for(c++;c<i;c++){let t=lke(e,a[c]);if(m+t>=u)break;m+=t}if(c==n+1){if(m>u){let e=a[n];t(e.children,e.positions,0,e.children.length,r[n]+s);continue}d.push(a[n])}else{let t=r[c-1]+a[c-1].length-h;d.push(cke(e,a,r,n,c,h,t,null,l))}p.push(h+s-o)}}(t,a,r,n,0),(s||l)(d,p,i)}function uke(e){if(!e.length||e.some(e=>e.from>=e.to))throw RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}function dke(e,t,a){for(let r of e){if(r.from>=a)break;if(r.to>t)return r.from<=t&&r.to>=a?2:1}return 0}function pke(e,t,a,r,n,o){if(t<a){let i=e.buffer[t+1];r.push(e.slice(t,a,i)),n.push(i-o)}}function hke(e){let{node:t}=e,a=[],r=t.context.buffer;do{a.push(e.index),e.parent()}while(!e.tree);let n=e.tree,o=n.children.indexOf(r),i=n.children[o],s=i.buffer,l=[o];n.children[o]=function e(r,n,o,c,u,d){let p=a[d],h=[],m=[];pke(i,r,p,h,m,c);let f=s[p+1],g=s[p+2];l.push(h.length);let v=d?e(p+4,s[p+3],i.set.types[s[p]],f,g-f,d-1):t.toTree();return h.push(v),m.push(f-c),pke(i,s[p+3],n,h,m,c),new Eke(o,h,m,u)}(0,s.length,kke.none,0,i.length,a.length-1);for(let t of l){let a=e.tree.children[t],r=e.tree.positions[t];e.yield(new $ke(a,r+e.from,t,e._tree))}}function mke(e,t){let a=null,r=t;for(let n=1,o=0;n<e.length;n++){let i=e[n-1].to,s=e[n].from;for(;o<r.length;o++){let e=r[o];if(e.from>=s)break;e.to<=i||(a||(r=a=t.slice()),e.from<i?(a[o]=new yke(e.from,i),e.to>s&&a.splice(o+1,0,new yke(s,e.to))):e.to>s?a[o--]=new yke(s,e.to):a.splice(o--,1))}}return r}function fke(e,t,a,r){let n=0,o=0,i=!1,s=!1,l=-1e9,c=[];for(;;){let u=n==e.length?1e9:i?e[n].to:e[n].from,d=o==t.length?1e9:s?t[o].to:t[o].from;if(i!=s){let e=Math.max(l,a),t=Math.min(u,d,r);e<t&&c.push(new yke(e,t))}if(l=Math.min(u,d),1e9==l)break;u==l&&(i?(i=!1,n++):i=!0),d==l&&(s?(s=!1,o++):s=!0)}return c}function gke(e,t){let a=[];for(let{pos:r,mount:n,frag:o}of e){let e=r+(n.overlay?n.overlay[0].from:0),i=e+n.tree.length,s=Math.max(o.from,e),l=Math.min(o.to,i);if(n.overlay){let i=fke(t,n.overlay.map(e=>new yke(e.from+r,e.to+r)),s,l);for(let t=0,r=s;;t++){let s=t==i.length,c=s?l:i[t].from;if(c>r&&a.push(new jke(r,c,n.tree,-e,o.from>=r||o.openStart,o.to<=c||o.openEnd)),s)break;r=i[t].to}}else a.push(new jke(s,l,n.tree,-e,o.from>=e||o.openStart,o.to<=i||o.openEnd))}return a}var vke,bke,yke,Oke,xke,wke,kke,Ske,Ake,_ke,Tke,Eke,Cke,Pke,Mke,$ke,Nke,Ike,Rke,Dke,Lke,Bke,jke,Uke,zke,Hke,Zke,Vke,Qke,qke,Fke,Wke=V(()=>{vke=1024,bke=0,yke=class{constructor(e,t){this.from=e,this.to=t}},Oke=class{constructor(e={}){this.id=bke++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw RangeError("Can't add per-node props to node types");return"function"!=typeof e&&(e=kke.match(e)),t=>{let a=e(t);return void 0===a?null:[this,a]}}},Oke.closedBy=new Oke({deserialize:e=>e.split(" ")}),Oke.openedBy=new Oke({deserialize:e=>e.split(" ")}),Oke.group=new Oke({deserialize:e=>e.split(" ")}),Oke.isolate=new Oke({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw RangeError("Invalid value for isolate: "+e);return e||"auto"}}),Oke.contextHash=new Oke({perNode:!0}),Oke.lookAhead=new Oke({perNode:!0}),Oke.mounted=new Oke({perNode:!0}),xke=class{constructor(e,t,a){this.tree=e,this.overlay=t,this.parser=a}static get(e){return e&&e.props&&e.props[Oke.mounted.id]}},wke=Object.create(null),kke=class e{constructor(e,t,a,r=0){this.name=e,this.props=t,this.id=a,this.flags=r}static define(t){let a=t.props&&t.props.length?Object.create(null):wke,r=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(null==t.name?8:0),n=new e(t.name||"",a,t.id,r);if(t.props)for(let e of t.props)if(Array.isArray(e)||(e=e(n)),e){if(e[0].perNode)throw RangeError("Can't store a per-node prop on a node type");a[e[0].id]=e[1]}return n}prop(e){return this.props[e.id]}get isTop(){return(1&this.flags)>0}get isSkipped(){return(2&this.flags)>0}get isError(){return(4&this.flags)>0}get isAnonymous(){return(8&this.flags)>0}is(e){if("string"==typeof e){if(this.name==e)return!0;let t=this.prop(Oke.group);return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){let t=Object.create(null);for(let a in e)for(let r of a.split(" "))t[r]=e[a];return e=>{for(let a=e.prop(Oke.group),r=-1;r<(a?a.length:0);r++){let n=t[r<0?e.name:a[r]];if(n)return n}}}},kke.none=new kke("",Object.create(null),0,8),Ske=class e{constructor(e){this.types=e;for(let t=0;t<e.length;t++)if(e[t].id!=t)throw RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...t){let a=[];for(let e of this.types){let r=null;for(let a of t){let t=a(e);t&&(r||=Object.assign({},e.props),r[t[0].id]=t[1])}a.push(r?new kke(e.name,r,e.id,e.flags):e)}return new e(a)}},Ake=new WeakMap,_ke=new WeakMap,function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays"}(Tke||={}),Eke=class e{constructor(e,t,a,r,n){if(this.type=e,this.children=t,this.positions=a,this.length=r,this.props=null,n&&n.length){this.props=Object.create(null);for(let[e,t]of n)this.props["number"==typeof e?e:e.id]=t}}toString(){let e=xke.get(this);if(e&&!e.overlay)return e.tree.toString();let t="";for(let e of this.children){let a=e.toString();a&&(t&&(t+=","),t+=a)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(t.length?"("+t+")":""):t}cursor(e=0){return new Dke(this.topNode,e)}cursorAt(e,t=0,a=0){let r=new Dke(Ake.get(this)||this.topNode);return r.moveTo(e,t),Ake.set(this,r._tree),r}get topNode(){return new $ke(this,0,0,null)}resolve(e,t=0){let a=ake(Ake.get(this)||this.topNode,e,t,!1);return Ake.set(this,a),a}resolveInner(e,t=0){let a=ake(_ke.get(this)||this.topNode,e,t,!0);return _ke.set(this,a),a}resolveStack(e,t=0){return function(e,t,a){let r=e.resolveInner(t,a),n=null;for(let e=r instanceof $ke?r:r.context.parent;e;e=e.parent)if(e.index<0){let o=e.parent;(n||=[r]).push(o.resolve(t,a)),e=o}else{let o=xke.get(e.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let i=new $ke(o.tree,o.overlay[0].from+e.from,-1,e);(n||=[r]).push(ake(i,t,a,!1))}}return n?oke(n):r}(this,e,t)}iterate(e){let{enter:t,leave:a,from:r=0,to:n=this.length}=e,o=e.mode||0,i=(o&Tke.IncludeAnonymous)>0;for(let e=this.cursor(o|Tke.IncludeAnonymous);;){let o=!1;if(e.from<=n&&e.to>=r&&(!i&&e.type.isAnonymous||!1!==t(e))){if(e.firstChild())continue;o=!0}for(;o&&a&&(i||!e.type.isAnonymous)&&a(e),!e.nextSibling();){if(!e.parent())return;o=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let t in this.props)e.push([+t,this.props[t]]);return e}balance(t={}){return this.children.length<=8?this:cke(kke.none,this.children,this.positions,0,this.children.length,0,this.length,(t,a,r)=>new e(this.type,t,a,r,this.propValues),t.makeTree||((t,a,r)=>new e(kke.none,t,a,r)))}static build(e){return ske(e)}},Eke.empty=new Eke(kke.none,[],[],0),Cke=class e{constructor(e,t){this.buffer=e,this.index=t}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new e(this.buffer,this.index)}},Pke=class e{constructor(e,t,a){this.buffer=e,this.length=t,this.set=a}get type(){return kke.none}toString(){let e=[];for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3];return e.join(",")}childString(e){let t=this.buffer[e],a=this.buffer[e+3],r=this.set.types[t],n=r.name;if(/\W/.test(n)&&!r.isError&&(n=JSON.stringify(n)),a==(e+=4))return n;let o=[];for(;e<a;)o.push(this.childString(e)),e=this.buffer[e+3];return n+"("+o.join(",")+")"}findChild(e,t,a,r,n){let{buffer:o}=this,i=-1;for(let s=e;s!=t&&!(tke(n,r,o[s+1],o[s+2])&&(i=s,a>0));s=o[s+3]);return i}slice(t,a,r){let n=this.buffer,o=new Uint16Array(a-t),i=0;for(let e=t,s=0;e<a;){o[s++]=n[e++],o[s++]=n[e++]-r;let a=o[s++]=n[e++]-r;o[s++]=n[e++]-t,i=Math.max(i,a)}return new e(o,i,this.set)}},Mke=class{cursor(e=0){return new Dke(this,e)}getChild(e,t=null,a=null){let r=rke(this,e,t,a);return r.length?r[0]:null}getChildren(e,t=null,a=null){return rke(this,e,t,a)}resolve(e,t=0){return ake(this,e,t,!1)}resolveInner(e,t=0){return ake(this,e,t,!0)}matchContext(e){return nke(this.parent,e)}enterUnfinishedNodesBefore(e){let t=this.childBefore(e),a=this;for(;t;){let e=t.lastChild;if(!e||e.to!=t.to)break;e.type.isError&&e.from==e.to?(a=t,t=e.prevSibling):t=e}return a}get node(){return this}get next(){return this.parent}},$ke=class e extends Mke{constructor(e,t,a,r){super(),this._tree=e,this.from=t,this.index=a,this._parent=r}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(t,a,r,n,o=0){for(let i=this;;){for(let{children:s,positions:l}=i._tree,c=a>0?s.length:-1;t!=c;t+=a){let c=s[t],u=l[t]+i.from;if(tke(n,r,u,u+c.length))if(c instanceof Pke){if(o&Tke.ExcludeBuffers)continue;let e=c.findChild(0,c.buffer.length,a,r-u,n);if(e>-1)return new Ike(new Nke(i,c,t,u),null,e)}else if(o&Tke.IncludeAnonymous||!c.type.isAnonymous||ike(c)){let s;if(!(o&Tke.IgnoreMounts)&&(s=xke.get(c))&&!s.overlay)return new e(s.tree,u,t,i);let l=new e(c,u,t,i);return o&Tke.IncludeAnonymous||!l.type.isAnonymous?l:l.nextChild(a<0?c.children.length-1:0,a,r,n)}}if(o&Tke.IncludeAnonymous||!i.type.isAnonymous||(t=i.index>=0?i.index+a:a<0?-1:i._parent._tree.children.length,i=i._parent,!i))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(t,a,r=0){let n;if(!(r&Tke.IgnoreOverlays)&&(n=xke.get(this._tree))&&n.overlay){let r=t-this.from;for(let{from:t,to:o}of n.overlay)if((a>0?t<=r:t<r)&&(a<0?o>=r:o>r))return new e(n.tree,n.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,a,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}},Nke=class{constructor(e,t,a,r){this.parent=e,this.buffer=t,this.index=a,this.start=r}},Ike=class e extends Mke{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,t,a){super(),this.context=e,this._parent=t,this.index=a,this.type=e.buffer.set.types[e.buffer.buffer[a]]}child(t,a,r){let{buffer:n}=this.context,o=n.findChild(this.index+4,n.buffer[this.index+3],t,a-this.context.start,r);return o<0?null:new e(this.context,this,o)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(t,a,r=0){if(r&Tke.ExcludeBuffers)return null;let{buffer:n}=this.context,o=n.findChild(this.index+4,n.buffer[this.index+3],a>0?1:-1,t-this.context.start,a);return o<0?null:new e(this.context,this,o)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:t}=this.context,a=t.buffer[this.index+3];return a<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new e(this.context,this._parent,a):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,a=this._parent?this._parent.index+4:0;return this.index==a?this.externalSibling(-1):new e(this.context,this._parent,t.findChild(a,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],t=[],{buffer:a}=this.context,r=this.index+4,n=a.buffer[this.index+3];if(n>r){let o=a.buffer[this.index+1];e.push(a.slice(r,n,o)),t.push(0)}return new Eke(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}},Rke=class{constructor(e,t){this.heads=e,this.node=t}get next(){return oke(this.heads)}},Dke=class{get name(){return this.type.name}constructor(e,t=0){if(this.mode=t,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof $ke)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let t=e._parent;t;t=t._parent)this.stack.unshift(t.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return!!e&&(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0)}yieldBuf(e,t){this.index=e;let{start:a,buffer:r}=this.buffer;return this.type=t||r.set.types[r.buffer[e]],this.from=a+r.buffer[e+1],this.to=a+r.buffer[e+2],!0}yield(e){return!!e&&(e instanceof $ke?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)))}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,t,a){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,a,this.mode));let{buffer:r}=this.buffer,n=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,a);return!(n<0)&&(this.stack.push(this.index),this.yieldBuf(n))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,t,a=this.mode){return this.buffer?!(a&Tke.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,a))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Tke.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Tke.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return!!this._tree._parent&&this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode));let{buffer:t}=this.buffer,a=this.stack.length-1;if(e<0){let e=a<0?0:this.stack[a]+4;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{let e=t.buffer[this.index+3];if(e<(a<0?t.buffer.length:t.buffer[this.stack[a]+3]))return this.yieldBuf(e)}return a<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let t,a,{buffer:r}=this;if(r){if(e>0){if(this.index<r.buffer.buffer.length)return!1}else for(let e=0;e<this.index;e++)if(r.buffer.buffer[e+3]<this.index)return!1;({index:t,parent:a}=r)}else({index:t,_parent:a}=this._tree);for(;a;({index:t,_parent:a}=a))if(t>-1)for(let r=t+e,n=e<0?-1:a._tree.children.length;r!=n;r+=e){let e=a._tree.children[r];if(this.mode&Tke.IncludeAnonymous||e instanceof Pke||!e.type.isAnonymous||ike(e))return!1}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,t=0){for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););for(;this.enterChild(1,e,t););return this}get node(){if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,a=0;if(e&&e.context==this.buffer)e:for(let r=this.index,n=this.stack.length;n>=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;t=o,a=n+1;break e}r=this.stack[--n]}for(let e=a;e<this.stack.length;e++)t=new Ike(this.buffer,t,this.stack[e]);return this.bufferNode=new Ike(this.buffer,t,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(e,t){for(let a=0;;){let r=!1;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){a++;continue}this.type.isAnonymous||(r=!0)}for(;;){if(r&&t&&t(this),r=this.type.isAnonymous,!a)return;if(this.nextSibling())break;this.parent(),a--,r=!0}}}matchContext(e){if(!this.buffer)return nke(this.node.parent,e);let{buffer:t}=this.buffer,{types:a}=t.set;for(let r=e.length-1,n=this.stack.length-1;r>=0;n--){if(n<0)return nke(this._tree,e,r);let o=a[t.buffer[this.stack[n]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}},Lke=new WeakMap,Bke=class{constructor(){this.map=new WeakMap}setBuffer(e,t,a){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(t,a)}getBuffer(e,t){let a=this.map.get(e);return a&&a.get(t)}set(e,t){e instanceof Ike?this.setBuffer(e.context.buffer,e.index,t):e instanceof $ke&&this.map.set(e.tree,t)}get(e){return e instanceof Ike?this.getBuffer(e.context.buffer,e.index):e instanceof $ke?this.map.get(e.tree):void 0}cursorSet(e,t){e.buffer?this.setBuffer(e.buffer.buffer,e.index,t):this.map.set(e.tree,t)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}},jke=class e{constructor(e,t,a,r,n=!1,o=!1){this.from=e,this.to=t,this.tree=a,this.offset=r,this.open=(n?1:0)|(o?2:0)}get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}static addTree(t,a=[],r=!1){let n=[new e(0,t.length,t,0,!1,r)];for(let e of a)e.to>t.length&&n.push(e);return n}static applyChanges(t,a,r=128){if(!a.length)return t;let n=[],o=1,i=t.length?t[0]:null;for(let s=0,l=0,c=0;;s++){let u=s<a.length?a[s]:null,d=u?u.fromA:1e9;if(d-l>=r)for(;i&&i.from<d;){let a=i;if(l>=a.from||d<=a.to||c){let t=Math.max(a.from,l)-c,r=Math.min(a.to,d)-c;a=t>=r?null:new e(t,r,a.tree,a.offset+c,s>0,!!u)}if(a&&n.push(a),i.to>d)break;i=o<t.length?t[o++]:null}if(!u)break;l=u.toA,c=u.toA-u.toB}return n}},Uke=class{startParse(e,t,a){return"string"==typeof e&&(e=new zke(e)),a=a?a.length?a.map(e=>new yke(e.from,e.to)):[new yke(0,0)]:[new yke(0,e.length)],this.createParse(e,t||[],a)}parse(e,t,a){let r=this.startParse(e,t,a);for(;;){let e=r.advance();if(e)return e}}},zke=class{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,t){return this.string.slice(e,t)}},Hke=class{constructor(e,t,a,r,n){this.parser=e,this.parse=t,this.overlay=a,this.target=r,this.from=n}},Zke=class{constructor(e,t,a,r,n,o,i){this.parser=e,this.predicate=t,this.mounts=a,this.index=r,this.start=n,this.target=o,this.prev=i,this.depth=0,this.ranges=[]}},Vke=new Oke({perNode:!0}),Qke=class{constructor(e,t,a,r,n){this.nest=t,this.input=a,this.fragments=r,this.ranges=n,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let e=this.baseParse.advance();if(!e)return null;if(this.baseParse=null,this.baseTree=e,this.startInner(),null!=this.stoppedAt)for(let e of this.inner)e.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let e=this.baseTree;return null!=this.stoppedAt&&(e=new Eke(e.type,e.children,e.positions,e.length,e.propValues.concat([[Vke,this.stoppedAt]]))),e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++;let a=Object.assign(Object.create(null),e.target.props);a[Oke.mounted.id]=new xke(t,e.overlay,e.parser),e.target.props=a}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos));return e}stopAt(e){if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)}startInner(){let e=new Fke(this.fragments),t=null,a=null,r=new Dke(new $ke(this.baseTree,this.ranges[0].from,0,null),Tke.IncludeAnonymous|Tke.IgnoreMounts);e:for(let n,o;;){let i,s=!0;if(null!=this.stoppedAt&&r.from>=this.stoppedAt)s=!1;else if(e.hasNode(r)){if(t){let e=t.mounts.find(e=>e.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay);if(e)for(let a of e.mount.overlay){let n=a.from+e.pos,o=a.to+e.pos;n>=r.from&&o<=r.to&&!t.ranges.some(e=>e.from<o&&e.to>n)&&t.ranges.push({from:n,to:o})}}s=!1}else if(a&&(o=dke(a.ranges,r.from,r.to)))s=2!=o;else if(!r.type.isAnonymous&&(n=this.nest(r,this.input))&&(r.from<r.to||!n.overlay)){r.tree||hke(r);let o=e.findMounts(r.from,n.parser);if("function"==typeof n.overlay)t=new Zke(n.parser,n.overlay,o,this.inner.length,r.from,r.tree,t);else{let e=mke(this.ranges,n.overlay||(r.from<r.to?[new yke(r.from,r.to)]:[]));e.length&&uke(e),(e.length||!n.overlay)&&this.inner.push(new Hke(n.parser,e.length?n.parser.startParse(this.input,gke(o,e),e):n.parser.startParse(""),n.overlay?n.overlay.map(e=>new yke(e.from-r.from,e.to-r.from)):null,r.tree,e.length?e[0].from:r.from)),n.overlay?e.length&&(a={ranges:e,depth:0,prev:a}):s=!1}}else if(t&&(i=t.predicate(r))&&(!0===i&&(i=new yke(r.from,r.to)),i.from<i.to)){let e=t.ranges.length-1;e>=0&&t.ranges[e].to==i.from?t.ranges[e]={from:t.ranges[e].from,to:i.to}:t.ranges.push(i)}if(s&&r.firstChild())t&&t.depth++,a&&a.depth++;else for(;!r.nextSibling();){if(!r.parent())break e;if(t&&! --t.depth){let e=mke(this.ranges,t.ranges);e.length&&(uke(e),this.inner.splice(t.index,0,new Hke(t.parser,t.parser.startParse(this.input,gke(t.mounts,e),e),t.ranges.map(e=>new yke(e.from-t.start,e.to-t.start)),t.target,e[0].from))),t=t.prev}a&&! --a.depth&&(a=a.prev)}}}},qke=class{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(Tke.IncludeAnonymous|Tke.IgnoreMounts)}moveTo(e){let{cursor:t}=this,a=e-this.offset;for(;!this.done&&t.from<a;)t.to>=e&&t.enter(a,1,Tke.IgnoreOverlays|Tke.ExcludeBuffers)||t.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let t=this.cursor.tree;;){if(t==e.tree)return!0;if(!(t.children.length&&0==t.positions[0]&&t.children[0]instanceof Eke))break;t=t.children[0]}return!1}},Fke=class{constructor(e){if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let t=this.curFrag=e[0];this.curTo=t.tree.prop(Vke)??t.to,this.inner=new qke(t.tree,-t.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let e=this.curFrag=this.fragments[this.fragI];this.curTo=e.tree.prop(Vke)??e.to,this.inner=new qke(e.tree,-e.offset)}}findMounts(e,t){let a=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let e=this.inner.cursor.node;e;e=e.parent){let r=e.tree?.prop(Oke.mounted);if(r&&r.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){let n=this.fragments[t];if(n.from>=e.to)break;n.tree==this.curFrag.tree&&a.push({frag:n,pos:e.from-n.offset,mount:r})}}}return a}}});function Xke(e){let t=Object.create(null);for(let a in e){let r=e[a];Array.isArray(r)||(r=[r]);for(let e of a.split(" "))if(e){let a=[],n=2,o=e;for(let t=0;;){if("..."==o&&t>0&&t+3==e.length){n=1;break}let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!r)throw RangeError("Invalid path: "+e);if(a.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),t+=r[0].length,t==e.length)break;let i=e[t++];if(t==e.length&&"!"==i){n=0;break}if("/"!=i)throw RangeError("Invalid path: "+e);o=e.slice(t)}let i=a.length-1,s=a[i];if(!s)throw RangeError("Invalid path: "+e);t[s]=new rSe(r,n,i>0?a.slice(0,i):null).sort(t[s])}}return aSe.add(t)}function Gke(e,t){let a=Object.create(null);for(let t of e)if(Array.isArray(t.tag))for(let e of t.tag)a[e.id]=t.class;else a[t.tag.id]=t.class;let{scope:r,all:n=null}=t||{};return{style:e=>{let t=n;for(let r of e)for(let e of r.set){let r=a[e.id];if(r){t=t?t+" "+r:r;break}}return t},scope:r}}function Yke(e,t,a,r=0,n=e.length){let o=new nSe(r,Array.isArray(t)?t:[t],a);o.highlightRange(e.cursor(),r,n,"",o.highlighters),o.flush(n)}var Kke,Jke,eSe,tSe,aSe,rSe,nSe,oSe,iSe,sSe,lSe,cSe,uSe,dSe,pSe,hSe,mSe,fSe,gSe,vSe,bSe,ySe,OSe,xSe=V(()=>{Wke(),Kke=0,Jke=class e{constructor(e,t,a,r){this.name=e,this.set=t,this.base=a,this.modified=r,this.id=Kke++}toString(){let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`);return e}static define(t,a){let r="string"==typeof t?t:"?";if(t instanceof e&&(a=t),a?.base)throw Error("Can not derive from a modified tag");let n=new e(r,[],null,[]);if(n.set.push(n),a)for(let e of a.set)n.set.push(e);return n}static defineModifier(e){let t=new tSe(e);return e=>e.modified.indexOf(t)>-1?e:tSe.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}},eSe=0,tSe=class e{constructor(e){this.name=e,this.instances=[],this.id=eSe++}static get(t,a){if(!a.length)return t;let r=a[0].instances.find(e=>e.base==t&&function(e,t){return e.length==t.length&&e.every((e,a)=>e==t[a])}(a,e.modified));if(r)return r;let n=[],o=new Jke(t.name,n,t,a);for(let e of a)e.instances.push(o);let i=function(e){let t=[[]];for(let a=0;a<e.length;a++)for(let r=0,n=t.length;r<n;r++)t.push(t[r].concat(e[a]));return t.sort((e,t)=>t.length-e.length)}(a);for(let a of t.set)if(!a.modified.length)for(let t of i)n.push(e.get(a,t));return o}},aSe=new Oke,rSe=class{constructor(e,t,a,r){this.tags=e,this.mode=t,this.context=a,this.next=r}get opaque(){return 0==this.mode}get inherit(){return 1==this.mode}sort(e){return!e||e.depth<this.depth?(this.next=e,this):(e.next=this.sort(e.next),e)}get depth(){return this.context?this.context.length:0}},rSe.empty=new rSe([],2,null),nSe=class{constructor(e,t,a){this.at=e,this.highlighters=t,this.span=a,this.class=""}startSpan(e,t){t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,t,a,r,n){let{type:o,from:i,to:s}=e;if(i>=a||s<=t)return;o.isTop&&(n=this.highlighters.filter(e=>!e.scope||e.scope(o)));let l=r,c=function(e){let t=e.type.prop(aSe);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||rSe.empty,u=function(e,t){let a=null;for(let r of e){let e=r.style(t);e&&(a=a?a+" "+e:e)}return a}(n,c.tags);if(u&&(l&&(l+=" "),l+=u,1==c.mode&&(r+=(r?" ":"")+u)),this.startSpan(Math.max(t,i),l),c.opaque)return;let d=e.tree&&e.tree.prop(Oke.mounted);if(d&&d.overlay){let o=e.node.enter(d.overlay[0].from+i,1),c=this.highlighters.filter(e=>!e.scope||e.scope(d.tree.type)),u=e.firstChild();for(let p=0,h=i;;p++){let m=p<d.overlay.length?d.overlay[p]:null,f=m?m.from+i:s,g=Math.max(t,h),v=Math.min(a,f);if(g<v&&u)for(;e.from<v&&(this.highlightRange(e,g,v,r,n),this.startSpan(Math.min(v,e.to),l),!(e.to>=f)&&e.nextSibling()););if(!m||f>a)break;h=m.to+i,h>t&&(this.highlightRange(o.cursor(),Math.max(t,m.from+i),Math.min(a,h),"",c),this.startSpan(Math.min(a,h),l))}u&&e.parent()}else if(e.firstChild()){d&&(r="");do{if(!(e.to<=t)){if(e.from>=a)break;this.highlightRange(e,t,a,r,n),this.startSpan(Math.min(a,e.to),l)}}while(e.nextSibling());e.parent()}}},oSe=Jke.define,iSe=oSe(),sSe=oSe(),lSe=oSe(sSe),cSe=oSe(sSe),uSe=oSe(),dSe=oSe(uSe),pSe=oSe(uSe),hSe=oSe(),mSe=oSe(hSe),fSe=oSe(),gSe=oSe(),vSe=oSe(),bSe=oSe(vSe),ySe=oSe(),OSe={comment:iSe,lineComment:oSe(iSe),blockComment:oSe(iSe),docComment:oSe(iSe),name:sSe,variableName:oSe(sSe),typeName:lSe,tagName:oSe(lSe),propertyName:cSe,attributeName:oSe(cSe),className:oSe(sSe),labelName:oSe(sSe),namespace:oSe(sSe),macroName:oSe(sSe),literal:uSe,string:dSe,docString:oSe(dSe),character:oSe(dSe),attributeValue:oSe(dSe),number:pSe,integer:oSe(pSe),float:oSe(pSe),bool:oSe(uSe),regexp:oSe(uSe),escape:oSe(uSe),color:oSe(uSe),url:oSe(uSe),keyword:fSe,self:oSe(fSe),null:oSe(fSe),atom:oSe(fSe),unit:oSe(fSe),modifier:oSe(fSe),operatorKeyword:oSe(fSe),controlKeyword:oSe(fSe),definitionKeyword:oSe(fSe),moduleKeyword:oSe(fSe),operator:gSe,derefOperator:oSe(gSe),arithmeticOperator:oSe(gSe),logicOperator:oSe(gSe),bitwiseOperator:oSe(gSe),compareOperator:oSe(gSe),updateOperator:oSe(gSe),definitionOperator:oSe(gSe),typeOperator:oSe(gSe),controlOperator:oSe(gSe),punctuation:vSe,separator:oSe(vSe),bracket:bSe,angleBracket:oSe(bSe),squareBracket:oSe(bSe),paren:oSe(bSe),brace:oSe(bSe),content:hSe,heading:mSe,heading1:oSe(mSe),heading2:oSe(mSe),heading3:oSe(mSe),heading4:oSe(mSe),heading5:oSe(mSe),heading6:oSe(mSe),contentSeparator:oSe(hSe),list:oSe(hSe),quote:oSe(hSe),emphasis:oSe(hSe),strong:oSe(hSe),link:oSe(hSe),monospace:oSe(hSe),strikethrough:oSe(hSe),inserted:oSe(),deleted:oSe(),changed:oSe(),invalid:oSe(),meta:ySe,documentMeta:oSe(ySe),annotation:oSe(ySe),processingInstruction:oSe(ySe),definition:Jke.defineModifier("definition"),constant:Jke.defineModifier("constant"),function:Jke.defineModifier("function"),standard:Jke.defineModifier("standard"),local:Jke.defineModifier("local"),special:Jke.defineModifier("special")};for(let e in OSe){let t=OSe[e];t instanceof Jke&&(t.name=e)}Gke([{tag:OSe.link,class:"tok-link"},{tag:OSe.heading,class:"tok-heading"},{tag:OSe.emphasis,class:"tok-emphasis"},{tag:OSe.strong,class:"tok-strong"},{tag:OSe.keyword,class:"tok-keyword"},{tag:OSe.atom,class:"tok-atom"},{tag:OSe.bool,class:"tok-bool"},{tag:OSe.url,class:"tok-url"},{tag:OSe.labelName,class:"tok-labelName"},{tag:OSe.inserted,class:"tok-inserted"},{tag:OSe.deleted,class:"tok-deleted"},{tag:OSe.literal,class:"tok-literal"},{tag:OSe.string,class:"tok-string"},{tag:OSe.number,class:"tok-number"},{tag:[OSe.regexp,OSe.escape,OSe.special(OSe.string)],class:"tok-string2"},{tag:OSe.variableName,class:"tok-variableName"},{tag:OSe.local(OSe.variableName),class:"tok-variableName tok-local"},{tag:OSe.definition(OSe.variableName),class:"tok-variableName tok-definition"},{tag:OSe.special(OSe.variableName),class:"tok-variableName2"},{tag:OSe.definition(OSe.propertyName),class:"tok-propertyName tok-definition"},{tag:OSe.typeName,class:"tok-typeName"},{tag:OSe.namespace,class:"tok-namespace"},{tag:OSe.className,class:"tok-className"},{tag:OSe.macroName,class:"tok-macroName"},{tag:OSe.propertyName,class:"tok-propertyName"},{tag:OSe.operator,class:"tok-operator"},{tag:OSe.comment,class:"tok-comment"},{tag:OSe.meta,class:"tok-meta"},{tag:OSe.invalid,class:"tok-invalid"},{tag:OSe.punctuation,class:"tok-punctuation"}])});function wSe(e){return Zge.define({combine:e?t=>t.concat(e):void 0})}function kSe(e,t,a){let r=e.facet(pAe),n=SSe(e).topNode;if(!r||r.allowsNesting)for(let e=n;e;e=e.enter(t,a,Tke.ExcludeBuffers))e.type.isTop&&(n=e);return n}function SSe(e){let t=e.field(rAe.state,!1);return t?t.tree:Eke.empty}function ASe(e,t,a){return jke.applyChanges(e,[{fromA:t,toA:a,fromB:t,toB:a}])}function _Se(e){let t=e.facet(fAe);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function TSe(e,t){let a="",r=e.tabSize,n=e.facet(fAe)[0];if("\t"==n){for(;t>=r;)a+="\t",t-=r;n=" "}for(let e=0;e<t;e++)a+=n;return a}function ESe(e,t){e instanceof fve&&(e=new gAe(e));for(let a of e.state.facet(mAe)){let r=a(e,t);if(void 0!==r)return r}let a=SSe(e.state);return a.length>=t?function(e,t,a){let r=t.resolveStack(a),n=t.resolveInner(a,-1).resolve(a,0).enterUnfinishedNodesBefore(a);if(n!=r.node){let e=[];for(let t=n;t!=r.node;t=t.parent)e.push(t);for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return CSe(r,e,a)}(e,a,t):null}function CSe(e,t,a){for(let r=e;r;r=r.next){let e=PSe(r.node);if(e)return e(bAe.create(t,a,r))}return 0}function PSe(e){let t=e.type.prop(vAe);if(t)return t;let a,r=e.firstChild;if(r&&(a=r.type.prop(Oke.closedBy))){let t=e.lastChild,r=t&&a.indexOf(t.name)>-1;return e=>ISe(e,!0,1,void 0,r&&!function(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}(e)?t.from:void 0)}return null==e.parent?MSe:null}function MSe(){return 0}function $Se(e,t){for(let a=t;a;a=a.parent)if(e==a)return!0;return!1}function NSe({closing:e,align:t=!0,units:a=1}){return r=>ISe(r,t,a,e)}function ISe(e,t,a,r,n){let o=e.textAfter,i=o.match(/^\s*/)[0].length,s=r&&o.slice(i,i+r.length)==r||n==e.pos+i,l=t?function(e){let t=e.node,a=t.childAfter(t.from),r=t.lastChild;if(!a)return null;let n=e.options.simulateBreak,o=e.state.doc.lineAt(a.from),i=null==n||n<=o.from?o.to:Math.min(o.to,n);for(let e=a.to;;){let n=t.childAfter(e);if(!n||n==r)return null;if(!n.type.isSkipped){if(n.from>=i)return null;let e=/^ */.exec(o.text.slice(a.to-o.from))[0].length;return{from:a.from,to:a.to+e}}e=n.to}}(e):null;return l?s?e.column(l.from):e.column(l.to):e.baseIndent+(s?0:e.unit*a)}function RSe({except:e,units:t=1}={}){return a=>{let r=e&&e.test(a.textAfter);return a.baseIndent+(r?0:t*a.unit)}}function DSe(e){let t=e.firstChild,a=e.lastChild;return t&&t.to<a.from?{from:t.to,to:a.type.isError?e.to:a.from}:null}function LSe(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function BSe(e,t,a){for(let r of e.facet(xAe)){let n=r(e,t,a);if(n)return n}return function(e,t,a){let r=SSe(e);if(r.length<a)return null;let n=null;for(let o=r.resolveStack(a,1);o;o=o.next){let i=o.node;if(i.to<=a||i.from>a)continue;if(n&&i.from<t)break;let s=i.type.prop(wAe);if(s&&(i.to<r.length-50||r.length==e.doc.length||!LSe(i))){let r=s(i,e);r&&r.from<=a&&r.from>=t&&r.to>a&&(n=r)}}return n}(e,t,a)}function jSe(e,t){let a=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return a>=r?void 0:{from:a,to:r}}function USe(e,t,a){var r;let n=null;return null==(r=e.field(AAe,!1))||r.between(t,a,(e,t)=>{(!n||n.from>e)&&(n={from:e,to:t})}),n}function zSe(e,t,a){let r=!1;return e.between(t,t,(e,n)=>{e==t&&n==a&&(r=!0)}),r}function HSe(e){let t=[AAe,$Ae];return e&&t.push(TAe.of(e)),t}function ZSe(e,t){let{state:a}=e,r=a.facet(TAe),n=t=>{let a=e.lineBlockAt(e.posAtDOM(t.target)),r=USe(e.state,a.from,a.to);r&&e.dispatch({effects:SAe.of(r)}),t.preventDefault()};if(r.placeholderDOM)return r.placeholderDOM(e,n,t);let o=document.createElement("span");return o.textContent=r.placeholderText,o.setAttribute("aria-label",a.phrase("folded code")),o.title=a.phrase("unfold"),o.className="cm-foldPlaceholder",o.onclick=n,o}function VSe(e={}){let t=Object.assign(Object.assign({},PAe),e),a=new MAe(t,!0),r=new MAe(t,!1),n=UOe.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(pAe)!=e.state.facet(pAe)||e.startState.field(AAe,!1)!=e.state.field(AAe,!1)||SSe(e.startState)!=SSe(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new Ove;for(let n of e.viewportLineBlocks){let o=USe(e.state,n.from,n.to)?r:BSe(e.state,n.from,n.to)?a:null;o&&t.add(n.from,n.from,o)}return t.finish()}}),{domEventHandlers:o}=t;return[n,Sye({class:"cm-foldGutter",markers:e=>e.plugin(n)?.markers||yve.empty,initialSpacer:()=>new MAe(t,!1),domEventHandlers:Object.assign(Object.assign({},o),{click:(e,t,a)=>{if(o.click&&o.click(e,t,a))return!0;let r=USe(e.state,t.from,t.to);if(r)return e.dispatch({effects:SAe.of(r)}),!0;let n=BSe(e.state,t.from,t.to);return!!n&&(e.dispatch({effects:kAe.of(n)}),!0)}})}),HSe()]}function QSe(e){let t=e.facet(IAe);return t.length?t:e.facet(RAe)}function qSe(e,t){let a,r=[LAe];return e instanceof NAe&&(e.module&&r.push(Yxe.styleModule.of(e.module)),a=e.themeType),t?.fallback?r.push(RAe.of(e)):a?r.push(IAe.computeN([Yxe.darkTheme],t=>t.facet(Yxe.darkTheme)==("dark"==a)?[e]:[])):r.push(IAe.of(e)),r}function FSe(e){let t=[],a=e.matched?ZAe:VAe;return t.push(a.range(e.start.from,e.start.to)),e.end&&t.push(a.range(e.end.from,e.end.to)),t}function WSe(e={}){return[HAe.of(e),QAe]}function XSe(e,t,a){let r=e.prop(t<0?Oke.openedBy:Oke.closedBy);if(r)return r;if(1==e.name.length){let r=a.indexOf(e.name);if(r>-1&&r%2==(t<0?1:0))return[a[r+t]]}return null}function GSe(e){let t=e.type.prop(qAe);return t?t(e.node):e}function YSe(e,t,a,r={}){let n=r.maxScanDistance||UAe,o=r.brackets||zAe,i=SSe(e),s=i.resolveInner(t,a);for(let r=s;r;r=r.parent){let n=XSe(r.type,a,o);if(n&&r.from<r.to){let i=GSe(r);if(i&&(a>0?t>=i.from&&t<i.to:t>i.from&&t<=i.to))return KSe(e,t,a,r,i,n,o)}}return function(e,t,a,r,n,o,i){let s=a<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=i.indexOf(s);if(l<0||l%2==0!=a>0)return null;let c={from:a<0?t-1:t,to:a>0?t+1:t},u=e.doc.iterRange(t,a>0?e.doc.length:0),d=0;for(let e=0;!u.next().done&&e<=o;){let o=u.value;a<0&&(e+=o.length);let s=t+e*a;for(let e=a>0?0:o.length-1,t=a>0?o.length:-1;e!=t;e+=a){let t=i.indexOf(o[e]);if(!(t<0||r.resolveInner(s+e,1).type!=n))if(t%2==0==a>0)d++;else{if(1==d)return{start:c,end:{from:s+e,to:s+e+1},matched:t>>1==l>>1};d--}}a>0&&(e+=o.length)}return u.done?{start:c,matched:!1}:null}(e,t,a,i,s.type,n,o)}function KSe(e,t,a,r,n,o,i){let s=r.parent,l={from:n.from,to:n.to},c=0,u=s?.cursor();if(u&&(a<0?u.childBefore(r.from):u.childAfter(r.to)))do{if(a<0?u.to<=r.from:u.from>=r.to){if(0==c&&o.indexOf(u.type.name)>-1&&u.from<u.to){let e=GSe(u);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(XSe(u.type,a,i))c++;else if(XSe(u.type,-a,i)){if(0==c){let e=GSe(u);return{start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}c--}}}while(a<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}function JSe(e,t){XAe.indexOf(e)>-1||(XAe.push(e),console.warn(t))}function eAe(e,t){let a=[];for(let r of t.split(" ")){let t=[];for(let a of r.split(".")){let r=e[a]||OSe[a];r?"function"==typeof r?t.length?t=t.map(r):JSe(a,`Modifier ${a} used at start of tag`):t.length?JSe(a,`Tag ${a} used as modifier`):t=Array.isArray(r)?r:[r]:JSe(a,`Unknown highlighting tag ${a}`)}for(let e of t)a.push(e)}if(!a.length)return 0;let r=t.replace(/ /g,"_"),n=r+" "+a.map(e=>e.id),o=GAe[n];if(o)return o.id;let i=GAe[n]=kke.define({id:WAe.length,name:r,props:[Xke({[r]:a})]});return WAe.push(i),i.id}var tAe,aAe,rAe,nAe,oAe,iAe,sAe,lAe,cAe,uAe,dAe,pAe,hAe,mAe,fAe,gAe,vAe,bAe,yAe,OAe,xAe,wAe,kAe,SAe,AAe,_Ae,TAe,EAe,CAe,PAe,MAe,$Ae,NAe,IAe,RAe,DAe,LAe,BAe,jAe,UAe,zAe,HAe,ZAe,VAe,QAe,qAe,FAe,WAe,XAe,GAe,YAe,KAe=V(()=>{Wke(),Pve(),eke(),xSe(),Mve(),tAe=new Oke,aAe=new Oke,rAe=class{constructor(e,t,a=[],r=""){this.data=e,this.name=r,fve.prototype.hasOwnProperty("tree")||Object.defineProperty(fve.prototype,"tree",{get(){return SSe(this)}}),this.parser=t,this.extension=[pAe.of(this),fve.languageData.of((e,t,a)=>{let r=kSe(e,t,a),n=r.type.prop(tAe);if(!n)return[];let o=e.facet(n),i=r.type.prop(aAe);if(i){let n=r.resolve(t-r.from,a);for(let t of i)if(t.test(n,e)){let a=e.facet(t.facet);return"replace"==t.type?a:a.concat(o)}}return o})].concat(a)}isActiveAt(e,t,a=-1){return kSe(e,t,a).type.prop(tAe)==this.data}findRegions(e){let t=e.facet(pAe);if(t?.data==this.data)return[{from:0,to:e.doc.length}];if(!t||!t.allowsNesting)return[];let a=[],r=(e,t)=>{if(e.prop(tAe)==this.data)return void a.push({from:t,to:t+e.length});let n=e.prop(Oke.mounted);if(n){if(n.tree.prop(tAe)==this.data){if(n.overlay)for(let e of n.overlay)a.push({from:e.from+t,to:e.to+t});else a.push({from:t,to:t+e.length});return}if(n.overlay){let e=a.length;if(r(n.tree,n.overlay[0].from+t),a.length>e)return}}for(let a=0;a<e.children.length;a++){let n=e.children[a];n instanceof Eke&&r(n,e.positions[a]+t)}};return r(SSe(e),0),a}get allowsNesting(){return!0}},rAe.setState=cve.define(),nAe=class e extends rAe{constructor(e,t,a){super(e,t,[],a),this.parser=t}static define(t){let a=wSe(t.languageData);return new e(a,t.parser.configure({props:[tAe.add(e=>e.isTop?a:void 0)]}),t.name)}configure(t,a){return new e(this.data,this.parser.configure(t),a||this.name)}get allowsNesting(){return this.parser.hasWrappers()}},oAe=class{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){let a=this.cursorPos-this.string.length;return e<a||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-a,t-a)}},iAe=null,sAe=class e{constructor(e,t,a=[],r,n,o,i,s){this.parser=e,this.state=t,this.fragments=a,this.tree=r,this.treeLen=n,this.viewport=o,this.skipped=i,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(t,a,r){return new e(t,a,[],Eke.empty,0,r,[],null)}startParse(){return this.parser.startParse(new oAe(this.state.doc),this.fragments)}work(e,t){return null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=Eke.empty&&this.isDone(t??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{if("number"==typeof e){let t=Date.now()+e;e=()=>Date.now()>t}for(this.parse||=this.startParse(),null!=t&&(null==this.parse.stoppedAt||this.parse.stoppedAt>t)&&t<this.state.doc.length&&this.parse.stopAt(t);;){let a=this.parse.advance();if(a){if(this.fragments=this.withoutTempSkipped(jke.addTree(a,this.fragments,null!=this.parse.stoppedAt)),this.treeLen=this.parse.stoppedAt??this.state.doc.length,this.tree=a,this.parse=null,!(this.treeLen<(t??this.state.doc.length)))return!0;this.parse=this.startParse()}if(e())return!1}})}takeTree(){let e,t;this.parse&&(e=this.parse.parsedPos)>=this.treeLen&&((null==this.parse.stoppedAt||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(t=this.parse.advance()););}),this.treeLen=e,this.tree=t,this.fragments=this.withoutTempSkipped(jke.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=iAe;iAe=this;try{return e()}finally{iAe=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=ASe(e,t.from,t.to);return e}changes(t,a){let{fragments:r,tree:n,treeLen:o,viewport:i,skipped:s}=this;if(this.takeTree(),!t.empty){let e=[];if(t.iterChangedRanges((t,a,r,n)=>e.push({fromA:t,toA:a,fromB:r,toB:n})),r=jke.applyChanges(r,e),n=Eke.empty,o=0,i={from:t.mapPos(i.from,-1),to:t.mapPos(i.to,1)},this.skipped.length){s=[];for(let e of this.skipped){let a=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);a<r&&s.push({from:a,to:r})}}}return new e(this.parser,a,r,n,o,i,s,this.scheduleOn)}updateViewport(e){if(this.viewport.from==e.from&&this.viewport.to==e.to)return!1;this.viewport=e;let t=this.skipped.length;for(let t=0;t<this.skipped.length;t++){let{from:a,to:r}=this.skipped[t];a<e.to&&r>e.from&&(this.fragments=ASe(this.fragments,a,r),this.skipped.splice(t--,1))}return!(this.skipped.length>=t)&&(this.reset(),!0)}reset(){this.parse&&=(this.takeTree(),null)}skipUntilInView(e,t){this.skipped.push({from:e,to:t})}static getSkippingParser(e){return new class extends Uke{createParse(t,a,r){let n=r[0].from,o=r[r.length-1].to;return{parsedPos:n,advance(){let t=iAe;if(t){for(let e of r)t.tempSkipped.push(e);e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}return this.parsedPos=o,new Eke(kke.none,[],[],o-n)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let t=this.fragments;return this.treeLen>=e&&t.length&&0==t[0].from&&t[0].to>=e}static get(){return iAe}},lAe=class e{constructor(e){this.context=e,this.tree=e.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let a=this.context.changes(t.changes,t.state),r=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),a.viewport.to);return a.work(20,r)||a.takeTree(),new e(a)}static init(t){let a=Math.min(3e3,t.doc.length),r=sAe.create(t.facet(pAe).parser,t,{from:0,to:a});return r.work(20,a)||r.takeTree(),new e(r)}},rAe.state=qge.define({create:lAe.init,update(e,t){for(let e of t.effects)if(e.is(rAe.setState))return e.value;return t.startState.facet(pAe)==t.state.facet(pAe)?e.apply(t):lAe.init(t.state)}}),cAe=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)},typeof requestIdleCallback<"u"&&(cAe=e=>{let t=-1,a=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(a):cancelIdleCallback(t)}),uAe=typeof navigator<"u"&&navigator.scheduling?.isInputPending?()=>navigator.scheduling.isInputPending():null,dAe=UOe.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(rAe.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(rAe.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=cAe(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:a,viewport:{to:r}}=this.view,n=a.field(rAe.state);if(n.tree==n.context.tree&&n.context.isDone(r+1e5))return;let o=Date.now()+Math.min(this.chunkBudget,100,e&&!uAe?Math.max(25,e.timeRemaining()-5):1e9),i=n.context.treeLen<r&&a.doc.length>r+1e3,s=n.context.work(()=>uAe&&uAe()||Date.now()>o,r+(i?0:1e5));this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(n.context.takeTree(),this.view.dispatch({effects:rAe.setState.of(new lAe(n.context))})),this.chunkBudget>0&&!(s&&!i)&&this.scheduleWork(),this.checkAsyncSchedule(n.context)}checkAsyncSchedule(e){e.scheduleOn&&=(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(e=>Sbe(this.view.state,e)).then(()=>this.workScheduled--),null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),pAe=Zge.define({combine:e=>e.length?e[0]:null,enables:e=>[rAe.state,dAe,Yxe.contentAttributes.compute([e],t=>{let a=t.facet(e);return a&&a.name?{"data-language":a.name}:{}})]}),hAe=class{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}},mAe=Zge.define(),fAe=Zge.define({combine:e=>{if(!e.length)return"  ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(e=>e!=t[0]))throw Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}}),gAe=class{constructor(e,t={}){this.state=e,this.options=t,this.unit=_Se(e)}lineAt(e,t=1){let a=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:n}=this.options;return null!=r&&r>=a.from&&r<=a.to?n&&r==e?{text:"",from:e}:(t<0?r<e:r<=e)?{text:a.text.slice(r-a.from),from:r}:{text:a.text.slice(0,r-a.from),from:a.from}:a}textAfterPos(e,t=1){if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return"";let{text:a,from:r}=this.lineAt(e,t);return a.slice(e-r,Math.min(a.length,e+100-r))}column(e,t=1){let{text:a,from:r}=this.lineAt(e,t),n=this.countColumn(a,e-r),o=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;return o>-1&&(n+=o-this.countColumn(a,a.search(/\S|$/))),n}countColumn(e,t=e.length){return Tge(e,this.state.tabSize,t)}lineIndent(e,t=1){let{text:a,from:r}=this.lineAt(e,t),n=this.options.overrideIndentation;if(n){let e=n(r);if(e>-1)return e}return this.countColumn(a,a.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}},vAe=new Oke,bAe=class e extends gAe{constructor(e,t,a){super(e.state,e.options),this.base=e,this.pos=t,this.context=a}get node(){return this.context.node}static create(t,a,r){return new e(t,a,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let t=this.state.doc.lineAt(e.from);for(;;){let a=e.resolve(t.from);for(;a.parent&&a.parent.from==a.from;)a=a.parent;if($Se(a,e))break;t=this.state.doc.lineAt(a.from)}return this.lineIndent(t.from)}continue(){return CSe(this.context.next,this.base,this.pos)}},yAe=e=>e.baseIndent,OAe=200,xAe=Zge.define(),wAe=new Oke,kAe=cve.define({map:jSe}),SAe=cve.define({map:jSe}),AAe=qge.define({create:()=>aOe.none,update(e,t){e=e.map(t.changes);for(let a of t.effects)if(a.is(kAe)&&!zSe(e,a.value.from,a.value.to)){let{preparePlaceholder:r}=t.state.facet(TAe),n=r?aOe.replace({widget:new CAe(r(t.state,a.value))}):EAe;e=e.update({add:[n.range(a.value.from,a.value.to)]})}else a.is(SAe)&&(e=e.update({filter:(e,t)=>a.value.from!=e||a.value.to!=t,filterFrom:a.value.from,filterTo:a.value.to}));if(t.selection){let a=!1,{head:r}=t.selection.main;e.between(r,r,(e,t)=>{e<r&&t>r&&(a=!0)}),a&&(e=e.update({filterFrom:r,filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},provide:e=>Yxe.decorations.from(e),toJSON(e,t){let a=[];return e.between(0,t.doc.length,(e,t)=>{a.push(e,t)}),a},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw RangeError("Invalid JSON for fold state");let t=[];for(let a=0;a<e.length;){let r=e[a++],n=e[a++];if("number"!=typeof r||"number"!=typeof n)throw RangeError("Invalid JSON for fold state");t.push(EAe.range(r,n))}return aOe.set(t,!0)}}),_Ae={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},TAe=Zge.define({combine:e=>bge(e,_Ae)}),EAe=aOe.replace({widget:new class extends eOe{toDOM(e){return ZSe(e,null)}}}),CAe=class extends eOe{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return ZSe(e,this.value)}},PAe={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},MAe=class extends jwe{constructor(e,t){super(),this.config=e,this.open=t}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let t=document.createElement("span");return t.textContent=this.open?this.config.openText:this.config.closedText,t.title=e.state.phrase(this.open?"Fold line":"Unfold line"),t}},$Ae=Yxe.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}}),NAe=class e{constructor(e,t){let a;function r(e){let t=Tve.newName();return(a||=Object.create(null))["."+t]=e,t}this.specs=e;let n="string"==typeof t.all?t.all:t.all?r(t.all):void 0,o=t.scope;this.scope=o instanceof rAe?e=>e.prop(tAe)==o.data:o?e=>e==o:void 0,this.style=Gke(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:n}).style,this.module=a?new Tve(a):null,this.themeType=t.themeType}static define(t,a){return new e(t,a||{})}},IAe=Zge.define(),RAe=Zge.define({combine:e=>e.length?[e[0]]:null}),DAe=class{constructor(e){this.markCache=Object.create(null),this.tree=SSe(e.state),this.decorations=this.buildDeco(e,QSe(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=SSe(e.state),a=QSe(e.state),r=a!=QSe(e.startState),{viewport:n}=e.view,o=e.changes.mapPos(this.decoratedTo,1);t.length<n.to&&!r&&t.type==this.tree.type&&o>=n.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,this.decorations=this.buildDeco(e.view,a),this.decoratedTo=n.to)}buildDeco(e,t){if(!t||!this.tree.length)return aOe.none;let a=new Ove;for(let{from:r,to:n}of e.visibleRanges)Yke(this.tree,t,(e,t,r)=>{a.add(e,t,this.markCache[r]||(this.markCache[r]=aOe.mark({class:r})))},r,n);return a.finish()}},LAe=Wge.high(UOe.fromClass(DAe,{decorations:e=>e.decorations})),BAe=NAe.define([{tag:OSe.meta,color:"#404740"},{tag:OSe.link,textDecoration:"underline"},{tag:OSe.heading,textDecoration:"underline",fontWeight:"bold"},{tag:OSe.emphasis,fontStyle:"italic"},{tag:OSe.strong,fontWeight:"bold"},{tag:OSe.strikethrough,textDecoration:"line-through"},{tag:OSe.keyword,color:"#708"},{tag:[OSe.atom,OSe.bool,OSe.url,OSe.contentSeparator,OSe.labelName],color:"#219"},{tag:[OSe.literal,OSe.inserted],color:"#164"},{tag:[OSe.string,OSe.deleted],color:"#a11"},{tag:[OSe.regexp,OSe.escape,OSe.special(OSe.string)],color:"#e40"},{tag:OSe.definition(OSe.variableName),color:"#00f"},{tag:OSe.local(OSe.variableName),color:"#30a"},{tag:[OSe.typeName,OSe.namespace],color:"#085"},{tag:OSe.className,color:"#167"},{tag:[OSe.special(OSe.variableName),OSe.macroName],color:"#256"},{tag:OSe.definition(OSe.propertyName),color:"#00c"},{tag:OSe.comment,color:"#940"},{tag:OSe.invalid,color:"#f00"}]),jAe=Yxe.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),UAe=1e4,zAe="()[]{}",HAe=Zge.define({combine:e=>bge(e,{afterCursor:!0,brackets:zAe,maxScanDistance:UAe,renderMatch:FSe})}),ZAe=aOe.mark({class:"cm-matchingBracket"}),VAe=aOe.mark({class:"cm-nonmatchingBracket"}),QAe=[qge.define({create:()=>aOe.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let a=[],r=t.state.facet(HAe);for(let e of t.state.selection.ranges){if(!e.empty)continue;let n=YSe(t.state,e.head,-1,r)||e.head>0&&YSe(t.state,e.head-1,1,r)||r.afterCursor&&(YSe(t.state,e.head,1,r)||e.head<t.state.doc.length&&YSe(t.state,e.head+1,-1,r));n&&(a=a.concat(r.renderMatch(n,t.state)))}return aOe.set(a,!0)},provide:e=>Yxe.decorations.from(e)}),jAe],qAe=new Oke,FAe=Object.create(null),WAe=[kke.none],XAe=[],GAe=Object.create(null),YAe=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])YAe[e]=eAe(FAe,t);aOe.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"rtl"},bidiIsolate:dOe.RTL}),aOe.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"ltr"},bidiIsolate:dOe.LTR}),aOe.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"auto"},bidiIsolate:null})});function JAe(e,t,a,r,n,o){switch(r){case"AttributeValue":{let a=e.resolveInner(t,0).tree;if(!a)return null;let r=a.prop(Oke.mounted)?.tree;if("Styles"!==r?.type.name)return null;let o=[];return r.iterate({from:0,to:r.length,enter:({type:a,from:r,to:i})=>{let s=JAe(e,t+1+r,t+1+i,a.name,n);if(s){if(Array.isArray(s))throw Error("Unexpected nested overlays");o.push(s)}}}),o}case"CallExpression":{let e=function(e){switch(e.slice(0,3)){case"rgb":{let t=u_e.exec(e);if(!t)return null;let[a,r,n,o,i]=t,s=function(e,t,a){return`#${t_e(e)}${t_e(t)}${t_e(a)}`}(r,n,o);return{colorType:c_e.rgb,color:s,alpha:i||""}}case"hsl":{let t=d_e.exec(e);if(!t)return null;let[a,r,n,o,i]=t,s=function(e,t,a){let r=Number(t)/100,n=Number(a)/100,[o,i,s]=function(e,t,a){if(0===t){let e=Math.round(255*a);return[e,e,e]}let r;r=a<.5?a*(1+t):a+t-a*t;let n=2*a-r;e/=360;let o=n_e(e+.333),i=e,s=n_e(e-.333),l=o_e(r,n,o),c=o_e(r,n,i),u=o_e(r,n,s);return[Math.round(255*l),Math.round(255*c),Math.round(255*u)]}(Number(e),r,n);return`#${a_e(o)}${a_e(i)}${a_e(s)}`}(r,n,o);return{colorType:c_e.hsl,color:s,alpha:i||""}}default:return null}}(n.sliceString(t,a));return e?Object.assign(Object.assign({},e),{from:t,to:a}):null}case"ColorLiteral":{let e=function(e){if(!p_e.exec(e))return null;let[t,a]=function(e){return 4===e.length?[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,""]:5===e.length?[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,e[4].repeat(2)]:9===e.length?[`#${e.slice(1,-2)}`,e.slice(-2)]:[e,""]}(e);return{colorType:c_e.hex,color:t,alpha:a}}(n.sliceString(t,a));return e?Object.assign(Object.assign({},e),{from:t,to:a}):null}case"ValueName":{let e=function(e){let t=i_e.get(e);return t?{colorType:c_e.named,color:t,alpha:""}:null}(n.sliceString(t,a));return e?Object.assign(Object.assign({},e),{from:t,to:a}):null}default:return null}}function e_e(e,t){let a=[],r=SSe(e.state);for(let n of e.visibleRanges)r.iterate({from:n.from,to:n.to,enter:({type:n,from:o,to:i})=>{let s=t(r,o,i,n.name,e.state.doc,e.state.facet(pAe)?.name);if(s){if(!Array.isArray(s))return void a.push(aOe.widget({widget:new m_e(s),side:1}).range(s.from));for(let e of s)a.push(aOe.widget({widget:new m_e(e),side:1}).range(e.from))}}});return aOe.set(a)}function t_e(e){let t;if(e.endsWith("%")){let a=Number(e.slice(0,-1));t=Math.round(a/100*255)}else t=Number(e);return a_e(t)}function a_e(e){let t=e.toString(16);return 1===t.length?"0"+t:t}function r_e(e){let t=e.slice(1,3),a=e.slice(3,5),r=e.slice(5,7);return[parseInt(t,16),parseInt(a,16),parseInt(r,16)]}function n_e(e){return e<0?e+1:e>1?e-1:e}function o_e(e,t,a){return 6*a<1?t+6*(e-t)*a:2*a<1?e:3*a<2?t+(e-t)*(.666-a)*6:t}var i_e,s_e,l_e,c_e,u_e,d_e,p_e,h_e,m_e,f_e,g_e,v_e,b_e=V(()=>{eke(),Wke(),KAe(),i_e=new Map([["aliceblue","#f0f8ff"],["antiquewhite","#faebd7"],["aqua","#00ffff"],["aquamarine","#7fffd4"],["azure","#f0ffff"],["beige","#f5f5dc"],["bisque","#ffe4c4"],["black","#000000"],["blanchedalmond","#ffebcd"],["blue","#0000ff"],["blueviolet","#8a2be2"],["brown","#a52a2a"],["burlywood","#deb887"],["cadetblue","#5f9ea0"],["chartreuse","#7fff00"],["chocolate","#d2691e"],["coral","#ff7f50"],["cornflowerblue","#6495ed"],["cornsilk","#fff8dc"],["crimson","#dc143c"],["cyan","#00ffff"],["darkblue","#00008b"],["darkcyan","#008b8b"],["darkgoldenrod","#b8860b"],["darkgray","#a9a9a9"],["darkgreen","#006400"],["darkgrey","#a9a9a9"],["darkkhaki","#bdb76b"],["darkmagenta","#8b008b"],["darkolivegreen","#556b2f"],["darkorange","#ff8c00"],["darkorchid","#9932cc"],["darkred","#8b0000"],["darksalmon","#e9967a"],["darkseagreen","#8fbc8f"],["darkslateblue","#483d8b"],["darkslategray","#2f4f4f"],["darkslategrey","#2f4f4f"],["darkturquoise","#00ced1"],["darkviolet","#9400d3"],["deeppink","#ff1493"],["deepskyblue","#00bfff"],["dimgray","#696969"],["dimgrey","#696969"],["dodgerblue","#1e90ff"],["firebrick","#b22222"],["floralwhite","#fffaf0"],["forestgreen","#228b22"],["fuchsia","#ff00ff"],["gainsboro","#dcdcdc"],["ghostwhite","#f8f8ff"],["goldenrod","#daa520"],["gold","#ffd700"],["gray","#808080"],["green","#008000"],["greenyellow","#adff2f"],["grey","#808080"],["honeydew","#f0fff0"],["hotpink","#ff69b4"],["indianred","#cd5c5c"],["indigo","#4b0082"],["ivory","#fffff0"],["khaki","#f0e68c"],["lavenderblush","#fff0f5"],["lavender","#e6e6fa"],["lawngreen","#7cfc00"],["lemonchiffon","#fffacd"],["lightblue","#add8e6"],["lightcoral","#f08080"],["lightcyan","#e0ffff"],["lightgoldenrodyellow","#fafad2"],["lightgray","#d3d3d3"],["lightgreen","#90ee90"],["lightgrey","#d3d3d3"],["lightpink","#ffb6c1"],["lightsalmon","#ffa07a"],["lightseagreen","#20b2aa"],["lightskyblue","#87cefa"],["lightslategray","#778899"],["lightslategrey","#778899"],["lightsteelblue","#b0c4de"],["lightyellow","#ffffe0"],["lime","#00ff00"],["limegreen","#32cd32"],["linen","#faf0e6"],["magenta","#ff00ff"],["maroon","#800000"],["mediumaquamarine","#66cdaa"],["mediumblue","#0000cd"],["mediumorchid","#ba55d3"],["mediumpurple","#9370db"],["mediumseagreen","#3cb371"],["mediumslateblue","#7b68ee"],["mediumspringgreen","#00fa9a"],["mediumturquoise","#48d1cc"],["mediumvioletred","#c71585"],["midnightblue","#191970"],["mintcream","#f5fffa"],["mistyrose","#ffe4e1"],["moccasin","#ffe4b5"],["navajowhite","#ffdead"],["navy","#000080"],["oldlace","#fdf5e6"],["olive","#808000"],["olivedrab","#6b8e23"],["orange","#ffa500"],["orangered","#ff4500"],["orchid","#da70d6"],["palegoldenrod","#eee8aa"],["palegreen","#98fb98"],["paleturquoise","#afeeee"],["palevioletred","#db7093"],["papayawhip","#ffefd5"],["peachpuff","#ffdab9"],["peru","#cd853f"],["pink","#ffc0cb"],["plum","#dda0dd"],["powderblue","#b0e0e6"],["purple","#800080"],["rebeccapurple","#663399"],["red","#ff0000"],["rosybrown","#bc8f8f"],["royalblue","#4169e1"],["saddlebrown","#8b4513"],["salmon","#fa8072"],["sandybrown","#f4a460"],["seagreen","#2e8b57"],["seashell","#fff5ee"],["sienna","#a0522d"],["silver","#c0c0c0"],["skyblue","#87ceeb"],["slateblue","#6a5acd"],["slategray","#708090"],["slategrey","#708090"],["snow","#fffafa"],["springgreen","#00ff7f"],["steelblue","#4682b4"],["tan","#d2b48c"],["teal","#008080"],["thistle","#d8bfd8"],["tomato","#ff6347"],["turquoise","#40e0d0"],["violet","#ee82ee"],["wheat","#f5deb3"],["white","#ffffff"],["whitesmoke","#f5f5f5"],["yellow","#ffff00"],["yellowgreen","#9acd32"]]),s_e=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]])}return a},l_e=new WeakMap,c_e=function(e){return e.rgb="RGB",e.hex="HEX",e.named="NAMED",e.hsl="HSL",e}(c_e||={}),u_e=/rgb(?:a)?\(\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*([,/]\s*0?\.?\d+%?)?\)/,d_e=/hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*0?\.\d+)?\)/,p_e=/(^|\b)(#[0-9a-f]{3,9})(\b|$)/i,h_e="cm-css-color-picker-wrapper",m_e=class extends eOe{constructor(e){var{color:t}=e,a=s_e(e,["color"]);super(),this.state=a,this.color=t}eq(e){return e.state.colorType===this.state.colorType&&e.color===this.color&&e.state.from===this.state.from&&e.state.to===this.state.to&&e.state.alpha===this.state.alpha}toDOM(){let e=document.createElement("input");l_e.set(e,this.state),e.type="color",e.value=this.color;let t=document.createElement("span");return t.appendChild(e),t.className=h_e,t}ignoreEvent(){return!1}},f_e=Yxe.baseTheme({[`.${h_e}`]:{display:"inline-block",outline:"1px solid #eee",marginRight:"0.6ch",height:"1em",width:"1em",transform:"translateY(1px)"},[`.${h_e} input[type="color"]`]:{cursor:"pointer",height:"100%",width:"100%",padding:0,border:"none","&::-webkit-color-swatch-wrapper":{padding:0},"&::-webkit-color-swatch":{border:"none"},"&::-moz-color-swatch":{border:"none"}}}),g_e=e=>UOe.fromClass(class{constructor(t){this.decorations=e_e(t,e.discoverColors)}update(t){(t.docChanged||t.viewportChanged)&&(this.decorations=e_e(t.view,e.discoverColors))}},{decorations:e=>e.decorations,eventHandlers:{change:(e,t)=>{let a=e.target;if("INPUT"!==a.nodeName||!a.parentElement||!a.parentElement.classList.contains("cm-css-color-picker-wrapper"))return!1;let r=l_e.get(a),n=a.value+r.alpha;if(r.colorType===c_e.rgb)n=`rgb(${r_e(a.value).join(", ")}${r.alpha})`;else if(r.colorType===c_e.named)for(let[e,t]of i_e.entries())t===a.value&&(n=e);else if(r.colorType===c_e.hsl){let[e,t,o]=r_e(a.value),[i,s,l]=function(e,t,a){let r,n,o=e/255,i=t/255,s=a/255,l=Math.min(o,i,s),c=Math.max(o,i,s),u=(c+l)/2;if(c===l)return[0,0,u];for(r=u<=.5?(c-l)/(c+l):(c-l)/(2-c-l),n=c===o?(i-s)/(c-l):i===c?2+(s-o)/(c-l):4+(o-i)/(c-l),n=Math.round(60*n);n<0;)n+=360;return[n,r,u]}(e,t,o);n=`hsl(${i}, ${Math.round(100*s)}%, ${Math.round(100*l)}%${r.alpha})`}return t.dispatch({changes:{from:r.from,to:r.to,insert:n}}),!0}}}),v_e=[g_e({discoverColors:JAe}),f_e]});function y_e(e){let t=Object.keys(e).join(""),a=/\w/.test(t);return a&&(t=t.replace(/\w/g,"")),`[${a?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function O_e(e){let t=e.map(e=>"string"==typeof e?{label:e}:e),[a,r]=t.every(e=>/^\w+$/.test(e.label))?[/\w*$/,/\w+$/]:function(e){let t=Object.create(null),a=Object.create(null);for(let{label:r}of e){t[r[0]]=!0;for(let e=1;e<r.length;e++)a[r[e]]=!0}let r=y_e(t)+y_e(a)+"*$";return[RegExp("^"+r),new RegExp(r)]}(t);return e=>{let n=e.matchBefore(r);return n||e.explicit?{from:n?n.from:e.pos,options:t,validFor:a}:null}}function x_e(e,t){return a=>{for(let t=SSe(a.state).resolveInner(a.pos,-1);t;t=t.parent){if(e.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return t(a)}}function w_e(e){return e.selection.main.from}function k_e(e,t){let{source:a}=e,r=t&&"^"!=a[0],n="$"!=a[a.length-1];return r||n?RegExp(`${r?"^":""}(?:${a})${n?"$":""}`,e.flags??(e.ignoreCase?"i":"")):e}function S_e(e){if(!Array.isArray(e))return e;let t=X_e.get(e);return t||X_e.set(e,t=O_e(e)),t}function A_e(e,t){return e?t?e+" "+t:e:t}function __e(e,t,a,r,n,o){let i,s,l=e.textDirection==dOe.RTL,c=l,u=!1,d="top",p=t.left-n.left,h=n.right-t.right,m=r.right-r.left,f=r.bottom-r.top;if(c&&p<Math.min(m,h)?c=!1:!c&&h<Math.min(m,p)&&(c=!0),m<=(c?p:h))i=Math.max(n.top,Math.min(a.top,n.bottom-f))-t.top,s=Math.min(400,c?p:h);else{u=!0,s=Math.min(400,(l?t.right:n.right-t.left)-30);let e=n.bottom-t.bottom;e>=f||e>t.top?i=a.bottom-t.top:(d="bottom",i=t.bottom-a.top)}return{style:`${d}: ${i/((t.bottom-t.top)/o.offsetHeight)}px; max-width: ${s/((t.right-t.left)/o.offsetWidth)}px`,class:"cm-completionInfo-"+(u?l?"left-narrow":"right-narrow":c?"left":"right")}}function T_e(e,t,a){if(e<=a)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let e=Math.floor(t/a);return{from:e*a,to:(e+1)*a}}let r=Math.floor((e-t)/a);return{from:e-(r+1)*a,to:e-r*a}}function E_e(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}function C_e(e,t){let a={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(a["aria-activedescendant"]=e+"-"+t),a}function P_e(e,t){if(e.isUserEvent("input.complete")){let a=e.annotation(W_e);if(a&&t.activateOnCompletion(a))return 12}let a=e.isUserEvent("input.type");return a&&t.activateOnTyping?5:a?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}function M_e(e,t){let a=t.completion.apply||t.completion.label,r=e.state.field(dTe).active.find(e=>e.source==t.source);return r instanceof lTe&&("string"==typeof a?e.dispatch(Object.assign(Object.assign({},function(e,t,a,r){let{main:n}=e.selection,o=a-n.from,i=r-n.from;return Object.assign(Object.assign({},e.changeByRange(s=>{if(s!=n&&a!=r&&e.sliceDoc(s.from+o,s.from+i)!=e.sliceDoc(a,r))return{range:s};let l=e.toText(t);return{changes:{from:s.from+o,to:r==n.from?s.to:s.from+i,insert:l},range:zge.cursor(s.from+o+l.length)}})),{scrollIntoView:!0,userEvent:"input.complete"})}(e.state,a,r.from,r.to)),{annotations:W_e.of(t.completion)})):a(e,t.completion,r.from,r.to),!0)}function $_e(e,t="option"){return a=>{let r=a.state.field(dTe,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<a.state.facet(eTe).interactionDelay)return!1;let n,o=1;"page"==t&&(n=wye(a,r.open.tooltip))&&(o=Math.max(2,Math.floor(n.dom.offsetHeight/n.dom.querySelector("li").offsetHeight)-1));let{length:i}=r.open.options,s=r.open.selected>-1?r.open.selected+o*(e?1:-1):e?0:i-1;return s<0?s="page"==t?0:i-1:s>=i&&(s="page"==t?i-1:0),a.dispatch({effects:uTe.of(s)}),!0}}function N_e(e,t){return zge.create(e.filter(e=>e.field==t).map(e=>zge.range(e.from,e.to)))}function I_e(e){let t=kTe.parse(e);return(e,a,r,n)=>{let{text:o,ranges:i}=t.instantiate(e.state,r),s={changes:{from:r,to:n,insert:Ege.of(o)},scrollIntoView:!0,annotations:a?[W_e.of(a),uve.userEvent.of("input.complete")]:void 0};if(i.length&&(s.selection=N_e(i,0)),i.some(e=>e.field>0)){let t=new _Te(i,0),a=s.effects=[TTe.of(t)];void 0===e.state.field(CTe,!1)&&a.push(cve.appendConfig.of([CTe,RTe,DTe,OTe]))}e.dispatch(e.state.update(s))}}function R_e(e){return({state:t,dispatch:a})=>{let r=t.field(CTe,!1);if(!r||e<0&&0==r.active)return!1;let n=r.active+e,o=e>0&&!r.ranges.some(t=>t.field==n+e);return a(t.update({selection:N_e(r.ranges,n),effects:TTe.of(o?null:new _Te(r.ranges,n)),scrollIntoView:!0})),!0}}function D_e(e,t){return Object.assign(Object.assign({},t),{apply:I_e(e)})}function L_e(e){for(let t=0;t<8;t+=2)if(zTe.charCodeAt(t)==e)return zTe.charAt(t+1);return Yfe(e<128?e:e+1)}function B_e(e,t){return e.languageDataAt("closeBrackets",t)[0]||LTe}function j_e(e,t){let a=!1;return e.field(UTe).between(0,e.doc.length,e=>{e==t&&(a=!0)}),a}function U_e(e,t){let a=e.sliceString(t,t+2);return a.slice(0,Kfe(Gfe(a,0)))}function z_e(e,t,a,r){let n=null,o=e.changeByRange(o=>{if(!o.empty)return{changes:[{insert:t,from:o.from},{insert:a,from:o.to}],effects:BTe.of(o.to+t.length),range:zge.range(o.anchor+t.length,o.head+t.length)};let i=U_e(e.doc,o.head);return!i||/\s/.test(i)||r.indexOf(i)>-1?{changes:{insert:t+a,from:o.head},effects:BTe.of(o.head+t.length),range:zge.cursor(o.head+t.length)}:{range:n=o}});return n?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function H_e(e,t,a){let r=null,n=e.changeByRange(t=>t.empty&&U_e(e.doc,t.head)==a?{changes:{from:t.head,to:t.head+a.length,insert:a},range:zge.cursor(t.head+a.length)}:r={range:t});return r?null:e.update(n,{scrollIntoView:!0,userEvent:"input.type"})}function Z_e(e,t,a,r){let n=r.stringPrefixes||LTe.stringPrefixes,o=null,i=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:BTe.of(r.to+t.length),range:zge.range(r.anchor+t.length,r.head+t.length)};let i,s=r.head,l=U_e(e.doc,s);if(l==t){if(V_e(e,s))return{changes:{insert:t+t,from:s},effects:BTe.of(s+t.length),range:zge.cursor(s+t.length)};if(j_e(e,s)){let r=a&&e.sliceDoc(s,s+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:s,to:s+r.length,insert:r},range:zge.cursor(s+r.length)}}}else{if(a&&e.sliceDoc(s-2*t.length,s)==t+t&&(i=Q_e(e,s-2*t.length,n))>-1&&V_e(e,i))return{changes:{insert:t+t+t+t,from:s},effects:BTe.of(s+t.length),range:zge.cursor(s+t.length)};if(e.charCategorizer(s)(l)!=pve.Word&&Q_e(e,s,n)>-1&&!function(e,t,a,r){let n=SSe(e).resolveInner(t,-1),o=r.reduce((e,t)=>Math.max(e,t.length),0);for(let i=0;i<5;i++){let i=e.sliceDoc(n.from,Math.min(n.to,n.from+a.length+o)),s=i.indexOf(a);if(!s||s>-1&&r.indexOf(i.slice(0,s))>-1){let t=n.firstChild;for(;t&&t.from==n.from&&t.to-t.from>a.length+s;){if(e.sliceDoc(t.to-a.length,t.to)==a)return!1;t=t.firstChild}return!0}let l=n.to==t&&n.parent;if(!l)break;n=l}return!1}(e,s,t,n))return{changes:{insert:t+t,from:s},effects:BTe.of(s+t.length),range:zge.cursor(s+t.length)}}return{range:o=r}});return o?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function V_e(e,t){let a=SSe(e).resolveInner(t+1);return a.parent&&a.from==t}function Q_e(e,t,a){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=pve.Word)return t;for(let n of a){let a=t-n.length;if(e.sliceDoc(a,t)==n&&r(e.sliceDoc(a-1,a))!=pve.Word)return a}return-1}var q_e,F_e,W_e,X_e,G_e,Y_e,K_e,J_e,eTe,tTe,aTe,rTe,nTe,oTe,iTe,sTe,lTe,cTe,uTe,dTe,pTe,hTe,mTe,fTe,gTe,vTe,bTe,yTe,OTe,xTe,wTe,kTe,STe,ATe,_Te,TTe,ETe,CTe,PTe,MTe,$Te,NTe,ITe,RTe,DTe,LTe,BTe,jTe,UTe,zTe,HTe,ZTe,VTe,QTe,qTe,FTe,WTe=V(()=>{Pve(),eke(),KAe(),q_e=class{constructor(e,t,a,r){this.state=e,this.pos=t,this.explicit=a,this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let t=SSe(this.state).resolveInner(this.pos,-1);for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){let t=this.state.doc.lineAt(this.pos),a=Math.max(t.from,this.pos-250),r=t.text.slice(a-t.from,this.pos-t.from),n=r.search(k_e(e,!1));return n<0?null:{from:a+n,to:this.pos,text:r.slice(n)}}get aborted(){return null==this.abortListeners}addEventListener(e,t,a){"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),a&&a.onDocChange&&(this.abortOnDocChange=!0))}},F_e=class{constructor(e,t,a,r){this.completion=e,this.source=t,this.match=a,this.score=r}},W_e=ive.define(),X_e=new WeakMap,G_e=cve.define(),Y_e=cve.define(),K_e=class{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let t=0;t<e.length;){let a=Gfe(e,t),r=Kfe(a);this.chars.push(a);let n=e.slice(t,t+r),o=n.toUpperCase();this.folded.push(Gfe(o==n?n.toLowerCase():o,0)),t+=r}this.astral=e.length!=this.chars.length}ret(e,t){return this.score=e,this.matched=t,this}match(e){if(0==this.pattern.length)return this.ret(-100,[]);if(e.length<this.pattern.length)return null;let{chars:t,folded:a,any:r,precise:n,byWord:o}=this;if(1==t.length){let r=Gfe(e,0),n=Kfe(r),o=n==e.length?0:-100;if(r!=t[0]){if(r!=a[0])return null;o+=-200}return this.ret(o,[0,n])}let i=e.indexOf(this.pattern);if(0==i)return this.ret(e.length==this.pattern.length?0:-100,[0,this.pattern.length]);let s=t.length,l=0;if(i<0){for(let n=0,o=Math.min(e.length,200);n<o&&l<s;){let o=Gfe(e,n);(o==t[l]||o==a[l])&&(r[l++]=n),n+=Kfe(o)}if(l<s)return null}let c=0,u=0,d=!1,p=0,h=-1,m=-1,f=/[a-z]/.test(e),g=!0;for(let r=0,l=Math.min(e.length,200),v=0;r<l&&u<s;){let l=Gfe(e,r);i<0&&(c<s&&l==t[c]&&(n[c++]=r),p<s&&(l==t[p]||l==a[p]?(0==p&&(h=r),m=r+1,p++):p=0));let b,y=l<255?l>=48&&l<=57||l>=97&&l<=122?2:l>=65&&l<=90?1:0:(b=Yfe(l))==b.toLowerCase()?b==b.toUpperCase()?0:2:1;(!r||1==y&&f||0==v&&0!=y)&&(t[u]==l||a[u]==l&&(d=!0)?o[u++]=r:o.length&&(g=!1)),v=y,r+=Kfe(l)}return u==s&&0==o[0]&&g?this.result((d?-200:0)-100,o,e):p==s&&0==h?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):i>-1?this.ret(-700-e.length,[i,i+this.pattern.length]):p==s?this.ret(-900-e.length,[h,m]):u==s?this.result((d?-200:0)-100-700+(g?0:-1100),o,e):2==t.length?null:this.result((r[0]?-700:0)-200-1100,r,e)}result(e,t,a){let r=[],n=0;for(let e of t){let t=e+(this.astral?Kfe(Gfe(a,e)):1);n&&r[n-1]==e?r[n-1]=t:(r[n++]=e,r[n++]=t)}return this.ret(e-a.length,r)}},J_e=class{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length<this.pattern.length)return null;let t=e.slice(0,this.pattern.length),a=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null;return null==a?null:(this.matched=[0,t.length],this.score=a+(e.length==this.pattern.length?0:-100),this)}},eTe=Zge.define({combine:e=>bge(e,{activateOnTyping:!0,activateOnCompletion:()=>!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:__e,filterStrict:!1,compareCompletions:(e,t)=>e.label.localeCompare(t.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,t)=>e&&t,closeOnBlur:(e,t)=>e&&t,icons:(e,t)=>e&&t,tooltipClass:(e,t)=>a=>A_e(e(a),t(a)),optionClass:(e,t)=>a=>A_e(e(a),t(a)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})}),tTe=class{constructor(e,t,a){this.view=e,this.stateField=t,this.applyCompletion=a,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this},this.space=null,this.currentClass="";let r=e.state.field(t),{options:n,selected:o}=r.open,i=e.state.facet(eTe);this.optionContent=function(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(e){let t=document.createElement("div");return t.classList.add("cm-completionIcon"),e.type&&t.classList.add(...e.type.split(/\s+/g).map(e=>"cm-completionIcon-"+e)),t.setAttribute("aria-hidden","true"),t},position:20}),t.push({render(e,t,a,r){let n=document.createElement("span");n.className="cm-completionLabel";let o=e.displayLabel||e.label,i=0;for(let e=0;e<r.length;){let t=r[e++],a=r[e++];t>i&&n.appendChild(document.createTextNode(o.slice(i,t)));let s=n.appendChild(document.createElement("span"));s.appendChild(document.createTextNode(o.slice(t,a))),s.className="cm-completionMatchedText",i=a}return i<o.length&&n.appendChild(document.createTextNode(o.slice(i))),n},position:50},{render(e){if(!e.detail)return null;let t=document.createElement("span");return t.className="cm-completionDetail",t.textContent=e.detail,t},position:80}),t.sort((e,t)=>e.position-t.position).map(e=>e.render)}(i),this.optionClass=i.optionClass,this.tooltipClass=i.tooltipClass,this.range=T_e(n.length,o,i.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",a=>{let{options:r}=e.state.field(t).open;for(let t,n=a.target;n&&n!=this.dom;n=n.parentNode)if("LI"==n.nodeName&&(t=/-(\d+)$/.exec(n.id))&&+t[1]<r.length)return this.applyCompletion(e,r[+t[1]]),void a.preventDefault()}),this.dom.addEventListener("focusout",t=>{let a=e.state.field(this.stateField,!1);a&&a.tooltip&&e.state.facet(eTe).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:Y_e.of(null)})}),this.showOptions(n,r.id)}mount(){this.updateSel()}showOptions(e,t){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){let t=e.state.field(this.stateField),a=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),t!=a){let{options:r,selected:n,disabled:o}=t.open;(!a.open||a.open.options!=r)&&(this.range=T_e(r.length,n,e.state.facet(eTe).maxRenderedOptions),this.showOptions(r,t.id)),this.updateSel(),o!=a.open?.disabled&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(e){let t=this.tooltipClass(e);if(t!=this.currentClass){for(let e of this.currentClass.split(" "))e&&this.dom.classList.remove(e);for(let e of t.split(" "))e&&this.dom.classList.add(e);this.currentClass=t}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),t=e.open;if((t.selected>-1&&t.selected<this.range.from||t.selected>=this.range.to)&&(this.range=T_e(t.options.length,t.selected,this.view.state.facet(eTe).maxRenderedOptions),this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){this.destroyInfo();let{completion:a}=t.options[t.selected],{info:r}=a;if(!r)return;let n="string"==typeof r?document.createTextNode(r):r(a);if(!n)return;"then"in n?n.then(t=>{t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,a)}).catch(e=>Sbe(this.view.state,e,"completion info")):this.addInfoPane(n,a)}}addInfoPane(e,t){this.destroyInfo();let a=this.info=document.createElement("div");if(a.className="cm-tooltip cm-completionInfo",null!=e.nodeType)a.appendChild(e),this.infoDestroy=null;else{let{dom:t,destroy:r}=e;a.appendChild(t),this.infoDestroy=r||null}this.dom.appendChild(a),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let t=null;for(let a=this.list.firstChild,r=this.range.from;a;a=a.nextSibling,r++)"LI"==a.nodeName&&a.id?r==e?a.hasAttribute("aria-selected")||(a.setAttribute("aria-selected","true"),t=a):a.hasAttribute("aria-selected")&&a.removeAttribute("aria-selected"):r--;return t&&function(e,t){let a=e.getBoundingClientRect(),r=t.getBoundingClientRect(),n=a.height/e.offsetHeight;r.top<a.top?e.scrollTop-=(a.top-r.top)/n:r.bottom>a.bottom&&(e.scrollTop+=(r.bottom-a.bottom)/n)}(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let t=this.dom.getBoundingClientRect(),a=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),n=this.space;if(!n){let e=this.dom.ownerDocument.defaultView||window;n={left:0,top:0,right:e.innerWidth,bottom:e.innerHeight}}return r.top>Math.min(n.bottom,t.bottom)-10||r.bottom<Math.max(n.top,t.top)+10?null:this.view.state.facet(eTe).positionInfo(this.view,t,r,a,n,this.dom)}placeInfo(e){this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(e,t,a){let r=document.createElement("ul");r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),r.setAttribute("aria-label",this.view.state.phrase("Completions"));let n=null;for(let o=a.from;o<a.to;o++){let{completion:i,match:s}=e[o],{section:l}=i;if(l){let e="string"==typeof l?l:l.name;if(e!=n&&(o>a.from||0==a.from))if(n=e,"string"!=typeof l&&l.header)r.appendChild(l.header(l));else{r.appendChild(document.createElement("completion-section")).textContent=e}}let c=r.appendChild(document.createElement("li"));c.id=t+"-"+o,c.setAttribute("role","option");let u=this.optionClass(i);u&&(c.className=u);for(let e of this.optionContent){let t=e(i,this.view.state,this.view,s);t&&c.appendChild(t)}}return a.from&&r.classList.add("cm-completionListIncompleteTop"),a.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}destroyInfo(){this.info&&=(this.infoDestroy&&this.infoDestroy(),this.info.remove(),null)}destroy(){this.destroyInfo()}},aTe=class e{constructor(e,t,a,r,n,o){this.options=e,this.attrs=t,this.tooltip=a,this.timestamp=r,this.selected=n,this.disabled=o}setSelected(t,a){return t==this.selected||t>=this.options.length?this:new e(this.options,C_e(a,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,a,r,n,o,i){if(n&&!i&&t.some(e=>e.isPending))return n.setDisabled();let s=function(e,t){let a=[],r=null,n=e=>{a.push(e);let{section:t}=e.completion;if(t){r||=[];let e="string"==typeof t?t:t.name;r.some(t=>t.name==e)||r.push("string"==typeof t?{name:e}:t)}},o=t.facet(eTe);for(let r of e)if(r.hasResult()){let e=r.result.getMatch;if(!1===r.result.filter)for(let t of r.result.options)n(new F_e(t,r.source,e?e(t):[],1e9-a.length));else{let a,i=t.sliceDoc(r.from,r.to),s=o.filterStrict?new J_e(i):new K_e(i);for(let t of r.result.options)if(a=s.match(t.label)){let o=t.displayLabel?e?e(t,a.matched):[]:a.matched;n(new F_e(t,r.source,o,a.score+(t.boost||0)))}}}if(r){let e=Object.create(null),t=0,n=(e,t)=>(e.rank??1e9)-(t.rank??1e9)||(e.name<t.name?-1:1);for(let a of r.sort(n))t-=1e5,e[a.name]=t;for(let t of a){let{section:a}=t.completion;a&&(t.score+=e["string"==typeof a?a:a.name])}}let i=[],s=null,l=o.compareCompletions;for(let e of a.sort((e,t)=>t.score-e.score||l(e.completion,t.completion))){let t=e.completion;!s||s.label!=t.label||s.detail!=t.detail||null!=s.type&&null!=t.type&&s.type!=t.type||s.apply!=t.apply||s.boost!=t.boost?i.push(e):E_e(e.completion)>E_e(s)&&(i[i.length-1]=e),s=e.completion}return i}(t,a);if(!s.length)return n&&t.some(e=>e.isPending)?n.setDisabled():null;let l=a.facet(eTe).selectOnOpen?0:-1;if(n&&n.selected!=l&&-1!=n.selected){let e=n.options[n.selected].completion;for(let t=0;t<s.length;t++)if(s[t].completion==e){l=t;break}}return new e(s,C_e(r,l),{pos:t.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:pTe,above:o.aboveCursor},n?n.timestamp:Date.now(),l,!1)}map(t){return new e(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}setDisabled(){return new e(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}},rTe=class e{constructor(e,t,a){this.active=e,this.id=t,this.open=a}static start(){return new e(iTe,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(t){let{state:a}=t,r=a.facet(eTe),n=(r.override||a.languageDataAt("autocomplete",w_e(a)).map(S_e)).map(e=>(this.active.find(t=>t.source==e)||new sTe(e,this.active.some(e=>0!=e.state)?1:0)).update(t,r));n.length==this.active.length&&n.every((e,t)=>e==this.active[t])&&(n=this.active);let o=this.open,i=t.effects.some(e=>e.is(cTe));o&&t.docChanged&&(o=o.map(t.changes)),t.selection||n.some(e=>e.hasResult()&&t.changes.touchesRange(e.from,e.to))||!function(e,t){if(e==t)return!0;for(let a=0,r=0;;){for(;a<e.length&&!e[a].hasResult();)a++;for(;r<t.length&&!t[r].hasResult();)r++;let n=a==e.length,o=r==t.length;if(n||o)return n==o;if(e[a++].result!=t[r++].result)return!1}}(n,this.active)||i?o=aTe.build(n,a,this.id,o,r,i):o&&o.disabled&&!n.some(e=>e.isPending)&&(o=null),!o&&n.every(e=>!e.isPending)&&n.some(e=>e.hasResult())&&(n=n.map(e=>e.hasResult()?new sTe(e.source,0):e));for(let e of t.effects)e.is(uTe)&&(o&&=o.setSelected(e.value,this.id));return n==this.active&&o==this.open?this:new e(n,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?nTe:oTe}},nTe={"aria-autocomplete":"list"},oTe={},iTe=[],sTe=class e{constructor(e,t,a=!1){this.source=e,this.state=t,this.explicit=a}hasResult(){return!1}get isPending(){return 1==this.state}update(t,a){let r=P_e(t,a),n=this;(8&r||16&r&&this.touches(t))&&(n=new e(n.source,0)),4&r&&0==n.state&&(n=new e(this.source,1)),n=n.updateFor(t,r);for(let a of t.effects)if(a.is(G_e))n=new e(n.source,1,a.value);else if(a.is(Y_e))n=new e(n.source,0);else if(a.is(cTe))for(let e of a.value)e.source==n.source&&(n=e);return n}updateFor(e,t){return this.map(e.changes)}map(e){return this}touches(e){return e.changes.touchesRange(w_e(e.state))}},lTe=class e extends sTe{constructor(e,t,a,r,n,o){super(e,3,t),this.limit=a,this.result=r,this.from=n,this.to=o}hasResult(){return!0}updateFor(t,a){if(!(3&a))return this.map(t.changes);let r=this.result;r.map&&!t.changes.empty&&(r=r.map(r,t.changes));let n=t.changes.mapPos(this.from),o=t.changes.mapPos(this.to,1),i=w_e(t.state);if(i>o||!r||2&a&&(w_e(t.startState)==this.from||i<this.limit))return new sTe(this.source,4&a?1:0);let s=t.changes.mapPos(this.limit);return function(e,t,a,r){if(!e)return!1;let n=t.sliceDoc(a,r);return"function"==typeof e?e(n,a,r,t):k_e(e,!0).test(n)}(r.validFor,t.state,n,o)?new e(this.source,this.explicit,s,r,n,o):r.update&&(r=r.update(r,n,o,new q_e(t.state,i,!1)))?new e(this.source,this.explicit,s,r,r.from,r.to??w_e(t.state)):new sTe(this.source,1,this.explicit)}map(t){return t.empty?this:(this.result.map?this.result.map(this.result,t):this.result)?new e(this.source,this.explicit,t.mapPos(this.limit),this.result,t.mapPos(this.from),t.mapPos(this.to,1)):new sTe(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}},cTe=cve.define({map:(e,t)=>e.map(e=>e.map(t))}),uTe=cve.define(),dTe=qge.define({create:()=>rTe.start(),update:(e,t)=>e.update(t),provide:e=>[Ewe.from(e,e=>e.tooltip),Yxe.contentAttributes.from(e,e=>e.attrs)]}),pTe=function(e,t){return a=>new tTe(a,e,t)}(dTe,M_e),hTe=e=>{let t=e.state.field(dTe,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(eTe).interactionDelay)&&M_e(e,t.open.options[t.open.selected])},mTe=e=>!!e.state.field(dTe,!1)&&(e.dispatch({effects:G_e.of(!0)}),!0),fTe=e=>{let t=e.state.field(dTe,!1);return!(!t||!t.active.some(e=>0!=e.state))&&(e.dispatch({effects:Y_e.of(null)}),!0)},gTe=class{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}},vTe=UOe.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of e.state.field(dTe).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(dTe),a=e.state.facet(eTe);if(!e.selectionSet&&!e.docChanged&&e.startState.field(dTe)==t)return;let r=e.transactions.some(e=>{let t=P_e(e,a);return 8&t||(e.selection||e.docChanged)&&!(3&t)});for(let t=0;t<this.running.length;t++){let a=this.running[t];if(r||a.context.abortOnDocChange&&e.docChanged||a.updates.length+e.transactions.length>50&&Date.now()-a.time>1e3){for(let t of a.context.abortListeners)try{t()}catch(e){Sbe(this.view.state,e)}a.context.abortListeners=null,this.running.splice(t--,1)}else a.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(e=>e.effects.some(e=>e.is(G_e)))&&(this.pendingStart=!0);let n=this.pendingStart?50:a.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(e=>e.isPending&&!this.running.some(t=>t.active.source==e.source))?setTimeout(()=>this.startUpdate(),n):-1,0!=this.composing)for(let t of e.transactions)t.isUserEvent("input.type")?this.composing=2:2==this.composing&&t.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(dTe);for(let e of t.active)e.isPending&&!this.running.some(t=>t.active.source==e.source)&&this.startQuery(e);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(eTe).updateSyncTime))}startQuery(e){let{state:t}=this.view,a=new q_e(t,w_e(t),e.explicit,this.view),r=new gTe(e,a);this.running.push(r),Promise.resolve(e.source(a)).then(e=>{r.context.aborted||(r.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:Y_e.of(null)}),Sbe(this.view.state,e)})}scheduleAccept(){this.running.every(e=>void 0!==e.done)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(eTe).updateSyncTime))}accept(){this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(eTe),a=this.view.state.field(dTe);for(let r=0;r<this.running.length;r++){let n=this.running[r];if(void 0===n.done)continue;if(this.running.splice(r--,1),n.done){let a=w_e(n.updates.length?n.updates[0].startState:this.view.state),r=Math.min(a,n.done.from+(n.active.explicit?0:1)),o=new lTe(n.active.source,n.active.explicit,r,n.done,n.done.from,n.done.to??a);for(let e of n.updates)o=o.update(e,t);if(o.hasResult()){e.push(o);continue}}let o=a.active.find(e=>e.source==n.active.source);if(o&&o.isPending)if(null==n.done){let a=new sTe(n.active.source,0);for(let e of n.updates)a=a.update(e,t);a.isPending||e.push(a)}else this.startQuery(o)}(e.length||a.open&&a.open.disabled)&&this.view.dispatch({effects:cTe.of(e)})}},{eventHandlers:{blur(e){let t=this.view.state.field(dTe,!1);if(t&&t.tooltip&&this.view.state.facet(eTe).closeOnBlur){let a=t.open&&wye(this.view,t.open.tooltip);(!a||!a.dom.contains(e.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Y_e.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:G_e.of(!1)}),20),this.composing=0}}}),bTe="object"==typeof navigator&&/Win/.test(navigator.platform),yTe=Wge.highest(Yxe.domEventHandlers({keydown(e,t){let a=t.state.field(dTe,!1);if(!a||!a.open||a.open.disabled||a.open.selected<0||e.key.length>1||e.ctrlKey&&(!bTe||!e.altKey)||e.metaKey)return!1;let r=a.open.options[a.open.selected],n=a.active.find(e=>e.source==r.source),o=r.completion.commitCharacters||n.result.commitCharacters;return o&&o.indexOf(e.key)>-1&&M_e(t,r),!1}})),OTe=Yxe.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),xTe=class{constructor(e,t,a,r){this.field=e,this.line=t,this.from=a,this.to=r}},wTe=class e{constructor(e,t,a){this.field=e,this.from=t,this.to=a}map(t){let a=t.mapPos(this.from,-1,Dge.TrackDel),r=t.mapPos(this.to,1,Dge.TrackDel);return null==a||null==r?null:new e(this.field,a,r)}},kTe=class e{constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){let a=[],r=[t],n=e.doc.lineAt(t),o=/^\s*/.exec(n.text)[0];for(let n of this.lines){if(a.length){let a=o,i=/^\t*/.exec(n)[0].length;for(let t=0;t<i;t++)a+=e.facet(fAe);r.push(t+a.length-i),n=a+n.slice(i)}a.push(n),t+=n.length+1}return{text:a,ranges:this.fieldPositions.map(e=>new wTe(e.field,r[e.line]+e.from,r[e.line]+e.to))}}static parse(t){let a,r=[],n=[],o=[];for(let e of t.split(/\r\n?|\n/)){for(;a=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(e);){let t=a[1]?+a[1]:null,i=a[2]||a[3]||"",s=-1,l=i.replace(/\\[{}]/g,e=>e[1]);for(let e=0;e<r.length;e++)(null==t?l&&r[e].name==l:r[e].seq==t)&&(s=e);if(s<0){let e=0;for(;e<r.length&&(null==t||null!=r[e].seq&&r[e].seq<t);)e++;r.splice(e,0,{seq:t,name:l}),s=e;for(let e of o)e.field>=s&&e.field++}o.push(new xTe(s,n.length,a.index,a.index+l.length)),e=e.slice(0,a.index)+i+e.slice(a.index+a[0].length)}e=e.replace(/\\([{}])/g,(e,t,a)=>{for(let e of o)e.line==n.length&&e.from>a&&(e.from--,e.to--);return t}),n.push(e)}return new e(n,o)}},STe=aOe.widget({widget:new class extends eOe{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),ATe=aOe.mark({class:"cm-snippetField"}),_Te=class e{constructor(e,t){this.ranges=e,this.active=t,this.deco=aOe.set(e.map(e=>(e.from==e.to?STe:ATe).range(e.from,e.to)))}map(t){let a=[];for(let e of this.ranges){let r=e.map(t);if(!r)return null;a.push(r)}return new e(a,this.active)}selectionInsideField(e){return e.ranges.every(e=>this.ranges.some(t=>t.field==this.active&&t.from<=e.from&&t.to>=e.to))}},TTe=cve.define({map:(e,t)=>e&&e.map(t)}),ETe=cve.define(),CTe=qge.define({create:()=>null,update(e,t){for(let a of t.effects){if(a.is(TTe))return a.value;if(a.is(ETe)&&e)return new _Te(e.ranges,a.value)}return e&&t.docChanged&&(e=e.map(t.changes)),e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},provide:e=>Yxe.decorations.from(e,e=>e?e.deco:aOe.none)}),PTe=({state:e,dispatch:t})=>!!e.field(CTe,!1)&&(t(e.update({effects:TTe.of(null)})),!0),MTe=R_e(1),$Te=R_e(-1),NTe=[{key:"Tab",run:MTe,shift:$Te},{key:"Escape",run:PTe}],ITe=Zge.define({combine:e=>e.length?e[0]:NTe}),RTe=Wge.highest(rwe.compute([ITe],e=>e.facet(ITe))),DTe=Yxe.domEventHandlers({mousedown(e,t){let a,r=t.state.field(CTe,!1);if(!r||null==(a=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1;let n=r.ranges.find(e=>e.from<=a&&e.to>=a);return!(!n||n.field==r.active)&&(t.dispatch({selection:N_e(r.ranges,n.field),effects:TTe.of(r.ranges.some(e=>e.field>n.field)?new _Te(r.ranges,n.field):null),scrollIntoView:!0}),!0)}}),LTe={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},BTe=cve.define({map:(e,t)=>t.mapPos(e,-1,Dge.TrackAfter)??void 0}),(jTe=new class extends gve{}).startSide=1,jTe.endSide=-1,UTe=qge.define({create:()=>yve.empty,update(e,t){if(e=e.map(t.changes),t.selection){let a=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:e=>e>=a.from&&e<=a.to})}for(let a of t.effects)a.is(BTe)&&(e=e.update({add:[jTe.range(a.value,a.value+1)]}));return e}}),zTe="()[]{}<>",HTe="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),ZTe=Yxe.inputHandler.of((e,t,a,r)=>{if((HTe?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let n=e.state.selection.main;if(r.length>2||2==r.length&&1==Kfe(Gfe(r,0))||t!=n.from||a!=n.to)return!1;let o=function(e,t){let a=B_e(e,e.selection.main.head),r=a.brackets||LTe.brackets;for(let n of r){let o=L_e(Gfe(n,0));if(t==n)return o==n?Z_e(e,n,r.indexOf(n+n+n)>-1,a):z_e(e,n,o,a.before||LTe.before);if(t==o&&j_e(e,e.selection.main.from))return H_e(e,0,o)}return null}(e.state,r);return!!o&&(e.dispatch(o),!0)}),VTe=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let a=B_e(e,e.selection.main.head).brackets||LTe.brackets,r=null,n=e.changeByRange(t=>{if(t.empty){let r=function(e,t){let a=e.sliceString(t-2,t);return Kfe(Gfe(a,0))==a.length?a:a.slice(1)}(e.doc,t.head);for(let n of a)if(n==r&&U_e(e.doc,t.head)==L_e(Gfe(n,0)))return{changes:{from:t.head-n.length,to:t.head+n.length},range:zge.cursor(t.head-n.length)}}return{range:r=t}});return r||t(e.update(n,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},QTe=[{key:"Backspace",run:VTe}],qTe=[{key:"Ctrl-Space",run:mTe},{mac:"Alt-`",run:mTe},{key:"Escape",run:fTe},{key:"ArrowDown",run:$_e(!0)},{key:"ArrowUp",run:$_e(!1)},{key:"PageDown",run:$_e(!0,"page")},{key:"PageUp",run:$_e(!1,"page")},{key:"Enter",run:hTe}],FTe=Wge.highest(rwe.computeN([eTe],e=>e.facet(eTe).defaultKeymap?[qTe]:[]))});function XTe(e={}){return[lEe,sEe.of(e),Yxe.domEventHandlers({beforeinput(e,t){let a="historyUndo"==e.inputType?cEe:"historyRedo"==e.inputType?uEe:null;return!!a&&(e.preventDefault(),a(t))}})]}function GTe(e,t){return function({state:a,dispatch:r}){if(!t&&a.readOnly)return!1;let n=a.field(lEe,!1);if(!n)return!1;let o=n.pop(e,a,t);return!!o&&(r(o),!0)}}function YTe(e,t,a,r){let n=t+1>a+20?t-a-1:0,o=e.slice(n,t);return o.push(r),o}function KTe(e,t){return e.length?t.length?e.concat(t):e:t}function JTe(e,t){if(e.length){let a=e[e.length-1],r=a.selectionsAfter.slice(Math.max(0,a.selectionsAfter.length-fEe));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),YTe(e,e.length-1,1e9,a.setSelAfter(r)))}return[hEe.selection([t])]}function eEe(e){let t=e[e.length-1],a=e.slice();return a[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),a}function tEe(e,t){if(!e.length)return e;let a=e.length,r=mEe;for(;a;){let n=aEe(e[a-1],t,r);if(n.changes&&!n.changes.empty||n.effects.length){let t=e.slice(0,a);return t[a-1]=n,t}t=n.mapped,a--,r=n.selectionsAfter}return r.length?[hEe.selection(r)]:mEe}function aEe(e,t,a){let r=KTe(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):mEe,a);if(!e.changes)return hEe.selection(r);let n=e.changes.map(t),o=t.mapDesc(e.changes,!0),i=e.mapped?e.mapped.composeDesc(o):o;return new hEe(n,cve.mapEffects(e.effects,t),i,e.startSelection.map(o),r)}function rEe(e,t){let a=-1;return e.changeByRange(r=>{let n=[];for(let o=r.from;o<=r.to;){let i=e.doc.lineAt(o);i.number>a&&(r.empty||r.to>i.from)&&(t(i,n,r),a=i.number),o=i.to+1}let o=e.changes(n);return{changes:n,range:zge.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}var nEe,oEe,iEe,sEe,lEe,cEe,uEe,dEe,pEe,hEe,mEe,fEe,gEe,vEe,bEe,yEe,OEe,xEe,wEe,kEe=V(()=>{Pve(),eke(),KAe(),nEe=ive.define(),oEe=ive.define(),iEe=Zge.define(),sEe=Zge.define({combine:e=>bge(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(a,r)=>e(a,r)||t(a,r)})}),lEe=qge.define({create:()=>vEe.empty,update(e,t){let a=t.state.facet(sEe),r=t.annotation(nEe);if(r){let n=hEe.fromTransaction(t,r.selection),o=r.side,i=0==o?e.undone:e.done;return i=n?YTe(i,i.length,a.minDepth,n):JTe(i,t.startState.selection),new vEe(0==o?r.rest:i,0==o?i:r.rest)}let n=t.annotation(oEe);if(("full"==n||"before"==n)&&(e=e.isolate()),!1===t.annotation(uve.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let o=hEe.fromTransaction(t),i=t.annotation(uve.time),s=t.annotation(uve.userEvent);return o?e=e.addChanges(o,i,s,a,t):t.selection&&(e=e.addSelection(t.startState.selection,i,s,a.newGroupDelay)),("full"==n||"after"==n)&&(e=e.isolate()),e},toJSON:e=>({done:e.done.map(e=>e.toJSON()),undone:e.undone.map(e=>e.toJSON())}),fromJSON:e=>new vEe(e.done.map(hEe.fromJSON),e.undone.map(hEe.fromJSON))}),cEe=GTe(0,!1),uEe=GTe(1,!1),dEe=GTe(0,!0),pEe=GTe(1,!0),hEe=class e{constructor(e,t,a,r,n){this.changes=e,this.effects=t,this.mapped=a,this.startSelection=r,this.selectionsAfter=n}setSelAfter(t){return new e(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){return{changes:this.changes?.toJSON(),mapped:this.mapped?.toJSON(),startSelection:this.startSelection?.toJSON(),selectionsAfter:this.selectionsAfter.map(e=>e.toJSON())}}static fromJSON(t){return new e(t.changes&&Bge.fromJSON(t.changes),[],t.mapped&&Lge.fromJSON(t.mapped),t.startSelection&&zge.fromJSON(t.startSelection),t.selectionsAfter.map(zge.fromJSON))}static fromTransaction(t,a){let r=mEe;for(let e of t.startState.facet(iEe)){let a=e(t);a.length&&(r=r.concat(a))}return!r.length&&t.changes.empty?null:new e(t.changes.invert(t.startState.doc),r,void 0,a||t.startState.selection,mEe)}static selection(t){return new e(void 0,mEe,void 0,void 0,t)}},mEe=[],fEe=200,gEe=/^(input\.type|delete)($|\.)/,vEe=class e{constructor(e,t,a=0,r=void 0){this.done=e,this.undone=t,this.prevTime=a,this.prevUserEvent=r}isolate(){return this.prevTime?new e(this.done,this.undone):this}addChanges(t,a,r,n,o){let i=this.done,s=i[i.length-1];return i=s&&s.changes&&!s.changes.empty&&t.changes&&(!r||gEe.test(r))&&(!s.selectionsAfter.length&&a-this.prevTime<n.newGroupDelay&&n.joinToEvent(o,function(e,t){let a=[],r=!1;return e.iterChangedRanges((e,t)=>a.push(e,t)),t.iterChangedRanges((e,t,n,o)=>{for(let e=0;e<a.length;){let t=a[e++],i=a[e++];o>=t&&n<=i&&(r=!0)}}),r}(s.changes,t.changes))||"input.type.compose"==r)?YTe(i,i.length-1,n.minDepth,new hEe(t.changes.compose(s.changes),KTe(cve.mapEffects(t.effects,s.changes),s.effects),s.mapped,s.startSelection,mEe)):YTe(i,i.length,n.minDepth,t),new e(i,mEe,a,r)}addSelection(t,a,r,n){let o=this.done.length?this.done[this.done.length-1].selectionsAfter:mEe;return o.length>0&&a-this.prevTime<n&&r==this.prevUserEvent&&r&&/^select($|\.)/.test(r)&&function(e,t){return e.ranges.length==t.ranges.length&&0===e.ranges.filter((e,a)=>e.empty!=t.ranges[a].empty).length}(o[o.length-1],t)?this:new e(JTe(this.done,t),this.undone,a,r)}addMapping(t){return new e(tEe(this.done,t),tEe(this.undone,t),this.prevTime,this.prevUserEvent)}pop(e,t,a){let r=0==e?this.done:this.undone;if(0==r.length)return null;let n=r[r.length-1],o=n.selectionsAfter[0]||t.selection;if(a&&n.selectionsAfter.length)return t.update({selection:n.selectionsAfter[n.selectionsAfter.length-1],annotations:nEe.of({side:e,rest:eEe(r),selection:o}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(n.changes){let a=1==r.length?mEe:r.slice(0,r.length-1);return n.mapped&&(a=tEe(a,n.mapped)),t.update({changes:n.changes,selection:n.startSelection,effects:n.effects,annotations:nEe.of({side:e,rest:a,selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}},vEe.empty=new vEe(mEe,mEe),bEe=[{key:"Mod-z",run:cEe,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:uEe,preventDefault:!0},{linux:"Ctrl-Shift-z",run:uEe,preventDefault:!0},{key:"Mod-u",run:dEe,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:pEe,preventDefault:!0}],typeof Intl<"u"&&Intl.Segmenter&&new Intl.Segmenter(void 0,{granularity:"word"}),yEe=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:!0,userEvent:"input"})),!0),OEe=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(rEe(e,(t,a)=>{a.push({from:t.from,insert:e.facet(fAe)})}),{userEvent:"input.indent"})),!0),xEe=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(rEe(e,(t,a)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let n=Tge(r,e.tabSize),o=0,i=TSe(e,Math.max(0,n-_Se(e)));for(;o<r.length&&o<i.length&&r.charCodeAt(o)==i.charCodeAt(o);)o++;a.push({from:t.from+o,to:t.from+r.length,insert:i.slice(o)})}),{userEvent:"delete.dedent"})),!0),wEe={key:"Tab",run:OEe,shift:xEe}});function SEe(e,t=Uint16Array){if("string"!=typeof e)return e;let a=null;for(let r=0,n=0;r<e.length;){let o=0;for(;;){let t=e.charCodeAt(r++),a=!1;if(126==t){o=65535;break}t>=92&&t--,t>=34&&t--;let n=t-32;if(n>=46&&(n-=46,a=!0),o+=n,a)break;o*=46}a?a[n++]=o:a=new t(o)}return a}function AEe(e,t,a,r,n,o){let i=0,s=1<<r,{dialect:l}=a.p.parser;e:for(;0!=(s&e[i]);){let a=e[i+1];for(let r=i+3;r<a;r+=2)if((e[r+1]&s)>0){let a=e[r];if(l.allows(a)&&(-1==t.token.value||t.token.value==a||TEe(a,t.token.value,n,o))){t.acceptToken(a);break}}let r=t.next,c=0,u=e[i+2];if(!(t.next<0&&u>c&&65535==e[a+3*u-3])){for(;c<u;){let n=c+u>>1,o=a+n+(n<<1),s=e[o],l=e[o+1]||65536;if(r<s)u=n;else{if(!(r>=l)){i=e[o+2],t.advance();continue e}c=n+1}}break}i=e[a+3*u-1]}}function _Ee(e,t,a){for(let r,n=t;65535!=(r=e[n]);n++)if(r==a)return n-t;return-1}function TEe(e,t,a,r){let n=_Ee(a,r,t);return n<0||_Ee(a,r,e)<n}function EEe(e,t,a){let r=e.cursor(Tke.IncludeAnonymous);for(r.moveTo(t);;)if(!(a<0?r.childBefore(t):r.childAfter(t)))for(;;){if((a<0?r.to<t:r.from>t)&&!r.type.isError)return a<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25));if(a<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return a<0?0:e.length}}function CEe(e,t){for(let a=0;a<t.length;a++){let r=t[a];if(r.pos==e.pos&&r.sameState(e))return void(t[a].score<e.score&&(t[a]=e))}t.push(e)}function PEe(e,t){return e[t]|e[t+1]<<16}function MEe(e){if(e.external){let t=e.extend?1:0;return(a,r)=>e.external(a,r)<<1|t}return e.get}var $Ee,NEe,IEe,REe,DEe,LEe,BEe,jEe,UEe,zEe,HEe,ZEe,VEe,QEe,qEe,FEe,WEe,XEe,GEe,YEe=V(()=>{Wke(),$Ee=class e{constructor(e,t,a,r,n,o,i,s,l,c=0,u){this.p=e,this.stack=t,this.state=a,this.reducePos=r,this.pos=n,this.score=o,this.buffer=i,this.bufferBase=s,this.curContext=l,this.lookAhead=c,this.parent=u}toString(){return`[${this.stack.filter((e,t)=>t%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,a,r=0){let n=t.parser.context;return new e(t,[],a,r,r,0,[],0,n?new NEe(n,n.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,t){this.stack.push(this.state,t,this.bufferBase+this.buffer.length),this.state=e}reduce(e){let t=e>>19,a=65535&e,{parser:r}=this.p,n=this.reducePos<this.pos-25;n&&this.setLookAhead(this.pos);let o=r.dynamicPrecedence(a);if(o&&(this.score+=o),0==t)return this.pushState(r.getGoto(this.state,a,!0),this.reducePos),a<r.minRepeatTerm&&this.storeNode(a,this.reducePos,this.reducePos,n?8:4,!0),void this.reduceContext(a,this.reducePos);let i=this.stack.length-3*(t-1)-(262144&e?6:0),s=i?this.stack[i-2]:this.p.ranges[0].from,l=this.reducePos-s;l>=2e3&&!this.p.parser.nodeSet.types[a]?.isAnonymous&&(s==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=l):this.p.lastBigReductionSize<l&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=s,this.p.lastBigReductionSize=l));let c=i?this.stack[i-1]:0,u=this.bufferBase+this.buffer.length-c;if(a<r.minRepeatTerm||131072&e){let e=r.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(a,s,e,u+4,!0)}if(262144&e)this.state=this.stack[i];else{let e=this.stack[i-3];this.state=r.getGoto(e,a,!0)}for(;this.stack.length>i;)this.stack.pop();this.reduceContext(a,s)}storeNode(e,t,a,r=4,n=!1){if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let e=this,r=this.buffer.length;if(0==r&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,e=e.parent),r>0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==a)return;if(e.buffer[r-2]>=t)return void(e.buffer[r-2]=a)}}if(n&&this.pos!=a){let n=this.buffer.length;if(n>0&&0!=this.buffer[n-4]){let e=!1;for(let t=n;t>0&&this.buffer[t-2]>a;t-=4)if(this.buffer[t-1]>=0){e=!0;break}if(e)for(;n>0&&this.buffer[n-2]>a;)this.buffer[n]=this.buffer[n-4],this.buffer[n+1]=this.buffer[n-3],this.buffer[n+2]=this.buffer[n-2],this.buffer[n+3]=this.buffer[n-1],n-=4,r>4&&(r-=4)}this.buffer[n]=e,this.buffer[n+1]=t,this.buffer[n+2]=a,this.buffer[n+3]=r}else this.buffer.push(e,t,a,r)}shift(e,t,a,r){if(131072&e)this.pushState(65535&e,this.pos);else if(262144&e)this.pos=r,this.shiftContext(t,a),t<=this.p.parser.maxNode&&this.buffer.push(t,a,r,4);else{let n=e,{parser:o}=this.p;(r>this.pos||t<=o.maxNode)&&(this.pos=r,o.stateFlag(n,1)||(this.reducePos=r)),this.pushState(n,a),this.shiftContext(t,a),t<=o.maxNode&&this.buffer.push(t,a,r,4)}}apply(e,t,a,r){65536&e?this.reduce(e):this.shift(e,t,a,r)}useNode(e,t){let a=this.p.reused.length-1;(a<0||this.p.reused[a]!=e)&&(this.p.reused.push(e),a++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(a,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let t=this,a=t.buffer.length;for(;a>0&&t.buffer[a-2]>t.reducePos;)a-=4;let r=t.buffer.slice(a),n=t.bufferBase+a;for(;t&&n==t.bufferBase;)t=t.parent;return new e(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,n,this.curContext,this.lookAhead,t)}recoverByDelete(e,t){let a=e<=this.p.parser.maxNode;a&&this.storeNode(e,this.pos,t,4),this.storeNode(0,this.pos,t,a?8:4),this.pos=this.reducePos=t,this.score-=190}canShift(e){for(let t=new IEe(this);;){let a=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e);if(0==a)return!1;if(!(65536&a))return!0;t.reduce(a)}}recoverByInsert(e){if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state);if(t.length>8||this.stack.length>=120){let a=[];for(let r,n=0;n<t.length;n+=2)(r=t[n+1])!=this.state&&this.p.parser.hasAction(r,e)&&a.push(t[n],r);if(this.stack.length<120)for(let e=0;a.length<8&&e<t.length;e+=2){let r=t[e+1];a.some((e,t)=>1&t&&e==r)||a.push(t[e],r)}t=a}let a=[];for(let e=0;e<t.length&&a.length<4;e+=2){let r=t[e+1];if(r==this.state)continue;let n=this.split();n.pushState(r,this.pos),n.storeNode(0,n.pos,n.pos,4,!0),n.shiftContext(t[e],this.pos),n.reducePos=this.pos,n.score-=200,a.push(n)}return a}forceReduce(){let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(65536&t))return!1;if(!e.validAction(this.state,t)){let a=t>>19,r=65535&t,n=this.stack.length-3*a;if(n<0||e.getGoto(this.stack[n],r,!1)<0){let e=this.findForcedReduction();if(null==e)return!1;t=e}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(t),!0}findForcedReduction(){let{parser:e}=this.p,t=[],a=(r,n)=>{if(!t.includes(r))return t.push(r),e.allActions(r,t=>{if(!(393216&t))if(65536&t){let a=(t>>19)-n;if(a>1){let r=65535&t,n=this.stack.length-3*a;if(n>=0&&e.getGoto(this.stack[n],r,!1)>=0)return a<<19|65536|r}}else{let e=a(t,n+1);if(null!=e)return e}})};return a(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(3!=this.stack.length)return!1;let{parser:e}=this.p;return 65535==e.data[e.stateSlot(this.state,1)]&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let t=0;t<this.stack.length;t+=3)if(this.stack[t]!=e.stack[t])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(e){return this.p.parser.dialect.flags[e]}shiftContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,e,this,this.p.stream.reset(t)))}reduceContext(e,t){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,e,this,this.p.stream.reset(t)))}emitContext(){let e=this.buffer.length-1;(e<0||-3!=this.buffer[e])&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let e=this.buffer.length-1;(e<0||-4!=this.buffer[e])&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(e){if(e!=this.curContext.context){let t=new NEe(this.curContext.tracker,e);t.hash!=this.curContext.hash&&this.emitContext(),this.curContext=t}}setLookAhead(e){e>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}},NEe=class{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}},IEe=class{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let t=65535&e,a=e>>19;0==a?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(a-1),this.state=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0)}},REe=class e{constructor(e,t,a){this.stack=e,this.pos=t,this.index=a,this.buffer=e.buffer,0==this.index&&this.maybeNext()}static create(t,a=t.bufferBase+t.buffer.length){return new e(t,a,a-t.bufferBase)}maybeNext(){let e=this.stack.parent;null!=e&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,0==this.index&&this.maybeNext()}fork(){return new e(this.stack,this.pos,this.index)}},LEe=new(DEe=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}),BEe=class{constructor(e,t){this.input=e,this.ranges=t,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=LEe,this.rangeIndex=0,this.pos=this.chunkPos=t[0].from,this.range=t[0],this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){let a=this.range,r=this.rangeIndex,n=this.pos+e;for(;n<a.from;){if(!r)return null;let e=this.ranges[--r];n-=a.from-e.to,a=e}for(;t<0?n>a.to:n>=a.to;){if(r==this.ranges.length-1)return null;let e=this.ranges[++r];n+=e.from-a.to,a=e}return n}clipPos(e){if(e>=this.range.from&&e<this.range.to)return e;for(let t of this.ranges)if(t.to>e)return Math.max(e,t.from);return this.end}peek(e){let t,a,r=this.chunkOff+e;if(r>=0&&r<this.chunk.length)t=this.pos+e,a=this.chunk.charCodeAt(r);else{let r=this.resolveOffset(e,1);if(null==r)return-1;if(t=r,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)a=this.chunk2.charCodeAt(t-this.chunk2Pos);else{let e=this.rangeIndex,r=this.range;for(;r.to<=t;)r=this.ranges[++e];this.chunk2=this.input.chunk(this.chunk2Pos=t),t+this.chunk2.length>r.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),a=this.chunk2.charCodeAt(0)}}return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),a}acceptToken(e,t=0){let a=t?this.resolveOffset(t,-1):this.pos;if(null==a||a<this.token.start)throw RangeError("Token end out of bounds");this.token.value=e,this.token.end=a}acceptTokenTo(e,t){this.token.value=e,this.token.end=t}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:e,chunkPos:t}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let e=this.input.chunk(this.pos);this.chunk=this.pos+e.length>this.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,t){if(t?(this.token=t,t.start=e,t.lookAhead=e+1,t.value=t.extended=-1):this.token=LEe,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(e,t){if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos);if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos);if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let a="";for(let r of this.ranges){if(r.from>=t)break;r.to>e&&(a+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return a}},jEe=class{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:a}=t.p;AEe(this.data,e,t,this.id,a.data,a.tokenPrecTable)}},jEe.prototype.contextual=jEe.prototype.fallback=jEe.prototype.extend=!1,UEe=class{constructor(e,t,a){this.precTable=t,this.elseToken=a,this.data="string"==typeof e?SEe(e):e}token(e,t){let a=e.pos,r=0;for(;;){let a=e.next<0,n=e.resolveOffset(1,1);if(AEe(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break;if(null==this.elseToken)return;if(a||r++,null==n)break;e.reset(n,e.token)}r&&(e.reset(a,e.token),e.acceptToken(this.elseToken,r))}},UEe.prototype.contextual=jEe.prototype.fallback=jEe.prototype.extend=!1,zEe=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}},HEe=typeof process<"u"&&process.env&&/\bparse\b/.test(process.env.LOG),ZEe=null,VEe=class{constructor(e,t){this.fragments=e,this.nodeSet=t,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?EEe(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?EEe(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(e<this.nextStart)return null;for(;this.fragment&&this.safeTo<=e;)this.nextFragment();if(!this.fragment)return null;for(;;){let t=this.trees.length-1;if(t<0)return this.nextFragment(),null;let a=this.trees[t],r=this.index[t];if(r==a.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let n=a.children[r],o=this.start[t]+a.positions[r];if(o>e)return this.nextStart=o,null;if(n instanceof Eke){if(o==e){if(o<this.safeFrom)return null;let e=o+n.length;if(e<=this.safeTo){let t=n.prop(Oke.lookAhead);if(!t||e+t<this.fragment.to)return n}}this.index[t]++,o+n.length>=Math.max(this.safeFrom,e)&&(this.trees.push(n),this.start.push(o),this.index.push(0))}else this.index[t]++,this.nextStart=o+n.length}}},QEe=class{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new DEe)}getActions(e){let t=0,a=null,{parser:r}=e.p,{tokenizers:n}=r,o=r.stateSlot(e.state,3),i=e.curContext?e.curContext.hash:0,s=0;for(let r=0;r<n.length;r++){if(!(1<<r&o))continue;let l=n[r],c=this.tokens[r];if((!a||l.fallback)&&((l.contextual||c.start!=e.pos||c.mask!=o||c.context!=i)&&(this.updateCachedToken(c,l,e),c.mask=o,c.context=i),c.lookAhead>c.end+25&&(s=Math.max(c.lookAhead,s)),0!=c.value)){let r=t;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),!l.extend&&(a=c,t>r))break}}for(;this.actions.length>t;)this.actions.pop();return s&&e.setLookAhead(s),!a&&e.pos==this.stream.end&&(a=new DEe,a.value=e.p.parser.eofTerm,a.start=a.end=e.pos,t=this.addActions(e,a.value,a.end,t)),this.mainToken=a,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let t=new DEe,{pos:a,p:r}=e;return t.start=a,t.end=Math.min(a+1,r.stream.end),t.value=a==r.stream.end?r.parser.eofTerm:0,t}updateCachedToken(e,t,a){let r=this.stream.clipPos(a.pos);if(t.token(this.stream.reset(r,e),a),e.value>-1){let{parser:t}=a.p;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){let n=t.specializers[r](this.stream.read(e.start,e.end),a);if(n>=0&&a.p.parser.dialect.allows(n>>1)){1&n?e.extended=n>>1:e.value=n>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,a,r){for(let t=0;t<r;t+=3)if(this.actions[t]==e)return r;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=a,r}addActions(e,t,a,r){let{state:n}=e,{parser:o}=e.p,{data:i}=o;for(let e=0;e<2;e++)for(let s=o.stateSlot(n,e?2:1);;s+=3){if(65535==i[s]){if(1!=i[s+1]){0==r&&2==i[s+1]&&(r=this.putAction(PEe(i,s+2),t,a,r));break}s=PEe(i,s+2)}i[s]==t&&(r=this.putAction(PEe(i,s+1),t,a,r))}return r}},qEe=class{constructor(e,t,a,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new BEe(t,r),this.tokens=new QEe(e,this.stream),this.topTerm=e.top[1];let{from:n}=r[0];this.stacks=[$Ee.start(this,e.top[0],n)],this.fragments=a.length&&this.stream.end-n>4*e.bufferLength?new VEe(a,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e,t,a=this.stacks,r=this.minStackPos,n=this.stacks=[];if(this.bigReductionCount>300&&1==a.length){let[e]=a;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<a.length;o++){let i=a[o];for(;;){if(this.tokens.mainToken=null,i.pos>r)n.push(i);else{if(this.advanceStack(i,n,a))continue;{e||(e=[],t=[]),e.push(i);let a=this.tokens.getMainToken(i);t.push(a.value,a.end)}}break}}if(!n.length){let t=e&&function(e){let t=null;for(let a of e){let e=a.p.stoppedAt;(a.pos==a.p.stream.end||null!=e&&a.pos>e)&&a.p.parser.stateFlag(a.state,2)&&(!t||t.score<a.score)&&(t=a)}return t}(e);if(t)return HEe&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw HEe&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),SyntaxError("No parse at "+r);this.recovering||=5}if(this.recovering&&e){let a=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,n);if(a)return HEe&&console.log("Force-finish "+this.stackID(a)),this.stackToTree(a.forceAll())}if(this.recovering){let e=1==this.recovering?1:3*this.recovering;if(n.length>e)for(n.sort((e,t)=>t.score-e.score);n.length>e;)n.pop();n.some(e=>e.reducePos>r)&&this.recovering--}else if(n.length>1){e:for(let e=0;e<n.length-1;e++){let t=n[e];for(let a=e+1;a<n.length;a++){let r=n[a];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500){if(!((t.score-r.score||t.buffer.length-r.buffer.length)>0)){n.splice(e--,1);continue e}n.splice(a--,1)}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let e=1;e<n.length;e++)n[e].pos<this.minStackPos&&(this.minStackPos=n[e].pos);return null}stopAt(e){if(null!=this.stoppedAt&&this.stoppedAt<e)throw RangeError("Can't move stoppedAt forward");this.stoppedAt=e}advanceStack(e,t,a){let r=e.pos,{parser:n}=this,o=HEe?this.stackID(e)+" -> ":"";if(null!=this.stoppedAt&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let t=e.curContext&&e.curContext.tracker.strict,a=t?e.curContext.hash:0;for(let i=this.fragments.nodeAt(r);i;){let r=this.parser.nodeSet.types[i.type.id]==i.type?n.getGoto(e.state,i.type.id):-1;if(r>-1&&i.length&&(!t||(i.prop(Oke.contextHash)||0)==a))return e.useNode(i,r),HEe&&console.log(o+this.stackID(e)+` (via reuse of ${n.getName(i.type.id)})`),!0;if(!(i instanceof Eke)||0==i.children.length||i.positions[0]>0)break;let s=i.children[0];if(!(s instanceof Eke&&0==i.positions[0]))break;i=s}}let i=n.stateSlot(e.state,4);if(i>0)return e.reduce(i),HEe&&console.log(o+this.stackID(e)+` (via always-reduce ${n.getName(65535&i)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let s=this.tokens.getActions(e);for(let i=0;i<s.length;){let l=s[i++],c=s[i++],u=s[i++],d=i==s.length||!a,p=d?e:e.split(),h=this.tokens.mainToken;if(p.apply(l,c,h?h.start:p.pos,u),HEe&&console.log(o+this.stackID(p)+` (via ${65536&l?`reduce of ${n.getName(65535&l)}`:"shift"} for ${n.getName(c)} @ ${r}${p==e?"":", split"})`),d)return!0;p.pos>r?t.push(p):a.push(p)}return!1}advanceFully(e,t){let a=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>a)return CEe(e,t),!0}}runRecovery(e,t,a){let r=null,n=!1;for(let o=0;o<e.length;o++){let i=e[o],s=t[o<<1],l=t[1+(o<<1)],c=HEe?this.stackID(i)+" -> ":"";if(i.deadEnd&&(n||(n=!0,i.restart(),HEe&&console.log(c+this.stackID(i)+" (restarted)"),this.advanceFully(i,a))))continue;let u=i.split(),d=c;for(let e=0;u.forceReduce()&&e<10&&(HEe&&console.log(d+this.stackID(u)+" (via force-reduce)"),!this.advanceFully(u,a));e++)HEe&&(d=this.stackID(u)+" -> ");for(let e of i.recoverByInsert(s))HEe&&console.log(c+this.stackID(e)+" (via recover-insert)"),this.advanceFully(e,a);this.stream.end>i.pos?(l==i.pos&&(l++,s=0),i.recoverByDelete(s,l),HEe&&console.log(c+this.stackID(i)+` (via recover-delete ${this.parser.getName(s)})`),CEe(i,a)):(!r||r.score<i.score)&&(r=i)}return r}stackToTree(e){return e.close(),Eke.build({buffer:REe.create(e),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:e.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(e){let t=(ZEe||=new WeakMap).get(e);return t||ZEe.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}},FEe=class{constructor(e,t,a){this.source=e,this.flags=t,this.disabled=a}allows(e){return!this.disabled||0==this.disabled[e]}},WEe=e=>e,XEe=class{constructor(e){this.start=e.start,this.shift=e.shift||WEe,this.reduce=e.reduce||WEe,this.reuse=e.reuse||WEe,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}},GEe=class e extends Uke{constructor(e){if(super(),this.wrappers=[],14!=e.version)throw RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let t=e.nodeNames.split(" ");this.minRepeatTerm=t.length;for(let a=0;a<e.repeatNodeCount;a++)t.push("");let a=Object.keys(e.topRules).map(t=>e.topRules[t][1]),r=[];for(let e=0;e<t.length;e++)r.push([]);function n(e,t,a){r[e].push([t,t.deserialize(String(a))])}if(e.nodeProps)for(let t of e.nodeProps){let e=t[0];"string"==typeof e&&(e=Oke[e]);for(let a=1;a<t.length;){let r=t[a++];if(r>=0)n(r,e,t[a++]);else{let o=t[a+-r];for(let i=-r;i>0;i--)n(t[a++],e,o);a++}}}this.nodeSet=new Ske(t.map((t,n)=>kke.define({name:n>=this.minRepeatTerm?void 0:t,id:n,props:r[n],top:a.indexOf(n)>-1,error:0==n,skipped:e.skippedNodes&&e.skippedNodes.indexOf(n)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=vke;let o=SEe(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let e=0;e<this.specializerSpecs.length;e++)this.specialized[e]=this.specializerSpecs[e].term;this.specializers=this.specializerSpecs.map(MEe),this.states=SEe(e.states,Uint32Array),this.data=SEe(e.stateData),this.goto=SEe(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new jEe(o,e):e),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,a){let r=new qEe(this,e,t,a);for(let n of this.wrappers)r=n(r,e,t,a);return r}getGoto(e,t,a=!1){let r=this.goto;if(t>=r[0])return-1;for(let n=r[t+1];;){let t=r[n++],o=1&t,i=r[n++];if(o&&a)return i;for(let a=n+(t>>1);n<a;n++)if(r[n]==e)return i;if(o)return-1}}hasAction(e,t){let a=this.data;for(let r=0;r<2;r++)for(let n,o=this.stateSlot(e,r?2:1);;o+=3){if(65535==(n=a[o])){if(1!=a[o+1]){if(2==a[o+1])return PEe(a,o+2);break}n=a[o=PEe(a,o+2)]}if(n==t||0==n)return PEe(a,o+1)}return 0}stateSlot(e,t){return this.states[6*e+t]}stateFlag(e,t){return(this.stateSlot(e,0)&t)>0}validAction(e,t){return!!this.allActions(e,e=>e==t||null)}allActions(e,t){let a=this.stateSlot(e,4),r=a?t(a):void 0;for(let a=this.stateSlot(e,1);null==r;a+=3){if(65535==this.data[a]){if(1!=this.data[a+1])break;a=PEe(this.data,a+2)}r=t(PEe(this.data,a+1))}return r}nextStates(e){let t=[];for(let a=this.stateSlot(e,1);;a+=3){if(65535==this.data[a]){if(1!=this.data[a+1])break;a=PEe(this.data,a+2)}if(!(1&this.data[a+2])){let e=this.data[a+1];t.some((t,a)=>1&a&&t==e)||t.push(this.data[a],e)}}return t}configure(t){let a=Object.assign(Object.create(e.prototype),this);if(t.props&&(a.nodeSet=this.nodeSet.extend(...t.props)),t.top){let e=this.topRules[t.top];if(!e)throw RangeError(`Invalid top rule name ${t.top}`);a.top=e}return t.tokenizers&&(a.tokenizers=this.tokenizers.map(e=>{let a=t.tokenizers.find(t=>t.from==e);return a?a.to:e})),t.specializers&&(a.specializers=this.specializers.slice(),a.specializerSpecs=this.specializerSpecs.map((e,r)=>{let n=t.specializers.find(t=>t.from==e.external);if(!n)return e;let o=Object.assign(Object.assign({},e),{external:n.to});return a.specializers[r]=MEe(o),o})),t.contextTracker&&(a.context=t.contextTracker),t.dialect&&(a.dialect=this.parseDialect(t.dialect)),null!=t.strict&&(a.strict=t.strict),t.wrap&&(a.wrappers=a.wrappers.concat(t.wrap)),null!=t.bufferLength&&(a.bufferLength=t.bufferLength),a}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let t=this.dynamicPrecedences;return null==t?0:t[e]||0}parseDialect(e){let t=Object.keys(this.dialects),a=t.map(()=>!1);if(e)for(let r of e.split(" ")){let e=t.indexOf(r);e>=0&&(a[e]=!0)}let r=null;for(let e=0;e<t.length;e++)if(!a[e])for(let a,n=this.dialects[t[e]];65535!=(a=this.data[n++]);)(r||=new Uint8Array(this.maxTerm+1))[a]=1;return new FEe(e,a,r)}static deserialize(t){return new e(t)}}});function KEe(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function JEe(e){return e>=48&&e<=57}var eCe,tCe,aCe,rCe,nCe,oCe,iCe,sCe,lCe,cCe=V(()=>{YEe(),xSe(),eCe=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],tCe=new zEe((e,t)=>{for(let a=!1,r=0,n=0;;n++){let{next:o}=e;if(KEe(o)||45==o||95==o||a&&JEe(o))!a&&(45!=o||n>0)&&(a=!0),r===n&&45==o&&r++,e.advance();else{if(92!=o||10==e.peek(1)){a&&e.acceptToken(40==o?100:2==r&&t.canShift(2)?2:101);break}e.advance(),e.next>-1&&e.advance(),a=!0}}}),aCe=new zEe(e=>{if(eCe.includes(e.peek(-1))){let{next:t}=e;(KEe(t)||95==t||35==t||46==t||91==t||58==t&&KEe(e.peek(1))||45==t||38==t)&&e.acceptToken(99)}}),rCe=new zEe(e=>{if(!eCe.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),KEe(t)){do{e.advance()}while(KEe(e.next)||JEe(e.next));e.acceptToken(1)}}}),nCe=Xke({"AtKeyword import charset namespace keyframes media supports":OSe.definitionKeyword,"from to selector":OSe.keyword,NamespaceName:OSe.namespace,KeyframeName:OSe.labelName,KeyframeRangeName:OSe.operatorKeyword,TagName:OSe.tagName,ClassName:OSe.className,PseudoClassName:OSe.constant(OSe.className),IdName:OSe.labelName,"FeatureName PropertyName":OSe.propertyName,AttributeName:OSe.attributeName,NumberLiteral:OSe.number,KeywordQuery:OSe.keyword,UnaryQueryOp:OSe.operatorKeyword,"CallTag ValueName":OSe.atom,VariableName:OSe.variableName,Callee:OSe.operatorKeyword,Unit:OSe.unit,"UniversalSelector NestingSelector":OSe.definitionOperator,MatchOp:OSe.compareOperator,"ChildOp SiblingOp, LogicOp":OSe.logicOperator,BinOp:OSe.arithmeticOperator,Important:OSe.modifier,Comment:OSe.blockComment,ColorLiteral:OSe.color,"ParenthesizedContent StringLiteral":OSe.string,":":OSe.punctuation,"PseudoOp #":OSe.derefOperator,"; ,":OSe.separator,"( )":OSe.paren,"[ ]":OSe.squareBracket,"{ }":OSe.brace}),oCe={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},iCe={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},sCe={__proto__:null,not:132,only:132},lCe=GEe.deserialize({version:14,states:":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}'#D}O-UQWO,5:gO-ZQWO,5:mO-cQWO,5:oOOQS-E8U-E8UO${QdO,59}O-kQ[O'#E^O-xQWO,5;_O-xQWO,5;_POOO'#EV'#EVP.TO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.zQXO,5:vOOQO-E8Y-E8YOOQS1G.g1G.gOOQP1G.n1G.nO)gQWO1G.nO)lQWO1G.nOOQP1G/Z1G/ZO/XQ`O1G/^O/rQXO1G/aO0YQXO1G/cO0pQXO1G/dO1WQWO,59|O1]Q[O'#DSO1dQdO'#CoOOQP1G/^1G/^O${QdO1G/^O1kQpO,59]OOQS,59_,59_O${QdO,59aO1sQWO1G/mOOQS,59c,59cO1xQ!bO,59eOOQS'#DP'#DPOOQS'#EY'#EYO2QQ[O,59jOOQS,59j,59jO2YQWO'#DjO2eQWO,5:VO2jQWO,5:]O&`Q[O,5:XO&`Q[O'#E_O2rQWO,5;`O2}QWO,5:ZO(aQ[O,5:^OOQS1G/z1G/zOOQS1G/|1G/|OOQS1G0O1G0OO3`QWO1G0OO3eQdO'#EOOOQS1G0R1G0ROOQS1G0X1G0XOOQS1G0Z1G0ZO3pQtO1G/iOOQO,5:x,5:xO4WQ[O,5:xOOQO-E8[-E8[O4eQWO1G0yPOOO-E8T-E8TPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$x7+$xO${QdO7+$xOOQS1G/h1G/hO4pQXO'#ErO4wQWO,59nO4|QtO'#EXO5tQdO'#EoO6OQWO,59ZO6TQpO7+$xOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%X7+%XO6]QWO1G/POOQS-E8W-E8WOOQS1G/U1G/UO${QdO1G/qOOQO1G/w1G/wOOQO1G/s1G/sO6bQWO,5:yOOQO-E8]-E8]O6pQXO1G/xOOQS7+%j7+%jO6wQYO'#CsOOQO'#EQ'#EQO7SQ`O'#EPOOQO'#EP'#EPO7_QWO'#E`O7gQdO,5:jOOQS,5:j,5:jO7rQtO'#E]O${QdO'#E]O8sQdO7+%TOOQO7+%T7+%TOOQO1G0d1G0dO9WQpO<<HdO9`QWO,5;^OOQP1G/Y1G/YOOQS-E8V-E8VO${QdO'#EZO9hQWO,5;ZOOQT1G.u1G.uOOQP<<Hd<<HdOOQS7+$k7+$kO9pQdO7+%]OOQO7+%d7+%dOOQO,5:k,5:kO3hQdO'#EaO7_QWO,5:zOOQS,5:z,5:zOOQS-E8^-E8^OOQS1G0U1G0UO9wQtO,5:wOOQS-E8Z-E8ZOOQO<<Ho<<HoOOQPAN>OAN>OO:xQdO,5:uOOQO-E8X-E8XOOQO<<Hw<<HwOOQO,5:{,5:{OOQO-E8_-E8_OOQS1G0f1G0f",stateData:";[~O#ZOS#[QQ~OUYOXYO]VO^VOqXOxWO![aO!]ZO!i[O!k]O!m^O!p_O!v`O#XRO#bTO~OQfOUYOXYO]VO^VOqXOxWO![aO!]ZO!i[O!k]O!m^O!p_O!v`O#XeO#bTO~O#U#gP~P!ZO#[jO~O#XlO~O]qO^qOqsOtoOxrO!OtO!RvO#VuO#bnO~O!TwO~P#pO`}O#WzO#XyO~O#X!OO~O#X!QO~OQ![Ob!TOf![Oh![On!YOq!ZO#W!WO#X!SO#e!UO~Ob!^O!d!`O!g!aO#X!]O!T#hP~Oh!fOn!YO#X!eO~Oh!hO#X!hO~Ob!^O!d!`O!g!aO#X!]O~O!Y#hP~P%jO]WX]!WX^WXqWXtWXxWX!OWX!RWX!TWX#VWX#bWX~O]!mO~O!Y!nO#U#gX!S#gX~O#U#gX!S#gX~P!ZO#]!qO#^!qO#_!sO~OUYOXYO]VO^VOqXOxWO#XRO#bTO~OtoO!TwO~O`!zO#WzO#XyO~O!S#gP~P!ZOb#RO~Ob#SO~Op#TO|#UO~OP#WObgXjgX!YgX!dgX!ggX#XgXagXQgXfgXhgXngXqgXtgX!XgX#UgX#WgX#egXpgX!SgX~Ob!^Oj#XO!d!`O!g!aO#X!]O!Y#hP~Ob#[O~Op#`O#X#]O~Ob!^O!d!`O!g!aO#X#aO~Ot#eO!b#dO!T#hX!Y#hX~Ob#hO~Oj#XO!Y#jO~O!Y#kO~Oh#lOn!YO~O!T#mO~O!TwO!b#dO~O!TwO!Y#pO~O!Y#QX#U#QX!S#QX~P!ZO!Y!nO#U#ga!S#ga~O#]!qO#^!qO#_#wO~O]qO^qOqsOxrO!OtO!RvO#VuO#bnO~Ot#Oa!T#Oaa#Oa~P.`Op#yO|#zO~O]qO^qOqsOxrO#bnO~Ot}i!O}i!R}i!T}i#V}ia}i~P/aOt!Pi!O!Pi!R!Pi!T!Pi#V!Pia!Pi~P/aOt!Qi!O!Qi!R!Qi!T!Qi#V!Qia!Qi~P/aO!S#{O~Oa#fP~P(aOa#cP~P${Oa$SOj#XO~O!Y$UO~Oh$VOo$VO~Op$XO#X#]O~O]!`Xa!^X!b!^X~O]$YO~Oa$ZO!b#dO~Ot#eO!T#ha!Y#ha~O!b#dOt!ca!T!ca!Y!caa!ca~O!Y$`O~O!S$gO#X$bO#e$aO~Oj#XOt$iO!X$kO!Y!Vi#U!Vi!S!Vi~P${O!Y#Qa#U#Qa!S#Qa~P!ZO!Y!nO#U#gi!S#gi~Oa#fX~P#pOa$oO~Oj#XOQ!{Xa!{Xb!{Xf!{Xh!{Xn!{Xq!{Xt!{X#W!{X#X!{X#e!{X~Ot$qOa#cX~P${Oa$sO~Oj#XOp$tO~Oa$uO~O!b#dOt#Ra!T#Ra!Y#Ra~Oa$wO~P.`OP#WOtgX!TgX~O#e$aOt!sX!T!sX~Ot$yO!TwO~O!S$}O#X$bO#e$aO~Oj#XOQ#PXb#PXf#PXh#PXn#PXq#PXt#PX!X#PX!Y#PX#U#PX#W#PX#X#PX#e#PX!S#PX~Ot$iO!X%QO!Y!Vq#U!Vq!S!Vq~P${Oj#XOp%RO~OtoOa#fa~Ot$qOa#ca~Oa%UO~P${Oj#XOQ#Pab#Paf#Pah#Pan#Paq#Pat#Pa!X#Pa!Y#Pa#U#Pa#W#Pa#X#Pa#e#Pa!S#Pa~Oa!}at!}a~P${O#Zo#[#ej!R#e~",goto:"-g#jPPP#kP#nP#w$WP#w$g#wPP$mPPP$s$|$|P%`P$|P$|%z&^PPPP$|&vP&z'Q#wP'W#w'^P#wP#w#wPPP'd'y(WPP#nPP(_(_(i(_P(_P(_(_P#nP#nP#nP(l#nP(o(r(u(|#nP#nP)R)X)h)v)|*S*^*d*n*t*zPPPPPPPPPP+Q+ZP+v+yP,o,r,x-RRkQ_bOPdhw!n#skYOPdhotuvw!n#R#h#skSOPdhotuvw!n#R#h#sQmTR!tnQ{VR!xqQ!x}Q#Z!XR#x!zq![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%Sp![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%SU$d#m$f$yR$x$cq!XZ]!T!m#S#U#X#q#z$P$Y$i$j$q$v%Sp![Z]!T!m#S#U#X#q#z$P$Y$i$j$q$v%SQ!f^R#l!gT#^!Z#_Q|VR!yqQ!x|R#x!yQ!PWR!{rQ!RXR!|sQxUQ!wpQ#i!cQ#o!jQ#p!kQ${$eR%X$zSgPwQ!phQ#r!nR$l#sZfPhw!n#sa!b[`a!V!^!`#d#eR#b!^R!g^R!i_R#n!iS$e#m$fR%V$yV$c#m$f$yQ!rjR#v!rQdOShPwU!ldh#sR#s!nQ$P#SU$p$P$v%SQ$v$YR%S$qQ#_!ZR$W#_Q$r$PR%T$rQpUS!vp$nR$n#|Q$j#qR%P$jQ!ogS#t!o#uR#u!pQ#f!_R$^#fQ$f#mR$|$fQ$z$eR%W$z_cOPdhw!n#s^UOPdhw!n#sQ!uoQ!}tQ#OuQ#PvQ#|#RR$_#hR$Q#SQ!VZQ!d]Q#V!TQ#q!m[$O#S$P$Y$q$v%SQ$R#UQ$T#XS$h#q$jQ$m#zR%O$iR#}#RQiPR#QwQ!c[Q!kaR#Y!VU!_[a!VQ!j`Q#c!^Q#g!`Q$[#dR$]#e",nodeNames:"⚠ Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent ] [ LineNames LineName , PseudoClassName ArgList IdSelector # IdName AttributeSelector AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",maxTerm:117,nodeProps:[["isolate",-2,3,24,""],["openedBy",17,"(",32,"[",50,"{"],["closedBy",18,")",33,"]",51,"}"]],propSources:[nCe],skippedNodes:[0,3,87],repeatNodeCount:11,tokenData:"J^~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Ab![!]B]!]!^CX!^!_$}!_!`Cj!`!aC{!a!b$}!b!cDw!c!}$}!}#OFa#O#P$}#P#QFr#Q#R6d#R#T$}#T#UGT#U#c$}#c#dHf#d#o$}#o#pH{#p#q6d#q#rI^#r#sIo#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`JW<%lO$}`%QSOy%^z;'S%^;'S;=`%o<%lO%^`%cSo`Oy%^z;'S%^;'S;=`%o<%lO%^`%rP;=`<%l%^~%zh#Z~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#Z~o`OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^l)[UOy%^z#]%^#]#^)n#^;'S%^;'S;=`%o<%lO%^l)sUo`Oy%^z#a%^#a#b*V#b;'S%^;'S;=`%o<%lO%^l*[Uo`Oy%^z#d%^#d#e*n#e;'S%^;'S;=`%o<%lO%^l*sUo`Oy%^z#c%^#c#d+V#d;'S%^;'S;=`%o<%lO%^l+[Uo`Oy%^z#f%^#f#g+n#g;'S%^;'S;=`%o<%lO%^l+sUo`Oy%^z#h%^#h#i,V#i;'S%^;'S;=`%o<%lO%^l,[Uo`Oy%^z#T%^#T#U,n#U;'S%^;'S;=`%o<%lO%^l,sUo`Oy%^z#b%^#b#c-V#c;'S%^;'S;=`%o<%lO%^l-[Uo`Oy%^z#h%^#h#i-n#i;'S%^;'S;=`%o<%lO%^l-uS!X[o`Oy%^z;'S%^;'S;=`%o<%lO%^~.UWOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o<%lO.R~.sOh~~.vRO;'S.R;'S;=`/P;=`O.R~/SXOY.RZr.Rrs.ns#O.R#O#P.s#P;'S.R;'S;=`/o;=`<%l.R<%lO.R~/rP;=`<%l.Rn/zYxQOy%^z!Q%^!Q![0j![!c%^!c!i0j!i#T%^#T#Z0j#Z;'S%^;'S;=`%o<%lO%^l0oYo`Oy%^z!Q%^!Q![1_![!c%^!c!i1_!i#T%^#T#Z1_#Z;'S%^;'S;=`%o<%lO%^l1dYo`Oy%^z!Q%^!Q![2S![!c%^!c!i2S!i#T%^#T#Z2S#Z;'S%^;'S;=`%o<%lO%^l2ZYf[o`Oy%^z!Q%^!Q![2y![!c%^!c!i2y!i#T%^#T#Z2y#Z;'S%^;'S;=`%o<%lO%^l3QYf[o`Oy%^z!Q%^!Q![3p![!c%^!c!i3p!i#T%^#T#Z3p#Z;'S%^;'S;=`%o<%lO%^l3uYo`Oy%^z!Q%^!Q![4e![!c%^!c!i4e!i#T%^#T#Z4e#Z;'S%^;'S;=`%o<%lO%^l4lYf[o`Oy%^z!Q%^!Q![5[![!c%^!c!i5[!i#T%^#T#Z5[#Z;'S%^;'S;=`%o<%lO%^l5aYo`Oy%^z!Q%^!Q![6P![!c%^!c!i6P!i#T%^#T#Z6P#Z;'S%^;'S;=`%o<%lO%^l6WSf[o`Oy%^z;'S%^;'S;=`%o<%lO%^d6gUOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^d7QS|So`Oy%^z;'S%^;'S;=`%o<%lO%^b7cSXQOy%^z;'S%^;'S;=`%o<%lO%^~7rWOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W<%lO7o~8_RO;'S7o;'S;=`8h;=`O7o~8kXOY7oZw7owx.nx#O7o#O#P8[#P;'S7o;'S;=`9W;=`<%l7o<%lO7o~9ZP;=`<%l7on9cSb^Oy%^z;'S%^;'S;=`%o<%lO%^~9tOa~n9{UUQjWOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^n:fWjW!RQOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l<cYo`Oy%^z{%^{|=R|}%^}!O=R!O!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=WUo`Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l=qUo`#e[Oy%^z!Q%^!Q![=j![;'S%^;'S;=`%o<%lO%^l>[[o`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSt^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#bQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#[~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[aCe,rCe,tCe,1,2,3,4,new UEe("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:e=>oCe[e]||-1},{term:58,get:e=>iCe[e]||-1},{term:101,get:e=>sCe[e]||-1}],tokenPrec:1200})});function uCe(){if(!mCe&&"object"==typeof document&&document.body){let{style:e}=document.body,t=[],a=new Set;for(let r in e)"cssText"!=r&&"cssFloat"!=r&&"string"==typeof e[r]&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,e=>"-"+e.toLowerCase())),a.has(r)||(t.push(r),a.add(r)));mCe=t.sort().map(e=>({type:"property",label:e,apply:e+": "}))}return mCe||[]}function dCe(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function pCe(e,t,a){if(t.to-t.from>4096){let r=xCe.get(t);if(r)return r;let n=[],o=new Set,i=t.cursor(Tke.IncludeAnonymous);if(i.firstChild())do{for(let t of pCe(e,i.node,a))o.has(t.label)||(o.add(t.label),n.push(t))}while(i.nextSibling());return xCe.set(t,n),n}{let r=[],n=new Set;return t.cursor().iterate(t=>{if(a(t)&&t.matchContext(wCe)&&":"==t.node.nextSibling?.name){let a=e.sliceString(t.from,t.to);n.has(a)||(n.add(a),r.push({label:a,type:"variable"}))}}),r}}function hCe(){return new hAe(ACe,ACe.data.of({autocomplete:SCe}))}var mCe,fCe,gCe,vCe,bCe,yCe,OCe,xCe,wCe,kCe,SCe,ACe,_Ce=V(()=>{cCe(),KAe(),Wke(),mCe=null,fCe="active.after.any-link.autofill.backdrop.before.checked.cue.default.defined.disabled.empty.enabled.file-selector-button.first.first-child.first-letter.first-line.first-of-type.focus.focus-visible.focus-within.fullscreen.has.host.host-context.hover.in-range.indeterminate.invalid.is.lang.last-child.last-of-type.left.link.marker.modal.not.nth-child.nth-last-child.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.part.placeholder.placeholder-shown.read-only.read-write.required.right.root.scope.selection.slotted.target.target-text.valid.visited.where".split(".").map(e=>({type:"class",label:e})),gCe="above.absolute.activeborder.additive.activecaption.after-white-space.ahead.alias.all.all-scroll.alphabetic.alternate.always.antialiased.appworkspace.asterisks.attr.auto.auto-flow.avoid.avoid-column.avoid-page.avoid-region.axis-pan.background.backwards.baseline.below.bidi-override.blink.block.block-axis.bold.bolder.border.border-box.both.bottom.break.break-all.break-word.bullets.button.button-bevel.buttonface.buttonhighlight.buttonshadow.buttontext.calc.capitalize.caps-lock-indicator.caption.captiontext.caret.cell.center.checkbox.circle.cjk-decimal.clear.clip.close-quote.col-resize.collapse.color.color-burn.color-dodge.column.column-reverse.compact.condensed.contain.content.contents.content-box.context-menu.continuous.copy.counter.counters.cover.crop.cross.crosshair.currentcolor.cursive.cyclic.darken.dashed.decimal.decimal-leading-zero.default.default-button.dense.destination-atop.destination-in.destination-out.destination-over.difference.disc.discard.disclosure-closed.disclosure-open.document.dot-dash.dot-dot-dash.dotted.double.down.e-resize.ease.ease-in.ease-in-out.ease-out.element.ellipse.ellipsis.embed.end.ethiopic-abegede-gez.ethiopic-halehame-aa-er.ethiopic-halehame-gez.ew-resize.exclusion.expanded.extends.extra-condensed.extra-expanded.fantasy.fast.fill.fill-box.fixed.flat.flex.flex-end.flex-start.footnotes.forwards.from.geometricPrecision.graytext.grid.groove.hand.hard-light.help.hidden.hide.higher.highlight.highlighttext.horizontal.hsl.hsla.hue.icon.ignore.inactiveborder.inactivecaption.inactivecaptiontext.infinite.infobackground.infotext.inherit.initial.inline.inline-axis.inline-block.inline-flex.inline-grid.inline-table.inset.inside.intrinsic.invert.italic.justify.keep-all.landscape.large.larger.left.level.lighter.lighten.line-through.linear.linear-gradient.lines.list-item.listbox.listitem.local.logical.loud.lower.lower-hexadecimal.lower-latin.lower-norwegian.lowercase.ltr.luminosity.manipulation.match.matrix.matrix3d.medium.menu.menutext.message-box.middle.min-intrinsic.mix.monospace.move.multiple.multiple_mask_images.multiply.n-resize.narrower.ne-resize.nesw-resize.no-close-quote.no-drop.no-open-quote.no-repeat.none.normal.not-allowed.nowrap.ns-resize.numbers.numeric.nw-resize.nwse-resize.oblique.opacity.open-quote.optimizeLegibility.optimizeSpeed.outset.outside.outside-shape.overlay.overline.padding.padding-box.painted.page.paused.perspective.pinch-zoom.plus-darker.plus-lighter.pointer.polygon.portrait.pre.pre-line.pre-wrap.preserve-3d.progress.push-button.radial-gradient.radio.read-only.read-write.read-write-plaintext-only.rectangle.region.relative.repeat.repeating-linear-gradient.repeating-radial-gradient.repeat-x.repeat-y.reset.reverse.rgb.rgba.ridge.right.rotate.rotate3d.rotateX.rotateY.rotateZ.round.row.row-resize.row-reverse.rtl.run-in.running.s-resize.sans-serif.saturation.scale.scale3d.scaleX.scaleY.scaleZ.screen.scroll.scrollbar.scroll-position.se-resize.self-start.self-end.semi-condensed.semi-expanded.separate.serif.show.single.skew.skewX.skewY.skip-white-space.slide.slider-horizontal.slider-vertical.sliderthumb-horizontal.sliderthumb-vertical.slow.small.small-caps.small-caption.smaller.soft-light.solid.source-atop.source-in.source-out.source-over.space.space-around.space-between.space-evenly.spell-out.square.start.static.status-bar.stretch.stroke.stroke-box.sub.subpixel-antialiased.svg_masks.super.sw-resize.symbolic.symbols.system-ui.table.table-caption.table-cell.table-column.table-column-group.table-footer-group.table-header-group.table-row.table-row-group.text.text-bottom.text-top.textarea.textfield.thick.thin.threeddarkshadow.threedface.threedhighlight.threedlightshadow.threedshadow.to.top.transform.translate.translate3d.translateX.translateY.translateZ.transparent.ultra-condensed.ultra-expanded.underline.unidirectional-pan.unset.up.upper-latin.uppercase.url.var.vertical.vertical-text.view-box.visible.visibleFill.visiblePainted.visibleStroke.visual.w-resize.wait.wave.wider.window.windowframe.windowtext.words.wrap.wrap-reverse.x-large.x-small.xor.xx-large.xx-small".split(".").map(e=>({type:"keyword",label:e})).concat("aliceblue.antiquewhite.aqua.aquamarine.azure.beige.bisque.black.blanchedalmond.blue.blueviolet.brown.burlywood.cadetblue.chartreuse.chocolate.coral.cornflowerblue.cornsilk.crimson.cyan.darkblue.darkcyan.darkgoldenrod.darkgray.darkgreen.darkkhaki.darkmagenta.darkolivegreen.darkorange.darkorchid.darkred.darksalmon.darkseagreen.darkslateblue.darkslategray.darkturquoise.darkviolet.deeppink.deepskyblue.dimgray.dodgerblue.firebrick.floralwhite.forestgreen.fuchsia.gainsboro.ghostwhite.gold.goldenrod.gray.grey.green.greenyellow.honeydew.hotpink.indianred.indigo.ivory.khaki.lavender.lavenderblush.lawngreen.lemonchiffon.lightblue.lightcoral.lightcyan.lightgoldenrodyellow.lightgray.lightgreen.lightpink.lightsalmon.lightseagreen.lightskyblue.lightslategray.lightsteelblue.lightyellow.lime.limegreen.linen.magenta.maroon.mediumaquamarine.mediumblue.mediumorchid.mediumpurple.mediumseagreen.mediumslateblue.mediumspringgreen.mediumturquoise.mediumvioletred.midnightblue.mintcream.mistyrose.moccasin.navajowhite.navy.oldlace.olive.olivedrab.orange.orangered.orchid.palegoldenrod.palegreen.paleturquoise.palevioletred.papayawhip.peachpuff.peru.pink.plum.powderblue.purple.rebeccapurple.red.rosybrown.royalblue.saddlebrown.salmon.sandybrown.seagreen.seashell.sienna.silver.skyblue.slateblue.slategray.snow.springgreen.steelblue.tan.teal.thistle.tomato.turquoise.violet.wheat.white.whitesmoke.yellow.yellowgreen".split(".").map(e=>({type:"constant",label:e}))),vCe="a.abbr.address.article.aside.b.bdi.bdo.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.dd.del.details.dfn.dialog.div.dl.dt.em.figcaption.figure.footer.form.header.hgroup.h1.h2.h3.h4.h5.h6.hr.html.i.iframe.img.input.ins.kbd.label.legend.li.main.meter.nav.ol.output.p.pre.ruby.section.select.small.source.span.strong.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.tr.u.ul".split(".").map(e=>({type:"type",label:e})),bCe=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(e=>({type:"keyword",label:e})),yCe=/^(\w[\w-]*|-\w[\w-]*|)$/,OCe=/^-(-[\w-]*)?$/,xCe=new Bke,wCe=["Declaration"],kCe=e=>t=>{let{state:a,pos:r}=t,n=SSe(a).resolveInner(r,-1),o=n.type.isError&&n.from==n.to-1&&"-"==a.doc.sliceString(n.from,n.to);if("PropertyName"==n.name||(o||"TagName"==n.name)&&/^(Block|Styles)$/.test(n.resolve(n.to).name))return{from:n.from,options:uCe(),validFor:yCe};if("ValueName"==n.name)return{from:n.from,options:gCe,validFor:yCe};if("PseudoClassName"==n.name)return{from:n.from,options:fCe,validFor:yCe};if(e(n)||(t.explicit||o)&&function(e,t){if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1;let a=e.parent?.firstChild;return"Callee"==a?.name&&"var"==t.sliceString(a.from,a.to)}(n,a.doc))return{from:e(n)||o?n.from:r,options:pCe(a.doc,dCe(n),e),validFor:OCe};if("TagName"==n.name){for(let{parent:e}=n;e;e=e.parent)if("Block"==e.name)return{from:n.from,options:uCe(),validFor:yCe};return{from:n.from,options:vCe,validFor:yCe}}if("AtKeyword"==n.name)return{from:n.from,options:bCe,validFor:yCe};if(!t.explicit)return null;let i=n.resolve(r),s=i.childBefore(r);return s&&":"==s.name&&"PseudoClassSelector"==i.name?{from:r,options:fCe,validFor:yCe}:s&&":"==s.name&&"Declaration"==i.name||"ArgList"==i.name?{from:r,options:gCe,validFor:yCe}:"Block"==i.name||"Styles"==i.name?{from:r,options:uCe(),validFor:yCe}:null},SCe=kCe(e=>"VariableName"==e.name),ACe=nAe.define({name:"css",parser:lCe.configure({props:[vAe.add({Declaration:RSe()}),wAe.add({"Block KeyframeList":DSe})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}})});function TCe(e){return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}function ECe(e){return 9==e||10==e||13==e||32==e}function CCe(e,t){let a=e.pos+t;if(YCe==a&&GCe==e)return XCe;let r=e.peek(t);for(;ECe(r);)r=e.peek(++t);let n="";for(;TCe(r);)n+=String.fromCharCode(r),r=e.peek(++t);return GCe=e,YCe=a,XCe=n?n.toLowerCase():r==tPe||r==aPe?void 0:null}function PCe(e,t){this.name=e,this.parent=t}function MCe(e,t,a){let r=2+e.length;return new zEe(n=>{for(let o=0,i=0,s=0;;s++){if(n.next<0){s&&n.acceptToken(t);break}if(0==o&&n.next==KCe||1==o&&n.next==ePe||o>=2&&o<r&&n.next==e.charCodeAt(o-2))o++,i++;else if(2!=o&&o!=r||!ECe(n.next)){if(o==r&&n.next==JCe){s>i?n.acceptToken(t,-i):n.acceptToken(a,-(i-2));break}if((10==n.next||13==n.next)&&s){n.acceptToken(t,1);break}o=i=0}else i++;n.advance()}})}function $Ce(e,t){let a=Object.create(null);for(let r of e.getChildren(BCe)){let e=r.getChild(jCe),n=r.getChild(UCe)||r.getChild(zCe);e&&(a[t.read(e.from,e.to)]=n?n.type.id==UCe?t.read(n.from+1,n.to-1):t.read(n.from,n.to):"")}return a}function NCe(e,t){let a=e.getChild(LCe);return a?t.read(a.from,a.to):" "}function ICe(e,t,a){let r;for(let n of a)if(!n.attrs||n.attrs(r||=$Ce(e.node.parent.firstChild,t)))return{parser:n.parser};return null}function RCe(e=[],t=[]){let a=[],r=[],n=[],o=[];for(let t of e)("script"==t.tag?a:"style"==t.tag?r:"textarea"==t.tag?n:o).push(t);let i=t.length?Object.create(null):null;for(let e of t)(i[e.name]||(i[e.name]=[])).push(e);return function(e){return(t,a,r,n)=>new Qke(t,e,a,r,n)}((e,t)=>{let s=e.type.id;if(s==HCe)return ICe(e,t,a);if(s==ZCe)return ICe(e,t,r);if(s==VCe)return ICe(e,t,n);if(s==DCe&&o.length){let a,r=e.node,n=r.firstChild,i=n&&NCe(n,t);if(i)for(let e of o)if(e.tag==i&&(!e.attrs||e.attrs(a||=$Ce(n,t)))){let t=r.lastChild,a=t.type.id==QCe?t.from:r.to;if(a>n.to)return{parser:e.parser,overlay:[{from:n.to,to:a}]}}}if(i&&s==BCe){let a,r=e.node;if(a=r.firstChild){let e=i[t.read(a.from,a.to)];if(e)for(let a of e){if(a.tagName&&a.tagName!=NCe(r.parent,t))continue;let e=r.lastChild;if(e.type.id==UCe){let t=e.from+1,r=e.lastChild,n=e.to-(r&&r.isError?0:1);if(n>t)return{parser:a.parser,overlay:[{from:t,to:n}]}}else if(e.type.id==zCe)return{parser:a.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}var DCe,LCe,BCe,jCe,UCe,zCe,HCe,ZCe,VCe,QCe,qCe,FCe,WCe,XCe,GCe,YCe,KCe,JCe,ePe,tPe,aPe,rPe,nPe,oPe,iPe,sPe,lPe,cPe,uPe,dPe,pPe,hPe=V(()=>{YEe(),xSe(),Wke(),DCe=20,LCe=22,BCe=23,jCe=24,UCe=26,zCe=27,HCe=28,ZCe=31,VCe=34,QCe=37,qCe={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},FCe={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},WCe={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},XCe=null,GCe=null,YCe=0,KCe=60,JCe=62,ePe=47,tPe=63,aPe=33,rPe=[6,10,7,8,9],nPe=new XEe({start:null,shift:(e,t,a,r)=>rPe.indexOf(t)>-1?new PCe(CCe(r,1)||"",e):e,reduce:(e,t)=>t==DCe&&e?e.parent:e,reuse(e,t,a,r){let n=t.type.id;return 6==n||36==n?new PCe(CCe(r,1)||"",e):e},strict:!1}),oPe=new zEe((e,t)=>{if(e.next!=KCe)return void(e.next<0&&t.context&&e.acceptToken(57));e.advance();let a=e.next==ePe;a&&e.advance();let r=CCe(e,0);if(void 0===r)return;if(!r)return e.acceptToken(a?14:6);let n=t.context?t.context.name:null;if(a){if(r==n)return e.acceptToken(11);if(n&&FCe[n])return e.acceptToken(57,-2);if(t.dialectEnabled(0))return e.acceptToken(12);for(let e=t.context;e;e=e.parent)if(e.name==r)return;e.acceptToken(13)}else{if("script"==r)return e.acceptToken(7);if("style"==r)return e.acceptToken(8);if("textarea"==r)return e.acceptToken(9);if(qCe.hasOwnProperty(r))return e.acceptToken(10);n&&WCe[n]&&WCe[n][r]?e.acceptToken(57,-1):e.acceptToken(6)}},{contextual:!0}),iPe=new zEe(e=>{for(let t=0,a=0;;a++){if(e.next<0){a&&e.acceptToken(58);break}if(45==e.next)t++;else{if(e.next==JCe&&t>=2){a>=3&&e.acceptToken(58,-2);break}t=0}e.advance()}}),sPe=new zEe((e,t)=>{if(e.next==ePe&&e.peek(1)==JCe){let a=t.dialectEnabled(1)||function(e){for(;e;e=e.parent)if("svg"==e.name||"math"==e.name)return!0;return!1}(t.context);e.acceptToken(a?5:4,2)}else e.next==JCe&&e.acceptToken(4,1)}),lPe=MCe("script",54,1),cPe=MCe("style",55,2),uPe=MCe("textarea",56,3),dPe=Xke({"Text RawText":OSe.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":OSe.angleBracket,TagName:OSe.tagName,"MismatchedCloseTag/TagName":[OSe.tagName,OSe.invalid],AttributeName:OSe.attributeName,"AttributeValue UnquotedAttributeValue":OSe.attributeValue,Is:OSe.definitionOperator,"EntityReference CharacterReference":OSe.character,Comment:OSe.blockComment,ProcessingInst:OSe.processingInstruction,DoctypeDecl:OSe.documentMeta}),pPe=GEe.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:",]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:nPe,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[dPe],skippedNodes:[0],repeatNodeCount:9,tokenData:"!<p!aR!YOX$qXY,QYZ,QZ[$q[]&X]^,Q^p$qpq,Qqr-_rs3_sv-_vw3}wxHYx}-_}!OH{!O!P-_!P!Q$q!Q![-_![!]Mz!]!^-_!^!_!$S!_!`!;x!`!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4U-_4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!Z$|c`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr$qrs&}sv$qvw+Pwx(tx!^$q!^!_*V!_!a&X!a#S$q#S#T&X#T;'S$q;'S;=`+z<%lO$q!R&bX`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&Xq'UV`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}P'pT`POv'kw!^'k!_;'S'k;'S;=`(P<%lO'kP(SP;=`<%l'kp([S!cpOv(Vx;'S(V;'S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({W`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t`)jT!a`Or)esv)ew;'S)e;'S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!a`!cpOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYkWOX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+PW+wP;=`<%l+P!Z+}P;=`<%l$q!a,]``P!a`!cp!^^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!_-ljhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q[/ebhSkWOX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+PS0rXhSqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vchS`P!a`!cpOq&Xqr1krs&}sv1kvw0mwx(tx!P1k!P!Q&X!Q!^1k!^!_*V!_!a&X!a#s1k#s$f&X$f;'S1k;'S;=`3R<%l?Ah1k?Ah?BY&X?BY?Mn1k?MnO&X!V3UP;=`<%l1k!_3[P;=`<%l-_!Z3hV!`h`P!cpOv&}wx'kx!^&}!^!_(V!_;'S&};'S;=`(n<%lO&}!_4WihSkWc!ROX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst>]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!V<QchSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;'S;{;'S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXiS`P!a`!cpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X",tokenizers:[lPe,cPe,uPe,sPe,oPe,iPe,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:509},tokenPrec:511})});function mPe(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}var fPe,gPe,vPe,bPe,yPe,OPe,xPe,wPe,kPe,SPe,APe,_Pe=V(()=>{YEe(),xSe(),fPe=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],gPe=new XEe({start:!1,shift:(e,t)=>5==t||6==t||315==t?e:316==t,strict:!1}),vPe=new zEe((e,t)=>{let{next:a}=e;(125==a||-1==a||t.context)&&e.acceptToken(313)},{contextual:!0,fallback:!0}),bPe=new zEe((e,t)=>{let a,{next:r}=e;fPe.indexOf(r)>-1||47==r&&(47==(a=e.peek(1))||42==a)||125!=r&&59!=r&&-1!=r&&!t.context&&e.acceptToken(312)},{contextual:!0}),yPe=new zEe((e,t)=>{let{next:a}=e;if(43==a||45==a){if(e.advance(),a==e.next){e.advance();let a=!t.context&&t.canShift(1);e.acceptToken(a?1:2)}}else 63==a&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))},{contextual:!0}),OPe=new zEe((e,t)=>{if(60!=e.next||!t.dialectEnabled(0)||(e.advance(),47==e.next))return;let a=0;for(;fPe.indexOf(e.next)>-1;)e.advance(),a++;if(mPe(e.next,!0)){for(e.advance(),a++;mPe(e.next,!1);)e.advance(),a++;for(;fPe.indexOf(e.next)>-1;)e.advance(),a++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!mPe(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),a++}}e.acceptToken(4,-a)}),xPe=Xke({"get set async static":OSe.modifier,"for while do if else switch try catch finally return throw break continue default case":OSe.controlKeyword,"in of await yield void typeof delete instanceof":OSe.operatorKeyword,"let var const using function class extends":OSe.definitionKeyword,"import export from":OSe.moduleKeyword,"with debugger as new":OSe.keyword,TemplateString:OSe.special(OSe.string),super:OSe.atom,BooleanLiteral:OSe.bool,this:OSe.self,null:OSe.null,Star:OSe.modifier,VariableName:OSe.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":OSe.function(OSe.variableName),VariableDefinition:OSe.definition(OSe.variableName),Label:OSe.labelName,PropertyName:OSe.propertyName,PrivatePropertyName:OSe.special(OSe.propertyName),"CallExpression/MemberExpression/PropertyName":OSe.function(OSe.propertyName),"FunctionDeclaration/VariableDefinition":OSe.function(OSe.definition(OSe.variableName)),"ClassDeclaration/VariableDefinition":OSe.definition(OSe.className),PropertyDefinition:OSe.definition(OSe.propertyName),PrivatePropertyDefinition:OSe.definition(OSe.special(OSe.propertyName)),UpdateOp:OSe.updateOperator,"LineComment Hashbang":OSe.lineComment,BlockComment:OSe.blockComment,Number:OSe.number,String:OSe.string,Escape:OSe.escape,ArithOp:OSe.arithmeticOperator,LogicOp:OSe.logicOperator,BitOp:OSe.bitwiseOperator,CompareOp:OSe.compareOperator,RegExp:OSe.regexp,Equals:OSe.definitionOperator,Arrow:OSe.function(OSe.punctuation),": Spread":OSe.punctuation,"( )":OSe.paren,"[ ]":OSe.squareBracket,"{ }":OSe.brace,"InterpolationStart InterpolationEnd":OSe.special(OSe.brace),".":OSe.derefOperator,", ;":OSe.separator,"@":OSe.meta,TypeName:OSe.typeName,TypeDefinition:OSe.definition(OSe.typeName),"type enum interface implements namespace module declare":OSe.definitionKeyword,"abstract global Privacy readonly override":OSe.modifier,"is keyof unique infer":OSe.operatorKeyword,JSXAttributeValue:OSe.attributeValue,JSXText:OSe.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":OSe.angleBracket,"JSXIdentifier JSXNameSpacedName":OSe.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":OSe.attributeName,"JSXBuiltin/JSXIdentifier":OSe.standard(OSe.tagName)}),wPe={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,extends:54,this:58,true:66,false:66,null:78,void:82,typeof:86,super:102,new:136,delete:148,yield:157,await:161,class:166,public:229,private:229,protected:229,readonly:231,instanceof:250,satisfies:253,in:254,const:256,import:290,keyof:345,unique:349,infer:355,is:391,abstract:411,implements:413,type:415,let:418,var:420,using:423,interface:429,enum:433,namespace:439,module:441,declare:445,global:449,for:468,of:477,while:480,with:484,do:488,if:492,else:494,switch:498,case:504,try:510,catch:514,finally:518,return:522,throw:526,break:530,continue:534,debugger:538},kPe={__proto__:null,async:123,get:125,set:127,declare:189,public:191,private:191,protected:191,static:193,abstract:195,override:197,readonly:203,accessor:205,new:395},SPe={__proto__:null,"<":187},APe=GEe.deserialize({version:14,states:"$@QO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ?NdO'#CiO+RO!bO'#CjO+aO#tO'#CjO+oO!0LbO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DwO0fQ^O'#EPOOQ?Mr'#EX'#EXO1PQWO'#EUOOQO'#Em'#EmOOQO'#Ih'#IhO1XQWO'#GpO1dQWO'#ElO1iQWO'#ElO3hQ?NdO'#JmO6[Q?NdO'#JnO6uQWO'#F[O6zQ&jO'#FsOOQ?Mr'#Fe'#FeO7VO,YO'#FeO7eQ7[O'#FzO9RQWO'#FyOOQ?Mr'#Jn'#JnOOQ?Mp'#Jm'#JmO9WQWO'#GtOOQU'#KZ'#KZO9cQWO'#IUO9hQ?MxO'#IVOOQU'#JZ'#JZOOQU'#IZ'#IZQ`Q^OOO`Q^OOO9pQMnO'#DsO9wQ^O'#D{O:OQ^O'#D}O9^QWO'#GpO:VQ7[O'#CoO:eQWO'#EkO:pQWO'#EvO:uQ7[O'#FdO;dQWO'#GpOOQO'#K['#K[O;iQWO'#K[O;wQWO'#GxO;wQWO'#GyO;wQWO'#G{O9^QWO'#HOO<nQWO'#HRO>VQWO'#CeO>gQWO'#H_O>oQWO'#HeO>oQWO'#HgO`Q^O'#HiO>oQWO'#HkO>oQWO'#HnO>tQWO'#HtO>yQ?MyO'#HzO%[Q^O'#H|O?UQ?MyO'#IOO?aQ?MyO'#IQO9hQ?MxO'#ISO?lQ?NdO'#CiO@nQ`O'#DiQOQWOOO%[Q^O'#D}OAUQWO'#EQO:VQ7[O'#EkOAaQWO'#EkOAlQpO'#FdOOQU'#Cg'#CgOOQ?Mp'#Dn'#DnOOQ?Mp'#Jq'#JqO%[Q^O'#JqOOQO'#Jt'#JtOOQO'#Id'#IdOBlQ`O'#EdOOQ?Mp'#Ec'#EcOOQ?Mp'#Jx'#JxOChQ?NQO'#EdOCrQ`O'#ETOOQO'#Js'#JsODWQ`O'#JtOEeQ`O'#ETOCrQ`O'#EdPErO#@ItO'#CbPOOO)CDx)CDxOOOO'#I['#I[OE}O!bO,59UOOQ?Mr,59U,59UOOOO'#I]'#I]OF]O#tO,59UO%[Q^O'#D`OOOO'#I_'#I_OFkO!0LbO,59xOOQ?Mr,59x,59xOFyQ^O'#I`OG^QWO'#JoOI]QrO'#JoO+}Q^O'#JoOIdQWO,5:OOIzQWO'#EmOJXQWO'#KOOJdQWO'#J}OJdQWO'#J}OJlQWO,5;ZOJqQWO'#J|OOQ?Mv,5:Z,5:ZOJxQ^O,5:ZOLvQ?NdO,5:cOMgQWO,5:kONQQ?MxO'#J{ONXQWO'#JzO9WQWO'#JzONmQWO'#JzONuQWO,5;YONzQWO'#JzO!#PQrO'#JnOOQ?Mr'#Ci'#CiO%[Q^O'#EPO!#oQrO,5:pOOQQ'#Ju'#JuOOQO-E<f-E<fO9^QWO,5=[O!$VQWO,5=[O!$[Q^O,5;WO!&_Q7[O'#EhO!'xQWO,5;WO!'}Q^O'#DvO!(XQ`O,5;aO!(aQ`O,5;aO%[Q^O,5;aOOQU'#FS'#FSOOQU'#FU'#FUO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bO%[Q^O,5;bOOQU'#FY'#FYO!(oQ^O,5;sOOQ?Mr,5;x,5;xOOQ?Mr,5;y,5;yOOQ?Mr,5;{,5;{O%[Q^O'#IlO!*rQ?MxO,5<gO%[Q^O,5;bO!&_Q7[O,5;bO!+aQ7[O,5;bO!-RQ7[O'#EZO%[Q^O,5;vOOQ?Mr,5;z,5;zO!-YQ&jO'#FiO!.VQ&jO'#KSO!-qQ&jO'#KSO!.^Q&jO'#KSOOQO'#KS'#KSO!.rQ&jO,5<ROOOS,5<_,5<_O!/TQ^O'#FuOOOS'#Ik'#IkO7VO,YO,5<PO!/[Q&jO'#FwOOQ?Mr,5<P,5<PO!/{Q!LQO'#CvOOQ?Mr'#Cz'#CzO!0`O!0LbO'#DOO!0|Q7[O,5<dO!1TQWO,5<fO!2pQ$ISO'#GVO!2}QWO'#GWO!3SQWO'#GWO!4rQ$ISO'#G[O!5nQ`O'#G`OOQO'#Gk'#GkO!+hQ7[O'#GjOOQO'#Gm'#GmO!+hQ7[O'#GlO!6aQ!LQO'#JgOOQ?Mr'#Jg'#JgO!6kQWO'#JfO!6yQWO'#JeO!7RQWO'#CuOOQ?Mr'#Cx'#CxO!7ZQWO'#CzOOQ?Mr'#DS'#DSOOQ?Mr'#DU'#DUO1SQWO'#DWO!+hQ7[O'#F}O!+hQ7[O'#GPO!7`QWO'#GRO!7eQWO'#GSO!3SQWO'#GYO!+hQ7[O'#G_O!7jQWO'#EnO!8XQWO,5<eOOQ?Mp'#Cr'#CrO!8aQWO'#EoO!9ZQ`O'#EpOOQ?Mp'#J|'#J|O!9bQ?MxO'#K]O9hQ?MxO,5=`O`Q^O,5>pOOQU'#Jc'#JcOOQU,5>q,5>qOOQU-E<X-E<XO!;aQ?NdO,5:_O!9UQ`O,5:]O!=zQ?NdO,5:gO%[Q^O,5:gO!@bQ?NdO,5:iOOQO,5@v,5@vO!ARQ7[O,5=[O!AaQ?MxO'#JdO9RQWO'#JdO!ArQ?MxO,59ZO!A}Q`O,59ZO!BVQ7[O,59ZO:VQ7[O,59ZO!BbQWO,5;WO!BjQWO'#H^O!COQWO'#K`O%[Q^O,5;|O!9UQ`O,5<OO!CWQWO,5=wO!C]QWO,5=wO!CbQWO,5=wO9hQ?MxO,5=wO;wQWO,5=gOOQO'#Cv'#CvO!CpQ`O,5=dO!CxQ7[O,5=eO!DTQWO,5=gO!DYQpO,5=jO!DbQWO'#K[O>tQWO'#HTO9^QWO'#HVO!DgQWO'#HVO:VQ7[O'#HXO!DlQWO'#HXOOQU,5=m,5=mO!DqQWO'#HYO!ESQWO'#CoO!EXQWO,59PO!EcQWO,59PO!GhQ^O,59POOQU,59P,59PO!GxQ?MxO,59PO%[Q^O,59PO!JTQ^O'#HaOOQU'#Hb'#HbOOQU'#Hc'#HcO`Q^O,5=yO!JkQWO,5=yO`Q^O,5>PO`Q^O,5>RO!JpQWO,5>TO`Q^O,5>VO!JuQWO,5>YO!JzQ^O,5>`OOQU,5>f,5>fO%[Q^O,5>fO9hQ?MxO,5>hOOQU,5>j,5>jO# UQWO,5>jOOQU,5>l,5>lO# UQWO,5>lOOQU,5>n,5>nO# rQ`O'#D[O%[Q^O'#JqO# |Q`O'#JqO#!kQ`O'#DjO#!|Q`O'#DjO#%_Q^O'#DjO#%fQWO'#JpO#%nQWO,5:TO#%sQWO'#EqO#&RQWO'#KPO#&ZQWO,5;[O#&`Q`O'#DjO#&mQ`O'#ESOOQ?Mr,5:l,5:lO%[Q^O,5:lO#&tQWO,5:lO>tQWO,5;VO!A}Q`O,5;VO!BVQ7[O,5;VO:VQ7[O,5;VO#&|QWO,5@]O#'RQ(CYO,5:pOOQO-E<b-E<bO#(XQ?NQO,5;OOCrQ`O,5:oO#(cQ`O,5:oOCrQ`O,5;OO!ArQ?MxO,5:oOOQ?Mp'#Eg'#EgOOQO,5;O,5;OO%[Q^O,5;OO#(pQ?MxO,5;OO#({Q?MxO,5;OO!A}Q`O,5:oOOQO,5;U,5;UO#)ZQ?MxO,5;OPOOO'#IY'#IYP#)oO#@ItO,58|POOO,58|,58|OOOO-E<Y-E<YOOQ?Mr1G.p1G.pOOOO-E<Z-E<ZO#)zQpO,59zOOOO-E<]-E<]OOQ?Mr1G/d1G/dO#*PQrO,5>zO+}Q^O,5>zOOQO,5?Q,5?QO#*ZQ^O'#I`OOQO-E<^-E<^O#*hQWO,5@ZO#*pQrO,5@ZO#*wQWO,5@iOOQ?Mr1G/j1G/jO%[Q^O,5@jO#+PQWO'#IfOOQO-E<d-E<dO#*wQWO,5@iOOQ?Mp1G0u1G0uOOQ?Mv1G/u1G/uOOQ?Mv1G0V1G0VO%[Q^O,5@gO#+eQ?MxO,5@gO#+vQ?MxO,5@gO#+}QWO,5@fO9WQWO,5@fO#,VQWO,5@fO#,eQWO'#IiO#+}QWO,5@fOOQ?Mp1G0t1G0tO!(XQ`O,5:rO!(dQ`O,5:rOOQQ,5:t,5:tO#-VQYO,5:tO#-_Q7[O1G2vO9^QWO1G2vOOQ?Mr1G0r1G0rO#-mQ?NdO1G0rO#.rQ?NbO,5;SOOQ?Mr'#GU'#GUO#/`Q?NdO'#JgO!$[Q^O1G0rO#1hQrO'#JrO%[Q^O'#JrO#1rQWO,5:bOOQ?Mr'#D['#D[OOQ?Mr1G0{1G0{O%[Q^O1G0{OOQ?Mr1G1e1G1eO#1wQWO1G0{O#4]Q?NdO1G0|O#4dQ?NdO1G0|O#6zQ?NdO1G0|O#7RQ?NdO1G0|O#9iQ?NdO1G0|O#<PQ?NdO1G0|O#<WQ?NdO1G0|O#<_Q?NdO1G0|O#>uQ?NdO1G0|O#>|Q?NdO1G0|O#AZQ07bO'#CiO#CUQ07bO1G1_O#C]Q07bO'#JnO#CpQ?NdO,5?WOOQ?Mp-E<j-E<jO#E}Q?NdO1G0|O#FzQ?NdO1G0|OOQ?Mr1G0|1G0|O#GzQ7[O'#JwO#HUQWO,5:uO#HZQ?NdO1G1bO#H}Q&jO,5<VO#IVQ&jO,5<WO#I_Q&jO'#FnO#IvQWO'#FmOOQO'#KT'#KTOOQO'#Ij'#IjO#I{Q&jO1G1mOOQ?Mr1G1m1G1mOOOS1G1x1G1xO#J^Q07bO'#JmO#JhQWO,5<aO!(oQ^O,5<aOOOS-E<i-E<iOOQ?Mr1G1k1G1kO#JmQ`O'#KSOOQ?Mr,5<c,5<cO#JuQ`O,5<cO!&_Q7[O'#DQOOOO'#I^'#I^O#JzO!0LbO,59jOOQ?Mr,59j,59jO%[Q^O1G2OO!7eQWO'#InO#KVQ7[O,5<xOOQ?Mr,5<u,5<uO!+hQ7[O'#IqO#KuQ7[O,5=UO!+hQ7[O'#IsO#LhQ7[O,5=WO!&_Q7[O,5=YOOQO1G2Q1G2QO#LrQpO'#CrO#MVQ$ISO'#EoO#NUQ`O'#G`O#NrQpO,5<qO#NyQWO'#KWO9WQWO'#KWO$ XQWO,5<sO!+hQ7[O,5<rO$ ^QWO'#GXO$ oQWO,5<rO$ tQpO'#GUO$!RQpO'#KXO$!]QWO'#KXO!&_Q7[O'#KXO$!bQWO,5<vO$!gQ`O'#GaO!5iQ`O'#GaO$!xQWO'#GcO$!}QWO'#GeO!3SQWO'#GhO$#SQ?MxO'#IpO$#_Q`O,5<zOOQ?Mv,5<z,5<zO$#fQ`O'#GaO$#tQ`O'#GbO$#|Q`O'#GbO$$RQ7[O,5=UO$$cQ7[O,5=WOOQ?Mr,5=Z,5=ZO!+hQ7[O,5@QO!+hQ7[O,5@QO$$sQWO'#IuO$%OQWO,5@PO$%WQWO,59aOOQ?Mr,59f,59fO$%zQ!LSO,59rOOQ?Mr'#Jk'#JkO$&mQ7[O,5<iO$'`Q7[O,5<kO@fQWO,5<mOOQ?Mr,5<n,5<nO$'jQWO,5<tO$'oQ7[O,5<yO$(PQWO'#JzO!$[Q^O1G2PO$(UQWO1G2PO9WQWO'#J}O9WQWO'#EqO%[Q^O'#EqO9WQWO'#IwO$(ZQ?MxO,5@wOOQU1G2z1G2zOOQU1G4[1G4[OOQ?Mr1G/y1G/yOOQ?Mr1G/w1G/wO$*]Q?NdO1G0ROOQU1G2v1G2vO!&_Q7[O1G2vO%[Q^O1G2vO#-bQWO1G2vO$,aQ7[O'#EhOOQ?Mp,5@O,5@OO$,kQ?MxO,5@OOOQU1G.u1G.uO!ArQ?MxO1G.uO!A}Q`O1G.uO!BVQ7[O1G.uO$,|QWO1G0rO$-RQWO'#CiO$-^QWO'#KaO$-fQWO,5=xO$-kQWO'#KaO$-pQWO'#KaO$.OQWO'#I}O$.^QWO,5@zO$.fQrO1G1hOOQ?Mr1G1j1G1jO9^QWO1G3cO@fQWO1G3cO$.mQWO1G3cO$.rQWO1G3cOOQU1G3c1G3cO!DTQWO1G3RO!&_Q7[O1G3OO$.wQWO1G3OOOQU1G3P1G3PO!&_Q7[O1G3PO$.|QWO1G3PO$/UQ`O'#G}OOQU1G3R1G3RO!5iQ`O'#IyO!DYQpO1G3UOOQU1G3U1G3UOOQU,5=o,5=oO$/^Q7[O,5=qO9^QWO,5=qO$!}QWO,5=sO9RQWO,5=sO!A}Q`O,5=sO!BVQ7[O,5=sO:VQ7[O,5=sO$/lQWO'#K_O$/wQWO,5=tOOQU1G.k1G.kO$/|Q?MxO1G.kO@fQWO1G.kO$0XQWO1G.kO9hQ?MxO1G.kO$2aQrO,5@|O$2nQWO,5@|O9WQWO,5@|O$2yQ^O,5={O$3QQWO,5={OOQU1G3e1G3eO`Q^O1G3eOOQU1G3k1G3kOOQU1G3m1G3mO>oQWO1G3oO$3VQ^O1G3qO$7ZQ^O'#HpOOQU1G3t1G3tO$7hQWO'#HvO>tQWO'#HxOOQU1G3z1G3zO$7pQ^O1G3zO9hQ?MxO1G4QOOQU1G4S1G4SOOQ?Mp'#G]'#G]O9hQ?MxO1G4UO9hQ?MxO1G4WO$;wQWO,5@]O!(oQ^O,5;]O9WQWO,5;]O>tQWO,5:UO!(oQ^O,5:UO!A}Q`O,5:UO$;|Q07bO,5:UOOQO,5;],5;]O$<WQ`O'#IaO$<nQWO,5@[OOQ?Mr1G/o1G/oO$<vQ`O'#IgO$=QQWO,5@kOOQ?Mp1G0v1G0vO#!|Q`O,5:UOOQO'#Ic'#IcO$=YQ`O,5:nOOQ?Mv,5:n,5:nO#&wQWO1G0WOOQ?Mr1G0W1G0WO%[Q^O1G0WOOQ?Mr1G0q1G0qO>tQWO1G0qO!A}Q`O1G0qO!BVQ7[O1G0qOOQ?Mp1G5w1G5wO!ArQ?MxO1G0ZOOQO1G0j1G0jO%[Q^O1G0jO$=aQ?MxO1G0jO$=lQ?MxO1G0jO!A}Q`O1G0ZOCrQ`O1G0ZO$=zQ?MxO1G0jOOQO1G0Z1G0ZO$>`Q?NdO1G0jPOOO-E<W-E<WPOOO1G.h1G.hOOOO1G/f1G/fO$>jQpO,5<gO$>rQrO1G4fOOQO1G4l1G4lO%[Q^O,5>zO$>|QWO1G5uO$?UQWO1G6TO$?^QrO1G6UO9WQWO,5?QO$?hQ?NdO1G6RO%[Q^O1G6RO$?xQ?MxO1G6RO$@ZQWO1G6QO$@ZQWO1G6QO9WQWO1G6QO$@cQWO,5?TO9WQWO,5?TOOQO,5?T,5?TO$@wQWO,5?TO$(PQWO,5?TOOQO-E<g-E<gOOQQ1G0^1G0^OOQQ1G0`1G0`O#-YQWO1G0`OOQU7+(b7+(bO!&_Q7[O7+(bO%[Q^O7+(bO$AVQWO7+(bO$AbQ7[O7+(bO$ApQ?NdO,5=UO$CxQ?NdO,5=WO$FQQ?NdO,5=UO$H`Q?NdO,5=WO$JnQ?NdO,59rO$LsQ?NdO,5<iO$N{Q?NdO,5<kO%#TQ?NdO,5<yOOQ?Mr7+&^7+&^O%%cQ?NdO7+&^O%&VQ^O'#IbO%&dQWO,5@^O%&lQrO,5@^OOQ?Mr1G/|1G/|O%&vQWO7+&gOOQ?Mr7+&g7+&gO%&{Q07bO,5:cO%[Q^O7+&yO%'VQ07bO,5:_O%'dQ07bO,5:gO%'nQ07bO,5:iO%'xQ7[O'#IeO%(SQWO,5@cOOQ?Mr1G0a1G0aOOQO1G1q1G1qOOQO1G1r1G1rO%([QtO,5<YO!(oQ^O,5<XOOQO-E<h-E<hOOQ?Mr7+'X7+'XOOOS7+'d7+'dOOOS1G1{1G1{O%(gQWO1G1{OOQ?Mr1G1}1G1}O%(lQpO,59lOOOO-E<[-E<[OOQ?Mr1G/U1G/UO%(sQ?NdO7+'jOOQ?Mr,5?Y,5?YO%)gQpO,5?YOOQ?Mr1G2d1G2dP!&_Q7[O'#InPOQ?Mr-E<l-E<lO%*VQ7[O,5?]OOQ?Mr-E<o-E<oO%*xQ7[O,5?_OOQ?Mr-E<q-E<qO%+SQpO1G2tO%+ZQpO'#CrO%+qQ7[O'#J}O%+xQ^O'#EqOOQ?Mr1G2]1G2]O%,SQWO'#ImO%,hQWO,5@rO%,hQWO,5@rO%,pQWO,5@rO%,{QWO,5@rOOQO1G2_1G2_O%-ZQ7[O1G2^O!+hQ7[O1G2^O%-kQ$ISO'#IoO%-xQWO,5@sO!&_Q7[O,5@sO%.QQpO,5@sOOQ?Mr1G2b1G2bOOQ?Mp,5<{,5<{OOQ?Mp,5<|,5<|O$(PQWO,5<|OCcQWO,5<|O!A}Q`O,5<{OOQO'#Gd'#GdO%.[QWO,5<}OOQ?Mp,5=P,5=PO$(PQWO,5=SOOQO,5?[,5?[OOQO-E<n-E<nOOQ?Mv1G2f1G2fO!5iQ`O,5<{O%.dQWO,5<|O$!xQWO,5<}O%.oQ`O,5<|O!+hQ7[O'#IqO%/`Q7[O1G2pO!+hQ7[O'#IsO%0RQ7[O1G2rO%0]Q7[O1G5lO%0gQ7[O1G5lOOQO,5?a,5?aOOQO-E<s-E<sOOQO1G.{1G.{O!9UQ`O,59tO%[Q^O,59tOOQ?Mr,5<h,5<hO%0tQWO1G2XO!+hQ7[O1G2`O%0yQ?NdO7+'kOOQ?Mr7+'k7+'kO!$[Q^O7+'kO%1mQWO,5;]OOQ?Mp,5?c,5?cOOQ?Mp-E<u-E<uO%1rQpO'#KYO#&wQWO7+(bO4UQrO7+(bO$AYQWO7+(bO%1|Q?NbO'#CiO%2aQ?NbO,5=QO%3RQWO,5=QOOQ?Mp1G5j1G5jOOQU7+$a7+$aO!ArQ?MxO7+$aO!A}Q`O7+$aO!$[Q^O7+&^O%3WQWO'#I|O%3oQWO,5@{OOQO1G3d1G3dO9^QWO,5@{O%3oQWO,5@{O%3wQWO,5@{OOQO,5?i,5?iOOQO-E<{-E<{OOQ?Mr7+'S7+'SO%3|QWO7+(}O9hQ?MxO7+(}O9^QWO7+(}O@fQWO7+(}OOQU7+(m7+(mO%4RQ?NbO7+(jO!&_Q7[O7+(jO%4]QpO7+(kOOQU7+(k7+(kO!&_Q7[O7+(kO%4dQWO'#K^O%4oQWO,5=iOOQO,5?e,5?eOOQO-E<w-E<wOOQU7+(p7+(pO%6RQ`O'#HWOOQU1G3]1G3]O!&_Q7[O1G3]O%[Q^O1G3]O%6YQWO1G3]O%6eQ7[O1G3]O9hQ?MxO1G3_O$!}QWO1G3_O9RQWO1G3_O!A}Q`O1G3_O!BVQ7[O1G3_O%6sQWO'#I{O%7XQWO,5@yO%7aQ`O,5@yOOQ?Mp1G3`1G3`OOQU7+$V7+$VO@fQWO7+$VO9hQ?MxO7+$VO%7lQWO7+$VO%[Q^O1G6hO%[Q^O1G6iO%7qQ?MxO1G6hO%7{Q^O1G3gO%8SQWO1G3gO%8XQ^O1G3gOOQU7+)P7+)PO9hQ?MxO7+)ZO`Q^O7+)]OOQU'#Kd'#KdOOQU'#JO'#JOO%8`Q^O,5>[OOQU,5>[,5>[O%[Q^O'#HqO%8mQWO'#HsOOQU,5>b,5>bO9WQWO,5>bOOQU,5>d,5>dOOQU7+)f7+)fOOQU7+)l7+)lOOQU7+)p7+)pOOQU7+)r7+)rO%8rQ`O1G5wO%9WQ07bO1G0wO%9bQWO1G0wOOQO1G/p1G/pO%9mQ07bO1G/pO>tQWO1G/pO!(oQ^O'#DjOOQO,5>{,5>{OOQO-E<_-E<_OOQO,5?R,5?ROOQO-E<e-E<eO!A}Q`O1G/pOOQO-E<a-E<aOOQ?Mv1G0Y1G0YOOQ?Mr7+%r7+%rO#&wQWO7+%rOOQ?Mr7+&]7+&]O>tQWO7+&]O!A}Q`O7+&]OOQO7+%u7+%uO$>`Q?NdO7+&UOOQO7+&U7+&UO%[Q^O7+&UO%9wQ?MxO7+&UO!ArQ?MxO7+%uO!A}Q`O7+%uO%:SQ?MxO7+&UO%:bQ?NdO7++mO%[Q^O7++mO%:rQWO7++lO%:rQWO7++lOOQO1G4o1G4oO9WQWO1G4oO%:zQWO1G4oOOQQ7+%z7+%zO#&wQWO<<K|O4UQrO<<K|O%;YQWO<<K|OOQU<<K|<<K|O!&_Q7[O<<K|O%[Q^O<<K|O%;bQWO<<K|O%;mQ?NdO,5?]O%=uQ?NdO,5?_O%?}Q?NdO1G2^O%B]Q?NdO1G2pO%DeQ?NdO1G2rO%FmQrO,5>|O%[Q^O,5>|OOQO-E<`-E<`O%FwQWO1G5xOOQ?Mr<<JR<<JRO%GPQ07bO1G0rO%IWQ07bO1G0|O%I_Q07bO1G0|O%K`Q07bO1G0|O%KgQ07bO1G0|O%MhQ07bO1G0|O& iQ07bO1G0|O& pQ07bO1G0|O& wQ07bO1G0|O&#xQ07bO1G0|O&$PQ07bO1G0|O&$WQ?NdO<<JeO&&OQ07bO1G0|O&&{Q07bO1G0|O&'{Q07bO'#JgO&*OQ07bO1G1bO&*]Q07bO1G0RO&*gQ7[O,5?POOQO-E<c-E<cO!(oQ^O'#FpOOQO'#KU'#KUOOQO1G1t1G1tO&*qQWO1G1sO&*vQ07bO,5?WOOOS7+'g7+'gOOOO1G/W1G/WOOQ?Mr1G4t1G4tO!+hQ7[O7+(`O&-WQrO'#CiO&-bQWO,5?XO9WQWO,5?XOOQO-E<k-E<kO&-pQWO1G6^O&-pQWO1G6^O&-xQWO1G6^O&.TQ7[O7+'xO&.eQpO,5?ZO&.oQWO,5?ZO!&_Q7[O,5?ZOOQO-E<m-E<mO&.tQpO1G6_O&/OQWO1G6_OOQ?Mp1G2h1G2hO$(PQWO1G2hOOQ?Mp1G2g1G2gO&/WQWO1G2iO!&_Q7[O1G2iOOQ?Mp1G2n1G2nO!A}Q`O1G2gOCcQWO1G2hO&/]QWO1G2iO&/eQWO1G2hO$!xQWO1G2iO&0XQ7[O,5?]OOQ?Mr-E<p-E<pO&0zQ7[O,5?_OOQ?Mr-E<r-E<rO!+hQ7[O7++WOOQ?Mr1G/`1G/`O&1UQWO1G/`OOQ?Mr7+'s7+'sO&1ZQ7[O7+'zO&1kQ?NdO<<KVOOQ?Mr<<KV<<KVO&2_QWO1G0wO!&_Q7[O'#IvO&2dQWO,5@tO&4fQrO<<K|O!&_Q7[O1G2lOOQU<<G{<<G{O!ArQ?MxO<<G{O&4mQ?NdO<<IxOOQ?Mr<<Ix<<IxOOQO,5?h,5?hO&5aQWO,5?hO&5fQWO,5?hOOQO-E<z-E<zO&5tQWO1G6gO&5tQWO1G6gO9^QWO1G6gO@fQWO<<LiOOQU<<Li<<LiO&5|QWO<<LiO9hQ?MxO<<LiOOQU<<LU<<LUO%4RQ?NbO<<LUOOQU<<LV<<LVO%4]QpO<<LVO&6RQ`O'#IxO&6^QWO,5@xO!(oQ^O,5@xOOQU1G3T1G3TO%+xQ^O'#JqOOQO'#Iz'#IzO9hQ?MxO'#IzO&6fQ`O,5=rOOQU,5=r,5=rO&6mQ`O'#EdO&7RQ`O'#GcO&7WQWO7+(wO&7]QWO7+(wOOQU7+(w7+(wO!&_Q7[O7+(wO%[Q^O7+(wO&7eQWO7+(wOOQU7+(y7+(yO9hQ?MxO7+(yO$!}QWO7+(yO9RQWO7+(yO!A}Q`O7+(yO&7pQWO,5?gOOQO-E<y-E<yOOQO'#HZ'#HZO&7{QWO1G6eO9hQ?MxO<<GqOOQU<<Gq<<GqO@fQWO<<GqO&8TQWO7+,SO&8YQWO7+,TO%[Q^O7+,SO%[Q^O7+,TOOQU7+)R7+)RO&8_QWO7+)RO&8dQ^O7+)RO&8kQWO7+)ROOQU<<Lu<<LuOOQU<<Lw<<LwOOQU-E<|-E<|OOQU1G3v1G3vO&8pQWO,5>]OOQU,5>_,5>_O&8uQWO1G3|O9WQWO7+&cO!(oQ^O7+&cOOQO7+%[7+%[O&8zQ07bO1G6UO>tQWO7+%[OOQ?Mr<<I^<<I^OOQ?Mr<<Iw<<IwO>tQWO<<IwOOQO<<Ip<<IpO$>`Q?NdO<<IpO%[Q^O<<IpOOQO<<Ia<<IaO!ArQ?MxO<<IaO&9UQ?MxO<<IpO&9aQ?NdO<= XO&9qQWO<= WOOQO7+*Z7+*ZO9WQWO7+*ZOOQUANAhANAhO&9yQrOANAhO!&_Q7[OANAhO#&wQWOANAhO4UQrOANAhO&:QQWOANAhO%[Q^OANAhO&:YQ?NdO7+'xO&<hQ?NdO,5?]O&>pQ?NdO,5?_O&@xQ?NdO7+'zO&CWQrO1G4hO&CbQ07bO7+&^O&EcQ07bO,5=UO&GgQ07bO,5=WO&GwQ07bO,5=UO&HXQ07bO,5=WO&HiQ07bO,59rO&JlQ07bO,5<iO&LlQ07bO,5<kO&N}Q07bO,5<yO'!pQ07bO7+'jO'!}Q07bO7+'kO'#[QWO,5<[OOQO7+'_7+'_O'#aQ7[O<<KzOOQO1G4s1G4sO'#hQWO1G4sO'#sQWO1G4sO'$RQWO7++xO'$RQWO7++xO!&_Q7[O1G4uO'$ZQpO1G4uO'$eQWO7++yOOQ?Mp7+(S7+(SO'$mQWO7+(TO'$xQpO7+(TOOQ?Mp7+(R7+(RO$(PQWO7+(SO'%PQWO7+(TO!&_Q7[O7+(TOCcQWO7+(SO'%UQWO7+(TO'%^Q7[O<<NrOOQ?Mr7+$z7+$zO'%hQpO,5?bOOQO-E<t-E<tO'%rQ?NbO7+(WOOQUAN=gAN=gO9^QWO1G5SOOQO1G5S1G5SO'&SQWO1G5SO'&XQWO7+,RO'&XQWO7+,RO9hQ?MxOANBTO@fQWOANBTOOQUANBTANBTOOQUANApANApOOQUANAqANAqO'&aQWO,5?dOOQO-E<v-E<vO'&lQ07bO1G6dOOQO,5?f,5?fOOQO-E<x-E<xOOQU1G3^1G3^O%+xQ^O,5<}O'&vQWO,5<}OOQU<<Lc<<LcO!&_Q7[O<<LcO&7WQWO<<LcO'&{QWO<<LcO%[Q^O<<LcOOQU<<Le<<LeO9hQ?MxO<<LeO$!}QWO<<LeO9RQWO<<LeO''TQ`O1G5RO''`QWO7+,POOQUAN=]AN=]O9hQ?MxOAN=]OOQU<= n<= nOOQU<= o<= oO''hQWO<= nO''mQWO<= oOOQU<<Lm<<LmO''rQWO<<LmO''wQ^O<<LmOOQU1G3w1G3wO>tQWO7+)hO'(OQWO<<I}O'(ZQ07bO<<I}OOQO<<Hv<<HvOOQ?MrAN?cAN?cOOQOAN?[AN?[O$>`Q?NdOAN?[OOQOAN>{AN>{O%[Q^OAN?[OOQO<<Mu<<MuOOQUG27SG27SO!&_Q7[OG27SO#&wQWOG27SO'(eQrOG27SO4UQrOG27SO'(lQWOG27SO'(tQ07bO<<JeO')RQ07bO1G2^O'*tQ07bO,5?]O',tQ07bO,5?_O'.tQ07bO1G2pO'0tQ07bO1G2rO'2tQ07bO<<KVO'3RQ07bO<<IxOOQO1G1v1G1vO!+hQ7[OANAfOOQO7+*_7+*_O'3`QWO7+*_O'3kQWO<= dO'3sQpO7+*aOOQ?Mp<<Ko<<KoO$(PQWO<<KoOCcQWO<<KoO'3}QWO<<KoOOQ?Mp<<Kn<<KnO'4YQpO<<KoO$(PQWO<<KnO'4aQWO<<KoO!&_Q7[O<<KoOOQO7+*n7+*nO9^QWO7+*nO'4fQWO<= mOOQUG27oG27oO9hQ?MxOG27oO!(oQ^O1G5OO'4nQWO7+,OO&7WQWOANA}OOQUANA}ANA}O!&_Q7[OANA}O'4vQWOANA}OOQUANBPANBPO9hQ?MxOANBPO$!}QWOANBPOOQO'#H['#H[OOQO7+*m7+*mOOQUG22wG22wOOQUANEYANEYOOQUANEZANEZOOQUANBXANBXO'5OQWOANBXOOQU<<MS<<MSO!(oQ^OAN?iOOQOG24vG24vO$>`Q?NdOG24vO#&wQWOLD,nOOQULD,nLD,nO!&_Q7[OLD,nO'5TQrOLD,nO'5[Q07bO7+'xO'6}Q07bO,5?]O'8}Q07bO,5?_O':}Q07bO7+'zO'<pQ7[OG27QOOQO<<My<<MyOOQ?MpANAZANAZO$(PQWOANAZOCcQWOANAZO'=QQWOANAZOOQ?MpANAYANAYO'=]QpOANAZOOQO<<NY<<NYOOQULD-ZLD-ZO'=dQ07bO7+*jOOQUG27iG27iO&7WQWOG27iO!&_Q7[OG27iOOQUG27kG27kO9hQ?MxOG27kOOQUG27sG27sO'=nQ07bOG25TOOQOLD*bLD*bOOQU!$(!Y!$(!YO#&wQWO!$(!YO!&_Q7[O!$(!YO'=xQ?NdOG27QOOQ?MpG26uG26uO$(PQWOG26uOCcQWOG26uO'@WQWOG26uOOQULD-TLD-TO&7WQWOLD-TOOQULD-VLD-VOOQU!)9Et!)9EtO#&wQWO!)9EtOOQ?MpLD,aLD,aO$(PQWOLD,aOCcQWOLD,aOOQU!$(!o!$(!oOOQU!.K;`!.K;`O'@cQ07bOG27QOOQ?Mp!$( {!$( {O$(PQWO!$( {OOQ?Mp!)9Eg!)9EgO!(oQ^O'#DwO1PQWO'#EUO'BUQrO'#JmO'B]QMnO'#DsO'BdQ^O'#D{O'BkQrO'#CiO'ERQrO'#CiO!(oQ^O'#D}O'EcQ^O,5;WO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O,5;bO!(oQ^O'#IlO'GfQWO,5<gO!(oQ^O,5;bO'GnQ7[O,5;bO'IXQ7[O,5;bO!(oQ^O,5;vO!&_Q7[O'#GjO'GnQ7[O'#GjO!&_Q7[O'#GlO'GnQ7[O'#GlO1SQWO'#DWO1SQWO'#DWO!&_Q7[O'#F}O'GnQ7[O'#F}O!&_Q7[O'#GPO'GnQ7[O'#GPO!&_Q7[O'#G_O'GnQ7[O'#G_O!(oQ^O,5:gO'I`Q`O'#D[O!(oQ^O,5@jO'EcQ^O1G0rO'IjQ07bO'#CiO!(oQ^O1G2OO!&_Q7[O'#IqO'GnQ7[O'#IqO!&_Q7[O'#IsO'GnQ7[O'#IsO'ItQpO'#CrO!&_Q7[O,5<rO'GnQ7[O,5<rO'EcQ^O1G2PO!(oQ^O7+&yO!&_Q7[O1G2^O'GnQ7[O1G2^O!&_Q7[O'#IqO'GnQ7[O'#IqO!&_Q7[O'#IsO'GnQ7[O'#IsO!&_Q7[O1G2`O'GnQ7[O1G2`O'EcQ^O7+'kO'EcQ^O7+&^O!&_Q7[OANAfO'GnQ7[OANAfO'JXQWO'#ElO'J^QWO'#ElO'JfQWO'#F[O'JkQWO'#EvO'JpQWO'#KOO'J{QWO'#J|O'KWQWO,5;WO'K]Q7[O,5<dO'KdQWO'#GWO'KiQWO'#GWO'KnQWO,5<eO'KvQWO,5;WO'LOQ07bO1G1_O'LVQWO,5<rO'L[QWO,5<rO'LaQWO,5<tO'LfQWO,5<tO'LkQWO1G2PO'LpQWO1G0rO'LuQ7[O<<KzO'L|Q7[O<<KzO7eQ7[O'#FzO9RQWO'#FyOAaQWO'#EkO!(oQ^O,5;sO!3SQWO'#GWO!3SQWO'#GWO!3SQWO'#GYO!3SQWO'#GYO!+hQ7[O7+(`O!+hQ7[O7+(`O%+SQpO1G2tO%+SQpO1G2tO!&_Q7[O,5=YO!&_Q7[O,5=Y",stateData:"'NQ~O'wOS'xOSTOS'yRQ~OPYOQYOSfOY!VOaqOdzOeyOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![XO!fuO!iZO!lYO!mYO!nYO!pvO!rwO!uxO!y]O#t!PO$V|O%e}O%g!QO%i!OO%j!OO%k!OO%n!RO%p!SO%s!TO%t!TO%v!UO&S!WO&Y!XO&[!YO&^!ZO&`![O&c!]O&i!^O&o!_O&q!`O&s!aO&u!bO&w!cO(OSO(QTO(TUO([VO(j[O(yiO~OWtO~P`OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oa!wOp!nO!P!oO!_!yO!`!vO!a!vO!y;QO#Q!pO#R!pO#S!xO#T!pO#U!pO#X!zO#Y!zO(P!lO(QTO(TUO(`!mO(j!sO~O'y!{O~OP]XR]X[]Xa]Xo]X}]X!P]X!Y]X!i]X!m]X#O]X#P]X#]]X#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X'u]X([]X(m]X(t]X(u]X~O!d%PX~P(qO_!}O(Q#PO(R!}O(S#PO~O_#QO(S#PO(T#PO(U#QO~Ou#SO!R#TO(]#TO(^#VO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(O;UO(QTO(TUO([VO(j[O(yiO~O!X#ZO!Y#WO!V(cP!V(qP~P+}O!Z#cO~P`OPYOQYOSfOd!jOe!iOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(QTO(TUO([VO(j[O(yiO~Om#mO!X#iO!y]O#f#lO#g#iO(O;VO!h(nP~P.iO!i#oO(O#nO~O!u#sO!y]O%e#tO~O#h#uO~O!d#vO#h#uO~OP$[OR#zO[$cOo$aO}#yO!P#{O!Y$_O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO#w$UO#y$WO#z$XO([VO(m$YO(t#|O(u#}O~Oa(aX'u(aX's(aX!h(aX!V(aX![(aX%f(aX!d(aX~P1qO#P$dO#]$eO$P$eOP(bXR(bX[(bXo(bX}(bX!P(bX!Y(bX!i(bX!m(bX#O(bX#k(bX#l(bX#m(bX#n(bX#o(bX#p(bX#q(bX#r(bX#s(bX#u(bX#w(bX#y(bX#z(bX([(bX(m(bX(t(bX(u(bX![(bX%f(bX~Oa(bX'u(bX's(bX!V(bX!h(bXs(bX!d(bX~P4UO#]$eO~O$[$hO$^$gO$e$mO~OSfO![$nO$h$oO$j$qO~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{%[O!P${O![$|O!f%aO!i$xO#g%bO$V%_O$r%]O$t%^O$w%`O(O$sO(QTO(TUO([$uO(t$}O(u%POg(XP~O!i%cO~O!P%fO![%gO(O%eO~O!d%kO~Oa%lO'u%lO~O}%pO~P%[O(P!lO~P%[O%k%tO~P%[Oh%VO!i%cO(O%eO(P!lO~Oe%{O!i%cO(O%eO~O#s$RO~O}&QO![%}O!i&PO%g&TO(O%eO(P!lO(QTO(TUO`)SP~O!u#sO~O%p&VO!P)OX![)OX(O)OX~O(O&WO~O!r&]O#t!PO%g!QO%i!OO%j!OO%k!OO%n!RO%p!SO%s!TO%t!TO~Od&bOe&aO!u&_O%e&`O%x&^O~P;|Od&eOeyO![&dO!r&]O!uxO!y]O#t!PO%e}O%i!OO%j!OO%k!OO%n!RO%p!SO%s!TO%t!TO%v!UO~Ob&hO#]&kO%g&fO(P!lO~P=RO!i&lO!r&pO~O!i#oO~O![XO~Oa%lO't&xO'u%lO~Oa%lO't&{O'u%lO~Oa%lO't&}O'u%lO~O's]X!V]Xs]X!h]X&W]X![]X%f]X!d]X~P(qO!_'[O!`'TO!a'TO(P!lO(QTO(TUO~Op'RO!P'QO!X'UO(`'PO!Z(dP!Z(sP~P@YOk'_O![']O(O%eO~Oe'dO!i%cO(O%eO~O}&QO!i&PO~Op!nO!P!oO!y;QO#Q!pO#R!pO#T!pO#U!pO(P!lO(QTO(TUO(`!mO(j!sO~O!_'jO!`'iO!a'iO#S!pO#X'kO#Y'kO~PAtOa%lOh%VO!d#vO!i%cO'u%lO(m'mO~O!m'qO#]'oO~PCSOp!nO!P!oO(QTO(TUO(`!mO(j!sO~O![XOp(hX!P(hX!_(hX!`(hX!a(hX!y(hX#Q(hX#R(hX#S(hX#T(hX#U(hX#X(hX#Y(hX(P(hX(Q(hX(T(hX(`(hX(j(hX~O!`'iO!a'iO(P!lO~PCrO'z'uO'{'uO'|'wO~O_!}O(Q'yO(R!}O(S'yO~O_#QO(S'yO(T'yO(U#QO~Ou#SO!R#TO(]#TO(^'}O~O!X(PO!V'SX!V'YX!Y'SX!Y'YX~P+}O!Y(RO!V(cX~OP$[OR#zO[$cOo$aO}#yO!P#{O!Y(RO!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO#w$UO#y$WO#z$XO([VO(m$YO(t#|O(u#}O~O!V(cX~PGfO!V(WO~O!V(pX!Y(pX!d(pX!h(pX(m(pX~O#](pX#h#aX!Z(pX~PIiO#](XO!V(rX!Y(rX~O!Y(YO!V(qX~O!V(]O~O#]$eO~PIiO!Z(^O~P`OR#zO}#yO!P#{O!i#xO([VOP!ka[!kao!ka!Y!ka!m!ka#O!ka#k!ka#l!ka#m!ka#n!ka#o!ka#p!ka#q!ka#r!ka#s!ka#u!ka#w!ka#y!ka#z!ka(m!ka(t!ka(u!ka~Oa!ka'u!ka's!ka!V!ka!h!kas!ka![!ka%f!ka!d!ka~PKPO!h(_O~O!d#vO#](`O(m'mO!Y(oXa(oX'u(oX~O!h(oX~PMlO!P%fO![%gO!y]O#f(eO#g(dO(O%eO~O!Y(fO!h(nX~O!h(hO~O!P%fO![%gO#g(dO(O%eO~OP(bXR(bX[(bXo(bX}(bX!P(bX!Y(bX!i(bX!m(bX#O(bX#k(bX#l(bX#m(bX#n(bX#o(bX#p(bX#q(bX#r(bX#s(bX#u(bX#w(bX#y(bX#z(bX([(bX(m(bX(t(bX(u(bX~O!d#vO!h(bX~P! YOR(jO}(iO!i#xO#P$dO!y!xa!P!xa~O!u!xa%e!xa![!xa#f!xa#g!xa(O!xa~P!#ZO!u(nO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![XO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{;nO!P${O![$|O!f=OO!i$xO#g;tO$V%_O$r;pO$t;rO$w%`O(O(rO(QTO(TUO([$uO(t$}O(u%PO~O#h(tO~O!X(vO!h(fP~P%[O(`(xO(j[O~O!P(zO!i#xO(`(xO(j[O~OP;POQ;POSfOd<zOe!iOmkOo;POpkOqkOwkOy;PO{;PO!PWO!TkO!UkO![!eO!f;SO!iZO!l;PO!m;PO!n;PO!p;TO!r;WO!u!hO$V!kO(O)XO(QTO(TUO([VO(j[O(y<xO~O!Y$_Oa$oa'u$oa's$oa!h$oa!V$oa![$oa%f$oa!d$oa~O#t)`O~P!&_Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{%[O!P${O![$|O!f%aO!i$xO#g%bO$V%_O$r%]O$t%^O$w%`O(O(rO(QTO(TUO([$uO(t$}O(u%PO~Og(kP~P!+hO})eO!d)dO![$]X$Y$]X$[$]X$^$]X$e$]X~O!d)dO![(vX$Y(vX$[(vX$^(vX$e(vX~O})eO~P!-qO})eO![(vX$Y(vX$[(vX$^(vX$e(vX~O![)gO$Y)kO$[)fO$^)fO$e)lO~O!X)oO~P!(oO$[$hO$^$gO$e)sO~Ok$xX}$xX!P$xX#P$xX(t$xX(u$xX~OgjXg$xXkjX!YjX#]jX~P!/gOu)uO(])vO(^)xO~Ok*RO})zO!P){O(t$}O(u%PO~Og)yO~P!0kOg*SO~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{;nO!P*UO![*VO!f=OO!i$xO#g;tO$V%_O$r;pO$t;rO$w%`O(QTO(TUO([$uO(t$}O(u%PO~O!X*YO(O*TO!h(zP~P!1YO#h*[O~O!i*]O~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{;nO!P${O![$|O!f=OO!i$xO#g;tO$V%_O$r;pO$t;rO$w%`O(O*_O(QTO(TUO([$uO(t$}O(u%PO~O!X*bO!V({P~P!3XOo*nO!P*fO!_*lO!`*eO!a*eO!i*]O#X*mO%]*hO(P!lO(`!mO~O!Z*kO~P!4|O#P$dOk(ZX}(ZX!P(ZX(t(ZX(u(ZX!Y(ZX#](ZX~Og(ZX#}(ZX~P!5uOk*sO#]*rOg(YX!Y(YX~O!Y*tOg(XX~O(O&WOg(XP~Op*wO~O!i*|O~O(O(rO~Om+QO!P%fO!X#iO![%gO!y]O#f#lO#g#iO(O%eO!h(nP~O!d#vO#h+RO~O!P%fO!X+TO!Y(YO![%gO(O%eO!V(qP~Op'XO!P+VO!X+UO(QTO(TUO(`(xO~O!Z(sP~P!8uO!Y+WOa)PX'u)PX~OP$[OR#zO[$cOo$aO}#yO!P#{O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO#w$UO#y$WO#z$XO([VO(m$YO(t#|O(u#}O~Oa!ga!Y!ga'u!ga's!ga!V!ga!h!gas!ga![!ga%f!ga!d!ga~P!9mOR#zO}#yO!P#{O!i#xO([VOP!oa[!oao!oa!Y!oa!m!oa#O!oa#k!oa#l!oa#m!oa#n!oa#o!oa#p!oa#q!oa#r!oa#s!oa#u!oa#w!oa#y!oa#z!oa(m!oa(t!oa(u!oa~Oa!oa'u!oa's!oa!V!oa!h!oas!oa![!oa%f!oa!d!oa~P!<TOR#zO}#yO!P#{O!i#xO([VOP!qa[!qao!qa!Y!qa!m!qa#O!qa#k!qa#l!qa#m!qa#n!qa#o!qa#p!qa#q!qa#r!qa#s!qa#u!qa#w!qa#y!qa#z!qa(m!qa(t!qa(u!qa~Oa!qa'u!qa's!qa!V!qa!h!qas!qa![!qa%f!qa!d!qa~P!>kOh%VOk+aO![']O%f+`O~O!d+cOa(WX![(WX'u(WX!Y(WX~Oa%lO![XO'u%lO~Oh%VO!i%cO~Oh%VO!i%cO(O%eO~O!d#vO#h(tO~Ob+nO%g+oO(O+kO(QTO(TUO!Z)TP~O!Y+pO`)SX~O[+tO~O`+uO~O![%}O(O%eO(P!lO`)SP~Oh%VO#]+zO~Oh%VOk+}O![$|O~O![,PO~O},RO![XO~O%k%tO~O!u,WO~Oe,]O~Ob,^O(O#nO(QTO(TUO!Z)RP~Oe%{O~O%g!QO(O&WO~P=RO[,cO`,bO~OPYOQYOSfOdzOeyOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO!fuO!iZO!lYO!mYO!nYO!pvO!uxO!y]O%e}O(QTO(TUO([VO(j[O(yiO~O![!eO!r!gO$V!kO(O!dO~P!EkO`,bOa%lO'u%lO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oa,hO!rwO#t!OO%i!OO%j!OO%k!OO~P!HTO!i&lO~O&Y,nO~O![,pO~O&k,rO&m,sOP&haQ&haS&haY&haa&had&hae&ham&hao&hap&haq&haw&hay&ha{&ha!P&ha!T&ha!U&ha![&ha!f&ha!i&ha!l&ha!m&ha!n&ha!p&ha!r&ha!u&ha!y&ha#t&ha$V&ha%e&ha%g&ha%i&ha%j&ha%k&ha%n&ha%p&ha%s&ha%t&ha%v&ha&S&ha&Y&ha&[&ha&^&ha&`&ha&c&ha&i&ha&o&ha&q&ha&s&ha&u&ha&w&ha's&ha(O&ha(Q&ha(T&ha([&ha(j&ha(y&ha!Z&ha&a&hab&ha&f&ha~O(O,xO~Oh!bX!Y!OX!Z!OX!d!OX!d!bX!i!bX#]!OX~O!Y!bX!Z!bX~P# ZO!d,}O#],|Oh(eX!Y#eX!Y(eX!Z#eX!Z(eX!d(eX!i(eX~Oh%VO!d-PO!i%cO!Y!^X!Z!^X~Op!nO!P!oO(QTO(TUO(`!mO~OP;POQ;POSfOd<zOe!iOmkOo;POpkOqkOwkOy;PO{;PO!PWO!TkO!UkO![!eO!f;SO!iZO!l;PO!m;PO!n;PO!p;TO!r;WO!u!hO$V!kO(QTO(TUO([VO(j[O(y<xO~O(O;zO~P##_O!Y-TO!Z(dX~O!Z-VO~O!d,}O#],|O!Y#eX!Z#eX~O!Y-WO!Z(sX~O!Z-YO~O!`-ZO!a-ZO(P!lO~P#!|O!Z-^O~P'_Ok-aO![']O~O!V-fO~Op!xa!_!xa!`!xa!a!xa#Q!xa#R!xa#S!xa#T!xa#U!xa#X!xa#Y!xa(P!xa(Q!xa(T!xa(`!xa(j!xa~P!#ZO!m-kO#]-iO~PCSO!`-mO!a-mO(P!lO~PCrOa%lO#]-iO'u%lO~Oa%lO!d#vO#]-iO'u%lO~Oa%lO!d#vO!m-kO#]-iO'u%lO(m'mO~O'z'uO'{'uO'|-rO~Os-sO~O!V'Sa!Y'Sa~P!9mO!X-wO!V'SX!Y'SX~P%[O!Y(RO!V(ca~O!V(ca~PGfO!Y(YO!V(qa~O!P%fO!X-{O![%gO(O%eO!V'YX!Y'YX~O#]-}O!Y(oa!h(oaa(oa'u(oa~O!d#vO~P#+eO!Y(fO!h(na~O!P%fO![%gO#g.RO(O%eO~Om.WO!P%fO!X.TO![%gO!y]O#f.VO#g.TO(O%eO!Y']X!h']X~OR.[O!i#xO~Oh%VOk._O![']O%f.^O~Oa#`i!Y#`i'u#`i's#`i!V#`i!h#`is#`i![#`i%f#`i!d#`i~P!9mOk=UO})zO!P){O(t$}O(u%PO~O#h#[aa#[a#]#[a'u#[a!Y#[a!h#[a![#[a!V#[a~P#.aO#h(ZXP(ZXR(ZX[(ZXa(ZXo(ZX!i(ZX!m(ZX#O(ZX#k(ZX#l(ZX#m(ZX#n(ZX#o(ZX#p(ZX#q(ZX#r(ZX#s(ZX#u(ZX#w(ZX#y(ZX#z(ZX'u(ZX([(ZX(m(ZX!h(ZX!V(ZX's(ZXs(ZX![(ZX%f(ZX!d(ZX~P!5uO!Y.lO!h(fX~P!9mO!h.oO~O!V.qO~OP$[OR#zO}#yO!P#{O!i#xO!m$[O([VO[#jia#jio#ji!Y#ji#O#ji#l#ji#m#ji#n#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji'u#ji(m#ji(t#ji(u#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#k#ji~P#1|O#k$OO~P#1|OP$[OR#zOo$aO}#yO!P#{O!i#xO!m$[O#k$OO#l$PO#m$PO#n$PO([VO[#jia#ji!Y#ji#O#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji'u#ji(m#ji(t#ji(u#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#o#ji~P#4kO#o$QO~P#4kOP$[OR#zO[$cOo$aO}#yO!P#{O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO([VOa#ji!Y#ji#w#ji#y#ji#z#ji'u#ji(m#ji(t#ji(u#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#u#ji~P#7YOP$[OR#zO[$cOo$aO}#yO!P#{O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO([VO(u#}Oa#ji!Y#ji#y#ji#z#ji'u#ji(m#ji(t#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#w$UO~P#9pO#w#ji~P#9pO#u$SO~P#7YOP$[OR#zO[$cOo$aO}#yO!P#{O!i#xO!m$[O#O$RO#k$OO#l$PO#m$PO#n$PO#o$QO#p$RO#q$RO#r$bO#s$RO#u$SO#w$UO([VO(t#|O(u#}Oa#ji!Y#ji#z#ji'u#ji(m#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~O#y#ji~P#<fO#y$WO~P#<fOP]XR]X[]Xo]X}]X!P]X!i]X!m]X#O]X#P]X#]]X#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X([]X(m]X(t]X(u]X!Y]X!Z]X~O#}]X~P#?TOP$[OR#zO[;hOo;fO}#yO!P#{O!i#xO!m$[O#O;]O#k;YO#l;ZO#m;ZO#n;ZO#o;[O#p;]O#q;]O#r;gO#s;]O#u;^O#w;`O#y;bO#z;cO([VO(m$YO(t#|O(u#}O~O#}.sO~P#AbO#P$dO#];iO$P;iO#}(bX!Z(bX~P! YOa'`a!Y'`a'u'`a's'`a!h'`a!V'`as'`a!['`a%f'`a!d'`a~P!9mO[#jia#jio#ji!Y#ji#O#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji'u#ji(m#ji's#ji!V#ji!h#jis#ji![#ji%f#ji!d#ji~OP$[OR#zO}#yO!P#{O!i#xO!m$[O#k$OO#l$PO#m$PO#n$PO([VO(t#ji(u#ji~P#DdOk=UO})zO!P){O(t$}O(u%POP#jiR#ji!i#ji!m#ji#k#ji#l#ji#m#ji#n#ji([#ji~P#DdO!Y.wOg(kX~P!0kOg.yO~Oa$Oi!Y$Oi'u$Oi's$Oi!V$Oi!h$Ois$Oi![$Oi%f$Oi!d$Oi~P!9mO$[.zO$^.zO~O$[.{O$^.{O~O!d)dO#].|O![$bX$Y$bX$[$bX$^$bX$e$bX~O!X.}O~O![)gO$Y/PO$[)fO$^)fO$e/QO~O!Y;dO!Z(aX~P#AbO!Z/RO~O!d)dO$e(vX~O$e/TO~Ou)uO(])vO(^/WO~O!V/[O~P!&_O(t$}Ok%^a}%^a!P%^a(u%^a!Y%^a#]%^a~Og%^a#}%^a~P#K^O(u%POk%`a}%`a!P%`a(t%`a!Y%`a#]%`a~Og%`a#}%`a~P#LPO!YfX!dfX!hfX!h$xX(mfX~P!/gO!X/eO!Y(YO(O/dO!V(qP!V({P~P!1YOo*nO!_*lO!`*eO!a*eO!i*]O#X*mO%]*hO(P!lO~Op'XO!P/fO!X+UO!Z*kO(QTO(TUO(`;wO!Z(sP~P#MjO!h/gO~P#.aO!Y/hO!d#vO(m'mO!h(zX~O!h/mO~O!P%fO!X*YO![%gO(O%eO!h(zP~O#h/oO~O!V$xX!Y$xX!d%PX~P!/gO!Y/pO!V({X~P#.aO!d/rO~O!V/tO~Oh%VOo/xO!d#vO!i%cO(m'mO~O(O/zO~O!d+cO~Oa%lO!Y0OO'u%lO~O!Z0QO~P!4|O!`0RO!a0RO(P!lO(`!mO~O!P0TO(`!mO~O#X0UO~Og%^a!Y%^a#]%^a#}%^a~P!0kOg%`a!Y%`a#]%`a#}%`a~P!0kO(O&WOg'iX!Y'iX~O!Y*tOg(Xa~Og0_O~OR0`O}0`O!P0aO#P$dOkza(tza(uza!Yza#]za~Ogza#}za~P$%]O})zO!P){Ok$qa(t$qa(u$qa!Y$qa#]$qa~Og$qa#}$qa~P$&UO})zO!P){Ok$sa(t$sa(u$sa!Y$sa#]$sa~Og$sa#}$sa~P$&wO#h0dO~Og%Ra!Y%Ra#]%Ra#}%Ra~P!0kO!d#vO~O#h0gO~O!Y+WOa)Pa'u)Pa~OR#zO}#yO!P#{O!i#xO([VOP!oi[!oio!oi!Y!oi!m!oi#O!oi#k!oi#l!oi#m!oi#n!oi#o!oi#p!oi#q!oi#r!oi#s!oi#u!oi#w!oi#y!oi#z!oi(m!oi(t!oi(u!oi~Oa!oi'u!oi's!oi!V!oi!h!ois!oi![!oi%f!oi!d!oi~P$(fOh%VOo%XOp$tOq$tOw%YOy%ZO{;nO!P${O![$|O!f=OO!i$xO#g;tO$V%_O$r;pO$t;rO$w%`O(QTO(TUO([$uO(t$}O(u%PO~Om0pO(O0oO~P$*|O!d+cOa(Wa![(Wa'u(Wa!Y(Wa~O#h0vO~O[]X!YfX!ZfX~O!Y0wO!Z)TX~O!Z0yO~O[0zO~Ob0|O(O+kO(QTO(TUO~O![%}O(O%eO`'qX!Y'qX~O!Y+pO`)Sa~O!h1PO~P!9mO[1SO~O`1TO~O#]1WO~Ok1ZO![$|O~O(`(xO!Z)QP~Oh%VOk1dO![1aO%f1cO~O[1nO!Y1lO!Z)RX~O!Z1oO~O`1qOa%lO'u%lO~O(O#nO(QTO(TUO~O#P$dO#]$eO$P$eOP(bXR(bX[(bXo(bX}(bX!P(bX!Y(bX!i(bX!m(bX#O(bX#k(bX#l(bX#m(bX#n(bX#o(bX#p(bX#q(bX#r(bX#u(bX#w(bX#y(bX#z(bX([(bX(m(bX(t(bX(u(bX~O#s1tO&W1uOa(bX~P$0dO#]$eO#s1tO&W1uO~Oa1wO~P%[Oa1yO~O&a1|OP&_iQ&_iS&_iY&_ia&_id&_ie&_im&_io&_ip&_iq&_iw&_iy&_i{&_i!P&_i!T&_i!U&_i![&_i!f&_i!i&_i!l&_i!m&_i!n&_i!p&_i!r&_i!u&_i!y&_i#t&_i$V&_i%e&_i%g&_i%i&_i%j&_i%k&_i%n&_i%p&_i%s&_i%t&_i%v&_i&S&_i&Y&_i&[&_i&^&_i&`&_i&c&_i&i&_i&o&_i&q&_i&s&_i&u&_i&w&_i's&_i(O&_i(Q&_i(T&_i([&_i(j&_i(y&_i!Z&_ib&_i&f&_i~Ob2SO!Z2QO&f2RO~P`O![XO!i2UO~O&m,sOP&hiQ&hiS&hiY&hia&hid&hie&him&hio&hip&hiq&hiw&hiy&hi{&hi!P&hi!T&hi!U&hi![&hi!f&hi!i&hi!l&hi!m&hi!n&hi!p&hi!r&hi!u&hi!y&hi#t&hi$V&hi%e&hi%g&hi%i&hi%j&hi%k&hi%n&hi%p&hi%s&hi%t&hi%v&hi&S&hi&Y&hi&[&hi&^&hi&`&hi&c&hi&i&hi&o&hi&q&hi&s&hi&u&hi&w&hi's&hi(O&hi(Q&hi(T&hi([&hi(j&hi(y&hi!Z&hi&a&hib&hi&f&hi~O!V2[O~O!Y!^a!Z!^a~P#AbOp!nO!P!oO!X2bO(`!mO!Y'TX!Z'TX~P@YO!Y-TO!Z(da~O!Y'ZX!Z'ZX~P!8uO!Y-WO!Z(sa~O!Z2iO~P'_Oa%lO#]2rO'u%lO~Oa%lO!d#vO#]2rO'u%lO~Oa%lO!d#vO!m2vO#]2rO'u%lO(m'mO~Oa%lO'u%lO~P!9mO!Y$_Os$oa~O!V'Si!Y'Si~P!9mO!Y(RO!V(ci~O!Y(YO!V(qi~O!V(ri!Y(ri~P!9mO!Y(oi!h(oia(oi'u(oi~P!9mO#]2xO!Y(oi!h(oia(oi'u(oi~O!Y(fO!h(ni~O!P%fO![%gO!y]O#f2}O#g2|O(O%eO~O!P%fO![%gO#g2|O(O%eO~Ok3UO![']O%f3TO~Oh%VOk3UO![']O%f3TO~O#h%^aP%^aR%^a[%^aa%^ao%^a!i%^a!m%^a#O%^a#k%^a#l%^a#m%^a#n%^a#o%^a#p%^a#q%^a#r%^a#s%^a#u%^a#w%^a#y%^a#z%^a'u%^a([%^a(m%^a!h%^a!V%^a's%^as%^a![%^a%f%^a!d%^a~P#K^O#h%`aP%`aR%`a[%`aa%`ao%`a!i%`a!m%`a#O%`a#k%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#u%`a#w%`a#y%`a#z%`a'u%`a([%`a(m%`a!h%`a!V%`a's%`as%`a![%`a%f%`a!d%`a~P#LPO#h%^aP%^aR%^a[%^aa%^ao%^a!Y%^a!i%^a!m%^a#O%^a#k%^a#l%^a#m%^a#n%^a#o%^a#p%^a#q%^a#r%^a#s%^a#u%^a#w%^a#y%^a#z%^a'u%^a([%^a(m%^a!h%^a!V%^a's%^a#]%^as%^a![%^a%f%^a!d%^a~P#.aO#h%`aP%`aR%`a[%`aa%`ao%`a!Y%`a!i%`a!m%`a#O%`a#k%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#u%`a#w%`a#y%`a#z%`a'u%`a([%`a(m%`a!h%`a!V%`a's%`a#]%`as%`a![%`a%f%`a!d%`a~P#.aO#hzaPza[zaazaoza!iza!mza#Oza#kza#lza#mza#nza#oza#pza#qza#rza#sza#uza#wza#yza#zza'uza([za(mza!hza!Vza'szasza![za%fza!dza~P$%]O#h$qaP$qaR$qa[$qaa$qao$qa!i$qa!m$qa#O$qa#k$qa#l$qa#m$qa#n$qa#o$qa#p$qa#q$qa#r$qa#s$qa#u$qa#w$qa#y$qa#z$qa'u$qa([$qa(m$qa!h$qa!V$qa's$qas$qa![$qa%f$qa!d$qa~P$&UO#h$saP$saR$sa[$saa$sao$sa!i$sa!m$sa#O$sa#k$sa#l$sa#m$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#u$sa#w$sa#y$sa#z$sa'u$sa([$sa(m$sa!h$sa!V$sa's$sas$sa![$sa%f$sa!d$sa~P$&wO#h%RaP%RaR%Ra[%Raa%Rao%Ra!Y%Ra!i%Ra!m%Ra#O%Ra#k%Ra#l%Ra#m%Ra#n%Ra#o%Ra#p%Ra#q%Ra#r%Ra#s%Ra#u%Ra#w%Ra#y%Ra#z%Ra'u%Ra([%Ra(m%Ra!h%Ra!V%Ra's%Ra#]%Ras%Ra![%Ra%f%Ra!d%Ra~P#.aOa#`q!Y#`q'u#`q's#`q!V#`q!h#`qs#`q![#`q%f#`q!d#`q~P!9mO!X3^O!Y'UX!h'UX~P%[O!Y.lO!h(fa~O!Y.lO!h(fa~P!9mO!V3aO~O#}!ka!Z!ka~PKPO#}!ga!Y!ga!Z!ga~P#AbO#}!oa!Z!oa~P!<TO#}!qa!Z!qa~P!>kOg'XX!Y'XX~P!+hO!Y.wOg(ka~OSfO![3uO$c3vO~O!Z3zO~Os3{O~P#.aOa$lq!Y$lq'u$lq's$lq!V$lq!h$lqs$lq![$lq%f$lq!d$lq~P!9mO!V3|O~P#.aO})zO!P){O(u%POk'ea(t'ea!Y'ea#]'ea~Og'ea#}'ea~P%)nO})zO!P){Ok'ga(t'ga(u'ga!Y'ga#]'ga~Og'ga#}'ga~P%*aO(m$YO~P#.aO!VfX!V$xX!YfX!Y$xX!d%PX#]fX~P!/gO(O<QO~P!1YOmkO(O4OO~P.iO!P%fO!X4QO![%gO(O%eO!Y'aX!h'aX~O!Y/hO!h(za~O!Y/hO!d#vO!h(za~O!Y/hO!d#vO(m'mO!h(za~Og$zi!Y$zi#]$zi#}$zi~P!0kO!X4YO!V'cX!Y'cX~P!3XO!Y/pO!V({a~O!Y/pO!V({a~P#.aO!d#vO#s4bO~Oo4eO!d#vO(m'mO~O!P4hO(`!mO~O(t$}Ok%^i}%^i!P%^i(u%^i!Y%^i#]%^i~Og%^i#}%^i~P%.wO(u%POk%`i}%`i!P%`i(t%`i!Y%`i#]%`i~Og%`i#}%`i~P%/jOg(Yi!Y(Yi~P!0kO#]4mOg(Yi!Y(Yi~P!0kO!h4pO~Oa$mq!Y$mq'u$mq's$mq!V$mq!h$mqs$mq![$mq%f$mq!d$mq~P!9mO!V4tO~O!Y4uO![(|X~P#.aOa$xX![$xX%Z]X'u$xX!Y$xX~P!/gO%Z4xOalXklX}lX!PlX![lX'ulX(tlX(ulX!YlX~O%Z4xO~Ob5OO%g5PO(O+kO(QTO(TUO!Y'pX!Z'pX~O!Y0wO!Z)Ta~O[5TO~O`5UO~Oa%lO'u%lO~P#.aO![$|O~P#.aO!Y5^O#]5`O!Z)QX~O!Z5aO~Oo5hOp!nO!P5bO!_!yO!`!vO!a!vO!y;QO#Q!pO#R!pO#S!pO#T!pO#U!pO#X5gO#Y!zO(P!lO(QTO(TUO(`!mO(j!sO~O!Z5fO~P%4tOk5mO![1aO%f5lO~Oh%VOk5mO![1aO%f5lO~Ob5tO(O#nO(QTO(TUO!Y'oX!Z'oX~O!Y1lO!Z)Ra~O(QTO(TUO(`5vO~O`5zO~O#s5}O&W6OO~PMlO!h6PO~P%[Oa6RO~Oa6RO~P%[Ob2SO!Z6WO&f2RO~P`O!d6YO~O!d6[Oh(ei!Y(ei!Z(ei!d(ei!i(ei~O!Y#ei!Z#ei~P#AbO#]6]O!Y#ei!Z#ei~O!Y!^i!Z!^i~P#AbOa%lO#]6fO'u%lO~Oa%lO!d#vO#]6fO'u%lO~O!Y(oq!h(oqa(oq'u(oq~P!9mO!Y(fO!h(nq~O!P%fO![%gO#g6mO(O%eO~O![']O%f6pO~Ok6tO![']O%f6pO~O#h'eaP'eaR'ea['eaa'eao'ea!i'ea!m'ea#O'ea#k'ea#l'ea#m'ea#n'ea#o'ea#p'ea#q'ea#r'ea#s'ea#u'ea#w'ea#y'ea#z'ea'u'ea(['ea(m'ea!h'ea!V'ea's'eas'ea!['ea%f'ea!d'ea~P%)nO#h'gaP'gaR'ga['gaa'gao'ga!i'ga!m'ga#O'ga#k'ga#l'ga#m'ga#n'ga#o'ga#p'ga#q'ga#r'ga#s'ga#u'ga#w'ga#y'ga#z'ga'u'ga(['ga(m'ga!h'ga!V'ga's'gas'ga!['ga%f'ga!d'ga~P%*aO#h$ziP$ziR$zi[$zia$zio$zi!Y$zi!i$zi!m$zi#O$zi#k$zi#l$zi#m$zi#n$zi#o$zi#p$zi#q$zi#r$zi#s$zi#u$zi#w$zi#y$zi#z$zi'u$zi([$zi(m$zi!h$zi!V$zi's$zi#]$zis$zi![$zi%f$zi!d$zi~P#.aO#h%^iP%^iR%^i[%^ia%^io%^i!i%^i!m%^i#O%^i#k%^i#l%^i#m%^i#n%^i#o%^i#p%^i#q%^i#r%^i#s%^i#u%^i#w%^i#y%^i#z%^i'u%^i([%^i(m%^i!h%^i!V%^i's%^is%^i![%^i%f%^i!d%^i~P%.wO#h%`iP%`iR%`i[%`ia%`io%`i!i%`i!m%`i#O%`i#k%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#u%`i#w%`i#y%`i#z%`i'u%`i([%`i(m%`i!h%`i!V%`i's%`is%`i![%`i%f%`i!d%`i~P%/jO!Y'Ua!h'Ua~P!9mO!Y.lO!h(fi~O#}#`i!Y#`i!Z#`i~P#AbOP$[OR#zO}#yO!P#{O!i#xO!m$[O([VO[#jio#ji#O#ji#l#ji#m#ji#n#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji#}#ji(m#ji(t#ji(u#ji!Y#ji!Z#ji~O#k#ji~P%G^O#k;YO~P%G^OP$[OR#zOo;fO}#yO!P#{O!i#xO!m$[O#k;YO#l;ZO#m;ZO#n;ZO([VO[#ji#O#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji#}#ji(m#ji(t#ji(u#ji!Y#ji!Z#ji~O#o#ji~P%IfO#o;[O~P%IfOP$[OR#zO[;hOo;fO}#yO!P#{O!i#xO!m$[O#O;]O#k;YO#l;ZO#m;ZO#n;ZO#o;[O#p;]O#q;]O#r;gO#s;]O([VO#w#ji#y#ji#z#ji#}#ji(m#ji(t#ji(u#ji!Y#ji!Z#ji~O#u#ji~P%KnOP$[OR#zO[;hOo;fO}#yO!P#{O!i#xO!m$[O#O;]O#k;YO#l;ZO#m;ZO#n;ZO#o;[O#p;]O#q;]O#r;gO#s;]O#u;^O([VO(u#}O#y#ji#z#ji#}#ji(m#ji(t#ji!Y#ji!Z#ji~O#w;`O~P%MoO#w#ji~P%MoO#u;^O~P%KnOP$[OR#zO[;hOo;fO}#yO!P#{O!i#xO!m$[O#O;]O#k;YO#l;ZO#m;ZO#n;ZO#o;[O#p;]O#q;]O#r;gO#s;]O#u;^O#w;`O([VO(t#|O(u#}O#z#ji#}#ji(m#ji!Y#ji!Z#ji~O#y#ji~P&!OO#y;bO~P&!OOa#{y!Y#{y'u#{y's#{y!V#{y!h#{ys#{y![#{y%f#{y!d#{y~P!9mO[#jio#ji#O#ji#o#ji#p#ji#q#ji#r#ji#s#ji#u#ji#w#ji#y#ji#z#ji#}#ji(m#ji!Y#ji!Z#ji~OP$[OR#zO}#yO!P#{O!i#xO!m$[O#k;YO#l;ZO#m;ZO#n;ZO([VO(t#ji(u#ji~P&$zOk=VO})zO!P){O(t$}O(u%POP#jiR#ji!i#ji!m#ji#k#ji#l#ji#m#ji#n#ji([#ji~P&$zO#P$dOP(ZXR(ZX[(ZXk(ZXo(ZX}(ZX!P(ZX!i(ZX!m(ZX#O(ZX#k(ZX#l(ZX#m(ZX#n(ZX#o(ZX#p(ZX#q(ZX#r(ZX#s(ZX#u(ZX#w(ZX#y(ZX#z(ZX#}(ZX([(ZX(m(ZX(t(ZX(u(ZX!Y(ZX!Z(ZX~O#}$Oi!Y$Oi!Z$Oi~P#AbO#}!oi!Z!oi~P$(fOg'Xa!Y'Xa~P!0kO!Z7WO~O!Y'`a!Z'`a~P#AbOP]XR]X[]Xo]X}]X!P]X!V]X!Y]X!i]X!m]X#O]X#P]X#]]X#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X([]X(m]X(t]X(u]X~O!d%WX#s%WX~P&+QO!d#vO(m'mO!Y'aa!h'aa~O!Y/hO!h(zi~O!Y/hO!d#vO!h(zi~Og$zq!Y$zq#]$zq#}$zq~P!0kO!V'ca!Y'ca~P#.aO!d7_O~O!Y/pO!V({i~P#.aO!Y/pO!V({i~O!V7cO~O!d#vO#s7hO~Oo7iO!d#vO(m'mO~O})zO!P){O(u%POk'fa(t'fa!Y'fa#]'fa~Og'fa#}'fa~P&/pO})zO!P){Ok'ha(t'ha(u'ha!Y'ha#]'ha~Og'ha#}'ha~P&0cO!V7lO~Og$|q!Y$|q#]$|q#}$|q~P!0kOa$my!Y$my'u$my's$my!V$my!h$mys$my![$my%f$my!d$my~P!9mO!d6[O~O!Y4uO![(|a~O![']OP$SaR$Sa[$Sao$Sa}$Sa!P$Sa!Y$Sa!i$Sa!m$Sa#O$Sa#k$Sa#l$Sa#m$Sa#n$Sa#o$Sa#p$Sa#q$Sa#r$Sa#s$Sa#u$Sa#w$Sa#y$Sa#z$Sa([$Sa(m$Sa(t$Sa(u$Sa~O%f6pO~P&2lOa#`y!Y#`y'u#`y's#`y!V#`y!h#`ys#`y![#`y%f#`y!d#`y~P!9mO[7qO~Ob7sO(O+kO(QTO(TUO~O!Y0wO!Z)Ti~O`7wO~O(`(xO!Y'lX!Z'lX~O!Y5^O!Z)Qa~O!Z8QO~P%4tOp!nO!P8RO(QTO(TUO(`!mO(j!sO~O#X8SO~O![1aO~O![1aO%f8UO~Ok8XO![1aO%f8UO~O[8^O!Y'oa!Z'oa~O!Y1lO!Z)Ri~O!h8bO~O!h8cO~O!h8fO~O!h8fO~P%[Oa8hO~O!d8iO~O!h8jO~O!Y(ri!Z(ri~P#AbOa%lO#]8rO'u%lO~O!Y(oy!h(oya(oy'u(oy~P!9mO!Y(fO!h(ny~O%f8uO~P&2lO![']O%f8uO~O#h$zqP$zqR$zq[$zqa$zqo$zq!Y$zq!i$zq!m$zq#O$zq#k$zq#l$zq#m$zq#n$zq#o$zq#p$zq#q$zq#r$zq#s$zq#u$zq#w$zq#y$zq#z$zq'u$zq([$zq(m$zq!h$zq!V$zq's$zq#]$zqs$zq![$zq%f$zq!d$zq~P#.aO#h'faP'faR'fa['faa'fao'fa!i'fa!m'fa#O'fa#k'fa#l'fa#m'fa#n'fa#o'fa#p'fa#q'fa#r'fa#s'fa#u'fa#w'fa#y'fa#z'fa'u'fa(['fa(m'fa!h'fa!V'fa's'fas'fa!['fa%f'fa!d'fa~P&/pO#h'haP'haR'ha['haa'hao'ha!i'ha!m'ha#O'ha#k'ha#l'ha#m'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#u'ha#w'ha#y'ha#z'ha'u'ha(['ha(m'ha!h'ha!V'ha's'has'ha!['ha%f'ha!d'ha~P&0cO#h$|qP$|qR$|q[$|qa$|qo$|q!Y$|q!i$|q!m$|q#O$|q#k$|q#l$|q#m$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#u$|q#w$|q#y$|q#z$|q'u$|q([$|q(m$|q!h$|q!V$|q's$|q#]$|qs$|q![$|q%f$|q!d$|q~P#.aO!Y'Ui!h'Ui~P!9mO#}#`q!Y#`q!Z#`q~P#AbO(t$}OP%^aR%^a[%^ao%^a!i%^a!m%^a#O%^a#k%^a#l%^a#m%^a#n%^a#o%^a#p%^a#q%^a#r%^a#s%^a#u%^a#w%^a#y%^a#z%^a#}%^a([%^a(m%^a!Y%^a!Z%^a~Ok%^a}%^a!P%^a(u%^a~P&CoO(u%POP%`aR%`a[%`ao%`a!i%`a!m%`a#O%`a#k%`a#l%`a#m%`a#n%`a#o%`a#p%`a#q%`a#r%`a#s%`a#u%`a#w%`a#y%`a#z%`a#}%`a([%`a(m%`a!Y%`a!Z%`a~Ok%`a}%`a!P%`a(t%`a~P&EsOk=VO})zO!P){O(u%PO~P&CoOk=VO})zO!P){O(t$}O~P&EsOR0`O}0`O!P0aO#P$dOPza[zakzaoza!iza!mza#Oza#kza#lza#mza#nza#oza#pza#qza#rza#sza#uza#wza#yza#zza#}za([za(mza(tza(uza!Yza!Zza~O})zO!P){OP$qaR$qa[$qak$qao$qa!i$qa!m$qa#O$qa#k$qa#l$qa#m$qa#n$qa#o$qa#p$qa#q$qa#r$qa#s$qa#u$qa#w$qa#y$qa#z$qa#}$qa([$qa(m$qa(t$qa(u$qa!Y$qa!Z$qa~O})zO!P){OP$saR$sa[$sak$sao$sa!i$sa!m$sa#O$sa#k$sa#l$sa#m$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#u$sa#w$sa#y$sa#z$sa#}$sa([$sa(m$sa(t$sa(u$sa!Y$sa!Z$sa~Ok=VO})zO!P){O(t$}O(u%PO~OP%RaR%Ra[%Rao%Ra!i%Ra!m%Ra#O%Ra#k%Ra#l%Ra#m%Ra#n%Ra#o%Ra#p%Ra#q%Ra#r%Ra#s%Ra#u%Ra#w%Ra#y%Ra#z%Ra#}%Ra([%Ra(m%Ra!Y%Ra!Z%Ra~P&NlO#}$lq!Y$lq!Z$lq~P#AbO#}$mq!Y$mq!Z$mq~P#AbO!Z9SO~O#}9TO~P!0kO!d#vO!Y'ai!h'ai~O!d#vO(m'mO!Y'ai!h'ai~O!Y/hO!h(zq~O!V'ci!Y'ci~P#.aO!Y/pO!V({q~Oo9[O!d#vO(m'mO~O!V9]O~P#.aO!V9]O~O!d#vO#s9bO~Og(Yy!Y(Yy~P!0kO!Y'ja!['ja~P#.aOa%Yq![%Yq'u%Yq!Y%Yq~P#.aO[9dO~O!Y0wO!Z)Tq~O#]9hO!Y'la!Z'la~O!Y5^O!Z)Qi~P#AbO!P4hO~O![1aO%f9lO~O(QTO(TUO(`9qO~O!Y1lO!Z)Rq~O!h9tO~O!h9uO~O!h9vO~O!h9vO~P%[O#]9yO!Y#ey!Z#ey~O!Y#ey!Z#ey~P#AbO%f:OO~P&2lO![']O%f:OO~O#}#{y!Y#{y!Z#{y~P#AbOP$ziR$zi[$zio$zi!i$zi!m$zi#O$zi#k$zi#l$zi#m$zi#n$zi#o$zi#p$zi#q$zi#r$zi#s$zi#u$zi#w$zi#y$zi#z$zi#}$zi([$zi(m$zi!Y$zi!Z$zi~P&NlO})zO!P){O(u%POP'eaR'ea['eak'eao'ea!i'ea!m'ea#O'ea#k'ea#l'ea#m'ea#n'ea#o'ea#p'ea#q'ea#r'ea#s'ea#u'ea#w'ea#y'ea#z'ea#}'ea(['ea(m'ea(t'ea!Y'ea!Z'ea~O})zO!P){OP'gaR'ga['gak'gao'ga!i'ga!m'ga#O'ga#k'ga#l'ga#m'ga#n'ga#o'ga#p'ga#q'ga#r'ga#s'ga#u'ga#w'ga#y'ga#z'ga#}'ga(['ga(m'ga(t'ga(u'ga!Y'ga!Z'ga~O(t$}OP%^iR%^i[%^ik%^io%^i}%^i!P%^i!i%^i!m%^i#O%^i#k%^i#l%^i#m%^i#n%^i#o%^i#p%^i#q%^i#r%^i#s%^i#u%^i#w%^i#y%^i#z%^i#}%^i([%^i(m%^i(u%^i!Y%^i!Z%^i~O(u%POP%`iR%`i[%`ik%`io%`i}%`i!P%`i!i%`i!m%`i#O%`i#k%`i#l%`i#m%`i#n%`i#o%`i#p%`i#q%`i#r%`i#s%`i#u%`i#w%`i#y%`i#z%`i#}%`i([%`i(m%`i(t%`i!Y%`i!Z%`i~O#}$my!Y$my!Z$my~P#AbO#}#`y!Y#`y!Z#`y~P#AbO!d#vO!Y'aq!h'aq~O!Y/hO!h(zy~O!V'cq!Y'cq~P#.aOo:YO!d#vO(m'mO~O!V:ZO~P#.aO!V:ZO~O!Y0wO!Z)Ty~O!Y5^O!Z)Qq~O![1aO%f:cO~O!h:fO~O%f:kO~P&2lOP$zqR$zq[$zqo$zq!i$zq!m$zq#O$zq#k$zq#l$zq#m$zq#n$zq#o$zq#p$zq#q$zq#r$zq#s$zq#u$zq#w$zq#y$zq#z$zq#}$zq([$zq(m$zq!Y$zq!Z$zq~P&NlO})zO!P){O(u%POP'faR'fa['fak'fao'fa!i'fa!m'fa#O'fa#k'fa#l'fa#m'fa#n'fa#o'fa#p'fa#q'fa#r'fa#s'fa#u'fa#w'fa#y'fa#z'fa#}'fa(['fa(m'fa(t'fa!Y'fa!Z'fa~O})zO!P){OP'haR'ha['hak'hao'ha!i'ha!m'ha#O'ha#k'ha#l'ha#m'ha#n'ha#o'ha#p'ha#q'ha#r'ha#s'ha#u'ha#w'ha#y'ha#z'ha#}'ha(['ha(m'ha(t'ha(u'ha!Y'ha!Z'ha~OP$|qR$|q[$|qo$|q!i$|q!m$|q#O$|q#k$|q#l$|q#m$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#u$|q#w$|q#y$|q#z$|q#}$|q([$|q(m$|q!Y$|q!Z$|q~P&NlOg%b!Z!Y%b!Z#]%b!Z#}%b!Z~P!0kOo:oO!d#vO(m'mO~O!V:pO~P#.aO!Y'lq!Z'lq~P#AbO!Y#e!Z!Z#e!Z~P#AbO#h%b!ZP%b!ZR%b!Z[%b!Za%b!Zo%b!Z!Y%b!Z!i%b!Z!m%b!Z#O%b!Z#k%b!Z#l%b!Z#m%b!Z#n%b!Z#o%b!Z#p%b!Z#q%b!Z#r%b!Z#s%b!Z#u%b!Z#w%b!Z#y%b!Z#z%b!Z'u%b!Z([%b!Z(m%b!Z!h%b!Z!V%b!Z's%b!Z#]%b!Zs%b!Z![%b!Z%f%b!Z!d%b!Z~P#.aOo:xO!d#vO(m'mO~OP%b!ZR%b!Z[%b!Zo%b!Z!i%b!Z!m%b!Z#O%b!Z#k%b!Z#l%b!Z#m%b!Z#n%b!Z#o%b!Z#p%b!Z#q%b!Z#r%b!Z#s%b!Z#u%b!Z#w%b!Z#y%b!Z#z%b!Z#}%b!Z([%b!Z(m%b!Z!Y%b!Z!Z%b!Z~P&NlOs(aX~P1qO}%pO~P!(oO(P!lO~P!(oO!VfX!YfX#]fX~P&+QOP]XR]X[]Xo]X}]X!P]X!Y]X!YfX!i]X!m]X#O]X#P]X#]]X#]fX#hfX#k]X#l]X#m]X#n]X#o]X#p]X#q]X#r]X#s]X#u]X#w]X#y]X#z]X$P]X([]X(m]X(t]X(u]X~O!dfX!h]X!hfX(mfX~P'BxOP;POQ;POSfOd<zOe!iOmkOo;POpkOqkOwkOy;PO{;PO!PWO!TkO!UkO![XO!f;SO!iZO!l;PO!m;PO!n;PO!p;TO!r;WO!u!hO$V!kO(O)XO(QTO(TUO([VO(j[O(y<xO~O!Y;dO!Z$oa~Oh%VOm%WOo%XOp$tOq$tOw%YOy%ZO{;oO!P${O![$|O!f=PO!i$xO#g;uO$V%_O$r;qO$t;sO$w%`O(O(rO(QTO(TUO([$uO(t$}O(u%PO~O#t)`O~P'GnOo!bX(m!bX~P# ZO!Z]X!ZfX~P'BxO!VfX!V$xX!YfX!Y$xX#]fX~P!/gO#h;XO~O!d#vO#h;XO~O#];iO~O#s;]O~O#];xO!Y(rX!Z(rX~O#];iO!Y(pX!Z(pX~O#h;yO~Og;{O~P!0kO#h<RO~O#h<SO~O!d#vO#h<TO~O!d#vO#h;yO~O#}<UO~P#AbO#h<VO~O#h<WO~O#h<]O~O#h<^O~O#h<_O~O#h<`O~O#}<aO~P!0kO#}<bO~P!0kO#P#Q#R#T#U#X#f#g#r(y$r$t$w%Z%e%f%g%n%p%s%t%v%x~'yT#l!U'w(P#mp#k#no}'x$['x(O$^(`~",goto:"$4Q)XPPPPPP)YPP)]P)nP+O/PPPPP5xPP6`PP<V?mP@QP@QPPP@QPBRP@QP@QP@QPBVPB[PByPGrPPPGvPPPPGvJxPPPKOKzPGvPGvPPNYGvPPPGvPGvP!!aGvP!%v!&{!'UP!'x!'|!'x!+YPPPPPPP!+y!&{PP!,Z!-gP!0jGvGv!0o!3z!8b!8b!<`PPP!<hGvPPPPPPPPPPP!?vP!ATPPGv!BfPGvPGvGvGvGvGvPGv!CxP!GRP!JWP!J[!Jf!Jj!JjP!GOP!Jn!JnP!MsP!MwGvGv!M}##RBV@QP@QP@Q@QP#$_@Q@Q#&j@Q#)Z@Q#+`@Q@Q#,O#.]#.]#.b#.k#.]#.wP#.]P@Q#/a@Q#3S@Q@Q5xPPP#6{PPP#7f#7fP#7fP#7|#7fPP#8SP#7yP#7y#8g#7y#9R#9X5u)]#9[)]P#9c#9c#9cP)]P)]P)]P)]PP)]P#9i#9lP#9l)]P#9pP#9sP)]P)]P)]P)]P)]P)])]PP#9y#:P#:[#:b#:h#:n#:t#;S#;Y#;d#;j#;t#;z#<[#<b#=S#=f#=l#=r#>Q#>g#@V#@e#@l#BR#Ba#C|#D[#Db#Dh#Dn#Dx#EO#EU#E`#Er#ExPPPPPPPPPP#FOPPPPPPP#Fs#Iz#KZ#Kb#KjPPP$!sP$!|$%t$,^$,a$,d$-P$-S$-Z$-cP$-i$-lP$.Y$.^$/U$0d$0i$1PPP$1U$1[$1`P$1c$1g$1k$2a$2x$3a$3e$3h$3k$3q$3t$3x$3|R!|RoqOXst!Z#d%k&o&q&r&t,k,p1|2PY!vQ']-]1a5eQ%rvQ%zyQ&R|Q&g!VS'T!e-TQ'c!iS'i!r!yU*e$|*V*jQ+i%{Q+v&TQ,[&aQ-Z'[Q-e'dQ-m'jQ0R*lQ1k,]R;v;T%QdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V,h,k,p-a-i-w-}.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3^5b5m5}6O6R6f8R8X8h8rS#q];Q!r)Z$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{U*y%[;n;oQ+n%}Q,^&dQ,e&lQ0m+aQ0q+cQ0|+oQ1s,cQ3Q._Q5O0wQ5t1lQ6r3UQ7s5PR8x6t'OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{t!nQ!r!v!y!z'T'[']'i'j'k-T-Z-]-m1a5e5g$|$ti#v$b$c$d$x${%O%Q%]%^%b)u){)}*P*R*U*[*b*r*s+`+c+z+}.^.w/]/e/o/p/r0V0X0d1W1Z1c3T3}4Y4b4m4u4x5l6p7_7h8U8u9T9b9l:O:c:k;g;h;j;k;l;m;p;q;r;s;t;u;|;}<O<P<R<S<V<W<X<Y<Z<[<]<^<a<b<x=Q=R=U=VQ&U|Q'R!eU'X%g*V-WQ+n%}Q,^&dQ0c*|Q0|+oQ1R+uQ1r,bQ1s,cQ5O0wQ5X1TQ5t1lQ5w1nQ5x1qQ7s5PQ7v5UQ8a5zQ9g7wR9r8^rnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PR,`&h&x^OPXYstuvwz!Z!`!g!j!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<z<{[#]WZ#W#Z'U(P!b%hm#h#i#l$x%c%f(Y(d(e(f*U*Y*]+T+U+W,g,}-{.R.S.T.V/e/h2U2|2}4Q6[6mQ%uxQ%yyS&O|&TQ&[!TQ'`!hQ'b!iQ(m#sS+h%z%{Q+l%}Q,V&_Q,Z&aS-d'c'dQ.a(nQ0u+iQ0{+oQ0}+pQ1Q+tQ1f,WS1j,[,]Q2n-eQ4}0wQ5R0zQ5W1SQ5s1kQ7r5PQ7u5TQ9c7qR:^9d!O$zi$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=R!S%wy!i!u%y%z%{'S'b'c'd'h'r*d+h+i-Q-d-e-l/y0u2g2n2u4dQ+b%uQ+{&XQ,O&YQ,Y&aQ.`(mQ1e,VU1i,Z,[,]Q3V.aQ5n1fS5r1j1kQ8]5s#^<|#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vo<};g;h;k;m;q;s;u;}<P<S<W<Y<[<^<bW%Ti%V*t<xS&X!Q&fQ&Y!RQ&Z!SR+y&V$}%Si#v$b$c$d$x${%O%Q%]%^%b)u){)}*P*R*U*[*b*r*s+`+c+z+}.^.w/]/e/o/p/r0V0X0d1W1Z1c3T3}4Y4b4m4u4x5l6p7_7h8U8u9T9b9l:O:c:k;g;h;j;k;l;m;p;q;r;s;t;u;|;}<O<P<R<S<V<W<X<Y<Z<[<]<^<a<b<x=Q=R=U=VT)v$u)wV*y%[;n;oW'X!e%g*V-WS(y#y#zQ+]%pQ+s&QS.Y(i(jQ1[,PQ4n0`R7{5^'OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{$i$^c#Y#e%o%q%s(O(U(p(u(})O)P)Q)R)S)T)U)V)W)Y)[)^)c)m+^+r-R-p-u-z-|.k.n.r.t.u.v/X0e2]2`2p2w3]3b3c3d3e3f3g3h3i3j3k3l3m3n3q3r3y4r4{6_6e6j6y6z7T7U7}8l8p8z9Q9R9{:`:g;R<oT#TV#U'PkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{Q'V!eR2c-Tv!nQ!e!r!v!y!z'T'[']'i'j'k-T-Z-]-m1a5e5gU*d$|*V*jS/y*e*lQ0S*mQ1^,RQ4d0RR4g0UnqOXst!Z#d%k&o&q&r&t,k,p1|2PQ&v!^Q's!xS(o#u;XQ+f%xQ,T&[Q,U&^Q-b'aQ-o'lS.j(t;yS0f+R<TQ0s+gQ1`,SQ2T,rQ2V,sQ2_-OQ2l-cQ2o-gS4s0g<_Q4y0tS4|0v<`Q6^2aQ6b2mQ6g2tQ7p4zQ8m6`Q8n6cQ8q6hR9x8j$d$]c#Y#e%q%s(O(U(p(u(})O)P)Q)R)S)T)U)V)W)Y)[)^)c)m+^+r-R-p-u-z-|.k.n.r.u.v/X0e2]2`2p2w3]3b3c3d3e3f3g3h3i3j3k3l3m3n3q3r3y4r4{6_6e6j6y6z7T7U7}8l8p8z9Q9R9{:`:g;R<oS(k#p'fQ({#zS+[%o.tS.Z(j(lR3O.['OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{S#q];QQ&q!XQ&r!YQ&t![Q&u!]R1{,nQ'^!hQ+_%uQ-`'`S.](m+bQ2j-_W3S.`.a0l0nQ6a2kW6n3P3R3V4wU8t6o6q6sU9}8v8w8yS:i9|:PQ:t:jR:z:uU!wQ']-]T5c1a5e!Q_OXZ`st!V!Z#d#h%c%k&f&h&o&q&r&t(f,k,p.S1|2P]!pQ!r']-]1a5eT#q];Q%[{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8rS(y#y#zS.Y(i(j!s<f$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{U$fd)Z,eS(l#p'fU*q%R(s3pU0b*x.f7PQ4w0mQ6o3QQ8w6rR:P8xm!tQ!r!v!y!z']'i'j'k-]-m1a5e5gQ'q!uS(b#g1vS-k'h'tQ/k*XQ/w*dQ2v-nQ4U/lS4_/x0SQ7Z4PS7f4e4gQ9V7[Q9Z7cQ9`7iS:X9[9]S:n:Y:ZS:w:o:pR:}:xQ#wbQ'p!uS(a#g1vS(c#m+QQ+S%dQ+d%vQ+j%|U-j'h'q'tQ.O(bQ/j*XQ/v*dQ/|*gQ0r+eQ1g,XS2s-k-nQ2{.WS4T/k/lS4^/w0SQ4a/{Q4c/}Q5p1hQ6i2vQ7Y4PQ7^4US7b4_4gQ7g4fQ8Z5qS9U7Z7[Q9Y7cQ9^7fQ9a7jQ9o8[Q:V9VS:W9Z9]Q:[9`Q:e9pS:m:X:ZS:v:n:pQ:|:wQ;O:}Q<i<dQ<t<mR<u<nV!wQ']-]%[aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8rS#wz!j!r<c$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{R<i<z%[bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8rQ%dj!S%vy!i!u%y%z%{'S'b'c'd'h'r*d+h+i-Q-d-e-l/y0u2g2n2u4dS%|z!jQ+e%wQ,X&aW1h,Y,Z,[,]U5q1i1j1kS8[5r5sQ9p8]!r<d$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{Q<m<yR<n<z%OeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8rY#bWZ#W#Z(P!b%hm#h#i#l$x%c%f(Y(d(e(f*U*Y*]+T+U+W,g,}-{.R.S.T.V/e/h2U2|2}4Q6[6mQ,f&l!p<e$Z$n)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{R<h'UU'Y!e%g*VR2e-W%QdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V,h,k,p-a-i-w-}.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3^5b5m5}6O6R6f8R8X8h8r!r)Z$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{Q,e&lQ0m+aQ3Q._Q6r3UR8x6t!b$Tc#Y%o(O(U(p(u)V)W)[)c+r-p-u-z-|.k.n/X0e2p2w3]3m4r4{6e6j6y8p9{;R!P;_)Y)m-R.t2]2`3b3k3l3q3y6_6z7T7U7}8l8z9Q9R:`:g<o!f$Vc#Y%o(O(U(p(u)S)T)V)W)[)c+r-p-u-z-|.k.n/X0e2p2w3]3m4r4{6e6j6y8p9{;R!T;a)Y)m-R.t2]2`3b3h3i3k3l3q3y6_6z7T7U7}8l8z9Q9R:`:g<o!^$Zc#Y%o(O(U(p(u)[)c+r-p-u-z-|.k.n/X0e2p2w3]3m4r4{6e6j6y8p9{;RQ3}/cz<{)Y)m-R.t2]2`3b3q3y6_6z7T7U7}8l8z9Q9R:`:g<oQ=Q=SR=R=T'OkOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{S$oh$pR3v.|'VgOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.|.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{T$kf$qQ$ifS)f$l)jR)r$qT$jf$qT)h$l)j'VhOPWXYZhstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$Z$_$a$e$n$p%k%r&P&h&k&l&o&q&r&t&x'Q'U'_'o(P(R(X(`(t(v(z)o)y+R+V+a,h,k,p,|-P-a-i-w-}._.l.s.|.}/f0a0g0v1d1t1u1w1y1|2P2R2b2r2x3U3^3u5`5b5m5}6O6R6]6f6t8R8X8h8r9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{T$oh$pQ$rhR)q$p%[jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&l&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V+a,h,k,p-a-i-w-}._.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3U3^5b5m5}6O6R6f6t8R8X8h8r!s<y$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{<T<U<_<`<{#elOPXZst!Z!`!o#S#d#o#{$n%k&h&k&l&o&q&r&t&x'Q'_(z)o+V+a,h,k,p-a._.}/f0a1d1t1u1w1y1|2P2R3U3u5b5m5}6O6R6t8R8X8h!O%Ri$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=R#^(s#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=VQ*}%`Q/Y)zo3p;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<b!O$yi$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=RQ*^$zU*g$|*V*jQ+O%aQ/}*h#^<k#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vn<l;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<bQ<p<|Q<q<}Q<r=OR<s=P!O%Ri$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=R#^(s#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vo3p;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<bnoOXst!Z#d%k&o&q&r&t,k,p1|2PS*a${*UQ,y&{Q,z&}R4X/p$|%Si#v$b$c$d$x${%O%Q%]%^%b)u){)}*P*R*U*[*b*r*s+`+c+z+}.^.w/]/e/o/p/r0V0X0d1W1Z1c3T3}4Y4b4m4u4x5l6p7_7h8U8u9T9b9l:O:c:k;g;h;j;k;l;m;p;q;r;s;t;u;|;}<O<P<R<S<V<W<X<Y<Z<[<]<^<a<b<x=Q=R=U=VQ+|&YQ1Y,OQ5[1XR7z5]V*i$|*V*jU*i$|*V*jT5d1a5eU/{*f/f5bS4f0T8RR7j4hQ+d%vQ/|*gQ0r+eQ1g,XQ5p1hQ8Z5qQ9o8[R:e9p!O%Oi$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=Rr)}$v)a*O*p+P/n0Z0[3s4V4q7X7k:U<j<v<wS0V*o0W#^;j#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vn;k;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<b!`;|(q)_*W*`.b.e.i/U/Z/c/s0k1V1X3Y4W4[5Z5]6u6x7`7d7m7o9X9_:]:l=S=T`;}3o6{7O7S8{:Q:T:{S<X.d3ZT<Y6}9O!O%Qi$d%O%Q%]%^%b)}*P*[*r*s.w/o0V0X0d3}4m9T<x=Q=Rv*P$v)a*Q*o+P/_/n0Z0[3s4V4i4q7X7k:U<j<v<wS0X*p0Y#^;l#v$b$c$x${)u){*R*U*b+`+c+z+}.^/]/e/p/r1W1Z1c3T4Y4b4u4x5l6p7_7h8U8u9b9l:O:c:k;j;l;p;r;t;|<O<R<V<X<Z<]<a=U=Vn;m;g;h;k;m;q;s;u;}<P<S<W<Y<[<^<b!d<O(q)_*W*`.c.d.i/U/Z/c/s0k1V1X3W3Y4W4[5Z5]6u6v6x7`7d7m7o9X9_:]:l=S=Td<P3o6|6}7S8{8|:Q:R:T:{S<Z.e3[T<[7O9PrnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PQ&c!UR,h&lrnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PR&c!UQ,Q&ZR1U+ysnOXst!V!Z#d%k&f&o&q&r&t,k,p1|2PQ1b,VS5k1e1fU8T5i5j5nS9k8V8WS:a9j9mQ:q:bR:y:rQ&j!VR,a&fR5w1nS&O|&TR0}+pQ&o!WR,k&pR,q&uT1},p2PR,u&vQ,t&vR2W,uQ'v!{R-q'vSsOtQ#dXT%ns#dQ#OTR'x#OQ#RUR'z#RQ)w$uR/V)wQ#UVR'|#UQ#XWU(S#X(T-xQ(T#YR-x(UQ-U'VR2d-UQ.m(uS3_.m3`R3`.nQ-]']R2h-]Y!rQ']-]1a5eR'g!rQ.x)aR3t.xU#_W%f*UU(Z#_([-yQ([#`R-y(VQ-X'YR2f-Xt`OXst!V!Z#d%k&f&h&o&q&r&t,k,p1|2PS#hZ%cU#r`#h.SR.S(fQ(g#jQ.P(cW.X(g.P2y6kQ2y.QR6k2zQ)j$lR/O)jQ$phR)p$pQ$`cU)]$`-t;eQ-t;RR;e)mQ/i*XW4R/i4S7]9WU4S/j/k/lS7]4T4UR9W7^$Z)|$v(q)_)a*W*`*o*p*z*{+P.d.e.g.h.i/U/Z/_/a/c/n/s0Z0[0k1V1X3W3X3Y3o3s4V4W4[4i4k4q5Z5]6u6v6w6x6}7O7Q7R7S7X7`7d7k7m7o8{8|8}9X9_:Q:R:S:T:U:]:l:{<j<v<w=S=TQ/q*`U4Z/q4]7aQ4]/sR7a4[S*j$|*VR0P*jr*O$v)a*o*p+P/n0Z0[3s4V4q7X7k:U<j<v<w!`.b(q)_*W*`.d.e.i/U/Z/c/s0k1V1X3Y4W4[5Z5]6u6x7`7d7m7o9X9_:]:l=S=TU/`*O.b6{a6{3o6}7O7S8{:Q:T:{Q0W*oQ3Z.dU4j0W3Z9OR9O6}v*Q$v)a*o*p+P/_/n0Z0[3s4V4i4q7X7k:U<j<v<w!d.c(q)_*W*`.d.e.i/U/Z/c/s0k1V1X3W3Y4W4[5Z5]6u6v6x7`7d7m7o9X9_:]:l=S=TU/b*Q.c6|e6|3o6}7O7S8{8|:Q:R:T:{Q0Y*pQ3[.eU4l0Y3[9PR9P7OQ*u%UR0^*uQ4v0kR7n4vQ+X%iR0j+XQ5_1[S7|5_9iR9i7}Q,S&[R1_,SQ5e1aR8P5eQ1m,^S5u1m8_R8_5wQ0x+lW5Q0x5S7t9eQ5S0{Q7t5RR9e7uQ+q&OR1O+qQ2P,pR6V2PYrOXst#dQ&s!ZQ+Z%kQ,j&oQ,l&qQ,m&rQ,o&tQ1z,kS1},p2PR6U1|Q%mpQ&w!_Q&z!aQ&|!bQ'O!cQ'n!uQ+Y%jQ+f%xQ+x&UQ,`&jQ,w&yW-h'h'p'q'tQ-o'lQ0O*iQ0s+gS1p,a,dQ2X,vQ2Y,yQ2Z,zQ2o-gW2q-j-k-n-pQ4y0tQ5V1RQ5Y1VQ5o1gQ5y1rQ6T1{U6d2p2s2vQ6g2tQ7p4zQ7x5XQ7y5ZQ8O5dQ8Y5pQ8`5xS8o6e6iQ8q6hQ9f7vQ9n8ZQ9s8aQ9z8pQ:_9gQ:d9oQ:h9{R:s:eQ%xyQ'a!iQ'l!uU+g%y%z%{Q-O'SU-c'b'c'dS-g'h'rQ/u*dS0t+h+iQ2a-QS2m-d-eQ2t-lQ4`/yQ4z0uQ6`2gQ6c2nQ6h2uR7e4dS$wi<xR*v%VU%Ui%V<xR0]*tQ$viS(q#v+cS)_$b$cQ)a$dQ*W$xS*`${*UQ*o%OQ*p%QQ*z%]Q*{%^Q+P%bQ.d;jQ.e;lQ.g;pQ.h;rQ.i;tQ/U)uS/Z){/]Q/_)}Q/a*PQ/c*RQ/n*[S/s*b/eQ0Z*rQ0[*sh0k+`.^1c3T5l6p8U8u9l:O:c:kQ1V+zQ1X+}Q3W;|Q3X<OQ3Y<RS3o;g;hQ3s.wQ4V/oQ4W/pQ4[/rQ4i0VQ4k0XQ4q0dQ5Z1WQ5]1ZQ6u<VQ6v<XQ6w<ZQ6x<]Q6};kQ7O;mQ7Q;qQ7R;sQ7S;uQ7X3}Q7`4YQ7d4bQ7k4mQ7m4uQ7o4xQ8{<SQ8|;}Q8}<PQ9X7_Q9_7hQ:Q<WQ:R<YQ:S<[Q:T<^Q:U9TQ:]9bQ:l<aQ:{<bQ<j<xQ<v=QQ<w=RQ=S=UR=T=VQ*x%[Q.f;nR7P;onpOXst!Z#d%k&o&q&r&t,k,p1|2PQ!fPS#fZ#oQ&y!`U'e!o5b8RQ'{#SQ(|#{Q)n$nS,d&h&kQ,i&lQ,v&xQ,{'QQ-_'_Q.p(zQ/S)oS0h+V/fQ0n+aQ1x,hQ2k-aQ3R._Q3x.}Q4o0aQ5j1dQ5{1tQ5|1uQ6Q1wQ6S1yQ6X2RQ6s3UQ7V3uQ8W5mQ8d5}Q8e6OQ8g6RQ8y6tQ9m8XR9w8h#YcOPXZst!Z!`!o#d#o#{%k&h&k&l&o&q&r&t&x'Q'_(z+V+a,h,k,p-a._/f0a1d1t1u1w1y1|2P2R3U5b5m5}6O6R6t8R8X8hQ#YWQ#eYQ%ouQ%qvS%sw!gS(O#W(RQ(U#ZQ(p#uQ(u#xQ(}$OQ)O$PQ)P$QQ)Q$RQ)R$SQ)S$TQ)T$UQ)U$VQ)V$WQ)W$XQ)Y$ZQ)[$_Q)^$aQ)c$eW)m$n)o.}3uQ+^%rQ+r&PS-R'U2bQ-p'oS-u(P-wQ-z(XQ-|(`Q.k(tQ.n(vQ.r;PQ.t;SQ.u;TQ.v;WQ/X)yQ0e+RQ2],|Q2`-PQ2p-iQ2w-}Q3].lQ3b;XQ3c;YQ3d;ZQ3e;[Q3f;]Q3g;^Q3h;_Q3i;`Q3j;aQ3k;bQ3l;cQ3m.sQ3n;fQ3q;iQ3r;vQ3y;dQ4r0gQ4{0vQ6_;xQ6e2rQ6j2xQ6y3^Q6z;yQ7T;{Q7U<TQ7}5`Q8l6]Q8p6fQ8z<UQ9Q<_Q9R<`Q9{8rQ:`9hQ:g9yQ;R#SR<o<{R#[WR'W!el!tQ!r!v!y!z']'i'j'k-]-m1a5e5gS'S!e-TS-Q'T'[R2g-ZR(w#xQ!fQT-[']-]]!qQ!r']-]1a5eQ#p]R'f;QR)b$dY!uQ']-]1a5eQ'h!rS'r!v!yS't!z5gS-l'i'jQ-n'kR2u-mT#kZ%cS#jZ%cS%im,gU(c#h#i#lS.Q(d(eQ.U(fQ0i+WQ2z.RU2{.S.T.VS6l2|2}R8s6md#^W#W#Z%f(P(Y*U+T-{/er#gZm#h#i#l%c(d(e(f+W.R.S.T.V2|2}6mS*X$x*]Q/l*YQ1v,gQ2^,}Q4P/hQ6Z2UQ7[4QQ8k6[T<g'U+UV#aW%f*UU#`W%f*US(Q#W(YU(V#Z+T/eS-S'U+UT-v(P-{V'Z!e%g*VQ$lfR)t$qT)i$l)jR3w.|T*Z$x*]T*c${*UQ0l+`Q3P.^Q5i1cQ6q3TQ8V5lQ8v6pQ9j8UQ9|8uQ:b9lQ:j:OQ:r:cR:u:knqOXst!Z#d%k&o&q&r&t,k,p1|2PQ&i!VR,`&ftmOXst!U!V!Z#d%k&f&o&q&r&t,k,p1|2PR,g&lT%jm,gR1],PR,_&dQ&S|R+w&TR+m%}T&m!W&pT&n!W&pT2O,p2P",nodeNames:"⚠ ArithOp ArithOp ?. JSXStartTag LineComment BlockComment Script Hashbang ExportDeclaration export Star as VariableName String Escape from ; default FunctionDeclaration async function VariableDefinition > < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:376,context:gPe,nodeProps:[["isolate",-8,5,6,14,34,36,48,50,52,""],["group",-26,9,17,19,65,204,208,212,213,215,218,221,231,233,239,241,243,245,248,254,260,262,264,266,268,270,271,"Statement",-34,13,14,29,32,33,39,48,51,52,54,59,67,69,73,77,79,81,82,107,108,117,118,135,138,140,141,142,143,144,146,147,166,167,169,"Expression",-23,28,30,34,38,40,42,171,173,175,176,178,179,180,182,183,184,186,187,188,198,200,202,203,"Type",-3,85,100,106,"ClassItem"],["openedBy",23,"<",35,"InterpolationStart",53,"[",57,"{",70,"(",159,"JSXStartCloseTag"],["closedBy",24,">",37,"InterpolationEnd",47,"]",58,"}",71,")",164,"JSXEndTag"]],propSources:[xPe],skippedNodes:[0,5,6,274],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$<r#p#q$=h#q#r$>x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$h&j(RpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(RpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$h&j(Rp(U!b'w0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(S#S$h&j'x0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$h&j(Rp(U!b'x0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$h&j!m),Q(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#u(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#u(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(Q':f$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$h&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$c`$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$c``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$c`$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(U!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$c`(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$h&j(Rp(U!bOY%ZYZ&cZq%Zqr<Srs&}st%ZtuCruw%Zwx(rx!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr(r<__WS$h&j(Rp(U!bOY<SYZ&cZr<Srs=^sw<Swx@nx!^<S!^!_Bm!_#O<S#O#P>`#P#o<S#o#pBm#p;'S<S;'S;=`Cl<%lO<S(Q=g]WS$h&j(U!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$h&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(U!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$h&j(RpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(RpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Rp(U!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$h&j(j%1l(Rp(U!bOY%ZYZ&cZr%Zrs&}st%ZtuCruw%Zwx(rx!Q%Z!Q![Cr![!^%Z!^!_*g!_!c%Z!c!}Cr!}#O%Z#O#P&c#P#R%Z#R#SCr#S#T%Z#T#oCr#o#p*g#p$g%Z$g;'SCr;'S;=`El<%lOCr%9[EoP;=`<%lCr07[FRk$h&j(Rp(U!b$[#t(O,2j(`$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr+dHRk$h&j(Rp(U!b$[#tOY%ZYZ&cZr%Zrs&}st%ZtuGvuw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Gv![!^%Z!^!_*g!_!c%Z!c!}Gv!}#O%Z#O#P&c#P#R%Z#R#SGv#S#T%Z#T#oGv#o#p*g#p$g%Z$g;'SGv;'S;=`Iv<%lOGv+dIyP;=`<%lGv07[JPP;=`<%lEr(KWJ_`$h&j(Rp(U!b#m(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWKl_$h&j$P(Ch(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,#xLva(u+JY$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sv%ZvwM{wx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KWNW`$h&j#y(Ch(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At! c_(T';W$h&j(RpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b'l!!i_$h&j(RpOY!!bYZ!#hZr!!brs!#hsw!!bwx!$xx!^!!b!^!_!%z!_#O!!b#O#P!#h#P#o!!b#o#p!%z#p;'S!!b;'S;=`!'c<%lO!!b&z!#mX$h&jOw!#hwx6cx!^!#h!^!_!$Y!_#o!#h#o#p!$Y#p;'S!#h;'S;=`!$r<%lO!#h`!$]TOw!$Ywx7]x;'S!$Y;'S;=`!$l<%lO!$Y`!$oP;=`<%l!$Y&z!$uP;=`<%l!#h'l!%R]$c`$h&j(RpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r!Q!&PZ(RpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;'S!%z;'S;=`!']<%lO!%z!Q!&yU$c`(RpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)r!Q!'`P;=`<%l!%z'l!'fP;=`<%l!!b/5|!'t_!i/.^$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#&U!)O_!h!Lf$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z-!n!*[b$h&j(Rp(U!b(P%&f#n(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rxz%Zz{!+d{!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW!+o`$h&j(Rp(U!b#k(ChOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;x!,|`$h&j(Rp(U!bo+4YOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z,$U!.Z_!Y+Jf$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!/ec$h&j(Rp(U!b}.2^OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!0p!P!Q%Z!Q![!3Y![!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!0ya$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!2O!P!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z#%|!2Z_!X!L^$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!3eg$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!3Y![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S!3Y#S#X%Z#X#Y!4|#Y#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!5Vg$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx{%Z{|!6n|}%Z}!O!6n!O!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!6wc$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad!8_c$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![!8S![!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S!8S#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[!9uf$h&j(Rp(U!b#l(ChOY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcxz!;Zz{#-}{!P!;Z!P!Q#/d!Q!^!;Z!^!_#(i!_!`#7S!`!a#8i!a!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z?O!;fb$h&j(Rp(U!b!U7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z>^!<w`$h&j(U!b!U7`OY!<nYZ&cZw!<nwx!=yx!P!<n!P!Q!Eq!Q!^!<n!^!_!Gr!_!}!<n!}#O!KS#O#P!Dy#P#o!<n#o#p!Gr#p;'S!<n;'S;=`!L]<%lO!<n<z!>Q^$h&j!U7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!?Td$h&j!U7`O!^&c!_#W&c#W#X!>|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!U7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!U7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c<z!C][$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#O!CW#O#P!DR#P#Q!=y#Q#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DWX$h&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;'S!CW;'S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$h&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$h&j(U!b!U7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(U!b!U7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(U!b!U7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(U!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$h&j(U!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!<n#Q#o!KS#o#p!JU#p;'S!KS;'S;=`!LV<%lO!KS>^!LYP;=`<%l!KS>^!L`P;=`<%l!<n=l!Ll`$h&j(Rp!U7`OY!LcYZ&cZr!Lcrs!=ys!P!Lc!P!Q!Mn!Q!^!Lc!^!_# o!_!}!Lc!}#O#%P#O#P!Dy#P#o!Lc#o#p# o#p;'S!Lc;'S;=`#&Y<%lO!Lc=l!Mwl$h&j(Rp!U7`OY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#W(r#W#X!Mn#X#Z(r#Z#[!Mn#[#](r#]#^!Mn#^#a(r#a#b!Mn#b#g(r#g#h!Mn#h#i(r#i#j!Mn#j#k!Mn#k#m(r#m#n!Mn#n#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(r8Q# vZ(Rp!U7`OY# oZr# ors!@cs!P# o!P!Q#!i!Q!}# o!}#O#$R#O#P!Bq#P;'S# o;'S;=`#$y<%lO# o8Q#!pe(Rp!U7`OY)rZr)rs#O)r#P#W)r#W#X#!i#X#Z)r#Z#[#!i#[#])r#]#^#!i#^#a)r#a#b#!i#b#g)r#g#h#!i#h#i)r#i#j#!i#j#k#!i#k#m)r#m#n#!i#n;'S)r;'S;=`*Z<%lO)r8Q#$WX(RpOY#$RZr#$Rrs!Ars#O#$R#O#P!B[#P#Q# o#Q;'S#$R;'S;=`#$s<%lO#$R8Q#$vP;=`<%l#$R8Q#$|P;=`<%l# o=l#%W^$h&j(RpOY#%PYZ&cZr#%Prs!CWs!^#%P!^!_#$R!_#O#%P#O#P!DR#P#Q!Lc#Q#o#%P#o#p#$R#p;'S#%P;'S;=`#&S<%lO#%P=l#&VP;=`<%l#%P=l#&]P;=`<%l!Lc?O#&kn$h&j(Rp(U!b!U7`OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#W%Z#W#X#&`#X#Z%Z#Z#[#&`#[#]%Z#]#^#&`#^#a%Z#a#b#&`#b#g%Z#g#h#&`#h#i%Z#i#j#&`#j#k#&`#k#m%Z#m#n#&`#n#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z9d#(r](Rp(U!b!U7`OY#(iZr#(irs!Grsw#(iwx# ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;'S#(i;'S;=`#,`<%lO#(i9d#)th(Rp(U!b!U7`OY*gZr*grs'}sw*gwx)rx#O*g#P#W*g#W#X#)k#X#Z*g#Z#[#)k#[#]*g#]#^#)k#^#a*g#a#b#)k#b#g*g#g#h#)k#h#i*g#i#j#)k#j#k#)k#k#m*g#m#n#)k#n;'S*g;'S;=`+Z<%lO*g9d#+gZ(Rp(U!bOY#+`Zr#+`rs!JUsw#+`wx#$Rx#O#+`#O#P!B[#P#Q#(i#Q;'S#+`;'S;=`#,Y<%lO#+`9d#,]P;=`<%l#+`9d#,cP;=`<%l#(i?O#,o`$h&j(Rp(U!bOY#,fYZ&cZr#,frs!KSsw#,fwx#%Px!^#,f!^!_#+`!_#O#,f#O#P!DR#P#Q!;Z#Q#o#,f#o#p#+`#p;'S#,f;'S;=`#-q<%lO#,f?O#-tP;=`<%l#,f?O#-zP;=`<%l!;Z07[#.[b$h&j(Rp(U!b'y0/l!U7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z07[#/o_$h&j(Rp(U!bT0/lOY#/dYZ&cZr#/drs#0nsw#/dwx#4Ox!^#/d!^!_#5}!_#O#/d#O#P#1p#P#o#/d#o#p#5}#p;'S#/d;'S;=`#6|<%lO#/d06j#0w]$h&j(U!bT0/lOY#0nYZ&cZw#0nwx#1px!^#0n!^!_#3R!_#O#0n#O#P#1p#P#o#0n#o#p#3R#p;'S#0n;'S;=`#3x<%lO#0n05W#1wX$h&jT0/lOY#1pYZ&cZ!^#1p!^!_#2d!_#o#1p#o#p#2d#p;'S#1p;'S;=`#2{<%lO#1p0/l#2iST0/lOY#2dZ;'S#2d;'S;=`#2u<%lO#2d0/l#2xP;=`<%l#2d05W#3OP;=`<%l#1p01O#3YW(U!bT0/lOY#3RZw#3Rwx#2dx#O#3R#O#P#2d#P;'S#3R;'S;=`#3r<%lO#3R01O#3uP;=`<%l#3R06j#3{P;=`<%l#0n05x#4X]$h&j(RpT0/lOY#4OYZ&cZr#4Ors#1ps!^#4O!^!_#5Q!_#O#4O#O#P#1p#P#o#4O#o#p#5Q#p;'S#4O;'S;=`#5w<%lO#4O00^#5XW(RpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;'S#5Q;'S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Rp(U!bT0/lOY#5}Zr#5}rs#3Rsw#5}wx#5Qx#O#5}#O#P#2d#P;'S#5};'S;=`#6v<%lO#5}01p#6yP;=`<%l#5}07[#7PP;=`<%l#/d)3h#7ab$h&j$P(Ch(Rp(U!b!U7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;ZAt#8vb$Y#t$h&j(Rp(U!b!U7`OY!;ZYZ&cZr!;Zrs!<nsw!;Zwx!Lcx!P!;Z!P!Q#&`!Q!^!;Z!^!_#(i!_!}!;Z!}#O#,f#O#P!Dy#P#o!;Z#o#p#(i#p;'S!;Z;'S;=`#-w<%lO!;Z'Ad#:Zp$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#U%Z#U#V#?i#V#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#<jk$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!O%Z!O!P!3Y!P!Q%Z!Q![#<_![!^%Z!^!_*g!_!g%Z!g!h!4|!h#O%Z#O#P&c#P#R%Z#R#S#<_#S#X%Z#X#Y!4|#Y#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!d$b$h&j#})Lv(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#O-<U(Rp(U!b(y7`OY*gZr*grs'}sw*gwx)rx!P*g!P!Q#MO!Q!^*g!^!_#Mt!_!`$ f!`#O*g#P;'S*g;'S;=`+Z<%lO*g(n#MXX$j&j(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El#M}Z#o(Ch(Rp(U!bOY*gZr*grs'}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;'S*g;'S;=`+Z<%lO*g(El#NyX$P(Ch(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g(El$ oX#p(Ch(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g*)x$!ga#]*!Y$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`!a$#l!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(K[$#w_#h(Cl$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x$%Vag!*r#p(Ch$e#|$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`$&[!`!a$'f!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$&g_#p(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$'qa#o(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`!a$(v!a#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$)R`#o(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(Kd$*`a(m(Ct$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!a%Z!a!b$+e!b#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$+p`$h&j#z(Ch(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`$,}_!y$Ip$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f$.X_!P0,v$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(n$/]Z$h&jO!^$0O!^!_$0f!_#i$0O#i#j$0k#j#l$0O#l#m$2^#m#o$0O#o#p$0f#p;'S$0O;'S;=`$4i<%lO$0O(n$0VT_#S$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c#S$0kO_#S(n$0p[$h&jO!Q&c!Q![$1f![!^&c!_!c&c!c!i$1f!i#T&c#T#Z$1f#Z#o&c#o#p$3|#p;'S&c;'S;=`&w<%lO&c(n$1kZ$h&jO!Q&c!Q![$2^![!^&c!_!c&c!c!i$2^!i#T&c#T#Z$2^#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$2cZ$h&jO!Q&c!Q![$3U![!^&c!_!c&c!c!i$3U!i#T&c#T#Z$3U#Z#o&c#p;'S&c;'S;=`&w<%lO&c(n$3ZZ$h&jO!Q&c!Q![$0O![!^&c!_!c&c!c!i$0O!i#T&c#T#Z$0O#Z#o&c#p;'S&c;'S;=`&w<%lO&c#S$4PR!Q![$4Y!c!i$4Y#T#Z$4Y#S$4]S!Q![$4Y!c!i$4Y#T#Z$4Y#q#r$0f(n$4lP;=`<%l$0O#1[$4z_!V#)l$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW$6U`#w(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z+;p$7c_$h&j(Rp(U!b([+4QOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$8qk$h&j(Rp(U!b(O,2j$^#t(`$I[OY%ZYZ&cZr%Zrs&}st%Ztu$8buw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$8b![!^%Z!^!_*g!_!c%Z!c!}$8b!}#O%Z#O#P&c#P#R%Z#R#S$8b#S#T%Z#T#o$8b#o#p*g#p$g%Z$g;'S$8b;'S;=`$<l<%lO$8b+d$:qk$h&j(Rp(U!b$^#tOY%ZYZ&cZr%Zrs&}st%Ztu$:fuw%Zwx(rx}%Z}!O$:f!O!Q%Z!Q![$:f![!^%Z!^!_*g!_!c%Z!c!}$:f!}#O%Z#O#P&c#P#R%Z#R#S$:f#S#T%Z#T#o$:f#o#p*g#p$g%Z$g;'S$:f;'S;=`$<f<%lO$:f+d$<iP;=`<%l$:f07[$<oP;=`<%l$8b#Jf$<{X![#Hb(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g,#x$=sa(t+JY$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`Ka!`#O%Z#O#P&c#P#o%Z#o#p*g#p#q$+e#q;'S%Z;'S;=`+a<%lO%Z(Kd$?V_!Z(Cds`$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z?O$@a_!n7`$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z07[$Aq|$h&j(Rp(U!b'w0/l$[#t(O,2j(`$I[OX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr07[$D|k$h&j(Rp(U!b'x0/l$[#t(O,2j(`$I[OY%ZYZ&cZr%Zrs&}st%ZtuEruw%Zwx(rx}%Z}!OGv!O!Q%Z!Q![Er![!^%Z!^!_*g!_!c%Z!c!}Er!}#O%Z#O#P&c#P#R%Z#R#SEr#S#T%Z#T#oEr#o#p*g#p$g%Z$g;'SEr;'S;=`I|<%lOEr",tokenizers:[bPe,yPe,OPe,2,3,4,5,6,7,8,9,10,11,12,13,14,vPe,new UEe("$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOu~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;'S!P;'S;=`#v<%lO!P~!UO!R~~!XS!Q![!e!c!i!e#T#Z!e#o#p#Z~!hR!Q![!q!c!i!q#T#Z!q~!tR!Q![!}!c!i!}#T#Z!}~#QR!Q![!P!c!i!P#T#Z!P~#^R!Q![#g!c!i#g#T#Z#g~#jS!Q![#g!c!i#g#T#Z#g#q#r!P~#yP;=`<%l!P~$RO(^~~",141,335),new UEe("j~RQYZXz{^~^O'{~~aP!P!Qd~iO'|~~",25,318)],topRules:{Script:[0,7],SingleExpression:[1,272],SingleClassItem:[2,273]},dialects:{jsx:0,ts:14725},dynamicPrecedences:{77:1,79:1,91:1,167:1,196:1},specialized:[{term:322,get:e=>wPe[e]||-1},{term:338,get:e=>kPe[e]||-1},{term:92,get:e=>SPe[e]||-1}],tokenPrec:14749})});function TPe(e){return(t,a)=>{let r=t.node.getChild("VariableDefinition");return r&&a(r,e),!0}}function EPe(e,t){let a=IPe.get(t);if(a)return a;let r=[],n=!0;function o(t,a){let n=e.sliceString(t.from,t.to);r.push({label:n,type:a})}return t.cursor(Tke.IncludeAnonymous).iterate(t=>{if(n)n=!1;else if(t.name){let e=LPe[t.name];if(e&&e(t,o)||RPe.has(t.name))return!1}else if(t.to-t.from>8192){for(let a of EPe(e,t.node))r.push(a);return!1}}),IPe.set(t,r),r}function CPe(e){let t=SSe(e.state).resolveInner(e.pos,-1);if(jPe.indexOf(t.name)>-1)return null;let a="VariableName"==t.name||t.to-t.from<20&&BPe.test(e.state.sliceDoc(t.from,t.to));if(!a&&!e.explicit)return null;let r=[];for(let a=t;a;a=a.parent)RPe.has(a.name)&&(r=r.concat(EPe(e.state.doc,a)));return{options:r,from:a?t.from:e.pos,validFor:BPe}}function PPe(e={}){let t=e.jsx?e.typescript?VPe:ZPe:e.typescript?HPe:UPe,a=e.typescript?NPe.concat(FPe):$Pe.concat(qPe);return new hAe(t,[UPe.data.of({autocomplete:x_e(jPe,O_e(a))}),UPe.data.of({autocomplete:CPe}),e.jsx?XPe:[]])}function MPe(e,t,a=e.length){for(let r=t?.firstChild;r;r=r.nextSibling)if("JSXIdentifier"==r.name||"JSXBuiltin"==r.name||"JSXNamespacedName"==r.name||"JSXMemberExpression"==r.name)return e.sliceString(r.from,Math.min(r.to,a));return""}var $Pe,NPe,IPe,RPe,DPe,LPe,BPe,jPe,UPe,zPe,HPe,ZPe,VPe,QPe,qPe,FPe,WPe,XPe,GPe=V(()=>{_Pe(),KAe(),Pve(),eke(),WTe(),Wke(),$Pe=[D_e("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),D_e("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),D_e("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),D_e("do {\n\t${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),D_e("while (${}) {\n\t${}\n}",{label:"while",detail:"loop",type:"keyword"}),D_e("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),D_e("if (${}) {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),D_e("if (${}) {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),D_e("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),D_e('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),D_e('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],NPe=$Pe.concat([D_e("interface ${name} {\n\t${}\n}",{label:"interface",detail:"definition",type:"keyword"}),D_e("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),D_e("enum ${name} {\n\t${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),IPe=new Bke,RPe=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]),DPe=["FunctionDeclaration"],LPe={FunctionDeclaration:TPe("function"),ClassDeclaration:TPe("class"),ClassExpression:()=>!0,EnumDeclaration:TPe("constant"),TypeAliasDeclaration:TPe("type"),NamespaceDeclaration:TPe("namespace"),VariableDefinition(e,t){e.matchContext(DPe)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},BPe=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,jPe=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."],UPe=nAe.define({name:"javascript",parser:APe.configure({props:[vAe.add({IfStatement:RSe({except:/^\s*({|else\b)/}),TryStatement:RSe({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:yAe,SwitchBody:e=>{let t=e.textAfter,a=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t);return e.baseIndent+(a?0:r?1:2)*e.unit},Block:NSe({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":RSe({except:/^\s*{/}),JSXElement(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},JSXEscape(e){let t=/\s*\}/.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"JSXOpenTag JSXSelfClosingTag":e=>e.column(e.node.from)+e.unit}),wAe.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":DSe,BlockComment:e=>({from:e.from+2,to:e.to-2}),JSXElement(e){let t=e.firstChild;if(!t||"JSXSelfClosingTag"==t.name)return null;let a=e.lastChild;return{from:t.to,to:a.type.isError?e.to:a.from}},"JSXSelfClosingTag JSXOpenTag"(e){let t=e.firstChild?.nextSibling,a=e.lastChild;return!t||t.type.isError?null:{from:t.to,to:a.type.isError?e.to:a.from}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),zPe={test:e=>/^JSX/.test(e.name),facet:wSe({commentTokens:{block:{open:"{/*",close:"*/}"}}})},HPe=UPe.configure({dialect:"ts"},"typescript"),ZPe=UPe.configure({dialect:"jsx",props:[aAe.add(e=>e.isTop?[zPe]:void 0)]}),VPe=UPe.configure({dialect:"jsx ts",props:[aAe.add(e=>e.isTop?[zPe]:void 0)]},"typescript"),QPe=e=>({label:e,type:"keyword"}),qPe="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(QPe),FPe=qPe.concat(["declare","implements","private","protected","public"].map(QPe)),WPe="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),XPe=Yxe.inputHandler.of((e,t,a,r,n)=>{if((WPe?e.composing:e.compositionStarted)||e.state.readOnly||t!=a||">"!=r&&"/"!=r||!UPe.isActiveAt(e.state,t,-1))return!1;let o=n(),{state:i}=o,s=i.changeByRange(e=>{let t,{head:a}=e,n=SSe(i).resolveInner(a-1,-1);if("JSXStartTag"==n.name&&(n=n.parent),!(i.doc.sliceString(a-1,a)!=r||"JSXAttributeValue"==n.name&&n.to>a)){if(">"==r&&"JSXFragmentTag"==n.name)return{range:e,changes:{from:a,insert:"</>"}};if("/"==r&&"JSXStartCloseTag"==n.name){let e=n.parent,r=e.parent;if(r&&e.from==a-2&&((t=MPe(i.doc,r.firstChild,a))||"JSXFragmentTag"==r.firstChild?.name)){let e=`${t}>`;return{range:zge.cursor(a+e.length,-1),changes:{from:a,insert:e}}}}else if(">"==r){let r=function(e){for(;;){if("JSXOpenTag"==e.name||"JSXSelfClosingTag"==e.name||"JSXFragmentTag"==e.name)return e;if("JSXEscape"==e.name||!e.parent)return null;e=e.parent}}(n);if(r&&"JSXOpenTag"==r.name&&!/^\/?>|^<\//.test(i.doc.sliceString(a,a+2))&&(t=MPe(i.doc,r,a)))return{range:e,changes:{from:a,insert:`</${t}>`}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,i.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)})});function YPe(e,t,a=e.length){if(!t)return"";let r=t.firstChild,n=r&&r.getChild("TagName");return n?e.sliceString(n.from,Math.min(n.to,a)):""}function KPe(e,t=!1){for(;e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}function JPe(e,t,a){return a.tags[YPe(e,KPe(t))]?.children||a.allTags}function eMe(e,t){let a=[];for(let r=KPe(t);r&&!r.type.isTop;r=KPe(r.parent)){let n=YPe(e,r);if(n&&"CloseTag"==r.lastChild.name)break;n&&a.indexOf(n)<0&&("EndTag"==t.name||t.from>=r.firstChild.to)&&a.push(n)}return a}function tMe(e,t,a,r,n){let o=/\s*>/.test(e.sliceDoc(n,n+5))?"":">",i=KPe(a,!0);return{from:r,to:n,options:JPe(e.doc,i,t).map(e=>({label:e,type:"type"})).concat(eMe(e.doc,a).map((e,t)=>({label:"/"+e,apply:"/"+e+o,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function aMe(e,t,a,r){let n=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:a,to:r,options:eMe(e.doc,t).map((e,t)=>({label:e,apply:e+n,type:"type",boost:99-t})),validFor:gMe}}function rMe(e,t){let{state:a,pos:r}=t,n=SSe(a).resolveInner(r,-1),o=n.resolve(r);for(let e,t=r;o==n&&(e=n.childBefore(t));){let a=e.lastChild;if(!a||!a.type.isError||a.from<a.to)break;o=n=e,t=a.from}return"TagName"==n.name?n.parent&&/CloseTag$/.test(n.parent.name)?aMe(a,n,n.from,r):tMe(a,e,n,n.from,r):"StartTag"==n.name?tMe(a,e,n,r,r):"StartCloseTag"==n.name||"IncompleteCloseTag"==n.name?aMe(a,n,r,r):"OpenTag"==n.name||"SelfClosingTag"==n.name||"AttributeName"==n.name?function(e,t,a,r,n){let o=KPe(a),i=o?t.tags[YPe(e.doc,o)]:null,s=i&&i.attrs?Object.keys(i.attrs):[];return{from:r,to:n,options:(i&&!1===i.globalAttrs?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map(e=>({label:e,type:"property"})),validFor:gMe}}(a,e,n,"AttributeName"==n.name?n.from:r,r):"Is"==n.name||"AttributeValue"==n.name||"UnquotedAttributeValue"==n.name?function(e,t,a,r,n){let o,i=a.parent?.getChild("AttributeName"),s=[];if(i){let l=e.sliceDoc(i.from,i.to),c=t.globalAttrs[l];if(!c){let r=KPe(a),n=r?t.tags[YPe(e.doc,r)]:null;c=n?.attrs&&n.attrs[l]}if(c){let t=e.sliceDoc(r,n).toLowerCase(),a='"',i='"';/^['"]/.test(t)?(o='"'==t[0]?/^[^"]*$/:/^[^']*$/,a="",i=e.sliceDoc(n,n+1)==t[0]?"":t[0],t=t.slice(1),r++):o=/^[^\s<>='"]*$/;for(let e of c)s.push({label:e,apply:a+e+i,type:"constant"})}}return{from:r,to:n,options:s,validFor:o}}(a,e,n,"Is"==n.name?r:n.from,r):!t.explicit||"Element"!=o.name&&"Text"!=o.name&&"Document"!=o.name?null:function(e,t,a,r){let n=[],o=0;for(let r of JPe(e.doc,a,t))n.push({label:"<"+r,type:"type"});for(let t of eMe(e.doc,a))n.push({label:"</"+t+">",type:"type",boost:99-o++});return{from:r,to:r,options:n,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}(a,e,n,r)}function nMe(e){let{extraTags:t,extraGlobalAttributes:a}=e,r=a||t?new fMe(t,a):fMe.default;return e=>rMe(r,e)}function oMe(e={}){let t,a="";return!1===e.matchClosingTags&&(a="noMatch"),!0===e.selfClosingTags&&(a=(a?a+" ":"")+"selfClosing"),(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(t=RCe((e.nestedLanguages||[]).concat(bMe),(e.nestedAttributes||[]).concat(yMe))),new hAe(t?OMe.configure({wrap:t,dialect:a}):a?xMe.configure({dialect:a}):xMe,[xMe.data.of({autocomplete:nMe(e)}),!1===e.autoCloseTags?[]:kMe,PPe().support,hCe().support])}var iMe,sMe,lMe,cMe,uMe,dMe,pMe,hMe,mMe,fMe,gMe,vMe,bMe,yMe,OMe,xMe,wMe,kMe,SMe,AMe,_Me=V(()=>{hPe(),_Ce(),GPe(),eke(),Pve(),KAe(),pMe={a:{attrs:{href:null,ping:null,type:null,media:null,target:iMe=["_blank","_self","_top","_parent"],hreflang:null}},abbr:dMe={},address:dMe,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:dMe,aside:dMe,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:dMe,base:{attrs:{href:null,target:iMe}},bdi:dMe,bdo:dMe,blockquote:{attrs:{cite:null}},body:dMe,br:dMe,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:cMe=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],formmethod:lMe=["get","post","put","delete"],formnovalidate:["novalidate"],formtarget:iMe,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:dMe,center:dMe,cite:dMe,code:dMe,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:dMe,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:dMe,div:dMe,dl:dMe,dt:dMe,em:dMe,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:dMe,figure:dMe,footer:dMe,form:{attrs:{action:null,name:null,"accept-charset":sMe=["ascii","utf-8","utf-16","latin1","latin1"],autocomplete:["on","off"],enctype:cMe,method:lMe,novalidate:["novalidate"],target:iMe}},h1:dMe,h2:dMe,h3:dMe,h4:dMe,h5:dMe,h6:dMe,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:dMe,hgroup:dMe,hr:dMe,html:{attrs:{manifest:null}},i:dMe,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:cMe,formmethod:lMe,formnovalidate:["novalidate"],formtarget:iMe,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:dMe,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:dMe,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:dMe,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:sMe,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:dMe,noscript:dMe,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:dMe,param:{attrs:{name:null,value:null}},pre:dMe,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:dMe,rt:dMe,ruby:dMe,samp:dMe,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:sMe}},section:dMe,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:dMe,source:{attrs:{src:null,type:null,media:null}},span:dMe,strong:dMe,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:dMe,summary:dMe,sup:dMe,table:dMe,tbody:dMe,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:dMe,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:dMe,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:dMe,time:{attrs:{datetime:null}},title:dMe,tr:dMe,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:dMe,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:dMe},hMe={accesskey:null,class:null,contenteditable:uMe=["true","false"],contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:uMe,autocorrect:uMe,autocapitalize:uMe,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":uMe,"aria-autocomplete":["inline","list","both","none"],"aria-busy":uMe,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":uMe,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":uMe,"aria-hidden":uMe,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":uMe,"aria-multiselectable":uMe,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":uMe,"aria-relevant":null,"aria-required":uMe,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},mMe="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(e=>"on"+e);for(let e of mMe)hMe[e]=null;fMe=class{constructor(e,t){this.tags=Object.assign(Object.assign({},pMe),e),this.globalAttrs=Object.assign(Object.assign({},hMe),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}},fMe.default=new fMe,gMe=/^[:\-\.\w\u00b7-\uffff]*$/,vMe=UPe.parser.configure({top:"SingleExpression"}),bMe=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:HPe.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:ZPe.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:VPe.parser},{tag:"script",attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),parser:vMe},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:UPe.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:ACe.parser}],yMe=[{name:"style",parser:ACe.parser.configure({top:"Styles"})}].concat(mMe.map(e=>({name:e,parser:UPe.parser}))),OMe=nAe.define({name:"html",parser:pPe.configure({props:[vAe.add({Element(e){let t=/^(\s*)(<\/)?/.exec(e.textAfter);return e.node.to<=e.pos+t[0].length?e.continue():e.lineIndent(e.node.from)+(t[2]?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit,Document(e){if(e.pos+/\s*/.exec(e.textAfter)[0].length<e.node.to)return e.continue();let t,a=null;for(let t=e.node;;){let e=t.lastChild;if(!e||"Element"!=e.name||e.to!=t.to)break;a=t=e}return a&&(!(t=a.lastChild)||"CloseTag"!=t.name&&"SelfClosingTag"!=t.name)?e.lineIndent(a.from)+e.unit:null}}),wAe.add({Element(e){let t=e.firstChild,a=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==a.name?a.from:e.to}:null}}),qAe.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),xMe=OMe.configure({wrap:RCe(bMe,yMe)}),wMe=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),kMe=Yxe.inputHandler.of((e,t,a,r,n)=>{if(e.composing||e.state.readOnly||t!=a||">"!=r&&"/"!=r||!xMe.isActiveAt(e.state,t,-1))return!1;let o=n(),{state:i}=o,s=i.changeByRange(e=>{let t,a=i.doc.sliceString(e.from-1,e.to)==r,{head:n}=e,o=SSe(i).resolveInner(n,-1);if(a&&">"==r&&"EndTag"==o.name){let a=o.parent;if("CloseTag"!=a.parent?.lastChild?.name&&(t=YPe(i.doc,a.parent,n))&&!wMe.has(t))return{range:e,changes:{from:n,to:n+(">"===i.doc.sliceString(n,n+1)?1:0),insert:`</${t}>`}}}else if(a&&"/"==r&&"IncompleteCloseTag"==o.name){let e=o.parent;if(o.from==n-2&&"CloseTag"!=e.lastChild?.name&&(t=YPe(i.doc,e,n))&&!wMe.has(t)){let e=n+(">"===i.doc.sliceString(n,n+1)?1:0),a=`${t}>`;return{range:zge.cursor(n+a.length,-1),changes:{from:n,to:e,insert:a}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,i.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)})}),TMe=V(()=>{YEe(),xSe(),SMe=Xke({String:OSe.string,Number:OSe.number,"True False":OSe.bool,PropertyName:OSe.propertyName,Null:OSe.null,",":OSe.separator,"[ ]":OSe.squareBracket,"{ }":OSe.brace}),AMe=GEe.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[SMe],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0})});function EMe(){return new hAe(CMe)}var CMe,PMe=V(()=>{TMe(),KAe(),CMe=nAe.define({name:"json",parser:AMe.configure({props:[vAe.add({Object:RSe({except:/^\s*\}/}),Array:RSe({except:/^\s*\]/})}),wAe.add({"Object Array":DSe})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}})});function MMe(e){return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}function $Me(e){return 9==e||10==e||13==e||32==e}function NMe(e,t){let a=e.pos+t;if(LMe==e&&BMe==a)return DMe;for(;$Me(e.peek(t));)t++;let r="";for(;;){let a=e.peek(t);if(!MMe(a))break;r+=String.fromCharCode(a),t++}return LMe=e,BMe=a,DMe=r||null}function IMe(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let t=0;t<e.length;t++)this.hash+=(this.hash<<4)+e.charCodeAt(t)+(e.charCodeAt(t)<<8)}function RMe(e,t){return new zEe(a=>{let r=0,n=t.charCodeAt(0);e:for(;!(a.next<0);a.advance(),r++)if(a.next==n){for(let e=1;e<t.length;e++)if(a.peek(e)!=t.charCodeAt(e))continue e;break}r&&a.acceptToken(e)})}var DMe,LMe,BMe,jMe,UMe,zMe,HMe,ZMe,VMe,QMe,qMe=V(()=>{YEe(),xSe(),DMe=null,LMe=null,BMe=0,jMe=new XEe({start:null,shift:(e,t,a,r)=>1==t?new IMe(NMe(r,1)||"",e):e,reduce:(e,t)=>11==t&&e?e.parent:e,reuse(e,t,a,r){let n=t.type.id;return 1==n||13==n?new IMe(NMe(r,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),UMe=new zEe((e,t)=>{if(60==e.next)if(e.advance(),47==e.next){e.advance();let a=NMe(e,0);if(!a)return e.acceptToken(5);if(t.context&&a==t.context.name)return e.acceptToken(2);for(let r=t.context;r;r=r.parent)if(r.name==a)return e.acceptToken(3,-2);e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)},{contextual:!0}),zMe=RMe(35,"--\x3e"),HMe=RMe(36,"?>"),ZMe=RMe(37,"]]>"),VMe=Xke({Text:OSe.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":OSe.angleBracket,TagName:OSe.tagName,"MismatchedCloseTag/TagName":[OSe.tagName,OSe.invalid],AttributeName:OSe.attributeName,AttributeValue:OSe.attributeValue,Is:OSe.definitionOperator,"EntityReference CharacterReference":OSe.character,Comment:OSe.blockComment,ProcessingInst:OSe.processingInstruction,DoctypeDecl:OSe.documentMeta,Cdata:OSe.special(OSe.string)}),QMe=GEe.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(eO#tO'#CnOOOO1G.q1G.qO(sOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO({O#tO,59YOOOO,59Y,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.t",stateData:")Z~OPQOSVOTWOVWOWWOXWOiXOxPO}TO!PUO~OuZOw]O~O^`Oy^O~OPQOQcOSVOTWOVWOWWOXWOxPO}TO!PUO~ORdO~P!SOseO|gO~OthO!OjO~O^lOy^O~OuZOwoO~O^qOy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O",goto:"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!t!nQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:47,context:jMe,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"],["isolate",-6,13,18,19,21,22,24,""]],propSources:[VMe],skippedNodes:[0],repeatNodeCount:8,tokenData:"Jy~R!XOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs'ssv$nvw(Zw}$n}!O,^!O!P$n!P!Q.m!Q![$n![!]0V!]!^$n!^!_3h!_!`El!`!aF_!a!bGQ!b!c$n!c!}0V!}#P$n#P#QHj#Q#R$n#R#S0V#S#T$n#T#o0V#o%W$n%W%o0V%o%p$n%p&a0V&a&b$n&b1p0V1p4U$n4U4d0V4d4e$n4e$IS0V$IS$I`$n$I`$Ib0V$Ib$Kh$n$Kh%#t0V%#t&/x$n&/x&Et0V&Et&FV$n&FV;'S0V;'S;:j3b;:j;=`&e<%l?&r$n?&r?Ah0V?Ah?BY$n?BY?Mn0V?MnO$nX$uWVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nP%dTVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_P%vP;=`<%l%_W&OT{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yW&bP;=`<%l%yX&hP;=`<%l$n_&t_VP{WyUOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ'zTzYVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_~(^ast)c![!]*g!c!}*g#R#S*g#T#o*g%W%o*g%p&a*g&b1p*g4U4d*g4e$IS*g$I`$Ib*g$Kh%#t*g&/x&Et*g&FV;'S*g;'S;:j,W?&r?Ah*g?BY?Mn*g~)fQ!Q![)l#l#m)z~)oQ!Q![)l!]!^)u~)zOX~~)}R!Q![*W!c!i*W#T#Z*W~*ZS!Q![*W!]!^)u!c!i*W#T#Z*W~*jg}!O*g!O!P*g!Q![*g![!]*g!]!^,R!c!}*g#R#S*g#T#o*g$}%O*g%W%o*g%p&a*g&b1p*g1p4U*g4U4d*g4e$IS*g$I`$Ib*g$Je$Jg*g$Kh%#t*g&/x&Et*g&FV;'S*g;'S;:j,W?&r?Ah*g?BY?Mn*g~,WOW~~,ZP;=`<%l*gZ,eYVP{WOr$nrs%_sv$nw}$n}!O-T!O!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ-[YVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a-z!a;'S$n;'S;=`&e<%lO$nZ.TW|QVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n].tYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a/d!a;'S$n;'S;=`&e<%lO$n]/mWdSVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_0b!O`S^QVP{WOr$nrs%_sv$nw}$n}!O0V!O!P0V!P!Q$n!Q![0V![!]0V!]!^$n!^!_%y!_!c$n!c!}0V!}#R$n#R#S0V#S#T$n#T#o0V#o$}$n$}%O0V%O%W$n%W%o0V%o%p$n%p&a0V&a&b$n&b1p0V1p4U0V4U4d0V4d4e$n4e$IS0V$IS$I`$n$I`$Ib0V$Ib$Je$n$Je$Jg0V$Jg$Kh$n$Kh%#t0V%#t&/x$n&/x&Et0V&Et&FV$n&FV;'S0V;'S;:j3b;:j;=`&e<%l?&r$n?&r?Ah0V?Ah?BY$n?BY?Mn0V?MnO$n_3eP;=`<%l0VX3mW{WOq%yqr4Vsv%yw!a%y!a!bEU!b;'S%y;'S;=`&_<%lO%yX4[]{WOr%ysv%yw}%y}!O5T!O!f%y!f!g6V!g!}%y!}#O;f#O#W%y#W#XAr#X;'S%y;'S;=`&_<%lO%yX5YV{WOr%ysv%yw}%y}!O5o!O;'S%y;'S;=`&_<%lO%yX5vT}P{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX6[V{WOr%ysv%yw!q%y!q!r6q!r;'S%y;'S;=`&_<%lO%yX6vV{WOr%ysv%yw!e%y!e!f7]!f;'S%y;'S;=`&_<%lO%yX7bV{WOr%ysv%yw!v%y!v!w7w!w;'S%y;'S;=`&_<%lO%yX7|V{WOr%ysv%yw!{%y!{!|8c!|;'S%y;'S;=`&_<%lO%yX8hV{WOr%ysv%yw!r%y!r!s8}!s;'S%y;'S;=`&_<%lO%yX9SV{WOr%ysv%yw!g%y!g!h9i!h;'S%y;'S;=`&_<%lO%yX9nX{WOr9irs:Zsv9ivw:Zw!`9i!`!a:x!a;'S9i;'S;=`;`<%lO9iP:^TO!`:Z!`!a:m!a;'S:Z;'S;=`:r<%lO:ZP:rOiPP:uP;=`<%l:ZX;PTiP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX;cP;=`<%l9iX;kX{WOr%ysv%yw!e%y!e!f<W!f#V%y#V#W?f#W;'S%y;'S;=`&_<%lO%yX<]V{WOr%ysv%yw!f%y!f!g<r!g;'S%y;'S;=`&_<%lO%yX<wV{WOr%ysv%yw!c%y!c!d=^!d;'S%y;'S;=`&_<%lO%yX=cV{WOr%ysv%yw!v%y!v!w=x!w;'S%y;'S;=`&_<%lO%yX=}V{WOr%ysv%yw!c%y!c!d>d!d;'S%y;'S;=`&_<%lO%yX>iV{WOr%ysv%yw!}%y!}#O?O#O;'S%y;'S;=`&_<%lO%yX?VT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#T%y#T#U@l#U;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#h%y#h#iAW#i;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#T%y#T#U>d#U;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#c%y#c#dB^#d;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#V%y#V#WBx#W;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#h%y#h#iCd#i;'S%y;'S;=`&_<%lO%yXCiV{WOr%ysv%yw#m%y#m#nDO#n;'S%y;'S;=`&_<%lO%yXDTV{WOr%ysv%yw#d%y#d#eDj#e;'S%y;'S;=`&_<%lO%yXDoV{WOr%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[UMe,zMe,HMe,ZMe,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0})});function FMe(e,t){let a=t&&t.getChild("TagName");return a?e.sliceString(a.from,a.to):""}function WMe(e,t){let a=t&&t.firstChild;return a&&"OpenTag"==a.name?FMe(e,a):""}function XMe(e){for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}function GMe(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function YMe(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function KMe(e,t){let a=[],r=[],n=Object.create(null);for(let e of t){let t=GMe(e);a.push(t),e.global&&r.push(t),e.values&&(n[e.name]=e.values.map(YMe))}let o=[],i=[],s=Object.create(null);for(let t of e){let e=r,l=n;t.attributes&&(e=e.concat(t.attributes.map(e=>"string"==typeof e?a.find(t=>t.label==e)||{label:e,type:"property"}:(e.values&&(l==n&&(l=Object.create(l)),l[e.name]=e.values.map(YMe)),GMe(e)))));let c=new t$e(t,e,l);s[c.name]=c,o.push(c),t.top&&i.push(c)}i.length||(i=o);for(let t=0;t<o.length;t++){let a=e[t],r=o[t];if(a.children)for(let e of a.children)s[e]&&r.children.push(s[e]);else r.children=o}return e=>{let{doc:t}=e.state,a=function(e,t){let a=SSe(e).resolveInner(t,-1),r=null;for(let e=a;!r&&e.parent;e=e.parent)("OpenTag"==e.name||"CloseTag"==e.name||"SelfClosingTag"==e.name||"MismatchedCloseTag"==e.name)&&(r=e);if(r&&(r.to>t||r.lastChild.type.isError)){let e=r.parent;if("TagName"==a.name)return"CloseTag"==r.name||"MismatchedCloseTag"==r.name?{type:"closeTag",from:a.from,context:e}:{type:"openTag",from:a.from,context:XMe(e)};if("AttributeName"==a.name)return{type:"attrName",from:a.from,context:r};if("AttributeValue"==a.name)return{type:"attrValue",from:a.from,context:r};let n=a==r||"Attribute"==a.name?a.childBefore(t):a;return"StartTag"==n?.name?{type:"openTag",from:t,context:XMe(e)}:"StartCloseTag"==n?.name&&n.to<=t?{type:"closeTag",from:t,context:e}:"Is"==n?.name?{type:"attrValue",from:t,context:r}:n?{type:"attrName",from:t,context:r}:null}if("StartCloseTag"==a.name)return{type:"closeTag",from:t,context:a.parent};for(;a.parent&&a.to==t&&!a.lastChild?.type.isError;)a=a.parent;return"Element"==a.name||"Text"==a.name||"Document"==a.name?{type:"tag",from:t,context:"Element"==a.name?a:XMe(a)}:null}(e.state,e.pos);if(!a||"tag"==a.type&&!e.explicit)return null;let{type:l,from:c,context:u}=a;if("openTag"==l){let e=i,a=WMe(t,u);return a&&(e=s[a]?.children||o),{from:c,options:e.map(e=>e.completion),validFor:a$e}}if("closeTag"==l){let a=WMe(t,u);return a?{from:c,to:e.pos+(">"==t.sliceString(e.pos,e.pos+1)?1:0),options:[s[a]?.closeNameCompletion||{label:a+">",type:"type"}],validFor:a$e}:null}if("attrName"==l)return{from:c,options:s[FMe(t,u)]?.attrs||r,validFor:a$e};if("attrValue"==l){let a=function(e,t,a){let r=t&&t.getChildren("Attribute").find(e=>e.from<=a&&e.to>=a),n=r&&r.getChild("AttributeName");return n?e.sliceString(n.from,n.to):""}(t,u,c);if(!a)return null;let r=(s[FMe(t,u)]?.attrValues||n)[a];return r&&r.length?{from:c,to:e.pos+('"'==t.sliceString(e.pos,e.pos+1)?1:0),options:r,validFor:/^"[^"]*"?$/}:null}if("tag"==l){let a=WMe(t,u),r=s[a],n=[],l=u&&u.lastChild;a&&(!l||"CloseTag"!=l.name||FMe(t,l)!=a)&&n.push(r?r.closeCompletion:{label:"</"+a+">",type:"type",boost:2});let d=n.concat((r?.children||(u?o:i)).map(e=>e.openCompletion));if(u&&r?.text.length){let t=u.firstChild;t.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(t.to,e.pos))&&(d=d.concat(r.text))}return{from:c,options:d,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}return null}}function JMe(e={}){let t=[r$e.data.of({autocomplete:KMe(e.elements||[],e.attributes||[])})];return!1!==e.autoCloseTags&&t.push(n$e),new hAe(r$e,t)}function e$e(e,t,a=e.length){if(!t)return"";let r=t.firstChild,n=r&&r.getChild("TagName");return n?e.sliceString(n.from,Math.min(n.to,a)):""}var t$e,a$e,r$e,n$e,o$e=V(()=>{qMe(),KAe(),Pve(),eke(),t$e=class{constructor(e,t,a){this.attrs=t,this.attrValues=a,this.children=[],this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=e.textContent?e.textContent.map(e=>({label:e,type:"text"})):[]}},a$e=/^[:\-\.\w\u00b7-\uffff]*$/,r$e=nAe.define({name:"xml",parser:QMe.configure({props:[vAe.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag":e=>e.column(e.node.from)+e.unit}),wAe.add({Element(e){let t=e.firstChild,a=e.lastChild;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==a.name?a.from:e.to}:null}}),qAe.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}}),n$e=Yxe.inputHandler.of((e,t,a,r,n)=>{if(e.composing||e.state.readOnly||t!=a||">"!=r&&"/"!=r||!r$e.isActiveAt(e.state,t,-1))return!1;let o=n(),{state:i}=o,s=i.changeByRange(e=>{let t,{head:a}=e,n=i.doc.sliceString(a-1,a)==r,o=SSe(i).resolveInner(a,-1);if(n&&">"==r&&"EndTag"==o.name){let r=o.parent;if("CloseTag"!=r.parent?.lastChild?.name&&(t=e$e(i.doc,r.parent,a)))return{range:e,changes:{from:a,to:a+(">"===i.doc.sliceString(a,a+1)?1:0),insert:`</${t}>`}}}else if(n&&"/"==r&&"StartCloseTag"==o.name){let e=o.parent;if(o.from==a-2&&"CloseTag"!=e.lastChild?.name&&(t=e$e(i.doc,e,a))){let e=a+(">"===i.doc.sliceString(a,a+1)?1:0),r=`${t}>`;return{range:zge.cursor(a+r.length,-1),changes:{from:a,to:e,insert:r}}}}return{range:e}});return!s.changes.empty&&(e.dispatch([o,i.update(s,{userEvent:"input.complete",scrollIntoView:!0})]),!0)})});function i$e(e,t){for(let a=0,r=t-e.pos-1;;r--,a++){let t=e.peek(r);if(l$e(t)||-1==t)return a}}function s$e(e){return 32==e||9==e}function l$e(e){return 10==e||13==e}function c$e(e){return s$e(e)||l$e(e)}function u$e(e){return e<0||c$e(e)}function d$e(e,t,a=0){return e.peek(a)==t&&e.peek(a+1)==t&&e.peek(a+2)==t&&u$e(e.peek(a+3))}function p$e(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function h$e(e,t){return 37==e.next?(e.advance(),p$e(e.next)&&e.advance(),p$e(e.next)&&e.advance(),!0):!!(function(e){return e>32&&e<127&&34!=e&&37!=e&&44!=e&&60!=e&&62!=e&&92!=e&&94!=e&&96!=e&&123!=e&&124!=e&&125!=e}(e.next)||t&&44==e.next)&&(e.advance(),!0)}function m$e(e){if(e.advance(),60==e.next){for(e.advance();;)if(!h$e(e,!0)){62==e.next&&e.advance();break}}else for(;h$e(e,!1););}function f$e(e){for(e.advance();!u$e(e.next)&&"f"!=b$e(e.tag);)e.advance()}function g$e(e,t){let a=e.next,r=!1,n=e.pos;for(e.advance();;){let o=e.next;if(o<0)break;if(e.advance(),o==a){if(39!=o)break;if(39!=e.next)break;e.advance()}else if(92==o&&34==a)e.next>=0&&e.advance();else if(l$e(o)){if(t)return!1;r=!0}else if(t&&e.pos>=n+1024)return!1}return!r}function v$e(e){for(let t=[],a=e.pos+1024;;)if(91==e.next||123==e.next)t.push(e.next),e.advance();else if(39==e.next||34==e.next){if(!g$e(e,!0))return!1}else if(93==e.next||125==e.next){if(t[t.length-1]!=e.next-2)return!1;if(t.pop(),e.advance(),!t.length)return!0}else{if(e.next<0||e.pos>a||l$e(e.next))return!1;e.advance()}}function b$e(e){return e<33?"u":e>125?"s":_$e[e-33]}function y$e(e,t){let a=b$e(e);return"u"!=a&&!(t&&"f"==a)}function O$e(e,t,a,r){if("s"!=b$e(e.next)&&(63!=e.next&&58!=e.next&&45!=e.next||!y$e(e.peek(1),a)))return!1;e.advance();let n=e.pos;for(;;){let o=e.next,i=0,s=r+1;for(;c$e(o);){if(l$e(o)){if(t)return!1;s=0}else s++;o=e.peek(++i)}if(!(o>=0&&(58==o?y$e(e.peek(i+1),a):35==o?32!=e.peek(i-1):y$e(o,a)))||!a&&s<=r||0==s&&!a&&(d$e(e,45,i)||d$e(e,46,i)))break;if(t&&"f"==b$e(o))return!1;for(let t=i;t>=0;t--)e.advance();if(t&&e.pos>n+1024)return!1}return!0}var x$e,w$e,k$e,S$e,A$e,_$e,T$e,E$e,C$e,P$e,M$e=V(()=>{YEe(),xSe(),x$e=63,w$e=class{constructor(e,t,a){this.parent=e,this.depth=t,this.type=a,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+a}},w$e.top=new w$e(null,-1,0),k$e=new XEe({start:w$e.top,reduce:(e,t)=>3!=e.type||20!=t&&34!=t?e:e.parent,shift(e,t,a,r){if(3==t)return new w$e(e,i$e(r,r.pos),1);if(65==t||5==t)return new w$e(e,i$e(r,r.pos),2);if(t==x$e)return e.parent;if(19==t||33==t)return new w$e(e,0,3);if(13==t&&4==e.type)return e.parent;if(47==t){let t=/[1-9]/.exec(r.read(r.pos,a.pos));if(t)return new w$e(e,e.depth+ +t[0],4)}return e},hash:e=>e.hash}),S$e=new zEe((e,t)=>{if(-1==e.next&&t.canShift(64))return e.acceptToken(64);let a=e.peek(-1);if((l$e(a)||a<0)&&3!=t.context.type){if(d$e(e,45)){if(!t.canShift(x$e))return e.acceptToken(1,3);e.acceptToken(x$e)}if(d$e(e,46)){if(!t.canShift(x$e))return e.acceptToken(2,3);e.acceptToken(x$e)}let a=0;for(;32==e.next;)a++,e.advance();(a<t.context.depth||a==t.context.depth&&1==t.context.type&&(45!=e.next||!u$e(e.peek(1))))&&-1!=e.next&&!l$e(e.next)&&35!=e.next&&e.acceptToken(x$e,-a)}},{contextual:!0}),A$e=new zEe((e,t)=>{if(3!=t.context.type)if(45==e.next)e.advance(),u$e(e.next)&&e.acceptToken(1==t.context.type&&t.context.depth==i$e(e,e.pos-1)?4:3);else if(63==e.next)e.advance(),u$e(e.next)&&e.acceptToken(2==t.context.type&&t.context.depth==i$e(e,e.pos-1)?6:5);else{let a=e.pos;for(;;)if(s$e(e.next)){if(e.pos==a)return;e.advance()}else if(33==e.next)m$e(e);else{if(38!=e.next){if(42==e.next){f$e(e);break}if(39==e.next||34==e.next){if(g$e(e,!0))break;return}if(91==e.next||123==e.next){if(!v$e(e))return;break}O$e(e,!0,!1,0);break}f$e(e)}for(;s$e(e.next);)e.advance();if(58==e.next){if(e.pos==a&&t.canShift(29))return;u$e(e.peek(1))&&e.acceptTokenTo(2==t.context.type&&t.context.depth==i$e(e,a)?66:65,a)}}else 63==e.next&&(e.advance(),u$e(e.next)&&e.acceptToken(7))},{contextual:!0}),_$e="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif",T$e=new zEe((e,t)=>{if(33==e.next)m$e(e),e.acceptToken(12);else if(38==e.next||42==e.next){let t=38==e.next?10:11;f$e(e),e.acceptToken(t)}else 39==e.next||34==e.next?(g$e(e,!1),e.acceptToken(9)):O$e(e,!1,3==t.context.type,t.context.depth)&&e.acceptToken(8)}),E$e=new zEe((e,t)=>{let a=4==t.context.type?t.context.depth:-1,r=e.pos;e:for(;;){let n=0,o=e.next;for(;32==o;)o=e.peek(++n);if(!n&&(d$e(e,45,n)||d$e(e,46,n))||!l$e(o)&&(a<0&&(a=Math.max(t.context.depth+1,n)),n<a))break;for(;;){if(e.next<0)break e;let t=l$e(e.next);if(e.advance(),t)continue e;r=e.pos}}e.acceptTokenTo(13,r)}),C$e=Xke({DirectiveName:OSe.keyword,DirectiveContent:OSe.attributeValue,"DirectiveEnd DocEnd":OSe.meta,QuotedLiteral:OSe.string,BlockLiteralHeader:OSe.special(OSe.string),BlockLiteralContent:OSe.content,Literal:OSe.content,"Key/Literal Key/QuotedLiteral":OSe.definition(OSe.propertyName),"Anchor Alias":OSe.labelName,Tag:OSe.typeName,Comment:OSe.lineComment,": , -":OSe.separator,"?":OSe.punctuation,"[ ]":OSe.squareBracket,"{ }":OSe.brace}),P$e=GEe.deserialize({version:14,states:"5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<<Hh<<HhOOQP<<Hn<<HnO:zOaO<<HnOOQR1G/`1G/`OOQR1G/a1G/aOOQPAN>YAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:k$e,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[C$e],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[S$e,A$e,T$e,E$e,0,1],topRules:{Stream:[0,15]},tokenPrec:0})});function $$e(){return new hAe(I$e)}var N$e,I$e,R$e=V(()=>{M$e(),KAe(),xSe(),YEe(),N$e=GEe.deserialize({version:14,states:"!vOQOPOOO]OPO'#C_OhOPO'#C^OOOO'#Cc'#CcOpOPO'#CaQOOOOOO{OPOOOOOO'#Cb'#CbO!WOPO'#C`O!`OPO,58xOOOO-E6a-E6aOOOO-E6`-E6`OOOO'#C_'#C_OOOO1G.d1G.d",stateData:"!h~OXPOYROWTP~OWVXXRXYRX~OYVOXSP~OXROYROWTX~OXROYROWTP~OYVOXSX~OX[O~OXY~",goto:"vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS",nodeNames:"⚠ Document Frontmatter DashLine FrontmatterContent Body",maxTerm:10,skippedNodes:[0],repeatNodeCount:2,tokenData:"$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",tokenizers:[0],topRules:{Document:[0,1]},tokenPrec:67}),I$e=nAe.define({name:"yaml",parser:P$e.configure({props:[vAe.add({Stream:e=>{for(let t=e.node.resolve(e.pos,-1);t&&t.to>=e.pos;t=t.parent){if("BlockLiteralContent"==t.name&&t.from<t.to)return e.baseIndentFor(t);if("BlockLiteral"==t.name)return e.baseIndentFor(t)+e.unit;if("BlockSequence"==t.name||"BlockMapping"==t.name)return e.column(t.from,1);if("QuotedLiteral"==t.name)return null;if("Literal"==t.name){let a=e.column(t.from,1);if(a==e.lineIndent(t.from,1))return a;if(t.to>e.pos)return null}}return null},FlowMapping:NSe({closing:"}"}),FlowSequence:NSe({closing:"]"})}),wAe.add({"FlowMapping FlowSequence":DSe,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}}),nAe.define({name:"yaml-frontmatter",parser:N$e.configure({props:[Xke({DashLine:OSe.meta})]})})});function D$e(){var e=arguments[0];"string"==typeof e&&(e=document.createElement(e));var t=1,a=arguments[1];if(a&&"object"==typeof a&&null==a.nodeType&&!Array.isArray(a)){for(var r in a)if(Object.prototype.hasOwnProperty.call(a,r)){var n=a[r];"string"==typeof n?e.setAttribute(r,n):null!=n&&(e[r]=n)}t++}for(;t<arguments.length;t++)L$e(e,arguments[t]);return e}function L$e(e,t){if("string"==typeof t)e.appendChild(document.createTextNode(t));else if(null!=t)if(null!=t.nodeType)e.appendChild(t);else{if(!Array.isArray(t))throw RangeError("Unsupported child node: "+t);for(var a=0;a<t.length;a++)L$e(e,t[a])}}var B$e=V(()=>{});function j$e(e,t=null,a=0){let r=null;return e.between(a,1e9,(e,a,{spec:n})=>{if(!(t&&n.diagnostics.indexOf(t)<0))if(r){if(n.diagnostics.indexOf(r.diagnostic)<0)return!1;r=new X$e(r.from,a,r.diagnostic)}else r=new X$e(e,a,t||n.diagnostics[0])}),r}function U$e(e,t){let a=t.pos,r=t.end||a,n=e.state.facet(nNe).hideOn(e,a,r);if(null!=n)return n;let o=e.startState.doc.lineAt(t.pos);return!(!e.effects.some(e=>e.is(Y$e))&&!e.changes.touchesRange(o.from,Math.max(o.to,r)))}function z$e(e,t){return e.field(eNe,!1)?t:t.concat(cve.appendConfig.of(cNe))}function H$e(e,t,a){let r,{diagnostics:n}=e.state.field(eNe),o=-1,i=-1;n.between(t-(a<0?1:0),t+(a>0?1:0),(e,n,{spec:s})=>{if(t>=e&&t<=n&&(e==n||(t>e||a>0)&&(t<n||a<0)))return r=s.diagnostics,o=e,i=n,!1});let s=e.state.facet(nNe).tooltipFilter;return r&&s&&(r=s(r,e.state)),r?{pos:o,end:i,above:e.state.doc.lineAt(o).to<i,create:()=>({dom:Z$e(e,r)})}:null}function Z$e(e,t){return D$e("ul",{class:"cm-tooltip-lint"},t.map(t=>Q$e(e,t,!1)))}function V$e(e){let t=[];if(e)e:for(let{name:a}of e){for(let e=0;e<a.length;e++){let r=a[e];if(/[a-zA-Z]/.test(r)&&!t.some(e=>e.toLowerCase()==r.toLowerCase())){t.push(r);continue e}}t.push("")}return t}function Q$e(e,t,a){let r=a?V$e(t.actions):[];return D$e("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},D$e("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),t.actions?.map((a,n)=>{let o=!1,i=r=>{if(r.preventDefault(),o)return;o=!0;let n=j$e(e.state.field(eNe).diagnostics,t);n&&a.apply(e,n.from,n.to)},{name:s}=a,l=r[n]?s.indexOf(r[n]):-1,c=l<0?s:[s.slice(0,l),D$e("u",s.slice(l,l+1)),s.slice(l+1)];return D$e("button",{type:"button",class:"cm-diagnosticAction",onclick:i,onmousedown:i,"aria-label":` Action: ${s}${l<0?"":` (access key "${r[n]})"`}.`},c)}),t.source&&D$e("div",{class:"cm-diagnosticSource"},t.source))}function q$e(e){return function(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(e)}</svg>')`}(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${e}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}function F$e(e){return"error"==e?4:"warning"==e?3:"info"==e?2:1}function W$e(e){let t="hint",a=1;for(let r of e){let e=F$e(r.severity);e>a&&(a=e,t=r.severity)}return t}var X$e,G$e,Y$e,K$e,J$e,eNe,tNe,aNe,rNe,nNe,oNe,iNe,sNe,lNe,cNe,uNe,dNe,pNe,hNe,mNe=V(()=>{eke(),Pve(),B$e(),X$e=class{constructor(e,t,a){this.from=e,this.to=t,this.diagnostic=a}},G$e=class e{constructor(e,t,a){this.diagnostics=e,this.panel=t,this.selected=a}static init(t,a,r){let n=t,o=r.facet(nNe).markerFilter;o&&(n=o(n,r));let i=t.slice().sort((e,t)=>e.from-t.from||e.to-t.to),s=new Ove,l=[],c=0;for(let e=0;;){let t,a,n=e==i.length?null:i[e];if(!n&&!l.length)break;for(l.length?(t=c,a=l.reduce((e,t)=>Math.min(e,t.to),n&&n.from>t?n.from:1e8)):(t=n.from,a=n.to,l.push(n),e++);e<i.length;){let r=i[e];if(r.from!=t||!(r.to>r.from||r.to==t)){a=Math.min(r.from,a);break}l.push(r),e++,a=Math.min(r.to,a)}let o=W$e(l);if(l.some(e=>e.from==e.to||e.from==e.to-1&&r.doc.lineAt(e.from).to==e.from))s.add(t,t,aOe.widget({widget:new oNe(o),diagnostics:l.slice()}));else{let e=l.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");s.add(t,a,aOe.mark({class:"cm-lintRange cm-lintRange-"+o+e,diagnostics:l.slice(),inclusiveEnd:l.some(e=>e.to>a)}))}c=a;for(let e=0;e<l.length;e++)l[e].to<=c&&l.splice(e--,1)}let u=s.finish();return new e(u,a,j$e(u))}},Y$e=cve.define(),K$e=cve.define(),J$e=cve.define(),eNe=qge.define({create:()=>new G$e(aOe.none,null,null),update(e,t){if(t.docChanged&&e.diagnostics.size){let a=e.diagnostics.map(t.changes),r=null,n=e.panel;if(e.selected){let n=t.changes.mapPos(e.selected.from,1);r=j$e(a,e.selected.diagnostic,n)||j$e(a,null,n)}!a.size&&n&&t.state.facet(nNe).autoPanel&&(n=null),e=new G$e(a,n,r)}for(let a of t.effects)if(a.is(Y$e)){let r=t.state.facet(nNe).autoPanel?a.value.length?sNe.open:null:e.panel;e=G$e.init(a.value,r,t.state)}else a.is(K$e)?e=new G$e(e.diagnostics,a.value?sNe.open:null,e.selected):a.is(J$e)&&(e=new G$e(e.diagnostics,e.panel,a.value));return e},provide:e=>[Bwe.from(e,e=>e.panel),Yxe.decorations.from(e,e=>e.diagnostics)]}),tNe=aOe.mark({class:"cm-lintRange cm-lintRange-active"}),aNe=e=>{let t=e.state.field(eNe,!1);return!(!t||!t.panel)&&(e.dispatch({effects:K$e.of(!1)}),!0)},rNe=UOe.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(nNe);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){clearTimeout(this.timeout);let e=Date.now();if(e<this.lintTime-10)this.timeout=setTimeout(this.run,this.lintTime-e);else{this.set=!1;let{state:e}=this.view,{sources:t}=e.facet(nNe);t.length&&function(e,t,a){let r=[],n=-1;for(let o of e)o.then(a=>{r.push(a),clearTimeout(n),r.length==e.length?t(r):n=setTimeout(()=>t(r),200)},a)}(t.map(e=>Promise.resolve(e(this.view))),t=>{this.view.state.doc==e.doc&&this.view.dispatch(function(e,t){return{effects:z$e(e,[Y$e.of(t)])}}(this.view.state,t.reduce((e,t)=>e.concat(t))))},e=>{Sbe(this.view.state,e)})}}update(e){let t=e.state.facet(nNe);(e.docChanged||t!=e.startState.facet(nNe)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}}),nNe=Zge.define({combine:e=>Object.assign({sources:e.map(e=>e.source).filter(e=>null!=e)},bge(e.map(e=>e.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(e,t)=>e?t?a=>e(a)||t(a):e:t}))}),oNe=class extends eOe{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return D$e("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}},iNe=class{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=Q$e(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}},sNe=class e{constructor(e){this.view=e,this.items=[];this.list=D$e("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(27==t.keyCode)aNe(this.view),this.view.focus();else if(38==t.keyCode||33==t.keyCode)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(40==t.keyCode||34==t.keyCode)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(36==t.keyCode)this.moveSelection(0);else if(35==t.keyCode)this.moveSelection(this.items.length-1);else if(13==t.keyCode)this.view.focus();else{if(!(t.keyCode>=65&&t.keyCode<=90&&this.selectedIndex>=0))return;{let{diagnostic:a}=this.items[this.selectedIndex],r=V$e(a.actions);for(let n=0;n<r.length;n++)if(r[n].toUpperCase().charCodeAt(0)==t.keyCode){let t=j$e(this.view.state.field(eNe).diagnostics,a);t&&a.actions[n].apply(e,t.from,t.to)}}}t.preventDefault()},onclick:e=>{for(let t=0;t<this.items.length;t++)this.items[t].dom.contains(e.target)&&this.moveSelection(t)}}),this.dom=D$e("div",{class:"cm-panel-lint"},this.list,D$e("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>aNe(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(eNe).selected;if(!e)return-1;for(let t=0;t<this.items.length;t++)if(this.items[t].diagnostic==e.diagnostic)return t;return-1}update(){let{diagnostics:e,selected:t}=this.view.state.field(eNe),a=0,r=!1,n=null,o=new Set;for(e.between(0,this.view.state.doc.length,(e,i,{spec:s})=>{for(let e of s.diagnostics){if(o.has(e))continue;o.add(e);let i,s=-1;for(let t=a;t<this.items.length;t++)if(this.items[t].diagnostic==e){s=t;break}s<0?(i=new iNe(this.view,e),this.items.splice(a,0,i),r=!0):(i=this.items[s],s>a&&(this.items.splice(a,s-a),r=!0)),t&&i.diagnostic==t.diagnostic?i.dom.hasAttribute("aria-selected")||(i.dom.setAttribute("aria-selected","true"),n=i):i.dom.hasAttribute("aria-selected")&&i.dom.removeAttribute("aria-selected"),a++}});a<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)r=!0,this.items.pop();0==this.items.length&&(this.items.push(new iNe(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),r=!0),n?(this.list.setAttribute("aria-activedescendant",n.id),this.view.requestMeasure({key:this,read:()=>({sel:n.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{let a=t.height/this.list.offsetHeight;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/a:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/a)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()}sync(){let e=this.list.firstChild;function t(){let t=e;e=t.nextSibling,t.remove()}for(let a of this.items)if(a.dom.parentNode==this.list){for(;e!=a.dom;)t();e=a.dom.nextSibling}else this.list.insertBefore(a.dom,e);for(;e;)t()}moveSelection(e){if(this.selectedIndex<0)return;let t=j$e(this.view.state.field(eNe).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:J$e.of(t)})}static open(t){return new e(t)}},lNe=Yxe.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:q$e("#d11")},".cm-lintRange-warning":{backgroundImage:q$e("orange")},".cm-lintRange-info":{backgroundImage:q$e("#999")},".cm-lintRange-hint":{backgroundImage:q$e("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}}),cNe=[eNe,Yxe.decorations.compute([eNe],e=>{let{selected:t,panel:a}=e.field(eNe);return t&&a&&t.from!=t.to?aOe.set([tNe.range(t.from,t.to)]):aOe.none}),xye(H$e,{hideOn:U$e}),lNe]}),fNe=V(()=>{KAe(),eke(),uNe=({theme:e,settings:t={},styles:a=[]})=>{let r={".cm-gutters":{}},n={};t.background&&(n.backgroundColor=t.background),t.backgroundImage&&(n.backgroundImage=t.backgroundImage),t.foreground&&(n.color=t.foreground),t.fontSize&&(n.fontSize=t.fontSize),(t.background||t.foreground)&&(r["&"]=n),t.fontFamily&&(r["&.cm-editor .cm-scroller"]={fontFamily:t.fontFamily}),t.gutterBackground&&r[".cm-gutters"]&&(r[".cm-gutters"].backgroundColor=t.gutterBackground),t.gutterForeground&&r[".cm-gutters"]&&(r[".cm-gutters"].color=t.gutterForeground),t.gutterBorder&&r[".cm-gutters"]&&(r[".cm-gutters"].borderRightColor=t.gutterBorder),t.caret&&(r[".cm-content"]={caretColor:t.caret},r[".cm-cursor, .cm-dropCursor"]={borderLeftColor:t.caret});let o={};return t.gutterActiveForeground&&(o.color=t.gutterActiveForeground),t.lineHighlight&&(r[".cm-activeLine"]={backgroundColor:t.lineHighlight},o.backgroundColor=t.lineHighlight),r[".cm-activeLineGutter"]=o,t.selection&&(r["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={background:t.selection+" !important"}),t.selectionMatch&&(r["& .cm-selectionMatch"]={backgroundColor:t.selectionMatch}),[Yxe.theme(r,{dark:"dark"===e}),qSe(NAe.define(a))]}}),gNe=V(()=>{xSe(),fNe(),dNe=uNe({theme:"light",settings:{background:"var(--scalar-background-2)",foreground:"var(--scalar-color-1)",caret:"var(--scalar-color-1)",selectionMatch:"#e3dcce",gutterBackground:"var(--scalar-background-2)",gutterForeground:"var(--scalar-color-3)",gutterBorder:"transparent",lineHighlight:"var(--scalar-background-3)",fontFamily:"var(--scalar-font-code)"},styles:[{tag:[OSe.standard(OSe.tagName),OSe.tagName],color:"var(--scalar-color-purple)"},{tag:[OSe.comment],color:"var(--scalar-color-3)"},{tag:[OSe.className],color:"var(--scalar-color-orange)"},{tag:[OSe.variableName,OSe.propertyName,OSe.attributeName],color:"var(--scalar-color-1)"},{tag:[OSe.operator],color:"var(--scalar-color-2)"},{tag:[OSe.keyword,OSe.typeName,OSe.typeOperator],color:"var(--scalar-color-green)"},{tag:[OSe.string],color:"var(--scalar-color-blue)"},{tag:[OSe.bracket,OSe.regexp,OSe.meta],color:"var(--scalar-color-3)"},{tag:[OSe.number],color:"var(--scalar-color-orange)"},{tag:[OSe.name,OSe.quote],color:"var(--scalar-color-3)"},{tag:[OSe.heading],color:"var(--scalar-color-3)",fontWeight:"bold"},{tag:[OSe.emphasis],color:"var(--scalar-color-3)",fontStyle:"italic"},{tag:[OSe.deleted],color:"var(--scalar-color-3)",backgroundColor:"transparent"},{tag:[OSe.atom,OSe.bool,OSe.special(OSe.variableName)],color:"var(--scalar-color-3)"},{tag:[OSe.url,OSe.escape,OSe.regexp,OSe.link],color:"var(--scalar-color-1)"},{tag:OSe.link,textDecoration:"underline"},{tag:OSe.strikethrough,textDecoration:"line-through"},{tag:OSe.invalid,color:"var(--scalar-color-3)"}]})}),vNe=V(()=>{eke(),pNe=new uwe({regexp:/(\{[^}]+\})/g,decoration:()=>aOe.mark({attributes:{class:"api-client-url-variable"}})}),hNe=()=>UOe.fromClass(class{variables;constructor(e){this.variables=pNe.createDeco(e)}update(e){this.variables=pNe.updateDeco(e,this.variables)}},{decorations:e=>e.variables,provide:e=>Yxe.atomicRanges.of(t=>t.plugin(e)?.variables||aOe.none)})});function bNe({onChange:e,onBlur:t,onFocus:a,provider:r,language:n,classes:o=[],readOnly:i=!1,lineNumbers:s=!1,withVariables:l=!1,forceFoldGutter:c=!1,disableEnter:u=!1,disableCloseBrackets:d=!1,disableTabIndent:p=!1,withoutTheme:h=!1,lint:m=!1,additionalExtensions:f=[],placeholder:g}){let v=[bye(),XTe(),rwe.of(bEe),qSe(BAe,{fallback:!0}),Yxe.theme({".cm-line":{lineHeight:"22px",padding:"0 2px 0 4px"},".cm-gutterElement":{lineHeight:"22px"},".cm-tooltip":{background:"var(--scalar-background-1)",border:"1px solid var(--scalar-border-color)",borderRadius:"var(--scalar-radius)",boxShadow:"var(--scalar-shadow-2)",fontSize:"12px",overflow:"hidden"},".cm-tooltip-autocomplete ul":{padding:"6px"},".cm-tooltip-autocomplete ul li":{padding:"3px 6px",color:"var(--scalar-color-1)",borderRadius:"3px"},".cm-tooltip-autocomplete ul li[aria-selected]":{background:"var(--scalar-background-2)",color:"var(--scalar-color-1)"},".cm-tooltip-autocomplete ul li:hover":{background:"var(--scalar-background-3)",color:"var(--scalar-color-1)"},".cm-completionLabel":{color:"var(--scalar-color-1)"},".cm-completionDetail":{color:"var(--scalar-color-3)"},".cm-tooltip-lint":{backgroundColor:"var(--scalar-background-1)"},".cm-diagnostic-error":{borderLeft:"0",color:"#dc1b19"},".cm-foldPlaceholder":{background:"var(--scalar-background-1)",border:"none",fontFamily:"var(--scalar-font)"}}),Yxe.updateListener.of(t=>{t.docChanged&&e?.(t.state.doc.toString())}),Yxe.domEventHandlers({blur:(e,a)=>{t?.(a.state.doc.toString(),e)},focus:(e,t)=>{a?.(t.state.doc.toString(),e)}}),Yxe.editorAttributes.of({class:o.join(" ")}),...f];if(r&&v.push(r),h||v.push(dNe),i?v.push(Yxe.editable.of(!1)):(v.push(fve.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let a=e.newDoc,{head:r}=e.newSelection.main,n=a.lineAt(r);if(r>n.from+OAe)return e;let o=a.sliceString(n.from,r);if(!t.some(e=>e.test(o)))return e;let{state:i}=e,s=-1,l=[];for(let{head:e}of i.selection.ranges){let t=i.doc.lineAt(e);if(t.from==s)continue;s=t.from;let a=ESe(i,t.from);if(null==a)continue;let r=/^\s*/.exec(t.text)[0],n=TSe(i,a);r!=n&&l.push({from:t.from,to:t.from+r.length,insert:n})}return l.length?[e,{changes:l,sequential:!0}]:e}),WSe(),function(e={}){return[yTe,dTe,eTe.of(e),vTe,FTe,OTe]}(),rwe.of([...qTe,wNe]),WSe()),d||v.push([ZTe,UTe],rwe.of([...QTe])),p?v.push(rwe.of([{key:"Tab",run:()=>!1,shift:()=>!1}])):v.push(rwe.of([wEe]))),g&&v.push(function(e){return UOe.fromClass(class{constructor(t){this.view=t,this.placeholder=e?aOe.set([aOe.widget({widget:new Owe(e),side:1}).range(0)]):aOe.none}get decorations(){return this.view.state.doc.length?aOe.none:this.placeholder}},{decorations:e=>e.decorations})}(g)),s&&v.push(function(e={}){return[Ywe.of(e),Aye(),Jwe]}()),c&&v.push(VSe({markerDOM:e=>{let t=document.createElement("div");return t.classList.add("cm-foldMarker"),t.innerHTML=e?yNe:ONe,t}})),n&&SNe[n]&&(v.push(SNe[n]()),c||v.push(VSe({markerDOM:e=>{let t=document.createElement("div");return t.classList.add("cm-foldMarker"),t.innerHTML=e?yNe:ONe,t}}))),m&&"json"===n){let e=function(e,t={}){return[nNe.of({source:e,config:t}),rNe,cNe]}(e=>{let t=[],a=e.state.doc.toString();if(a.trim())try{JSON.parse(a)}catch(a){a instanceof Error&&t.push({from:0,to:e.state.doc.length,severity:"error",message:a.message})}return t});v.push(e)}return l&&v.push(hNe()),u?v.push(rwe.of([{key:"Enter",run:()=>!0},{key:"Ctrl-Enter",mac:"Cmd-Enter",run:()=>!0},{key:"Shift-Enter",run:()=>!0}])):v.push(rwe.of([{key:"Enter",run:yEe}])),v}var yNe,ONe,xNe,wNe,kNe,SNe,ANe=V(()=>{WTe(),kEe(),_Ce(),_Me(),PMe(),o$e(),R$e(),KAe(),mNe(),Pve(),eke(),Rc(),gNe(),vNe(),yNe='<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m18 10-6 6-6-6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>',ONe='<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>',Yxe.EDIT_CONTEXT=!1,xNe=e=>"provider"in e&&!!Wa(e.provider),wNe={key:"Mod-a",run:e=>(e.dispatch({selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},kNe=e=>{let t=Za(null),a=(e="")=>{t.value&&t.value.state.doc.toString()!==e&&t.value.dispatch({changes:{from:0,to:t.value.state.doc.length,insert:e},selection:{anchor:Math.min(t.value.state.selection.main.anchor,e.length)}})},r=ol(()=>({onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,disableTabIndent:Wa(e.disableTabIndent),language:Wa(e.language),classes:Wa(e.classes),readOnly:Wa(e.readOnly),lineNumbers:Wa(e.lineNumbers),withVariables:Wa(e.withVariables),forceFoldGutter:Wa(e.forceFoldGutter),disableEnter:Wa(e.disableEnter),disableCloseBrackets:Wa(e.disableCloseBrackets),withoutTheme:Wa(e.withoutTheme),lint:Wa(e.lint),additionalExtensions:Wa(e.extensions),placeholder:Wa(e.placeholder)}));function n(){if(e.codeMirrorRef.value){let n=xNe(e)?Wa(e.provider):null,o=bNe({...r.value,provider:n});t.value=new Yxe({parent:e.codeMirrorRef.value,extensions:o}),xNe(e)||a(Wa(e.content))}}return fn(e.codeMirrorRef,()=>{t.value?.destroy(),n()},{immediate:!0}),ns(()=>t.value?.destroy()),fn(()=>xNe(e)?Wa(e.provider):null,()=>{xNe(e)&&(t.value?.destroy(),n())}),fn(r,()=>{if(!t.value)return;let a=xNe(e)?Wa(e.provider):null,n=bNe({...r.value,provider:a});requestAnimationFrame(()=>{t.value?.dispatch({effects:cve.reconfigure.of(n)})})},{immediate:!0}),fn(()=>Wa(e.content),()=>{xNe(e)||a(Wa(e.content))},{immediate:!0}),{setCodeMirrorContent:a,codeMirror:t}},SNe={html:oMe,json:EMe,yaml:$$e,css:hCe,xml:JMe}});var _Ne,TNe,ENe,CNe,PNe,MNe,$Ne,NNe,INe,RNe,DNe,LNe,BNe,jNe,UNe,zNe,HNe,ZNe,VNe,QNe,qNe,FNe=V(()=>{Rc()}),WNe=V(()=>{Pve(),eke(),b_e(),ANe(),FNe()}),XNe=V(()=>{$fe(),Rc(),WNe(),LJ(),VS(),_Ne=class e extends eOe{app;pillColor;variableInfo;constructor(e,t,a){if(super(),this.variableName=e,"contextFunction"===a)return this.pillColor="var(--scalar-color-3)",void(this.variableInfo={type:"contextFunction",identifier:e,details:aY(e)});this.pillColor=t?.color||"var(--scalar-color-1)";let r=t?.variables?.find(t=>t.name===e),n=r?"string"==typeof r.value?r.value:r.value?.default:void 0;this.variableInfo={type:"environment",name:e,value:n||"No value",isDefined:!!n}}toDOM(){let e=document.createElement("span");return e.className="contextFunction"===this.variableInfo.type?"cm-pill cm-pill--context-fn":"cm-pill",e.textContent=this.variableName,e.style.setProperty("--tw-bg-base",this.pillColor),"environment"===this.variableInfo.type&&(e.style.opacity=this.variableInfo.isDefined?"1":"0.5"),this.app=$c(Sfe,{context:this.variableInfo}),this.app.mount(e),e}destroy(){this.app&&=(this.app.unmount(),null)}eq(t){if(!(t instanceof e)||t.variableName!==this.variableName||t.pillColor!==this.pillColor||t.variableInfo.type!==this.variableInfo.type)return!1;let a=t.variableInfo,r=this.variableInfo;return a.type===r.type&&("environment"===a.type&&"environment"===r.type?a.name===r.name&&a.value===r.value&&a.isDefined===r.isDefined:"contextFunction"===a.type&&"contextFunction"===r.type&&(a.identifier===r.identifier&&a.details===r.details))}ignoreEvent(){return!1}},TNe=e=>UOe.fromClass(class{decorations;lastEnvironment;constructor(t){this.lastEnvironment=e.environment,this.decorations=this.buildDecorations(t)}update(t){if(e.environment!==this.lastEnvironment)return this.lastEnvironment=e.environment,void(this.decorations=this.buildDecorations(t.view));(t.docChanged||t.viewportChanged)&&(this.decorations=this.buildDecorations(t.view))}buildDecorations(t){let a=new Ove,r=e.isContextFunctionName??(()=>!1);for(let{from:n,to:o}of t.visibleRanges){let i,s=t.state.doc.sliceString(n,o),l=new RegExp(Bw.VARIABLES.source,Bw.VARIABLES.flags);for(;null!==(i=l.exec(s));){let o=n+i.index,s=o+i[0].length,l=i[1]??"";if(t.state.doc.sliceString(o,s).includes("\n"))continue;let c=r(l)?"contextFunction":"environment";a.add(o,s,aOe.widget({widget:new _Ne(l,e.environment,c),side:1}))}}return a.finish()}},{decorations:e=>e.decorations}),ENe=Yxe.domEventHandlers({keydown(e,t){if("Backspace"!==e.key)return!1;let{state:a}=t,{from:r,to:n}=a.selection.main;return 0===r&&n===a.doc.length?(t.dispatch({changes:{from:0,to:a.doc.length},selection:{anchor:0}}),e.preventDefault(),!0):r===n&&r>=2&&"}}"===a.doc.sliceString(r-2,r)&&(t.dispatch({changes:{from:r-2,to:r},selection:{anchor:r-2}}),e.preventDefault(),!0)}})}),GNe=V(()=>{CNe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"}),YNe=V(()=>{GNe(),PNe=(e=21)=>{let t="",a=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=CNe[63&a[e]];return t}}),KNe=V(()=>{Ahe(),Xme(),XNe(),Rc(),wE(),WNe(),LJ(),YNe(),MNe={class:"whitespace-nowrap"},$Ne=["id"],NNe={key:0,class:"z-context text-c-2 absolute right-1.5 bottom-1 hidden font-sans group-has-[:focus-visible]/input:block",role:"alert"},INe={key:5,class:"centered-y text-orange absolute right-7 text-xs"},RNe={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1"},DNe={key:7,class:"required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 group-[.alert]:bg-transparent group-[.alert]:shadow-none group-[.error]:bg-transparent group-[.error]:shadow-none peer-has-[.cm-focused]:opacity-0"},LNe=Pn({inheritAttrs:!1,__name:"CodeInput",props:{modelValue:{type:[String,Number,Boolean,Array,Object]},environment:{},type:{},disabled:{type:Boolean,default:!1},error:{type:Boolean,default:!1},layout:{default:"desktop"},enum:{},examples:{},default:{type:[String,Number,Boolean,Array,Object]},nullable:{type:Boolean,default:!1},placeholder:{},required:{type:Boolean},colorPicker:{type:Boolean,default:!1},lineNumbers:{type:Boolean,default:!1},lint:{type:Boolean,default:!1},lineWrapping:{type:Boolean,default:!1},language:{},extensions:{default:()=>[]},disableTabIndent:{type:Boolean,default:!1},disableEnter:{type:Boolean,default:!1},disableCloseBrackets:{type:Boolean,default:!1},emitOnBlur:{type:Boolean,default:!0},withVariables:{type:Boolean,default:!0},withFakeData:{type:Boolean,default:!1},alwaysEmitChange:{type:Boolean,default:!1},handleFieldChange:{type:Function},handleFieldSubmit:{type:Function},linethrough:{type:Boolean}},emits:["update:modelValue","submit","navigate","blur"],setup(e,{expose:t,emit:a}){let r=a,n=ro(),o=n.id||`id-${PNe()}`,i=Za(!1),s=ol(()=>!e.enum?.length&&("boolean"===e.type||Array.isArray(e.type)&&e.type.includes("boolean"))),l=ol(()=>e.nullable?["true","false","null"]:["true","false"]),c=ol(()=>Array.isArray(e.type)?e.type.find(e=>"null"!==e)??"string":e.type),u=t=>{!e.alwaysEmitChange&&t===y(e.modelValue)||(e.handleFieldChange?e.handleFieldChange(t):r("update:modelValue",t))},d=(t,a)=>{e.handleFieldSubmit?e.handleFieldSubmit(t):r("submit",t,a)},p=(t,a)=>{i.value=!1,e.emitOnBlur&&e.modelValue&&d(t,a),r("blur",t,a)},h=e=>r("update:modelValue",e),m=()=>{let t=[...e.extensions];return e.colorPicker&&t.push(v_e),t},f=ol(()=>e.withFakeData?nY.map(e=>({key:e,description:aY(e)})):[]),g=ol(()=>TNe({environment:e.environment,isContextFunctionName:oY,isReadOnly:"modal"===e.layout})),v=ol(()=>[...m(),g.value,ENe]),b=Za(null),y=e=>"string"==typeof e?e:JSON.stringify(e),{codeMirror:O,setCodeMirrorContent:x}=kNe({content:Ya(()=>y(e.modelValue)),onChange:e=>{u(e),T()},onFocus:()=>{i.value=!0},onBlur:p,codeMirrorRef:b,disableTabIndent:Ya(()=>e.disableTabIndent),disableEnter:Ya(()=>e.disableEnter),disableCloseBrackets:Ya(()=>e.disableCloseBrackets),lineNumbers:Ya(()=>e.lineNumbers),language:Ya(()=>e.language),lint:Ya(()=>e.lint),extensions:v,placeholder:Ya(()=>e.placeholder)});fn(O,()=>{O.value&&Object.hasOwn(n,"autofocus")&&O.value.focus()});let w=Za(!1),k=Za(""),S=Za({left:0,top:0}),A=Za(null),{handleDropdownSelect:_,updateDropdownVisibility:T}=function(e){let{codeMirror:t,query:a,showDropdown:r,dropdownPosition:n}=e;function o(){return t.value?.state.selection.main.head||0}function i(e){return t.value?.coordsAtPos(e)}function s(){let e=o();requestAnimationFrame(()=>{let t=i(e-a.value.length-2);t&&(n.value={left:t.left,top:Math.max(t.bottom)})})}function l(){let e=o(),l=t.value?.state.doc.sliceString(0,e)||"",c=l.lastIndexOf("{{");c>l.lastIndexOf("}}")?(a.value=l.slice(c+2),r.value=!0,n.value=i(e)||{left:0,top:0},""===a.value&&s()):r.value=!1}return fn(a,s),fn(()=>t.value?.state.doc.toString(),l),{handleDropdownSelect:function(e){let n=`{{${e}}}`,i=o(),s=Math.max(0,i-a.value.length-2),l=i;t.value?.dispatch({changes:{from:s,to:l,insert:n}}),r.value=!1},updateDropdownVisibility:l}}({codeMirror:O,query:k,showDropdown:w,dropdownPosition:S}),E=ol(()=>w.value&&e.withVariables&&"modal"!==e.layout&&(!!e.environment||e.withFakeData)),C=(t,a)=>{w.value?"down"===t||"up"===t?(a.preventDefault(),A.value?.handleArrowKey(t)):"enter"===t&&(a.preventDefault(),A.value?.handleSelect()):("escape"===t&&!e.disableTabIndent&&a.stopPropagation(),"enter"===t&&a.target instanceof HTMLDivElement&&d(O.value?.state.doc.toString()??"",a))};return t({focus:e=>{if(!O.value||(O.value.focus(),!bE(e)))return;let t="start"===e?0:"end"===e?O.value.state.doc.length:e;O.value.dispatch({selection:{anchor:t},scrollIntoView:!0})},isFocused:i,handleChange:u,handleSubmit:d,handleBlur:p,booleanOptions:l,codeMirror:O,codeMirrorRef:b,modelValue:e.modelValue,setCodeMirrorContent:x,cursorPosition:()=>O.value?.state.selection.main.head,serializeValue:y}),(t,a)=>(Zo(),qo(Ls,null,[e.disabled?(Zo(),qo("div",{key:0,class:tt(["text-c-2 flex cursor-default items-center justify-center",{"font-code pr-2 pl-1 text-base":"modal"===e.layout,"px-2":"modal"!==e.layout,"line-through":e.linethrough}]),"data-testid":"code-input-disabled"},[Go("span",MNe,Kt(e.modelValue),1)],2)):e.enum?.length?(Zo(),Fo(ghe,{key:1,default:e.default,modelValue:e.modelValue,type:c.value,value:e.enum,"onUpdate:modelValue":h},null,8,["default","modelValue","type","value"])):s.value?(Zo(),Fo(ghe,{key:2,default:e.default,modelValue:e.modelValue,value:l.value,"onUpdate:modelValue":h},null,8,["default","modelValue","value"])):e.examples?.length?(Zo(),Fo(ghe,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":h},null,8,["default","modelValue","value"])):(Zo(),qo("div",ii({key:4,id:Fa(o)},t.$attrs,{ref_key:"codeMirrorRef",ref:b,class:["group/input group-[.alert]:outline-orange group-[.error]:outline-red font-code peer relative w-full overflow-hidden text-xs leading-[1.44] whitespace-nowrap -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline",{"line-wrapping has-[:focus-visible]:bg-b-1 has-[:focus-visible]:absolute has-[:focus-visible]:z-1":e.lineWrapping,"flow-code-input--error":e.error,"line-through":e.linethrough}],onKeydown:[a[0]||=Tc(Ac(e=>C("down",e),["stop"]),["down"]),a[1]||=Tc(e=>C("enter",e),["enter"]),a[2]||=Tc(e=>C("escape",e),["escape"]),a[3]||=Tc(Ac(e=>C("up",e),["stop"]),["up"])]}),[e.disableTabIndent?ai("",!0):(Zo(),qo("div",NNe,[...a[5]||=[ei(" Press ",-1),Go("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Esc",-1),ei(" then ",-1),Go("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Tab",-1),ei(" to exit ",-1)]]))],16,$Ne)),t.$slots.warning?(Zo(),qo("div",INe,[Jn(t.$slots,"warning",{},void 0,!0)])):ai("",!0),t.$slots.icon?(Zo(),qo("div",RNe,[Jn(t.$slots,"icon",{},void 0,!0)])):ai("",!0),e.required?(Zo(),qo("div",DNe," Required ")):ai("",!0),E.value?(Zo(),Fo(Vme,{key:8,ref_key:"dropdownRef",ref:A,contextFunctionItems:f.value,dropdownPosition:S.value,environment:e.environment,query:k.value,onRedirect:a[4]||=e=>r("navigate",{page:"document",path:"environment"}),onSelect:Fa(_)},null,8,["contextFunctionItems","dropdownPosition","environment","query","onSelect"])):ai("",!0)],64))}})}),JNe=V(()=>{_m(),KNe(),BNe=km(LNe,[["__scopeId","data-v-3118bf46"]])}),eIe=V(()=>{Rc(),iE(),jNe=["role"],UNe={key:0,class:"sr-only"},zNe=Pn({__name:"DataTable",props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){let{cx:t}=aE();return(a,r)=>(Zo(),qo("div",at(Ko(Fa(t)(e.scroll?"overflow-x-auto custom-scroll":"overflow-visible","scalar-data-table"))),[Go("table",{class:tt(["mb-0 grid min-h-8 auto-rows-auto",{"w-max min-w-full":e.scroll}]),role:e.presentational?"presentation":"table",style:Je({gridTemplateColumns:e.columns.map(e=>e||"1fr").join(" ")})},[a.$slots.caption?(Zo(),qo("caption",UNe,[Jn(a.$slots,"caption")])):ai("",!0),Jn(a.$slots,"default")],14,jNe)],16))}})}),tIe=V(()=>{eIe(),HNe=zNe}),aIe=V(()=>{Rc(),iE(),ZNe=Pn({inheritAttrs:!1,__name:"DataTableCell",props:{is:{default:"td"}},setup(e){let{cx:t}=aE();return(a,r)=>(Zo(),Fo(Wn(e.is),ii(Fa(t)("box-content max-h-8 min-h-8 min-w-8 border-l-0 border-t border-b-0 border-r flex text-base/5 last:border-r-0 group-last:border-b-transparent p-0 m-0 relative"),{class:"group-[.alert]:bg-b-alert group-[.error]:bg-b-danger"}),{default:cn(()=>[Jn(a.$slots,"default")]),_:3},16))}})}),rIe=V(()=>{aIe(),VNe=ZNe}),nIe=V(()=>{rIe(),Rc(),iE(),QNe=Pn({__name:"DataTableHeader",setup(e){let{cx:t}=aE();return(e,a)=>(Zo(),Fo(VNe,ii({is:"th"},Fa(t)("items-center font-medium px-2 min-w-0 -outline-offset-1")),{default:cn(()=>[Jn(e.$slots,"default")]),_:3},16))}})}),oIe=V(()=>{nIe(),qNe=QNe});function iIe(e,t){return Zo(),qo("tr",sIe,[Jn(e.$slots,"default")])}var sIe,lIe,cIe,uIe,dIe,pIe,hIe,mIe=V(()=>{_m(),Rc(),sIe={class:"group contents"},lIe=km({},[["render",iIe]])}),fIe=V(()=>{cIe=e=>{if(e instanceof File)return e.name}}),gIe=V(()=>{rIe(),Rc(),iE(),Qle(),uIe=["checked","disabled"],dIe=Pn({__name:"DataTableCheckbox",props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:"center"}},emits:["update:modelValue"],setup(e){let t=XT({base:"w-8 h-8 flex items-center justify-center text-b-2 peer-checked:text-c-1 pointer-events-none absolute",variants:{align:{left:"left-0",center:"centered"}}});return(a,r)=>(Zo(),Fo(VNe,{class:"group/cell relative flex min-w-8"},{default:cn(()=>[Go("input",{checked:e.modelValue,class:"peer absolute inset-0 size-full cursor-pointer opacity-0 disabled:cursor-default",disabled:!!e.disabled,type:"checkbox",onChange:r[0]||=e=>a.$emit("update:modelValue",e.target.checked)},null,40,uIe),Go("div",{class:tt(Fa(t)({align:e.align}))},[Go("div",{class:tt(["absolute m-auto size-3/4 rounded border-[1px] opacity-0",!e.disabled&&"group-has-[:focus-visible]/cell:border-c-accent group-hover:opacity-100 group-has-[:focus-visible]/cell:opacity-100"])},null,2),qs(Fa(Ple),{icon:"Checkmark",size:"xs",thickness:"2.5"})],2)]),_:1}))}})}),vIe=V(()=>{gIe(),pIe=dIe}),bIe=V(()=>{hIe=(e,t)=>{if(!e||!("type"in e)||"string"!=typeof t)return{ok:!0};if("integer"===e.type||"number"===e.type){let a=Number(t);if(isNaN(a))return{ok:!1,message:"Value must be a number (e.g., 42.5)"};if("integer"===e.type&&!Number.isInteger(a))return{ok:!1,message:"Value must be a whole number (e.g., 42)"};if(void 0!==e.minimum&&a<e.minimum)return{ok:!1,message:`Value must be ${e.minimum} or greater`};if(void 0!==e.maximum&&a>e.maximum)return{ok:!1,message:`Value must be ${e.maximum} or less`}}if("string"===e.type&&e.format){if("date"===e.format&&!/^\d{4}-\d{2}-\d{2}$/.test(t??""))return{ok:!1,message:"Please enter a valid date in YYYY-MM-DD format (e.g., 2024-03-20)"};if("date-time"===e.format&&!/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$/.test(t??""))return{ok:!1,message:"Please enter a valid date and time in RFC 3339 format (e.g., 2024-03-20T13:45:30Z)"};if("email"===e.format&&!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t??""))return{ok:!1,message:"Please enter a valid email address (e.g., user@example.com)"};if("uri"===e.format&&!/^[a-zA-Z][a-zA-Z0-9+.-]*:.+$/.test(t??""))return{ok:!1,message:"Please enter a valid URI (e.g., https://example.com)"}}return{ok:!0}}});function yIe(e){return function(t,a,r){return!(!function(e){return"object"==typeof e&&!!e&&"type"in e}(t)||!e.call(this,t,"number"==typeof a?a:void 0,r||void 0))}}function OIe(){return!0}function xIe(e,t,a,r){let n;"function"==typeof t&&"function"!=typeof a?(r=a,a=t):n=t;let o=kIe(n),i=r?-1:1;!function e(n,s,l){let c=n&&"object"==typeof n?n:{};if("string"==typeof c.type){let e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+n.type+(e?"<"+e+">":"")+")"})}return u;function u(){let c,u,d,p=SIe;if((!t||o(n,s,l[l.length-1]||void 0))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[!0,e]:null==e?SIe:[e]}(a(n,l)),!1===p[0]))return p;if("children"in n&&n.children){let t=n;if(t.children&&"skip"!==p[0])for(u=(r?t.children.length:-1)+i,d=l.concat(t);u>-1&&u<t.children.length;){let a=t.children[u];if(c=e(a,u,d)(),!1===c[0])return c;u="number"==typeof c[1]?c[1]:u+i}}return p}}(e,void 0,[])()}function wIe(e,t,a,r){let n,o,i;"function"==typeof t&&"function"!=typeof a?(o=void 0,i=t,n=a):(o=t,i=a,n=r),xIe(e,o,function(e,t){let a=t[t.length-1],r=a?a.children.indexOf(e):void 0;return i(e,r,a)},n)}var kIe,SIe,AIe,_Ie=V(()=>{kIe=function(e){if(null==e)return OIe;if("function"==typeof e)return yIe(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],a=-1;for(;++a<e.length;)t[a]=kIe(e[a]);return yIe(function(...e){let a=-1;for(;++a<t.length;)if(t[a].apply(this,e))return!0;return!1})}(e):function(e){let t=e;return yIe(function(a){let r,n=a;for(r in e)if(n[r]!==t[r])return!1;return!0})}(e);if("string"==typeof e)return function(e){return yIe(function(t){return t&&t.type===e})}(e);throw Error("Expected function, string, or object as test")},SIe=[],AIe="skip"});function TIe(e){return function(t,a,r){return!(!CIe(t)||!e.call(this,t,"number"==typeof a?a:void 0,r||void 0))}}function EIe(e){return!!(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}function CIe(e){return"object"==typeof e&&!!e&&"type"in e&&"tagName"in e}function PIe(e,t){let a=t||{},r="children"in e?e.children:[],n=iRe(e),o=IIe(e,{whitespace:a.whitespace||"normal",breakBefore:!1,breakAfter:!1}),i=[];("text"===e.type||"comment"===e.type)&&i.push(...$Ie(e,{whitespace:o,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)i.push(...MIe(r[s],e,{whitespace:o,breakBefore:s?void 0:n,breakAfter:s<r.length-1?tRe(r[s+1]):n}));let l,c=[];for(s=-1;++s<i.length;){let e=i[s];"number"==typeof e?void 0!==l&&e>l&&(l=e):e&&(void 0!==l&&l>-1&&c.push("\n".repeat(l)||" "),l=-1,c.push(e))}return c.join("")}function MIe(e,t,a){return"element"===e.type?function(e,t,a){let r,n,o=IIe(e,a),i=e.children||[],s=-1,l=[];if(oRe(e))return l;for(tRe(e)||nRe(e)&&GIe(t,e,nRe)?n="\n":rRe(e)?(r=2,n=2):iRe(e)&&(r=1,n=1);++s<i.length;)l=l.concat(MIe(i[s],e,{whitespace:o,breakBefore:s?void 0:r,breakAfter:s<i.length-1?tRe(i[s+1]):n}));return aRe(e)&&GIe(t,e,aRe)&&l.push("\t"),r&&l.unshift(r),n&&l.push(n),l}(e,t,a):"text"===e.type?"normal"===a.whitespace?$Ie(e,a):function(e){return[String(e.value)]}(e):[]}function $Ie(e,t){let a=String(e.value),r=[],n=[],o=0;for(;o<=a.length;){JIe.lastIndex=o;let e=JIe.exec(a),n=e&&"index"in e?e.index:a.length;r.push(NIe(a.slice(o,n).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==o||t.breakBefore,n!==a.length||t.breakAfter)),o=n+1}let i,s=-1;for(;++s<r.length;)8203===r[s].charCodeAt(r[s].length-1)||s<r.length-1&&8203===r[s+1].charCodeAt(0)?(n.push(r[s]),i=void 0):r[s]?("number"==typeof i&&n.push(i),n.push(r[s]),i=0):(0===s||s===r.length-1)&&n.push(0);return n}function NIe(e,t,a){let r,n=[],o=0;for(;o<e.length;){eRe.lastIndex=o;let a=eRe.exec(e);r=a?a.index:e.length,!o&&!r&&a&&!t&&n.push(""),o!==r&&n.push(e.slice(o,r)),o=a?r+a[0].length:r}return o!==r&&!a&&n.push(""),n.join(" ")}function IIe(e,t){if("element"===e.type){let a=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return a.wrap?"pre-wrap":"pre";case"td":case"th":return a.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function RIe(e){return!!(e.properties||{}).hidden}function DIe(e){return"td"===e.tagName||"th"===e.tagName}function LIe(e){return"dialog"===e.tagName&&!(e.properties||{}).open}function BIe(e){let t=e||dRe,a=t.aliases,r=e?.detect??!1,n=t.languages,o=t.plainText,i=t.prefix,s=t.subset,l="hljs",c=e?.lowlight??function(e){let t=sRe.newInstance();return e&&n(e),{highlight:a,highlightAuto:function(e,n){let o,i=(n||lRe).subset||r(),s=-1,l=0;for(;++s<i.length;){let r=i[s];if(!t.getLanguage(r))continue;let c=a(r,e,n);c.data&&void 0!==c.data.relevance&&c.data.relevance>l&&(l=c.data.relevance,o=c)}return o||{type:"root",children:[],data:{language:void 0,relevance:l}}},listLanguages:r,register:n,registerAlias:function(e,a){if("string"==typeof e)t.registerAliases("string"==typeof a?a:[...a],{languageName:e});else{let a;for(a in e)if(Object.hasOwn(e,a)){let r=e[a];t.registerAliases("string"==typeof r?r:[...r],{languageName:a})}}},registered:function(e){return!!t.getLanguage(e)}};function a(e,a,r){let n=r||lRe,o="string"==typeof n.prefix?n.prefix:cRe;if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:uRe,classPrefix:o});let i=t.highlight(a,{ignoreIllegals:!0,language:e});if(i.errorRaised)throw Error("Could not highlight with `Highlight.js`",{cause:i.errorRaised});let s=i._emitter.root,l=s.data;return l.language=i.language,l.relevance=i.relevance,s}function r(){return t.listLanguages()}function n(e,a){if("string"==typeof e)t.registerLanguage(e,a);else{let a;for(a in e)Object.hasOwn(e,a)&&t.registerLanguage(a,e[a])}}}(n);if(a&&c.registerAlias(a),i){let e=i.indexOf("-");l=e>-1?i.slice(0,e):i}return(e,t)=>{wIe(e,"element",(e,a,n)=>{if("code"!==e.tagName||!n||"element"!==n.type||"pre"!==n.tagName)return;let u,d=function(e){let t=e.properties.className;if(!Array.isArray(t))return"";let a=t.reduce((e,t)=>{if(e)return e;let a=String(t);return"no-highlight"===a||"nohighlight"===a?"no-highlight":"lang-"===a.slice(0,5)?a.slice(5):"language-"===a.slice(0,9)?a.slice(9):e},"");return XIe[a||""]||a}(e);if(!("no-highlight"===d||!d&&!r||d&&o?.includes(d))){Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(l)||e.properties.className.unshift(l);try{u=d?c.highlight(d,PIe(n),{prefix:i}):c.highlightAuto(PIe(n),{prefix:i,subset:s})}catch(a){let r=a;if(d&&/Unknown language/.test(r.message))return void t.message(`Cannot highlight as \`${d}\`, it's not registered`,{ancestors:[n,e],cause:r,place:e.position,ruleId:"missing-language",source:"rehype-highlight"});throw r}!d&&u.data?.language&&e.properties.className.push("language-"+u.data.language),u.children.length>0&&(e.children=u.children)}})}}var jIe,UIe,zIe,HIe,ZIe,VIe,QIe,qIe,FIe,WIe,XIe,GIe,YIe,KIe,JIe,eRe,tRe,aRe,rRe,nRe,oRe,iRe,sRe,lRe,cRe,uRe,dRe,pRe=V(()=>{_Ie(),jIe=Object.create,UIe=Object.defineProperty,zIe=Object.getOwnPropertyDescriptor,HIe=Object.getOwnPropertyNames,ZIe=Object.getPrototypeOf,VIe=Object.prototype.hasOwnProperty,QIe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),qIe=(e,t)=>{let a={};for(var r in e)UIe(a,r,{get:e[r],enumerable:!0});return t||UIe(a,Symbol.toStringTag,{value:"Module"}),a},FIe=(e,t,a,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var n,o=HIe(t),i=0,s=o.length;i<s;i++)n=o[i],!VIe.call(e,n)&&n!==a&&UIe(e,n,{get:(e=>t[e]).bind(null,n),enumerable:!(r=zIe(t,n))||r.enumerable});return e},WIe=(e,t,a)=>(a=null==e?{}:jIe(ZIe(e)),FIe(!t&&e&&e.__esModule?a:UIe(a,"default",{value:e,enumerable:!0}),e)),XIe={ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp","c++":"cpp",node:"javascript"},GIe=function(e,t,a){let r=kIe(a);if(!e||!e.type||!e.children)throw Error("Expected parent node");if("number"==typeof t){if(t<0||t===1/0)throw Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]},YIe=function(e,t,a,r,n){let o=KIe(t);if(null!=a&&("number"!=typeof a||a<0||a===1/0))throw Error("Expected positive finite `index`");if(!(null==r||r.type&&r.children))throw Error("Expected valid `parent`");if(null==a!=(null==r))throw Error("Expected both `index` and `parent`");return!!CIe(e)&&o.call(n,e,a,r)},KIe=function(e){if(null==e)return EIe;if("string"==typeof e)return function(e){return TIe(function(t){return t.tagName===e})}(e);if("object"==typeof e)return function(e){let t=[],a=-1;for(;++a<e.length;)t[a]=KIe(e[a]);return TIe(function(...e){let a=-1;for(;++a<t.length;)if(t[a].apply(this,e))return!0;return!1})}(e);if("function"==typeof e)return TIe(e);throw Error("Expected function, string, or array as `test`")},JIe=/\n/g,eRe=/[\t ]+/g,tRe=KIe("br"),aRe=KIe(DIe),rRe=KIe("p"),nRe=KIe("tr"),oRe=KIe(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",RIe,LIe]),iRe=KIe("address.article.aside.blockquote.body.caption.center.dd.dialog.dir.dl.dt.div.figure.figcaption.footer.form,.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.legend.li.listing.main.menu.nav.ol.p.plaintext.pre.section.ul.xmp".split(".")),sRe=WIe(QIe((e,t)=>{function a(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let r=e[t],n=typeof r;("object"===n||"function"===n)&&!Object.isFrozen(r)&&a(r)}),e}var r=class{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function n(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function o(e,...t){let a=Object.create(null);for(let t in e)a[t]=e[t];return t.forEach(function(e){for(let t in e)a[t]=e[t]}),a}var i=e=>!!e.scope,s=class{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=n(e)}openNode(e){if(!i(e))return;let t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){let a=e.split(".");return[`${t}${a.shift()}`,...a.map((e,t)=>`${e}${"_".repeat(t+1)}`)].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){i(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},l=(e={})=>{let t={children:[]};return Object.assign(t,e),t},c=class e{constructor(){this.rootNode=l(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=l({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(t){"string"!=typeof t&&t.children&&(t.children.every(e=>"string"==typeof e)?t.children=[t.children.join("")]:t.children.forEach(t=>{e._collapse(t)}))}},u=class extends c{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let a=e.root;t&&(a.scope=`language:${t}`),this.add(a)}toHTML(){return new s(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function d(e){return e?"string"==typeof e?e:e.source:null}function p(e){return f("(?=",e,")")}function h(e){return f("(?:",e,")*")}function m(e){return f("(?:",e,")?")}function f(...e){return e.map(e=>d(e)).join("")}function g(...e){return"("+(function(e){let t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(e=>d(e)).join("|")+")"}function v(e){return RegExp(e.toString()+"|").exec("").length-1}var b=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function y(e,{joinWith:t}){let a=0;return e.map(e=>{a+=1;let t=a,r=d(e),n="";for(;r.length>0;){let e=b.exec(r);if(!e){n+=r;break}n+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?n+="\\"+String(Number(e[1])+t):(n+=e[0],"("===e[0]&&a++)}return n}).map(e=>`(${e})`).join(t)}var O="[a-zA-Z]\\w*",x="[a-zA-Z_]\\w*",w="\\b\\d+(\\.\\d+)?",k="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",S="\\b(0b[01]+)",A={begin:"\\\\[\\s\\S]",relevance:0},_={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[A]},T={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[A]},E=function(e,t,a={}){let r=o({scope:"comment",begin:e,end:t,contains:[]},a);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let n=g("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 r.contains.push({begin:f(/[ ]+/,"(",n,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},C=E("//","$"),P=E("/\\*","\\*/"),M=E("#","$"),$={scope:"number",begin:w,relevance:0},N={scope:"number",begin:k,relevance:0},I={scope:"number",begin:S,relevance:0},R={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[A,{begin:/\[/,end:/\]/,relevance:0,contains:[A]}]},D={scope:"title",begin:O,relevance:0},L={scope:"title",begin:x,relevance:0},B={begin:"\\.\\s*"+x,relevance:0},j=Object.freeze({__proto__:null,APOS_STRING_MODE:_,BACKSLASH_ESCAPE:A,BINARY_NUMBER_MODE:I,BINARY_NUMBER_RE:S,COMMENT:E,C_BLOCK_COMMENT_MODE:P,C_LINE_COMMENT_MODE:C,C_NUMBER_MODE:N,C_NUMBER_RE:k,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:M,IDENT_RE:O,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:B,NUMBER_MODE:$,NUMBER_RE:w,PHRASAL_WORDS_MODE:{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/},QUOTE_STRING_MODE:T,REGEXP_MODE:R,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=f(t,/.*\b/,e.binary,/\b.*/)),o({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:D,UNDERSCORE_IDENT_RE:x,UNDERSCORE_TITLE_MODE:L});function U(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function z(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function H(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=U,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function Z(e,t){Array.isArray(e.illegal)&&(e.illegal=g(...e.illegal))}function V(e,t){if(e.match){if(e.begin||e.end)throw Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Q(e,t){void 0===e.relevance&&(e.relevance=1)}var q=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error("beforeMatch cannot be used with starts");let a=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=a.keywords,e.begin=f(a.beforeMatch,p(a.begin)),e.starts={relevance:0,contains:[Object.assign(a,{endsParent:!0})]},e.relevance=0,delete a.beforeMatch},F=["of","and","for","in","not","or","if","then","parent","list","value"];function W(e,t,a="keyword"){let r=Object.create(null);return"string"==typeof e?n(a,e.split(" ")):Array.isArray(e)?n(a,e):Object.keys(e).forEach(function(a){Object.assign(r,W(e[a],t,a))}),r;function n(e,a){t&&(a=a.map(e=>e.toLowerCase())),a.forEach(function(t){let a=t.split("|");r[a[0]]=[e,X(a[0],a[1])]})}}function X(e,t){return t?Number(t):function(e){return F.includes(e.toLowerCase())}(e)?0:1}var G={},Y=e=>{console.error(e)},K=(e,...t)=>{console.log(`WARN: ${e}`,...t)},J=(e,t)=>{G[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),G[`${e}/${t}`]=!0)},ee=Error();function te(e,t,{key:a}){let r=0,n=e[a],o={},i={};for(let e=1;e<=t.length;e++)i[e+r]=n[e],o[e+r]=!0,r+=v(t[e-1]);e[a]=i,e[a]._emit=o,e[a]._multi=!0}function ae(e){(function(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)})(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Y("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ee;if("object"!=typeof e.beginScope||null===e.beginScope)throw Y("beginScope must be object"),ee;te(e,e.begin,{key:"beginScope"}),e.begin=y(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Y("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ee;if("object"!=typeof e.endScope||null===e.endScope)throw Y("endScope must be object"),ee;te(e,e.end,{key:"endScope"}),e.end=y(e.end,{joinWith:""})}}(e)}function re(e){function t(t,a){return new RegExp(d(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(a?"g":""))}class a{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=v(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null),this.matcherRe=t(y(this.regexes.map(e=>e[1]),{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let a=t.findIndex((e,t)=>t>0&&void 0!==e),r=this.matchIndexes[a];return t.splice(0,a),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new a;return this.rules.slice(e).forEach(([e,a])=>t.addRule(e,a)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let a=t.exec(e);if(this.resumingScanAtSamePosition()&&(!a||a.index!==this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,a=t.exec(e)}return a&&(this.regexIndex+=a.position+1,this.regexIndex===this.count&&this.considerAll()),a}}function n(e){let t=new r;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}if(e.compilerExtensions||=[],e.contains&&e.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return e.classNameAliases=o(e.classNameAliases||{}),function a(r,o){let i=r;if(r.isCompiled)return i;[z,V,ae,q].forEach(e=>e(r,o)),e.compilerExtensions.forEach(e=>e(r,o)),r.__beforeBegin=null,[H,Z,Q].forEach(e=>e(r,o)),r.isCompiled=!0;let s=null;return"object"==typeof r.keywords&&r.keywords.$pattern&&(r.keywords=Object.assign({},r.keywords),s=r.keywords.$pattern,delete r.keywords.$pattern),s||=/\w+/,r.keywords&&=W(r.keywords,e.case_insensitive),i.keywordPatternRe=t(s,!0),o&&(r.begin||=/\B|\b/,i.beginRe=t(i.begin),!r.end&&!r.endsWithParent&&(r.end=/\B|\b/),r.end&&(i.endRe=t(i.end)),i.terminatorEnd=d(i.end)||"",r.endsWithParent&&o.terminatorEnd&&(i.terminatorEnd+=(r.end?"|":"")+o.terminatorEnd)),r.illegal&&(i.illegalRe=t(r.illegal)),r.contains||=[],r.contains=[].concat(...r.contains.map(function(e){return oe("self"===e?r:e)})),r.contains.forEach(function(e){a(e,i)}),r.starts&&a(r.starts,o),i.matcher=n(i),i}(e)}function ne(e){return!!e&&(e.endsWithParent||ne(e.starts))}function oe(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return o(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:ne(e)?o(e,{starts:e.starts?o(e.starts):null}):Object.isFrozen(e)?o(e):e}var ie=class extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}},se=n,le=o,ce=Symbol("nomatch"),ue=function(e){let t=Object.create(null),n=Object.create(null),o=[],i=!0,s="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]},c={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:u};function d(e){return c.noHighlightRe.test(e)}function v(e,t,a){let r="",n="";"object"==typeof t?(r=e,a=t.ignoreIllegals,n=t.language):(J("10.7.0","highlight(lang, code, ...args) has been deprecated."),J("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),n=e,r=t),void 0===a&&(a=!0);let o={code:r,language:n};T("before:highlight",o);let i=o.result?o.result:b(o.language,o.code,a);return i.code=o.code,T("after:highlight",i),i}function b(e,a,n,o){let l=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!T.keywords)return void C.addText(P);let e=0;T.keywordPatternRe.lastIndex=0;let t=T.keywordPatternRe.exec(P),a="";for(;t;){a+=P.substring(e,t.index);let r=k.case_insensitive?t[0].toLowerCase():t[0],n=u(T,r);if(n){let[e,o]=n;if(C.addText(a),a="",l[r]=(l[r]||0)+1,l[r]<=7&&(M+=o),e.startsWith("_"))a+=t[0];else{let a=k.classNameAliases[e]||e;h(t[0],a)}}else a+=t[0];e=T.keywordPatternRe.lastIndex,t=T.keywordPatternRe.exec(P)}a+=P.substring(e),C.addText(a)}function p(){null==T.subLanguage?d():function(){if(""===P)return;let e=null;if("string"==typeof T.subLanguage){if(!t[T.subLanguage])return void C.addText(P);e=b(T.subLanguage,P,!0,E[T.subLanguage]),E[T.subLanguage]=e._top}else e=y(P,T.subLanguage.length?T.subLanguage:null);T.relevance>0&&(M+=e.relevance),C.__addSublanguage(e._emitter,e.language)}(),P=""}function h(e,t){""!==e&&(C.startScope(t),C.addText(e),C.endScope())}function m(e,t){let a=1,r=t.length-1;for(;a<=r;){if(!e._emit[a]){a++;continue}let r=k.classNameAliases[e[a]]||e[a],n=t[a];r?h(n,r):(P=n,d(),P=""),a++}}function f(e,t){return e.scope&&"string"==typeof e.scope&&C.openNode(k.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(h(P,k.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),P=""):e.beginScope._multi&&(m(e.beginScope,t),P="")),T=Object.create(e,{parent:{value:T}}),T}function g(e,t,a){let n=function(e,t){let a=e&&e.exec(t);return a&&0===a.index}(e.endRe,a);if(n){if(e["on:end"]){let a=new r(e);e["on:end"](t,a),a.isMatchIgnored&&(n=!1)}if(n){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return g(e.parent,t,a)}function v(e){return 0===T.matcher.regexIndex?(P+=e[0],1):(I=!0,0)}function O(e){let t=e[0],a=e.rule,n=new r(a),o=[a.__beforeBegin,a["on:begin"]];for(let a of o)if(a&&(a(e,n),n.isMatchIgnored))return v(t);return a.skip?P+=t:(a.excludeBegin&&(P+=t),p(),!a.returnBegin&&!a.excludeBegin&&(P=t)),f(a,e),a.returnBegin?0:t.length}let x={};function w(t,r){let o=r&&r[0];if(P+=t,null==o)return p(),0;if("begin"===x.type&&"end"===r.type&&x.index===r.index&&""===o){if(P+=a.slice(r.index,r.index+1),!i){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=x.rule,t}return 1}if(x=r,"begin"===r.type)return O(r);if("illegal"===r.type&&!n){let e=Error('Illegal lexeme "'+o+'" for mode "'+(T.scope||"<unnamed>")+'"');throw e.mode=T,e}if("end"===r.type){let e=function(e){let t=e[0],r=a.substring(e.index),n=g(T,e,r);if(!n)return ce;let o=T;T.endScope&&T.endScope._wrap?(p(),h(t,T.endScope._wrap)):T.endScope&&T.endScope._multi?(p(),m(T.endScope,e)):o.skip?P+=t:(o.returnEnd||o.excludeEnd||(P+=t),p(),o.excludeEnd&&(P=t));do{T.scope&&C.closeNode(),!T.skip&&!T.subLanguage&&(M+=T.relevance),T=T.parent}while(T!==n.parent);return n.starts&&f(n.starts,e),o.returnEnd?0:t.length}(r);if(e!==ce)return e}if("illegal"===r.type&&""===o)return P+="\n",1;if(N>1e5&&N>3*r.index)throw Error("potential infinite loop, way more iterations than matches");return P+=o,o.length}let k=S(e);if(!k)throw Y(s.replace("{}",e)),Error('Unknown language: "'+e+'"');let A=re(k),_="",T=o||A,E={},C=new c.__emitter(c);!function(){let e=[];for(let t=T;t!==k;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>C.openNode(e))}();let P="",M=0,$=0,N=0,I=!1;try{if(k.__emitTokens)k.__emitTokens(a,C);else{for(T.matcher.considerAll();;){N++,I?I=!1:T.matcher.considerAll(),T.matcher.lastIndex=$;let e=T.matcher.exec(a);if(!e)break;let t=w(a.substring($,e.index),e);$=e.index+t}w(a.substring($))}return C.finalize(),_=C.toHTML(),{language:e,value:_,relevance:M,illegal:!1,_emitter:C,_top:T}}catch(t){if(t.message&&t.message.includes("Illegal"))return{language:e,value:se(a),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:$,context:a.slice($-100,$+100),mode:t.mode,resultSoFar:_},_emitter:C};if(i)return{language:e,value:se(a),illegal:!1,relevance:0,errorRaised:t,_emitter:C,_top:T};throw t}}function y(e,a){a=a||c.languages||Object.keys(t);let r=function(e){let t={value:se(e),illegal:!1,relevance:0,_top:l,_emitter:new c.__emitter(c)};return t._emitter.addText(e),t}(e),n=a.filter(S).filter(_).map(t=>b(t,e,!1));n.unshift(r);let[o,i]=n.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(S(e.language).supersetOf===t.language)return 1;if(S(t.language).supersetOf===e.language)return-1}return 0}),s=o;return s.secondBest=i,s}function O(e,t,a){let r=t&&n[t]||a;e.classList.add("hljs"),e.classList.add(`language-${r}`)}function x(e){let t=null,a=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";let a=c.languageDetectRe.exec(t);if(a){let t=S(a[1]);return t||(K(s.replace("{}",a[1])),K("Falling back to no-highlight mode for this block.",e)),t?a[1]:"no-highlight"}return t.split(/\s+/).find(e=>d(e)||S(e))}(e);if(d(a))return;if(T("before:highlightElement",{el:e,language:a}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(c.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)),c.throwUnescapedHTML))throw new ie("One of your code blocks includes unescaped HTML.",e.innerHTML);t=e;let r=t.textContent,n=a?v(r,{language:a,ignoreIllegals:!0}):y(r);e.innerHTML=n.value,e.dataset.highlighted="yes",O(e,a,n.language),e.result={language:n.language,re:n.relevance,relevance:n.relevance},n.secondBest&&(e.secondBest={language:n.secondBest.language,relevance:n.secondBest.relevance}),T("after:highlightElement",{el:e,result:n,text:r})}let w=!1;function k(){if("loading"===document.readyState)return w||window.addEventListener("DOMContentLoaded",function(){k()},!1),void(w=!0);document.querySelectorAll(c.cssSelector).forEach(x)}function S(e){return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function A(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach(e=>{n[e.toLowerCase()]=t})}function _(e){let t=S(e);return t&&!t.disableAutodetect}function T(e,t){let a=e;o.forEach(function(e){e[a]&&e[a](t)})}Object.assign(e,{highlight:v,highlightAuto:y,highlightAll:k,highlightElement:x,highlightBlock:function(e){return J("10.7.0","highlightBlock will be removed entirely in v12.0"),J("10.7.0","Please use highlightElement now."),x(e)},configure:function(e){c=le(c,e)},initHighlighting:()=>{k(),J("10.6.0","initHighlighting() deprecated.  Use highlightAll() now.")},initHighlightingOnLoad:function(){k(),J("10.6.0","initHighlightingOnLoad() deprecated.  Use highlightAll() now.")},registerLanguage:function(a,r){let n=null;try{n=r(e)}catch(e){if(Y("Language definition for '{}' could not be registered.".replace("{}",a)),!i)throw e;Y(e),n=l}n.name||=a,t[a]=n,n.rawDefinition=r.bind(null,e),n.aliases&&A(n.aliases,{languageName:a})},unregisterLanguage:function(e){delete t[e];for(let t of Object.keys(n))n[t]===e&&delete n[t]},listLanguages:function(){return Object.keys(t)},getLanguage:S,registerAliases:A,autoDetection:_,inherit:le,addPlugin:function(e){(function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})})(e),o.push(e)},removePlugin:function(e){let t=o.indexOf(e);-1!==t&&o.splice(t,1)}}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString="11.11.1",e.regex={concat:f,lookahead:p,either:g,optional:m,anyNumberOfTimes:h};for(let e in j)"object"==typeof j[e]&&a(j[e]);return Object.assign(e,j),e},de=ue({});de.newInstance=()=>ue({}),t.exports=de,de.HighlightJS=de,de.default=de})()).default,lRe={},cRe="hljs-",uRe=class{constructor(e){this.options=e,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(""===e)return;let t=this.stack[this.stack.length-1],a=t.children[t.children.length-1];a&&"text"===a.type?a.value+=e:t.children.push({type:"text",value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){let a=this.stack[this.stack.length-1],r=e.root.children;t?a.children.push({type:"element",tagName:"span",properties:{className:[t]},children:r}):a.children.push(...r)}openNode(e){let t=this,a={type:"element",tagName:"span",properties:{className:e.split(".").map(function(e,a){return a?e+"_".repeat(a):t.options.classPrefix+e})},children:[]};this.stack[this.stack.length-1].children.push(a),this.stack.push(a)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}},dRe={}});function hRe(e,t){let a={},r={};for(let t of e)Object.assign(a,t.property),Object.assign(r,t.normal);return new fBe(a,r,t)}function mRe(e){return e.toLowerCase()}function fRe(){return 2**++bBe}function gRe(e,t,a){a&&(e[t]=a)}function vRe(e){let t={},a={};for(let[r,n]of Object.entries(e.properties)){let o=new TBe(r,e.transform(e.attributes||{},r),n,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,a[mRe(r)]=r,a[mRe(o.attribute)]=r}return new fBe(t,a,e.space)}function bRe(e,t){return t in e?e[t]:t}function yRe(e,t){return bRe(e,t.toLowerCase())}function ORe(e,t){let a=mRe(t),r=t,n=gBe;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&"data"===a.slice(0,4)&&DBe.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(RBe,wRe);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!RBe.test(e)){let a=e.replace(IBe,xRe);"-"!==a.charAt(0)&&(a="-"+a),t="data"+a}}n=TBe}return new n(r,t)}function xRe(e){return"-"+e.toLowerCase()}function wRe(e){return e.charAt(1).toUpperCase()}function kRe(e){let t=[],a=String(e||""),r=a.indexOf(","),n=0,o=!1;for(;!o;){-1===r&&(r=a.length,o=!0);let e=a.slice(n,r).trim();(e||!o)&&t.push(e),n=r+1,r=a.indexOf(",",n)}return t}function SRe(e,t){let a=t||{};return(""===e[e.length-1]?[...e,""]:e).join((a.padRight?" ":"")+","+(!1===a.padLeft?"":" ")).trim()}function ARe(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function _Re(e){return e.join(" ").trim()}function TRe(e,t,a){let r=a&&function(e){let t={},a=-1;for(;++a<e.length;)t[e[a].toLowerCase()]=e[a];return t}(a);return function(a,n,...o){let i,s=-1;if(null==a){i={type:"root",children:[]};let e=n;o.unshift(e)}else if(i=function(e,t){let a,r,n=e||"",o={},i=0;for(;i<n.length;){jBe.lastIndex=i;let e=jBe.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?"#"===a?o.id=t:Array.isArray(o.className)?o.className.push(t):o.className=[t]:r=t,i+=t.length),e&&(a=e[0],i++)}return{type:"element",tagName:r||t||"div",properties:o,children:[]}}(a,t),i.tagName=i.tagName.toLowerCase(),r&&zBe.call(r,i.tagName)&&(i.tagName=r[i.tagName]),function(e,t){return!("object"!=typeof e||!e||Array.isArray(e))&&("input"===t||!e.type||"string"!=typeof e.type||(!("children"in e)||!Array.isArray(e.children))&&("button"===t?UBe.has(e.type.toLowerCase()):!("value"in e)))}(n,i.tagName)){let t;for(t in n)zBe.call(n,t)&&ERe(e,i.properties,t,n[t])}else o.unshift(n);for(;++s<o.length;)CRe(i.children,o[s]);return"element"===i.type&&"template"===i.tagName&&(i.content={type:"root",children:i.children},i.children=[]),i}}function ERe(e,t,a,r){let n,o=ORe(e,a),i=-1;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;n=r}else n="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?ARe(r):o.commaSeparated?kRe(r):o.commaOrSpaceSeparated?ARe(kRe(r).join(" ")):PRe(o,o.property,r):Array.isArray(r)?r.concat():"style"===o.property?function(e){let t,a=[];for(t in e)zBe.call(e,t)&&a.push([t,e[t]].join(": "));return a.join("; ")}(r):String(r);if(Array.isArray(n)){let e=[];for(;++i<n.length;)e[i]=PRe(o,o.property,n[i]);n=e}if("className"===o.property&&Array.isArray(t.className)){let e=n;n=t.className.concat(e)}t[o.property]=n}}function CRe(e,t){let a=-1;if(null!=t)if("string"==typeof t||"number"==typeof t)e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(;++a<t.length;)CRe(e,t[a]);else{if("object"!=typeof t||!("type"in t))throw Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?CRe(e,t.children):e.push(t)}}function PRe(e,t,a){if("string"==typeof a){if(e.number&&a&&!Number.isNaN(Number(a)))return Number(a);if((e.boolean||e.overloadedBoolean)&&(""===a||mRe(a)===mRe(t)))return!0}return a}function MRe(e,t){let a=t||{};return $Re({file:a.file||void 0,location:!1,schema:"svg"===a.space?BBe:LBe,verbose:a.verbose||!1},e)}function $Re(e,t){let a;switch(t.nodeName){case"#comment":{let r=t;return a={type:"comment",value:r.data},IRe(e,r,a),a}case"#document":case"#document-fragment":{let r=t,n="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(a={type:"root",children:NRe(e,t.childNodes),data:{quirksMode:n}},e.file&&e.location){let t=String(e.file),r=function(e){let t=String(e),a=[];for(QBe.lastIndex=0;QBe.test(t);)a.push(QBe.lastIndex);return a.push(t.length+1),{toPoint:function(e){let t=-1;if("number"==typeof e&&e>-1&&e<a[a.length-1])for(;++t<a.length;)if(a[t]>e)return{line:t+1,column:e-(t>0?a[t-1]:0)+1,offset:e}},toOffset:function(e){let t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in a){let e=(a[t-2]||0)+r-1||0;if(e>-1&&e<a[a.length-1])return e}}}}(t),n=r.toPoint(0),o=r.toPoint(t.length);a.position={start:n,end:o}}return a}case"#documentType":return a={type:"doctype"},IRe(e,t,a),a;case"#text":{let r=t;return a={type:"text",value:r.value},IRe(e,r,a),a}default:return a=function(e,t){let a=e.schema;e.schema=t.namespaceURI===qBe.svg?BBe:LBe;let r=-1,n={};for(;++r<t.attrs.length;){let e=t.attrs[r],a=(e.prefix?e.prefix+":":"")+e.name;FBe.call(WBe,a)||(n[a]=e.value)}let o=("svg"===e.schema.space?VBe:ZBe)(t.tagName,n,NRe(e,t.childNodes));if(IRe(e,t,o),"template"===o.tagName){let a=t,r=a.sourceCodeLocation,n=r&&r.startTag&&RRe(r.startTag),i=r&&r.endTag&&RRe(r.endTag),s=$Re(e,a.content);n&&i&&e.file&&(s.position={start:n.end,end:i.start}),o.content=s}return e.schema=a,o}(e,t),a}}function NRe(e,t){let a=-1,r=[];for(;++a<t.length;){let n=$Re(e,t[a]);r.push(n)}return r}function IRe(e,t,a){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let r=function(e,t,a){let r=RRe(a);if("element"===t.type){let n=t.children[t.children.length-1];if(r&&!a.endTag&&n&&n.position&&n.position.end&&(r.end=Object.assign({},n.position.end)),e.verbose){let r,n={};if(a.attrs)for(r in a.attrs)FBe.call(a.attrs,r)&&(n[ORe(e.schema,r).property]=RRe(a.attrs[r]));a.startTag;let o=RRe(a.startTag),i=a.endTag?RRe(a.endTag):void 0,s={opening:o};i&&(s.closing=i),s.properties=n,t.data={position:s}}}return r}(e,a,t.sourceCodeLocation);r&&(e.location=!0,a.position=r)}}function RRe(e){let t=DRe({line:e.startLine,column:e.startCol,offset:e.startOffset}),a=DRe({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||a?{start:t,end:a}:void 0}function DRe(e){return e.line&&e.column?e:void 0}function LRe(e){return e>=55296&&e<=57343}function BRe(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function jRe(e){return e>=64976&&e<=65007||XBe.has(e)}function URe(e,t){for(let a=e.attrs.length-1;a>=0;a--)if(e.attrs[a].name===t)return e.attrs[a].value;return null}function zRe(e){return e>=rje.ZERO&&e<=rje.NINE}function HRe(e){return e>=rje.UPPER_A&&e<=rje.UPPER_F||e>=rje.LOWER_A&&e<=rje.LOWER_F}function ZRe(e){return e===rje.EQUALS||function(e){return e>=rje.UPPER_A&&e<=rje.UPPER_Z||e>=rje.LOWER_A&&e<=rje.LOWER_Z||zRe(e)}(e)}function VRe(e,t,a,r){let n=(t&nje.BRANCH_LENGTH)>>7,o=t&nje.JUMP_TABLE;if(0===n)return 0!==o&&r===o?a:-1;if(o){let t=r-o;return t<0||t>=n?-1:e[a+t]-1}let i=a,s=i+n-1;for(;i<=s;){let t=i+s>>>1,a=e[t];if(a<r)i=t+1;else{if(!(a>r))return e[t+n];s=t-1}}return-1}function QRe(e){return hje.get(e)??pje.UNKNOWN}function qRe(e){return e>=GBe.LATIN_CAPITAL_A&&e<=GBe.LATIN_CAPITAL_Z}function FRe(e){return function(e){return e>=GBe.LATIN_SMALL_A&&e<=GBe.LATIN_SMALL_Z}(e)||qRe(e)}function WRe(e){return FRe(e)||function(e){return e>=GBe.DIGIT_0&&e<=GBe.DIGIT_9}(e)}function XRe(e){return e+32}function GRe(e){return e===GBe.SPACE||e===GBe.LINE_FEED||e===GBe.TABULATION||e===GBe.FORM_FEED}function YRe(e){return GRe(e)||e===GBe.SOLIDUS||e===GBe.GREATER_THAN_SIGN}function KRe(e,t){return t.some(t=>e.startsWith(t))}function JRe(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Qje){e.attrs[t].name=qje;break}}function eDe(e){for(let t=0;t<e.attrs.length;t++){let a=Fje.get(e.attrs[t].name);null!=a&&(e.attrs[t].name=a)}}function tDe(e){for(let t=0;t<e.attrs.length;t++){let a=Wje.get(e.attrs[t].name);a&&(e.attrs[t].prefix=a.prefix,e.attrs[t].name=a.name,e.attrs[t].namespace=a.namespace)}}function aDe(e,t,a,r){return(!r||r===lje.HTML)&&function(e,t,a){if(t===lje.MATHML&&e===pje.ANNOTATION_XML)for(let e=0;e<a.length;e++)if(a[e].name===cje.ENCODING){let t=a[e].value.toLowerCase();return t===Vje.TEXT_HTML||t===Vje.APPLICATION_XML}return t===lje.SVG&&(e===pje.FOREIGN_OBJECT||e===pje.DESC||e===pje.TITLE)}(e,t,a)||(!r||r===lje.MATHML)&&function(e,t){return t===lje.MATHML&&(e===pje.MI||e===pje.MO||e===pje.MN||e===pje.MS||e===pje.MTEXT)}(e,t)}function rDe(e,t){let a=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return a?e.openElements.contains(a.element)?e.openElements.hasInScope(t.tagID)||(a=null):(e.activeFormattingElements.removeEntry(a),a=null):CDe(e,t),a}function nDe(e,t){let a=null,r=e.openElements.stackTop;for(;r>=0;r--){let n=e.openElements.items[r];if(n===t.element)break;e._isSpecialElement(n,e.openElements.tagIDs[r])&&(a=n)}return a||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),a}function oDe(e,t,a){let r=t,n=e.openElements.getCommonAncestor(t);for(let o=0,i=n;i!==a;o++,i=n){n=e.openElements.getCommonAncestor(i);let a=e.activeFormattingElements.getElementEntry(i),s=a&&o>=Jje;!a||s?(s&&e.activeFormattingElements.removeEntry(a),e.openElements.remove(i)):(i=iDe(e,a),r===t&&(e.activeFormattingElements.bookmark=a),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r}function iDe(e,t){let a=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,a,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function sDe(e,t,a){let r=QRe(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(a);else{let n=e.treeAdapter.getNamespaceURI(t);r===pje.TEMPLATE&&n===lje.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,a)}}function lDe(e,t,a){let r=e.treeAdapter.getNamespaceURI(a.element),{token:n}=a,o=e.treeAdapter.createElement(n.tagName,r,n.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,n),e.activeFormattingElements.removeEntry(a),e.openElements.remove(a.element),e.openElements.insertAfter(t,o,n.tagID)}function cDe(e,t){for(let a=0;a<Kje;a++){let a=rDe(e,t);if(!a)break;let r=nDe(e,a);if(!r)break;e.activeFormattingElements.bookmark=a;let n=oDe(e,r,a.element),o=e.openElements.getCommonAncestor(a.element);e.treeAdapter.detachNode(n),o&&sDe(e,o,n),lDe(e,r,a)}}function uDe(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function dDe(e,t){if(e.stopped=!0,t.location){let a=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=a;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let a=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(a);if(r&&!r.endTag&&(e._setEndLocation(a,t),e.openElements.stackTop>=1)){let a=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(a);r&&!r.endTag&&e._setEndLocation(a,t)}}}}function pDe(e,t){e._setDocumentType(t);let a=t.forceQuirks?uje.QUIRKS:function(e){if(e.name!==Dje)return uje.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===Bje)return uje.QUIRKS;let{publicId:a}=e;if(null!==a){if(a=a.toLowerCase(),zje.has(a))return uje.QUIRKS;let e=null===t?Uje:jje;if(KRe(a,e))return uje.QUIRKS;if(e=null===t?Hje:Zje,KRe(a,e))return uje.LIMITED_QUIRKS}return uje.NO_QUIRKS}(t);(function(e){return e.name===Dje&&null===e.publicId&&(null===e.systemId||e.systemId===Lje)})(t)||e._err(t,KBe.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,a),e.insertionMode=eUe.BEFORE_HTML}function hDe(e,t){e._err(t,KBe.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,uje.QUIRKS),e.insertionMode=eUe.BEFORE_HTML,e._processToken(t)}function mDe(e,t){e._insertFakeRootElement(),e.insertionMode=eUe.BEFORE_HEAD,e._processToken(t)}function fDe(e,t){e._insertFakeElement(dje.HEAD,pje.HEAD),e.headElement=e.openElements.current,e.insertionMode=eUe.IN_HEAD,e._processToken(t)}function gDe(e,t){switch(t.tagID){case pje.HTML:EDe(e,t);break;case pje.BASE:case pje.BASEFONT:case pje.BGSOUND:case pje.LINK:case pje.META:e._appendElement(t,lje.HTML),t.ackSelfClosing=!0;break;case pje.TITLE:e._switchToTextParsing(t,bje.RCDATA);break;case pje.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,bje.RAWTEXT):(e._insertElement(t,lje.HTML),e.insertionMode=eUe.IN_HEAD_NO_SCRIPT);break;case pje.NOFRAMES:case pje.STYLE:e._switchToTextParsing(t,bje.RAWTEXT);break;case pje.SCRIPT:e._switchToTextParsing(t,bje.SCRIPT_DATA);break;case pje.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=eUe.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(eUe.IN_TEMPLATE);break;case pje.HEAD:e._err(t,KBe.misplacedStartTagForHeadElement);break;default:bDe(e,t)}}function vDe(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==pje.TEMPLATE&&e._err(t,KBe.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(pje.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,KBe.endTagWithoutMatchingOpenElement)}function bDe(e,t){e.openElements.pop(),e.insertionMode=eUe.AFTER_HEAD,e._processToken(t)}function yDe(e,t){let a=t.type===eje.EOF?KBe.openElementsLeftAfterEof:KBe.disallowedContentInNoscriptInHead;e._err(t,a),e.openElements.pop(),e.insertionMode=eUe.IN_HEAD,e._processToken(t)}function ODe(e,t){e._insertFakeElement(dje.BODY,pje.BODY),e.insertionMode=eUe.IN_BODY,xDe(e,t)}function xDe(e,t){switch(t.type){case eje.CHARACTER:kDe(e,t);break;case eje.WHITESPACE_CHARACTER:wDe(e,t);break;case eje.COMMENT:uDe(e,t);break;case eje.START_TAG:EDe(e,t);break;case eje.END_TAG:PDe(e,t);break;case eje.EOF:MDe(e,t)}}function wDe(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function kDe(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function SDe(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,lje.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ADe(e){let t=URe(e,cje.TYPE);return null!=t&&t.toLowerCase()===Yje}function _De(e,t){e._switchToTextParsing(t,bje.RAWTEXT)}function TDe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,lje.HTML)}function EDe(e,t){switch(t.tagID){case pje.I:case pje.S:case pje.B:case pje.U:case pje.EM:case pje.TT:case pje.BIG:case pje.CODE:case pje.FONT:case pje.SMALL:case pje.STRIKE:case pje.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,lje.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case pje.A:!function(e,t){let a=e.activeFormattingElements.getElementEntryInScopeWithTagName(dje.A);a&&(cDe(e,t),e.openElements.remove(a.element),e.activeFormattingElements.removeEntry(a)),e._reconstructActiveFormattingElements(),e._insertElement(t,lje.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case pje.H1:case pje.H2:case pje.H3:case pje.H4:case pje.H5:case pje.H6:!function(e,t){e.openElements.hasInButtonScope(pje.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&gje.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,lje.HTML)}(e,t);break;case pje.P:case pje.DL:case pje.OL:case pje.UL:case pje.DIV:case pje.DIR:case pje.NAV:case pje.MAIN:case pje.MENU:case pje.ASIDE:case pje.CENTER:case pje.FIGURE:case pje.FOOTER:case pje.HEADER:case pje.HGROUP:case pje.DIALOG:case pje.DETAILS:case pje.ADDRESS:case pje.ARTICLE:case pje.SEARCH:case pje.SECTION:case pje.SUMMARY:case pje.FIELDSET:case pje.BLOCKQUOTE:case pje.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(pje.P)&&e._closePElement(),e._insertElement(t,lje.HTML)}(e,t);break;case pje.LI:case pje.DD:case pje.DT:!function(e,t){e.framesetOk=!1;let a=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(a===pje.LI&&r===pje.LI||(a===pje.DD||a===pje.DT)&&(r===pje.DD||r===pje.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==pje.ADDRESS&&r!==pje.DIV&&r!==pje.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(pje.P)&&e._closePElement(),e._insertElement(t,lje.HTML)}(e,t);break;case pje.BR:case pje.IMG:case pje.WBR:case pje.AREA:case pje.EMBED:case pje.KEYGEN:SDe(e,t);break;case pje.HR:!function(e,t){e.openElements.hasInButtonScope(pje.P)&&e._closePElement(),e._appendElement(t,lje.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case pje.RB:case pje.RTC:!function(e,t){e.openElements.hasInScope(pje.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,lje.HTML)}(e,t);break;case pje.RT:case pje.RP:!function(e,t){e.openElements.hasInScope(pje.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(pje.RTC),e._insertElement(t,lje.HTML)}(e,t);break;case pje.PRE:case pje.LISTING:!function(e,t){e.openElements.hasInButtonScope(pje.P)&&e._closePElement(),e._insertElement(t,lje.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case pje.XMP:!function(e,t){e.openElements.hasInButtonScope(pje.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,bje.RAWTEXT)}(e,t);break;case pje.SVG:!function(e,t){e._reconstructActiveFormattingElements(),eDe(t),tDe(t),t.selfClosing?e._appendElement(t,lje.SVG):e._insertElement(t,lje.SVG),t.ackSelfClosing=!0}(e,t);break;case pje.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case pje.BASE:case pje.LINK:case pje.META:case pje.STYLE:case pje.TITLE:case pje.SCRIPT:case pje.BGSOUND:case pje.BASEFONT:case pje.TEMPLATE:gDe(e,t);break;case pje.BODY:!function(e,t){let a=e.openElements.tryPeekProperlyNestedBodyElement();a&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(a,t.attrs))}(e,t);break;case pje.FORM:!function(e,t){let a=e.openElements.tmplCount>0;(!e.formElement||a)&&(e.openElements.hasInButtonScope(pje.P)&&e._closePElement(),e._insertElement(t,lje.HTML),a||(e.formElement=e.openElements.current))}(e,t);break;case pje.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(pje.NOBR)&&(cDe(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,lje.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case pje.MATH:!function(e,t){e._reconstructActiveFormattingElements(),JRe(t),tDe(t),t.selfClosing?e._appendElement(t,lje.MATHML):e._insertElement(t,lje.MATHML),t.ackSelfClosing=!0}(e,t);break;case pje.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==uje.QUIRKS&&e.openElements.hasInButtonScope(pje.P)&&e._closePElement(),e._insertElement(t,lje.HTML),e.framesetOk=!1,e.insertionMode=eUe.IN_TABLE}(e,t);break;case pje.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,lje.HTML),ADe(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case pje.PARAM:case pje.TRACK:case pje.SOURCE:!function(e,t){e._appendElement(t,lje.HTML),t.ackSelfClosing=!0}(e,t);break;case pje.IMAGE:!function(e,t){t.tagName=dje.IMG,t.tagID=pje.IMG,SDe(e,t)}(e,t);break;case pje.BUTTON:!function(e,t){e.openElements.hasInScope(pje.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(pje.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,lje.HTML),e.framesetOk=!1}(e,t);break;case pje.APPLET:case pje.OBJECT:case pje.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,lje.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case pje.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,bje.RAWTEXT)}(e,t);break;case pje.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,lje.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===eUe.IN_TABLE||e.insertionMode===eUe.IN_CAPTION||e.insertionMode===eUe.IN_TABLE_BODY||e.insertionMode===eUe.IN_ROW||e.insertionMode===eUe.IN_CELL?eUe.IN_SELECT_IN_TABLE:eUe.IN_SELECT}(e,t);break;case pje.OPTION:case pje.OPTGROUP:!function(e,t){e.openElements.currentTagId===pje.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,lje.HTML)}(e,t);break;case pje.NOEMBED:case pje.NOFRAMES:_De(e,t);break;case pje.FRAMESET:!function(e,t){let a=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&a&&(e.treeAdapter.detachNode(a),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,lje.HTML),e.insertionMode=eUe.IN_FRAMESET)}(e,t);break;case pje.TEXTAREA:!function(e,t){e._insertElement(t,lje.HTML),e.skipNextNewLine=!0,e.tokenizer.state=bje.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=eUe.TEXT}(e,t);break;case pje.NOSCRIPT:e.options.scriptingEnabled?_De(e,t):TDe(e,t);break;case pje.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(pje.P)&&e._closePElement(),e._insertElement(t,lje.HTML),e.tokenizer.state=bje.PLAINTEXT}(e,t);break;case pje.COL:case pje.TH:case pje.TD:case pje.TR:case pje.HEAD:case pje.FRAME:case pje.TBODY:case pje.TFOOT:case pje.THEAD:case pje.CAPTION:case pje.COLGROUP:break;default:TDe(e,t)}}function CDe(e,t){let a=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let n=e.openElements.items[t],o=e.openElements.tagIDs[t];if(r===o&&(r!==pje.UNKNOWN||e.treeAdapter.getTagName(n)===a)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(n,o))break}}function PDe(e,t){switch(t.tagID){case pje.A:case pje.B:case pje.I:case pje.S:case pje.U:case pje.EM:case pje.TT:case pje.BIG:case pje.CODE:case pje.FONT:case pje.NOBR:case pje.SMALL:case pje.STRIKE:case pje.STRONG:cDe(e,t);break;case pje.P:!function(e){e.openElements.hasInButtonScope(pje.P)||e._insertFakeElement(dje.P,pje.P),e._closePElement()}(e);break;case pje.DL:case pje.UL:case pje.OL:case pje.DIR:case pje.DIV:case pje.NAV:case pje.PRE:case pje.MAIN:case pje.MENU:case pje.ASIDE:case pje.BUTTON:case pje.CENTER:case pje.FIGURE:case pje.FOOTER:case pje.HEADER:case pje.HGROUP:case pje.DIALOG:case pje.ADDRESS:case pje.ARTICLE:case pje.DETAILS:case pje.SEARCH:case pje.SECTION:case pje.SUMMARY:case pje.LISTING:case pje.FIELDSET:case pje.BLOCKQUOTE:case pje.FIGCAPTION:!function(e,t){let a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a))}(e,t);break;case pje.LI:!function(e){e.openElements.hasInListItemScope(pje.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(pje.LI),e.openElements.popUntilTagNamePopped(pje.LI))}(e);break;case pje.DD:case pje.DT:!function(e,t){let a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a))}(e,t);break;case pje.H1:case pje.H2:case pje.H3:case pje.H4:case pje.H5:case pje.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case pje.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(dje.BR,pje.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case pje.BODY:!function(e,t){if(e.openElements.hasInScope(pje.BODY)&&(e.insertionMode=eUe.AFTER_BODY,e.options.sourceCodeLocationInfo)){let a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e._setEndLocation(a,t)}}(e,t);break;case pje.HTML:!function(e,t){e.openElements.hasInScope(pje.BODY)&&(e.insertionMode=eUe.AFTER_BODY,WDe(e,t))}(e,t);break;case pje.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:a}=e;t||(e.formElement=null),(a||t)&&e.openElements.hasInScope(pje.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(pje.FORM):a&&e.openElements.remove(a))}(e);break;case pje.APPLET:case pje.OBJECT:case pje.MARQUEE:!function(e,t){let a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case pje.TEMPLATE:vDe(e,t);break;default:CDe(e,t)}}function MDe(e,t){e.tmplInsertionModeStack.length>0?FDe(e,t):dDe(e,t)}function $De(e,t){if(void 0!==e.openElements.currentTagId&&aUe.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=eUe.IN_TABLE_TEXT,t.type){case eje.CHARACTER:LDe(e,t);break;case eje.WHITESPACE_CHARACTER:DDe(e,t)}else RDe(e,t)}function NDe(e,t){switch(t.tagID){case pje.TD:case pje.TH:case pje.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(dje.TBODY,pje.TBODY),e.insertionMode=eUe.IN_TABLE_BODY,zDe(e,t)}(e,t);break;case pje.STYLE:case pje.SCRIPT:case pje.TEMPLATE:gDe(e,t);break;case pje.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(dje.COLGROUP,pje.COLGROUP),e.insertionMode=eUe.IN_COLUMN_GROUP,jDe(e,t)}(e,t);break;case pje.FORM:!function(e,t){!e.formElement&&0===e.openElements.tmplCount&&(e._insertElement(t,lje.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case pje.TABLE:!function(e,t){e.openElements.hasInTableScope(pje.TABLE)&&(e.openElements.popUntilTagNamePopped(pje.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case pje.TBODY:case pje.TFOOT:case pje.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,lje.HTML),e.insertionMode=eUe.IN_TABLE_BODY}(e,t);break;case pje.INPUT:!function(e,t){ADe(t)?e._appendElement(t,lje.HTML):RDe(e,t),t.ackSelfClosing=!0}(e,t);break;case pje.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,lje.HTML),e.insertionMode=eUe.IN_CAPTION}(e,t);break;case pje.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,lje.HTML),e.insertionMode=eUe.IN_COLUMN_GROUP}(e,t);break;default:RDe(e,t)}}function IDe(e,t){switch(t.tagID){case pje.TABLE:e.openElements.hasInTableScope(pje.TABLE)&&(e.openElements.popUntilTagNamePopped(pje.TABLE),e._resetInsertionMode());break;case pje.TEMPLATE:vDe(e,t);break;case pje.BODY:case pje.CAPTION:case pje.COL:case pje.COLGROUP:case pje.HTML:case pje.TBODY:case pje.TD:case pje.TFOOT:case pje.TH:case pje.THEAD:case pje.TR:break;default:RDe(e,t)}}function RDe(e,t){let a=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,xDe(e,t),e.fosterParentingEnabled=a}function DDe(e,t){e.pendingCharacterTokens.push(t)}function LDe(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function BDe(e,t){let a=0;if(e.hasNonWhitespacePendingCharacterToken)for(;a<e.pendingCharacterTokens.length;a++)RDe(e,e.pendingCharacterTokens[a]);else for(;a<e.pendingCharacterTokens.length;a++)e._insertCharacters(e.pendingCharacterTokens[a]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function jDe(e,t){switch(t.tagID){case pje.HTML:EDe(e,t);break;case pje.COL:e._appendElement(t,lje.HTML),t.ackSelfClosing=!0;break;case pje.TEMPLATE:gDe(e,t);break;default:UDe(e,t)}}function UDe(e,t){e.openElements.currentTagId===pje.COLGROUP&&(e.openElements.pop(),e.insertionMode=eUe.IN_TABLE,e._processToken(t))}function zDe(e,t){switch(t.tagID){case pje.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,lje.HTML),e.insertionMode=eUe.IN_ROW;break;case pje.TH:case pje.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(dje.TR,pje.TR),e.insertionMode=eUe.IN_ROW,ZDe(e,t);break;case pje.CAPTION:case pje.COL:case pje.COLGROUP:case pje.TBODY:case pje.TFOOT:case pje.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=eUe.IN_TABLE,NDe(e,t));break;default:NDe(e,t)}}function HDe(e,t){let a=t.tagID;switch(t.tagID){case pje.TBODY:case pje.TFOOT:case pje.THEAD:e.openElements.hasInTableScope(a)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=eUe.IN_TABLE);break;case pje.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=eUe.IN_TABLE,IDe(e,t));break;case pje.BODY:case pje.CAPTION:case pje.COL:case pje.COLGROUP:case pje.HTML:case pje.TD:case pje.TH:case pje.TR:break;default:IDe(e,t)}}function ZDe(e,t){switch(t.tagID){case pje.TH:case pje.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,lje.HTML),e.insertionMode=eUe.IN_CELL,e.activeFormattingElements.insertMarker();break;case pje.CAPTION:case pje.COL:case pje.COLGROUP:case pje.TBODY:case pje.TFOOT:case pje.THEAD:case pje.TR:e.openElements.hasInTableScope(pje.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=eUe.IN_TABLE_BODY,zDe(e,t));break;default:NDe(e,t)}}function VDe(e,t){switch(t.tagID){case pje.TR:e.openElements.hasInTableScope(pje.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=eUe.IN_TABLE_BODY);break;case pje.TABLE:e.openElements.hasInTableScope(pje.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=eUe.IN_TABLE_BODY,HDe(e,t));break;case pje.TBODY:case pje.TFOOT:case pje.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(pje.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=eUe.IN_TABLE_BODY,HDe(e,t));break;case pje.BODY:case pje.CAPTION:case pje.COL:case pje.COLGROUP:case pje.HTML:case pje.TD:case pje.TH:break;default:IDe(e,t)}}function QDe(e,t){switch(t.tagID){case pje.HTML:EDe(e,t);break;case pje.OPTION:e.openElements.currentTagId===pje.OPTION&&e.openElements.pop(),e._insertElement(t,lje.HTML);break;case pje.OPTGROUP:e.openElements.currentTagId===pje.OPTION&&e.openElements.pop(),e.openElements.currentTagId===pje.OPTGROUP&&e.openElements.pop(),e._insertElement(t,lje.HTML);break;case pje.HR:e.openElements.currentTagId===pje.OPTION&&e.openElements.pop(),e.openElements.currentTagId===pje.OPTGROUP&&e.openElements.pop(),e._appendElement(t,lje.HTML),t.ackSelfClosing=!0;break;case pje.INPUT:case pje.KEYGEN:case pje.TEXTAREA:case pje.SELECT:e.openElements.hasInSelectScope(pje.SELECT)&&(e.openElements.popUntilTagNamePopped(pje.SELECT),e._resetInsertionMode(),t.tagID!==pje.SELECT&&e._processStartTag(t));break;case pje.SCRIPT:case pje.TEMPLATE:gDe(e,t)}}function qDe(e,t){switch(t.tagID){case pje.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===pje.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===pje.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===pje.OPTGROUP&&e.openElements.pop();break;case pje.OPTION:e.openElements.currentTagId===pje.OPTION&&e.openElements.pop();break;case pje.SELECT:e.openElements.hasInSelectScope(pje.SELECT)&&(e.openElements.popUntilTagNamePopped(pje.SELECT),e._resetInsertionMode());break;case pje.TEMPLATE:vDe(e,t)}}function FDe(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(pje.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):dDe(e,t)}function WDe(e,t){if(t.tagID===pje.HTML){if(e.fragmentContext||(e.insertionMode=eUe.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===pje.HTML){e._setEndLocation(e.openElements.items[0],t);let a=e.openElements.items[1];a&&!e.treeAdapter.getNodeSourceCodeLocation(a)?.endTag&&e._setEndLocation(a,t)}}else XDe(e,t)}function XDe(e,t){e.insertionMode=eUe.IN_BODY,xDe(e,t)}function GDe(e,t){e.insertionMode=eUe.IN_BODY,xDe(e,t)}function YDe(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==lje.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function KDe(e,t){if(function(e){let t=e.tagID;return t===pje.FONT&&e.attrs.some(({name:e})=>e===cje.COLOR||e===cje.SIZE||e===cje.FACE)||Gje.has(t)}(t))YDe(e),e._startTagOutsideForeignContent(t);else{let a=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(a);r===lje.MATHML?JRe(t):r===lje.SVG&&(function(e){let t=Xje.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=QRe(e.tagName))}(t),eDe(t)),tDe(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function JDe(e,t){return nUe.parse(e,t)}function eLe(e,t,a){"string"==typeof e&&(a=t,t=e,e=null);let r=nUe.getFragmentParser(e,a);return r.tokenizer.write(t,!0),r.getFragment()}function tLe(e){return e&&"object"==typeof e?"position"in e||"type"in e?rLe(e.position):"start"in e||"end"in e?rLe(e):"line"in e||"column"in e?aLe(e):"":""}function aLe(e){return nLe(e&&e.line)+":"+nLe(e&&e.column)}function rLe(e){return aLe(e&&e.start)+"-"+aLe(e&&e.end)}function nLe(e){return e&&"number"==typeof e?e:1}function oLe(e,t){if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');cLe(e);let a,r=0,n=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(a){r=o+1;break}}else n<0&&(a=!0,n=o+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let i=-1,s=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(a){r=o+1;break}}else i<0&&(a=!0,i=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(n=o):(s=-1,n=i));return r===n?n=i:n<0&&(n=e.length),e.slice(r,n)}function iLe(e){if(cLe(e),0===e.length)return".";let t,a=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){a=r;break}}else t||=!0;return a<0?47===e.codePointAt(0)?"/":".":1===a&&47===e.codePointAt(0)?"//":e.slice(0,a)}function sLe(e){cLe(e);let t,a=e.length,r=-1,n=0,o=-1,i=0;for(;a--;){let s=e.codePointAt(a);if(47!==s)r<0&&(t=!0,r=a+1),46===s?o<0?o=a:1!==i&&(i=1):o>-1&&(i=-1);else if(t){n=a+1;break}}return o<0||r<0||0===i||1===i&&o===r-1&&o===n+1?"":e.slice(o,r)}function lLe(...e){let t,a=-1;for(;++a<e.length;)cLe(e[a]),e[a]&&(t=void 0===t?e[a]:t+"/"+e[a]);return void 0===t?".":function(e){cLe(e);let t=47===e.codePointAt(0),a=function(e,t){let a,r,n="",o=0,i=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)a=e.codePointAt(l);else{if(47===a)break;a=47}if(47===a){if(i!==l-1&&1!==s)if(i!==l-1&&2===s){if(n.length<2||2!==o||46!==n.codePointAt(n.length-1)||46!==n.codePointAt(n.length-2))if(n.length>2){if(r=n.lastIndexOf("/"),r!==n.length-1){r<0?(n="",o=0):(n=n.slice(0,r),o=n.length-1-n.lastIndexOf("/")),i=l,s=0;continue}}else if(n.length>0){n="",o=0,i=l,s=0;continue}t&&(n=n.length>0?n+"/..":"..",o=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),o=l-i-1;i=l,s=0}else 46===a&&s>-1?s++:s=-1}return n}(e,!t);return 0===a.length&&!t&&(a="."),a.length>0&&47===e.codePointAt(e.length-1)&&(a+="/"),t?"/"+a:a}(t)}function cLe(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function uLe(){return"/"}function dLe(e){return!!("object"==typeof e&&e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function pLe(e){if("string"==typeof e)e=new URL(e);else if(!dLe(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,a=-1;for(;++a<t.length;)if(37===t.codePointAt(a)&&50===t.codePointAt(a+1)){let e=t.codePointAt(a+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}function hLe(e,t){if(e&&e.includes(sUe.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+sUe.sep+"`")}function mLe(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function fLe(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function gLe(e,t){let a=t||vUe,r=a.onerror,n=e instanceof uUe?e:new uUe(e),o=a.fragment?eLe:JDe,i=String(n);return MRe(o(i,{sourceCodeLocationInfo:!0,onParseError:a.onerror?function(e){let t=e.code,o=function(e){return e.replace(hUe,vLe)}(t),s=a[o]??!0,l="number"==typeof s?s:s?1:0;if(l){let a=dUe[o],i=new iUe(c(a.reason),{place:{start:{line:e.startLine,column:e.startCol,offset:e.startOffset},end:{line:e.endLine,column:e.endCol,offset:e.endOffset}},ruleId:t,source:"hast-util-from-html"});n.path&&(i.file=n.path,i.name=n.path+":"+i.name),i.fatal=gUe[l],i.note=c(a.description),i.url=!1===a.url?void 0:pUe+t,r(i)}function c(t){return t.replace(mUe,function(t,a,r){let n=(r?Number.parseInt(r,10):0)*("-"===a?-1:1);return function(e){return"`"===e?"` ` `":e}(i.charAt(e.startOffset+n))}).replace(fUe,function(){return function(e){return"0x"+e.toString(16).toUpperCase()}(i.charCodeAt(e.startOffset))})}}:null,scriptingEnabled:!1}),{file:n,space:a.space,verbose:a.verbose})}function vLe(e){return e.charAt(1).toUpperCase()}function bLe(e){let{emitParseErrors:t,...a}={...this.data("settings"),...e};this.parser=function(e,r){return gLe(e,{...a,onerror:t?function(e){r.path&&(e.name=r.path+":"+e.name,e.file=r.path),r.messages.push(e)}:void 0})}}function yLe(e,t){let a=t||{};function r(t,...a){let n=r.invalid,o=r.handlers;if(t&&yUe.call(t,e)){let a=String(t[e]);n=yUe.call(o,a)?o[a]:r.unknown}if(n)return n.call(this,t,...a)}return r.handlers=a.handlers||{},r.invalid=a.invalid,r.unknown=a.unknown,r}function OLe(e,t){return e=e.replace(t.subset?function(e){let t=SUe.get(e);return t||(t=function(e){let t=[],a=-1;for(;++a<e.length;)t.push(e[a].replace(kUe,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(e),SUe.set(e,t)),t}(t.subset):OUe,a),t.subset||t.escapeOnly?e:e.replace(xUe,function(e,a,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(a+2),t)}).replace(wUe,a);function a(e,a,r){return t.format(e.charCodeAt(0),r.charCodeAt(a+1),t)}}function xLe(e,t,a){let r,n=function(e,t,a){let r="&#x"+e.toString(16).toUpperCase();return a&&t&&!AUe.test(String.fromCharCode(t))?r:r+";"}(e,t,a.omitOptionalSemicolons);if((a.useNamedReferences||a.useShortestReferences)&&(r=function(e,t,a,r){let n=String.fromCharCode(e);if(PUe.call(MUe,n)){let e=MUe[n],o="&"+e;return a&&TUe.includes(e)&&!CUe.includes(e)&&(!r||t&&61!==t&&NUe.test(String.fromCharCode(t)))?o:o+";"}return""}(e,t,a.omitOptionalSemicolons,a.attribute)),(a.useShortestReferences||!r)&&a.useShortestReferences){let r=function(e,t,a){let r="&#"+String(e);return a&&t&&!_Ue.test(String.fromCharCode(t))?r:r+";"}(e,t,a.omitOptionalSemicolons);r.length<n.length&&(n=r)}return r&&(!a.useShortestReferences||r.length<n.length)?r:n}function wLe(e,t){return OLe(e,Object.assign({format:xLe},t))}function kLe(e,t,a,r){return r.settings.bogusComments?"<?"+wLe(e.value,Object.assign({},r.settings.characterReferences,{subset:RUe}))+">":"\x3c!--"+e.value.replace(IUe,function(e){return wLe(e,Object.assign({},r.settings.characterReferences,{subset:DUe}))})+"--\x3e"}function SLe(e,t,a,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function ALe(e,t){let a=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,n=a.indexOf(t);for(;-1!==n;)r++,n=a.indexOf(t,n+t.length);return r}function _Le(e){return"object"==typeof e?"text"===e.type&&TLe(e.value):TLe(e)}function TLe(e){return""===e.replace(LUe,"")}function ELe(e){return function(t,a,r){let n=t?t.children:UUe,o=(a||0)+e,i=n[o];if(!r)for(;i&&_Le(i);)o+=e,i=n[o];return i}}function CLe(e){return function(t,a,r){return zUe.call(e,t.tagName)&&e[t.tagName](t,a,r)}}function PLe(e,t,a){let r=BUe(a,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&_Le(r.value.charAt(0)))}function MLe(e,t,a){let r=BUe(a,t);return!r||"comment"!==r.type}function $Le(e,t,a){let r=BUe(a,t);return!r||"comment"!==r.type}function NLe(e,t,a){let r=BUe(a,t);return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!a||!("element"===a.type&&("a"===a.tagName||"audio"===a.tagName||"del"===a.tagName||"ins"===a.tagName||"map"===a.tagName||"noscript"===a.tagName||"video"===a.tagName))}function ILe(e,t,a){let r=BUe(a,t);return!r||"element"===r.type&&"li"===r.tagName}function RLe(e,t,a){let r=BUe(a,t);return!(!r||"element"!==r.type||"dt"!==r.tagName&&"dd"!==r.tagName)}function DLe(e,t,a){let r=BUe(a,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)}function LLe(e,t,a){let r=BUe(a,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function BLe(e,t,a){let r=BUe(a,t);return!r||"element"===r.type&&"optgroup"===r.tagName}function jLe(e,t,a){let r=BUe(a,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)}function ULe(e,t,a){let r=BUe(a,t);return!(!r||"element"!==r.type||"tbody"!==r.tagName&&"tfoot"!==r.tagName)}function zLe(e,t,a){let r=BUe(a,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)}function HLe(e,t,a){return!BUe(a,t)}function ZLe(e,t,a){let r=BUe(a,t);return!r||"element"===r.type&&"tr"===r.tagName}function VLe(e,t,a){let r=BUe(a,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}function QLe(e){let t=BUe(e,-1);return!t||"comment"!==t.type}function qLe(e){let t=new Set;for(let a of e.children)if("element"===a.type&&("base"===a.tagName||"title"===a.tagName)){if(t.has(a.tagName))return!1;t.add(a.tagName)}let a=e.children[0];return!a||"element"===a.type}function FLe(e){let t=BUe(e,-1,!0);return!(t&&("comment"===t.type||"text"===t.type&&_Le(t.value.charAt(0))||"element"===t.type&&("meta"===t.tagName||"link"===t.tagName||"script"===t.tagName||"style"===t.tagName||"template"===t.tagName)))}function WLe(e,t,a){let r=jUe(a,t),n=BUe(e,-1,!0);return!(a&&r&&"element"===r.type&&"colgroup"===r.tagName&&HUe(r,a.children.indexOf(r),a))&&!(!n||"element"!==n.type||"col"!==n.tagName)}function XLe(e,t,a){let r=jUe(a,t),n=BUe(e,-1);return(!a||!r||"element"!==r.type||"thead"!==r.tagName&&"tbody"!==r.tagName||!HUe(r,a.children.indexOf(r),a))&&!(!n||"element"!==n.type||"tr"!==n.tagName)}function GLe(e,t,a,r){let n,o=r.schema,i="svg"!==o.space&&r.settings.omitOptionalTags,s="svg"===o.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),l=[];"html"===o.space&&"svg"===e.tagName&&(r.schema=BBe);let c=function(e,t){let a,r=[],n=-1;if(t)for(a in t)if(null!==t[a]&&void 0!==t[a]){let n=YLe(e,a,t[a]);n&&r.push(n)}for(;++n<r.length;){let t=e.settings.tightAttributes?r[n].charAt(r[n].length-1):void 0;n!==r.length-1&&'"'!==t&&"'"!==t&&(r[n]+=" ")}return r.join("")}(r,e.properties),u=r.all("html"===o.space&&"template"===e.tagName?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!ZUe(e,t,a))&&(l.push("<",e.tagName,c?" "+c:""),s&&("svg"===o.space||r.settings.closeSelfClosing)&&(n=c.charAt(c.length-1),(!r.settings.tightSelfClosing||"/"===n||n&&'"'!==n&&"'"!==n)&&l.push(" "),l.push("/")),l.push(">")),l.push(u),!s&&(!i||!HUe(e,t,a))&&l.push("</"+e.tagName+">"),l.join("")}function YLe(e,t,a){let r,n=ORe(e.schema,t),o=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,i=e.settings.allowDangerousCharacters?0:1,s=e.quote;if(!n.overloadedBoolean||a!==n.attribute&&""!==a?(n.boolean||n.overloadedBoolean)&&("string"!=typeof a||a===n.attribute||""===a)&&(a=!!a):a=!0,null==a||!1===a||"number"==typeof a&&Number.isNaN(a))return"";let l=wLe(n.attribute,Object.assign({},e.settings.characterReferences,{subset:VUe.name[o][i]}));return!0===a||(a=Array.isArray(a)?(n.commaSeparated?SRe:_Re)(a,{padLeft:!e.settings.tightCommaSeparatedLists}):String(a),e.settings.collapseEmptyAttributes&&!a)?l:(e.settings.preferUnquoted&&(r=wLe(a,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:VUe.unquoted[o][i]}))),r!==a&&(e.settings.quoteSmart&&ALe(a,s)>ALe(a,e.alternative)&&(s=e.alternative),r=s+wLe(a,Object.assign({},e.settings.characterReferences,{subset:("'"===s?VUe.single:VUe.double)[o][i],attribute:!0}))+s),l+(r&&"="+r))}function KLe(e,t,a,r){return!a||"element"!==a.type||"script"!==a.tagName&&"style"!==a.tagName?wLe(e.value,Object.assign({},r.settings.characterReferences,{subset:QUe})):e.value}function JLe(e,t,a,r){return r.settings.allowDangerousHtml?e.value:KLe(e,0,a,r)}function eBe(e,t,a,r){return r.all(e)}function tBe(e){throw Error("Expected node, not `"+e+"`")}function aBe(e){throw Error("Cannot compile unknown node `"+e.type+"`")}function rBe(e,t,a){return qUe(e,t,a,this)}function nBe(e){let t=[],a=e&&e.children||XUe,r=-1;for(;++r<a.length;)t[r]=this.one(a[r],r,e);return t.join("")}function oBe(e){let t={...this.data("settings"),...e};this.compiler=function(e){return function(e,t){let a=t||FUe,r=a.quote||'"',n='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:rBe,all:nBe,settings:{omitOptionalTags:a.omitOptionalTags||!1,allowParseErrors:a.allowParseErrors||!1,allowDangerousCharacters:a.allowDangerousCharacters||!1,quoteSmart:a.quoteSmart||!1,preferUnquoted:a.preferUnquoted||!1,tightAttributes:a.tightAttributes||!1,upperDoctype:a.upperDoctype||!1,tightDoctype:a.tightDoctype||!1,bogusComments:a.bogusComments||!1,tightCommaSeparatedLists:a.tightCommaSeparatedLists||!1,tightSelfClosing:a.tightSelfClosing||!1,collapseEmptyAttributes:a.collapseEmptyAttributes||!1,allowDangerousHtml:a.allowDangerousHtml||!1,voids:a.voids||bUe,characterReferences:a.characterReferences||WUe,closeSelfClosing:a.closeSelfClosing||!1,closeEmptyElements:a.closeEmptyElements||!1},schema:"svg"===a.space?BBe:LBe,quote:r,alternative:n}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}(e,t)}}function iBe(e){if(e)throw e}function sBe(e){if("object"!=typeof e||!e)return!1;let t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function lBe(){let e=[],t={run:function(...t){let a=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function n(o,...i){let s=e[++a],l=-1;if(o)r(o);else{for(;++l<t.length;)(null===i[l]||void 0===i[l])&&(i[l]=t[l]);t=i,s?function(e,t){let a;return r;function r(...t){let r,i=e.length>t.length;i&&t.push(n);try{r=e.apply(this,t)}catch(e){if(i&&a)throw e;return n(e)}i||(r&&r.then&&"function"==typeof r.then?r.then(o,n):r instanceof Error?n(r):o(r))}function n(e,...r){a||(a=!0,t(e,...r))}function o(e){n(null,e)}}(s,n)(...i):r(null,...i)}}(null,...t)},use:function(a){if("function"!=typeof a)throw TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}};return t}function cBe(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function uBe(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function dBe(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function pBe(e){if(!sBe(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function hBe(e,t,a){if(!a)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function mBe(e){return function(e){return!!(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new uUe(e)}var fBe,gBe,vBe,bBe,yBe,OBe,xBe,wBe,kBe,SBe,ABe,_Be,TBe,EBe,CBe,PBe,MBe,$Be,NBe,IBe,RBe,DBe,LBe,BBe,jBe,UBe,zBe,HBe,ZBe,VBe,QBe,qBe,FBe,WBe,XBe,GBe,YBe,KBe,JBe,eje,tje,aje,rje,nje,oje,ije,sje,lje,cje,uje,dje,pje,hje,mje,fje,gje,vje,bje,yje,Oje,xje,wje,kje,Sje,Aje,_je,Tje,Eje,Cje,Pje,Mje,$je,Nje,Ije,Rje,Dje,Lje,Bje,jje,Uje,zje,Hje,Zje,Vje,Qje,qje,Fje,Wje,Xje,Gje,Yje,Kje,Jje,eUe,tUe,aUe,rUe,nUe,oUe,iUe,sUe,lUe,cUe,uUe,dUe,pUe,hUe,mUe,fUe,gUe,vUe,bUe,yUe,OUe,xUe,wUe,kUe,SUe,AUe,_Ue,TUe,EUe,CUe,PUe,MUe,$Ue,NUe,IUe,RUe,DUe,LUe,BUe,jUe,UUe,zUe,HUe,ZUe,VUe,QUe,qUe,FUe,WUe,XUe,GUe,YUe,KUe,JUe,eze,tze=V(()=>{for($Ue in pRe(),fBe=class{constructor(e,t,a){this.normal=t,this.property=e,a&&(this.space=a)}},fBe.prototype.normal={},fBe.prototype.property={},fBe.prototype.space=void 0,gBe=class{constructor(e,t){this.attribute=t,this.property=e}},gBe.prototype.attribute="",gBe.prototype.booleanish=!1,gBe.prototype.boolean=!1,gBe.prototype.commaOrSpaceSeparated=!1,gBe.prototype.commaSeparated=!1,gBe.prototype.defined=!1,gBe.prototype.mustUseProperty=!1,gBe.prototype.number=!1,gBe.prototype.overloadedBoolean=!1,gBe.prototype.property="",gBe.prototype.spaceSeparated=!1,gBe.prototype.space=void 0,vBe=qIe({boolean:()=>yBe,booleanish:()=>OBe,commaOrSpaceSeparated:()=>ABe,commaSeparated:()=>SBe,number:()=>wBe,overloadedBoolean:()=>xBe,spaceSeparated:()=>kBe}),bBe=0,yBe=fRe(),OBe=fRe(),xBe=fRe(),wBe=fRe(),kBe=fRe(),SBe=fRe(),ABe=fRe(),_Be=Object.keys(vBe),TBe=class extends gBe{constructor(e,t,a,r){let n=-1;if(super(e,t),gRe(this,"space",r),"number"==typeof a)for(;++n<_Be.length;){let e=_Be[n];gRe(this,_Be[n],(a&vBe[e])===vBe[e])}}},TBe.prototype.defined=!0,EBe=vRe({properties:{ariaActiveDescendant:null,ariaAtomic:OBe,ariaAutoComplete:null,ariaBusy:OBe,ariaChecked:OBe,ariaColCount:wBe,ariaColIndex:wBe,ariaColSpan:wBe,ariaControls:kBe,ariaCurrent:null,ariaDescribedBy:kBe,ariaDetails:null,ariaDisabled:OBe,ariaDropEffect:kBe,ariaErrorMessage:null,ariaExpanded:OBe,ariaFlowTo:kBe,ariaGrabbed:OBe,ariaHasPopup:null,ariaHidden:OBe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:kBe,ariaLevel:wBe,ariaLive:null,ariaModal:OBe,ariaMultiLine:OBe,ariaMultiSelectable:OBe,ariaOrientation:null,ariaOwns:kBe,ariaPlaceholder:null,ariaPosInSet:wBe,ariaPressed:OBe,ariaReadOnly:OBe,ariaRelevant:null,ariaRequired:OBe,ariaRoleDescription:kBe,ariaRowCount:wBe,ariaRowIndex:wBe,ariaRowSpan:wBe,ariaSelected:OBe,ariaSetSize:wBe,ariaSort:null,ariaValueMax:wBe,ariaValueMin:wBe,ariaValueNow:wBe,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()}),CBe=vRe({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:SBe,acceptCharset:kBe,accessKey:kBe,action:null,allow:null,allowFullScreen:yBe,allowPaymentRequest:yBe,allowUserMedia:yBe,alt:null,as:null,async:yBe,autoCapitalize:null,autoComplete:kBe,autoFocus:yBe,autoPlay:yBe,blocking:kBe,capture:null,charSet:null,checked:yBe,cite:null,className:kBe,cols:wBe,colSpan:null,content:null,contentEditable:OBe,controls:yBe,controlsList:kBe,coords:wBe|SBe,crossOrigin:null,data:null,dateTime:null,decoding:null,default:yBe,defer:yBe,dir:null,dirName:null,disabled:yBe,download:xBe,draggable:OBe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:yBe,formTarget:null,headers:kBe,height:wBe,hidden:xBe,high:wBe,href:null,hrefLang:null,htmlFor:kBe,httpEquiv:kBe,id:null,imageSizes:null,imageSrcSet:null,inert:yBe,inputMode:null,integrity:null,is:null,isMap:yBe,itemId:null,itemProp:kBe,itemRef:kBe,itemScope:yBe,itemType:kBe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:yBe,low:wBe,manifest:null,max:null,maxLength:wBe,media:null,method:null,min:null,minLength:wBe,multiple:yBe,muted:yBe,name:null,nonce:null,noModule:yBe,noValidate:yBe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:yBe,optimum:wBe,pattern:null,ping:kBe,placeholder:null,playsInline:yBe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:yBe,referrerPolicy:null,rel:kBe,required:yBe,reversed:yBe,rows:wBe,rowSpan:wBe,sandbox:kBe,scope:null,scoped:yBe,seamless:yBe,selected:yBe,shadowRootClonable:yBe,shadowRootDelegatesFocus:yBe,shadowRootMode:null,shape:null,size:wBe,sizes:null,slot:null,span:wBe,spellCheck:OBe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:wBe,step:null,style:null,tabIndex:wBe,target:null,title:null,translate:null,type:null,typeMustMatch:yBe,useMap:null,value:OBe,width:wBe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:kBe,axis:null,background:null,bgColor:null,border:wBe,borderColor:null,bottomMargin:wBe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:yBe,declare:yBe,event:null,face:null,frame:null,frameBorder:null,hSpace:wBe,leftMargin:wBe,link:null,longDesc:null,lowSrc:null,marginHeight:wBe,marginWidth:wBe,noResize:yBe,noHref:yBe,noShade:yBe,noWrap:yBe,object:null,profile:null,prompt:null,rev:null,rightMargin:wBe,rules:null,scheme:null,scrolling:OBe,standby:null,summary:null,text:null,topMargin:wBe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:wBe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:yBe,disableRemotePlayback:yBe,prefix:null,property:null,results:wBe,security:null,unselectable:null},space:"html",transform:yRe}),PBe=vRe({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ABe,accentHeight:wBe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:wBe,amplitude:wBe,arabicForm:null,ascent:wBe,attributeName:null,attributeType:null,azimuth:wBe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:wBe,by:null,calcMode:null,capHeight:wBe,className:kBe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:wBe,diffuseConstant:wBe,direction:null,display:null,dur:null,divisor:wBe,dominantBaseline:null,download:yBe,dx:null,dy:null,edgeMode:null,editable:null,elevation:wBe,enableBackground:null,end:null,event:null,exponent:wBe,externalResourcesRequired:null,fill:null,fillOpacity:wBe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:SBe,g2:SBe,glyphName:SBe,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:wBe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:wBe,horizOriginX:wBe,horizOriginY:wBe,id:null,ideographic:wBe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:wBe,k:wBe,k1:wBe,k2:wBe,k3:wBe,k4:wBe,kernelMatrix:ABe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:wBe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:wBe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:wBe,overlineThickness:wBe,paintOrder:null,panose1:null,path:null,pathLength:wBe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:kBe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:wBe,pointsAtY:wBe,pointsAtZ:wBe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ABe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ABe,rev:ABe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ABe,requiredFeatures:ABe,requiredFonts:ABe,requiredFormats:ABe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:wBe,specularExponent:wBe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:wBe,strikethroughThickness:wBe,string:null,stroke:null,strokeDashArray:ABe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:wBe,strokeOpacity:wBe,strokeWidth:null,style:null,surfaceScale:wBe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ABe,tabIndex:wBe,tableValues:null,target:null,targetX:wBe,targetY:wBe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ABe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:wBe,underlineThickness:wBe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:wBe,values:null,vAlphabetic:wBe,vMathematical:wBe,vectorEffect:null,vHanging:wBe,vIdeographic:wBe,version:null,vertAdvY:wBe,vertOriginX:wBe,vertOriginY:wBe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:wBe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:bRe}),MBe=vRe({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),$Be=vRe({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:yRe}),NBe=vRe({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),IBe=/[A-Z]/g,RBe=/-[a-z]/g,DBe=/^data[-\w.:]+$/i,LBe=hRe([EBe,CBe,MBe,$Be,NBe],"html"),BBe=hRe([EBe,PBe,MBe,$Be,NBe],"svg"),jBe=/[#.]/g,UBe=new Set(["button","menu","reset","submit"]),zBe={}.hasOwnProperty,HBe="altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.solidColor.textArea.textPath".split("."),ZBe=TRe(LBe,"div"),VBe=TRe(BBe,"g",HBe),QBe=/\r?\n|\r/g,qBe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},FBe={}.hasOwnProperty,WBe=Object.prototype,XBe=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"}(GBe||={}),YBe={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"},function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(KBe||={}),JBe=class{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:a,col:r,offset:n}=this,o=r+t,i=n+t;return{code:e,startLine:a,endLine:a,startCol:o,endCol:o,startOffset:i,endOffset:i}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),function(e,t){return 1024*(e-55296)+9216+t}(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,GBe.EOF;return this._err(KBe.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,GBe.EOF;let a=this.html.charCodeAt(t);return a===GBe.CARRIAGE_RETURN?GBe.LINE_FEED:a}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,GBe.EOF;let e=this.html.charCodeAt(this.pos);return e===GBe.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,GBe.LINE_FEED):e===GBe.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,LRe(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===GBe.LINE_FEED||e===GBe.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){BRe(e)?this._err(KBe.controlCharacterInInputStream):jRe(e)&&this._err(KBe.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}},function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(eje||={}),tje=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTǇǋǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉ǲኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻ǲᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤĳạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ﬃɩᾹ\0\0᾽g;耀ﬀig;耀ﬄ;쀀𝔣lig;耀ﬁlig;쀀fjƀaltῙ῜ῡt;晭ig;耀ﬂns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒α‚‰‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସǳ⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗǈⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼ǲ㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),aje=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),String.fromCodePoint,function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(rje||={}),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(nje||={}),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(oje||={}),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(ije||={}),sje=class{constructor(e,t,a){this.decodeTree=e,this.emitCodePoint=t,this.errors=a,this.state=oje.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ije.Strict}startEntity(e){this.decodeMode=e,this.state=oje.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case oje.EntityStart:return e.charCodeAt(t)===rje.NUM?(this.state=oje.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=oje.NamedEntity,this.stateNamedEntity(e,t));case oje.NumericStart:return this.stateNumericStart(e,t);case oje.NumericDecimal:return this.stateNumericDecimal(e,t);case oje.NumericHex:return this.stateNumericHex(e,t);case oje.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===rje.LOWER_X?(this.state=oje.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=oje.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,a,r){if(t!==a){let n=a-t;this.result=this.result*r**+n+Number.parseInt(e.substr(t,n),r),this.consumed+=n}}stateNumericHex(e,t){let a=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!zRe(r)&&!HRe(r))return this.addToNumericResult(e,a,t,16),this.emitNumericEntity(r,3);t+=1}return this.addToNumericResult(e,a,t,16),-1}stateNumericDecimal(e,t){let a=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!zRe(r))return this.addToNumericResult(e,a,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,a,t,10),-1}emitNumericEntity(e,t){var a;if(this.consumed<=t)return null==(a=this.errors)||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===rje.SEMI)this.consumed+=1;else if(this.decodeMode===ije.Strict)return 0;return this.emitCodePoint(function(e){return e>=55296&&e<=57343||e>1114111?65533:aje.get(e)??e}(this.result),this.consumed),this.errors&&(e!==rje.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:a}=this,r=a[this.treeIndex],n=(r&nje.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let o=e.charCodeAt(t);if(this.treeIndex=VRe(a,r,this.treeIndex+Math.max(1,n),o),this.treeIndex<0)return 0===this.result||this.decodeMode===ije.Attribute&&(0===n||ZRe(o))?0:this.emitNotTerminatedNamedEntity();if(r=a[this.treeIndex],n=(r&nje.VALUE_LENGTH)>>14,0!==n){if(o===rje.SEMI)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);this.decodeMode!==ije.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:a}=this,r=(a[t]&nje.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,a){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~nje.VALUE_LENGTH:r[e+1],a),3===t&&this.emitCodePoint(r[e+2],a),a}end(){var e;switch(this.state){case oje.NamedEntity:return 0===this.result||this.decodeMode===ije.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case oje.NumericDecimal:return this.emitNumericEntity(0,2);case oje.NumericHex:return this.emitNumericEntity(0,3);case oje.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case oje.EntityStart:return 0}}},function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(lje||={}),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(cje||={}),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(uje||={}),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(dje||={}),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"}(pje||={}),hje=new Map([[dje.A,pje.A],[dje.ADDRESS,pje.ADDRESS],[dje.ANNOTATION_XML,pje.ANNOTATION_XML],[dje.APPLET,pje.APPLET],[dje.AREA,pje.AREA],[dje.ARTICLE,pje.ARTICLE],[dje.ASIDE,pje.ASIDE],[dje.B,pje.B],[dje.BASE,pje.BASE],[dje.BASEFONT,pje.BASEFONT],[dje.BGSOUND,pje.BGSOUND],[dje.BIG,pje.BIG],[dje.BLOCKQUOTE,pje.BLOCKQUOTE],[dje.BODY,pje.BODY],[dje.BR,pje.BR],[dje.BUTTON,pje.BUTTON],[dje.CAPTION,pje.CAPTION],[dje.CENTER,pje.CENTER],[dje.CODE,pje.CODE],[dje.COL,pje.COL],[dje.COLGROUP,pje.COLGROUP],[dje.DD,pje.DD],[dje.DESC,pje.DESC],[dje.DETAILS,pje.DETAILS],[dje.DIALOG,pje.DIALOG],[dje.DIR,pje.DIR],[dje.DIV,pje.DIV],[dje.DL,pje.DL],[dje.DT,pje.DT],[dje.EM,pje.EM],[dje.EMBED,pje.EMBED],[dje.FIELDSET,pje.FIELDSET],[dje.FIGCAPTION,pje.FIGCAPTION],[dje.FIGURE,pje.FIGURE],[dje.FONT,pje.FONT],[dje.FOOTER,pje.FOOTER],[dje.FOREIGN_OBJECT,pje.FOREIGN_OBJECT],[dje.FORM,pje.FORM],[dje.FRAME,pje.FRAME],[dje.FRAMESET,pje.FRAMESET],[dje.H1,pje.H1],[dje.H2,pje.H2],[dje.H3,pje.H3],[dje.H4,pje.H4],[dje.H5,pje.H5],[dje.H6,pje.H6],[dje.HEAD,pje.HEAD],[dje.HEADER,pje.HEADER],[dje.HGROUP,pje.HGROUP],[dje.HR,pje.HR],[dje.HTML,pje.HTML],[dje.I,pje.I],[dje.IMG,pje.IMG],[dje.IMAGE,pje.IMAGE],[dje.INPUT,pje.INPUT],[dje.IFRAME,pje.IFRAME],[dje.KEYGEN,pje.KEYGEN],[dje.LABEL,pje.LABEL],[dje.LI,pje.LI],[dje.LINK,pje.LINK],[dje.LISTING,pje.LISTING],[dje.MAIN,pje.MAIN],[dje.MALIGNMARK,pje.MALIGNMARK],[dje.MARQUEE,pje.MARQUEE],[dje.MATH,pje.MATH],[dje.MENU,pje.MENU],[dje.META,pje.META],[dje.MGLYPH,pje.MGLYPH],[dje.MI,pje.MI],[dje.MO,pje.MO],[dje.MN,pje.MN],[dje.MS,pje.MS],[dje.MTEXT,pje.MTEXT],[dje.NAV,pje.NAV],[dje.NOBR,pje.NOBR],[dje.NOFRAMES,pje.NOFRAMES],[dje.NOEMBED,pje.NOEMBED],[dje.NOSCRIPT,pje.NOSCRIPT],[dje.OBJECT,pje.OBJECT],[dje.OL,pje.OL],[dje.OPTGROUP,pje.OPTGROUP],[dje.OPTION,pje.OPTION],[dje.P,pje.P],[dje.PARAM,pje.PARAM],[dje.PLAINTEXT,pje.PLAINTEXT],[dje.PRE,pje.PRE],[dje.RB,pje.RB],[dje.RP,pje.RP],[dje.RT,pje.RT],[dje.RTC,pje.RTC],[dje.RUBY,pje.RUBY],[dje.S,pje.S],[dje.SCRIPT,pje.SCRIPT],[dje.SEARCH,pje.SEARCH],[dje.SECTION,pje.SECTION],[dje.SELECT,pje.SELECT],[dje.SOURCE,pje.SOURCE],[dje.SMALL,pje.SMALL],[dje.SPAN,pje.SPAN],[dje.STRIKE,pje.STRIKE],[dje.STRONG,pje.STRONG],[dje.STYLE,pje.STYLE],[dje.SUB,pje.SUB],[dje.SUMMARY,pje.SUMMARY],[dje.SUP,pje.SUP],[dje.TABLE,pje.TABLE],[dje.TBODY,pje.TBODY],[dje.TEMPLATE,pje.TEMPLATE],[dje.TEXTAREA,pje.TEXTAREA],[dje.TFOOT,pje.TFOOT],[dje.TD,pje.TD],[dje.TH,pje.TH],[dje.THEAD,pje.THEAD],[dje.TITLE,pje.TITLE],[dje.TR,pje.TR],[dje.TRACK,pje.TRACK],[dje.TT,pje.TT],[dje.U,pje.U],[dje.UL,pje.UL],[dje.SVG,pje.SVG],[dje.VAR,pje.VAR],[dje.WBR,pje.WBR],[dje.XMP,pje.XMP]]),mje=pje,fje={[lje.HTML]:new Set([mje.ADDRESS,mje.APPLET,mje.AREA,mje.ARTICLE,mje.ASIDE,mje.BASE,mje.BASEFONT,mje.BGSOUND,mje.BLOCKQUOTE,mje.BODY,mje.BR,mje.BUTTON,mje.CAPTION,mje.CENTER,mje.COL,mje.COLGROUP,mje.DD,mje.DETAILS,mje.DIR,mje.DIV,mje.DL,mje.DT,mje.EMBED,mje.FIELDSET,mje.FIGCAPTION,mje.FIGURE,mje.FOOTER,mje.FORM,mje.FRAME,mje.FRAMESET,mje.H1,mje.H2,mje.H3,mje.H4,mje.H5,mje.H6,mje.HEAD,mje.HEADER,mje.HGROUP,mje.HR,mje.HTML,mje.IFRAME,mje.IMG,mje.INPUT,mje.LI,mje.LINK,mje.LISTING,mje.MAIN,mje.MARQUEE,mje.MENU,mje.META,mje.NAV,mje.NOEMBED,mje.NOFRAMES,mje.NOSCRIPT,mje.OBJECT,mje.OL,mje.P,mje.PARAM,mje.PLAINTEXT,mje.PRE,mje.SCRIPT,mje.SECTION,mje.SELECT,mje.SOURCE,mje.STYLE,mje.SUMMARY,mje.TABLE,mje.TBODY,mje.TD,mje.TEMPLATE,mje.TEXTAREA,mje.TFOOT,mje.TH,mje.THEAD,mje.TITLE,mje.TR,mje.TRACK,mje.UL,mje.WBR,mje.XMP]),[lje.MATHML]:new Set([mje.MI,mje.MO,mje.MN,mje.MS,mje.MTEXT,mje.ANNOTATION_XML]),[lje.SVG]:new Set([mje.TITLE,mje.FOREIGN_OBJECT,mje.DESC]),[lje.XLINK]:new Set,[lje.XML]:new Set,[lje.XMLNS]:new Set},gje=new Set([mje.H1,mje.H2,mje.H3,mje.H4,mje.H5,mje.H6]),new Set([dje.STYLE,dje.SCRIPT,dje.XMP,dje.IFRAME,dje.NOEMBED,dje.NOFRAMES,dje.PLAINTEXT]),function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"}(vje||={}),bje={DATA:vje.DATA,RCDATA:vje.RCDATA,RAWTEXT:vje.RAWTEXT,SCRIPT_DATA:vje.SCRIPT_DATA,PLAINTEXT:vje.PLAINTEXT,CDATA_SECTION:vje.CDATA_SECTION},yje=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=vje.DATA,this.returnState=vje.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new JBe(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new sje(tje,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(KBe.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(KBe.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){return e===GBe.NULL?KBe.nullCharacterReference:e>1114111?KBe.characterReferenceOutsideUnicodeRange:LRe(e)?KBe.surrogateCharacterReference:jRe(e)?KBe.noncharacterCharacterReference:BRe(e)||e===GBe.CARRIAGE_RETURN?KBe.controlCharacterReference:null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var a,r;null==(r=(a=this.handler).onParseError)||r.call(a,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e?.())}write(e,t,a){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||a?.()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:eje.START_TAG,tagName:"",tagID:pje.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:eje.END_TAG,tagName:"",tagID:pje.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:eje.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:eje.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e;let t=this.currentToken;if(null===URe(t,this.currentAttr.name)){if(t.attrs.push(this.currentAttr),t.location&&this.currentLocation){((e=t.location).attrs??(e.attrs=Object.create(null)))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(KBe.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=QRe(e.tagName),e.type===eje.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(KBe.endTagWithAttributes),e.selfClosing&&this._err(KBe.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case eje.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case eje.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case eje.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:eje.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=GRe(e)?eje.WHITESPACE_CHARACTER:e===GBe.NULL?eje.NULL_CHARACTER:eje.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(eje.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=vje.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?ije.Attribute:ije.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===vje.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===vje.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===vje.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case vje.DATA:this._stateData(e);break;case vje.RCDATA:this._stateRcdata(e);break;case vje.RAWTEXT:this._stateRawtext(e);break;case vje.SCRIPT_DATA:this._stateScriptData(e);break;case vje.PLAINTEXT:this._statePlaintext(e);break;case vje.TAG_OPEN:this._stateTagOpen(e);break;case vje.END_TAG_OPEN:this._stateEndTagOpen(e);break;case vje.TAG_NAME:this._stateTagName(e);break;case vje.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case vje.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case vje.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case vje.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case vje.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case vje.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case vje.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case vje.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case vje.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case vje.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case vje.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case vje.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case vje.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case vje.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case vje.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case vje.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case vje.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case vje.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case vje.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case vje.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case vje.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case vje.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case vje.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case vje.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case vje.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case vje.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case vje.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case vje.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case vje.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case vje.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case vje.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case vje.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case vje.BOGUS_COMMENT:this._stateBogusComment(e);break;case vje.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case vje.COMMENT_START:this._stateCommentStart(e);break;case vje.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case vje.COMMENT:this._stateComment(e);break;case vje.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case vje.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case vje.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case vje.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case vje.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case vje.COMMENT_END:this._stateCommentEnd(e);break;case vje.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case vje.DOCTYPE:this._stateDoctype(e);break;case vje.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case vje.DOCTYPE_NAME:this._stateDoctypeName(e);break;case vje.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case vje.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case vje.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case vje.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case vje.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case vje.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case vje.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case vje.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case vje.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case vje.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case vje.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case vje.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case vje.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case vje.CDATA_SECTION:this._stateCdataSection(e);break;case vje.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case vje.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case vje.CHARACTER_REFERENCE:this._stateCharacterReference();break;case vje.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case GBe.LESS_THAN_SIGN:this.state=vje.TAG_OPEN;break;case GBe.AMPERSAND:this._startCharacterReference();break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this._emitCodePoint(e);break;case GBe.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case GBe.AMPERSAND:this._startCharacterReference();break;case GBe.LESS_THAN_SIGN:this.state=vje.RCDATA_LESS_THAN_SIGN;break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this._emitChars("�");break;case GBe.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case GBe.LESS_THAN_SIGN:this.state=vje.RAWTEXT_LESS_THAN_SIGN;break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this._emitChars("�");break;case GBe.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case GBe.LESS_THAN_SIGN:this.state=vje.SCRIPT_DATA_LESS_THAN_SIGN;break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this._emitChars("�");break;case GBe.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this._emitChars("�");break;case GBe.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(FRe(e))this._createStartTagToken(),this.state=vje.TAG_NAME,this._stateTagName(e);else switch(e){case GBe.EXCLAMATION_MARK:this.state=vje.MARKUP_DECLARATION_OPEN;break;case GBe.SOLIDUS:this.state=vje.END_TAG_OPEN;break;case GBe.QUESTION_MARK:this._err(KBe.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=vje.BOGUS_COMMENT,this._stateBogusComment(e);break;case GBe.EOF:this._err(KBe.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(KBe.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=vje.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(FRe(e))this._createEndTagToken(),this.state=vje.TAG_NAME,this._stateTagName(e);else switch(e){case GBe.GREATER_THAN_SIGN:this._err(KBe.missingEndTagName),this.state=vje.DATA;break;case GBe.EOF:this._err(KBe.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(KBe.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=vje.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:this.state=vje.BEFORE_ATTRIBUTE_NAME;break;case GBe.SOLIDUS:this.state=vje.SELF_CLOSING_START_TAG;break;case GBe.GREATER_THAN_SIGN:this.state=vje.DATA,this.emitCurrentTagToken();break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),t.tagName+="�";break;case GBe.EOF:this._err(KBe.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(qRe(e)?XRe(e):e)}}_stateRcdataLessThanSign(e){e===GBe.SOLIDUS?this.state=vje.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=vje.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){FRe(e)?(this.state=vje.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=vje.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=vje.BEFORE_ATTRIBUTE_NAME,!1;case GBe.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=vje.SELF_CLOSING_START_TAG,!1;case GBe.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=vje.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=vje.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===GBe.SOLIDUS?this.state=vje.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=vje.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){FRe(e)?(this.state=vje.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=vje.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=vje.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case GBe.SOLIDUS:this.state=vje.SCRIPT_DATA_END_TAG_OPEN;break;case GBe.EXCLAMATION_MARK:this.state=vje.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=vje.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){FRe(e)?(this.state=vje.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=vje.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=vje.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===GBe.HYPHEN_MINUS?(this.state=vje.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=vje.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===GBe.HYPHEN_MINUS?(this.state=vje.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=vje.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case GBe.HYPHEN_MINUS:this.state=vje.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case GBe.LESS_THAN_SIGN:this.state=vje.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this._emitChars("�");break;case GBe.EOF:this._err(KBe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case GBe.HYPHEN_MINUS:this.state=vje.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case GBe.LESS_THAN_SIGN:this.state=vje.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this.state=vje.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case GBe.EOF:this._err(KBe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=vje.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case GBe.HYPHEN_MINUS:this._emitChars("-");break;case GBe.LESS_THAN_SIGN:this.state=vje.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case GBe.GREATER_THAN_SIGN:this.state=vje.SCRIPT_DATA,this._emitChars(">");break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this.state=vje.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case GBe.EOF:this._err(KBe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=vje.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===GBe.SOLIDUS?this.state=vje.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:FRe(e)?(this._emitChars("<"),this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=vje.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){FRe(e)?(this.state=vje.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=vje.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=vje.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(YBe.SCRIPT,!1)&&YRe(this.preprocessor.peek(YBe.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<YBe.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=vje.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case GBe.HYPHEN_MINUS:this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case GBe.LESS_THAN_SIGN:this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this._emitChars("�");break;case GBe.EOF:this._err(KBe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case GBe.HYPHEN_MINUS:this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case GBe.LESS_THAN_SIGN:this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case GBe.EOF:this._err(KBe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case GBe.HYPHEN_MINUS:this._emitChars("-");break;case GBe.LESS_THAN_SIGN:this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case GBe.GREATER_THAN_SIGN:this.state=vje.SCRIPT_DATA,this._emitChars(">");break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case GBe.EOF:this._err(KBe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===GBe.SOLIDUS?(this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(YBe.SCRIPT,!1)&&YRe(this.preprocessor.peek(YBe.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<YBe.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=vje.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=vje.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:break;case GBe.SOLIDUS:case GBe.GREATER_THAN_SIGN:case GBe.EOF:this.state=vje.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case GBe.EQUALS_SIGN:this._err(KBe.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=vje.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=vje.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:case GBe.SOLIDUS:case GBe.GREATER_THAN_SIGN:case GBe.EOF:this._leaveAttrName(),this.state=vje.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case GBe.EQUALS_SIGN:this._leaveAttrName(),this.state=vje.BEFORE_ATTRIBUTE_VALUE;break;case GBe.QUOTATION_MARK:case GBe.APOSTROPHE:case GBe.LESS_THAN_SIGN:this._err(KBe.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(qRe(e)?XRe(e):e)}}_stateAfterAttributeName(e){switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:break;case GBe.SOLIDUS:this.state=vje.SELF_CLOSING_START_TAG;break;case GBe.EQUALS_SIGN:this.state=vje.BEFORE_ATTRIBUTE_VALUE;break;case GBe.GREATER_THAN_SIGN:this.state=vje.DATA,this.emitCurrentTagToken();break;case GBe.EOF:this._err(KBe.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=vje.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:break;case GBe.QUOTATION_MARK:this.state=vje.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case GBe.APOSTROPHE:this.state=vje.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case GBe.GREATER_THAN_SIGN:this._err(KBe.missingAttributeValue),this.state=vje.DATA,this.emitCurrentTagToken();break;default:this.state=vje.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case GBe.QUOTATION_MARK:this.state=vje.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case GBe.AMPERSAND:this._startCharacterReference();break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this.currentAttr.value+="�";break;case GBe.EOF:this._err(KBe.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case GBe.APOSTROPHE:this.state=vje.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case GBe.AMPERSAND:this._startCharacterReference();break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this.currentAttr.value+="�";break;case GBe.EOF:this._err(KBe.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:this._leaveAttrValue(),this.state=vje.BEFORE_ATTRIBUTE_NAME;break;case GBe.AMPERSAND:this._startCharacterReference();break;case GBe.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=vje.DATA,this.emitCurrentTagToken();break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this.currentAttr.value+="�";break;case GBe.QUOTATION_MARK:case GBe.APOSTROPHE:case GBe.LESS_THAN_SIGN:case GBe.EQUALS_SIGN:case GBe.GRAVE_ACCENT:this._err(KBe.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case GBe.EOF:this._err(KBe.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:this._leaveAttrValue(),this.state=vje.BEFORE_ATTRIBUTE_NAME;break;case GBe.SOLIDUS:this._leaveAttrValue(),this.state=vje.SELF_CLOSING_START_TAG;break;case GBe.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=vje.DATA,this.emitCurrentTagToken();break;case GBe.EOF:this._err(KBe.eofInTag),this._emitEOFToken();break;default:this._err(KBe.missingWhitespaceBetweenAttributes),this.state=vje.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case GBe.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=vje.DATA,this.emitCurrentTagToken();break;case GBe.EOF:this._err(KBe.eofInTag),this._emitEOFToken();break;default:this._err(KBe.unexpectedSolidusInTag),this.state=vje.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case GBe.GREATER_THAN_SIGN:this.state=vje.DATA,this.emitCurrentComment(t);break;case GBe.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(YBe.DASH_DASH,!0)?(this._createCommentToken(YBe.DASH_DASH.length+1),this.state=vje.COMMENT_START):this._consumeSequenceIfMatch(YBe.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(YBe.DOCTYPE.length+1),this.state=vje.DOCTYPE):this._consumeSequenceIfMatch(YBe.CDATA_START,!0)?this.inForeignNode?this.state=vje.CDATA_SECTION:(this._err(KBe.cdataInHtmlContent),this._createCommentToken(YBe.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=vje.BOGUS_COMMENT):this._ensureHibernation()||(this._err(KBe.incorrectlyOpenedComment),this._createCommentToken(2),this.state=vje.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case GBe.HYPHEN_MINUS:this.state=vje.COMMENT_START_DASH;break;case GBe.GREATER_THAN_SIGN:{this._err(KBe.abruptClosingOfEmptyComment),this.state=vje.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=vje.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case GBe.HYPHEN_MINUS:this.state=vje.COMMENT_END;break;case GBe.GREATER_THAN_SIGN:this._err(KBe.abruptClosingOfEmptyComment),this.state=vje.DATA,this.emitCurrentComment(t);break;case GBe.EOF:this._err(KBe.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=vje.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case GBe.HYPHEN_MINUS:this.state=vje.COMMENT_END_DASH;break;case GBe.LESS_THAN_SIGN:t.data+="<",this.state=vje.COMMENT_LESS_THAN_SIGN;break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),t.data+="�";break;case GBe.EOF:this._err(KBe.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case GBe.EXCLAMATION_MARK:t.data+="!",this.state=vje.COMMENT_LESS_THAN_SIGN_BANG;break;case GBe.LESS_THAN_SIGN:t.data+="<";break;default:this.state=vje.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===GBe.HYPHEN_MINUS?this.state=vje.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=vje.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===GBe.HYPHEN_MINUS?this.state=vje.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=vje.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==GBe.GREATER_THAN_SIGN&&e!==GBe.EOF&&this._err(KBe.nestedComment),this.state=vje.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case GBe.HYPHEN_MINUS:this.state=vje.COMMENT_END;break;case GBe.EOF:this._err(KBe.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=vje.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case GBe.GREATER_THAN_SIGN:this.state=vje.DATA,this.emitCurrentComment(t);break;case GBe.EXCLAMATION_MARK:this.state=vje.COMMENT_END_BANG;break;case GBe.HYPHEN_MINUS:t.data+="-";break;case GBe.EOF:this._err(KBe.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=vje.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case GBe.HYPHEN_MINUS:t.data+="--!",this.state=vje.COMMENT_END_DASH;break;case GBe.GREATER_THAN_SIGN:this._err(KBe.incorrectlyClosedComment),this.state=vje.DATA,this.emitCurrentComment(t);break;case GBe.EOF:this._err(KBe.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=vje.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:this.state=vje.BEFORE_DOCTYPE_NAME;break;case GBe.GREATER_THAN_SIGN:this.state=vje.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case GBe.EOF:{this._err(KBe.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(KBe.missingWhitespaceBeforeDoctypeName),this.state=vje.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(qRe(e))this._createDoctypeToken(String.fromCharCode(XRe(e))),this.state=vje.DOCTYPE_NAME;else switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=vje.DOCTYPE_NAME;break;case GBe.GREATER_THAN_SIGN:{this._err(KBe.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=vje.DATA;break}case GBe.EOF:{this._err(KBe.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=vje.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:this.state=vje.AFTER_DOCTYPE_NAME;break;case GBe.GREATER_THAN_SIGN:this.state=vje.DATA,this.emitCurrentDoctype(t);break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),t.name+="�";break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(qRe(e)?XRe(e):e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:break;case GBe.GREATER_THAN_SIGN:this.state=vje.DATA,this.emitCurrentDoctype(t);break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(YBe.PUBLIC,!1)?this.state=vje.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(YBe.SYSTEM,!1)?this.state=vje.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(KBe.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=vje.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:this.state=vje.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case GBe.QUOTATION_MARK:this._err(KBe.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=vje.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case GBe.APOSTROPHE:this._err(KBe.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=vje.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case GBe.GREATER_THAN_SIGN:this._err(KBe.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=vje.DATA,this.emitCurrentDoctype(t);break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KBe.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=vje.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:break;case GBe.QUOTATION_MARK:t.publicId="",this.state=vje.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case GBe.APOSTROPHE:t.publicId="",this.state=vje.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case GBe.GREATER_THAN_SIGN:this._err(KBe.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=vje.DATA,this.emitCurrentDoctype(t);break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KBe.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=vje.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case GBe.QUOTATION_MARK:this.state=vje.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),t.publicId+="�";break;case GBe.GREATER_THAN_SIGN:this._err(KBe.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=vje.DATA;break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case GBe.APOSTROPHE:this.state=vje.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),t.publicId+="�";break;case GBe.GREATER_THAN_SIGN:this._err(KBe.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=vje.DATA;break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:this.state=vje.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case GBe.GREATER_THAN_SIGN:this.state=vje.DATA,this.emitCurrentDoctype(t);break;case GBe.QUOTATION_MARK:this._err(KBe.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=vje.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case GBe.APOSTROPHE:this._err(KBe.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=vje.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KBe.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=vje.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:break;case GBe.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=vje.DATA;break;case GBe.QUOTATION_MARK:t.systemId="",this.state=vje.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case GBe.APOSTROPHE:t.systemId="",this.state=vje.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KBe.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=vje.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:this.state=vje.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case GBe.QUOTATION_MARK:this._err(KBe.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=vje.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case GBe.APOSTROPHE:this._err(KBe.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=vje.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case GBe.GREATER_THAN_SIGN:this._err(KBe.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=vje.DATA,this.emitCurrentDoctype(t);break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KBe.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=vje.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:break;case GBe.QUOTATION_MARK:t.systemId="",this.state=vje.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case GBe.APOSTROPHE:t.systemId="",this.state=vje.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case GBe.GREATER_THAN_SIGN:this._err(KBe.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=vje.DATA,this.emitCurrentDoctype(t);break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KBe.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=vje.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case GBe.QUOTATION_MARK:this.state=vje.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),t.systemId+="�";break;case GBe.GREATER_THAN_SIGN:this._err(KBe.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=vje.DATA;break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case GBe.APOSTROPHE:this.state=vje.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter),t.systemId+="�";break;case GBe.GREATER_THAN_SIGN:this._err(KBe.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=vje.DATA;break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case GBe.SPACE:case GBe.LINE_FEED:case GBe.TABULATION:case GBe.FORM_FEED:break;case GBe.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=vje.DATA;break;case GBe.EOF:this._err(KBe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(KBe.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=vje.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case GBe.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=vje.DATA;break;case GBe.NULL:this._err(KBe.unexpectedNullCharacter);break;case GBe.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case GBe.RIGHT_SQUARE_BRACKET:this.state=vje.CDATA_SECTION_BRACKET;break;case GBe.EOF:this._err(KBe.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===GBe.RIGHT_SQUARE_BRACKET?this.state=vje.CDATA_SECTION_END:(this._emitChars("]"),this.state=vje.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case GBe.GREATER_THAN_SIGN:this.state=vje.DATA;break;case GBe.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=vje.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0){if(!this.preprocessor.lastChunkWritten)return this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,void(this.preprocessor.endOfChunkHit=!0);e=this.entityDecoder.end()}0===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(GBe.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&WRe(this.preprocessor.peek(1))?vje.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){WRe(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===GBe.SEMICOLON&&this._err(KBe.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}},Oje=new Set([pje.DD,pje.DT,pje.LI,pje.OPTGROUP,pje.OPTION,pje.P,pje.RB,pje.RP,pje.RT,pje.RTC]),xje=new Set([...Oje,pje.CAPTION,pje.COLGROUP,pje.TBODY,pje.TD,pje.TFOOT,pje.TH,pje.THEAD,pje.TR]),wje=new Set([pje.APPLET,pje.CAPTION,pje.HTML,pje.MARQUEE,pje.OBJECT,pje.TABLE,pje.TD,pje.TEMPLATE,pje.TH]),kje=new Set([...wje,pje.OL,pje.UL]),Sje=new Set([...wje,pje.BUTTON]),Aje=new Set([pje.ANNOTATION_XML,pje.MI,pje.MN,pje.MO,pje.MS,pje.MTEXT]),_je=new Set([pje.DESC,pje.FOREIGN_OBJECT,pje.TITLE]),Tje=new Set([pje.TR,pje.TEMPLATE,pje.HTML]),Eje=new Set([pje.TBODY,pje.TFOOT,pje.THEAD,pje.TEMPLATE,pje.HTML]),Cje=new Set([pje.TABLE,pje.TEMPLATE,pje.HTML]),Pje=new Set([pje.TD,pje.TH]),Mje=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,a){this.treeAdapter=t,this.handler=a,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=pje.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===pje.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===lje.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let a=this._indexOf(e);this.items[a]=t,a===this.stackTop&&(this.current=t)}insertAfter(e,t,a){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,a),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==lje.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&--this.tmplCount,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let a=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(a,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(gje,lje.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Pje,lje.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let a=this.stackTop;a>=0;a--)if(e.has(this.tagIDs[a])&&this.treeAdapter.getNamespaceURI(this.items[a])===t)return a;return-1}clearBackTo(e,t){let a=this._indexOfTagNames(e,t);this.shortenToLength(a+1)}clearBackToTableContext(){this.clearBackTo(Cje,lje.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Eje,lje.HTML)}clearBackToTableRowContext(){this.clearBackTo(Tje,lje.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===pje.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===pje.HTML}hasInDynamicScope(e,t){for(let a=this.stackTop;a>=0;a--){let r=this.tagIDs[a];switch(this.treeAdapter.getNamespaceURI(this.items[a])){case lje.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case lje.SVG:if(_je.has(r))return!1;break;case lje.MATHML:if(Aje.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,wje)}hasInListItemScope(e){return this.hasInDynamicScope(e,kje)}hasInButtonScope(e){return this.hasInDynamicScope(e,Sje)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case lje.HTML:if(gje.has(t))return!0;if(wje.has(t))return!1;break;case lje.SVG:if(_je.has(t))return!1;break;case lje.MATHML:if(Aje.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===lje.HTML)switch(this.tagIDs[t]){case e:return!0;case pje.TABLE:case pje.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===lje.HTML)switch(this.tagIDs[e]){case pje.TBODY:case pje.THEAD:case pje.TFOOT:return!0;case pje.TABLE:case pje.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===lje.HTML)switch(this.tagIDs[t]){case e:return!0;case pje.OPTION:case pje.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&Oje.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&xje.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&xje.has(this.currentTagId);)this.pop()}},function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}($je||={}),Nje={type:$je.Marker},Ije=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let a=[],r=t.length,n=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===$je.Marker)break;let{element:i}=t;if(this.treeAdapter.getTagName(i)===n&&this.treeAdapter.getNamespaceURI(i)===o){let t=this.treeAdapter.getAttrList(i);t.length===r&&a.push({idx:e,attrs:t})}}return a}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let t=this.treeAdapter.getAttrList(e),a=this._getNoahArkConditionCandidates(e,t);if(a.length<3)return;let r=new Map(t.map(e=>[e.name,e.value])),n=0;for(let e=0;e<a.length;e++){let t=a[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(n+=1,n>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(Nje)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:$je.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let a=this.entries.indexOf(this.bookmark);this.entries.splice(a,0,{type:$je.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(Nje);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===$je.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===$je.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===$je.Element&&t.element===e)}},Rje={createDocument:()=>({nodeName:"#document",mode:uje.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,a)=>({nodeName:e,tagName:e,attrs:a,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,a){let r=e.childNodes.indexOf(a);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,a,r){let n=e.childNodes.find(e=>"#documentType"===e.nodeName);if(n)n.name=t,n.publicId=a,n.systemId=r;else{let n={nodeName:"#documentType",name:t,publicId:a,systemId:r,parentNode:null};Rje.appendChild(e,n)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let a=e.childNodes[e.childNodes.length-1];if(Rje.isTextNode(a))return void(a.value+=t)}Rje.appendChild(e,Rje.createTextNode(t))},insertTextBefore(e,t,a){let r=e.childNodes[e.childNodes.indexOf(a)-1];r&&Rje.isTextNode(r)?r.value+=t:Rje.insertBefore(e,Rje.createTextNode(t),a)},adoptAttributes(e,t){let a=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)a.has(t[r].name)||e.attrs.push(t[r])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Dje="html",Lje="about:legacy-compat",Bje="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",jje="+//silmaril//dtd html pro v0r11 19970101//,-//as//dtd html 3.0 aswedit + extensions//,-//advasoft ltd//dtd html 3.0 aswedit + extensions//,-//ietf//dtd html 2.0 level 1//,-//ietf//dtd html 2.0 level 2//,-//ietf//dtd html 2.0 strict level 1//,-//ietf//dtd html 2.0 strict level 2//,-//ietf//dtd html 2.0 strict//,-//ietf//dtd html 2.0//,-//ietf//dtd html 2.1e//,-//ietf//dtd html 3.0//,-//ietf//dtd html 3.2 final//,-//ietf//dtd html 3.2//,-//ietf//dtd html 3//,-//ietf//dtd html level 0//,-//ietf//dtd html level 1//,-//ietf//dtd html level 2//,-//ietf//dtd html level 3//,-//ietf//dtd html strict level 0//,-//ietf//dtd html strict level 1//,-//ietf//dtd html strict level 2//,-//ietf//dtd html strict level 3//,-//ietf//dtd html strict//,-//ietf//dtd html//,-//metrius//dtd metrius presentational//,-//microsoft//dtd internet explorer 2.0 html strict//,-//microsoft//dtd internet explorer 2.0 html//,-//microsoft//dtd internet explorer 2.0 tables//,-//microsoft//dtd internet explorer 3.0 html strict//,-//microsoft//dtd internet explorer 3.0 html//,-//microsoft//dtd internet explorer 3.0 tables//,-//netscape comm. corp.//dtd html//,-//netscape comm. corp.//dtd strict html//,-//o'reilly and associates//dtd html 2.0//,-//o'reilly and associates//dtd html extended 1.0//,-//o'reilly and associates//dtd html extended relaxed 1.0//,-//sq//dtd html 2.0 hotmetal + extensions//,-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//,-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//,-//spyglass//dtd html 2.0 extended//,-//sun microsystems corp.//dtd hotjava html//,-//sun microsystems corp.//dtd hotjava strict html//,-//w3c//dtd html 3 1995-03-24//,-//w3c//dtd html 3.2 draft//,-//w3c//dtd html 3.2 final//,-//w3c//dtd html 3.2//,-//w3c//dtd html 3.2s draft//,-//w3c//dtd html 4.0 frameset//,-//w3c//dtd html 4.0 transitional//,-//w3c//dtd html experimental 19960712//,-//w3c//dtd html experimental 970421//,-//w3c//dtd w3 html//,-//w3o//dtd w3 html 3.0//,-//webtechs//dtd mozilla html 2.0//,-//webtechs//dtd mozilla html//".split(","),Uje=[...jje,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],zje=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Hje=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Zje=[...Hje,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Vje={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Qje="definitionurl",qje="definitionURL",Fje=new Map("attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan".split(".").map(e=>[e.toLowerCase(),e])),Wje=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:lje.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:lje.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:lje.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:lje.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:lje.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:lje.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:lje.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:lje.XML}],["xml:space",{prefix:"xml",name:"space",namespace:lje.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:lje.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:lje.XMLNS}]]),Xje=new Map("altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath".split(".").map(e=>[e.toLowerCase(),e])),Gje=new Set([pje.B,pje.BIG,pje.BLOCKQUOTE,pje.BODY,pje.BR,pje.CENTER,pje.CODE,pje.DD,pje.DIV,pje.DL,pje.DT,pje.EM,pje.EMBED,pje.H1,pje.H2,pje.H3,pje.H4,pje.H5,pje.H6,pje.HEAD,pje.HR,pje.I,pje.IMG,pje.LI,pje.LISTING,pje.MENU,pje.META,pje.NOBR,pje.OL,pje.P,pje.PRE,pje.RUBY,pje.S,pje.SMALL,pje.SPAN,pje.STRONG,pje.STRIKE,pje.SUB,pje.SUP,pje.TABLE,pje.TT,pje.U,pje.UL,pje.VAR]),Yje="hidden",Kje=8,Jje=3,function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"}(eUe||={}),tUe={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},aUe=new Set([pje.TABLE,pje.TBODY,pje.TFOOT,pje.THEAD,pje.TR]),rUe={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Rje,onParseError:null},nUe=class{constructor(e,t,a=null,r=null){this.fragmentContext=a,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=eUe.INITIAL,this.originalInsertionMode=eUe.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...rUe,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new yje(this.options,this),this.activeFormattingElements=new Ije(this.treeAdapter),this.fragmentContextID=a?QRe(this.treeAdapter.getTagName(a)):pje.UNKNOWN,this._setContextModes(a??this.document,this.fragmentContextID),this.openElements=new Mje(this.document,this.treeAdapter,this)}static parse(e,t){let a=new this(t);return a.tokenizer.write(e,!0),a.document}static getFragmentParser(e,t){let a={...rUe,...t};e??=a.treeAdapter.createElement(dje.TEMPLATE,lje.HTML,[]);let r=a.treeAdapter.createElement("documentmock",lje.HTML,[]),n=new this(a,r,e);return n.fragmentContextID===pje.TEMPLATE&&n.tmplInsertionModeStack.unshift(eUe.IN_TEMPLATE),n._initTokenizerForFragmentParsing(),n._insertFakeRootElement(),n._resetInsertionMode(),n._findFormInFragmentContext(),n}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,a){if(!this.onParseError)return;let r=e.location??tUe,n={code:t,startLine:r.startLine,startCol:r.startCol,startOffset:r.startOffset,endLine:a?r.startLine:r.endLine,endCol:a?r.startCol:r.endCol,endOffset:a?r.startOffset:r.endOffset};this.onParseError(n)}onItemPush(e,t,a){var r,n;null==(n=(r=this.treeAdapter).onItemPush)||n.call(r,e),a&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var a,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null==(r=(a=this.treeAdapter).onItemPop)||r.call(a,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){let a=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===lje.HTML;this.currentNotInHTML=!a,this.tokenizer.inForeignNode=!a&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,lje.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=eUe.TEXT}switchToPlaintextParsing(){this.insertionMode=eUe.TEXT,this.originalInsertionMode=eUe.IN_BODY,this.tokenizer.state=bje.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===dje.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===lje.HTML)switch(this.fragmentContextID){case pje.TITLE:case pje.TEXTAREA:this.tokenizer.state=bje.RCDATA;break;case pje.STYLE:case pje.XMP:case pje.IFRAME:case pje.NOEMBED:case pje.NOFRAMES:case pje.NOSCRIPT:this.tokenizer.state=bje.RAWTEXT;break;case pje.SCRIPT:this.tokenizer.state=bje.SCRIPT_DATA;break;case pje.PLAINTEXT:this.tokenizer.state=bje.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",a=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,a,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let a=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,a)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t??this.document,e)}}_appendElement(e,t){let a=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(a,e.location)}_insertElement(e,t){let a=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(a,e.location),this.openElements.push(a,e.tagID)}_insertFakeElement(e,t){let a=this.treeAdapter.createElement(e,lje.HTML,[]);this._attachElementToTree(a,null),this.openElements.push(a,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,lje.HTML,e.attrs),a=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,a),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(dje.HTML,lje.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,pje.HTML)}_appendCommentNode(e,t){let a=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,a),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_insertCharacters(e){let t,a;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:a}=this._findFosterParentingLocation()),a?this.treeAdapter.insertTextBefore(t,e.chars,a):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),n=r[(a?r.lastIndexOf(a):r.length)-1];if(this.treeAdapter.getNodeSourceCodeLocation(n)){let{endLine:t,endCol:a,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(n,{endLine:t,endCol:a,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_adoptNodes(e,t){for(let a=this.treeAdapter.getFirstChild(e);a;a=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(a),this.treeAdapter.appendChild(t,a)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let a=t.location,r=this.treeAdapter.getTagName(e),n=t.type===eje.END_TAG&&r===t.tagName?{endTag:{...a},endLine:a.endLine,endCol:a.endCol,endOffset:a.endOffset}:{endLine:a.startLine,endCol:a.startCol,endOffset:a.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,n)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,a;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,a=this.fragmentContextID):({current:t,currentTagId:a}=this.openElements),(e.tagID!==pje.SVG||this.treeAdapter.getTagName(t)!==dje.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==lje.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===pje.MGLYPH||e.tagID===pje.MALIGNMARK)&&void 0!==a&&!this._isIntegrationPoint(a,t,lje.HTML))}_processToken(e){switch(e.type){case eje.CHARACTER:this.onCharacter(e);break;case eje.NULL_CHARACTER:this.onNullCharacter(e);break;case eje.COMMENT:this.onComment(e);break;case eje.DOCTYPE:this.onDoctype(e);break;case eje.START_TAG:this._processStartTag(e);break;case eje.END_TAG:this.onEndTag(e);break;case eje.EOF:this.onEof(e);break;case eje.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,a){return aDe(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),a)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===$je.Marker||this.openElements.contains(e.element)),a=-1===t?e-1:t-1;for(let e=a;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=eUe.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(pje.P),this.openElements.popUntilTagNamePopped(pje.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case pje.TR:return void(this.insertionMode=eUe.IN_ROW);case pje.TBODY:case pje.THEAD:case pje.TFOOT:return void(this.insertionMode=eUe.IN_TABLE_BODY);case pje.CAPTION:return void(this.insertionMode=eUe.IN_CAPTION);case pje.COLGROUP:return void(this.insertionMode=eUe.IN_COLUMN_GROUP);case pje.TABLE:return void(this.insertionMode=eUe.IN_TABLE);case pje.BODY:return void(this.insertionMode=eUe.IN_BODY);case pje.FRAMESET:return void(this.insertionMode=eUe.IN_FRAMESET);case pje.SELECT:return void this._resetInsertionModeForSelect(e);case pje.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case pje.HTML:return void(this.insertionMode=this.headElement?eUe.AFTER_HEAD:eUe.BEFORE_HEAD);case pje.TD:case pje.TH:if(e>0)return void(this.insertionMode=eUe.IN_CELL);break;case pje.HEAD:if(e>0)return void(this.insertionMode=eUe.IN_HEAD)}this.insertionMode=eUe.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===pje.TEMPLATE)break;if(e===pje.TABLE)return void(this.insertionMode=eUe.IN_SELECT_IN_TABLE)}this.insertionMode=eUe.IN_SELECT}_isElementCausesFosterParenting(e){return aUe.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case pje.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===lje.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case pje.TABLE:{let a=this.treeAdapter.getParentNode(t);return a?{parent:a,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return fje[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case eUe.INITIAL:hDe(this,e);break;case eUe.BEFORE_HTML:mDe(this,e);break;case eUe.BEFORE_HEAD:fDe(this,e);break;case eUe.IN_HEAD:bDe(this,e);break;case eUe.IN_HEAD_NO_SCRIPT:yDe(this,e);break;case eUe.AFTER_HEAD:ODe(this,e);break;case eUe.IN_BODY:case eUe.IN_CAPTION:case eUe.IN_CELL:case eUe.IN_TEMPLATE:kDe(this,e);break;case eUe.TEXT:case eUe.IN_SELECT:case eUe.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case eUe.IN_TABLE:case eUe.IN_TABLE_BODY:case eUe.IN_ROW:$De(this,e);break;case eUe.IN_TABLE_TEXT:LDe(this,e);break;case eUe.IN_COLUMN_GROUP:UDe(this,e);break;case eUe.AFTER_BODY:XDe(this,e);break;case eUe.AFTER_AFTER_BODY:GDe(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars="�",e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case eUe.INITIAL:hDe(this,e);break;case eUe.BEFORE_HTML:mDe(this,e);break;case eUe.BEFORE_HEAD:fDe(this,e);break;case eUe.IN_HEAD:bDe(this,e);break;case eUe.IN_HEAD_NO_SCRIPT:yDe(this,e);break;case eUe.AFTER_HEAD:ODe(this,e);break;case eUe.TEXT:this._insertCharacters(e);break;case eUe.IN_TABLE:case eUe.IN_TABLE_BODY:case eUe.IN_ROW:$De(this,e);break;case eUe.IN_COLUMN_GROUP:UDe(this,e);break;case eUe.AFTER_BODY:XDe(this,e);break;case eUe.AFTER_AFTER_BODY:GDe(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)uDe(this,e);else switch(this.insertionMode){case eUe.INITIAL:case eUe.BEFORE_HTML:case eUe.BEFORE_HEAD:case eUe.IN_HEAD:case eUe.IN_HEAD_NO_SCRIPT:case eUe.AFTER_HEAD:case eUe.IN_BODY:case eUe.IN_TABLE:case eUe.IN_CAPTION:case eUe.IN_COLUMN_GROUP:case eUe.IN_TABLE_BODY:case eUe.IN_ROW:case eUe.IN_CELL:case eUe.IN_SELECT:case eUe.IN_SELECT_IN_TABLE:case eUe.IN_TEMPLATE:case eUe.IN_FRAMESET:case eUe.AFTER_FRAMESET:uDe(this,e);break;case eUe.IN_TABLE_TEXT:BDe(this,e);break;case eUe.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case eUe.AFTER_AFTER_BODY:case eUe.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case eUe.INITIAL:pDe(this,e);break;case eUe.BEFORE_HEAD:case eUe.IN_HEAD:case eUe.IN_HEAD_NO_SCRIPT:case eUe.AFTER_HEAD:this._err(e,KBe.misplacedDoctype);break;case eUe.IN_TABLE_TEXT:BDe(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,KBe.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?KDe(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case eUe.INITIAL:hDe(this,e);break;case eUe.BEFORE_HTML:!function(e,t){t.tagID===pje.HTML?(e._insertElement(t,lje.HTML),e.insertionMode=eUe.BEFORE_HEAD):mDe(e,t)}(this,e);break;case eUe.BEFORE_HEAD:!function(e,t){switch(t.tagID){case pje.HTML:EDe(e,t);break;case pje.HEAD:e._insertElement(t,lje.HTML),e.headElement=e.openElements.current,e.insertionMode=eUe.IN_HEAD;break;default:fDe(e,t)}}(this,e);break;case eUe.IN_HEAD:gDe(this,e);break;case eUe.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case pje.HTML:EDe(e,t);break;case pje.BASEFONT:case pje.BGSOUND:case pje.HEAD:case pje.LINK:case pje.META:case pje.NOFRAMES:case pje.STYLE:gDe(e,t);break;case pje.NOSCRIPT:e._err(t,KBe.nestedNoscriptInHead);break;default:yDe(e,t)}}(this,e);break;case eUe.AFTER_HEAD:!function(e,t){switch(t.tagID){case pje.HTML:EDe(e,t);break;case pje.BODY:e._insertElement(t,lje.HTML),e.framesetOk=!1,e.insertionMode=eUe.IN_BODY;break;case pje.FRAMESET:e._insertElement(t,lje.HTML),e.insertionMode=eUe.IN_FRAMESET;break;case pje.BASE:case pje.BASEFONT:case pje.BGSOUND:case pje.LINK:case pje.META:case pje.NOFRAMES:case pje.SCRIPT:case pje.STYLE:case pje.TEMPLATE:case pje.TITLE:e._err(t,KBe.abandonedHeadElementChild),e.openElements.push(e.headElement,pje.HEAD),gDe(e,t),e.openElements.remove(e.headElement);break;case pje.HEAD:e._err(t,KBe.misplacedStartTagForHeadElement);break;default:ODe(e,t)}}(this,e);break;case eUe.IN_BODY:EDe(this,e);break;case eUe.IN_TABLE:NDe(this,e);break;case eUe.IN_TABLE_TEXT:BDe(this,e);break;case eUe.IN_CAPTION:!function(e,t){let a=t.tagID;oUe.has(a)?e.openElements.hasInTableScope(pje.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(pje.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=eUe.IN_TABLE,NDe(e,t)):EDe(e,t)}(this,e);break;case eUe.IN_COLUMN_GROUP:jDe(this,e);break;case eUe.IN_TABLE_BODY:zDe(this,e);break;case eUe.IN_ROW:ZDe(this,e);break;case eUe.IN_CELL:!function(e,t){let a=t.tagID;oUe.has(a)?(e.openElements.hasInTableScope(pje.TD)||e.openElements.hasInTableScope(pje.TH))&&(e._closeTableCell(),ZDe(e,t)):EDe(e,t)}(this,e);break;case eUe.IN_SELECT:QDe(this,e);break;case eUe.IN_SELECT_IN_TABLE:!function(e,t){let a=t.tagID;a===pje.CAPTION||a===pje.TABLE||a===pje.TBODY||a===pje.TFOOT||a===pje.THEAD||a===pje.TR||a===pje.TD||a===pje.TH?(e.openElements.popUntilTagNamePopped(pje.SELECT),e._resetInsertionMode(),e._processStartTag(t)):QDe(e,t)}(this,e);break;case eUe.IN_TEMPLATE:!function(e,t){switch(t.tagID){case pje.BASE:case pje.BASEFONT:case pje.BGSOUND:case pje.LINK:case pje.META:case pje.NOFRAMES:case pje.SCRIPT:case pje.STYLE:case pje.TEMPLATE:case pje.TITLE:gDe(e,t);break;case pje.CAPTION:case pje.COLGROUP:case pje.TBODY:case pje.TFOOT:case pje.THEAD:e.tmplInsertionModeStack[0]=eUe.IN_TABLE,e.insertionMode=eUe.IN_TABLE,NDe(e,t);break;case pje.COL:e.tmplInsertionModeStack[0]=eUe.IN_COLUMN_GROUP,e.insertionMode=eUe.IN_COLUMN_GROUP,jDe(e,t);break;case pje.TR:e.tmplInsertionModeStack[0]=eUe.IN_TABLE_BODY,e.insertionMode=eUe.IN_TABLE_BODY,zDe(e,t);break;case pje.TD:case pje.TH:e.tmplInsertionModeStack[0]=eUe.IN_ROW,e.insertionMode=eUe.IN_ROW,ZDe(e,t);break;default:e.tmplInsertionModeStack[0]=eUe.IN_BODY,e.insertionMode=eUe.IN_BODY,EDe(e,t)}}(this,e);break;case eUe.AFTER_BODY:!function(e,t){t.tagID===pje.HTML?EDe(e,t):XDe(e,t)}(this,e);break;case eUe.IN_FRAMESET:!function(e,t){switch(t.tagID){case pje.HTML:EDe(e,t);break;case pje.FRAMESET:e._insertElement(t,lje.HTML);break;case pje.FRAME:e._appendElement(t,lje.HTML),t.ackSelfClosing=!0;break;case pje.NOFRAMES:gDe(e,t)}}(this,e);break;case eUe.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case pje.HTML:EDe(e,t);break;case pje.NOFRAMES:gDe(e,t)}}(this,e);break;case eUe.AFTER_AFTER_BODY:!function(e,t){t.tagID===pje.HTML?EDe(e,t):GDe(e,t)}(this,e);break;case eUe.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case pje.HTML:EDe(e,t);break;case pje.NOFRAMES:gDe(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===pje.P||t.tagID===pje.BR)return YDe(e),void e._endTagOutsideForeignContent(t);for(let a=e.openElements.stackTop;a>0;a--){let r=e.openElements.items[a];if(e.treeAdapter.getNamespaceURI(r)===lje.HTML){e._endTagOutsideForeignContent(t);break}let n=e.treeAdapter.getTagName(r);if(n.toLowerCase()===t.tagName){t.tagName=n,e.openElements.shortenToLength(a);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case eUe.INITIAL:hDe(this,e);break;case eUe.BEFORE_HTML:!function(e,t){let a=t.tagID;(a===pje.HTML||a===pje.HEAD||a===pje.BODY||a===pje.BR)&&mDe(e,t)}(this,e);break;case eUe.BEFORE_HEAD:!function(e,t){let a=t.tagID;a===pje.HEAD||a===pje.BODY||a===pje.HTML||a===pje.BR?fDe(e,t):e._err(t,KBe.endTagWithoutMatchingOpenElement)}(this,e);break;case eUe.IN_HEAD:!function(e,t){switch(t.tagID){case pje.HEAD:e.openElements.pop(),e.insertionMode=eUe.AFTER_HEAD;break;case pje.BODY:case pje.BR:case pje.HTML:bDe(e,t);break;case pje.TEMPLATE:vDe(e,t);break;default:e._err(t,KBe.endTagWithoutMatchingOpenElement)}}(this,e);break;case eUe.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case pje.NOSCRIPT:e.openElements.pop(),e.insertionMode=eUe.IN_HEAD;break;case pje.BR:yDe(e,t);break;default:e._err(t,KBe.endTagWithoutMatchingOpenElement)}}(this,e);break;case eUe.AFTER_HEAD:!function(e,t){switch(t.tagID){case pje.BODY:case pje.HTML:case pje.BR:ODe(e,t);break;case pje.TEMPLATE:vDe(e,t);break;default:e._err(t,KBe.endTagWithoutMatchingOpenElement)}}(this,e);break;case eUe.IN_BODY:PDe(this,e);break;case eUe.TEXT:!function(e,t){var a;t.tagID===pje.SCRIPT&&(null==(a=e.scriptHandler)||a.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case eUe.IN_TABLE:IDe(this,e);break;case eUe.IN_TABLE_TEXT:BDe(this,e);break;case eUe.IN_CAPTION:!function(e,t){let a=t.tagID;switch(a){case pje.CAPTION:case pje.TABLE:e.openElements.hasInTableScope(pje.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(pje.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=eUe.IN_TABLE,a===pje.TABLE&&IDe(e,t));break;case pje.BODY:case pje.COL:case pje.COLGROUP:case pje.HTML:case pje.TBODY:case pje.TD:case pje.TFOOT:case pje.TH:case pje.THEAD:case pje.TR:break;default:PDe(e,t)}}(this,e);break;case eUe.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case pje.COLGROUP:e.openElements.currentTagId===pje.COLGROUP&&(e.openElements.pop(),e.insertionMode=eUe.IN_TABLE);break;case pje.TEMPLATE:vDe(e,t);break;case pje.COL:break;default:UDe(e,t)}}(this,e);break;case eUe.IN_TABLE_BODY:HDe(this,e);break;case eUe.IN_ROW:VDe(this,e);break;case eUe.IN_CELL:!function(e,t){let a=t.tagID;switch(a){case pje.TD:case pje.TH:e.openElements.hasInTableScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=eUe.IN_ROW);break;case pje.TABLE:case pje.TBODY:case pje.TFOOT:case pje.THEAD:case pje.TR:e.openElements.hasInTableScope(a)&&(e._closeTableCell(),VDe(e,t));break;case pje.BODY:case pje.CAPTION:case pje.COL:case pje.COLGROUP:case pje.HTML:break;default:PDe(e,t)}}(this,e);break;case eUe.IN_SELECT:qDe(this,e);break;case eUe.IN_SELECT_IN_TABLE:!function(e,t){let a=t.tagID;a===pje.CAPTION||a===pje.TABLE||a===pje.TBODY||a===pje.TFOOT||a===pje.THEAD||a===pje.TR||a===pje.TD||a===pje.TH?e.openElements.hasInTableScope(a)&&(e.openElements.popUntilTagNamePopped(pje.SELECT),e._resetInsertionMode(),e.onEndTag(t)):qDe(e,t)}(this,e);break;case eUe.IN_TEMPLATE:!function(e,t){t.tagID===pje.TEMPLATE&&vDe(e,t)}(this,e);break;case eUe.AFTER_BODY:WDe(this,e);break;case eUe.IN_FRAMESET:!function(e,t){t.tagID===pje.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==pje.FRAMESET&&(e.insertionMode=eUe.AFTER_FRAMESET))}(this,e);break;case eUe.AFTER_FRAMESET:!function(e,t){t.tagID===pje.HTML&&(e.insertionMode=eUe.AFTER_AFTER_FRAMESET)}(this,e);break;case eUe.AFTER_AFTER_BODY:GDe(this,e)}}onEof(e){switch(this.insertionMode){case eUe.INITIAL:hDe(this,e);break;case eUe.BEFORE_HTML:mDe(this,e);break;case eUe.BEFORE_HEAD:fDe(this,e);break;case eUe.IN_HEAD:bDe(this,e);break;case eUe.IN_HEAD_NO_SCRIPT:yDe(this,e);break;case eUe.AFTER_HEAD:ODe(this,e);break;case eUe.IN_BODY:case eUe.IN_TABLE:case eUe.IN_CAPTION:case eUe.IN_COLUMN_GROUP:case eUe.IN_TABLE_BODY:case eUe.IN_ROW:case eUe.IN_CELL:case eUe.IN_SELECT:case eUe.IN_SELECT_IN_TABLE:MDe(this,e);break;case eUe.TEXT:!function(e,t){e._err(t,KBe.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case eUe.IN_TABLE_TEXT:BDe(this,e);break;case eUe.IN_TEMPLATE:FDe(this,e);break;case eUe.AFTER_BODY:case eUe.IN_FRAMESET:case eUe.AFTER_FRAMESET:case eUe.AFTER_AFTER_BODY:case eUe.AFTER_AFTER_FRAMESET:dDe(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===GBe.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case eUe.IN_HEAD:case eUe.IN_HEAD_NO_SCRIPT:case eUe.AFTER_HEAD:case eUe.TEXT:case eUe.IN_COLUMN_GROUP:case eUe.IN_SELECT:case eUe.IN_SELECT_IN_TABLE:case eUe.IN_FRAMESET:case eUe.AFTER_FRAMESET:this._insertCharacters(e);break;case eUe.IN_BODY:case eUe.IN_CAPTION:case eUe.IN_CELL:case eUe.IN_TEMPLATE:case eUe.AFTER_BODY:case eUe.AFTER_AFTER_BODY:case eUe.AFTER_AFTER_FRAMESET:wDe(this,e);break;case eUe.IN_TABLE:case eUe.IN_TABLE_BODY:case eUe.IN_ROW:$De(this,e);break;case eUe.IN_TABLE_TEXT:DDe(this,e)}}},oUe=new Set([pje.CAPTION,pje.COL,pje.COLGROUP,pje.TBODY,pje.TD,pje.TFOOT,pje.TH,pje.THEAD,pje.TR]),new Set([dje.AREA,dje.BASE,dje.BASEFONT,dje.BGSOUND,dje.BR,dje.COL,dje.EMBED,dje.FRAME,dje.HR,dje.IMG,dje.INPUT,dje.KEYGEN,dje.LINK,dje.META,dje.PARAM,dje.SOURCE,dje.TRACK,dje.WBR]),iUe=class extends Error{constructor(e,t,a){super(),"string"==typeof t&&(a=t,t=void 0);let r="",n={},o=!1;if(t&&(n="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!n.cause&&e&&(o=!0,r=e.message,n.cause=e),!n.ruleId&&!n.source&&"string"==typeof a){let e=a.indexOf(":");-1===e?n.ruleId=a:(n.source=a.slice(0,e),n.ruleId=a.slice(e+1))}if(!n.place&&n.ancestors&&n.ancestors){let e=n.ancestors[n.ancestors.length-1];e&&(n.place=e.position)}let i=n.place&&"start"in n.place?n.place.start:n.place;this.ancestors=n.ancestors||void 0,this.cause=n.cause||void 0,this.column=i?i.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=i?i.line:void 0,this.name=tLe(n.place)||"1:1",this.place=n.place||void 0,this.reason=this.message,this.ruleId=n.ruleId||void 0,this.source=n.source||void 0,this.stack=o&&n.cause&&"string"==typeof n.cause.stack?n.cause.stack:"",this.actual,this.expected,this.note,this.url}},iUe.prototype.file="",iUe.prototype.name="",iUe.prototype.reason="",iUe.prototype.message="",iUe.prototype.stack="",iUe.prototype.column=void 0,iUe.prototype.line=void 0,iUe.prototype.ancestors=void 0,iUe.prototype.cause=void 0,iUe.prototype.fatal=void 0,iUe.prototype.place=void 0,iUe.prototype.ruleId=void 0,iUe.prototype.source=void 0,sUe={basename:oLe,dirname:iLe,extname:sLe,join:lLe,sep:"/"},lUe={cwd:uLe},cUe=["history","path","basename","stem","extname","dirname"],uUe=class{constructor(e){let t;t=e?dLe(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":lUe.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a,r=-1;for(;++r<cUe.length;){let e=cUe[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(a in t)cUe.includes(a)||(this[a]=t[a])}get basename(){return"string"==typeof this.path?sUe.basename(this.path):void 0}set basename(e){mLe(e,"basename"),hLe(e,"basename"),this.path=sUe.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?sUe.dirname(this.path):void 0}set dirname(e){fLe(this.basename,"dirname"),this.path=sUe.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?sUe.extname(this.path):void 0}set extname(e){if(hLe(e,"extname"),fLe(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=sUe.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){dLe(e)&&(e=pLe(e)),mLe(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?sUe.basename(this.path,this.extname):void 0}set stem(e){mLe(e,"stem"),hLe(e,"stem"),this.path=sUe.join(this.dirname||"",e+(this.extname||""))}fail(e,t,a){let r=this.message(e,t,a);throw r.fatal=!0,r}info(e,t,a){let r=this.message(e,t,a);return r.fatal=void 0,r}message(e,t,a){let r=new iUe(e,t,a);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}},dUe={abandonedHeadElementChild:{reason:"Unexpected metadata element after head",description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:"Unexpected abruptly closed empty comment",description:"Unexpected `>` or `->`. Expected `--\x3e` to close comments"},abruptDoctypePublicIdentifier:{reason:"Unexpected abruptly closed public identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:"Unexpected abruptly closed system identifier",description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:"Unexpected non-digit at start of numeric character reference",description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:"Unexpected CDATA section in HTML",description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:"Unexpected too big numeric character reference",description:"Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)"},closingOfElementWithOpenChildElements:{reason:"Unexpected closing tag with open child elements",description:"Unexpectedly closing tag. Expected other tags to be closed first",url:!1},controlCharacterInInputStream:{reason:"Unexpected control character",description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:"Unexpected control character reference",description:"Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace"},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:"Unexpected duplicate attribute",description:"Unexpectedly double attribute. Expected attributes to occur only once"},endTagWithAttributes:{reason:"Unexpected attribute on closing tag",description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:"Unexpected slash at end of closing tag",description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:"Unexpected unopened end tag",description:"Unexpected end tag. Expected no end tag or another end tag",url:!1},eofBeforeTagName:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected tag name instead"},eofInCdata:{reason:"Unexpected end of file in CDATA",description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:"Unexpected end of file in comment",description:"Unexpected end of file. Expected `--\x3e` to close the comment"},eofInDoctype:{reason:"Unexpected end of file in doctype",description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:"Unexpected end of file in element that can only contain text",description:"Unexpected end of file. Expected text or a closing tag",url:!1},eofInScriptHtmlCommentLikeText:{reason:"Unexpected end of file in comment inside script",description:"Unexpected end of file. Expected `--\x3e` to close the comment"},eofInTag:{reason:"Unexpected end of file in tag",description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:"Incorrectly closed comment",description:"Unexpected `%c-1`. Expected `--\x3e` to close the comment"},incorrectlyOpenedComment:{reason:"Incorrectly opened comment",description:"Unexpected `%c`. Expected `\x3c!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:"Invalid sequence after doctype name",description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:"Invalid first character in tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:"Misplaced doctype",description:"Unexpected doctype. Expected doctype before head",url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:"Missing attribute value",description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:"Missing doctype before other content",description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:"Missing doctype name",description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:"Missing public identifier in doctype",description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:"Missing system identifier in doctype",description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:"Missing name in end tag",description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:"Missing quote before public identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:"Missing quote before system identifier in doctype",description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:"Missing semicolon after character reference",description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:"Missing whitespace after public identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:"Missing whitespace after system identifier in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:"Missing whitespace before doctype name",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:"Missing whitespace between attributes",description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:"Missing whitespace between public and system identifiers in doctype",description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:"Unexpected nested comment",description:"Unexpected `\x3c!--`. Expected `--\x3e`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:"Unexpected non-conforming doctype declaration",description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:"Unexpected trailing slash on start tag of non-void element",description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:"Unexpected noncharacter code point referenced by character reference",description:"Unexpected code point. Do not use noncharacters in HTML"},noncharacterInInputStream:{reason:"Unexpected noncharacter character",description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:"Unexpected NULL character referenced by character reference",description:"Unexpected code point. Do not use NULL characters in HTML"},openElementsLeftAfterEof:{reason:"Unexpected end of file",description:"Unexpected end of file. Expected closing tag instead",url:!1},surrogateCharacterReference:{reason:"Unexpected surrogate character referenced by character reference",description:"Unexpected code point. Do not use lone surrogate characters in HTML"},surrogateInInputStream:{reason:"Unexpected surrogate character",description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:"Invalid character after system identifier in doctype",description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:"Unexpected character in attribute name",description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:"Unexpected character in unquoted attribute value",description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:"Unexpected equals sign before attribute name",description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:"Unexpected NULL character",description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:"Unexpected question mark instead of tag name",description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:"Unexpected slash in tag",description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:"Unexpected unknown named character reference",description:"Unexpected character reference. Expected known named character references"}},pUe="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",hUe=/-[a-z]/g,mUe=/%c(?:([-+])(\d+))?/g,fUe=/%x/g,gUe={2:!0,1:!1,0:null},vUe={},bUe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],yUe={}.hasOwnProperty,OUe=/["&'<>`]/g,xUe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,wUe=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,kUe=/[|\\{}()[\]^$+*?.]/g,SUe=new WeakMap,AUe=/[\dA-Fa-f]/,_Ue=/\d/,TUe="AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml".split("."),CUe=["cent","copy","divide","gt","lt","not","para","times"],PUe={}.hasOwnProperty,MUe={},EUe={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"})PUe.call(EUe,$Ue)&&(MUe[EUe[$Ue]]=$Ue);NUe=/[^\dA-Za-z]/,IUe=/^>|^->|<!--|-->|--!>|<!-$/g,RUe=[">"],DUe=["<",">"],LUe=/[ \t\n\f\r]/g,BUe=ELe(1),jUe=ELe(-1),UUe=[],zUe={}.hasOwnProperty,HUe=CLe({body:$Le,caption:PLe,colgroup:PLe,dd:DLe,dt:RLe,head:PLe,html:MLe,li:ILe,optgroup:BLe,option:jLe,p:NLe,rp:LLe,rt:LLe,tbody:zLe,td:VLe,tfoot:HLe,th:VLe,thead:ULe,tr:ZLe}),ZUe=CLe({body:FLe,colgroup:WLe,head:qLe,html:QLe,tbody:XLe}),VUe={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},QUe=["<","&"],qUe=yLe("type",{invalid:tBe,unknown:aBe,handlers:{comment:kLe,doctype:SLe,element:GLe,raw:JLe,root:eBe,text:KLe}}),FUe={},WUe={},XUe=[],GUe=QIe((e,t)=>{var a=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},s=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t=a.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&a.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!n)return!1;for(var o in e);return void 0===o||a.call(e,o)},l=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!a.call(e,t))return;if(o)return o(e,t).value}return e[t]};t.exports=function e(){var t,a,r,n,o,u,d=arguments[0],p=1,h=arguments.length,m=!1;for("boolean"==typeof d&&(m=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<h;++p)if(null!=(t=arguments[p]))for(a in t)r=c(d,a),d!==(n=c(t,a))&&(m&&n&&(s(n)||(o=i(n)))?(o?(o=!1,u=r&&i(r)?r:[]):u=r&&s(r)?r:{},l(d,{name:a,newValue:e(m,u,n)})):void 0!==n&&l(d,{name:a,newValue:n}));return d}}),YUe=function(e){let t=this.constructor.prototype,a=t[e],r=function(){return a.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},KUe=WIe(GUe(),1),JUe={}.hasOwnProperty,eze=(new class e extends YUe{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=lBe()}copy(){let t=new e,a=-1;for(;++a<this.attachers.length;){let e=this.attachers[a];t.use(...e)}return t.data((0,KUe.default)(!0,{},this.namespace)),t}data(e,t){return"string"==typeof e?2===arguments.length?(dBe("data",this.frozen),this.namespace[e]=t,this):JUe.call(this.namespace,e)&&this.namespace[e]||void 0:e?(dBe("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...a]=this.attachers[this.freezeIndex];if(!1===a[0])continue;!0===a[0]&&(a[0]=void 0);let r=t.call(e,...a);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=mBe(e),a=this.parser||this.Parser;return cBe("parse",a),a(String(t),t)}process(e,t){let a=this;return this.freeze(),cBe("process",this.parser||this.Parser),uBe("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,n){let o=mBe(e),i=a.parse(o);function s(e,a){e||!a?n(e):r?r(a):t(void 0,a)}a.run(i,o,function(e,t,r){if(e||!t||!r)return s(e);let n=t,o=a.stringify(n,r);!function(e){return"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)}(o)?r.result=o:r.value=o,s(e,r)})}}processSync(e){let t,a=!1;return this.freeze(),cBe("processSync",this.parser||this.Parser),uBe("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){a=!0,iBe(e),t=r}),hBe("processSync","process",a),t}run(e,t,a){pBe(e),this.freeze();let r=this.transformers;return!a&&"function"==typeof t&&(a=t,t=void 0),a?n(void 0,a):new Promise(n);function n(n,o){let i=mBe(t);r.run(e,i,function(t,r,i){let s=r||e;t?o(t):n?n(s):a(void 0,s,i)})}}runSync(e,t){let a,r=!1;return this.run(e,t,function(e,t){iBe(e),a=t,r=!0}),hBe("runSync","run",r),a}stringify(e,t){this.freeze();let a=mBe(t),r=this.compiler||this.Compiler;return uBe("stringify",r),pBe(e),r(e,a)}use(e,...t){let a=this.attachers,r=this.namespace;if(dBe("use",this.frozen),null!=e)if("function"==typeof e)s(e,t);else{if("object"!=typeof e)throw TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?i(e):o(e)}return this;function n(e){if("function"==typeof e)s(e,[]);else{if("object"!=typeof e)throw TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){let[t,...a]=e;s(t,a)}else o(e)}}function o(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");i(e.plugins),e.settings&&(r.settings=(0,KUe.default)(!0,r.settings,e.settings))}function i(e){let t=-1;if(null!=e){if(!Array.isArray(e))throw TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;){n(e[t])}}}function s(e,t){let r=-1,n=-1;for(;++r<a.length;)if(a[r][0]===e){n=r;break}if(-1===n)a.push([e,...t]);else if(t.length>0){let[r,...o]=t,i=a[n][1];sBe(i)&&sBe(r)&&(r=(0,KUe.default)(!0,i,r)),a[n]=[e,r,...o]}}}}).freeze()});function aze(e){let t="[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*",a="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",r={$pattern:t,built_in:a+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},n={begin:t,relevance:0},o={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},i={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},s={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),c={scope:"punctuation",match:/,/,relevance:0},u=e.COMMENT(";","$",{relevance:0}),d={className:"literal",begin:/\b(true|false|nil)\b/},p={begin:"\\[|(#::?"+t+")?\\{",end:"[\\]\\}]",relevance:0},h={className:"symbol",begin:"[:]{1,2}"+t},m={begin:"\\(",end:"\\)"},f={endsWithParent:!0,relevance:0},g={keywords:r,className:"name",begin:t,relevance:0,starts:f},v=[c,m,i,s,l,u,h,p,o,d,n];return m.contains=[{beginKeywords:a,keywords:{$pattern:t,keyword:a},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:t,relevance:0,excludeEnd:!0,endsParent:!0}].concat(v)},g,f],f.contains=v,p.contains=v,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[c,m,i,s,l,u,h,p,o,d]}}function rze(e){let t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},a={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"number",relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},n={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,a]}]};a.contains=[r,n];let o="Comparable.DateTime.Duration.Function.Iterable.Iterator.List.Map.Match.Object.Pattern.RegExp.Set.Stopwatch.String.StringBuffer.StringSink.Symbol.Type.Uri.bool.double.int.num.Element.ElementList".split("."),i=o.map(e=>`${e}?`);return{name:"Dart",keywords:{keyword:"abstract.as.assert.async.await.base.break.case.catch.class.const.continue.covariant.default.deferred.do.dynamic.else.enum.export.extends.extension.external.factory.false.final.finally.for.Function.get.hide.if.implements.import.in.interface.is.late.library.mixin.new.null.on.operator.part.required.rethrow.return.sealed.set.show.static.super.switch.sync.this.throw.true.try.typedef.var.void.when.while.with.yield".split("."),built_in:o.concat(i).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[n,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},r,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}function nze(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}function oze(e){let t=e.regex,a="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r={$pattern:a,keyword:"after.alias.and.case.catch.cond.defstruct.defguard.do.else.end.fn.for.if.import.in.not.or.quote.raise.receive.require.reraise.rescue.try.unless.unquote.unquote_splicing.use.when.with|0".split("."),literal:["false","nil","true"]},n={className:"subst",begin:/#\{/,end:/\}/,keywords:r},o={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},i={match:/\\[\s\S]/,scope:"char.escape",relevance:0},s="[/|([{<\"']",l=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],c=e=>({scope:"char.escape",begin:t.concat(/\\/,e),relevance:0}),u={className:"string",begin:"~[a-z](?="+s+")",contains:l.map(t=>e.inherit(t,{contains:[c(t.end),i,n]}))},d={className:"string",begin:"~[A-Z](?="+s+")",contains:l.map(t=>e.inherit(t,{contains:[c(t.end)]}))},p={className:"regex",variants:[{begin:"~r(?="+s+")",contains:l.map(a=>e.inherit(a,{end:t.concat(a.end,/[uismxfU]{0,7}/),contains:[c(a.end),i,n]}))},{begin:"~R(?="+s+")",contains:l.map(a=>e.inherit(a,{end:t.concat(a.end,/[uismxfU]{0,7}/),contains:[c(a.end)]}))}]},h={className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},m={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})]},f=e.inherit(m,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),g=[h,p,d,u,e.HASH_COMMENT_MODE,f,m,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[h,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:a+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},o,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return n.contains=g,{name:"Elixir",aliases:["ex","exs"],keywords:r,contains:g}}function ize(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function sze(e){return e?"string"==typeof e?e:e.source:null}function lze(e){return cze("(?=",e,")")}function cze(...e){return e.map(e=>sze(e)).join("")}function uze(...e){return"("+(function(e){let t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(e=>sze(e)).join("|")+")"}function dze(e){let t="abstract.and.as.assert.base.begin.class.default.delegate.do.done.downcast.downto.elif.else.end.exception.extern.finally.fixed.for.fun.function.global.if.in.inherit.inline.interface.internal.lazy.let.match.member.module.mutable.namespace.new.of.open.or.override.private.public.rec.return.static.struct.then.to.try.type.upcast.use.val.void.when.while.with.yield".split("."),a={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},r=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],n=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],o=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],i="bool.byte.sbyte.int8.int16.int32.uint8.uint16.uint32.int.uint.int64.uint64.nativeint.unativeint.decimal.float.double.float32.single.char.string.unit.bigint.option.voption.list.array.seq.byref.exn.inref.nativeptr.obj.outref.voidptr.Result".split("."),s={keyword:t,literal:n,built_in:"not.ref.raise.reraise.dict.readOnlyDict.set.get.enum.sizeof.typeof.typedefof.nameof.nullArg.invalidArg.invalidOp.id.fst.snd.ignore.lock.using.box.unbox.tryUnbox.printf.printfn.sprintf.eprintf.eprintfn.fprintf.fprintfn.failwith.failwithf".split("."),"variable.constant":o},l={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),e.C_LINE_COMMENT_MODE]},c={scope:"variable",begin:/``/,end:/``/},u=/\B('|\^)/,d={scope:"symbol",variants:[{match:cze(u,/``.*?``/)},{match:cze(u,e.UNDERSCORE_IDENT_RE)}],relevance:0},p=function({includeEqual:e}){let t;t=e?"!%&*+-/<=>@^|~?":"!%&*+-/<>@^|~?";let a=cze("[",...Array.from(t).map(ize),"]"),r=uze(a,/\./);return{scope:"operator",match:uze(uze(cze(cze(r,lze(r)),r,"*"),cze(a,"+")),/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},h=p({includeEqual:!0}),m=p({includeEqual:!1}),f=function(t,a){return{begin:cze(t,lze(cze(/\s*/,uze(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:a,end:lze(uze(/\n/,/=/)),relevance:0,keywords:e.inherit(s,{type:i}),contains:[l,d,e.inherit(c,{scope:null}),m]}},g=f(/:/,"operator"),v=f(/\bof\b/,"keyword"),b={begin:[/(^|\s+)/,/type/,/\s+/,/[a-zA-Z_](\w|')*/],beginScope:{2:"keyword",4:"title.class"},end:lze(/\(|=|$/),keywords:s,contains:[l,e.inherit(c,{scope:null}),d,{scope:"operator",match:/<|>/},g]},y={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},O={begin:[/^\s*/,cze(/#/,uze(...r)),/\b/],beginScope:{2:"meta"},end:lze(/\s|$/)},x={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},w={scope:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},k={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},S={scope:"string",begin:/"""/,end:/"""/,relevance:2},A={scope:"subst",begin:/\{/,end:/\}/,keywords:s},_={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,A]},T={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,A]},E={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},A],relevance:2},C={scope:"string",match:cze(/'/,uze(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return A.contains=[T,_,k,w,C,a,l,c,g,y,O,x,d,h],{name:"F#",aliases:["fs","f#"],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[a,{variants:[E,T,_,S,k,w,C]},l,c,b,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[c,S,k,w,C,x]},v,g,y,O,x,d,h]}}function pze(e){let t="([0-9]_*)+",a="([0-9a-fA-F]_*)+",r="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",n={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},o={className:"meta",begin:/\{-#/,end:/#-\}/},i={className:"meta",begin:"^#",end:"$"},s={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},l={begin:"\\(",end:"\\)",illegal:'"',contains:[o,i,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),n]},c={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${a})(\\.(${a}))?([pP][+-]?(${t}))?\\b`},{match:"\\b0[oO](([0-7]_*)+)\\b"},{match:"\\b0[bB](([01]_*)+)\\b"}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[l,n],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[l,n],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[s,l,n]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[o,s,l,{begin:/\{/,end:/\}/,contains:l.contains},n]},{beginKeywords:"default",end:"$",contains:[s,l,n]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,n]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[s,e.QUOTE_STRING_MODE,n]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},o,i,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,c,s,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${r}--+|--+(?!-)${r}`},n,{begin:"->|<-"}]}}function hze(e){let t="HTTP/([32]|1\\.[01])",a={className:"attribute",begin:e.regex.concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},r=[a,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+t+" \\d{3})",end:/$/,contains:[{className:"meta",begin:t},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:r}},{begin:"(?=^[A-Z]+ (.*?) "+t+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:t},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:r}},e.inherit(a,{relevance:0})]}}function mze(e){let t="('|\\.')+",a={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:a},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:a},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:a},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:a},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}function fze(e){let t=e.regex,a={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[a]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},a]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:r.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:"[^\\s\\}\\{]"}}function gze(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}function vze(e){let t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],a={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},r={begin:"`[\\s\\S]",relevance:0},n={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},o={className:"literal",begin:/\$(null|true|false)\b/},i={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[r,n,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},s={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},l=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),c={className:"built_in",variants:[{begin:"(Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where)+(-)[\\w\\d]+"}]},u={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},d={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[n]}]},p={begin:/using\s/,end:/$/,returnBegin:!0,contains:[i,s,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},h={variants:[{className:"operator",begin:"(-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor)\\b"},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},m={className:"selector-tag",begin:/@\B/,relevance:0},f={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:`(${a.keyword.toString().replace(/\s/g,"|")})\\b`,endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},g=[f,l,r,e.NUMBER_MODE,i,s,c,n,o,m],v={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:["self"].concat(g,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return f.contains.unshift(v),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:a,contains:g.concat(u,d,p,h,v)}}function bze(e){let t="[ \\t\\f]*",a=t+"[:=][ \\t\\f]*",r="([^\\\\:= \\t\\f\\n]|\\\\.)+";return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:r+a},{begin:r+"[ \\t\\f]+"}],contains:[{className:"attr",begin:r,endsParent:!0}],starts:{end:"([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)",relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}}},{className:"attr",begin:r+t+"$"}]}}function yze(e){let t=e.regex,a={className:"meta",begin:"@[A-Za-z]+"},r={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},n={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,r]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[r],relevance:10}]},o={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},i={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},s={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i]},l={className:"function",beginKeywords:"def",end:t.lookahead(/[:={\[(\n;]/),contains:[i]},c={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},u={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},d=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],p={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,o,l,s,e.C_NUMBER_MODE,c,u,...d,p,a]}}function Oze(e){let t=e.regex,a={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});let n={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),i={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,n]};n.contains.push(s);let l={className:"string",begin:/'/,end:/'/},c={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,a]},u=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),d={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],literal:["true","false"],built_in:[...["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],...["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],"set","shopt",..."autoload.bg.bindkey.bye.cap.chdir.clone.comparguments.compcall.compctl.compdescribe.compfiles.compgroups.compquote.comptags.comptry.compvalues.dirs.disable.disown.echotc.echoti.emulate.fc.fg.float.functions.getcap.getln.history.integer.jobs.kill.limit.log.noglob.popd.print.pushd.pushln.rehash.sched.setcap.setopt.stat.suspend.ttyctl.unfunction.unhash.unlimit.unsetopt.vared.wait.whence.where.which.zcompile.zformat.zftp.zle.zmodload.zparseopts.zprof.zpty.zregexparse.zsocket.zstyle.ztcp".split("."),..."chcon.chgrp.chown.chmod.cp.dd.df.dir.dircolors.ln.ls.mkdir.mkfifo.mknod.mktemp.mv.realpath.rm.rmdir.shred.sync.touch.truncate.vdir.b2sum.base32.base64.cat.cksum.comm.csplit.cut.expand.fmt.fold.head.join.md5sum.nl.numfmt.od.paste.ptx.pr.sha1sum.sha224sum.sha256sum.sha384sum.sha512sum.shuf.sort.split.sum.tac.tail.tr.tsort.unexpand.uniq.wc.arch.basename.chroot.date.dirname.du.echo.env.expr.factor.groups.hostid.id.link.logname.nice.nohup.nproc.pathchk.pinky.printenv.printf.pwd.readlink.runcon.seq.sleep.stat.stdbuf.stty.tee.test.timeout.tty.uname.unlink.uptime.users.who.whoami.yes".split(".")]},contains:[u,e.SHEBANG(),d,c,o,i,{match:/(\/[a-z._-]+)+/},s,{match:/\\"/},l,{match:/\\'/},a]}}function xze(e){let t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",n="[a-zA-Z_]\\w*::",o="("+r+"|"+t.optional(n)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",i={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(n)+e.IDENT_RE,relevance:0},d=t.optional(n)+e.IDENT_RE+"\\s*\\(",p={keyword:"asm.auto.break.case.continue.default.do.else.enum.extern.for.fortran.goto.if.inline.register.restrict.return.sizeof.typeof.typeof_unqual.struct.switch.typedef.union.volatile.while._Alignas._Alignof._Atomic._Generic._Noreturn._Static_assert._Thread_local.alignas.alignof.noreturn.static_assert.thread_local._Pragma".split("."),type:"float.double.signed.unsigned.int.short.long.char.void._Bool._BitInt._Complex._Imaginary._Decimal32._Decimal64._Decimal96._Decimal128._Decimal64x._Decimal128x._Float16._Float32._Float64._Float128._Float32x._Float64x._Float128x.const.static.constexpr.complex.bool.imaginary".split("."),literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},h=[c,i,a,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:h.concat([{begin:/\(/,end:/\)/,keywords:p,contains:h.concat(["self"]),relevance:0}]),relevance:0},f={begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,s,l,i,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,s,l,i]}]},i,a,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:p,disableAutodetect:!0,illegal:"</",contains:[].concat(m,f,h,[c,{begin:e.IDENT_RE+"::",keywords:p},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:p}}}function wze(e){let t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",n="[a-zA-Z_]\\w*::",o="(?!struct)("+r+"|"+t.optional(n)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",i={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(n)+e.IDENT_RE,relevance:0},d=t.optional(n)+e.IDENT_RE+"\\s*\\(",p={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:"alignas.alignof.and.and_eq.asm.atomic_cancel.atomic_commit.atomic_noexcept.auto.bitand.bitor.break.case.catch.class.co_await.co_return.co_yield.compl.concept.const_cast|10.consteval.constexpr.constinit.continue.decltype.default.delete.do.dynamic_cast|10.else.enum.explicit.export.extern.false.final.for.friend.goto.if.import.inline.module.mutable.namespace.new.noexcept.not.not_eq.nullptr.operator.or.or_eq.override.private.protected.public.reflexpr.register.reinterpret_cast|10.requires.return.sizeof.static_assert.static_cast|10.struct.switch.synchronized.template.this.thread_local.throw.transaction_safe.transaction_safe_dynamic.true.try.typedef.typeid.typename.union.using.virtual.volatile.while.xor.xor_eq".split("."),literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:"any.auto_ptr.barrier.binary_semaphore.bitset.complex.condition_variable.condition_variable_any.counting_semaphore.deque.false_type.flat_map.flat_set.future.imaginary.initializer_list.istringstream.jthread.latch.lock_guard.multimap.multiset.mutex.optional.ostringstream.packaged_task.pair.promise.priority_queue.queue.recursive_mutex.recursive_timed_mutex.scoped_lock.set.shared_future.shared_lock.shared_mutex.shared_timed_mutex.shared_ptr.stack.string_view.stringstream.timed_mutex.thread.true_type.tuple.unique_lock.unique_ptr.unordered_map.unordered_multimap.unordered_multiset.unordered_set.variant.vector.weak_ptr.wstring.wstring_view".split(".")},h={className:"function.dispatch",relevance:0,keywords:{_hint:"abort.abs.acos.apply.as_const.asin.atan.atan2.calloc.ceil.cerr.cin.clog.cos.cosh.cout.declval.endl.exchange.exit.exp.fabs.floor.fmod.forward.fprintf.fputs.free.frexp.fscanf.future.invoke.isalnum.isalpha.iscntrl.isdigit.isgraph.islower.isprint.ispunct.isspace.isupper.isxdigit.labs.launder.ldexp.log.log10.make_pair.make_shared.make_shared_for_overwrite.make_tuple.make_unique.malloc.memchr.memcmp.memcpy.memset.modf.move.pow.printf.putchar.puts.realloc.scanf.sin.sinh.snprintf.sprintf.sqrt.sscanf.std.stderr.stdin.stdout.strcat.strchr.strcmp.strcpy.strcspn.strlen.strncat.strncmp.strncpy.strpbrk.strrchr.strspn.strstr.swap.tan.tanh.terminate.to_underlying.tolower.toupper.vfprintf.visit.vprintf.vsprintf".split(".")},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},m=[h,c,i,a,e.C_BLOCK_COMMENT_MODE,l,s],f={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:p,contains:m.concat([{begin:/\(/,end:/\)/,keywords:p,contains:m.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:p,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,s,l,i,{begin:/\(/,end:/\)/,keywords:p,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,s,l,i]}]},i,a,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:p,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(f,g,h,m,[c,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:p,contains:["self",i]},{begin:e.IDENT_RE+"::",keywords:p},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function kze(e){let t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],a=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r={keyword:"abstract.as.base.break.case.catch.class.const.continue.do.else.event.explicit.extern.finally.fixed.for.foreach.goto.if.implicit.in.interface.internal.is.lock.namespace.new.operator.out.override.params.private.protected.public.readonly.record.ref.return.scoped.sealed.sizeof.stackalloc.static.struct.switch.this.throw.try.typeof.unchecked.unsafe.using.virtual.void.volatile.while".split(".").concat("add.alias.and.ascending.args.async.await.by.descending.dynamic.equals.file.from.get.global.group.init.into.join.let.nameof.not.notnull.on.or.orderby.partial.record.remove.required.scoped.select.set.unmanaged.value|0.var.when.where.with.yield".split(".")),built_in:t,literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),o={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},i={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},s={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},l=e.inherit(s,{illegal:/\n/}),c={className:"subst",begin:/\{/,end:/\}/,keywords:r},u=e.inherit(c,{illegal:/\n/}),d={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,u]},p={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},c]},h=e.inherit(p,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},u]});c.contains=[p,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.C_BLOCK_COMMENT_MODE],u.contains=[h,d,l,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,o,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let m={variants:[i,p,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},f={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},g=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",v={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:r,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},m,o,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,f,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,f,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+g+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:r,contains:[{beginKeywords:a.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,f],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[m,o,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},v]}}function Sze(e){let t=e.regex,a=rHe(e),r=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[a.BLOCK_COMMENT,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},a.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},a.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+lHe.join("|")+")"},{begin:":(:)?("+cHe.join("|")+")"}]},a.CSS_VARIABLE,{className:"attribute",begin:"\\b("+uHe.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[a.BLOCK_COMMENT,a.HEXCOLOR,a.IMPORTANT,a.CSS_NUMBER_MODE,...r,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...r,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},a.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:sHe.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...r,a.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+iHe.join("|")+")\\b"}]}}function Aze(e){let t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function _ze(e){let t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}function Tze(e){let t=e.regex;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function Eze(e){let t=e.regex,a={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let n={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},o={className:"literal",begin:/\bon|off|true|false|yes|no\b/},i={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},s={begin:/\[/,end:/\]/,contains:[r,o,n,i,a,"self"],relevance:0},l=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:t.concat(l,"(\\s*\\.\\s*",l,")*",t.lookahead(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[r,s,o,n,i,a]}}]}}function Cze(e,t,a){return-1===a?"":e.replace(t,r=>Cze(e,t,a-1))}function Pze(e){let t=e.regex,a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=a+Cze("(?:<"+a+"~~~(?:\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*~~~)*>)?",/~~~/g,2),n={keyword:"synchronized.abstract.private.var.static.if.const .for.while.strictfp.finally.protected.import.native.final.void.enum.else.break.transient.catch.instanceof.volatile.case.assert.package.default.public.try.switch.continue.throws.protected.public.private.module.requires.exports.do.sealed.yield.permits.goto.when".split("."),literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},o={className:"meta",begin:"@"+a,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},i={className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:n,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,a),/\s+/,a,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,a],className:{1:"keyword",3:"title.class"},contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:n,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,mHe,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},mHe,o]}}function Mze(e){let t=e.regex,a=fHe,r={begin:"<>",end:"</>"},n={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let a=e[0].length+e.index,r=e.input[a];if("<"===r||","===r)return void t.ignoreMatch();">"===r&&(((e,{after:t})=>{let a="</"+e[0].slice(1);return-1!==e.input.indexOf(a,t)})(e,{after:a})||t.ignoreMatch());let n,o=e.input.substring(a);((n=o.match(/^\s*=/))||(n=o.match(/^\s+extends\s+/))&&0===n.index)&&t.ignoreMatch()}},o={$pattern:fHe,keyword:gHe,literal:vHe,built_in:wHe,"variable.language":xHe},i="[0-9](_?[0-9])*",s=`\\.(${i})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${s})|\\.)?|(${s}))[eE][+-]?(${i})\\b`},{begin:`\\b(${l})\\b((${s})\\b|\\.)?|(${s})\\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},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},d={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},p={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},h={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},f={className:"comment",variants:[e.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:a+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},g=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,p,h,m,{match:/\$\d+/},c];u.contains=g.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(g)});let v=[].concat(f,u.contains),b=v.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(v)}]),y={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b},O={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,t.concat(a,"(",t.concat(/\./,a),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,a],scope:{1:"keyword",3:"title.class"}}]},x={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:{_:[...bHe,...yHe]}},w={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},k={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],illegal:/%/},S={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};let A={match:t.concat(/\b/,function(e){return t.concat("(?!",e.join("|"),")")}([...OHe,"super","import"].map(e=>`${e}\\s*\\(`)),a,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},_={begin:t.concat(/\./,t.lookahead(t.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},T={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},E="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",C={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(E)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),w,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,p,h,m,f,{match:/\$\d+/},c,x,{scope:"attr",match:a+t.lookahead(":"),relevance:0},C,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[f,e.REGEXP_MODE,{className:"function",begin:E,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:n.begin,"on:begin":n.isTrulyOpeningTag,end:n.end}],subLanguage:"xml",contains:[{begin:n.begin,end:n.end,skip:!0,contains:["self"]}]}]},k,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,e.inherit(e.TITLE_MODE,{begin:a,className:"title.function"})]},{match:/\.\.\./,relevance:0},_,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},A,S,O,T,{match:/\$[(.]/}]}}function $ze(e){let t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],n={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:r},contains:[t,a,e.QUOTE_STRING_MODE,n,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function Nze(e){let t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},a={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},r={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},n={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},o={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},i={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,n]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,o,n]}]};n.contains.push(i);let s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(i,{className:"string"}),"self"]}]},c=_He,u=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},p=d;return p.variants[1].contains=[d],d.variants[1].contains=[p],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,u,a,r,s,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,l,i,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,l]},i,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},c]}}function Ize(e){let t=THe(e),a=RHe,r="[\\w-]+",n="("+r+"|@\\{[\\w-]+\\})",o=[],i=[],s=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},l=function(e,t,a){return{className:e,begin:t,relevance:a}},c={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:MHe.join(" ")},u={begin:"\\(",end:"\\)",contains:i,keywords:c,relevance:0};i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s("'"),s('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,u,l("variable","@@?"+r,10),l("variable","@\\{"+r+"\\}"),l("built_in","~?`[^`]*?`"),{className:"attribute",begin:r+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);let d=i.concat({begin:/\{/,end:/\}/,contains:o}),p={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(i)},h={begin:n+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+IHe.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:i}}]},m={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:c,returnEnd:!0,contains:i,relevance:0}},f={className:"variable",variants:[{begin:"@"+r+"\\s*:",relevance:15},{begin:"@"+r}],starts:{end:"[;}]",returnEnd:!0,contains:d}},g={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:n,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,l("keyword","all\\b"),l("variable","@\\{"+r+"\\}"),{begin:"\\b("+PHe.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,l("selector-tag",n,0),l("selector-id","#"+n),l("selector-class","\\."+n,0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+$He.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+NHe.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:"!important"},t.FUNCTION_DISPATCH]},v={begin:`[\\w-]+:(:)?(${a.join("|")})`,returnBegin:!0,contains:[g]};return o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,m,f,v,h,g,p,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:o}}function Rze(e){let t="\\[=*\\[",a="\\]=*\\]",r={begin:t,end:a,contains:["self"]},n=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,a,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.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:n.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:n}].concat(n)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:a,contains:[r],relevance:5}])}}function Dze(e){let t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t,a]},n={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},o={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},i={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,a,r,n,o,i]}}function Lze(e){let t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},a={begin:"^[-\\*]{3,}",end:"$"},r={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},n={className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},i={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.regex.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},s={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},l={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},c=e.inherit(s,{contains:[]}),u=e.inherit(l,{contains:[]});s.contains.push(u),l.contains.push(c);let d=[t,i];return[s,l,c,u].forEach(e=>{e.contains=e.contains.concat(d)}),d=d.concat(s,l),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:d},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:d}]}]},t,n,s,l,{className:"quote",begin:"^>\\s+",contains:d,end:"$"},r,a,i,o,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function Bze(e){let t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},a=/[a-zA-Z@][a-zA-Z0-9_]*/,r=["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"],n={$pattern:a,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{"variable.language":["this","super"],$pattern:a,keyword:"while.export.sizeof.typedef.const.struct.for.union.volatile.static.mutable.if.do.return.goto.enum.else.break.extern.asm.case.default.register.explicit.typename.switch.continue.inline.readonly.assign.readwrite.self.@synchronized.id.typeof.nonatomic.IBOutlet.IBAction.strong.weak.copy.in.out.inout.bycopy.byref.oneway.__strong.__weak.__block.__autoreleasing.@private.@protected.@public.@try.@property.@end.@throw.@catch.@finally.@autoreleasepool.@synthesize.@dynamic.@selector.@optional.@required.@encode.@package.@import.@defs.@compatibility_alias.__bridge.__bridge_transfer.__bridge_retained.__bridge_retain.__covariant.__contravariant.__kindof._Nonnull._Nullable._Null_unspecified.__FUNCTION__.__PRETTY_FUNCTION__.__attribute__.getter.setter.retain.unsafe_unretained.nonnull.nullable.null_unspecified.null_resettable.class.instancetype.NS_DESIGNATED_INITIALIZER.NS_UNAVAILABLE.NS_REQUIRES_SUPER.NS_RETURNS_INNER_POINTER.NS_INLINE.NS_AVAILABLE.NS_DEPRECATED.NS_ENUM.NS_OPTIONS.NS_SWIFT_UNAVAILABLE.NS_ASSUME_NONNULL_BEGIN.NS_ASSUME_NONNULL_END.NS_REFINED_FOR_SWIFT.NS_SWIFT_NAME.NS_SWIFT_NOTHROW.NS_DURING.NS_HANDLER.NS_ENDHANDLER.NS_VALUERETURN.NS_VOIDRETURN".split("."),literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:r},illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function jze(e){let t=e.regex,a="abs.accept.alarm.and.atan2.bind.binmode.bless.break.caller.chdir.chmod.chomp.chop.chown.chr.chroot.class.close.closedir.connect.continue.cos.crypt.dbmclose.dbmopen.defined.delete.die.do.dump.each.else.elsif.endgrent.endhostent.endnetent.endprotoent.endpwent.endservent.eof.eval.exec.exists.exit.exp.fcntl.field.fileno.flock.for.foreach.fork.format.formline.getc.getgrent.getgrgid.getgrnam.gethostbyaddr.gethostbyname.gethostent.getlogin.getnetbyaddr.getnetbyname.getnetent.getpeername.getpgrp.getpriority.getprotobyname.getprotobynumber.getprotoent.getpwent.getpwnam.getpwuid.getservbyname.getservbyport.getservent.getsockname.getsockopt.given.glob.gmtime.goto.grep.gt.hex.if.index.int.ioctl.join.keys.kill.last.lc.lcfirst.length.link.listen.local.localtime.log.lstat.lt.ma.map.method.mkdir.msgctl.msgget.msgrcv.msgsnd.my.ne.next.no.not.oct.open.opendir.or.ord.our.pack.package.pipe.pop.pos.print.printf.prototype.push.q|0.qq.quotemeta.qw.qx.rand.read.readdir.readline.readlink.readpipe.recv.redo.ref.rename.require.reset.return.reverse.rewinddir.rindex.rmdir.say.scalar.seek.seekdir.select.semctl.semget.semop.send.setgrent.sethostent.setnetent.setpgrp.setpriority.setprotoent.setpwent.setservent.setsockopt.shift.shmctl.shmget.shmread.shmwrite.shutdown.sin.sleep.socket.socketpair.sort.splice.split.sprintf.sqrt.srand.stat.state.study.sub.substr.symlink.syscall.sysopen.sysread.sysseek.system.syswrite.tell.telldir.tie.tied.time.times.tr.truncate.uc.ucfirst.umask.undef.unless.unlink.unpack.unshift.untie.until.use.utime.values.vec.wait.waitpid.wantarray.warn.when.while.write.x|0.xor.y|0".split("."),r=/[dualxmsipngr]{0,12}/,n={$pattern:/[\w.]+/,keyword:a.join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:n},i={begin:/->\{/,end:/\}/},s={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},l={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},c={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,o,l],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],p=(e,a,n="\\1")=>{let o="\\1"===n?n:t.concat(n,a);return t.concat(t.concat("(?:",e,")"),a,/(?:\\.|[^\\\/])*?/,o,/(?:\\.|[^\\\/])*?/,n,r)},h=(e,a,n)=>t.concat(t.concat("(?:",e,")"),a,/(?:\\.|[^\\\/])*?/,n,r),m=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),i,{className:"string",contains:u,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},c,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:p("s|tr|y",t.either(...d,{capture:!0}))},{begin:p("s|tr|y","\\(","\\)")},{begin:p("s|tr|y","\\[","\\]")},{begin:p("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:h("(?:m|qr)?",/\//,/\//)},{begin:h("m|qr",t.either(...d,{capture:!0}),/\1/)},{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,c]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=m,i.contains=m,{name:"Perl",aliases:["pl","pm"],keywords:n,contains:m}}function Uze(e){let t=e.regex,a=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,a),n=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,a),o=t.concat(/[A-Z]+/,a),i={scope:"variable",match:"\\$+"+r},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},p="[ \t\n]",h={scope:"string",variants:[u,c,d,e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/})]},m={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},f=["false","null","true"],g="__CLASS__.__DIR__.__FILE__.__FUNCTION__.__COMPILER_HALT_OFFSET__.__LINE__.__METHOD__.__NAMESPACE__.__TRAIT__.die.echo.exit.include.include_once.print.require.require_once.array.abstract.and.as.binary.bool.boolean.break.callable.case.catch.class.clone.const.continue.declare.default.do.double.else.elseif.empty.enddeclare.endfor.endforeach.endif.endswitch.endwhile.enum.eval.extends.final.finally.float.for.foreach.from.global.goto.if.implements.instanceof.insteadof.int.integer.interface.isset.iterable.list.match|0.mixed.new.never.object.or.private.protected.public.readonly.real.return.string.switch.throw.trait.try.unset.use.var.void.while.xor.yield".split("."),v="Error|0.AppendIterator.ArgumentCountError.ArithmeticError.ArrayIterator.ArrayObject.AssertionError.BadFunctionCallException.BadMethodCallException.CachingIterator.CallbackFilterIterator.CompileError.Countable.DirectoryIterator.DivisionByZeroError.DomainException.EmptyIterator.ErrorException.Exception.FilesystemIterator.FilterIterator.GlobIterator.InfiniteIterator.InvalidArgumentException.IteratorIterator.LengthException.LimitIterator.LogicException.MultipleIterator.NoRewindIterator.OutOfBoundsException.OutOfRangeException.OuterIterator.OverflowException.ParentIterator.ParseError.RangeException.RecursiveArrayIterator.RecursiveCachingIterator.RecursiveCallbackFilterIterator.RecursiveDirectoryIterator.RecursiveFilterIterator.RecursiveIterator.RecursiveIteratorIterator.RecursiveRegexIterator.RecursiveTreeIterator.RegexIterator.RuntimeException.SeekableIterator.SplDoublyLinkedList.SplFileInfo.SplFileObject.SplFixedArray.SplHeap.SplMaxHeap.SplMinHeap.SplObjectStorage.SplObserver.SplPriorityQueue.SplQueue.SplStack.SplSubject.SplTempFileObject.TypeError.UnderflowException.UnexpectedValueException.UnhandledMatchError.ArrayAccess.BackedEnum.Closure.Fiber.Generator.Iterator.IteratorAggregate.Serializable.Stringable.Throwable.Traversable.UnitEnum.WeakReference.WeakMap.Directory.__PHP_Incomplete_Class.parent.php_user_filter.self.static.stdClass".split("."),b={keyword:g,literal:(e=>{let t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t})(f),built_in:v},y=e=>e.map(e=>e.replace(/\|\d+$/,"")),O={variants:[{match:[/new/,t.concat(p,"+"),t.concat("(?!",y(v).join("\\b|"),"\\b)"),n],scope:{1:"keyword",4:"title.class"}}]},x=t.concat(r,"\\b(?!\\()"),w={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),x],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[n,t.concat(/::/,t.lookahead(/(?!class\b)/)),x],scope:{1:"title.class",3:"variable.constant"}},{match:[n,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[n,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},k={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},S={relevance:0,begin:/\(/,end:/\)/,keywords:b,contains:[k,i,w,e.C_BLOCK_COMMENT_MODE,h,m,O]},A={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",y(g).join("\\b|"),"|",y(v).join("\\b|"),"\\b)"),r,t.concat(p,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[S]};S.contains.push(A);let _=[k,w,e.C_BLOCK_COMMENT_MODE,h,m,O],T={begin:t.concat(/#\[\s*\\?/,t.either(n,o)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:f,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:f,keyword:["new","array"]},contains:["self",..._]},..._,{scope:"meta",variants:[{match:n},{match:o}]}]};return{case_insensitive:!1,keywords:b,contains:[T,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},i,A,w,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},O,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:b,contains:["self",T,i,w,e.C_BLOCK_COMMENT_MODE,h,m]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},h,m]}}function zze(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function Hze(e){let t=e.regex,a=/[\p{XID_Start}_]\p{XID_Continue}*/u,r="and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.in.is.lambda.match.nonlocal|10.not.or.pass.raise.return.try.while.with.yield".split("."),n={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:"__import__.abs.all.any.ascii.bin.bool.breakpoint.bytearray.bytes.callable.chr.classmethod.compile.complex.delattr.dict.dir.divmod.enumerate.eval.exec.filter.float.format.frozenset.getattr.globals.hasattr.hash.help.hex.id.input.int.isinstance.issubclass.iter.len.list.locals.map.max.memoryview.min.next.object.oct.open.ord.pow.print.property.range.repr.reversed.round.set.setattr.slice.sorted.staticmethod.str.sum.super.tuple.type.vars.zip".split("."),literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},o={className:"meta",begin:/^(>>>|\.\.\.) /},i={className:"subst",begin:/\{/,end:/\}/,keywords:n,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o,s,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o,s,i]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,i]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,p={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`}]},h={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:n,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:n,contains:["self",o,p,l,e.HASH_COMMENT_MODE]}]};return i.contains=[l,p,o],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:n,illegal:/(<\/|\?)|=>/,contains:[o,p,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,h,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,a,/\s*/,/\(\s*/,a,/\s*\)/]},{match:[/\bclass/,/\s+/,a]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,m,l]}]}}function Zze(e){let t=e.regex,a=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),n=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:a,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:a},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[n,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[o,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[a,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:n},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function Vze(e){let t=e.regex,a="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),n=t.concat(r,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},i={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[i]}),e.COMMENT("^=begin","^=end",{contains:[i],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:o},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},h={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},m=[u,{variants:[{match:[/class\s+/,n,/\s+<\s+/,n]},{match:[/\b(class|module)\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,n],scope:{2:"title.class"},keywords:o},{relevance:0,match:[n,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[h]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:a}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);c.contains=m,h.contains=m;let f=[{begin:/^\s*=>/,starts:{end:"$",contains:m}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:o,contains:m}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(f,l,m)}}function Qze(e){let t=e.regex,a=/(r#)?/,r=t.concat(a,e.UNDERSCORE_IDENT_RE),n=t.concat(a,e.IDENT_RE),o={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,n,t.lookahead(/\s*\(/))},i="([ui](8|16|32|64|128|size)|f(32|64))?",s="abstract.as.async.await.become.box.break.const.continue.crate.do.dyn.else.enum.extern.false.final.fn.for.if.impl.in.let.loop.macro.match.mod.move.mut.override.priv.pub.ref.return.self.Self.static.struct.super.trait.true.try.type.typeof.union.unsafe.unsized.use.virtual.where.while.yield".split("."),l=["true","false","Some","None","Ok","Err"],c="drop .Copy.Send.Sized.Sync.Drop.Fn.FnMut.FnOnce.ToOwned.Clone.Debug.PartialEq.PartialOrd.Eq.Ord.AsRef.AsMut.Into.From.Default.Iterator.Extend.IntoIterator.DoubleEndedIterator.ExactSizeIterator.SliceConcatExt.ToString.assert!.assert_eq!.bitflags!.bytes!.cfg!.col!.concat!.concat_idents!.debug_assert!.debug_assert_eq!.env!.eprintln!.panic!.file!.format!.format_args!.include_bytes!.include_str!.line!.local_data_key!.module_path!.option_env!.print!.println!.select!.stringify!.try!.unimplemented!.unreachable!.vec!.write!.writeln!.macro_rules!.assert_ne!.debug_assert_ne!".split("."),u=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:u,keyword:s,literal:l,built_in:c},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+i},{begin:"\\b0o([0-7_]+)"+i},{begin:"\\b0x([A-Fa-f0-9_]+)"+i},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+i}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:c,type:u}},{className:"punctuation",begin:"->"},o]}}function qze(e){let t=DHe(e),a=HHe,r=zHe,n="@[a-z-]+",o={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+jHe.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+a.join("|")+")"},o,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+ZHe.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,o,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:n,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:UHe.join(" ")},contains:[{begin:n,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},o,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function Fze(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function Wze(e){let t=e.regex,a=e.COMMENT("--","$"),r={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},n=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],i="bigint.binary.blob.boolean.char.character.clob.date.dec.decfloat.decimal.float.int.integer.interval.nchar.nclob.national.numeric.real.row.smallint.time.timestamp.varchar.varying.varbinary".split("."),s=["add","asc","collation","desc","final","first","last","view"],l="abs.acos.all.allocate.alter.and.any.are.array.array_agg.array_max_cardinality.as.asensitive.asin.asymmetric.at.atan.atomic.authorization.avg.begin.begin_frame.begin_partition.between.bigint.binary.blob.boolean.both.by.call.called.cardinality.cascaded.case.cast.ceil.ceiling.char.char_length.character.character_length.check.classifier.clob.close.coalesce.collate.collect.column.commit.condition.connect.constraint.contains.convert.copy.corr.corresponding.cos.cosh.count.covar_pop.covar_samp.create.cross.cube.cume_dist.current.current_catalog.current_date.current_default_transform_group.current_path.current_role.current_row.current_schema.current_time.current_timestamp.current_path.current_role.current_transform_group_for_type.current_user.cursor.cycle.date.day.deallocate.dec.decimal.decfloat.declare.default.define.delete.dense_rank.deref.describe.deterministic.disconnect.distinct.double.drop.dynamic.each.element.else.empty.end.end_frame.end_partition.end-exec.equals.escape.every.except.exec.execute.exists.exp.external.extract.false.fetch.filter.first_value.float.floor.for.foreign.frame_row.free.from.full.function.fusion.get.global.grant.group.grouping.groups.having.hold.hour.identity.in.indicator.initial.inner.inout.insensitive.insert.int.integer.intersect.intersection.interval.into.is.join.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.language.large.last_value.lateral.lead.leading.left.like.like_regex.listagg.ln.local.localtime.localtimestamp.log.log10.lower.match.match_number.match_recognize.matches.max.member.merge.method.min.minute.mod.modifies.module.month.multiset.national.natural.nchar.nclob.new.no.none.normalize.not.nth_value.ntile.null.nullif.numeric.octet_length.occurrences_regex.of.offset.old.omit.on.one.only.open.or.order.out.outer.over.overlaps.overlay.parameter.partition.pattern.per.percent.percent_rank.percentile_cont.percentile_disc.period.portion.position.position_regex.power.precedes.precision.prepare.primary.procedure.ptf.range.rank.reads.real.recursive.ref.references.referencing.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.release.result.return.returns.revoke.right.rollback.rollup.row.row_number.rows.running.savepoint.scope.scroll.search.second.seek.select.sensitive.session_user.set.show.similar.sin.sinh.skip.smallint.some.specific.specifictype.sql.sqlexception.sqlstate.sqlwarning.sqrt.start.static.stddev_pop.stddev_samp.submultiset.subset.substring.substring_regex.succeeds.sum.symmetric.system.system_time.system_user.table.tablesample.tan.tanh.then.time.timestamp.timezone_hour.timezone_minute.to.trailing.translate.translate_regex.translation.treat.trigger.trim.trim_array.true.truncate.uescape.union.unique.unknown.unnest.update.upper.user.using.value.values.value_of.var_pop.var_samp.varbinary.varchar.varying.versioning.when.whenever.where.width_bucket.window.with.within.without.year".split("."),c="abs.acos.array_agg.asin.atan.avg.cast.ceil.ceiling.coalesce.corr.cos.cosh.count.covar_pop.covar_samp.cume_dist.dense_rank.deref.element.exp.extract.first_value.floor.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.last_value.lead.listagg.ln.log.log10.lower.max.min.mod.nth_value.ntile.nullif.percent_rank.percentile_cont.percentile_disc.position.position_regex.power.rank.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.row_number.sin.sinh.sqrt.stddev_pop.stddev_samp.substring.substring_regex.sum.tan.tanh.translate.translate_regex.treat.trim.trim_array.unnest.upper.value_of.var_pop.var_samp.width_bucket".split("."),u=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],d=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],p=c,h=[...l,...s].filter(e=>!c.includes(e)),m={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},f={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},g={match:t.concat(/\b/,t.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function v(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,"\\s+"))),/\b/)}let b={scope:"keyword",match:v(d),relevance:0};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:a}={}){let r=a;return t||=[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e)}(h,{when:e=>e.length<3}),literal:n,type:i,built_in:u},contains:[{scope:"type",match:v(o)},b,g,m,r,{begin:/"/,end:/"/,contains:[{match:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,f]}}function Xze(e){return e?"string"==typeof e?e:e.source:null}function Gze(e){return Yze("(?=",e,")")}function Yze(...e){return e.map(e=>Xze(e)).join("")}function Kze(...e){return"("+(function(e){let t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e).capture?"":"?:")+e.map(e=>Xze(e)).join("|")+")"}function Jze(e){let t={match:/\s+/,relevance:0},a=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,a],n={match:[/\./,Kze(...QHe,...qHe)],className:{2:"keyword"}},o={match:Yze(/\./,Kze(...WHe)),relevance:0},i=WHe.filter(e=>"string"==typeof e).concat(["_|0"]),s={variants:[{className:"keyword",match:Kze(...WHe.filter(e=>"string"!=typeof e).concat(FHe).map(VHe),...qHe)}]},l={$pattern:Kze(/\b\w+/,/#\w+/),keyword:i.concat(YHe),literal:XHe},c=[n,o,s],u=[{match:Yze(/\./,Kze(...KHe)),relevance:0},{className:"built_in",match:Yze(/\b/,Kze(...KHe),/(?=\()/)}],d={match:/->/,relevance:0},p=[d,{className:"operator",relevance:0,variants:[{match:tZe},{match:`\\.(\\.|${eZe})+`}]}],h="([0-9]_*)+",m="([0-9a-fA-F]_*)+",f={className:"number",relevance:0,variants:[{match:`\\b(${h})(\\.(${h}))?([eE][+-]?(${h}))?\\b`},{match:`\\b0x(${m})(\\.(${m}))?([pP][+-]?(${h}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(e="")=>({className:"subst",variants:[{match:Yze(/\\/,e,/[0\\tnr"']/)},{match:Yze(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),v=(e="")=>({className:"subst",match:Yze(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),b=(e="")=>({className:"subst",label:"interpol",begin:Yze(/\\/,e,/\(/),end:/\)/}),y=(e="")=>({begin:Yze(e,/"""/),end:Yze(/"""/,e),contains:[g(e),v(e),b(e)]}),O=(e="")=>({begin:Yze(e,/"/),end:Yze(/"/,e),contains:[g(e),b(e)]}),x={className:"string",variants:[y(),y("#"),y("##"),y("###"),O(),O("#"),O("##"),O("###")]},w=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],k={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:w},S=e=>{let t=Yze(e,/\//),a=Yze(/\//,e);return{begin:t,end:a,contains:[...w,{scope:"comment",begin:`#(?!.*${a})`,end:/$/}]}},A={scope:"regexp",variants:[S("###"),S("##"),S("#"),k]},_={match:Yze(/`/,nZe,/`/)},T=[_,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${rZe}+`}],E=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:sZe,contains:[...p,f,x]}]}},{scope:"keyword",match:Yze(/@/,Kze(...iZe),Gze(Kze(/\(/,/\s+/)))},{scope:"meta",match:Yze(/@/,nZe)}],C={match:Gze(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:Yze(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,rZe,"+")},{className:"type",match:oZe,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:Yze(/\s+&\s+/,Gze(oZe)),relevance:0}]},P={begin:/</,end:/>/,keywords:l,contains:[...r,...c,...E,d,C]};C.contains.push(P);let M={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:Yze(nZe,/\s*:/),keywords:"_|0",relevance:0},...r,A,...c,...u,...p,f,x,...T,...E,C]},$={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,C]},N={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:Kze(Gze(Yze(nZe,/\s*:/)),Gze(Yze(nZe,/\s+/,nZe,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:nZe}]},...r,...c,...p,f,x,...E,C,M],endsParent:!0,illegal:/["']/},I={match:[/(func|macro)/,/\s+/,Kze(_.match,nZe,tZe)],className:{1:"keyword",3:"title.function"},contains:[$,N,t],illegal:[/\[/,/%/]},R={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[$,N,t],illegal:/\[|%/},D={match:[/operator/,/\s+/,tZe],className:{1:"keyword",3:"title"}},L={begin:[/precedencegroup/,/\s+/,oZe],className:{1:"keyword",3:"title"},contains:[C],keywords:[...GHe,...XHe],end:/}/},B={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},j={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},U={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,nZe,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:l,contains:[$,...c,{begin:/:/,end:/\{/,keywords:l,contains:[{scope:"title.class.inherited",match:oZe},...c],relevance:0}]};for(let e of x.variants){let t=e.contains.find(e=>"interpol"===e.label);t.keywords=l;let a=[...c,...u,...p,f,x,...T];t.contains=[...a,{begin:/\(/,end:/\)/,contains:["self",...a]}]}return{name:"Swift",keywords:l,contains:[...r,I,R,B,j,U,D,L,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},A,...c,...u,...p,f,x,...T,...E,C,M]}}function eHe(e){let t=e.regex,a=function(e){let t=e.regex,a=lZe,r={begin:"<>",end:"</>"},n={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let a=e[0].length+e.index,r=e.input[a];if("<"===r||","===r)return void t.ignoreMatch();">"===r&&(((e,{after:t})=>{let a="</"+e[0].slice(1);return-1!==e.input.indexOf(a,t)})(e,{after:a})||t.ignoreMatch());let n,o=e.input.substring(a);((n=o.match(/^\s*=/))||(n=o.match(/^\s+extends\s+/))&&0===n.index)&&t.ignoreMatch()}},o={$pattern:lZe,keyword:cZe,literal:uZe,built_in:fZe,"variable.language":mZe},i="[0-9](_?[0-9])*",s=`\\.(${i})`,l="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",c={className:"number",variants:[{begin:`(\\b(${l})((${s})|\\.)?|(${s}))[eE][+-]?(${i})\\b`},{begin:`\\b(${l})\\b((${s})\\b|\\.)?|(${s})\\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},u={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},d={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"xml"}},p={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"css"}},h={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,u],subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,u]},f={className:"comment",variants:[e.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:a+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},g=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,p,h,m,{match:/\$\d+/},c];u.contains=g.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(g)});let v=[].concat(f,u.contains),b=v.concat([{begin:/(\s*)\(/,end:/\)/,keywords:o,contains:["self"].concat(v)}]),y={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b},O={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,t.concat(a,"(",t.concat(/\./,a),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,a],scope:{1:"keyword",3:"title.class"}}]},x={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:{_:[...dZe,...pZe]}},w={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},k={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],illegal:/%/},S={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},A={match:t.concat(/\b/,function(e){return t.concat("(?!",e.join("|"),")")}([...hZe,"super","import"].map(e=>`${e}\\s*\\(`)),a,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},_={begin:t.concat(/\./,t.lookahead(t.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},T={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},E="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",C={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(E)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),w,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,p,h,m,f,{match:/\$\d+/},c,x,{scope:"attr",match:a+t.lookahead(":"),relevance:0},C,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[f,e.REGEXP_MODE,{className:"function",begin:E,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:r.begin,end:r.end},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:n.begin,"on:begin":n.isTrulyOpeningTag,end:n.end}],subLanguage:"xml",contains:[{begin:n.begin,end:n.end,skip:!0,contains:["self"]}]}]},k,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,e.inherit(e.TITLE_MODE,{begin:a,className:"title.function"})]},{match:/\.\.\./,relevance:0},_,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},A,S,O,T,{match:/\$[(.]/}]}}(e),r=lZe,n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},i={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[a.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},l={$pattern:lZe,keyword:cZe.concat(["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"]),literal:uZe,built_in:fZe.concat(n),"variable.language":mZe},c={className:"meta",begin:"@"+r},u=(e,t,a)=>{let r=e.contains.findIndex(e=>e.label===t);if(-1===r)throw Error("can not find mode to replace");e.contains.splice(r,1,a)};Object.assign(a.keywords,l),a.exports.PARAMS_CONTAINS.push(c);let d=a.contains.find(e=>"attr"===e.scope),p=Object.assign({},d,{match:t.concat(r,t.lookahead(/\s*\?:/))});a.exports.PARAMS_CONTAINS.push([a.exports.CLASS_REFERENCE,d,p]),a.contains=a.contains.concat([c,o,i,p]),u(a,"shebang",e.SHEBANG()),u(a,"use_strict",s);let h=a.contains.find(e=>"func.def"===e.label);return h.relevance=0,Object.assign(a,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),a}function tHe(e){let t=e.regex,a=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},n={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(n,{begin:/\(/,end:/\)/}),i=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[n,s,i,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[n,o,s,i]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(a,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function aHe(e){let t="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},n={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},i={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,n]},s=e.inherit(i,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},c={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},u={begin:/\{/,end:/\}/,contains:[c],illegal:"\\n",relevance:0},d={begin:"\\[",end:"\\]",contains:[c],illegal:"\\n",relevance:0},p=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},l,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},u,d,o,i],h=[...p];return h.pop(),h.push(s),c.contains=h,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:p}}var rHe,nHe,oHe,iHe,sHe,lHe,cHe,uHe,dHe,pHe,hHe,mHe,fHe,gHe,vHe,bHe,yHe,OHe,xHe,wHe,kHe,SHe,AHe,_He,THe,EHe,CHe,PHe,MHe,$He,NHe,IHe,RHe,DHe,LHe,BHe,jHe,UHe,zHe,HHe,ZHe,VHe,QHe,qHe,FHe,WHe,XHe,GHe,YHe,KHe,JHe,eZe,tZe,aZe,rZe,nZe,oZe,iZe,sZe,lZe,cZe,uZe,dZe,pZe,hZe,mZe,fZe,gZe,vZe,bZe=V(()=>{rHe=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),nHe="a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video".split("."),oHe="defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath".split("."),iHe=[...nHe,...oHe],sHe="any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height".split(".").sort().reverse(),lHe="active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where".split(".").sort().reverse(),cHe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),uHe="accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".").sort().reverse(),mHe={className:"number",variants:[{begin:`(\\b(${dHe="[0-9](_*[0-9])*"})((${pHe=`\\.(${dHe})`})|\\.)?|(${pHe}))[eE][+-]?(${dHe})[fFdD]?\\b`},{begin:`\\b(${dHe})((${pHe})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${pHe})[fFdD]?\\b`},{begin:`\\b(${dHe})[fFdD]\\b`},{begin:`\\b0[xX]((${hHe="[0-9a-fA-F](_*[0-9a-fA-F])*"})\\.?|(${hHe})?\\.(${hHe}))[pP][+-]?(${dHe})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${hHe})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0},fHe="[A-Za-z$_][0-9A-Za-z$_]*",gHe="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.using".split("."),vHe=["true","false","null","undefined","NaN","Infinity"],bHe="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".split("."),xHe=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],wHe=[].concat(OHe=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],bHe,yHe=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]),_He={className:"number",variants:[{begin:`(\\b(${kHe="[0-9](_*[0-9])*"})((${SHe=`\\.(${kHe})`})|\\.)?|(${SHe}))[eE][+-]?(${kHe})[fFdD]?\\b`},{begin:`\\b(${kHe})((${SHe})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${SHe})[fFdD]?\\b`},{begin:`\\b(${kHe})[fFdD]\\b`},{begin:`\\b0[xX]((${AHe="[0-9a-fA-F](_*[0-9a-fA-F])*"})\\.?|(${AHe})?\\.(${AHe}))[pP][+-]?(${kHe})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${AHe})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0},THe=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),EHe="a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video".split("."),CHe="defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath".split("."),PHe=[...EHe,...CHe],MHe="any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height".split(".").sort().reverse(),$He="active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where".split(".").sort().reverse(),NHe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),IHe="accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".").sort().reverse(),RHe=$He.concat(NHe).sort().reverse(),DHe=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),LHe="a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video".split("."),BHe="defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath".split("."),jHe=[...LHe,...BHe],UHe="any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height".split(".").sort().reverse(),zHe="active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where".split(".").sort().reverse(),HHe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),ZHe="accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom".split(".").sort().reverse(),VHe=e=>Yze(/\b/,e,/\w$/.test(e)?/\b/:/\B/),QHe=["Protocol","Type"].map(VHe),qHe=["init","self"].map(VHe),FHe=["Any","Self"],WHe=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],XHe=["false","nil","true"],GHe=["assignment","associativity","higherThan","left","lowerThan","none","right"],YHe=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],KHe="abs.all.any.assert.assertionFailure.debugPrint.dump.fatalError.getVaList.isKnownUniquelyReferenced.max.min.numericCast.pointwiseMax.pointwiseMin.precondition.preconditionFailure.print.readLine.repeatElement.sequence.stride.swap.swift_unboxFromSwiftValueWithType.transcode.type.unsafeBitCast.unsafeDowncast.withExtendedLifetime.withUnsafeMutablePointer.withUnsafePointer.withVaList.withoutActuallyEscaping.zip".split("."),JHe=Kze(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),eZe=Kze(JHe,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),tZe=Yze(JHe,eZe,"*"),aZe=Kze(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),rZe=Kze(aZe,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),nZe=Yze(aZe,rZe,"*"),oZe=Yze(/[A-Z]/,rZe,"*"),iZe=["attached","autoclosure",Yze(/convention\(/,Kze("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",Yze(/objc\(/,nZe,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],sZe=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"],lZe="[A-Za-z$_][0-9A-Za-z$_]*",cZe="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.using".split("."),uZe=["true","false","null","undefined","NaN","Infinity"],dZe="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".split("."),mZe=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],fZe=[].concat(hZe=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],dZe,pZe=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]),gZe=e=>{let t={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},a={className:"literal",begin:/(--request|-X)\s/,contains:[{className:"symbol",begin:/(get|post|delete|options|head|put|patch|trace|connect)/,end:/\s/,returnEnd:!0}],returnEnd:!0,relevance:10},r={className:"literal",begin:/--/,end:/[\s"]/,returnEnd:!0,relevance:0},n={className:"literal",begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},o={className:"string",begin:/\\"/,relevance:0},i={className:"string",begin:/'/,end:/'/,relevance:0},s={className:"number",variants:[{begin:e.C_NUMBER_RE}],relevance:0};return{name:"curl",aliases:["curl"],keywords:"curl",case_insensitive:!0,contains:[a,r,n,t,o,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,{match:/(\/[a-z._-]+)+/}]}},vZe={bash:Oze,c:xze,clojure:aze,cpp:wze,csharp:kze,css:Sze,curl:gZe,dart:rze,diff:Aze,docker:nze,dockerfile:nze,elixir:oze,fsharp:dze,go:_ze,graphql:Tze,haskell:pze,html:tHe,http:hze,ini:Eze,java:Pze,javascript:Mze,json:$ze,kotlin:Nze,less:Ize,lua:Rze,makefile:Dze,markdown:Lze,matlab:mze,nginx:fze,objectivec:Bze,ocaml:gze,perl:jze,php:Uze,plaintext:zze,powershell:vze,properties:bze,python:Hze,r:Zze,ruby:Vze,rust:Qze,scala:yze,scss:qze,shell:Fze,sql:Wze,swift:Jze,toml:Eze,typescript:eHe,xml:tHe,yaml:aHe}});function yZe(e){return"text"===e?.type}function OZe(e){return"element"===e?.type}function xZe(e){return{type:"text",value:e}}function wZe(){return e=>{wIe(e,"element",(e,t,a)=>{if("element"===a?.type&&"pre"===a.tagName&&"code"===e.tagName){let t=0;e.children=kZe(e),e.children.forEach(e=>{if("element"===e.type&&"span"===e.tagName){let a=e.children[e.children.length-1];a&&(!yZe(a)||yZe(a)&&!AZe(a))&&(e.children.push({type:"text",value:"\n"}),t++)}}),e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]}})}}function kZe(e,t=[],a){let r=()=>t[t.length-1]??(t.push(SZe())&&t[t.length-1]||void 0);return e.children.forEach(n=>{if(yZe(n)&&AZe(n)){let o=n.value.split(/\n/);o.forEach((n,i)=>{a?r()?.children.push({...e,children:[xZe(n)]}):r()?.children.push(xZe(n)),i!==o.length-1&&t.push(SZe())})}else OZe(n)&&n.children.some(AZe)?kZe(n,t,!0):r()?.children.push(n)}),t}function SZe(...e){return{type:"element",tagName:"span",properties:{class:["line"]},children:e}}function AZe(e){return yZe(e)&&/\r?\n/.test(e.value)||OZe(e)&&e.children.some(AZe)}function _Ze(e,t){let a=("string"==typeof t?.maskCredentials?[t.maskCredentials]:t?.maskCredentials??[]).filter(e=>!(e.length<3)),r=`language-${XIe[t.lang]??t.lang}`,n=eze().use(bLe,{fragment:!0}).use(function(e){return()=>t=>{wIe(t,"element",t=>{"code"===t.tagName&&t.children.push({type:"text",value:e})})}}(e)).use(BIe,{languages:t.languages}).use(t?.lineNumbers?wZe:()=>{}).use(oBe).processSync(`<pre><code class="${r}"></code></pre>`).toString();return a.length?a.reduce((e,t)=>e.split(t).join(`<span class="credential"><span class="credential-value">${t}</span></span>`),n):n}var TZe=V(()=>{pRe(),tze(),_Ie()});function EZe(e){return"text"===e.type&&"string"==typeof e.value&&/^\s*$/.test(e.value)}function CZe(){return e=>{wIe(e,"element",(e,t,a)=>{if("blockquote"!==e.tagName||"number"!=typeof t||!a||"root"!==a.type)return;let r=e.children.findIndex(e=>!EZe(e));if(-1===r)return;let n=e.children[r];if(!n||"element"!==n.type||"p"!==n.tagName)return;let o=n.children[0];if(!o||"text"!==o.type||!o.value.startsWith("[!"))return;let i=o.value.indexOf("]");if(-1===i)return;let s=o.value.slice(2,i).toLowerCase();if(!PZe.includes(s))return;if(i+1===o.value.length){let t=n.children[1];if(t){if("element"!==t.type||"br"!==t.tagName||!n.children[2])return;n.children=n.children.slice(2);let e=n.children[0];e&&"text"===e.type&&"\n"===e.value.charAt(0)&&(e.value=e.value.slice(1))}else{let t=r+1<e.children.length&&EZe(e.children[r+1])?r+2:r+1;if(t>=e.children.length||"element"!==e.children[t]?.type)return;e.children=e.children.slice(t)}}else"\n"!==o.value.charAt(i+1)||i+2!==o.value.length&&/^\s*$/.test(o.value.slice(i+2))?o.value=o.value.replace(/^\s*\[!.*?\]\s*/,""):o.value=o.value.slice(i+2);let l=[];for(let t=r;t<e.children.length;t++){let a=e.children[t];"element"===a?.type&&"p"===a.tagName&&a.children?l.push(...a.children):l.push(a)}a.children[t]={type:"element",tagName:"div",properties:{className:["markdown-alert",`markdown-alert-${s}`]},children:[{type:"element",tagName:"div",properties:{className:["markdown-alert-icon"]},children:[]},{type:"element",tagName:"div",properties:{className:["markdown-alert-content"]},children:[{type:"text",value:" "},...l]}]}})}}var PZe,MZe=V(()=>{_Ie(),PZe=["note","tip","important","warning","caution","success"]});function $Ze(e){let t=e||MXe,a=t.protocols||CXe,r=KIe(t.test);return function(e){wIe(e,"element",function(e,n,o){if("a"===e.tagName&&"string"==typeof e.properties.href&&r(e,n,o)){let r=e.properties.href;if(function(e){if("string"!=typeof e)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!EXe.test(e)&&TXe.test(e)}(r)?a.includes(r.slice(0,r.indexOf(":"))):r.startsWith("//")){let a=NZe(t.content,e),r=a&&!Array.isArray(a)?[a]:a,n=NZe(t.rel,e)||PXe,o="string"==typeof n?ARe(n):n,i=NZe(t.target,e),s=NZe(t.properties,e);if(s&&Object.assign(e.properties,_Xe(s)),o.length>0&&(e.properties.rel=[...o]),i&&(e.properties.target=i),r){let a=NZe(t.contentProperties,e)||{};e.children.push({type:"element",tagName:"span",properties:_Xe(a),children:_Xe(r)})}}}})}}function NZe(e,t){return"function"==typeof e?e(t):e}function IZe(e,t){if("children"in e){let a={...t};return("root"===e.type||BZe(e))&&(a.before=!0,a.after=!0),a.whitespace=function(e,t){if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}return t.whitespace}(e,t),function(e,t){let a=t.before,r=t.after,n=e.children,o=n.length,i=-1;for(;++i<o;){let e=IZe(n[i],{...t,after:RZe(n,i,r),before:a});e.remove?(n.splice(i,1),i--,o--):e.ignore||(a=e.stripAtStart),LZe(n[i])&&(a=!1)}return{ignore:!1,stripAtStart:!(!a&&!r),remove:!1}}(e,a)}if("text"===e.type){if("normal"===t.whitespace)return function(e,t){let a=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1},n=0,o=a.length;return t.before&&UZe(a.charAt(0))&&n++,n!==o&&UZe(a.charAt(o-1))&&(t.after?o--:r.stripAtStart=!0),n===o?r.remove=!0:e.value=a.slice(n,o),r}(e,t);"nowrap"===t.whitespace&&(e.value=t.collapse(e.value))}return{ignore:LXe(e),stripAtStart:!1,remove:!1}}function RZe(e,t,a){for(;++t<e.length;){let a=e[t],r=DZe(a);if(void 0===r&&"children"in a&&!jZe(a)&&(r=RZe(a.children,-1)),"boolean"==typeof r)return r}return a}function DZe(e){if("element"===e.type){if(LZe(e))return!1;if(BZe(e))return!0}else if("text"===e.type){if(!_Le(e))return!1}else if(!LXe(e))return!1}function LZe(e){return $Xe(e)||YIe(e,IXe)}function BZe(e){return YIe(e,NXe)}function jZe(e){return!("element"!==e.type||!e.properties.hidden)||LXe(e)||YIe(e,RXe)}function UZe(e){return" "===e||"\n"===e}function zZe(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function HZe(){return" "}function ZZe(e){return function(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}function VZe(e){return!!("text"===e.type||UXe(e)||$Xe(e)||function(e){if("element"!==e.type||"link"!==e.tagName)return!1;if(e.properties.itemProp)return!0;let t=e.properties.rel,a=-1;if(!Array.isArray(t)||0===t.length)return!1;for(;++a<t.length;)if(!jXe.has(String(t[a])))return!1;return!0}(e)||zXe(e)&&function(e,t){let a="element"===e.type&&BXe.call(e.properties,t)&&e.properties[t];return null!=a&&!1!==a}(e,"itemProp"))}function QZe(e,t){let a=t||ZXe,r={blanks:a.blanks||[],head:!1,indentInitial:!1!==a.indentInitial,indent:"number"==typeof a.indent?" ".repeat(a.indent):"string"==typeof a.indent?a.indent:"  "};function n(e,t,a){let n=e[e.length-1],o=(qZe(r,n&&_Le(n)?e[e.length-2]:n)&&qZe(r,a)?"\n\n":"\n")+r.indent.repeat(Math.max(t,0));n&&"text"===n.type?n.value=_Le(n)?o:n.value+o:e.push({type:"text",value:o})}(function(e,t){IZe(e,{collapse:ZZe((t||DXe).newlines?zZe:HZe),whitespace:"normal"})})(e,{newlines:!0}),xIe(e,function(e,t){if(!("children"in e))return;if("element"===e.type&&"head"===e.tagName&&(r.head=!0),r.head&&"element"===e.type&&"body"===e.tagName&&(r.head=!1),"element"===e.type&&HXe.includes(e.tagName))return AIe;if(0===e.children.length||!FZe(r,e))return;let a=t.length;r.indentInitial||a--;let o=!1;for(let t of e.children)("comment"===t.type||"text"===t.type)&&(t.value.includes("\n")&&(o=!0),t.value=t.value.replace(/ *\n/g,"$&"+r.indent.repeat(a)));let i,s=[];for(let t of e.children)(FZe(r,t)||o&&!i)&&(n(s,a,t),o=!0),i=t,s.push(t);i&&(o||FZe(r,i))&&(_Le(i)&&(s.pop(),i=s[s.length-1]),n(s,a-1)),e.children=s})}function qZe(e,t){return!!(t&&"element"===t.type&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function FZe(e,t){return"root"===t.type||"element"===t.type&&(e.head||"script"===t.tagName||$Xe(t)||!VZe(t))}function WZe(e){return function(t){QZe(t,e)}}function XZe(e,t){let a={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return a.childNodes=tVe(e.children,a,t),aVe(e,a),a}function GZe(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return aVe(e,t),t}function YZe(e){let t={nodeName:"#text",value:e.value,parentNode:null};return aVe(e,t),t}function KZe(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return aVe(e,t),t}function JZe(e,t){let a=t,r=a;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===a.space&&(r=BBe);let n,o=[];if(e.properties)for(n in e.properties)if("children"!==n&&QXe.call(e.properties,n)){let t=eVe(r,n,e.properties[n]);t&&o.push(t)}let i=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:qBe[i],childNodes:[],parentNode:null};return s.childNodes=tVe(e.children,s,r),aVe(e,s),"template"===e.tagName&&e.content&&(s.content=function(e,t){let a={nodeName:"#document-fragment",childNodes:[]};return a.childNodes=tVe(e.children,a,t),aVe(e,a),a}(e.content,r)),s}function eVe(e,t,a){let r=ORe(e,t);if(!1===a||null==a||"number"==typeof a&&Number.isNaN(a)||!a&&r.boolean)return;Array.isArray(a)&&(a=r.commaSeparated?SRe(a):_Re(a));let n={name:r.attribute,value:!0===a?"":String(a)};if(r.space&&"html"!==r.space&&"svg"!==r.space){let e=n.name.indexOf(":");e<0?n.prefix="":(n.name=n.name.slice(e+1),n.prefix=r.attribute.slice(0,e)),n.namespace=qBe[r.space]}return n}function tVe(e,t,a){let r=-1,n=[];if(e)for(;++r<e.length;){let o=qXe(e[r],a);o.parentNode=t,n.push(o)}return n}function aVe(e,t){let a=e.position;a&&a.start&&a.end&&(a.start.offset,a.end.offset,t.sourceCodeLocation={startLine:a.start.line,startCol:a.start.column,startOffset:a.start.offset,endLine:a.end.line,endCol:a.end.column,endOffset:a.end.offset})}function rVe(e){return function(t){let a=t&&t.position&&t.position[e]||{};if("number"==typeof a.line&&a.line>0&&"number"==typeof a.column&&a.column>0)return{line:a.line,column:a.column,offset:"number"==typeof a.offset&&a.offset>-1?a.offset:void 0}}}function nVe(e){let t=WXe(e),a=FXe(e);if(t&&a)return{start:t,end:a}}function oVe(e,t){let a=function(e){let t="root"===e.type?e.children[0]:e;return!(!t||"doctype"!==t.type&&("element"!==t.type||"html"!==t.tagName.toLowerCase()))}(e),r=yLe("type",{handlers:{root:sVe,element:lVe,text:cVe,comment:pVe,doctype:uVe,raw:hVe},unknown:mVe}),n={parser:a?new nUe(GXe):nUe.getFragmentParser(void 0,GXe),handle(e){r(e,n)},stitches:!1,options:t||{}};r(e,n),fVe(n,WXe());let o=MRe(a?n.parser.document:n.parser.getFragment(),{file:n.options.file});return n.stitches&&wIe(o,"comment",function(e,t,a){let r=e;if(r.value.stitch&&a&&void 0!==t){return a.children[t]=r.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type?o.children[0]:o}function iVe(e,t){let a=-1;if(e)for(;++a<e.length;)t.handle(e[a])}function sVe(e,t){iVe(e.children,t)}function lVe(e,t){(function(e,t){let a=e.tagName.toLowerCase();if(t.parser.tokenizer.state===bje.PLAINTEXT)return;fVe(t,WXe(e));let r=t.parser.openElements.current,n="namespaceURI"in r?r.namespaceURI:qBe.html;n===qBe.html&&"svg"===a&&(n=qBe.svg);let o=function(e,t){let a=(t||VXe).space;return qXe(e,"svg"===a?BBe:LBe)}({...e,children:[]},{space:n===qBe.svg?"svg":"html"}),i={type:eje.START_TAG,tagName:a,tagID:QRe(a),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in o?o.attrs:[],location:vVe(e)};t.parser.currentToken=i,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=a})(e,t),iVe(e.children,t),function(e,t){let a=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&bUe.includes(a)||t.parser.tokenizer.state===bje.PLAINTEXT)return;fVe(t,FXe(e));let r={type:eje.END_TAG,tagName:a,tagID:QRe(a),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:vVe(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),a===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===bje.RCDATA||t.parser.tokenizer.state===bje.RAWTEXT||t.parser.tokenizer.state===bje.SCRIPT_DATA)&&(t.parser.tokenizer.state=bje.DATA)}(e,t)}function cVe(e,t){let a={type:eje.CHARACTER,chars:e.value,location:vVe(e)};fVe(t,WXe(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function uVe(e,t){let a={type:eje.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:vVe(e)};fVe(t,WXe(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function dVe(e,t){t.stitches=!0;let a=function(e){return _Xe("children"in e?{...e,children:[]}:e)}(e);"children"in e&&"children"in a&&(a.children=oVe({type:"root",children:e.children},t.options).children),pVe({type:"comment",value:{stitch:a}},t)}function pVe(e,t){let a=e.value,r={type:eje.COMMENT,data:a,location:vVe(e)};fVe(t,WXe(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function hVe(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,gVe(t,WXe(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function mVe(e,t){let a=e;if(!t.options.passThrough||!t.options.passThrough.includes(a.type)){let e="";throw XXe.has(a.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+a.type+"` node"+e)}dVe(a,t)}function fVe(e,t){gVe(e,t);let a=e.parser.tokenizer.currentCharacterToken;a&&a.location&&(a.location.endLine=e.parser.tokenizer.preprocessor.line,a.location.endCol=e.parser.tokenizer.preprocessor.col+1,a.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=a,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=bje.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function gVe(e,t){if(t&&void 0!==t.offset){let a={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=1-t.column,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=a}}function vVe(e){let t=WXe(e)||{line:void 0,column:void 0,offset:void 0},a=FXe(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:a.line,endCol:a.column,endOffset:a.offset}}function bVe(e){return function(t,a){return oVe(t,{...e,file:a})}}function yVe(e,t){if(t&&"object"==typeof t){let a=t;switch("string"==typeof a.type?a.type:""){case"comment":return function(e,t){if(e.schema.allowComments){let e="string"==typeof t.value?t.value:"",a=e.indexOf("--\x3e"),r={type:"comment",value:a<0?e:e.slice(0,a)};return kVe(r,t),r}}(e,a);case"doctype":return function(e,t){if(e.schema.allowDoctypes){let e={type:"doctype"};return kVe(e,t),e}}(e,a);case"element":return function(e,t){let a="string"==typeof t.tagName?t.tagName:"";e.stack.push(a);let r=OVe(e,t.children),n=function(e,t){let a,r=e.stack[e.stack.length-1],n=e.schema.attributes,o=e.schema.required,i=n&&JXe.call(n,r)?n[r]:void 0,s=n&&JXe.call(n,"*")?n["*"]:void 0,l=t&&"object"==typeof t?t:{},c={};for(a in l)if(JXe.call(l,a)){let t=l[a],r=xVe(e,SVe(i,a),a,t);r??=xVe(e,SVe(s,a),a,t),null!=r&&(c[a]=r)}if(o&&JXe.call(o,r)){let e=o[r];for(a in e)JXe.call(e,a)&&!JXe.call(c,a)&&(c[a]=e[a])}return c}(e,t.properties);e.stack.pop();let o=!1;if(a&&"*"!==a&&(!e.schema.tagNames||e.schema.tagNames.includes(a))&&(o=!0,e.schema.ancestors&&JXe.call(e.schema.ancestors,a))){let t=e.schema.ancestors[a],r=-1;for(o=!1;++r<t.length;)e.stack.includes(t[r])&&(o=!0)}if(!o)return e.schema.strip&&!e.schema.strip.includes(a)?r:void 0;let i={type:"element",tagName:a,properties:n,children:r};return kVe(i,t),i}(e,a);case"root":return function(e,t){let a={type:"root",children:OVe(e,t.children)};return kVe(a,t),a}(e,a);case"text":return function(e,t){let a={type:"text",value:"string"==typeof t.value?t.value:""};return kVe(a,t),a}(0,a)}}}function OVe(e,t){let a=[];if(Array.isArray(t)){let r=t,n=-1;for(;++n<r.length;){let t=yVe(e,r[n]);t&&(Array.isArray(t)?a.push(...t):a.push(t))}}return a}function xVe(e,t,a,r){return t?Array.isArray(r)?function(e,t,a,r){let n=-1,o=[];for(;++n<r.length;){let i=wVe(e,t,a,r[n]);("number"==typeof i||"string"==typeof i)&&o.push(i)}return o}(e,t,a,r):wVe(e,t,a,r):void 0}function wVe(e,t,a,r){if(("boolean"==typeof r||"number"==typeof r||"string"==typeof r)&&function(e,t,a){let r=e.schema.protocols&&JXe.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||0===r.length)return!0;let n=String(a),o=n.indexOf(":"),i=n.indexOf("?"),s=n.indexOf("#"),l=n.indexOf("/");if(o<0||l>-1&&o>l||i>-1&&o>i||s>-1&&o>s)return!0;let c=-1;for(;++c<r.length;){let e=r[c];if(o===e.length&&n.slice(0,e.length)===e)return!0}return!1}(e,a,r)){if("object"==typeof t&&t.length>1){let e=!1,a=0;for(;++a<t.length;){let n=t[a];if(n&&"object"==typeof n&&"flags"in n){if(n.test(String(r))){e=!0;break}}else if(n===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(a)?e.schema.clobberPrefix+r:r}}function kVe(e,t){let a=nVe(t);t.data&&(e.data=_Xe(t.data)),a&&(e.position=a)}function SVe(e,t){let a,r=-1;if(e)for(;++r<e.length;){let n=e[r],o="string"==typeof n?n:n[0];if(o===t)return n;"data*"===o&&(a=n)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return a}function AVe(e){return function(t){return function(e,t){let a={type:"root",children:[]},r=yVe({schema:t?{...KXe,...t}:KXe,stack:[]},e);return r&&(Array.isArray(r)?1===r.length?a=r[0]:a.children=r:a=r),a}(t,e)}}function _Ve(e){return null!==e&&(e<32||127===e)}function TVe(e){return null!==e&&e<-2}function EVe(e){return null!==e&&(e<0||32===e)}function CVe(e){return-2===e||-1===e||32===e}function PVe(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function MVe(e,t,a){let r=kIe((a||{}).ignore||[]),n=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let a=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<a.length;){let e=a[r];t.push([$Ve(e[0]),NVe(e[1])])}return t}(t),o=-1;for(;++o<n.length;)xIe(e,"text",i);function i(e,t){let a,n=-1;for(;++n<t.length;){let e=t[n],o=a?a.children:void 0;if(r(e,o?o.indexOf(e):void 0,a))return;a=e}if(a)return s(e,t)}function s(e,t){let a=t[t.length-1],r=n[o][0],i=n[o][1],s=0,l=a.children.indexOf(e),c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let a=d.index,n={index:d.index,input:d.input,stack:[...t,e]},o=i(...d,n);if("string"==typeof o&&(o=o.length>0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=a+1:(s!==a&&u.push({type:"text",value:e.value.slice(s,a)}),Array.isArray(o)?u.push(...o):o&&u.push(o),s=a+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(s<e.value.length&&u.push({type:"text",value:e.value.slice(s)}),a.children.splice(l,1,...u)):u=[e],l+u.length}}function $Ve(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function NVe(e){return"function"==typeof e?e:function(){return e}}function IVe(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function RVe(e){this.config.enter.autolinkProtocol.call(this,e)}function DVe(e){this.config.exit.autolinkProtocol.call(this,e)}function LVe(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function BVe(e){this.config.exit.autolinkEmail.call(this,e)}function jVe(e){this.exit(e)}function UVe(e){MVe(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,zVe],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,HVe]],{ignore:["link","linkReference"]})}function zVe(e,t,a,r,n){let o="";if(!ZVe(n)||(/^w/i.test(t)&&(a=t+a,t="",o="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(a)))return!1;let i=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let a=t[0],r=a.indexOf(")"),n=ALe(e,"("),o=ALe(e,")");for(;-1!==r&&n>o;)e+=a.slice(0,r+1),a=a.slice(r+1),r=a.indexOf(")"),o++;return[e,a]}(a+r);if(!i[0])return!1;let s={type:"link",title:null,url:o+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[s,{type:"text",value:i[1]}]:s}function HVe(e,t,a,r){return!(!ZVe(r,!0)||/[-\d_]$/.test(a))&&{type:"link",title:null,url:"mailto:"+t+"@"+a,children:[{type:"text",value:t+"@"+a}]}}function ZVe(e,t){let a=e.input.charCodeAt(e.index-1);return(0===e.index||sGe(a)||iGe(a))&&(!t||47!==a)}function VVe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}function QVe(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function qVe(){this.buffer()}function FVe(e){let t=this.resume(),a=this.stack[this.stack.length-1];a.type,a.label=t,a.identifier=VVe(this.sliceSerialize(e)).toLowerCase()}function WVe(e){this.exit(e)}function XVe(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function GVe(){this.buffer()}function YVe(e){let t=this.resume(),a=this.stack[this.stack.length-1];a.type,a.label=t,a.identifier=VVe(this.sliceSerialize(e)).toLowerCase()}function KVe(e){this.exit(e)}function JVe(e,t,a,r){let n=a.createTracker(r),o=n.move("[^"),i=a.enter("footnoteReference"),s=a.enter("reference");return o+=n.move(a.safe(a.associationId(e),{...n.current(),before:o,after:"]"})),s(),i(),o+=n.move("]"),o}function eQe(){return"["}function tQe(e,t,a,r){let n=a.createTracker(r),o=n.move("[^"),i=a.enter("footnoteDefinition"),s=a.enter("label");return o+=n.move(a.safe(a.associationId(e),{...n.current(),before:o,after:"]"})),s(),o+=n.move("]:"+(e.children&&e.children.length>0?" ":"")),n.shift(4),o+=n.move(a.indentLines(a.containerFlow(e,n.current()),aQe)),i(),o}function aQe(e,t,a){return 0===t?e:(a?"":"    ")+e}function rQe(e){this.enter({type:"delete",children:[]},e)}function nQe(e){this.exit(e)}function oQe(e,t,a,r){let n=a.createTracker(r),o=a.enter("strikethrough"),i=n.move("~~");return i+=a.containerPhrasing(e,{...n.current(),before:i,after:"~"}),i+=n.move("~~"),o(),i}function iQe(){return"~"}function sQe(e){return null==e?"":String(e)}function lQe(e){return e.length}function cQe(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function uQe(e,t){let a,r=-1;if(t.extensions)for(;++r<t.extensions.length;)uQe(e,t.extensions[r]);for(a in t)if(dGe.call(t,a))switch(a){case"extensions":break;case"unsafe":case"join":dQe(e[a],t[a]);break;case"handlers":pQe(e[a],t[a]);break;default:e.options[a]=t[a]}return e}function dQe(e,t){t&&e.push(...t)}function pQe(e,t){t&&Object.assign(e,t)}function hQe(e,t,a,r){let n=a.enter("blockquote"),o=a.createTracker(r);o.move("> "),o.shift(2);let i=a.indentLines(a.containerFlow(e,o.current()),mQe);return n(),i}function mQe(e,t,a){return">"+(a?"":" ")+e}function fQe(e,t){return gQe(e,t.inConstruct,!0)&&!gQe(e,t.notInConstruct,!1)}function gQe(e,t,a){if("string"==typeof t&&(t=[t]),!t||0===t.length)return a;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function vQe(e,t,a,r){let n=-1;for(;++n<a.unsafe.length;)if("\n"===a.unsafe[n].character&&fQe(a.stack,a.unsafe[n]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function bQe(e,t){return!(!1!==t.options.fences||!e.value||e.lang||!/[^ \r\n]/.test(e.value)||/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function yQe(e,t,a,r){let n=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(a),o=e.value||"",i="`"===n?"GraveAccent":"Tilde";if(bQe(e,a)){let e=a.enter("codeIndented"),t=a.indentLines(o,OQe);return e(),t}let s=a.createTracker(r),l=n.repeat(Math.max(function(e,t){let a=String(e),r=a.indexOf(t),n=r,o=0,i=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===n?++o>i&&(i=o):o=1,n=r+t.length,r=a.indexOf(t,n);return i}(o,n)+1,3)),c=a.enter("codeFenced"),u=s.move(l);if(e.lang){let t=a.enter(`codeFencedLang${i}`);u+=s.move(a.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=a.enter(`codeFencedMeta${i}`);u+=s.move(" "),u+=s.move(a.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),o&&(u+=s.move(o+"\n")),u+=s.move(l),c(),u}function OQe(e,t,a){return(a?"":"    ")+e}function xQe(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function wQe(e,t,a,r){let n=xQe(a),o='"'===n?"Quote":"Apostrophe",i=a.enter("definition"),s=a.enter("label"),l=a.createTracker(r),c=l.move("[");return c+=l.move(a.safe(a.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=a.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(a.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=a.enter("destinationRaw"),c+=l.move(a.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=a.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(a.safe(e.title,{before:c,after:n,...l.current()})),c+=l.move(n),s()),i(),c}function kQe(e,t,a,r){let n=function(e){let t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(a),o=a.enter("emphasis"),i=a.createTracker(r),s=i.move(n);return s+=i.move(a.containerPhrasing(e,{before:s,after:n,...i.current()})),s+=i.move(n),o(),s}function SQe(e,t,a){return a.options.emphasis||"*"}function AQe(e,t){let a=t||pGe;return _Qe(e,"boolean"!=typeof a.includeImageAlt||a.includeImageAlt,"boolean"!=typeof a.includeHtml||a.includeHtml)}function _Qe(e,t,a){if(function(e){return!(!e||"object"!=typeof e)}(e)){if("value"in e)return"html"!==e.type||a?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return TQe(e.children,t,a)}return Array.isArray(e)?TQe(e,t,a):""}function TQe(e,t,a){let r=[],n=-1;for(;++n<e.length;)r[n]=_Qe(e[n],t,a);return r.join("")}function EQe(e,t){let a=!1;return wIe(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,!1}),!(e.depth&&!(e.depth<3)||!AQe(e)||!t.options.setext&&!a)}function CQe(e,t,a,r){let n=Math.max(Math.min(6,e.depth||1),1),o=a.createTracker(r);if(EQe(e,a)){let t=a.enter("headingSetext"),r=a.enter("phrasing"),i=a.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});return r(),t(),i+"\n"+(1===n?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))}let i="#".repeat(n),s=a.enter("headingAtx"),l=a.enter("phrasing");o.move(i+" ");let c=a.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?i+" "+c:i,a.options.closeAtx&&(c+=" "+i),l(),s(),c}function PQe(e){return e.value||""}function MQe(){return"<"}function $Qe(e,t,a,r){let n=xQe(a),o='"'===n?"Quote":"Apostrophe",i=a.enter("image"),s=a.enter("label"),l=a.createTracker(r),c=l.move("![");return c+=l.move(a.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=a.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(a.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=a.enter("destinationRaw"),c+=l.move(a.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=a.enter(`title${o}`),c+=l.move(" "+n),c+=l.move(a.safe(e.title,{before:c,after:n,...l.current()})),c+=l.move(n),s()),c+=l.move(")"),i(),c}function NQe(){return"!"}function IQe(e,t,a,r){let n=e.referenceType,o=a.enter("imageReference"),i=a.enter("label"),s=a.createTracker(r),l=s.move("!["),c=a.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),i();let u=a.stack;a.stack=[],i=a.enter("reference");let d=a.safe(a.associationId(e),{before:l,after:"]",...s.current()});return i(),a.stack=u,o(),"full"!==n&&c&&c===d?"shortcut"===n?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function RQe(){return"!"}function DQe(e,t,a){let r=e.value||"",n="`",o=-1;for(;RegExp("(^|[^`])"+n+"([^`]|$)").test(r);)n+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<a.unsafe.length;){let e,t=a.unsafe[o],n=a.compilePattern(t);if(t.atBreak)for(;e=n.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return n+r+n}function LQe(){return"`"}function BQe(e,t){let a=AQe(e);return!(t.options.resourceLink||!e.url||e.title||!e.children||1!==e.children.length||"text"!==e.children[0].type||a!==e.url&&"mailto:"+a!==e.url||!/^[a-z][a-z+.-]+:/i.test(e.url)||/[\0- <>\u007F]/.test(e.url))}function jQe(e,t,a,r){let n,o,i=xQe(a),s='"'===i?"Quote":"Apostrophe",l=a.createTracker(r);if(BQe(e,a)){let t=a.stack;a.stack=[],n=a.enter("autolink");let r=l.move("<");return r+=l.move(a.containerPhrasing(e,{before:r,after:">",...l.current()})),r+=l.move(">"),n(),a.stack=t,r}n=a.enter("link"),o=a.enter("label");let c=l.move("[");return c+=l.move(a.containerPhrasing(e,{before:c,after:"](",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=a.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(a.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=a.enter("destinationRaw"),c+=l.move(a.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=a.enter(`title${s}`),c+=l.move(" "+i),c+=l.move(a.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),c+=l.move(")"),n(),c}function UQe(e,t,a){return BQe(e,a)?"<":"["}function zQe(e,t,a,r){let n=e.referenceType,o=a.enter("linkReference"),i=a.enter("label"),s=a.createTracker(r),l=s.move("["),c=a.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),i();let u=a.stack;a.stack=[],i=a.enter("reference");let d=a.safe(a.associationId(e),{before:l,after:"]",...s.current()});return i(),a.stack=u,o(),"full"!==n&&c&&c===d?"shortcut"===n?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function HQe(){return"["}function ZQe(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function VQe(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function QQe(e,t,a,r){let n=a.enter("list"),o=a.bulletCurrent,i=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(a):ZQe(a),s=e.ordered?"."===i?")":".":function(e){let t=ZQe(e),a=e.options.bulletOther;if(!a)return"*"===t?"-":"*";if("*"!==a&&"+"!==a&&"-"!==a)throw Error("Cannot serialize items with `"+a+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(a===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+a+"`) to be different");return a}(a),l=!(!t||!a.bulletLastUsed)&&i===a.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if(("*"===i||"-"===i)&&t&&(!t.children||!t.children[0])&&"list"===a.stack[a.stack.length-1]&&"listItem"===a.stack[a.stack.length-2]&&"list"===a.stack[a.stack.length-3]&&"listItem"===a.stack[a.stack.length-4]&&0===a.indexStack[a.indexStack.length-1]&&0===a.indexStack[a.indexStack.length-2]&&0===a.indexStack[a.indexStack.length-3]&&(l=!0),VQe(a)===i&&t){let t=-1;for(;++t<e.children.length;){let a=e.children[t];if(a&&"listItem"===a.type&&a.children&&a.children[0]&&"thematicBreak"===a.children[0].type){l=!0;break}}}}l&&(i=s),a.bulletCurrent=i;let c=a.containerFlow(e,r);return a.bulletLastUsed=i,a.bulletCurrent=o,n(),c}function qQe(e,t,a,r){let n=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(a),o=a.bulletCurrent||ZQe(a);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===a.options.incrementListMarker?0:t.children.indexOf(e))+o);let i=o.length+1;("tab"===n||"mixed"===n&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));let s=a.createTracker(r);s.move(o+" ".repeat(i-o.length)),s.shift(i);let l=a.enter("listItem"),c=a.indentLines(a.containerFlow(e,s.current()),function(e,t,a){return t?(a?"":" ".repeat(i))+e:(a?o:o+" ".repeat(i-o.length))+e});return l(),c}function FQe(e,t,a,r){let n=a.enter("paragraph"),o=a.enter("phrasing"),i=a.containerPhrasing(e,r);return o(),n(),i}function WQe(e,t,a,r){return(e.children.some(function(e){return hGe(e)})?a.containerPhrasing:a.containerFlow).call(a,e,r)}function XQe(e,t,a,r){let n=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(a),o=a.enter("strong"),i=a.createTracker(r),s=i.move(n+n);return s+=i.move(a.containerPhrasing(e,{before:s,after:n,...i.current()})),s+=i.move(n+n),o(),s}function GQe(e,t,a){return a.options.strong||"*"}function YQe(e,t,a,r){return a.safe(e.value,r)}function KQe(e,t,a){let r=(VQe(a)+(a.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(a));return a.options.ruleSpaces?r.slice(0,-1):r}function JQe(e,t,a,r){return("code"!==t.type||!bQe(t,r)||!("list"===e.type||e.type===t.type&&bQe(e,r)))&&("spread"in a&&"boolean"==typeof a.spread?"paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&EQe(t,r))?void 0:a.spread?1:0:void 0)}function eqe(e){return!!yGe.call(bGe,e)&&bGe[e]}function tqe(e,t){let a=Number.parseInt(e,t);return a<9||11===a||a>13&&a<32||a>126&&a<160||a>55295&&a<57344||a>64975&&a<65008||!(65535&~a)||65534==(65535&a)||a>1114111?"�":String.fromCodePoint(a)}function aqe(e){return e.replace(OGe,rqe)}function rqe(e,t,a){if(t)return t;if(35===a.charCodeAt(0)){let e=a.charCodeAt(1),t=120===e||88===e;return tqe(a.slice(t?2:1),t?16:10)}return eqe(a)||e}function nqe(e){return e.label||!e.identifier?e.label||"":aqe(e.identifier)}function oqe(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function iqe(e,t,a,r){let n=r.join.length;for(;n--;){let o=r.join[n](e,t,a,r);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}function sqe(e,t){let a,r=[],n=0,o=0;for(;a=xGe.exec(e);)i(e.slice(n,a.index)),r.push(a[0]),n=a.index+a[0].length,o++;return i(e.slice(n)),r.join("");function i(e){r.push(t(e,o,!e))}}function lqe(e,t){return e-t}function cqe(e,t){let a,r=/\\(?=[!-/:-@[-`{-~])/g,n=[],o=[],i=e+t,s=-1,l=0;for(;a=r.exec(i);)n.push(a.index);for(;++s<n.length;)l!==n[s]&&o.push(e.slice(l,n[s])),o.push("\\"),l=n[s];return o.push(e.slice(l)),o.join("")}function uqe(e){let t=e||{},a=t.now||{},r=t.lineShift||0,n=a.line||1,o=a.column||1;return{move:function(e){let t=e||"",a=t.split(/\r?\n|\r/g),i=a[a.length-1];return n+=a.length-1,o=1===a.length?o+i.length:1+i.length+r,t},current:function(){return{now:{line:n,column:o},lineShift:r}},shift:function(e){r+=e}}}function dqe(e,t={}){let a={enter:function(e){return a.stack.push(e),function(){a.stack.pop()}},indentLines:sqe,associationId:nqe,containerPhrasing:fqe,containerFlow:gqe,createTracker:uqe,compilePattern:oqe,safe:vqe,stack:[],unsafe:[...vGe],join:[...fGe],handlers:{...mGe},options:{},indexStack:[],handle:void 0};uQe(a,t),a.options.tightDefinitions&&a.join.push(mqe),a.handle=yLe("type",{invalid:pqe,unknown:hqe,handlers:a.handlers});let r=a.handle(e,void 0,a,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0});return r&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n"),r}function pqe(e){throw Error("Cannot handle value `"+e+"`, expected node")}function hqe(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function mqe(e,t){if("definition"===e.type&&e.type===t.type)return 0}function fqe(e,t){return function(e,t,a){let r=t.indexStack,n=e.children||[],o=[],i=-1,s=a.before;r.push(-1);let l=t.createTracker(a);for(;++i<n.length;){let c,u=n[i];if(r[r.length-1]=i,i+1<n.length){let a=t.handle.handlers[n[i+1].type];a&&a.peek&&(a=a.peek),c=a?a(n[i+1],e,t,{before:"",after:"",...l.current()}).charAt(0):""}else c=a.after;o.length>0&&("\r"===s||"\n"===s)&&"html"===u.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(a),l.move(o.join(""))),o.push(l.move(t.handle(u,e,t,{...l.current(),before:s,after:c}))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}(e,this,t)}function gqe(e,t){return function(e,t,a){let r=t.indexStack,n=e.children||[],o=t.createTracker(a),i=[],s=-1;for(r.push(-1);++s<n.length;){let a=n[s];r[r.length-1]=s,i.push(o.move(t.handle(a,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==a.type&&(t.bulletLastUsed=void 0),s<n.length-1&&i.push(o.move(iqe(a,n[s+1],e,t)))}return r.pop(),i.join("")}(e,this,t)}function vqe(e,t){return function(e,t,a){let r=(a.before||"")+(t||"")+(a.after||""),n=[],o=[],i={},s=-1;for(;++s<e.unsafe.length;){let t=e.unsafe[s];if(!fQe(e.stack,t))continue;let a,o=e.compilePattern(t);for(;a=o.exec(r);){let e="before"in t||!!t.atBreak,r="after"in t,o=a.index+(e?a[1].length:0);n.includes(o)?(i[o].before&&!e&&(i[o].before=!1),i[o].after&&!r&&(i[o].after=!1)):(n.push(o),i[o]={before:e,after:r})}}n.sort(lqe);let l=a.before?a.before.length:0,c=r.length-(a.after?a.after.length:0);for(s=-1;++s<n.length;){let e=n[s];e<l||e>=c||e+1<c&&n[s+1]===e+1&&i[e].after&&!i[e+1].before&&!i[e+1].after||n[s-1]===e-1&&i[e].before&&!i[e-1].before&&!i[e-1].after||(l!==e&&o.push(cqe(r.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||a.encode&&a.encode.includes(r.charAt(e))?(o.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),l++):o.push("\\"))}return o.push(cqe(r.slice(l,c),a.after)),o.join("")}(this,e,t)}function bqe(e){let t=e._align;this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function yqe(e){this.exit(e),this.data.inTable=void 0}function Oqe(e){this.enter({type:"tableRow",children:[]},e)}function xqe(e){this.exit(e)}function wqe(e){this.enter({type:"tableCell",children:[]},e)}function kqe(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Sqe));let a=this.stack[this.stack.length-1];a.type,a.value=t,this.exit(e)}function Sqe(e,t){return"|"===t?t:e}function Aqe(e){let t=e||{},a=t.tableCellPadding,r=t.tablePipeAlign,n=t.stringLength,o=a?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,a){let r=mGe.inlineCode(e,t,a);return a.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,a,r){return s(function(e,t,a){let r=e.children,n=-1,o=[],i=t.enter("table");for(;++n<r.length;)o[n]=l(r[n],t,a);return i(),o}(e,a,r),e.align)},tableCell:i,tableRow:function(e,t,a,r){let n=s([l(e,a,r)]);return n.slice(0,n.indexOf("\n"))}}};function i(e,t,a,r){let n=a.enter("tableCell"),i=a.enter("phrasing"),s=a.containerPhrasing(e,{...r,before:o,after:o});return i(),n(),s}function s(e,t){return function(e,t={}){let a=(t.align||[]).concat(),r=t.stringLength||lQe,n=[],o=[],i=[],s=[],l=0,c=-1;for(;++c<e.length;){let a=[],n=[],u=-1;for(e[c].length>l&&(l=e[c].length);++u<e[c].length;){let o=sQe(e[c][u]);if(!1!==t.alignDelimiters){let e=r(o);n[u]=e,(void 0===s[u]||e>s[u])&&(s[u]=e)}a.push(o)}o[c]=a,i[c]=n}let u=-1;if("object"==typeof a&&"length"in a)for(;++u<l;)n[u]=cQe(a[u]);else{let e=cQe(a);for(;++u<l;)n[u]=e}u=-1;let d=[],p=[];for(;++u<l;){let e=n[u],a="",r="";99===e?(a=":",r=":"):108===e?a=":":114===e&&(r=":");let o=!1===t.alignDelimiters?1:Math.max(1,s[u]-a.length-r.length),i=a+"-".repeat(o)+r;!1!==t.alignDelimiters&&(o=a.length+o+r.length,o>s[u]&&(s[u]=o),p[u]=o),d[u]=i}o.splice(1,0,d),i.splice(1,0,p),c=-1;let h=[];for(;++c<o.length;){let e=o[c],a=i[c];u=-1;let r=[];for(;++u<l;){let o=e[u]||"",i="",c="";if(!1!==t.alignDelimiters){let e=s[u]-(a[u]||0),t=n[u];114===t?i=" ".repeat(e):99===t?e%2?(i=" ".repeat(e/2+.5),c=" ".repeat(e/2-.5)):(i=" ".repeat(e/2),c=i):c=" ".repeat(e)}!1!==t.delimiterStart&&!u&&r.push("|"),!1!==t.padding&&!(!1===t.alignDelimiters&&""===o)&&(!1!==t.delimiterStart||u)&&r.push(" "),!1!==t.alignDelimiters&&r.push(i),r.push(o),!1!==t.alignDelimiters&&r.push(c),!1!==t.padding&&r.push(" "),(!1!==t.delimiterEnd||u!==l-1)&&r.push("|")}h.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return h.join("\n")}(e,{align:t,alignDelimiters:r,padding:a,stringLength:n})}function l(e,t,a){let r=e.children,n=-1,o=[],s=t.enter("tableRow");for(;++n<r.length;)o[n]=i(r[n],0,t,a);return s(),o}}function _qe(e){let t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function Tqe(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];e.type;let a=e.children[0];if(a&&"text"===a.type){let r,n=t.children,o=-1;for(;++o<n.length;){let e=n[o];if("paragraph"===e.type){r=e;break}}r===e&&(a.value=a.value.slice(1),0===a.value.length?e.children.shift():e.position&&a.position&&"number"==typeof a.position.start.offset&&(a.position.start.column++,a.position.start.offset++,e.position.start=Object.assign({},a.position.start)))}}this.exit(e)}function Eqe(e,t,a,r){let n=e.children[0],o="boolean"==typeof e.checked&&n&&"paragraph"===n.type,i="["+(e.checked?"x":" ")+"] ",s=a.createTracker(r);o&&s.move(i);let l=mGe.listItem(e,t,a,{...r,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+i})),l}function Cqe(e,t,a,r){let n,o=e.length,i=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,a=a>0?a:0,r.length<1e4)n=Array.from(r),n.unshift(t,a),e.splice(...n);else for(a&&e.splice(t,a);i<r.length;)n=r.slice(i,i+1e4),n.unshift(t,0),e.splice(...n),i+=1e4,t+=1e4}function Pqe(e,t){return e.length>0?(Cqe(e,e.length,0,t),e):t}function Mqe(e){let t={},a=-1;for(;++a<e.length;)$qe(t,e[a]);return t}function $qe(e,t){let a;for(a in t){let r,n=(wGe.call(e,a)?e[a]:void 0)||(e[a]={}),o=t[a];if(o)for(r in o){wGe.call(n,r)||(n[r]=[]);let e=o[r];Nqe(n[r],Array.isArray(e)?e:e?[e]:[])}}}function Nqe(e,t){let a=-1,r=[];for(;++a<t.length;)("after"===t[a].add?e:r).push(t[a]);Cqe(e,0,0,r)}function Iqe(e,t,a){let r,n,o=this;return function(t){return Qqe(t)&&Vqe.call(o,o.previous)&&!qqe(o.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),i(t)):a(t)};function i(t){return Qqe(t)?(e.consume(t),i):64===t?(e.consume(t),s):a(t)}function s(t){return 46===t?e.check(TGe,c,l)(t):45===t||95===t||tGe(t)?(n=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),r=!0,s}function c(i){return n&&r&&eGe(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(i)):a(i)}}function Rqe(e,t,a){let r=this;return function(t){return 87!==t&&119!==t||!Hqe.call(r,r.previous)||qqe(r.events)?a(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(kGe,e.attempt(SGe,e.attempt(AGe,n),a),a)(t))};function n(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function Dqe(e,t,a){let r=this,n="",o=!1;return function(t){return 72!==t&&104!==t||!Zqe.call(r,r.previous)||qqe(r.events)?a(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),n+=String.fromCodePoint(t),e.consume(t),i)};function i(t){if(eGe(t)&&n.length<5)return n+=String.fromCodePoint(t),e.consume(t),i;if(58===t){let a=n.toLowerCase();if("http"===a||"https"===a)return e.consume(t),s}return a(t)}function s(t){return 47===t?(e.consume(t),o?l:(o=!0,s)):a(t)}function l(t){return null===t||_Ve(t)||EVe(t)||sGe(t)||iGe(t)?a(t):e.attempt(SGe,e.attempt(AGe,c),a)(t)}function c(a){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(a)}}function Lqe(e,t,a){let r=0;return function t(o){return(87===o||119===o)&&r<3?(r++,e.consume(o),t):46===o&&3===r?(e.consume(o),n):a(o)};function n(e){return null===e?a(e):t(e)}}function Bqe(e,t,a){let r,n,o;return i;function i(t){return 46===t||95===t?e.check(_Ge,l,s)(t):null===t||EVe(t)||sGe(t)||45!==t&&iGe(t)?l(t):(o=!0,e.consume(t),i)}function s(t){return 95===t?r=!0:(n=r,r=void 0),e.consume(t),i}function l(e){return n||r||!o?a(e):t(e)}}function jqe(e,t){let a=0,r=0;return n;function n(i){return 40===i?(a++,e.consume(i),n):41===i&&r<a?o(i):33===i||34===i||38===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||60===i||63===i||93===i||95===i||126===i?e.check(_Ge,t,o)(i):null===i||EVe(i)||sGe(i)?t(i):(e.consume(i),n)}function o(t){return 41===t&&r++,e.consume(t),n}}function Uqe(e,t,a){return r;function r(i){return 33===i||34===i||39===i||41===i||42===i||44===i||46===i||58===i||59===i||63===i||95===i||126===i?(e.consume(i),r):38===i?(e.consume(i),o):93===i?(e.consume(i),n):60===i||null===i||EVe(i)||sGe(i)?t(i):a(i)}function n(e){return null===e||40===e||91===e||EVe(e)||sGe(e)?t(e):r(e)}function o(e){return eGe(e)?i(e):a(e)}function i(t){return 59===t?(e.consume(t),r):eGe(t)?(e.consume(t),i):a(t)}}function zqe(e,t,a){return function(t){return e.consume(t),r};function r(e){return tGe(e)?a(e):t(e)}}function Hqe(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||EVe(e)}function Zqe(e){return!eGe(e)}function Vqe(e){return!(47===e||Qqe(e))}function Qqe(e){return 43===e||45===e||46===e||95===e||tGe(e)}function qqe(e){let t=e.length,a=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){a=!0;break}if(r._gfmAutolinkLiteralWalkedInto){a=!1;break}}return e.length>0&&!a&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),a}function Fqe(e){let t=[],a=-1,r=0,n=0;for(;++a<e.length;){let o=e.charCodeAt(a),i="";if(37===o&&tGe(e.charCodeAt(a+1))&&tGe(e.charCodeAt(a+2)))n=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(i=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(a+1);o<56320&&t>56319&&t<57344?(i=String.fromCharCode(o,t),n=1):i="�"}else i=String.fromCharCode(o);i&&=(t.push(e.slice(r,a),encodeURIComponent(i)),r=a+n+1,""),n&&=(a+=n,0)}return t.join("")+e.slice(r)}function Wqe(e){return null===e||EVe(e)||sGe(e)?1:iGe(e)?2:void 0}function Xqe(e,t,a){let r=[],n=-1;for(;++n<e.length;){let o=e[n].resolveAll;o&&!r.includes(o)&&(t=o(t,a),r.push(o))}return t}function Gqe(e,t){let a,r,n,o,i,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close)for(a=u;a--;)if("exit"===e[a][0]&&"attentionSequence"===e[a][1].type&&e[a][1]._open&&t.sliceSerialize(e[a][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[a][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[a][1].end.offset-e[a][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[a][1].end.offset-e[a][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d=Object.assign({},e[a][1].end),p=Object.assign({},e[u][1].start);Kqe(d,-s),Kqe(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[a][1].end)},i={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},n={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[a][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},i.end)},e[a][1].end=Object.assign({},o.start),e[u][1].start=Object.assign({},i.end),l=[],e[a][1].end.offset-e[a][1].start.offset&&(l=Pqe(l,[["enter",e[a][1],t],["exit",e[a][1],t]])),l=Pqe(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",n,t]]),l=Pqe(l,Xqe(t.parser.constructs.insideSpan.null,e.slice(a+1,u),t)),l=Pqe(l,[["exit",n,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=Pqe(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,Cqe(e,a-1,u-a+3,l),u=a+l.length-c-2;break}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e}function Yqe(e,t){let a,r=this.parser.constructs.attentionMarkers.null,n=this.previous,o=Wqe(n);return function(t){return a=t,e.enter("attentionSequence"),i(t)};function i(s){if(s===a)return e.consume(s),i;let l=e.exit("attentionSequence"),c=Wqe(s),u=!c||2===c&&o||r.includes(s),d=!o||2===o&&c||r.includes(n);return l._open=!!(42===a?u:u&&(o||!d)),l._close=!!(42===a?d:d&&(c||!u)),t(s)}}function Kqe(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}function Jqe(e,t,a){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),n};function n(t){return eGe(t)?(e.consume(t),o):64===t?a(t):l(t)}function o(e){return 43===e||45===e||46===e||tGe(e)?(r=1,i(e)):l(e)}function i(t){return 58===t?(e.consume(t),r=0,s):(43===t||45===t||46===t||tGe(t))&&r++<32?(e.consume(t),i):(r=0,l(t))}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||_Ve(r)?a(r):(e.consume(r),s)}function l(t){return 64===t?(e.consume(t),c):aGe(t)?(e.consume(t),l):a(t)}function c(e){return tGe(e)?u(e):a(e)}function u(a){return 46===a?(e.consume(a),r=0,c):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):d(a)}function d(t){if((45===t||tGe(t))&&r++<63){let a=45===t?d:u;return e.consume(t),a}return a(t)}}function eFe(e,t,a,r){let n=r?r-1:1/0,o=0;return function(r){return CVe(r)?(e.enter(a),i(r)):t(r)};function i(r){return CVe(r)&&o++<n?(e.consume(r),i):(e.exit(a),t(r))}}function tFe(e,t,a){return function(t){return CVe(t)?eFe(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||TVe(e)?t(e):a(e)}}function aFe(e,t,a){let r=this;return function(t){if(62===t){let a=r.containerState;return a.open||=(e.enter("blockQuote",{_container:!0}),!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),n}return a(t)};function n(a){return CVe(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function rFe(e,t,a){let r=this;return function(t){return CVe(t)?eFe(e,n,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):n(t)};function n(r){return e.attempt(DGe,t,a)(r)}}function nFe(e){e.exit("blockQuote")}function oFe(e,t,a){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return oGe(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):a(r)}}function iFe(e,t,a){let r,n,o=this,i=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,n=tGe,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,n=nGe,c):(e.enter("characterReferenceValue"),r=7,n=rGe,c(t))}function c(s){if(59===s&&i){let r=e.exit("characterReferenceValue");return n!==tGe||eqe(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):a(s)}return n(s)&&i++<r?(e.consume(s),c):a(s)}}function sFe(e,t,a){let r,n=this,o={tokenize:function(e,t,a){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i};function i(t){return e.enter("codeFencedFence"),CVe(t)?eFe(e,l,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),c(t)):a(t)}function c(t){return t===r?(o++,e.consume(t),c):o>=s?(e.exit("codeFencedFenceSequence"),CVe(t)?eFe(e,u,"whitespace")(t):u(t)):a(t)}function u(r){return null===r||TVe(r)?(e.exit("codeFencedFence"),t(r)):a(r)}},partial:!0},i=0,s=0;return function(e){return l(e)};function l(t){let a=n.events[n.events.length-1];return i=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(t)}function c(t){return t===r?(s++,e.consume(t),c):s<3?a(t):(e.exit("codeFencedFenceSequence"),CVe(t)?eFe(e,u,"whitespace")(t):u(t))}function u(a){return null===a||TVe(a)?(e.exit("codeFencedFence"),n.interrupt?t(a):e.check(jGe,m,y)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(a))}function d(t){return null===t||TVe(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(t)):CVe(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),eFe(e,p,"whitespace")(t)):96===t&&t===r?a(t):(e.consume(t),d)}function p(t){return null===t||TVe(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||TVe(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(t)):96===t&&t===r?a(t):(e.consume(t),h)}function m(t){return e.attempt(o,y,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),g}function g(t){return i>0&&CVe(t)?eFe(e,v,"linePrefix",i+1)(t):v(t)}function v(t){return null===t||TVe(t)?e.check(jGe,m,y)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||TVe(t)?(e.exit("codeFlowValue"),v(t)):(e.consume(t),b)}function y(a){return e.exit("codeFenced"),t(a)}}function lFe(e,t,a){let r=this;return function(t){return null===t?a(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),n)};function n(e){return r.parser.lazy[r.now().line]?a(e):t(e)}}function cFe(e,t,a){let r=this;return function(t){return e.enter("codeIndented"),eFe(e,n,"linePrefix",5)(t)};function n(e){let t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):a(e)}function o(t){return null===t?s(t):TVe(t)?e.attempt(HGe,o,s)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||TVe(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),i)}function s(a){return e.exit("codeIndented"),t(a)}}function uFe(e,t,a){let r=this;return n;function n(t){return r.parser.lazy[r.now().line]?a(t):TVe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),n):eFe(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):TVe(e)?n(e):a(e)}}function dFe(e){let t,a,r=e.length-4,n=3;if(!("lineEnding"!==e[n][1].type&&"space"!==e[n][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=n;++t<r;)if("codeTextData"===e[t][1].type){e[n][1].type="codeTextPadding",e[r][1].type="codeTextPadding",n+=2,r-=2;break}for(t=n-1,r++;++t<=r;)void 0===a?t!==r&&"lineEnding"!==e[t][1].type&&(a=t):(t===r||"lineEnding"===e[t][1].type)&&(e[a][1].type="codeTextData",t!==a+2&&(e[a][1].end=e[t-1][1].end,e.splice(a+2,t-a-2),r-=t-a-2,t=a+2),a=void 0);return e}function pFe(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}function hFe(e,t,a){let r,n,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),i(t)};function i(t){return 96===t?(e.consume(t),o++,i):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?a(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(n=e.enter("codeTextSequence"),r=0,c(t)):TVe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||TVe(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(a){return 96===a?(e.consume(a),r++,c):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(a)):(n.type="codeTextData",l(a))}}function mFe(e,t){let a=0;if(t.length<1e4)e.push(...t);else for(;a<t.length;)e.push(...t.slice(a,a+1e4)),a+=1e4}function fFe(e){let t,a,r,n,o,i,s,l={},c=-1,u=new VGe(e);for(;++c<u.length;){for(;c in l;)c=l[c];if(t=u.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&(i=t[1]._tokenizer.events,r=0,r<i.length&&"lineEndingBlank"===i[r][1].type&&(r+=2),r<i.length&&"content"===i[r][1].type))for(;++r<i.length&&"content"!==i[r][1].type;)"chunkText"===i[r][1].type&&(i[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,gFe(u,c)),c=l[c],s=!0);else if(t[1]._container){for(r=c,a=void 0;r--&&(n=u.get(r),"lineEnding"===n[1].type||"lineEndingBlank"===n[1].type);)"enter"===n[0]&&(a&&(u.get(a)[1].type="lineEndingBlank"),n[1].type="lineEnding",a=r);a&&(t[1].end=Object.assign({},u.get(a)[1].start),o=u.slice(a,c),o.unshift(t),u.splice(a,c-a+1,o))}}return Cqe(e,0,1/0,u.slice(0)),!s}function gFe(e,t){let a,r,n=e.get(t)[1],o=e.get(t)[2],i=t-1,s=[],l=n._tokenizer||o.parser[n.contentType](n.start),c=l.events,u=[],d={},p=-1,h=n,m=0,f=0,g=[f];for(;h;){for(;e.get(++i)[1]!==h;);s.push(i),h._tokenizer||(a=o.sliceStream(h),h.next||a.push(null),r&&l.defineSkip(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(a),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=h,h=h.next}for(h=n;++p<c.length;)"exit"===c[p][0]&&"enter"===c[p-1][0]&&c[p][1].type===c[p-1][1].type&&c[p][1].start.line!==c[p][1].end.line&&(f=p+1,g.push(f),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),p=g.length;p--;){let t=c.slice(g[p],g[p+1]),a=s.pop();u.push([a,a+t.length-1]),e.splice(a,2,t)}for(u.reverse(),p=-1;++p<u.length;)d[m+u[p][0]]=m+u[p][1],m+=u[p][1]-u[p][0]-1;return d}function vFe(e){return fFe(e),e}function bFe(e,t){let a;return function(t){return e.enter("content"),a=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?n(t):TVe(t)?e.check(qGe,o,n)(t):(e.consume(t),r)}function n(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function o(t){return e.consume(t),e.exit("chunkContent"),a.next=e.enter("chunkContent",{contentType:"content",previous:a}),a=a.next,r}}function yFe(e,t,a){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eFe(e,n,"linePrefix")};function n(n){if(null===n||TVe(n))return a(n);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(n):e.interrupt(r.parser.constructs.flow,a,t)(n)}}function OFe(e,t,a,r,n,o,i,s,l){let c=l||1/0,u=0;return function(t){return 60===t?(e.enter(r),e.enter(n),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||_Ve(t)?a(t):(e.enter(r),e.enter(i),e.enter(s),e.enter("chunkString",{contentType:"string"}),m(t))};function d(a){return 62===a?(e.enter(o),e.consume(a),e.exit(o),e.exit(n),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(a))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||TVe(t)?a(t):(e.consume(t),92===t?h:p)}function h(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function m(n){return u||null!==n&&41!==n&&!EVe(n)?u<c&&40===n?(e.consume(n),u++,m):41===n?(e.consume(n),u--,m):null===n||32===n||40===n||_Ve(n)?a(n):(e.consume(n),92===n?f:m):(e.exit("chunkString"),e.exit(s),e.exit(i),e.exit(r),t(n))}function f(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function xFe(e,t,a,r,n,o){let i,s=this,l=0;return function(t){return e.enter(r),e.enter(n),e.consume(t),e.exit(n),e.enter(o),c};function c(d){return l>999||null===d||91===d||93===d&&!i||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?a(d):93===d?(e.exit(o),e.enter(n),e.consume(d),e.exit(n),e.exit(r),t):TVe(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||TVe(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),i||=!CVe(t),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function wFe(e,t,a,r,n,o){let i;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(n),e.consume(t),e.exit(n),i=40===t?41:t,s):a(t)};function s(a){return a===i?(e.enter(n),e.consume(a),e.exit(n),e.exit(r),t):(e.enter(o),l(a))}function l(t){return t===i?(e.exit(o),s(i)):null===t?a(t):TVe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eFe(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||TVe(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===i||92===t?(e.consume(t),c):c(t)}}function kFe(e,t){let a;return function r(n){return TVe(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),a=!0,r):CVe(n)?eFe(e,r,a?"linePrefix":"lineSuffix")(n):t(n)}}function SFe(e,t,a){let r,n=this;return function(t){return e.enter("definition"),function(t){return xFe.call(n,e,o,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return r=VVe(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):a(t)}function i(t){return EVe(t)?kFe(e,s)(t):s(t)}function s(t){return OFe(e,l,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(WGe,c,c)(t)}function c(t){return CVe(t)?eFe(e,u,"whitespace")(t):u(t)}function u(o){return null===o||TVe(o)?(e.exit("definition"),n.parser.defined.push(r),t(o)):a(o)}}function AFe(e,t,a){return function(t){return EVe(t)?kFe(e,r)(t):a(t)};function r(t){return wFe(e,n,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function n(t){return CVe(t)?eFe(e,o,"whitespace")(t):o(t)}function o(e){return null===e||TVe(e)?t(e):a(e)}}function _Fe(e,t,a){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return TVe(r)?(e.exit("hardBreakEscape"),t(r)):a(r)}}function TFe(e,t){let a,r,n=e.length-2,o=3;return"whitespace"===e[o][1].type&&(o+=2),n-2>o&&"whitespace"===e[n][1].type&&(n-=2),"atxHeadingSequence"===e[n][1].type&&(o===n-1||n-4>o&&"whitespace"===e[n-2][1].type)&&(n-=o+1===n?2:4),n>o&&(a={type:"atxHeadingText",start:e[o][1].start,end:e[n][1].end},r={type:"chunkText",start:e[o][1].start,end:e[n][1].end,contentType:"text"},Cqe(e,o,n-o+1,[["enter",a,t],["enter",r,t],["exit",r,t],["exit",a,t]])),e}function EFe(e,t,a){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),n(t)}(t)};function n(t){return 35===t&&r++<6?(e.consume(t),n):null===t||EVe(t)?(e.exit("atxHeadingSequence"),o(t)):a(t)}function o(a){return 35===a?(e.enter("atxHeadingSequence"),i(a)):null===a||TVe(a)?(e.exit("atxHeading"),t(a)):CVe(a)?eFe(e,o,"whitespace")(a):(e.enter("atxHeadingText"),s(a))}function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),o(t))}function s(t){return null===t||35===t||EVe(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}}function CFe(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function PFe(e,t,a){let r,n,o,i,s,l=this;return function(e){return c(e)};function c(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u}function u(i){return 33===i?(e.consume(i),d):47===i?(e.consume(i),n=!0,m):63===i?(e.consume(i),r=3,l.interrupt?t:R):eGe(i)?(e.consume(i),o=String.fromCharCode(i),f):a(i)}function d(n){return 45===n?(e.consume(n),r=2,p):91===n?(e.consume(n),r=5,i=0,h):eGe(n)?(e.consume(n),r=4,l.interrupt?t:R):a(n)}function p(r){return 45===r?(e.consume(r),l.interrupt?t:R):a(r)}function h(r){return r==="CDATA[".charCodeAt(i++)?(e.consume(r),6===i?l.interrupt?t:T:h):a(r)}function m(t){return eGe(t)?(e.consume(t),o=String.fromCharCode(t),f):a(t)}function f(i){if(null===i||47===i||62===i||EVe(i)){let s=47===i,c=o.toLowerCase();return s||n||!KGe.includes(c)?YGe.includes(o.toLowerCase())?(r=6,s?(e.consume(i),g):l.interrupt?t(i):T(i)):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?a(i):n?v(i):b(i)):(r=1,l.interrupt?t(i):T(i))}return 45===i||tGe(i)?(e.consume(i),o+=String.fromCharCode(i),f):a(i)}function g(r){return 62===r?(e.consume(r),l.interrupt?t:T):a(r)}function v(t){return CVe(t)?(e.consume(t),v):A(t)}function b(t){return 47===t?(e.consume(t),A):58===t||95===t||eGe(t)?(e.consume(t),y):CVe(t)?(e.consume(t),b):A(t)}function y(t){return 45===t||46===t||58===t||95===t||tGe(t)?(e.consume(t),y):O(t)}function O(t){return 61===t?(e.consume(t),x):CVe(t)?(e.consume(t),O):b(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?a(t):34===t||39===t?(e.consume(t),s=t,w):CVe(t)?(e.consume(t),x):k(t)}function w(t){return t===s?(e.consume(t),s=null,S):null===t||TVe(t)?a(t):(e.consume(t),w)}function k(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||EVe(t)?O(t):(e.consume(t),k)}function S(e){return 47===e||62===e||CVe(e)?b(e):a(e)}function A(t){return 62===t?(e.consume(t),_):a(t)}function _(t){return null===t||TVe(t)?T(t):CVe(t)?(e.consume(t),_):a(t)}function T(t){return 45===t&&2===r?(e.consume(t),M):60===t&&1===r?(e.consume(t),$):62===t&&4===r?(e.consume(t),D):63===t&&3===r?(e.consume(t),R):93===t&&5===r?(e.consume(t),I):!TVe(t)||6!==r&&7!==r?null===t||TVe(t)?(e.exit("htmlFlowData"),E(t)):(e.consume(t),T):(e.exit("htmlFlowData"),e.check(eYe,L,E)(t))}function E(t){return e.check(tYe,C,L)(t)}function C(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return null===t||TVe(t)?E(t):(e.enter("htmlFlowData"),T(t))}function M(t){return 45===t?(e.consume(t),R):T(t)}function $(t){return 47===t?(e.consume(t),o="",N):T(t)}function N(t){if(62===t){let a=o.toLowerCase();return KGe.includes(a)?(e.consume(t),D):T(t)}return eGe(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),N):T(t)}function I(t){return 93===t?(e.consume(t),R):T(t)}function R(t){return 62===t?(e.consume(t),D):45===t&&2===r?(e.consume(t),R):T(t)}function D(t){return null===t||TVe(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),D)}function L(a){return e.exit("htmlFlow"),t(a)}}function MFe(e,t,a){let r=this;return function(t){return TVe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),n):a(t)};function n(e){return r.parser.lazy[r.now().line]?a(e):t(e)}}function $Fe(e,t,a){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(RGe,t,a)}}function NFe(e,t,a){let r,n,o,i=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),O):63===t?(e.consume(t),b):eGe(t)?(e.consume(t),k):a(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),n=0,h):eGe(t)?(e.consume(t),v):a(t)}function c(t){return 45===t?(e.consume(t),p):a(t)}function u(t){return null===t?a(t):45===t?(e.consume(t),d):TVe(t)?(o=u,$(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?M(e):45===e?d(e):u(e)}function h(t){return t==="CDATA[".charCodeAt(n++)?(e.consume(t),6===n?m:h):a(t)}function m(t){return null===t?a(t):93===t?(e.consume(t),f):TVe(t)?(o=m,$(t)):(e.consume(t),m)}function f(t){return 93===t?(e.consume(t),g):m(t)}function g(t){return 62===t?M(t):93===t?(e.consume(t),g):m(t)}function v(t){return null===t||62===t?M(t):TVe(t)?(o=v,$(t)):(e.consume(t),v)}function b(t){return null===t?a(t):63===t?(e.consume(t),y):TVe(t)?(o=b,$(t)):(e.consume(t),b)}function y(e){return 62===e?M(e):b(e)}function O(t){return eGe(t)?(e.consume(t),x):a(t)}function x(t){return 45===t||tGe(t)?(e.consume(t),x):w(t)}function w(t){return TVe(t)?(o=w,$(t)):CVe(t)?(e.consume(t),w):M(t)}function k(t){return 45===t||tGe(t)?(e.consume(t),k):47===t||62===t||EVe(t)?S(t):a(t)}function S(t){return 47===t?(e.consume(t),M):58===t||95===t||eGe(t)?(e.consume(t),A):TVe(t)?(o=S,$(t)):CVe(t)?(e.consume(t),S):M(t)}function A(t){return 45===t||46===t||58===t||95===t||tGe(t)?(e.consume(t),A):_(t)}function _(t){return 61===t?(e.consume(t),T):TVe(t)?(o=_,$(t)):CVe(t)?(e.consume(t),_):S(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?a(t):34===t||39===t?(e.consume(t),r=t,E):TVe(t)?(o=T,$(t)):CVe(t)?(e.consume(t),T):(e.consume(t),C)}function E(t){return t===r?(e.consume(t),r=void 0,P):null===t?a(t):TVe(t)?(o=E,$(t)):(e.consume(t),E)}function C(t){return null===t||34===t||39===t||60===t||61===t||96===t?a(t):47===t||62===t||EVe(t)?S(t):(e.consume(t),C)}function P(e){return 47===e||62===e||EVe(e)?S(e):a(e)}function M(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):a(r)}function $(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return CVe(t)?eFe(e,I,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),o(t)}}function IFe(e){let t=-1;for(;++t<e.length;){let a=e[t][1];("labelImage"===a.type||"labelLink"===a.type||"labelEnd"===a.type)&&(e.splice(t+1,"labelImage"===a.type?4:2),a.type="data",t++)}return e}function RFe(e,t){let a,r,n,o,i=e.length,s=0;for(;i--;)if(a=e[i][1],r){if("link"===a.type||"labelLink"===a.type&&a._inactive)break;"enter"===e[i][0]&&"labelLink"===a.type&&(a._inactive=!0)}else if(n){if("enter"===e[i][0]&&("labelImage"===a.type||"labelLink"===a.type)&&!a._balanced&&(r=i,"labelLink"!==a.type)){s=2;break}}else"labelEnd"===a.type&&(n=i);let l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},u={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[n-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=Pqe(o,e.slice(r+1,r+s+3)),o=Pqe(o,[["enter",u,t]]),o=Pqe(o,Xqe(t.parser.constructs.insideSpan.null,e.slice(r+s+4,n-3),t)),o=Pqe(o,[["exit",u,t],e[n-2],e[n-1],["exit",c,t]]),o=Pqe(o,e.slice(n+1)),o=Pqe(o,[["exit",l,t]]),Cqe(e,r,e.length,o),e}function DFe(e,t,a){let r,n,o=this,i=o.events.length;for(;i--;)if(("labelImage"===o.events[i][1].type||"labelLink"===o.events[i][1].type)&&!o.events[i][1]._balanced){r=o.events[i][1];break}return function(t){return r?r._inactive?u(t):(n=o.parser.defined.includes(VVe(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):a(t)};function s(t){return 40===t?e.attempt(nYe,c,n?c:u)(t):91===t?e.attempt(oYe,c,n?l:u)(t):n?c(t):u(t)}function l(t){return e.attempt(iYe,c,u)(t)}function c(e){return t(e)}function u(e){return r._balanced=!0,a(e)}}function LFe(e,t,a){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return EVe(t)?kFe(e,n)(t):n(t)}function n(t){return 41===t?c(t):OFe(e,o,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return EVe(t)?kFe(e,s)(t):c(t)}function i(e){return a(e)}function s(t){return 34===t||39===t||40===t?wFe(e,l,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return EVe(t)?kFe(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):a(r)}}function BFe(e,t,a){let r=this;return function(t){return xFe.call(r,e,n,o,"reference","referenceMarker","referenceString")(t)};function n(e){return r.parser.defined.includes(VVe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):a(e)}function o(e){return a(e)}}function jFe(e,t,a){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):a(r)}}function UFe(e,t,a){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),n};function n(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):a(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?a(e):t(e)}}function zFe(e,t,a){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),n};function n(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?a(e):t(e)}}function HFe(e,t){return function(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),eFe(e,t,"linePrefix")}}function ZFe(e,t,a){let r,n=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,o(e)}(t)};function o(o){return o===r?(e.enter("thematicBreakSequence"),i(o)):n>=3&&(null===o||TVe(o))?(e.exit("thematicBreak"),t(o)):a(o)}function i(t){return t===r?(e.consume(t),n++,i):(e.exit("thematicBreakSequence"),CVe(t)?eFe(e,o,"whitespace")(t):o(t))}}function VFe(e,t,a){let r=this,n=r.events[r.events.length-1],o=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=0;return function(t){let n=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===n?!r.containerState.marker||t===r.containerState.marker:rGe(t)){if(r.containerState.type||(r.containerState.type=n,e.enter(n,{_container:!0})),"listUnordered"===n)return e.enter("listItemPrefix"),42===t||45===t?e.check(uYe,a,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return a(t)};function s(t){return rGe(t)&&++i<10?(e.consume(t),s):(!r.interrupt||i<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):a(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(RGe,r.interrupt?a:c,e.attempt(pYe,d,u))}function c(e){return r.containerState.initialBlankLine=!0,o++,d(e)}function u(t){return CVe(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):a(t)}function d(a){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(a)}}function QFe(e,t,a){let r=this;return r.containerState._closeFlow=void 0,e.check(RGe,function(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,eFe(e,t,"listItemIndent",r.containerState.size+1)(a)},function(a){return r.containerState.furtherBlankLines||!CVe(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,n(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(hYe,t,n)(a))});function n(n){return r.containerState._closeFlow=!0,r.interrupt=void 0,eFe(e,e.attempt(dYe,t,a),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n)}}function qFe(e,t,a){let r=this;return eFe(e,function(e){let n=r.events[r.events.length-1];return n&&"listItemIndent"===n[1].type&&n[2].sliceSerialize(n[1],!0).length===r.containerState.size?t(e):a(e)},"listItemIndent",r.containerState.size+1)}function FFe(e){e.exit(this.containerState.type)}function WFe(e,t,a){let r=this;return eFe(e,function(e){let n=r.events[r.events.length-1];return!CVe(e)&&n&&"listItemPrefixWhitespace"===n[1].type?t(e):a(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}function XFe(e,t){let a,r,n,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){a=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),!n&&"definition"===e[o][1].type&&(n=o);let i={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",n?(e.splice(r,0,["enter",i,t]),e.splice(n+1,0,["exit",e[a][1],t]),e[a][1].end=Object.assign({},e[n][1].end)):e[a][1]=i,e.push(["exit",i,t]),e}function GFe(e,t,a){let r,n=this;return function(t){let i,s=n.events.length;for(;s--;)if("lineEnding"!==n.events[s][1].type&&"linePrefix"!==n.events[s][1].type&&"content"!==n.events[s][1].type){i="paragraph"===n.events[s][1].type;break}return n.parser.lazy[n.now().line]||!n.interrupt&&!i?a(t):(e.enter("setextHeadingLine"),r=t,o(t))};function o(t){return e.enter("setextHeadingLineSequence"),i(t)}function i(t){return t===r?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),CVe(t)?eFe(e,s,"lineSuffix")(t):s(t))}function s(r){return null===r||TVe(r)?(e.exit("setextHeadingLine"),t(r)):a(r)}}function YFe(e,t,a){let r,n=this,o=n.events.length,i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);for(;o--;){let e=n.events[o][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(o){if(!r||!r._balanced)return a(o);let s=VVe(n.sliceSerialize({start:r.end,end:n.now()}));return 94===s.codePointAt(0)&&i.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)):a(o)}}function KFe(e,t){let a=e.length;for(;a--;)if("labelImage"===e[a][1].type&&"enter"===e[a][0]){e[a][1];break}e[a+1][1].type="data",e[a+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[a+3][1].start),end:Object.assign({},e[e.length-1][1].end)},n={type:"gfmFootnoteCallMarker",start:Object.assign({},e[a+3][1].end),end:Object.assign({},e[a+3][1].end)};n.end.column++,n.end.offset++,n.end._bufferIndex++;let o={type:"gfmFootnoteCallString",start:Object.assign({},n.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[a+1],e[a+2],["enter",r,t],e[a+3],e[a+4],["enter",n,t],["exit",n,t],["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(a,e.length-a+1,...s),e}function JFe(e,t,a){let r,n=this,o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]),i=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l):a(t)}function l(s){if(i>999||93===s&&!r||null===s||91===s||EVe(s))return a(s);if(93===s){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes(VVe(n.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):a(s)}return EVe(s)||(r=!0),i++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),i++,l):l(t)}}function eWe(e,t,a){let r,n,o=this,i=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):a(t)}function c(t){if(s>999||93===t&&!n||null===t||91===t||EVe(t))return a(t);if(93===t){e.exit("chunkString");let a=e.exit("gfmFootnoteDefinitionLabelString");return r=VVe(o.sliceSerialize(a)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return EVe(t)||(n=!0),s++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i.includes(r)||i.push(r),eFe(e,p,"gfmFootnoteDefinitionWhitespace")):a(t)}function p(e){return t(e)}}function tWe(e,t,a){return e.check(RGe,t,e.attempt(fYe,t,a))}function aWe(e){e.exit("gfmFootnoteDefinition")}function rWe(e,t,a){let r=this;return eFe(e,function(e){let n=r.events[r.events.length-1];return n&&"gfmFootnoteDefinitionIndent"===n[1].type&&4===n[2].sliceSerialize(n[1],!0).length?t(e):a(e)},"gfmFootnoteDefinitionIndent",5)}function nWe(e){let t=(e||{}).singleTilde,a={tokenize:function(e,a,r){let n=this.previous,o=this.events,i=0;return function(t){return 126===n&&"characterEscape"!==o[o.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),s(t))};function s(o){let l=Wqe(n);if(126===o)return i>1?r(o):(e.consume(o),i++,s);if(i<2&&!t)return r(o);let c=e.exit("strikethroughSequenceTemporary"),u=Wqe(o);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,a(o)}},resolveAll:function(e,t){let a=-1;for(;++a<e.length;)if("enter"===e[a][0]&&"strikethroughSequenceTemporary"===e[a][1].type&&e[a][1]._close){let r=a;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[a][1].end.offset-e[a][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[a][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let n={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[a][1].end)},o={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[a][1].start)},i=[["enter",n,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",o,t]],s=t.parser.constructs.insideSpan.null;s&&Cqe(i,i.length,0,Xqe(s,e.slice(r+1,a),t)),Cqe(i,i.length,0,[["exit",o,t],["enter",e[a][1],t],["exit",e[a][1],t],["exit",n,t]]),Cqe(e,r-1,a-r+3,i),a=r+i.length-2;break}}for(a=-1;++a<e.length;)"strikethroughSequenceTemporary"===e[a][1].type&&(e[a][1].type="data");return e}};return t??=!0,{text:{126:a},insideSpan:{null:[a]},attentionMarkers:{null:[126]}}}function oWe(e,t){let a=!1,r=[];for(;t<e.length;){let n=e[t];if(a){if("enter"===n[0])"tableContent"===n[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===n[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===n[1].type)break}else"enter"===n[0]&&"tableDelimiterRow"===n[1].type&&(a=!0);t+=1}return r}function iWe(e,t,a){let r,n=this,o=0,i=0;return function(e){let t=n.events.length-1;for(;t>-1;){let e=n.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}let r=t>-1?n.events[t][1].type:null,o="tableHead"===r||"tableRow"===r?O:s;return o===O&&n.parser.lazy[n.now().line]?a(e):o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(r=!0,i+=1),l(e)}(t)}function l(t){return null===t?a(t):TVe(t)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):a(t):CVe(t)?eFe(e,l,"whitespace")(t):(i+=1,r&&(r=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||EVe(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function d(t){return n.interrupt=!1,n.parser.lazy[n.now().line]?a(t):(e.enter("tableDelimiterRow"),r=!1,CVe(t)?eFe(e,p,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):y(t)}function h(t){return CVe(t)?eFe(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(i+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),f):45===t?(i+=1,f(t)):null===t||TVe(t)?b(t):y(t)}function f(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):y(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}function v(t){return CVe(t)?eFe(e,b,"whitespace")(t):b(t)}function b(a){return 124===a?p(a):(null===a||TVe(a))&&r&&o===i?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):y(a)}function y(e){return a(e)}function O(t){return e.enter("tableRow"),x(t)}function x(a){return 124===a?(e.enter("tableCellDivider"),e.consume(a),e.exit("tableCellDivider"),x):null===a||TVe(a)?(e.exit("tableRow"),t(a)):CVe(a)?eFe(e,x,"whitespace")(a):(e.enter("data"),w(a))}function w(t){return null===t||124===t||EVe(t)?(e.exit("data"),x(t)):(e.consume(t),92===t?k:w)}function k(t){return 92===t||124===t?(e.consume(t),w):w(t)}}function sWe(e,t){let a,r,n,o=-1,i=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new gYe;for(;++o<e.length;){let h=e[o],m=h[1];"enter"===h[0]?"tableHead"===m.type?(u=!1,0!==d&&(cWe(p,t,d,a,r),r=void 0,d=0),a={type:"table",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(o,0,[["enter",a,t]])):"tableRow"===m.type||"tableDelimiterRow"===m.type?(i=!0,n=void 0,l=[0,0,0,0],c=[0,o+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},m.start),end:Object.assign({},m.end)},p.add(o,0,[["enter",r,t]])),s="tableDelimiterRow"===m.type?2:r?3:1):!s||"data"!==m.type&&"tableDelimiterMarker"!==m.type&&"tableDelimiterFiller"!==m.type?"tableCellDivider"===m.type&&(i?i=!1:(0!==l[1]&&(c[0]=c[1],n=lWe(p,t,l,s,void 0,n)),l=c,c=[l[1],o,0,0])):(i=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],n=lWe(p,t,l,s,void 0,n),l=[0,0,0,0]),c[2]=o)):"tableHead"===m.type?(u=!0,d=o):"tableRow"===m.type||"tableDelimiterRow"===m.type?(d=o,0===l[1]?0!==c[1]&&(n=lWe(p,t,c,s,o,n)):(c[0]=c[1],n=lWe(p,t,l,s,o,n)),s=0):s&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)&&(c[3]=o)}for(0!==d&&cWe(p,t,d,a,r),p.consume(t.events),o=-1;++o<t.events.length;){let e=t.events[o];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=oWe(t.events,o))}return e}function lWe(e,t,a,r,n,o){let i=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==a[0]&&(o.end=Object.assign({},uWe(t.events,a[0])),e.add(a[0],0,[["exit",o,t]]));let s=uWe(t.events,a[1]);if(o={type:i,start:Object.assign({},s),end:Object.assign({},s)},e.add(a[1],0,[["enter",o,t]]),0!==a[2]){let n=uWe(t.events,a[2]),o=uWe(t.events,a[3]),i={type:"tableContent",start:Object.assign({},n),end:Object.assign({},o)};if(e.add(a[2],0,[["enter",i,t]]),2!==r){let r=t.events[a[2]],n=t.events[a[3]];if(r[1].end=Object.assign({},n[1].end),r[1].type="chunkText",r[1].contentType="text",a[3]>a[2]+1){let t=a[2]+1,r=a[3]-a[2]-1;e.add(t,r,[])}}e.add(a[3]+1,0,[["exit",i,t]])}return void 0!==n&&(o.end=Object.assign({},uWe(t.events,n)),e.add(n,0,[["exit",o,t]]),o=void 0),o}function cWe(e,t,a,r,n){let o=[],i=uWe(t.events,a);n&&(n.end=Object.assign({},i),o.push(["exit",n,t])),r.end=Object.assign({},i),o.push(["exit",r,t]),e.add(a+1,0,o)}function uWe(e,t){let a=e[t],r="enter"===a[0]?"start":"end";return a[1][r]}function dWe(e,t,a){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),n):a(t)};function n(t){return EVe(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):a(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),i):a(t)}function i(r){return TVe(r)?t(r):CVe(r)?e.check({tokenize:pWe},t,a)(r):a(r)}}function pWe(e,t,a){return eFe(e,function(e){return null===e?a(e):t(e)},"whitespace")}function hWe(e){let t=e||bYe,a=this.data(),r=a.micromarkExtensions||=[],n=a.fromMarkdownExtensions||=[],o=a.toMarkdownExtensions||=[];r.push(function(e){return Mqe([{text:MGe},{document:{91:{tokenize:eWe,continuation:{tokenize:tWe},exit:aWe}},text:{91:{tokenize:JFe},93:{add:"after",tokenize:YFe,resolveTo:KFe}}},nWe(e),{flow:{null:{tokenize:iWe,resolveAll:sWe}}},{text:{91:vYe}}])}(t)),n.push([{transforms:[UVe],enter:{literalAutolink:IVe,literalAutolinkEmail:RVe,literalAutolinkHttp:RVe,literalAutolinkWww:RVe},exit:{literalAutolink:jVe,literalAutolinkEmail:BVe,literalAutolinkHttp:DVe,literalAutolinkWww:LVe}},{enter:{gfmFootnoteDefinition:QVe,gfmFootnoteDefinitionLabelString:qVe,gfmFootnoteCall:XVe,gfmFootnoteCallString:GVe},exit:{gfmFootnoteDefinition:WVe,gfmFootnoteDefinitionLabelString:FVe,gfmFootnoteCall:KVe,gfmFootnoteCallString:YVe}},{canContainEols:["delete"],enter:{strikethrough:rQe},exit:{strikethrough:nQe}},{enter:{table:bqe,tableData:wqe,tableHeader:wqe,tableRow:Oqe},exit:{codeText:kqe,table:yqe,tableData:xqe,tableHeader:xqe,tableRow:xqe}},{exit:{taskListCheckValueChecked:_qe,taskListCheckValueUnchecked:_qe,paragraph:Tqe}}]),o.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:lGe,notInConstruct:cGe},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:lGe,notInConstruct:cGe},{character:":",before:"[ps]",after:"\\/",inConstruct:lGe,notInConstruct:cGe}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:tQe,footnoteReference:JVe}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:uGe}],handlers:{delete:oQe}},Aqe(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Eqe}}]}}(t))}function mWe(e){let t,a=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t)return void e.consume(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),eFe(e,a,"linePrefix")},function(t){return e.enter("paragraph"),r(t)});return a;function r(a){let r=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=r),t=r,n(a)}function n(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):TVe(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),n)}}function fWe(e){let t,a,r,n=this,o=[],i=0;return s;function s(t){if(i<o.length){let a=o[i];return n.containerState=a[1],e.attempt(a[0].continuation,l,c)(t)}return c(t)}function l(e){if(i++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,t&&b();let a,r=n.events.length,o=r;for(;o--;)if("exit"===n.events[o][0]&&"chunkFlow"===n.events[o][1].type){a=n.events[o][1].end;break}v(i);let s=r;for(;s<n.events.length;)n.events[s][1].end=Object.assign({},a),s++;return Cqe(n.events,o+1,0,n.events.slice(r)),n.events.length=s,c(e)}return s(e)}function c(a){if(i===o.length){if(!t)return p(a);if(t.currentConstruct&&t.currentConstruct.concrete)return m(a);n.interrupt=!(!t.currentConstruct||t._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(xYe,u,d)(a)}function u(e){return t&&b(),v(i),p(e)}function d(e){return n.parser.lazy[n.now().line]=i!==o.length,r=n.now().offset,m(e)}function p(t){return n.containerState={},e.attempt(xYe,h,m)(t)}function h(e){return i++,o.push([n.currentConstruct,n.containerState]),p(e)}function m(r){return null===r?(t&&b(),v(0),void e.consume(r)):(t||=n.parser.flow(n.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:t}),f(r))}function f(t){return null===t?(g(e.exit("chunkFlow"),!0),v(0),void e.consume(t)):TVe(t)?(e.consume(t),g(e.exit("chunkFlow")),i=0,n.interrupt=void 0,s):(e.consume(t),f)}function g(e,o){let s=n.sliceStream(e);if(o&&s.push(null),e.previous=a,a&&(a.next=e),a=e,t.defineSkip(e.start),t.write(s),n.parser.lazy[e.start.line]){let e=t.events.length;for(;e--;)if(t.events[e][1].start.offset<r&&(!t.events[e][1].end||t.events[e][1].end.offset>r))return;let a,o,s=n.events.length,l=s;for(;l--;)if("exit"===n.events[l][0]&&"chunkFlow"===n.events[l][1].type){if(a){o=n.events[l][1].end;break}a=!0}for(v(i),e=s;e<n.events.length;)n.events[e][1].end=Object.assign({},o),e++;Cqe(n.events,l+1,0,n.events.slice(s)),n.events.length=e}}function v(t){let a=o.length;for(;a-- >t;){let t=o[a];n.containerState=t[1],t[0].exit.call(n,e)}o.length=t}function b(){t.write([null]),a=void 0,t=void 0,n.containerState._closeFlow=void 0}}function gWe(e,t,a){return eFe(e,e.attempt(this.parser.constructs.document,t,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function vWe(e){let t=this,a=e.attempt(RGe,function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,a},e.attempt(this.parser.constructs.flowInitial,r,eFe(e,e.attempt(this.parser.constructs.flow,r,e.attempt(QGe,r)),"linePrefix")));return a;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,a;e.consume(r)}}function bWe(e){return{tokenize:function(t){let a=this,r=this.parser.constructs[e],n=t.attempt(r,o,i);return o;function o(e){return l(e)?n(e):i(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),n(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],n=-1;if(t)for(;++n<t.length;){let e=t[n];if(!e.previous||e.previous.call(a,a.previous))return!0}return!1}},resolveAll:yWe("text"===e?OWe:void 0)}}function yWe(e){return function(t,a){let r,n=-1;for(;++n<=t.length;)void 0===r?t[n]&&"data"===t[n][1].type&&(r=n,n++):(!t[n]||"data"!==t[n][1].type)&&(n!==r+2&&(t[r][1].end=t[n-1][1].end,t.splice(r+2,n-r-2),n=r+2),r=void 0);return e?e(t,a):t}}function OWe(e,t){let a=0;for(;++a<=e.length;)if((a===e.length||"lineEnding"===e[a][1].type)&&"data"===e[a-1][1].type){let r,n=e[a-1][1],o=t.sliceStream(n),i=o.length,s=-1,l=0;for(;i--;){let e=o[i];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)r=!0,l++;else if(-1!==e){i++;break}}if(l){let o={type:a===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-l,offset:n.end.offset-l,_index:n.start._index+i,_bufferIndex:i?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},o.start),n.start.offset===n.end.offset?Object.assign(n,o):(e.splice(a,0,["enter",o,t],["exit",o,t]),a+=2)}a++}return e}function xWe(e,t,a){let r=Object.assign(a?Object.assign({},a):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),n={},o=[],i=[],s=[],l={consume:function(e){TVe(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let a=t||{};return a.type=e,a.start=p(),c.events.push(["enter",a,c]),s.push(a),a},exit:function(e){let t=s.pop();return t.end=p(),c.events.push(["exit",t,c]),t},attempt:f(function(e,t){g(e,t.from)}),check:f(m),interrupt:f(m,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let a,r=-1,n=[];for(;++r<e.length;){let o,i=e[r];if("string"==typeof i)o=i;else switch(i){case-5:o="\r";break;case-4:o="\n";break;case-3:o="\r\n";break;case-2:o=t?" ":"\t";break;case-1:if(!t&&a)continue;o=" ";break;default:o=String.fromCharCode(i)}a=-2===i,n.push(o)}return n.join("")}(d(e),t)},now:p,defineSkip:function(e){n[e.line]=e.column,b()},write:function(e){return i=Pqe(i,e),function(){let e;for(;r._index<i.length;){let t=i[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)h(t.charCodeAt(r._bufferIndex));else h(t)}}(),null===i[i.length-1]?(g(t,0),c.events=Xqe(o,c.events,c),c.events):[]}},u=t.tokenize.call(c,l);return t.resolveAll&&o.push(t),c;function d(e){return function(e,t){let a,r=t.start._index,n=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;if(r===o)a=[e[r].slice(n,i)];else{if(a=e.slice(r,o),n>-1){let e=a[0];"string"==typeof e?a[0]=e.slice(n):a.shift()}i>0&&a.push(e[o].slice(0,i))}return a}(i,e)}function p(){let{line:e,column:t,offset:a,_index:n,_bufferIndex:o}=r;return{line:e,column:t,offset:a,_index:n,_bufferIndex:o}}function h(e){u=u(e)}function m(e,t){t.restore()}function f(e,t){return function(a,r,n){let o,i,s,u;return Array.isArray(a)?d(a):"tokenize"in a?d([a]):function(e){return t;function t(t){let a=null!==t&&e[t],r=null!==t&&e.null;return d([...Array.isArray(a)?a:a?[a]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(a);function d(e){return o=e,i=0,0===e.length?n:p(e[i])}function p(e){return function(a){return u=v(),s=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name)?m(a):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,h,m)(a)}}function h(t){return e(s,u),r}function m(e){return u.restore(),++i<o.length?p(o[i]):n}}}function g(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&Cqe(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function v(){let e=p(),t=c.previous,a=c.currentConstruct,n=c.events.length,o=Array.from(s);return{restore:function(){r=e,c.previous=t,c.currentConstruct=a,c.events.length=n,s=o,b()},from:n}}function b(){r.line in n&&r.column<2&&(r.column=n[r.line],r.offset+=n[r.line]-1)}}function wWe(e,t,a){return"string"!=typeof t&&(a=t,t=void 0),function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(te),autolinkProtocol:A,autolinkEmail:A,atxHeading:o(Y),blockQuote:o(q),characterEscape:A,characterReference:A,codeFenced:o(F),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:o(F,i),codeText:o(W,i),codeTextData:A,data:A,codeFlowValue:A,definition:o(X),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:o(G),hardBreakEscape:o(K),hardBreakTrailing:o(K),htmlFlow:o(J,i),htmlFlowData:A,htmlText:o(J,i),htmlTextData:A,image:o(ee),label:i,link:o(te),listItem:o(re),listItemValue:p,listOrdered:o(ae,d),listUnordered:o(ae),paragraph:o(ne),reference:j,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:o(Y),strong:o(oe),thematicBreak:o(se)},exit:{atxHeading:l(),atxHeadingSequence:x,autolink:l(),autolinkEmail:Q,autolinkProtocol:V,blockQuote:l(),characterEscapeValue:_,characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,characterReferenceValue:H,characterReference:Z,codeFenced:l(g),codeFencedFence:f,codeFencedFenceInfo:h,codeFencedFenceMeta:m,codeFlowValue:_,codeIndented:l(v),codeText:l(M),codeTextData:_,data:_,definition:l(),definitionDestinationString:O,definitionLabelString:b,definitionTitleString:y,emphasis:l(),hardBreakEscape:l(E),hardBreakTrailing:l(E),htmlFlow:l(C),htmlFlowData:_,htmlText:l(P),htmlTextData:_,image:l(N),label:R,labelText:I,lineEnding:T,link:l($),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:U,resourceDestinationString:D,resourceTitleString:L,resource:B,setextHeading:l(S),setextHeadingLineSequence:k,setextHeadingText:w,strong:l(),thematicBreak:l()}};SWe(t,(e||{}).mdastExtensions||[]);let a={};return r;function r(e){let r={type:"root",children:[]},o={stack:[r],tokenStack:[],config:t,enter:s,exit:c,buffer:i,resume:u,data:a},l=[],d=-1;for(;++d<e.length;)("listOrdered"===e[d][1].type||"listUnordered"===e[d][1].type)&&("enter"===e[d][0]?l.push(d):d=n(e,l.pop(),d));for(d=-1;++d<e.length;){let a=t[e[d][0]];LYe.call(a,e[d][1].type)&&a[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},o),e[d][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||_We).call(o,void 0,e[0])}for(r.position={start:kWe(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:kWe(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function n(e,t,a){let r,n,o,i,s=t-1,l=-1,c=!1;for(;++s<=a;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,i=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(r&&!i&&!l&&!o&&(o=s),i=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:i=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let i=s;for(n=void 0;i--;){let t=e[i];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;n&&(e[n][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",n=i}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}o&&(!n||o<n)&&(r._spread=!0),r.end=Object.assign({},n?e[n][1].start:t[1].end),e.splice(n||s,0,["exit",r,t[2]]),s++,a++}if("listItemPrefix"===t[1].type){let n={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=n,e.splice(s,0,["enter",n,t[2]]),s++,a++,o=void 0,i=!0}}}return e[t][1]._spread=c,a}function o(e,t){return a;function a(a){s.call(this,e(a),a),t&&t.call(this,a)}}function i(){this.stack.push({type:"fragment",children:[]})}function s(e,t,a){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,a]),e.position={start:kWe(t.start),end:void 0}}function l(e){return t;function t(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){let a=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw Error("Cannot close `"+e.type+"` ("+tLe({start:e.start,end:e.end})+"): it’s not open");r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||_We).call(this,e,r[0])),a.position.end=kWe(e.end)}function u(){return AQe(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function p(e){if(this.data.expectingFirstListItemValue){this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function h(){let e=this.resume();this.stack[this.stack.length-1].lang=e}function m(){let e=this.resume();this.stack[this.stack.length-1].meta=e}function f(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function b(e){let t=this.resume(),a=this.stack[this.stack.length-1];a.label=t,a.identifier=VVe(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume();this.stack[this.stack.length-1].title=e}function O(){let e=this.resume();this.stack[this.stack.length-1].url=e}function x(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function w(){this.data.setextHeadingSlurpLineEnding=!0}function k(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function S(){this.data.setextHeadingSlurpLineEnding=void 0}function A(e){let t=this.stack[this.stack.length-1].children,a=t[t.length-1];(!a||"text"!==a.type)&&(a=ie(),a.position={start:kWe(e.start),end:void 0},t.push(a)),this.stack.push(a)}function _(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=kWe(e.end)}function T(e){let a=this.stack[this.stack.length-1];if(this.data.atHardBreak){return a.children[a.children.length-1].position.end=kWe(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(a.type)&&(A.call(this,e),_.call(this,e))}function E(){this.data.atHardBreak=!0}function C(){let e=this.resume();this.stack[this.stack.length-1].value=e}function P(){let e=this.resume();this.stack[this.stack.length-1].value=e}function M(){let e=this.resume();this.stack[this.stack.length-1].value=e}function $(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function N(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function I(e){let t=this.sliceSerialize(e),a=this.stack[this.stack.length-2];a.label=aqe(t),a.identifier=VVe(t).toLowerCase()}function R(){let e=this.stack[this.stack.length-1],t=this.resume(),a=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===a.type?a.children=e.children:a.alt=t}function D(){let e=this.resume();this.stack[this.stack.length-1].url=e}function L(){let e=this.resume();this.stack[this.stack.length-1].title=e}function B(){this.data.inReference=void 0}function j(){this.data.referenceType="collapsed"}function U(e){let t=this.resume(),a=this.stack[this.stack.length-1];a.label=t,a.identifier=VVe(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function z(e){this.data.characterReferenceType=e.type}function H(e){let t,a=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=tqe(a,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=eqe(a),this.stack[this.stack.length-1].value+=t}function Z(e){this.stack.pop().position.end=kWe(e.end)}function V(e){_.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function Q(e){_.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function q(){return{type:"blockquote",children:[]}}function F(){return{type:"code",lang:null,meta:null,value:""}}function W(){return{type:"inlineCode",value:""}}function X(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function G(){return{type:"emphasis",children:[]}}function Y(){return{type:"heading",depth:0,children:[]}}function K(){return{type:"break"}}function J(){return{type:"html",value:""}}function ee(){return{type:"image",title:null,url:"",alt:null}}function te(){return{type:"link",title:null,url:"",children:[]}}function ae(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function re(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function ne(){return{type:"paragraph",children:[]}}function oe(){return{type:"strong",children:[]}}function ie(){return{type:"text",value:""}}function se(){return{type:"thematicBreak"}}}(a)(function(e){for(;!fFe(e););return e}(function(e){let t={defined:[],lazy:{},constructs:Mqe([_Ye,...(e||{}).extensions||[]]),content:a(yYe),document:a(OYe),flow:a(wYe),string:a(SYe),text:a(AYe)};return t;function a(e){return function(a){return xWe(t,e,a)}}}(a).document().write(function(){let e,t=1,a="",r=!0;return function(n,o,i){let s,l,c,u,d,p=[];for(n=a+("string"==typeof n?n.toString():new TextDecoder(o||void 0).decode(n)),c=0,a="",r&&=void(65279===n.charCodeAt(0)&&c++);c<n.length;){if(DYe.lastIndex=c,s=DYe.exec(n),u=s&&void 0!==s.index?s.index:n.length,d=n.charCodeAt(u),!s){a=n.slice(c);break}if(10===d&&c===u&&e)p.push(-3),e=void 0;else switch(e&&=void p.push(-5),c<u&&(p.push(n.slice(c,u)),t+=u-c),d){case 0:p.push(65533),t++;break;case 9:for(l=4*Math.ceil(t/4),p.push(-2);t++<l;)p.push(-1);break;case 10:p.push(-4),t=1;break;default:e=!0,t=1}c=u+1}return i&&(e&&p.push(-5),a&&p.push(a),p.push(null)),p}}()(e,t,!0))))}function kWe(e){return{line:e.line,column:e.column,offset:e.offset}}function SWe(e,t){let a=-1;for(;++a<t.length;){let r=t[a];Array.isArray(r)?SWe(e,r):AWe(e,r)}}function AWe(e,t){let a;for(a in t)if(LYe.call(t,a))switch(a){case"canContainEols":{let r=t[a];r&&e[a].push(...r);break}case"transforms":{let r=t[a];r&&e[a].push(...r);break}case"enter":case"exit":{let r=t[a];r&&Object.assign(e[a],r);break}}}function _We(e,t){throw e?Error("Cannot close `"+e.type+"` ("+tLe({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+tLe({start:t.start,end:t.end})+") is open"):Error("Cannot close document, a token (`"+t.type+"`, "+tLe({start:t.start,end:t.end})+") is still open")}function TWe(e){let t=this;t.parser=function(a){return wWe(a,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function EWe(e,t){let a={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,a),e.applyData(t,a)}function CWe(e,t){let a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,a),[e.applyData(t,a),{type:"text",value:"\n"}]}function PWe(e,t){let a=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let n={type:"element",tagName:"code",properties:r,children:[{type:"text",value:a}]};return t.meta&&(n.data={meta:t.meta}),e.patch(t,n),n=e.applyData(t,n),n={type:"element",tagName:"pre",properties:{},children:[n]},e.patch(t,n),n}function MWe(e,t){let a={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function $We(e,t){let a={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function NWe(e,t){let a,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),o=Fqe(n.toLowerCase()),i=e.footnoteOrder.indexOf(n),s=e.footnoteCounts.get(n);void 0===s?(s=0,e.footnoteOrder.push(n),a=e.footnoteOrder.length):a=i+1,s+=1,e.footnoteCounts.set(n,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function IWe(e,t){let a={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function RWe(e,t){if(e.options.allowDangerousHtml){let a={type:"raw",value:t.value};return e.patch(t,a),e.applyData(t,a)}}function DWe(e,t){let a=t.referenceType,r="]";if("collapsed"===a?r+="[]":"full"===a&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let n=e.all(t),o=n[0];o&&"text"===o.type?o.value="["+o.value:n.unshift({type:"text",value:"["});let i=n[n.length-1];return i&&"text"===i.type?i.value+=r:n.push({type:"text",value:r}),n}function LWe(e,t){let a=String(t.identifier).toUpperCase(),r=e.definitionById.get(a);if(!r)return DWe(e,t);let n={src:Fqe(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(n.title=r.title);let o={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,o),e.applyData(t,o)}function BWe(e,t){let a={src:Fqe(t.url)};null!==t.alt&&void 0!==t.alt&&(a.alt=t.alt),null!==t.title&&void 0!==t.title&&(a.title=t.title);let r={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,r),e.applyData(t,r)}function jWe(e,t){let a={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,a);let r={type:"element",tagName:"code",properties:{},children:[a]};return e.patch(t,r),e.applyData(t,r)}function UWe(e,t){let a=String(t.identifier).toUpperCase(),r=e.definitionById.get(a);if(!r)return DWe(e,t);let n={href:Fqe(r.url||"")};null!==r.title&&void 0!==r.title&&(n.title=r.title);let o={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function zWe(e,t){let a={href:Fqe(t.url)};null!==t.title&&void 0!==t.title&&(a.title=t.title);let r={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function HWe(e,t,a){let r=e.all(t),n=a?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let a=e.children,r=-1;for(;!t&&++r<a.length;)t=ZWe(a[r])}return t}(a):ZWe(t),o={},i=[];if("boolean"==typeof t.checked){let e,a=r[0];a&&"element"===a.type&&"p"===a.tagName?e=a:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){let e=r[s];(n||0!==s||"element"!==e.type||"p"!==e.tagName)&&i.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||n?i.push(e):i.push(...e.children)}let l=r[r.length-1];l&&(n||"element"!==l.type||"p"!==l.tagName)&&i.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:o,children:i};return e.patch(t,c),e.applyData(t,c)}function ZWe(e){return e.spread??e.children.length>1}function VWe(e,t){let a={},r=e.all(t),n=-1;for("number"==typeof t.start&&1!==t.start&&(a.start=t.start);++n<r.length;){let e=r[n];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){a.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:a,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function QWe(e,t){let a={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function qWe(e,t){let a={type:"root",children:e.wrap(e.all(t))};return e.patch(t,a),e.applyData(t,a)}function FWe(e,t){let a={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function WWe(e,t){let a=e.all(t),r=a.shift(),n=[];if(r){let a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),n.push(a)}if(a.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(a,!0)},o=WXe(t.children[1]),i=FXe(t.children[t.children.length-1]);o&&i&&(r.position={start:o,end:i}),n.push(r)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(n,!0)};return e.patch(t,o),e.applyData(t,o)}function XWe(e,t,a){let r=a?a.children:void 0,n=0===(r?r.indexOf(t):1)?"th":"td",o=a&&"table"===a.type?a.align:void 0,i=o?o.length:t.children.length,s=-1,l=[];for(;++s<i;){let a=t.children[s],r={},i=o?o[s]:void 0;i&&(r.align=i);let c={type:"element",tagName:n,properties:r,children:[]};a&&(c.children=e.all(a),e.patch(a,c),c=e.applyData(a,c)),l.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)}function GWe(e,t){let a={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function YWe(e){let t=String(e),a=/\r?\n|\r/g,r=a.exec(t),n=0,o=[];for(;r;)o.push(KWe(t.slice(n,r.index),n>0,!0),r[0]),n=r.index+r[0].length,r=a.exec(t);return o.push(KWe(t.slice(n),n>0,!1)),o.join("")}function KWe(e,t,a){let r=0,n=e.length;if(t){let t=e.codePointAt(r);for(;t===BYe||t===jYe;)r++,t=e.codePointAt(r)}if(a){let t=e.codePointAt(n-1);for(;t===BYe||t===jYe;)n--,t=e.codePointAt(n-1)}return n>r?e.slice(r,n):""}function JWe(e,t){let a={type:"text",value:YWe(String(t.value))};return e.patch(t,a),e.applyData(t,a)}function eXe(e,t){let a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,a),e.applyData(t,a)}function tXe(){}function aXe(e,t){let a=[{type:"text",value:"↩"}];return t>1&&a.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),a}function rXe(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function nXe(e,t){let a=t||HYe,r=new Map,n=new Map,o={all:function(e){let t=[];if("children"in e){let a=e.children,r=-1;for(;++r<a.length;){let n=o.one(a[r],e);if(n){if(r&&"break"===a[r-1].type&&(!Array.isArray(n)&&"text"===n.type&&(n.value=cXe(n.value)),!Array.isArray(n)&&"element"===n.type)){let e=n.children[0];e&&"text"===e.type&&(e.value=cXe(e.value))}Array.isArray(n)?t.push(...n):t.push(n)}}}return t},applyData:iXe,definitionById:r,footnoteById:n,footnoteCounts:new Map,footnoteOrder:[],handlers:{...UYe,...a.handlers},one:function(e,t){let a=e.type,r=o.handlers[a];if(zYe.call(o.handlers,a)&&r)return r(o,e,t);if(o.options.passThrough&&o.options.passThrough.includes(a)){if("children"in e){let{children:t,...a}=e,r=_Xe(a);return r.children=o.all(e),r}return _Xe(e)}return(o.options.unknownHandler||sXe)(o,e,t)},options:a,patch:oXe,wrap:lXe};return wIe(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:n,a=String(e.identifier).toUpperCase();t.has(a)||t.set(a,e)}}),o}function oXe(e,t){e.position&&(t.position=nVe(e))}function iXe(e,t){let a=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,n=e.data.hProperties;"string"==typeof t&&("element"===a.type?a.tagName=t:a={type:"element",tagName:t,properties:{},children:"children"in a?a.children:[a]}),"element"===a.type&&n&&Object.assign(a.properties,_Xe(n)),"children"in a&&a.children&&null!=r&&(a.children=r)}return a}function sXe(e,t){let a=t.data||{},r=!("value"in t)||zYe.call(a,"hProperties")||zYe.call(a,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function lXe(e,t){let a=[],r=-1;for(t&&a.push({type:"text",value:"\n"});++r<e.length;)r&&a.push({type:"text",value:"\n"}),a.push(e[r]);return t&&e.length>0&&a.push({type:"text",value:"\n"}),a}function cXe(e){let t=0,a=e.charCodeAt(t);for(;9===a||32===a;)t++,a=e.charCodeAt(t);return e.slice(t)}function uXe(e,t){let a=nXe(e,t),r=a.one(e,void 0),n=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",a=e.options.footnoteBackContent||aXe,r=e.options.footnoteBackLabel||rXe,n=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",i=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],l=-1;for(;++l<e.footnoteOrder.length;){let n=e.footnoteById.get(e.footnoteOrder[l]);if(!n)continue;let o=e.all(n),i=String(n.identifier).toUpperCase(),c=Fqe(i.toLowerCase()),u=0,d=[],p=e.footnoteCounts.get(i);for(;void 0!==p&&++u<=p;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof a?a:a(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let h=o[o.length-1];if(h&&"element"===h.type&&"p"===h.tagName){let e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...d)}else o.push(...d);let m={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(o,!0)};e.patch(n,m),s.push(m)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{..._Xe(i),id:"footnote-label"},children:[{type:"text",value:n}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(a),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return n&&o.children.push({type:"text",value:"\n"},n),o}function dXe(e,t){return e&&"run"in e?async function(a,r){let n=uXe(a,{file:r,...t});await e.run(n,r)}:function(a,r){return uXe(a,{file:r,...e||t})}}function pXe(e){let t=this;t.compiler=function(a){return dqe(a,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}function hXe(e){return eze().use(TWe).use(hWe).parse(e)}function mXe(e){return"text"===e.type?e.value??"":"children"in e&&Array.isArray(e.children)?e.children.map(e=>mXe(e)).join(""):""}function fXe(e){let t=hXe(e),a=[],r=[];return t.children?.forEach(e=>{"heading"===e.type?(r.length&&a.push(r),a.push([e]),r=[]):r.push(e)}),r.length&&a.push(r),a.map(e=>function(e){return eze().use(pXe).use(hWe).stringify({type:"root",children:e}).trim()}(e))}var gXe,vXe,bXe,yXe,OXe,xXe,wXe,kXe,SXe,AXe,_Xe,TXe,EXe,CXe,PXe,MXe,$Xe,NXe,IXe,RXe,DXe,LXe,BXe,jXe,UXe,zXe,HXe,ZXe,VXe,QXe,qXe,FXe,WXe,XXe,GXe,YXe,KXe,JXe,eGe,tGe,aGe,rGe,nGe,oGe,iGe,sGe,lGe,cGe,uGe,dGe,pGe,hGe,mGe,fGe,gGe,vGe,bGe,yGe,OGe,xGe,wGe,kGe,SGe,AGe,_Ge,TGe,EGe,CGe,PGe,MGe,$Ge,NGe,IGe,RGe,DGe,LGe,BGe,jGe,UGe,zGe,HGe,ZGe,VGe,QGe,qGe,FGe,WGe,XGe,GGe,YGe,KGe,JGe,eYe,tYe,aYe,rYe,nYe,oYe,iYe,sYe,lYe,cYe,uYe,dYe,pYe,hYe,mYe,fYe,gYe,vYe,bYe,yYe,OYe,xYe,wYe,kYe,SYe,AYe,_Ye,TYe,EYe,CYe,PYe,MYe,$Ye,NYe,IYe,RYe,DYe,LYe,BYe,jYe,UYe,zYe,HYe,ZYe,VYe,QYe,qYe,FYe,WYe,XYe,GYe,YYe,KYe,JYe,eKe,tKe,aKe,rKe,nKe,oKe,iKe,sKe,lKe,cKe,uKe,dKe,pKe,hKe,mKe,fKe,gKe,vKe,bKe,yKe,OKe,xKe,wKe,kKe,SKe,AKe,_Ke,TKe,EKe,CKe,PKe,MKe,$Ke,NKe,IKe,RKe,DKe,LKe,BKe,jKe,UKe,zKe,HKe,ZKe,VKe,QKe,qKe,FKe,WKe,XKe,GKe,YKe,KKe,JKe,eJe,tJe,aJe,rJe,nJe,oJe,iJe,sJe,lJe,cJe,uJe,dJe,pJe,hJe,mJe,fJe,gJe,vJe,bJe,yJe,OJe,xJe,wJe,kJe,SJe,AJe=V(()=>{for((pRe(),tze(),_Ie(),bZe(),MZe(),gXe="object"==typeof self?self:globalThis,vXe=(e,t)=>{let a=(t,a)=>(e.set(a,t),t),r=n=>{if(e.has(n))return e.get(n);let[o,i]=t[n];switch(o){case 0:case-1:return a(i,n);case 1:{let e=a([],n);for(let t of i)e.push(r(t));return e}case 2:{let e=a({},n);for(let[t,a]of i)e[r(t)]=r(a);return e}case 3:return a(new Date(i),n);case 4:{let{source:e,flags:t}=i;return a(new RegExp(e,t),n)}case 5:{let e=a(new Map,n);for(let[t,a]of i)e.set(r(t),r(a));return e}case 6:{let e=a(new Set,n);for(let t of i)e.add(r(t));return e}case 7:{let{name:e,message:t}=i;return a(new gXe[e](t),n)}case 8:return a(BigInt(i),n);case"BigInt":return a(Object(BigInt(i)),n)}return a(new gXe[o](i),n)};return r},bXe=e=>vXe(new Map,e)(0),yXe="",({toString:OXe}={}),({keys:xXe}=Object),wXe=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let a=OXe.call(e).slice(8,-1);switch(a){case"Array":return[1,yXe];case"Object":return[2,yXe];case"Date":return[3,yXe];case"RegExp":return[4,yXe];case"Map":return[5,yXe];case"Set":return[6,yXe]}return a.includes("Array")?[1,a]:a.includes("Error")?[7,a]:[2,a]},kXe=([e,t])=>0===e&&("function"===t||"symbol"===t),SXe=(e,t,a,r)=>{let n=(e,t)=>{let n=r.push(e)-1;return a.set(t,n),n},o=r=>{if(a.has(r))return a.get(r);let[i,s]=wXe(r);switch(i){case 0:{let t=r;switch(s){case"bigint":i=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+s);t=null;break;case"undefined":return n([-1],r)}return n([i,t],r)}case 1:{if(s)return n([s,[...r]],r);let e=[],t=n([i,e],r);for(let t of r)e.push(o(t));return t}case 2:{if(s)switch(s){case"BigInt":return n([s,r.toString()],r);case"Boolean":case"Number":case"String":return n([s,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());let a=[],l=n([i,a],r);for(let t of xXe(r))(e||!kXe(wXe(r[t])))&&a.push([o(t),o(r[t])]);return l}case 3:return n([i,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return n([i,{source:e,flags:t}],r)}case 5:{let t=[],a=n([i,t],r);for(let[a,n]of r)(e||!kXe(wXe(a))&&!kXe(wXe(n)))&&t.push([o(a),o(n)]);return a}case 6:{let t=[],a=n([i,t],r);for(let a of r)(e||!kXe(wXe(a)))&&t.push(o(a));return a}}let{message:l}=r;return n([i,{name:s,message:l}],r)};return o},AXe=(e,{json:t,lossy:a}={})=>{let r=[];return SXe(!(t||a),!!t,new Map,r)(e),r},_Xe="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?bXe(AXe(e,t)):structuredClone(e):(e,t)=>bXe(AXe(e,t)),TXe=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,EXe=/^[a-zA-Z]:\\/,CXe=["http","https"],PXe=["nofollow"],MXe={},$Xe=KIe(function(e){return"audio"===e.tagName||"canvas"===e.tagName||"embed"===e.tagName||"iframe"===e.tagName||"img"===e.tagName||"math"===e.tagName||"object"===e.tagName||"picture"===e.tagName||"svg"===e.tagName||"video"===e.tagName}),NXe="address.article.aside.blockquote.body.br.caption.center.col.colgroup.dd.dialog.dir.div.dl.dt.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.legend.li.li.listing.main.menu.nav.ol.optgroup.option.p.plaintext.pre.section.summary.table.tbody.td.td.tfoot.th.th.thead.tr.ul.wbr.xmp".split("."),IXe=["button","input","select","textarea"],RXe=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],DXe={},LXe=kIe(["comment","doctype"]),BXe={}.hasOwnProperty,jXe=new Set(["pingback","prefetch","stylesheet"]),UXe=KIe("a.abbr.area.b.bdi.bdo.br.button.cite.code.data.datalist.del.dfn.em.i.input.ins.kbd.keygen.label.map.mark.meter.noscript.output.progress.q.ruby.s.samp.script.select.small.span.strong.sub.sup.template.textarea.time.u.var.wbr".split(".")),zXe=KIe("meta"),HXe=["pre","script","style","textarea"],ZXe={},VXe={},QXe={}.hasOwnProperty,qXe=yLe("type",{handlers:{root:XZe,element:JZe,text:YZe,comment:KZe,doctype:GZe}}),FXe=rVe("end"),WXe=rVe("start"),XXe=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),GXe={sourceCodeLocationInfo:!0,scriptingEnabled:!1},YXe=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],KXe={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...YXe,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...YXe],h2:[["className","sr-only"]],img:[...YXe,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...YXe,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...YXe],table:[...YXe],ul:[...YXe,["className","contains-task-list"]],"*":"abbr.accept.acceptCharset.accessKey.action.align.alt.axis.border.cellPadding.cellSpacing.char.charOff.charSet.checked.clear.colSpan.color.cols.compact.coords.dateTime.dir.encType.frame.hSpace.headers.height.hrefLang.htmlFor.id.isMap.itemProp.label.lang.maxLength.media.method.multiple.name.noHref.noShade.noWrap.open.prompt.readOnly.rev.rowSpan.rows.rules.scope.selected.shape.size.span.start.summary.tabIndex.title.useMap.vAlign.value.width".split(".")},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:"a.b.blockquote.br.code.dd.del.details.div.dl.dt.em.h1.h2.h3.h4.h5.h6.hr.i.img.input.ins.kbd.li.ol.p.picture.pre.q.rp.rt.ruby.s.samp.section.source.span.strike.strong.sub.summary.sup.table.tbody.td.tfoot.th.thead.tr.tt.ul.var".split(".")},JXe={}.hasOwnProperty,eGe=PVe(/[A-Za-z]/),tGe=PVe(/[\dA-Za-z]/),aGe=PVe(/[#-'*+\--9=?A-Z^-~]/),rGe=PVe(/\d/),nGe=PVe(/[\dA-Fa-f]/),oGe=PVe(/[!-/:-@[-`{-~]/),iGe=PVe(/\p{P}|\p{S}/u),sGe=PVe(/\s/),lGe="phrasing",cGe=["autolink","link","image","label"],JVe.peek=eQe,uGe=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],oQe.peek=iQe,dGe={}.hasOwnProperty,kQe.peek=SQe,pGe={},PQe.peek=MQe,$Qe.peek=NQe,IQe.peek=RQe,DQe.peek=LQe,jQe.peek=UQe,zQe.peek=HQe,hGe=kIe(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]),XQe.peek=GQe,mGe={blockquote:hQe,break:vQe,code:yQe,definition:wQe,emphasis:kQe,hardBreak:vQe,heading:CQe,html:PQe,image:$Qe,imageReference:IQe,inlineCode:DQe,link:jQe,linkReference:zQe,list:QQe,listItem:qQe,paragraph:FQe,root:WQe,strong:XQe,text:YQe,thematicBreak:KQe},fGe=[JQe],vGe=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:gGe=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:gGe},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:gGe},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:gGe},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:gGe},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:gGe},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:gGe},{atBreak:!0,character:"~"}],bGe={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"Ĳ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",ffr:"𝔣",filig:"ﬁ",fjlig:"fj",flat:"♭",fllig:"ﬂ",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ĳ",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ŉ",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},yGe={}.hasOwnProperty,OGe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi,xGe=/\r?\n|\r/g,wGe={}.hasOwnProperty,kGe={tokenize:Lqe,partial:!0},SGe={tokenize:Bqe,partial:!0},AGe={tokenize:jqe,partial:!0},_Ge={tokenize:Uqe,partial:!0},TGe={tokenize:zqe,partial:!0},EGe={tokenize:Rqe,previous:Hqe},CGe={tokenize:Dqe,previous:Zqe},PGe={tokenize:Iqe,previous:Vqe},MGe={},$Ge=48);$Ge<123;)MGe[$Ge]=PGe,58===++$Ge?$Ge=65:91===$Ge&&($Ge=97);MGe[43]=PGe,MGe[45]=PGe,MGe[46]=PGe,MGe[95]=PGe,MGe[72]=[PGe,CGe],MGe[104]=[PGe,CGe],MGe[87]=[PGe,EGe],MGe[119]=[PGe,EGe],NGe={name:"attention",tokenize:Yqe,resolveAll:Gqe},IGe={name:"autolink",tokenize:Jqe},RGe={tokenize:tFe,partial:!0},DGe={name:"blockQuote",tokenize:aFe,continuation:{tokenize:rFe},exit:nFe},LGe={name:"characterEscape",tokenize:oFe},BGe={name:"characterReference",tokenize:iFe},jGe={tokenize:lFe,partial:!0},UGe={name:"codeFenced",tokenize:sFe,concrete:!0},zGe={name:"codeIndented",tokenize:cFe},HGe={tokenize:uFe,partial:!0},ZGe={name:"codeText",tokenize:hFe,resolve:dFe,previous:pFe},VGe=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let a=t??1/0;return a<this.left.length?this.left.slice(e,a):e>this.left.length?this.right.slice(this.right.length-a+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(e,t,a){let r=t||0;this.setCursor(Math.trunc(e));let n=this.right.splice(this.right.length-r,1/0);return a&&mFe(this.left,a),n.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),mFe(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),mFe(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);mFe(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);mFe(this.left,t.reverse())}}},QGe={tokenize:bFe,resolve:vFe},qGe={tokenize:yFe,partial:!0},FGe={name:"definition",tokenize:SFe},WGe={tokenize:AFe,partial:!0},XGe={name:"hardBreakEscape",tokenize:_Fe},GGe={name:"headingAtx",tokenize:EFe,resolve:TFe},YGe="address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul".split("."),KGe=["pre","script","style","textarea"],JGe={name:"htmlFlow",tokenize:PFe,resolveTo:CFe,concrete:!0},eYe={tokenize:$Fe,partial:!0},tYe={tokenize:MFe,partial:!0},aYe={name:"htmlText",tokenize:NFe},nYe={tokenize:LFe},oYe={tokenize:BFe},iYe={tokenize:jFe},sYe={name:"labelStartImage",tokenize:UFe,resolveAll:(rYe={name:"labelEnd",tokenize:DFe,resolveTo:RFe,resolveAll:IFe}).resolveAll},lYe={name:"labelStartLink",tokenize:zFe,resolveAll:rYe.resolveAll},cYe={name:"lineEnding",tokenize:HFe},uYe={name:"thematicBreak",tokenize:ZFe},dYe={name:"list",tokenize:VFe,continuation:{tokenize:QFe},exit:FFe},pYe={tokenize:WFe,partial:!0},hYe={tokenize:qFe,partial:!0},mYe={name:"setextUnderline",tokenize:GFe,resolveTo:XFe},fYe={tokenize:rWe,partial:!0},gYe=class{constructor(){this.map=[]}add(e,t,a){!function(e,t,a,r){let n=0;if(0!==a||0!==r.length){for(;n<e.map.length;){if(e.map[n][0]===t)return e.map[n][1]+=a,void e.map[n][2].push(...r);n+=1}e.map.push([t,a,r])}}(this,e,t,a)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,a=[];for(;t>0;)--t,a.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];a.push([...e]),e.length=0;let r=a.pop();for(;r;)e.push(...r),r=a.pop();this.map.length=0}},vYe={tokenize:dWe},bYe={},yYe={tokenize:mWe},OYe={tokenize:fWe},xYe={tokenize:gWe},wYe={tokenize:vWe},kYe={resolveAll:yWe()},SYe=bWe("string"),AYe=bWe("text"),_Ye=qIe({attentionMarkers:()=>IYe,contentInitial:()=>EYe,disable:()=>RYe,document:()=>TYe,flow:()=>PYe,flowInitial:()=>CYe,insideSpan:()=>NYe,string:()=>MYe,text:()=>$Ye}),TYe={42:dYe,43:dYe,45:dYe,48:dYe,49:dYe,50:dYe,51:dYe,52:dYe,53:dYe,54:dYe,55:dYe,56:dYe,57:dYe,62:DGe},EYe={91:FGe},CYe={[-2]:zGe,[-1]:zGe,32:zGe},PYe={35:GGe,42:uYe,45:[mYe,uYe],60:JGe,61:mYe,95:uYe,96:UGe,126:UGe},MYe={38:BGe,92:LGe},$Ye={[-5]:cYe,[-4]:cYe,[-3]:cYe,33:sYe,38:BGe,42:NGe,60:[IGe,aYe],91:lYe,92:[XGe,LGe],93:rYe,95:NGe,96:ZGe},NYe={null:[NGe,kYe]},IYe={null:[42,95]},RYe={null:[]},DYe=/[\0\t\n\r]/g,LYe={}.hasOwnProperty,BYe=9,jYe=32,UYe={blockquote:EWe,break:CWe,code:PWe,delete:MWe,emphasis:$We,footnoteReference:NWe,heading:IWe,html:RWe,imageReference:LWe,image:BWe,inlineCode:jWe,linkReference:UWe,link:zWe,listItem:HWe,list:VWe,paragraph:QWe,root:qWe,strong:FWe,table:WWe,tableCell:GWe,tableRow:XWe,text:JWe,thematicBreak:eXe,toml:tXe,yaml:tXe,definition:tXe,footnoteDefinition:tXe},zYe={}.hasOwnProperty,HYe={},ZYe=e=>"heading"===e.type&&"depth"in e&&"children"in e,VYe=(e,...t)=>t=>{!e?.transform||!e?.type||wIe(t,e?.type,t=>(e?.transform&&e?.transform(t),AIe))},QYe=new Set(["dd","dt","li","p","summary","td","th"]),qYe=/[`*_\[~]/,FYe=()=>e=>{wIe(e,"html",(e,t,a)=>{"number"!=typeof t||!a||!("children"in a)||!Array.isArray(a.children)||(a.children[t]={type:"text",value:e.value??""})})},WYe=eze().use(TWe).use(hWe).use(FYe).use(dXe),XYe=eze().use(bLe,{fragment:!0}),GYe=eze().use(oBe),YYe=e=>{let t=WYe.runSync(WYe.parse(e));if(1!==t.children.length)return[];let a=t.children.at(0);return a&&"element"===a.type&&"p"===a.tagName?a.children:[]},KYe=()=>e=>{wIe(e,"element",e=>{QYe.has(e.tagName)&&(e.children=e.children.flatMap(e=>{if("text"!==e.type||!qYe.test(e.value))return[e];let t=YYe(e.value);return t.length?t:[e]}))})},JYe=()=>e=>{wIe(e,"raw",e=>{if("string"!=typeof e.value||!qYe.test(e.value))return;let t=XYe.parse(e.value);KYe()(t),e.value=GYe.stringify(t)})}}),_Je=V(()=>{bZe(),TZe(),AJe()}),TJe=V(()=>{iE(),Rc(),_Je(),eKe=["innerHTML"],tKe=Pn({inheritAttrs:!1,__name:"ScalarMarkdown",props:{value:{},withImages:{type:Boolean,default:!1},withAnchors:{type:Boolean,default:!1},transform:{type:Function},transformType:{},clamp:{},anchorPrefix:{}},setup(e,{expose:t}){let{cx:a}=aE();t({el:Nn("div")});let r=t=>{if(!e.withAnchors)return e.transform?.(t)||t;if(!ZYe(t))return t;let a=mXe(t).toLowerCase().replace(/\s+/g,"-");return t.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${a}`:a}},e.transform?e.transform(t):t},n=ol(()=>function(e,t){let a=t?.removeTags??[],r=[...KXe.tagNames??[],...t?.allowTags??[]].filter(e=>!a.includes(e));return eze().use(TWe).use(hWe).use(VYe,{transform:t?.transform,type:t?.transformType}).use(dXe,{allowDangerousHtml:!0}).use(CZe).use(JYe).use(bVe).use(AVe,{...KXe,clobberPrefix:"",tagNames:r,attributes:{...KXe.attributes,abbr:["title"],"*":[...KXe.attributes?.["*"]??[],"className"]},strip:["script","style","object","embed","form"]}).use(BIe,{languages:vZe,detect:!0}).use($Ze,{target:"_blank"}).use(WZe).use(oBe).processSync(e).toString()}(e.value??"",{removeTags:e.withImages?[]:["img","picture"],transform:e.withAnchors&&"heading"===e.transformType?r:e.transform,transformType:e.transformType}));return(t,r)=>(Zo(),qo("div",ii({ref:"div"},Fa(a)("markdown",{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:n.value}),null,16,eKe))}})}),EJe=V(()=>{TJe(),aKe=tKe}),CJe=V(()=>{EJe(),iE(),Rc(),Jpe(),rKe=["aria-controls","aria-expanded"],nKe=Pn({inheritAttrs:!1,__name:"ScalarMarkdownSummary",props:io({value:{},withImages:{type:Boolean},withAnchors:{type:Boolean},transform:{type:Function},transformType:{},clamp:{default:1},anchorPrefix:{},controlled:{type:Boolean}},{modelValue:{type:Boolean,default:!1},modelModifiers:{},truncated:{type:Boolean,default:!1},truncatedModifiers:{}}),emits:["update:modelValue","update:truncated"],setup(e){let t=function(e,t){let a={};for(let r in e)t.includes(r)||Object.defineProperty(a,r,{enumerable:!0,get:()=>e[r]});return a}(e,["clamp"]),a=Mn(),r=wo(e,"modelValue"),n=wo(e,"truncated"),o=Nn("scalar-markdown");function i(){let e=o.value?.el;e&&(n.value=e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}!function(e,t,a={}){let r,{window:n=jpe,...o}=a,i=Cpe(()=>n&&"ResizeObserver"in n),s=()=>{r&&=void r.disconnect()},l=fn(ol(()=>{let t=Wa(e);return Array.isArray(t)?t.map(e=>_pe(e)):[_pe(t)]}),e=>{if(s(),i.value&&n){r=new ResizeObserver(t);for(let t of e)t&&r.observe(t,o)}},{immediate:!0,flush:"post"}),c=()=>{s(),l()};hpe(c)}(()=>o.value?.el,i),ts(i);let{cx:s}=aE();return(o,i)=>(Zo(),qo("div",at(Ko(Fa(s)("group/summary flex gap-0.5",r.value?"flex-col":"flex-row items-baseline"))),[qs(aKe,ii(t,{id:Fa(a),ref:"scalar-markdown",clamp:r.value?void 0:e.clamp,class:{"markdown-summary truncate":!r.value}}),null,16,["id","clamp","class"]),e.controlled||!n.value&&!r.value?ai("",!0):(Zo(),qo("button",{key:0,"aria-controls":Fa(a),"aria-expanded":r.value,class:tt(["whitespace-nowrap font-medium hover:underline",{"self-end":r.value}]),type:"button",onClick:i[0]||=e=>r.value=!r.value},[Jn(o.$slots,"button",{open:r.value},()=>[ei(Kt(r.value?" Show Less":"More"),1)])],10,rKe))],16))}})}),PJe=V(()=>{CJe(),oKe=nKe}),MJe=V(()=>{EJe(),PJe()}),$Je=V(()=>{Jde(),tpe(),iE(),Rc(),Am(),iKe=Pn({inheritAttrs:!1,__name:"ScalarPopover",props:{focus:{type:Boolean},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e){let{cx:t}=aE();return(a,r)=>(Zo(),Fo(Fa(Nh),{as:"template"},{default:cn(({open:r})=>[qs(Fa(Bde),at(Ko(a.$props)),{floating:cn(({width:n,height:o})=>[qs(Fa(Rh),ii({focus:e.focus,style:{width:n,height:o}},Fa(t)("relative flex flex-col p-0.75")),{default:cn(({close:e})=>[Jn(a.$slots,"popover",{close:()=>e(),open:r}),Jn(a.$slots,"backdrop",{open:r},()=>[qs(Fa(Ude))])]),_:2},1040,["focus","style"])]),default:cn(()=>[qs(Fa(Ih),{as:"template"},{default:cn(()=>[Jn(a.$slots,"default",{open:r})]),_:2},1024)]),_:2},1040)]),_:3}))}})}),NJe=V(()=>{$Je(),sKe=iKe}),IJe=V(()=>{NJe()}),RJe=V(()=>{bIe(),Rc(),ZS(),MJe(),IJe(),lKe=["aria-label","role"],cKe={class:"text-xxs text-c-1 grid w-fit max-w-xs min-w-0 gap-1.5 rounded px-1.5 pt-2 pb-1.5 leading-none break-words","data-testid":"request-table-tooltip-content"},uKe={key:0,class:"text-error-1"},dKe={key:1,class:"schema text-c-2 truncate *:not-first:before:content-['_·_']"},pKe={key:0},hKe={key:1},mKe={key:2},fKe={key:3},gKe={key:4},vKe=Pn({__name:"RequestTableTooltip",props:{schema:{},value:{},description:{}},setup(e){let t=ol(()=>hIe(e.schema,e.value)),a=ol(()=>!1===t.value.ok);return(r,n)=>(Zo(),Fo(Fa(sKe),{offset:4,placement:"left",teleport:""},{popover:cn(()=>[Go("div",cKe,[!1===t.value.ok?(Zo(),qo("div",uKe,Kt(t.value.message),1)):e.schema&&("type"in e.schema||"format"in e.schema||"minimum"in e.schema||"maximum"in e.schema||"default"in e.schema)?(Zo(),qo("div",dKe,["type"in e.schema?(Zo(),qo("span",pKe,Kt(e.schema.type),1)):ai("",!0),"format"in e.schema?(Zo(),qo("span",hKe,Kt(e.schema.format),1)):ai("",!0),"minimum"in e.schema?(Zo(),qo("span",mKe,"min: "+Kt(e.schema.minimum),1)):ai("",!0),"maximum"in e.schema?(Zo(),qo("span",fKe,"max: "+Kt(e.schema.maximum),1)):ai("",!0),"default"in e.schema?(Zo(),qo("span",gKe,"default: "+Kt(e.schema.default),1)):ai("",!0)])):ai("",!0),e.description&&!a.value?(Zo(),Fo(Fa(aKe),{key:2,value:e.description},null,8,["value"])):ai("",!0)])]),default:cn(()=>[Go("button",{"aria-label":a.value?"Input is invalid":"More Information",class:"text-c-2 hover:text-c-1 hover:bg-b-2 rounded p-1",role:a.value?"alert":"none",type:"button"},[a.value?(Zo(),Fo(Fa(Yx),{key:0,class:"text-orange size-3.5 brightness-90 hover:brightness-75"})):(Zo(),Fo(Fa(Jb),{key:1,class:"text-c-2 hover:text-c-1 size-3.5"}))],8,lKe)]),_:1}))}})}),DJe=V(()=>{RJe(),bKe=vKe}),LJe=V(()=>{oce(),Vle(),ufe(),iE(),Rc(),yKe=["aria-disabled"],OKe={key:0,class:"sr-only"},xKe=Pn({inheritAttrs:!1,__name:"ScalarIconButton",props:{label:{},icon:{type:[Object,Function]},disabled:{type:Boolean},variant:{default:"ghost"},size:{default:"md"},thickness:{},weight:{},tooltip:{type:[Boolean,String,Object]}},setup(e){let t=XT({base:"scalar-icon-button grid aspect-square cursor-pointer rounded",variants:{size:{xxs:"size-3.5 p-0.5",xs:"size-5 p-1",sm:"size-6 p-1",md:"size-10 p-3",full:"size-full"},disabled:{true:"cursor-not-allowed shadow-none"},variant:Kle},compoundVariants:[{size:"md",variant:"ghost",class:"size-8 p-2 m-1 -outline-offset-2 rounded-lg"}]}),{cx:a}=aE(),r=Nn("ref");return efe({content:ol(()=>e.label),offset:ol(()=>"ghost"===e.variant?0:4),placement:ol(()=>"boolean"==typeof e.tooltip?void 0:e.tooltip),targetRef:ol(()=>e.tooltip?r.value:void 0)}),(r,n)=>(Zo(),qo("button",ii({ref:"ref","aria-disabled":e.disabled,type:"button"},Fa(a)(Fa(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[qs(Fa($le),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,["icon","thickness","weight"]),e.tooltip?ai("",!0):(Zo(),qo("span",OKe,Kt(e.label),1))],16,yKe))}})}),BJe=V(()=>{LJe(),wKe=xKe}),jJe=V(()=>{BJe()}),UJe=V(()=>{JNe(),rIe(),vIe(),mIe(),fIe(),bIe(),DJe(),Rc(),lce(),ZS(),Qle(),jJe(),bC(),uW(),kKe={class:"text-c-2 filemask flex w-full max-w-[100%] items-center justify-center overflow-hidden p-1"},SKe={key:1,class:"p-0.5"},AKe=Pn({__name:"RequestTableRow",props:{data:{},hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},environment:{},showUploadButton:{type:Boolean}},emits:["upsertRow","deleteRow","uploadFile","removeFile","navigate"],setup(e,{emit:t}){let a=t,r=Za(e.data.name??""),n=Za(hC(e.data.value)??""),o=Za(e.data.isDisabled??!1);fn(()=>e.data.name,e=>r.value=e??""),fn(()=>e.data.value,e=>n.value=hC(e)??""),fn(()=>e.data.isDisabled,e=>o.value=e??!1);let i=ol(()=>n.value instanceof File),s=ol(()=>(i.value?cIe(n.value):n.value)??""),l=ol(()=>e.data.schema?.default),c=ol(()=>{if(!e.data.schema)return[];if(e.data.schema.enum)return e.data.schema.enum.map(e=>String(e));if("items"in e.data.schema){let t=jQ.schema(e.data.schema.items);if(t?.enum)return t.enum.map(e=>String(e))}return[]}),u=ol(()=>e.data.schema&&"minimum"in e.data.schema?e.data.schema.minimum:void 0),d=ol(()=>e.data.schema&&"maximum"in e.data.schema?e.data.schema.maximum:void 0),p=ol(()=>e.data.schema&&"type"in e.data.schema?e.data.schema.type:void 0),h=ol(()=>hIe(e.data.schema,n.value)),m=e=>{void 0!==e.name&&(r.value=e.name),void 0!==e.value&&(n.value=e.value),o.value=e.isDisabled??!1,a("upsertRow",{name:r.value,value:n.value,isDisabled:o.value})};return(t,f)=>(Zo(),Fo(Fa(lIe),{id:e.data.name,class:tt({alert:!1===h.value.ok,error:!1===h.value.ok&&e.invalidParams?.has(e.data.name)})},{default:cn(()=>[qs(Fa(pIe),{class:"!border-r",disabled:e.hasCheckboxDisabled??!1,modelValue:!o.value,"onUpdate:modelValue":f[0]||=e=>m({isDisabled:!e})},null,8,["disabled","modelValue"]),qs(Fa(VNe),null,{default:cn(()=>[qs(Fa(BNe),{"aria-label":`${e.label} Key`,disableCloseBrackets:"",disabled:e.data.isReadonly,disableEnter:"",disableTabIndent:"",environment:e.environment,lineWrapping:"",modelValue:r.value,placeholder:"Key",required:!!e.data.isRequired,onNavigate:f[1]||=e=>a("navigate",e),onSelectVariable:f[2]||=e=>m({name:e}),"onUpdate:modelValue":f[3]||=e=>m({name:e})},null,8,["aria-label","disabled","environment","modelValue","required"])]),_:1}),qs(Fa(VNe),null,{default:cn(()=>[qs(Fa(BNe),{"aria-label":`${e.label} Value`,class:"pr-6 group-hover:pr-10 group-has-[.cm-focused]:pr-10",default:l.value,disableCloseBrackets:"",disabled:e.data.isReadonly,disableEnter:"",disableTabIndent:"",enum:c.value,environment:e.environment,examples:e.data.schema?.examples?.map(e=>String(e))??[],linethrough:e.data.isOverridden,lineWrapping:"",max:d.value,min:u.value,modelValue:s.value,placeholder:"Value",type:p.value,withFakeData:"",onNavigate:f[6]||=e=>a("navigate",e),"onUpdate:modelValue":f[7]||=e=>m({value:e})},{icon:cn(()=>[!e.data.name&&!n.value||e.data.isRequired||!0===e.data.isReadonly?ai("",!0):(Zo(),Fo(Fa(tce),{key:0,class:"text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 hidden h-fit rounded p-1 group-hover:flex group-has-[.cm-focused]:flex",size:"sm",variant:"ghost",onClick:f[4]||=e=>a("deleteRow")},{default:cn(()=>[qs(Fa(Rx),{class:"size-3.5"})]),_:1})),void 0===e.data.globalRoute?ai("",!0):(Zo(),Fo(Fa(wKe),{key:1,class:"text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 h-fit",icon:Fa(xb),label:"Global cookies are shared across the whole workspace. Click to navigate.",size:"xs",tooltip:"top",variant:"ghost",onClick:f[5]||=t=>a("navigate",e.data.globalRoute)},null,8,["icon"])),e.data.isReadonly?(Zo(),Fo(bKe,{key:2,description:"This is a readonly property and you can not modify it! If you want to change it you have to override it or disable it using the checkbox",value:null})):e.data.schema?(Zo(),Fo(bKe,{key:3,description:e.data.description,schema:e.data.schema,value:n.value},null,8,["description","schema","value"])):ai("",!0)]),_:1},8,["aria-label","default","disabled","enum","environment","examples","linethrough","max","min","modelValue","type"])]),_:1}),e.showUploadButton?(Zo(),Fo(Fa(VNe),{key:0,class:"group/upload flex items-center justify-center whitespace-nowrap"},{default:cn(()=>[i.value?(Zo(),qo(Ls,{key:0},[Go("div",kKe,[Go("span",null,Kt(s.value),1)]),Go("button",{class:"bg-b-2 mt-1 block rounded p-0.5 text-center text-xs font-medium md:pointer-events-none md:absolute md:inset-x-1 md:top-1/2 md:mt-0 md:-translate-y-1/2 md:opacity-0 md:group-hover/upload:pointer-events-auto md:group-hover/upload:opacity-100",type:"button",onClick:f[8]||=e=>a("removeFile")}," Delete ")],64)):(Zo(),qo("div",SKe,[qs(Fa(tce),{class:"bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none",size:"sm",variant:"outlined",onClick:f[9]||=e=>a("uploadFile")},{default:cn(()=>[f[10]||=Go("span",null,"Select File",-1),qs(Fa(Ple),{class:"ml-1",icon:"Upload",size:"xs",thickness:"2.5"})]),_:1})]))]),_:1})):ai("",!0)]),_:1},8,["id","class"]))}})}),zJe=V(()=>{UJe(),_Ke=AKe}),HJe=V(()=>{tIe(),oIe(),mIe(),zJe(),Rc(),TKe=Pn({__name:"RequestTable",props:{data:{},hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},showUploadButton:{type:Boolean},showAddRowPlaceholder:{type:Boolean,default:!0},environment:{}},emits:["upsertRow","deleteRow","uploadFile","removeFile","navigate"],setup(e,{emit:t}){let a=t,r=ol(()=>e.showUploadButton?["36px","","","auto"]:["36px","",""]),n=ol(()=>{if(!e.showAddRowPlaceholder)return e.data;let t=e.data.at(-1);return t&&""===t.name&&""===t.value?e.data:[...e.data,{name:"",value:"",isDisabled:!0}]});return(t,o)=>(Zo(),Fo(Fa(HNe),{class:"group/table flex-1",columns:r.value},{default:cn(()=>[qs(Fa(lIe),{class:"sr-only !block"},{default:cn(()=>[qs(Fa(qNe),null,{default:cn(()=>[ei(Kt(e.label)+" Enabled",1)]),_:1}),qs(Fa(qNe),null,{default:cn(()=>[ei(Kt(e.label)+" Key",1)]),_:1}),qs(Fa(qNe),null,{default:cn(()=>[ei(Kt(e.label)+" Value",1)]),_:1})]),_:1}),(Zo(!0),qo(Ls,null,Yn(n.value,(t,r)=>(Zo(),Fo(_Ke,{key:r,data:t,environment:e.environment,hasCheckboxDisabled:e.hasCheckboxDisabled,invalidParams:e.invalidParams,label:e.label,showUploadButton:e.showUploadButton,onDeleteRow:e=>a("deleteRow",r),onNavigate:o[0]||=e=>a("navigate",e),onRemoveFile:e=>a("removeFile",r),onUploadFile:e=>a("uploadFile",r),onUpsertRow:e=>a("upsertRow",r,e)},null,8,["data","environment","hasCheckboxDisabled","invalidParams","label","showUploadButton","onDeleteRow","onRemoveFile","onUploadFile","onUpsertRow"]))),128))]),_:1},8,["columns"]))}})}),ZJe=V(()=>{_m(),HJe(),EKe=km(TKe,[["__scopeId","data-v-36811e28"]])}),VJe=V(()=>{VK(),UE(),uW(),KK(),CKe=e=>e instanceof File?e.name:"object"==typeof e&&e?JSON.stringify(e):String(e),PKe=(e,t=[],a=!0)=>{if(!NY(e)||!e.properties)return[];let r=new Set(e.required??[]),n=[];for(let[o,i]of bY(e.properties)){let e=jQ.schema(i),s=[...t,String(o)],l=a&&r.has(String(o));e&&NY(e)&&e.properties?n.push(...PKe(e,s,l)):n.push({path:s,schema:e,isRequired:l})}return n},MKe=(e,t,a=[])=>{let r=[],n=CE(e)?bY(e):[],o=new Map(n.map(([e,t])=>[String(e),t])),i=new Set,s=t&&NY(t)?t.properties??{}:{};for(let[e,t]of bY(s)){let n=String(e);i.add(n);let s=jQ.schema(t),l=[...a,n],c=o.get(n);s&&NY(s)&&s.properties?r.push(...MKe(c,s,l)):r.push({path:l,value:c})}for(let[e,t]of n){let n=String(e);i.has(n)||r.push({path:[...a,n],value:t})}return r},$Ke=(e,t,a)=>{if(!e?.value||"multipart/form-data"!==t&&"application/x-www-form-urlencoded"!==t)return[];let r=a&&NY(a)?a:void 0,n=r?new Set(r.required??[]):void 0,o=new Map;if(r)for(let e of PKe(r))o.set(e.path.join("."),e);let i=({name:e,value:t,isDisabled:a=!1})=>{let i={name:e,value:t,isDisabled:a};if(!r||!e)return i;let s=o.get(e),l=s?.schema??jQ.schema(r.properties?.[e]);return i.schema=l,i.description=l?.description,i.isRequired=s?.isRequired??n?.has(e)??!1,i};return Array.isArray(e.value)?e.value.map(e=>CE(e)?i({name:String(e.name),value:e.value instanceof File?e.value:String(e.value),isDisabled:!!e.isDisabled}):{name:"",value:e,isDisabled:!1}):"multipart/form-data"===t&&r&&"object"==typeof e.value?MKe(e.value,r).map(({path:e,value:t})=>{let a=t instanceof File?t:null==t?"":CKe(t);return i({name:e.join("."),value:a})}):"object"==typeof e.value&&e.value?bY(e.value).map(([e,t])=>i({name:String(e),value:CKe(t)})):[]}}),QJe=V(()=>{ace(),ZJe(),VJe(),Rc(),NKe=Pn({__name:"RequestBodyForm",props:{example:{},bodySchema:{},selectedContentType:{},environment:{}},emits:["update:formValue"],setup(e,{emit:t}){let a=t,r=Za([]);fn(()=>[e.example,e.bodySchema,e.selectedContentType],([e,t,a])=>{r.value=$Ke(e,a,t)},{immediate:!0});let n=e=>{a("update:formValue",e.map(e=>({name:e.name,value:e.value,isDisabled:e.isDisabled??!1})))},o=(e,t)=>{if(e>=r.value.length)return r.value=[...r.value,{name:"",value:"",...t,isDisabled:!1}],void n(r.value);r.value=r.value.map((a,r)=>r===e?{...a,...t}:a),n(r.value)},i=e=>{r.value=r.value.filter((t,a)=>a!==e),n(r.value)},s=e=>{let{open:t}=Wle({onChange:t=>{let a=t?.[0];if(a){let t=r.value[e];o(e,{name:t?.name||a.name,value:a})}},multiple:!1,accept:"*/*"});t()};return(t,a)=>"multipart/form-data"===e.selectedContentType?(Zo(),Fo(EKe,{key:0,data:r.value,environment:e.environment,showUploadButton:"",onDeleteRow:i,onRemoveFile:a[0]||=e=>o(e,{value:void 0}),onUploadFile:s,onUpsertRow:o},null,8,["data","environment"])):(Zo(),Fo(EKe,{key:1,data:r.value,environment:e.environment,onDeleteRow:i,onUpsertRow:o},null,8,["data","environment"]))}})}),qJe=V(()=>{QJe(),IKe=NKe}),FJe=V(()=>{Rc(),RKe=Pn({name:"ValueEmitter",props:{value:{}},emits:["change","unmount"],setup(e,{emit:t}){let a=t;return fn(()=>e.value,e=>a("change",e),{immediate:!0}),ns(()=>a("unmount")),(e,t)=>null}})}),WJe=V(()=>{FJe(),DKe=RKe}),XJe=V(()=>{WJe(),Rc(),Qle(),Am(),LKe=["aria-labelledby"],BKe={class:"text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]"},jKe=["id"],UKe={key:0,class:"sr-only"},zKe={key:0,class:"bg-b-2 text-c-2 inline-flex h-5 w-5 items-center justify-center rounded-full border text-xs font-semibold"},HKe={class:"sr-only"},ZKe={key:0,class:"ui-not-open:hidden flex items-center gap-2 pr-0.75"},VKe=Pn({name:"CollapsibleSection",props:{defaultOpen:{type:Boolean,default:!0},itemCount:{default:0},isStatic:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){let a=t,r=Mn();return(t,n)=>(Zo(),Fo(Fa(Yp),{as:"div",class:tt(["group/collapse text-c-2 focus-within:text-c-1 last:ui-open:border-b-0",{"last-of-type:first-of-type:border-b-0":e.isStatic,"border-b":!e.isStatic}]),defaultOpen:e.defaultOpen,static:e.isStatic},{default:cn(({open:o})=>[qs(DKe,{value:o,onChange:n[0]||=e=>a("update:modelValue",e)},null,8,["value"]),Go("section",{"aria-labelledby":Fa(r),class:"contents"},[Go("div",{class:tt(["bg-b-2 flex items-center",e.isStatic&&"rounded-t-xl border-x border-t"])},[qs(Fa(Kp),{class:tt(["hover:text-c-1 group box-content flex max-h-8 flex-1 items-center gap-2.5 overflow-hidden px-1 py-1.5 text-base font-medium outline-none md:px-1.5 xl:pr-0.5 xl:pl-2",e.isStatic&&"!pl-3"]),disabled:e.isStatic},{default:cn(()=>[e.isStatic?ai("",!0):(Zo(),Fo(Fa(Ple),{key:0,class:"text-c-3 group-hover:text-c-1 rounded-px ui-open:rotate-90 ui-not-open:rotate-0 outline-offset-2 group-focus-visible:outline",icon:"ChevronRight",size:"md"})),Go("h2",BKe,[Go("span",{id:Fa(r),class:"contents"},[Jn(t.$slots,"title",{open:o}),o?ai("",!0):(Zo(),qo("span",UKe," (Collapsed) "))],8,jKe),!o&&e.itemCount?(Zo(),qo("span",zKe,[ei(Kt(e.itemCount)+" ",1),Go("span",HKe,"Item"+Kt(1===e.itemCount?"":"s"),1)])):ai("",!0)])]),_:2},1032,["class","disabled"]),t.$slots.actions?(Zo(),qo("div",ZKe,[Jn(t.$slots,"actions",{open:o})])):ai("",!0)],2),qs(Fa(Jp),ii(t.$attrs,{class:"diclosure-panel h-full max-h-fit rounded-b"}),{default:cn(()=>[Jn(t.$slots,"default",{open:o})]),_:2},1040)],8,LKe)]),_:3},8,["class","defaultOpen","static"]))}})}),GJe=V(()=>{XJe(),QKe=VKe}),YJe=V(()=>{Ice(),iE(),Rc(),Am(),qKe=Pn({__name:"ScalarListboxItem",props:{option:{},multiselect:{type:Boolean}},setup(e){let t=XT({base:["group/item","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","truncate bg-transparent text-c-1","cursor-pointer hover:bg-b-2"],variants:{selected:{true:"text-c-1"},active:{true:"bg-b-2"},disabled:{true:"pointer-events-none opacity-50"}}});return(a,r)=>(Zo(),Fo(Fa(gh),{as:"template",disabled:e.option.disabled,value:e.option},{default:cn(({active:a,selected:r})=>[Go("li",{class:tt(Fa(GT)(Fa(t)({active:a,selected:r,disabled:e.option.disabled})))},[qs(pce,{multiselect:e.multiselect,selected:r},null,8,["multiselect","selected"]),Go("span",{class:tt(["inline-block min-w-0 flex-1 truncate",e.option.color?e.option.color:"text-c-1"])},Kt(e.option.label),3)],2)]),_:1},8,["disabled","value"]))}})}),KJe=V(()=>{YJe(),FKe=qKe}),JJe=V(()=>{Jde(),tpe(),KJe(),iE(),Rc(),Am(),WKe={class:"custom-scroll min-h-0 flex-1"},XKe=Pn({inheritAttrs:!1,__name:"ScalarListbox",props:{options:{},id:{},label:{},multiple:{type:Boolean},modelValue:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},emits:["update:modelValue"],setup(e){let{cx:t}=aE();return(a,r)=>(Zo(),Fo(Fa(ph),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||=e=>a.$emit("update:modelValue",e)},{default:cn(({open:r})=>[e.label?(Zo(),Fo(Fa(hh),{key:0,class:"sr-only"},{default:cn(()=>[ei(Kt(e.label),1)]),_:1})):ai("",!0),qs(Fa(Bde),ii(a.$props,{placement:e.placement??"bottom-start"}),{floating:cn(({width:a})=>[r?(Zo(),qo("div",ii({key:0,style:{width:a}},Fa(t)("relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm")),[Go("div",WKe,[qs(Fa(fh),{class:"flex flex-col gap-0.75 p-0.75 -outline-offset-1"},{default:cn(()=>[(Zo(!0),qo(Ls,null,Yn(e.options,t=>(Zo(),Fo(FKe,{key:t.id,multiselect:e.multiple,option:t},null,8,["multiselect","option"]))),128))]),_:1})]),qs(Fa(Ude))],16)):ai("",!0)]),default:cn(()=>[qs(Fa(mh),{id:e.id,as:"template"},{default:cn(()=>[Jn(a.$slots,"default",{open:r})]),_:2},1032,["id"])]),_:2},1040,["placement"])]),_:3},8,["modelValue","multiple"]))}})}),e0e=V(()=>{JJe(),GKe=XKe}),t0e=V(()=>{Rc(),YKe=Symbol(),KKe=()=>hn(YKe,!1),JKe=()=>{pn(YKe,!0)}}),a0e=V(()=>{t0e(),iE(),Rc(),eJe=Pn({inheritAttrs:!1,__name:"ScalarFormInput",props:{is:{default:"button"}},setup(e){let{cx:t}=aE(),a=KKe(),r=XT({base:["bg-b-1.5 flex items-center text-c-2 gap-0.75 p-3 text-base","outline-offset-[-1px] has-[:focus-visible]:outline"],variants:{grouped:{true:"first:rounded-t-[inherit] last:rounded-b-[inherit]",false:"rounded shadow-border"},button:{true:"cursor-pointer hover:bg-b-2"}}});return(n,o)=>(Zo(),Fo(Wn(e.is),ii({type:"button"===e.is?"button":void 0},Fa(t)(Fa(r)({button:"button"===e.is,grouped:Fa(a)}))),{default:cn(()=>[Jn(n.$slots,"default")]),_:3},16,["type"]))}})}),r0e=V(()=>{a0e(),tJe=eJe}),n0e=V(()=>{Ice(),e0e()}),o0e=V(()=>{aJe={"multipart/form-data":"Multipart Form","application/x-www-form-urlencoded":"Form URL Encoded","application/octet-stream":"Binary File","application/json":"JSON","application/xml":"XML","application/yaml":"YAML","application/edn":"EDN",other:"Other",none:"None"}}),i0e=V(()=>{ace(),JNe(),tIe(),oIe(),mIe(),fIe(),qJe(),GJe(),Rc(),lce(),n0e(),VK(),Qle(),LJ(),gA(),bC(),o0e(),uW(),rJe={key:0,class:"text-c-3 flex min-h-10 w-full items-center justify-center border-t p-2 text-sm"},nJe={key:1,class:"flex items-center justify-center overflow-hidden border-t p-1.5"},oJe={class:"text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap"},iJe=Pn({__name:"RequestBody",props:{requestBody:{},exampleKey:{},title:{},environment:{},requestBodyCompositionSelection:{}},emits:["update:contentType","update:value","update:formValue"],setup(e,{emit:t}){let a=t,r={"application/json":"json","application/xml":"xml","application/yaml":"yaml"},n=ol(()=>vq(e.requestBody,e.exampleKey)??"none"),o=e=>iA(e).essence,i=ol(()=>{let t=bY(aJe).map(([e,t])=>({id:e,label:t}));return[...t,...Object.keys(e.requestBody?.content??{}).filter(e=>!(e in aJe)&&!(o(e)in aJe)).map(e=>({id:e,label:o(e)}))]}),s=ol({get:()=>{let e=i.value.find(e=>e.id===n.value);if(e)return e;let t=o(n.value),a=aJe[t]??t;return{id:n.value,label:a}},set:e=>{a("update:contentType",{value:e.id})}});let l=ol(()=>e.requestBody&&gq(e.requestBody,n.value,e.exampleKey,e.requestBodyCompositionSelection)),c=ol(()=>{if(!l.value)return"";let e=l.value.value;return"string"==typeof e?e:JSON.stringify(e,null,2)}),u=ol(()=>jQ.schema(e.requestBody?.content?.[n.value]?.schema));return(t,o)=>(Zo(),Fo(Fa(QKe),null,{title:cn(()=>[ei(Kt(e.title),1)]),default:cn(()=>[qs(Fa(HNe),{columns:[""],presentational:""},{default:cn(()=>[qs(Fa(qNe),{class:"relative col-span-full flex h-8 cursor-pointer items-center justify-between border-r-0 !p-0"},{default:cn(()=>[qs(Fa(GKe),{modelValue:s.value,"onUpdate:modelValue":o[0]||=e=>s.value=e,options:i.value,teleport:""},{default:cn(()=>[qs(Fa(tce),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-3 font-normal",fullWidth:"",variant:"ghost"},{default:cn(()=>[Go("span",null,Kt(s.value.label),1),qs(Fa(Ple),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["modelValue","options"])]),_:1}),qs(Fa(lIe),null,{default:cn(()=>["none"===n.value?(Zo(),qo("div",rJe,[...o[5]||=[Go("span",null,"No Body",-1)]])):"application/octet-stream"===n.value?(Zo(),qo("div",nJe,[void 0===Fa(cIe)(Fa(hC)(l.value?.value))?(Zo(),Fo(Fa(tce),{key:1,class:"bg-b-2 hover:bg-b-3 text-c-2 border-0 shadow-none",size:"sm",variant:"outlined",onClick:o[2]||=()=>function(e){let{open:t}=Wle({onChange:t=>{let a=t?.[0];a&&e(a)},multiple:!1,accept:"*/*"});t()}(e=>a("update:value",{payload:e,contentType:n.value}))},{default:cn(()=>[o[7]||=Go("span",null,"Select File",-1),qs(Fa(Ple),{class:"ml-1",icon:"Upload",size:"xs",thickness:"2.5"})]),_:1})):(Zo(),qo(Ls,{key:0},[Go("span",oJe,Kt(Fa(cIe)(Fa(hC)(l.value?.value))),1),qs(Fa(tce),{class:"bg-b-2 hover:bg-b-3 text-c-2 ml-1 border-0 shadow-none",size:"sm",variant:"outlined",onClick:o[1]||=e=>a("update:value",{payload:void 0,contentType:n.value})},{default:cn(()=>[...o[6]||=[ei(" Delete ",-1)]]),_:1})],64))])):"multipart/form-data"===n.value||"application/x-www-form-urlencoded"===n.value?(Zo(),Fo(IKe,{key:2,bodySchema:u.value,environment:e.environment,example:l.value,selectedContentType:n.value,"onUpdate:formValue":o[3]||=e=>a("update:formValue",{payload:e,contentType:n.value})},null,8,["bodySchema","environment","example","selectedContentType"])):(Zo(),Fo(Fa(BNe),{key:3,class:"border-t px-3",content:"",environment:e.environment,language:r[n.value]??"plaintext",lineNumbers:"",lint:"",modelValue:c.value,withFakeData:"","onUpdate:modelValue":o[4]||=e=>a("update:value",{payload:e,contentType:n.value})},null,8,["environment","language","modelValue"]))]),_:1})]),_:1})]),_:1}))}})}),s0e=V(()=>{_m(),i0e(),sJe=km(iJe,[["__scopeId","data-v-aff33ea6"]])}),l0e=V(()=>{I6(),lJe="shell/curl",cJe=e=>TJ.includes(e),uJe=e=>cJe(e)||"string"==typeof e&&e.startsWith("custom/"),dJe=(e,t)=>{let a=t=>{for(let a of e){let e=a.options.find(e=>e.id===t);if(e)return e}},r=e.find(e=>"custom"===e.key)?.options[0];if(t?.startsWith("custom"))return a(t)??r??a("shell/curl")??e[0]?.options[0];if(t){let e=a(t);if(e)return e}return r||(a("shell/curl")??e[0]?.options[0])}}),c0e=V(()=>{pJe=(e,t)=>Object.entries(e??{}).map(([e,a])=>({lang:e,source:a,...t?{label:t}:{}})),hJe=e=>e?(Array.isArray(e)?e:[e]).flatMap(e=>pJe(e.request,e.title)):[],mJe=e=>(e??[]).map(e=>({lang:e.language,source:e.code,...e.name?{label:e.name}:{}})),fJe="SDK",gJe="Code Examples",vJe=e=>{let t=e["x-scalar-examples"]??[];if(t.length)return{label:fJe,samples:t};let a=pJe(e["x-stainless-snippets"]);if(a.length)return{label:fJe,samples:a};let r=hJe(e["x-stainless-examples"]);if(r.length)return{label:fJe,samples:r};let n=mJe(e["x-readme"]?.["code-samples"]);return n.length?{label:gJe,samples:n}:{label:gJe,samples:["x-custom-examples","x-codeSamples","x-code-samples"].flatMap(t=>e[t]??[])}}}),u0e=V(()=>{bJe=(e="")=>(e[0]?.toUpperCase()??"")+e.slice(1)}),d0e=V(()=>{u0e(),yJe={c:"C",clojure:"Clojure",cpp:"C++","c++":"C++",csharp:"C#","c#":"C#",css:"CSS",curl:"cURL",dart:"Dart",fsharp:"F#","f#":"F#",go:"Go",golang:"Go",graphql:"GraphQL",html:"HTML",http:"HTTP",java:"Java",javascript:"JavaScript",js:"JavaScript",json:"JSON",kotlin:"Kotlin",node:"Node.js",nodejs:"Node.js",objc:"Objective-C","objective-c":"Objective-C",ocaml:"OCaml",php:"PHP",powershell:"PowerShell",py:"Python",python:"Python",r:"R",ruby:"Ruby",rust:"Rust",scala:"Scala",sh:"Shell",shell:"Shell",bash:"Shell",sql:"SQL",swift:"Swift",ts:"TypeScript",typescript:"TypeScript",xml:"XML",yaml:"YAML",yml:"YAML"},OJe=e=>{if(e)return yJe[e.toLowerCase()]??bJe(e)}}),p0e=V(()=>{d0e(),R6(),c0e(),xJe=(e,t,a=gJe)=>{if(e.length){let r=w6(e);return[{label:a,key:"custom",options:e.map((e,t)=>{let a=r[t]??`custom/${t}`,n=e.label||OJe(e.lang)||a;return{id:a,lang:e.lang||"plaintext",title:n,label:n,clientKey:"custom"}})},...t]}return t}}),h0e=V(()=>{NK(),wJe=e=>e.flatMap(e=>"apiKey"===e.type?e["x-scalar-secret-token"]:"http"===e?.type?[e["x-scalar-secret-token"],e["x-scalar-secret-username"],e["x-scalar-secret-password"],VW(`${e["x-scalar-secret-username"]}:${e["x-scalar-secret-password"]}`)]:"oauth2"===e.type?Object.values(e.flows).map(e=>e["x-scalar-secret-token"]):[]).filter(Boolean)}),m0e=V(()=>{kJe=typeof OVERRIDE_PACKAGE_VERSION<"u"?OVERRIDE_PACKAGE_VERSION:"3.10.3"}),f0e=V(()=>{jE(),bC(),UE(),SJe=e=>{let t=new WeakSet,a=new WeakMap,r=e=>{if(!CE(e)&&!Array.isArray(e))return e;let n=hC(e,{depth:1});if(a.has(n))return a.get(n);if(t.has(n))return"[circular]";if(t.add(n),"$ref"in e){let t=r(EE(e));return a.set(n,t),t}if(Array.isArray(e)){let t=e.map(r);return a.set(n,t),t}let o=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,r(t)]));return a.set(n,o),o};return r(e)}});function g0e(e){return e.replace(/[&<>"']/g,e=>b0e[e]??e)}function v0e(e,t={}){let{indent:a="  ",format:r=!0,xmlDeclaration:n=!0}=t,o=(e,t,r)=>{let n="";if(Array.isArray(e))for(let a=0,i=e.length;a<i;a++)n+=o(e[a],t,r);else if("object"==typeof e&&e){let i=!1,s="",l="";for(let t in e)"@"===t.charAt(0)&&(s+=" "+t.substr(1)+'="'+g0e(e[t].toString())+'"');for(let t in e)if("#text"===t)l+=g0e(e[t]?.toString()??"");else if("#cdata"===t){l+="<![CDATA["+(e[t]?.toString()??"").replace(/]]>/g,"]]]]><![CDATA[>")+"]]>"}else"@"!==t.charAt(0)&&(i=!0,l+=o(e[t],t,r+a));i||l?(n+=r+"<"+t+s+">\n",n+=l,n+=r+"</"+t+">\n"):n+=r+"<"+t+s+"/>\n"}else n+=r+"<"+t+">"+g0e(e?.toString()||"")+"</"+t+">\n";return n},i="";n&&(i+='<?xml version="1.0" encoding="UTF-8"?>',r&&(i+="\n"));for(let t in e)Object.hasOwn(e,t)&&(i+=o(e[t],t,""));return r?i.trim():i.replace(/\n/g,"").replace(/>\s+</g,"><").trim()}var b0e,y0e,O0e,x0e,w0e,k0e,S0e,A0e,_0e,T0e,E0e,C0e,P0e,M0e,$0e,N0e,I0e,R0e,D0e,L0e,B0e,j0e,U0e,z0e,H0e,Z0e,V0e,Q0e,q0e,F0e,W0e=V(()=>{b0e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"}}),X0e=V(()=>{f0e(),LJ(),jE(),W0e(),bC(),y0e=(e,t,a,r=!1)=>{let n=[],o=Array.isArray(e)?e.filter(e=>!e.isDisabled).map(e=>[String(e.name),e.value]):Object.entries(e);for(let[e,i]of o){if(null==i)continue;let o=a?void 0:t?.[e],s=o&&(void 0!==o.style||void 0!==o.explode||void 0!==o.allowReserved),l=s||!r?void 0:o?.contentType,c=a?null:_q(e,i,o);if(c)for(let e of c)n.push({name:e.key,value:e.value});else if(i instanceof File){let t=hC(i);n.push({name:e,value:`@${t.name}`,...l?{contentType:l}:{}})}else if(l&&"object"==typeof i)n.push({name:e,value:JSON.stringify(hC(i)),contentType:l});else if(!r||a||s||"object"!=typeof i||Array.isArray(i))if(Array.isArray(i))for(let t of i)if(t instanceof File){let a=hC(t);n.push({name:e,value:`@${a.name}`})}else r&&!a&&!s&&"object"==typeof t&&t?n.push({name:e,value:JSON.stringify(hC(t)),contentType:"application/json"}):n.push({name:e,value:String(t)});else if("object"==typeof i){let t=y0e(i,void 0,e);for(let a of t)n.push({name:`${e}.${a.name}`,value:a.value})}else n.push({name:e,value:String(i),...l?{contentType:l}:{}});else n.push({name:e,value:JSON.stringify(hC(i)),contentType:"application/json"})}return n},O0e=({requestBody:e,contentType:t,example:a,requestBodyCompositionSelection:r})=>{let n=t||Object.keys(e.content)[0]||"",o="other"===n?"":n,i=e=>`@${hC(e).name||"filename"}`,s=e.content[n]?.encoding,l="multipart/form-data"===n||"application/x-www-form-urlencoded"===n,c="application/xml"===n,u=gC(e,a,t)?.value;if(void 0!==u){let e="object"==typeof u&&u?hC(u):u;return l&&"object"==typeof e&&e?{mimeType:o,params:y0e(e,s,void 0,"multipart/form-data"===n)}:c&&"object"==typeof e&&e?{mimeType:o,text:v0e(e)}:e instanceof File?{mimeType:o,text:i(e)}:{mimeType:o,text:"string"==typeof e?e:JSON.stringify(e)}}let d=EE(e.content[n]?.schema);if(void 0!==d){let e=fq(SJe(d),{compositionSelection:r,mode:"write",xml:c},{schemaPath:["requestBody"]});if(void 0!==e)return l&&"object"==typeof e&&e?{mimeType:o,params:y0e(e,s,void 0,"multipart/form-data"===n)}:c&&"object"==typeof e&&e?{mimeType:o,text:v0e(e)}:{mimeType:o,text:"string"==typeof e?e:JSON.stringify(e)}}}}),G0e=V(()=>{BE(),LJ(),jE(),x0e=e=>(e??[]).map(e=>EE(e)),w0e=e=>"allowReserved"in e&&void 0!==e.allowReserved?e.allowReserved:!!("schema"in e&&e.schema&&"object"==typeof e.schema&&"allowReserved"in e.schema)&&!0===e.schema.allowReserved,k0e=(e,t)=>w0e(t)?e:encodeURIComponent(e),S0e=e=>{if("header"===e.in)return{style:"simple",explode:"explode"in e&&void 0!==e.explode&&e.explode};if("cookie"===e.in)return{style:"form",explode:!("explode"in e)||void 0===e.explode||e.explode};let t={path:"simple",query:"form",header:"simple",cookie:"form"}[e.in],a="style"in e&&e.style?e.style:t;return{style:a,explode:"explode"in e&&void 0!==e.explode?e.explode:"form"===a}},A0e=(e,t,a,r)=>{let n=gC(e,t,a);if(AE(e,n,r))return;if(void 0!==n?.value)return pY(n.value,e);if(!("schema"in e)||!e.schema)return;let o="path"===e.in?{emptyString:`{${e.name}}`}:{};return fq(EE(e.schema),o)},_0e=({harRequest:e,parameters:t,example:a,defaultDisabled:r})=>{let n=[...e.headers],o=[...e.queryString],i=e.url,s=x0e(t);for(let t of s){if(!t.in||!t.name)continue;let s=A0e(t,a,void 0,r);if(void 0===s)continue;let{style:l,explode:c}=S0e(t);switch(t.in){case"path":i=T0e(i,t,s,l,c);break;case"query":if("content"in t&&t.content){let e=bq(s,Object.keys(t.content)[0]??"application/json");o.push({name:t.name,value:k0e(e,t)});break}switch(l){case"form":{let e=Oq(s,c);if(Array.isArray(e))for(let a of e){let e=a.key||t.name;o.push({name:e,value:k0e(String(a.value),t)})}else o.push({name:t.name,value:k0e(String(e),t)});break}case"spaceDelimited":{let e=wq(s);o.push({name:t.name,value:k0e(e,t)});break}case"pipeDelimited":{let e=kq(s);o.push({name:t.name,value:k0e(e,t)});break}case"deepObject":if(Array.isArray(s)){let e=Oq(s,!0);if(Array.isArray(e))for(let a of e){let e=a.key||t.name;o.push({name:e,value:k0e(String(a.value),t)})}else o.push({name:t.name,value:k0e(String(e),t)})}else{let e=Sq(t.name,s);for(let a of e)o.push({name:a.key,value:k0e(a.value,t)})}break;default:o.push({name:t.name,value:k0e(String(s),t)})}break;case"header":{let e=yq(s,c);n.push({name:t.name,value:String(e)});break}case"cookie":{let a=xq(s,c);if(Array.isArray(a))for(let r of a){let a=r.key||t.name,n=null===r.value?"null":String(r.value);e.cookies.push({name:a,value:n})}else{let r=null===a?"null":String(a);e.cookies.push({name:t.name,value:r})}break}}}return{url:i,headers:n,queryString:o,cookies:e.cookies}},T0e=(e,t,a,r,n)=>{switch(r){case"matrix":if(n){if(Array.isArray(a)){let r=a.map(e=>`${t.name}=${e}`).join(";");return e.replace(`{;${t.name}}`,`;${r}`)}if("object"==typeof a&&a){let r=Object.entries(a).map(([e,t])=>`${e}=${t}`).join(";");return e.replace(`{;${t.name}}`,`;${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${a}`)}if(Array.isArray(a))return e.replace(`{;${t.name}}`,`;${t.name}=${a.join(",")}`);if("object"==typeof a&&a){let r=Object.entries(a).map(([e,t])=>`${e},${t}`).join(",");return e.replace(`{;${t.name}}`,`;${t.name}=${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${a}`);case"label":if(n){if(Array.isArray(a))return e.replace(`{.${t.name}}`,`.${a.join(".")}`);if("object"==typeof a&&a){let r=Object.entries(a).map(([e,t])=>`${e}=${t}`).join(".");return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${a}`)}if(Array.isArray(a))return e.replace(`{.${t.name}}`,`.${a.join(",")}`);if("object"==typeof a&&a){let r=Object.entries(a).map(([e,t])=>`${e},${t}`).join(",");return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${a}`);case"simple":{let r=yq(a,n);return e.replace(`{${t.name}}`,String(r))}default:return e.replace(`{${t.name}}`,String(a))}}}),Y0e=V(()=>{NK(),E0e=e=>{let t={headers:[],queryString:[],cookies:[]};for(let a of e){if("apiKey"===a.type){let e=a["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";if(!a.name)continue;let r={name:a.name,value:e};switch(a.in){case"header":t.headers.push(r);break;case"query":t.queryString.push(r);break;case"cookie":t.cookies.push(r)}continue}if("http"!==a.type){if("oauth2"===a.type&&a.flows){let e=Object.values(a.flows).find(e=>e["x-scalar-secret-token"])?.["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";t.headers.push({name:"Authorization",value:`Bearer ${e}`})}}else if("basic"===a.scheme){let e=`${a["x-scalar-secret-username"]||""}:${a["x-scalar-secret-password"]||""}`,r=":"===e?"username:password":VW(e);t.headers.push({name:"Authorization",value:`Basic ${r}`})}else if("bearer"===a.scheme){let e=a["x-scalar-secret-token"]||"YOUR_SECRET_TOKEN";t.headers.push({name:"Authorization",value:`Bearer ${e}`})}}return t}}),K0e=V(()=>{xW(),uA(),C0e=(e,t)=>{if(!e?.url)return t;let a=e.url;return e.variables?WS(gW(a,Object.entries(e.variables).reduce((e,[t,a])=>(void 0!==a.default&&(e[t]=a.default),e),{})),t):WS(a,t)}}),J0e=V(()=>{m0e(),X0e(),G0e(),Y0e(),K0e(),LJ(),qA(),jE(),P0e=({includeDefaultHeaders:e=!1,operation:t,contentType:a,method:r,path:n,server:o=null,example:i,securitySchemes:s,globalCookies:l,requestBodyCompositionSelection:c,defaultDisabledParameters:u=!1})=>{let d=AY(e?CY({method:r,operation:t,exampleName:i??"default",hideDisabledHeaders:!0,hideOverriddenHeaders:!0,options:{isElectron:AA(),appVersion:kJe}}):{}),p=t["x-scalar-disable-parameters"]?.["global-cookies"]?.[i??"default"]??{},h={method:r,url:C0e(o,n),headers:Object.entries(d).map(([e,t])=>({name:e,value:t})),queryString:[],postData:void 0,httpVersion:"HTTP/1.1",cookies:[],headersSize:-1,bodySize:-1};if(t.parameters){let{url:e,headers:a,queryString:r,cookies:n}=_0e({harRequest:h,parameters:t.parameters,example:i,defaultDisabled:u}),o=l?.filter(t=>qW({cookie:t,url:e,disabledGlobalCookies:p}))?.map(e=>({name:e.name,value:e.value}))??[];h.url=e,h.headers=a,h.queryString=r,h.cookies=[...o,...n]}let m=EE(t.requestBody);if(m?.content){let e=O0e({requestBody:m,contentType:a,example:i,requestBodyCompositionSelection:c});if(e&&(h.postData=e,h.bodySize=e.text?.length??-1,e.mimeType)){let t=h.headers.find(e=>"content-type"===e.name.toLowerCase());t&&!t.value?t.value=e.mimeType:t||h.headers.push({name:"Content-Type",value:e.mimeType})}}if(s){let{headers:e,queryString:t,cookies:a}=E0e(s);h.headers.push(...e),h.queryString.push(...t),h.cookies.push(...a)}let f=0;for(let e of h.headers)f+=(e.name?.length??0)+2+(e.value?.length??0)+2;return h.headersSize=f,h}}),e1e=V(()=>{I6(),M0e="ws://replace.me",$0e=(e,t,a)=>{try{if(!a.url)return[Error("Please enter a URL to see a code snippet"),null];let r=a.url.startsWith("/")?"":"/";try{new URL(a.url)}catch{a.url=`${M0e}${r}${a.url}`}if("application/json"===a.postData?.mimeType)try{JSON.parse(a.postData.text||"{}")}catch(e){return console.error("[getSnippet] Invalid JSON body",e),[Error("Invalid JSON body"),null]}let n=e.replace("javascript","js");if(x6().hasPlugin(n,t)){let e=x6().print(n,t,a);return e?[null,e.replace(`${M0e}${r}`,"")]:[Error("Error generating snippet"),null]}}catch(e){return console.error("[getSnippet] Error generating snippet",e),[Error("Error generating snippet"),null]}return[Error("No snippet found"),null]}}),t1e=V(()=>{J0e(),R6(),e1e(),N0e=({clientId:e,customCodeSamples:t,includeDefaultHeaders:a=!1,operation:r,method:n,path:o,example:i,contentType:s,server:l,securitySchemes:c,globalCookies:u,requestBodyCompositionSelection:d,defaultDisabledParameters:p})=>{try{if(!e)return"";if(e.startsWith("custom"))return t[w6(t).indexOf(e)]?.source??"Custom example not found";let h=P0e({operation:r,contentType:s,method:n,path:o,server:l,securitySchemes:c,example:i,globalCookies:u,includeDefaultHeaders:a,requestBodyCompositionSelection:d,defaultDisabledParameters:p}),[m,f]=e.split("/"),[g,v]=$0e(m,f,h);return g?(console.error("[generateCodeSnippet]",g),g.message??"Error generating code snippet"):v}catch(e){return console.error("[generateCodeSnippet]",e),"Error generating code snippet"}}}),a1e=V(()=>{iE(),Rc(),I0e=Pn({inheritAttrs:!1,__name:"ScalarCopyBackdrop",setup(e){let{cx:t}=aE();return(e,a)=>(Zo(),qo("div",at(Ko(Fa(t)("absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded"))),null,16))}})}),r1e=V(()=>{a1e(),R0e=I0e}),n1e=V(()=>{r1e(),iE(),Rc(),ZS(),D0e={"aria-hidden":"true",class:"flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%"},L0e={key:0,class:"whitespace-nowrap px-1.5"},B0e={key:0,class:"sr-only",role:"alert"},j0e={key:1,class:"sr-only"},U0e=Pn({inheritAttrs:!1,__name:"ScalarCopyButton",props:io({showLabel:{type:Boolean},placement:{default:"right"}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){let t=wo(e,"copied"),{cx:a}=aE(),r=ol(()=>t.value?cg:Ag);return(n,o)=>(Zo(),qo("button",ii({type:"button"},Fa(a)("group/copy-button relative z-0 flex items-center justify-center","size-6 p-1.25 -m-1 rounded text-xs bg-b-2",t.value?"text-c-1":"text-c-2 hover:text-c-1")),[qs(Gl,{enterActiveClass:"transition-transform",enterFromClass:"scale-0",enterToClass:"scale-100",leaveActiveClass:"transition-transform",leaveFromClass:"scale-100",leaveToClass:"scale-0",mode:"out-in"},{default:cn(()=>[(Zo(),Fo(Wn(r.value),{class:"size-full"}))]),_:1}),o[4]||=Go("div",{class:"bg-inherit rounded-[inherit] absolute inset-0 -z-1"},null,-1),Go("div",{class:tt(["group/copy-label absolute flex items-center -inset-y-0.5 rounded",{"left-0 pl-[100%]":"right"===e.placement,"right-0 pr-[100%]":"left"===e.placement}])},[Go("div",D0e,[qs(Gl,{enterActiveClass:"transition-transform ease-out",enterFromClass:"translate-y-1.5",enterToClass:"translate-y-0",leaveActiveClass:"transition-transform ease-in",leaveFromClass:"translate-y-0",leaveToClass:"-translate-y-1.5",mode:"out-in"},{default:cn(()=>[t.value?(Zo(),qo("div",L0e,[Jn(n.$slots,"copied",{},()=>[o[0]||=ei("Copied",-1)])])):(Zo(),qo("div",{key:1,class:tt(["whitespace-nowrap px-1.5",{"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])},[Jn(n.$slots,"copy",{},()=>[o[1]||=ei("Copy",-1)])],2))]),_:3})]),t.value?(Zo(),qo("div",B0e,[Jn(n.$slots,"copied",{},()=>[o[2]||=ei("Copied",-1)])])):(Zo(),qo("div",j0e,[Jn(n.$slots,"copy",{},()=>[o[3]||=ei("Copy",-1)])])),Jn(n.$slots,"backdrop",{},()=>[qs(R0e)])],2)],16))}})}),o1e=V(()=>{n1e(),z0e=U0e}),i1e=V(()=>{o1e(),Rc(),Jpe(),H0e=Pn({__name:"ScalarCopy",props:io({content:{default:""},placement:{},showLabel:{type:Boolean},duration:{default:1500},immediate:{type:Boolean}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){let t=wo(e,"copied");ts(()=>{e.immediate&&a(e.content)});let{copy:a,copied:r}=Npe({legacy:!0,copiedDuring:e.duration});return fn(r,e=>t.value=e),(n,o)=>(Zo(),Fo(z0e,{copied:t.value||Fa(r),placement:e.placement,showLabel:e.showLabel,onClick:o[0]||=t=>Fa(a)(e.content)},Kn({_:2},[n.$slots.copy?{name:"copy",fn:cn(()=>[Jn(n.$slots,"copy")]),key:"0"}:void 0,n.$slots.copied?{name:"copied",fn:cn(()=>[Jn(n.$slots,"copied")]),key:"1"}:void 0,n.$slots.backdrop?{name:"backdrop",fn:cn(()=>[Jn(n.$slots,"backdrop")]),key:"2"}:void 0]),1032,["copied","placement","showLabel"]))}})}),s1e=V(()=>{i1e(),Z0e=H0e}),l1e=V(()=>{V0e={bash:"Bash",c:"C",clojure:"Clojure",cpp:"C++",csharp:"C#",css:"CSS",curl:"cURL",dart:"Dart",diff:"Diff",docker:"Docker",dockerfile:"Dockerfile",elixir:"Elixir",fsharp:"F#",go:"Go",graphql:"GraphQL",haskell:"Haskell",html:"HTML",http:"HTTP",ini:"INI",java:"Java",javascript:"JavaScript",json:"JSON",kotlin:"Kotlin",less:"Less",lua:"Lua",makefile:"Makefile",markdown:"Markdown",matlab:"MATLAB",nginx:"Nginx",objectivec:"Objective-C",ocaml:"OCaml",perl:"Perl",php:"PHP",plaintext:"Plain Text",powershell:"PowerShell",properties:"Properties",python:"Python",r:"R",ruby:"Ruby",rust:"Rust",scala:"Scala",scss:"SCSS",shell:"Shell",sql:"SQL",swift:"Swift",toml:"TOML",typescript:"TypeScript",xml:"XML",yaml:"YAML"}}),c1e=V(()=>{s1e(),l1e(),iE(),Rc(),Q0e={class:"hidden group-hocus-within/code-block:inline"},q0e=Pn({inheritAttrs:!1,__name:"ScalarCodeBlockCopy",props:io({showLang:{type:Boolean},content:{},lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){let t=wo(e,"copied"),a=ol(()=>"string"==typeof e.content?e.content:JSON.stringify(e.content,null,2)),r=e=>e in V0e,{cx:n}=aE();return(o,i)=>(Zo(),Fo(Fa(Z0e),ii({content:a.value,showLabel:"",copied:t.value,"onUpdate:copied":i[0]||=e=>t.value=e,placement:"left"},{...Fa(n)(t.value?"opacity-100":"opacity-0 group-hocus-within/code-block:opacity-100")}),Kn({backdrop:cn(()=>[Jn(o.$slots,"backdrop")]),_:2},[e.lang?{name:"copy",fn:cn(()=>[Go("span",Q0e,[e.showLang?(Zo(),qo("span",{key:0,class:tt(["group-hocus/copy-button:sr-only",{capitalize:!r(e.lang)}])},Kt(r(e.lang)?Fa(V0e)[e.lang]:e.lang),3)):ai("",!0),Go("span",{class:tt({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},"Copy",2)])]),key:"0"}:void 0]),1040,["content","copied"]))}})}),u1e=V(()=>{c1e(),F0e=q0e});var d1e,p1e,h1e,m1e,f1e,g1e,v1e,b1e,y1e,O1e,x1e,w1e,k1e,S1e,A1e,_1e,T1e,E1e,C1e,P1e,M1e,$1e,N1e=V(()=>{d1e=e=>{if("string"==typeof e)try{let t=JSON.parse(e);return"object"==typeof t&&t?JSON.stringify(t,null,2):e}catch{return e}return"object"==typeof e?function(e){let t=new Set;return JSON.stringify(e,(e,a)=>{if("object"==typeof a&&a){if(t.has(a))return"[Circular]";t.add(a)}return a},2)}(e):e?.toString()??""}}),I1e=V(()=>{r1e(),u1e(),iE(),Rc(),_Je(),N1e(),p1e={tabindex:"0",class:"custom-scroll overflow-x-auto p-2 -outline-offset-2 min-h-0 min-w-0 flex-1"},h1e=["id","innerHTML"],m1e=Pn({inheritAttrs:!1,__name:"ScalarCodeBlock",props:{content:{},prettyPrintedContent:{},lang:{default:"plaintext"},lineNumbers:{type:Boolean,default:!1},hideCredentials:{},copy:{type:[String,Boolean],default:"hover"}},setup(e){let t=Mn(),a=ol(()=>e.prettyPrintedContent||d1e(e.content??"")),r=ol(()=>_Ze(a.value,{lang:e.lang.trim(),languages:vZe,lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),n=ol(()=>!a.value.includes("\n")),o=ol(()=>null!==a.value&&"null"!==a.value&&"404 Not Found"!==a.value),{cx:i}=aE();return(s,l)=>(Zo(),qo("div",at(Ko(Fa(i)("scalar-code-block group/code-block flex flex-col","relative bg-b-1 min-h-0 min-w-0 focus-visible:outline"))),[Go("div",p1e,[Go("pre",{id:Fa(t),class:"m-0 bg-transparent text-nowrap whitespace-pre w-fit",innerHTML:r.value},null,8,h1e)]),e.copy&&o.value?(Zo(),Fo(Fa(F0e),{key:0,class:tt(["scalar-code-copy absolute",[n.value?"top-1/2 -translate-y-1/2 m-0 right-1":"top-2.5 right-2.5",{"opacity-100":"always"===e.copy}]]),content:a.value,showLang:!n.value,lang:e.lang,"aria-controls":Fa(t)},{backdrop:cn(()=>[qs(R0e,{class:tt(["scalar-code-copy-backdrop",[n.value?"-inset-y-0.75 -right-1 group-hocus-within/code-block:-left-0.5 left-3":"-right-1.5 -top-1"]])},null,8,["class"])]),_:1},8,["class","content","showLang","lang","aria-controls"])):ai("",!0)],16))}})}),R1e=V(()=>{I1e(),f1e=m1e}),D1e=V(()=>{R1e(),u1e()}),L1e=V(()=>{Rc(),g1e={key:1,class:"rounded border bg-b-2 p-3 text-sm"},v1e={key:0,class:"mt-2 rounded border bg-b-1 p-2 font-code text-c-2"},b1e=Pn({__name:"ScalarErrorBoundary",setup(e){let t=Za(!1),a=Za();return qn((e,r,n)=>(console.error("[ERROR]",e,n),t.value=!0,a.value=e,!1)),(e,r)=>t.value?(Zo(),qo("div",g1e,[r[0]||=Go("div",{class:"p-2"},"Oops, something went wrong here.",-1),a.value?(Zo(),qo("div",v1e,Kt(a.value?.name)+": "+Kt(a.value?.message),1)):ai("",!0)])):Jn(e.$slots,"default",{key:0})}})}),B1e=V(()=>{L1e(),y1e=b1e}),j1e=V(()=>{B1e()}),U1e=V(()=>{tIe(),mIe(),l0e(),c0e(),p0e(),h0e(),t1e(),GJe(),Rc(),lce(),ZS(),lpe(),D1e(),j1e(),O1e={class:"flex flex-1"},x1e={class:"overflow-hidden"},w1e=Pn({__name:"RequestCodeSnippet",props:{integration:{},clientOptions:{},selectedClient:{},selectedServer:{default:null},selectedContentType:{},selectedExample:{},eventBus:{},securitySchemes:{},method:{},path:{},operation:{},fallback:{type:Boolean},generateLabel:{type:Function},isWebhook:{type:Boolean},globalCookies:{},requestBodyCompositionSelection:{}},setup(e){let t=ol(()=>vJe(e.operation)),a=ol(()=>xJe(t.value.samples,e.clientOptions,t.value.label)),r=Za(dJe(a.value,e.selectedClient));fn([()=>e.selectedClient,a],([e])=>{let t=dJe(a.value,e);t&&(r.value=t)});let n=ol(()=>wJe(e.securitySchemes??[])),o=t=>{r.value=t,t&&e.eventBus.emit("workspace:update:selected-client",t.id)},i=ol(()=>N0e({defaultDisabledParameters:!0,clientId:r.value?.id,customCodeSamples:t.value.samples,operation:e.operation,method:e.method,path:e.path,contentType:e.selectedContentType,server:e.selectedServer,securitySchemes:e.securitySchemes,example:e.selectedExample,globalCookies:e.globalCookies,includeDefaultHeaders:"client"===e.integration})),s=ol(()=>a.value.some(e=>e.options.length>0));return(e,t)=>un((Zo(),Fo(Fa(QKe),{class:"group/preview w-full border-t",defaultOpen:!1},{title:cn(()=>[...t[1]||=[ei("Code Snippet",-1)]]),actions:cn(()=>[Go("div",O1e,[qs(Fa(Vde),{modelValue:r.value,options:a.value,placement:"bottom-end","onUpdate:modelValue":t[0]||=e=>o(e)},{default:cn(({open:e})=>[qs(Fa(tce),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-0.5 py-0 text-base font-normal","data-testid":"client-picker",variant:"ghost"},{default:cn(()=>[ei(Kt(r.value?.title)+" ",1),qs(Fa(jf),{class:tt(["mt-0.25 size-3 transition-transform duration-100",e&&"rotate-180"]),weight:"bold"},null,8,["class"])]),_:2},1024)]),_:1},8,["modelValue","options"])])]),default:cn(()=>[qs(Fa(y1e),null,{default:cn(()=>[qs(Fa(HNe),{columns:[""],presentational:""},{default:cn(()=>[qs(Fa(lIe),null,{default:cn(()=>[Go("div",x1e,[qs(Fa(f1e),{class:"text-base",content:i.value,hideCredentials:n.value,lang:r.value?.lang??"plaintext",lineNumbers:""},null,8,["content","hideCredentials","lang"])])]),_:1})]),_:1})]),_:1})]),_:1},512)),[[ac,s.value]])}})}),z1e=V(()=>{U1e(),k1e=w1e}),H1e=V(()=>{ZJe(),GJe(),Rc(),lce(),Pfe(),S1e={class:"text-c-2 request-meta-buttons flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100"},A1e={class:"sr-only"},_1e=Pn({__name:"RequestParams",props:{rows:{},exampleKey:{},title:{},label:{},invalidParams:{},globalRoute:{},showAddRowPlaceholder:{type:Boolean,default:!0},environment:{},eventBus:{}},emits:["upsert","delete","deleteAll"],setup(e,{emit:t}){let a=t,r=ol(()=>e.rows.length>1),n=(e,t)=>{let{value:r,...n}=t;r instanceof File||a("upsert",e,{...n,value:r??""})};return(t,o)=>(Zo(),Fo(Fa(QKe),{class:"group/params",itemCount:e.rows.length},{title:cn(()=>[ei(Kt(e.title),1)]),actions:cn(()=>[Go("div",S1e,[r.value?(Zo(),Fo(Fa(xfe),{key:0,content:"Clear optional parameters",placement:"left"},{default:cn(()=>[qs(Fa(tce),{class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:o[0]||=Ac(e=>a("deleteAll"),["stop"])},{default:cn(()=>[o[3]||=ei(" Clear ",-1),Go("span",A1e,"All "+Kt(e.title),1)]),_:1})]),_:1})):ai("",!0)])]),default:cn(()=>[qs(EKe,{class:"flex-1",columns:["32px","",""],data:e.rows,environment:e.environment,exampleKey:e.exampleKey,globalRoute:e.globalRoute,invalidParams:e.invalidParams,label:e.label,showAddRowPlaceholder:e.showAddRowPlaceholder,onDeleteRow:o[1]||=e=>a("delete",{index:e}),onNavigate:o[2]||=t=>e.eventBus.emit("ui:navigate",t),onUpsertRow:n},null,8,["data","environment","exampleKey","globalRoute","invalidParams","label","showAddRowPlaceholder"])]),_:1},8,["itemCount"]))}})}),Z1e=V(()=>{H1e(),T1e=_1e}),V1e=V(()=>{YK(),E1e=e=>null==e||""===e,C1e=(e,t,a)=>{let r={};for(let n of t){if(n.originalParameter!==e.originalParameter||!n.sourceParameterValuePath||n===e&&!a)continue;let t=n===e?a?.value:n.value;E1e(t)||$Y(r,n.sourceParameterValuePath,t)}return{name:e.originalParameter?.name??a?.name??e.name,value:r,isDisabled:a?.isDisabled??e.isDisabled??!1}},P1e=(e,t,a,{context:r,defaultParameters:n=0,globalParameters:o=0,onDeleteExpandedRow:i})=>{let s=n+o;return{delete:n=>{let o=r[n.index];if(o?.originalParameter){if(o.sourceParameterValuePath)return i?.(o),t.emit("operation:upsert:parameter",{type:e,payload:C1e(o,r),originalParameter:o.originalParameter,meta:a},{skipUnpackProxy:!0});t.emit("operation:delete:parameter",{originalParameter:o.originalParameter,meta:a},{skipUnpackProxy:!0})}},deleteAll:()=>t.emit("operation:delete-all:parameters",{type:e,meta:a}),upsert:(i,l)=>{let c=r[i];if(i<n+o){let r=i<n?"default":"global";return t.emit("operation:update:extra-parameters",{type:r,in:e,meta:{...a,name:c?.name?.toLowerCase?.()??"NON_VALID"},payload:{isDisabled:l.isDisabled??!1}})}if(i>=s){let n=c?.sourceParameterValuePath&&c.originalParameter?C1e(c,r,l):l;return t.emit("operation:upsert:parameter",{type:e,payload:n,originalParameter:c?.originalParameter??null,meta:a},{skipUnpackProxy:!0,debounceKey:`update:parameter-${e}-${i-s}`})}}}}}),Q1e=V(()=>{M1e=e=>{if("content"in e&&e.content){let t=Object.keys(e.content);return 1===t.length?e.content[t[0]]:void 0}}}),q1e=V(()=>{Q1e(),jE(),$1e=e=>"schema"in e&&e.schema?EE(e.schema):EE(M1e(e)?.schema)});function F1e(e,t){return t.reduce((e,t)=>{if(null!=e)return e[t]},e)}var W1e,X1e,G1e,Y1e,K1e,J1e,e2e,t2e,a2e,r2e,n2e,o2e=V(()=>{}),i2e=V(()=>{BE(),q1e(),o2e(),LJ(),jE(),KK(),W1e=e=>"schema"in e&&void 0!==e.schema,X1e=e=>EE(e),G1e=e=>{let t="style"in e&&e.style?e.style:"form";return{style:t,explode:"explode"in e&&void 0!==e.explode?e.explode:"form"===t}},Y1e=(e,t)=>{if("query"!==e.in||!W1e(e)||!t||!NY(t))return null;let{style:a,explode:r}=G1e(e);return r?"form"===a?"form":"deepObject"===a?"deepObject":null:null},K1e=e=>null==e?"":Array.isArray(e)?e.join(","):"object"==typeof e?JSON.stringify(e):String(e),J1e=e=>e.join("\0"),e2e=({parameter:e,name:t,value:a,description:r,schema:n,isRequired:o,isDisabled:i,sourceParameterValuePath:s})=>({name:t,value:K1e(a),description:r,schema:n,isRequired:o,isDisabled:i,originalParameter:e,sourceParameterValuePath:s}),t2e=(e,t,a,r)=>e2e({parameter:e,name:e.name,value:a,description:e.description,schema:t,isRequired:e.required,isDisabled:r}),a2e=({parameter:e,schema:t,value:a,pathPrefix:r,namePrefix:n,mode:o,isDisabled:i,hiddenValuePaths:s})=>{if(!t.properties)return[];let l=new Set(t.required??[]);return Object.entries(t.properties).flatMap(([t,c])=>{let u=X1e(c);if(!u)return[];let d=[...r,t],p=n?`${n}[${t}]`:t;return s.has(J1e(d))?[]:"deepObject"===o&&NY(u)&&u.properties?a2e({parameter:e,schema:u,value:a,pathPrefix:d,namePrefix:p,mode:o,isDisabled:i,hiddenValuePaths:s}):[e2e({parameter:e,name:p,value:F1e(a,d),description:u.description??e.description,schema:u,isRequired:l.has(t),isDisabled:i,sourceParameterValuePath:d})]})},r2e=(e,t,a={})=>{let r=gC(e,t,void 0),n=AE(e,r),o=$1e(e),i=Y1e(e,o);if(null===i||!o||!NY(o))return[t2e(e,o,r?.value,n)];let s=void 0===r?.value?void 0:pY(r.value,e);if(!o.properties)return[t2e(e,o,r?.value,n)];let l=new Set(a.hiddenValuePaths?.map(J1e)??[]);return a2e({parameter:e,schema:o,value:s,pathPrefix:[],namePrefix:"deepObject"===i?e.name:"",mode:i,isDisabled:n,hiddenValuePaths:l})}}),s2e=V(()=>{n2e=(e,t,a)=>e.reduce((e,r)=>{let n=a?a(r):r;return(e[r[t]]??=[]).push(n),e},{})});function l2e(){return Ma({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var c2e,u2e,d2e,p2e,h2e,m2e,f2e,g2e,v2e,b2e,y2e,O2e,x2e,w2e,k2e,S2e,A2e,_2e,T2e,E2e,C2e,P2e,M2e,$2e,N2e,I2e,R2e,D2e,L2e,B2e,j2e,U2e,z2e,H2e,Z2e,V2e,Q2e,q2e,F2e,W2e,X2e,G2e,Y2e,K2e,J2e,e8e,t8e,a8e,r8e,n8e,o8e,i8e,s8e,l8e,c8e,u8e,d8e,p8e,h8e,m8e,f8e=V(()=>{BJe(),iE(),Rc(),ZS(),Am(),c2e={key:0,class:"close-button z-10 fixed right-2 top-2"},u2e={},d2e=Pn({...u2e,__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:"md"},variant:{}},emits:["close"],setup(e,{emit:t}){let a=t,r=XT({base:["scalar-modal","flex flex-col relative mb-0 rounded-lg bg-b-1 p-0 text-left leading-snug text-c-1 opacity-0 w-[calc(100vw-12px)] md:w-[calc(100vw-16px)] lg:w-[calc(100vw-32px)]"].join(" "),variants:{size:{xxs:"mt-[20svh] max-h-[60svh] max-w-[360px]",xs:"mt-[20svh] max-h-[60svh] max-w-[480px]",sm:"mt-[20svh] max-h-[60svh] max-w-[540px]",md:"mt-[20svh] max-h-[60svh] max-w-[640px]",lg:"m-auto max-h-[80svh] max-w-[800px]",xl:"m-auto max-h-[90svh] max-w-[1000px]",full:"full-size-styles max-h-dvh mt-0 lg:w-full"},variant:{form:"scalar-modal-form",search:"scalar-modal-search mt-[15svh] max-h-[60svh] max-w-[540px]",error:"scalar-modal-error"}}}),n=XT({base:["scalar-modal-body","relative flex-1 min-h-0 p-3"].join(" "),variants:{variant:{form:"overflow-visible",search:"flex flex-col !m-0 overflow-hidden p-0",error:"overflow-y-scroll"},size:{xxs:"",xs:"",sm:"",md:"",lg:"",xl:"m-0 p-0",full:" rounded-none"}}});return(t,o)=>(Zo(),Fo(Fa(Zp),{open:e.state.open,onClose:o[1]||=()=>{e.state.hide(),a("close")}},{default:cn(()=>[Go("div",{class:tt(Fa(GT)("full"===e.size?"scalar-modal-layout-full":"scalar-modal-layout","fixed left-0 top-0 flex items-start justify-center","z-overlay h-dvh w-dvw","bg-backdrop opacity-0 dark:bg-backdrop-dark","full"===e.size&&"flex"))},[qs(Fa(Vp),{class:tt(Fa(r)({size:e.size,variant:e.variant})),style:Je({maxWidth:e.maxWidth})},{default:cn(()=>[e.title?(Zo(),Fo(Fa(Qp),{key:0,class:"scalar-modal-header m-0 -mb-1 rounded-lg pt-3 px-3 text-left text-sm font-medium text-c-1"},{default:cn(()=>[ei(Kt(e.title),1)]),_:1})):ai("",!0),"full"===e.size?(Zo(),qo("div",{key:1,class:tt(e.bodyClass)},[Jn(t.$slots,"default",{},void 0,!0)],2)):(Zo(),qo("div",{key:2,class:tt(Fa(GT)(Fa(n)({size:e.size,variant:e.variant}),e.bodyClass))},[Jn(t.$slots,"default",{},void 0,!0)],2))]),_:3},8,["class","style"]),"full"===e.size?(Zo(),qo("div",c2e,[qs(Fa(wKe),{class:"hover:bg-b-3 focus:outline-none",icon:Fa(Cw),label:"Close modal",onClick:o[0]||=t=>e.state.hide()},null,8,["icon"])])):ai("",!0)],2)]),_:3},8,["open"]))}})}),g8e=V(()=>{U6(),f8e(),p2e=P6(d2e,[["__scopeId","data-v-5bb1dcc2"]])}),v8e=V(()=>{f8e(),g8e()}),b8e=V(()=>{Rc(),lce(),v8e(),h2e={class:"text-c-2 mb-4 text-sm leading-normal"},m2e={class:"flex justify-between gap-2"},f2e=Pn({__name:"DeleteRequestAuthModal",props:{state:{},label:{}},emits:["close","delete"],setup(e,{emit:t}){let a=t,r=()=>{a("delete")};return(t,n)=>(Zo(),Fo(Fa(p2e),{size:"xxs",state:e.state,title:"Delete Security Scheme"},{default:cn(()=>[Go("p",h2e," This cannot be undone. You're about to delete the "+Kt(e.label)+" security scheme from the collection. ",1),Go("div",m2e,[qs(Fa(tce),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"button",variant:"outlined",onClick:n[0]||=e=>a("close")},{default:cn(()=>[...n[1]||=[ei(" Cancel ",-1)]]),_:1}),qs(Fa(tce),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"submit",onClick:r},{default:cn(()=>[ei(" Delete "+Kt(e.label),1)]),_:1})])]),_:1},8,["state"]))}})}),y8e=V(()=>{b8e(),g2e=f2e}),O8e=V(()=>{v2e={apiKeyCookie:{label:"API Key in Cookies",payload:{type:"apiKey",in:"cookie",name:"apiKeyCookie"}},apiKeyHeader:{label:"API Key in Headers",payload:{type:"apiKey",in:"header",name:"apiKeyHeader"}},apiKeyQuery:{label:"API Key in Query Params",payload:{type:"apiKey",in:"query",name:"apiKeyQuery"}},httpBasic:{label:"HTTP Basic",payload:{type:"http",scheme:"basic"}},httpBearer:{label:"HTTP Bearer",payload:{type:"http",scheme:"bearer"}},oauth2Implicit:{label:"Oauth2 Implicit Flow",payload:{type:"oauth2",flows:{implicit:{authorizationUrl:"",refreshUrl:"",scopes:{}}}}},oauth2Password:{label:"Oauth2 Password Flow",payload:{type:"oauth2",flows:{password:{tokenUrl:"",refreshUrl:"",scopes:{}}}}},oauth2ClientCredentials:{label:"Oauth2 Client Credentials",payload:{type:"oauth2",flows:{clientCredentials:{tokenUrl:"",refreshUrl:"",scopes:{}}}}},oauth2AuthorizationFlow:{label:"Oauth2 Authorization Code",payload:{type:"oauth2",flows:{authorizationCode:{authorizationUrl:"",tokenUrl:"",refreshUrl:"","x-usePkce":"no",scopes:{}}}}}}}),x8e=V(()=>{b2e=e=>{let t=0,a=0,r=e.length,n=15&r,o=r-n,i=2277735313,s=1291169091,l=1390208809,c=944331445;for(let r=0;r<o;r+=16){let n=255&e.charCodeAt(r)|(255&e.charCodeAt(r+1))<<8|(255&e.charCodeAt(r+2))<<16|(255&e.charCodeAt(r+3))<<24,o=255&e.charCodeAt(r+4)|(255&e.charCodeAt(r+5))<<8|(255&e.charCodeAt(r+6))<<16|(255&e.charCodeAt(r+7))<<24,u=255&e.charCodeAt(r+8)|(255&e.charCodeAt(r+9))<<8|(255&e.charCodeAt(r+10))<<16|(255&e.charCodeAt(r+11))<<24,d=255&e.charCodeAt(r+12)|(255&e.charCodeAt(r+13))<<8|(255&e.charCodeAt(r+14))<<16|(255&e.charCodeAt(r+15))<<24;n=Math.imul(n,i),n=n<<15|n>>>17,n=Math.imul(n,s),t^=n,t=t<<13|t>>>19,t=Math.imul(t,5)+3864292196,o=Math.imul(o,s),o=o<<16|o>>>16,o=Math.imul(o,l),a^=o,a=a<<17|a>>>15,a=Math.imul(a,5)+461845907,u=Math.imul(u,l),u=u<<17|u>>>15,u=Math.imul(u,c),t^=u,t=t<<15|t>>>17,t=Math.imul(t,5)+1390208809,d=Math.imul(d,c),d=d<<18|d>>>14,d=Math.imul(d,i),a^=d,a=a<<13|a>>>19,a=Math.imul(a,5)+944331445}if(n>0){let r=0,u=0,d=0,p=0;n>=15&&(p^=(255&e.charCodeAt(o+14))<<16),n>=14&&(p^=(255&e.charCodeAt(o+13))<<8),n>=13&&(p^=255&e.charCodeAt(o+12),p=Math.imul(p,c),p=p<<18|p>>>14,p=Math.imul(p,i),a^=p),n>=12&&(d^=(255&e.charCodeAt(o+11))<<24),n>=11&&(d^=(255&e.charCodeAt(o+10))<<16),n>=10&&(d^=(255&e.charCodeAt(o+9))<<8),n>=9&&(d^=255&e.charCodeAt(o+8),d=Math.imul(d,l),d=d<<17|d>>>15,d=Math.imul(d,c),t^=d),n>=8&&(u^=(255&e.charCodeAt(o+7))<<24),n>=7&&(u^=(255&e.charCodeAt(o+6))<<16),n>=6&&(u^=(255&e.charCodeAt(o+5))<<8),n>=5&&(u^=255&e.charCodeAt(o+4),u=Math.imul(u,s),u=u<<16|u>>>16,u=Math.imul(u,l),a^=u),n>=4&&(r^=(255&e.charCodeAt(o+3))<<24),n>=3&&(r^=(255&e.charCodeAt(o+2))<<16),n>=2&&(r^=(255&e.charCodeAt(o+1))<<8),n>=1&&(r^=255&e.charCodeAt(o),r=Math.imul(r,i),r=r<<15|r>>>17,r=Math.imul(r,s),t^=r)}return t^=r,a^=r,t+=a,a+=t,t^=t>>>16,t=Math.imul(t,2246822507),t^=t>>>13,t=Math.imul(t,3266489909),t^=t>>>16,a^=a>>>16,a=Math.imul(a,2246822507),a^=a>>>13,a=Math.imul(a,3266489909),a^=a>>>16,t+=a,a+=t,(t>>>0).toString(16).padStart(8,"0")+(a>>>0).toString(16).padStart(8,"0")}}),w8e=V(()=>{O8e(),jE(),x8e(),y2e=e=>JSON.stringify(Object.keys(e)),O2e=({name:e,value:t})=>({id:b2e(JSON.stringify(t)),label:e,value:t,isDeletable:!0}),x2e=e=>O2e({name:Object.keys(e).join(" & "),value:e}),w2e=(e,t)=>{let a=Object.keys(e);return a.length>1?x2e(e):a[0]&&EE(t[a[0]])?O2e({name:a[0],value:e}):void 0},k2e=(e,t,a,r=!1)=>{let n=new Map(a.map(e=>[y2e(e),e])),{requiredFormatted:o,requiredSchemeNames:i,existingIds:s}=e.reduce((e,a)=>{let r=w2e(n.get(y2e(a))??a,t);r&&(e.requiredFormatted.push(r),e.existingIds.add(r.id));for(let t of Object.keys(a))e.requiredSchemeNames.add(t);return e},{requiredFormatted:[],requiredSchemeNames:new Set,existingIds:new Set}),l=[];for(let[e,a]of Object.entries(t))if(!i.has(e)&&EE(a)){let t=O2e({name:e,value:{[e]:[]}});l.push(t),s.add(t.id)}for(let e of a){let a=w2e(e,t);a&&!s.has(a.id)&&(l.push(a),s.add(a.id))}let c=[{label:"Required authentication",options:o},{label:"Available authentication",options:l}];return r?(c.push({label:"Add new authentication",options:Object.entries(v2e).map(([e,t])=>({id:e,label:t.label,value:{[e]:[]},payload:t.payload,isDeletable:!1}))}),c):o.length?c:l}}),k8e=V(()=>{Ahe(),JNe(),rIe(),Rc(),ZS(),jJe(),S2e=["for"],A2e={class:"relative flex min-w-0 flex-1"},_2e=["readOnly","type","value"],T2e={key:1,class:"centered-y text-orange absolute right-7 text-xs"},E2e=Pn({inheritAttrs:!1,__name:"DataTableInput",props:{id:{},type:{},containerClass:{},required:{type:Boolean,default:!1},modelValue:{},canAddCustomEnumValue:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},enum:{},min:{},max:{},environment:{},description:{},lineWrapping:{type:Boolean,default:!1},withFakeData:{type:Boolean,default:!0}},emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],setup(e,{emit:t}){let a=e,r=t,n=Za(!0),o=Za(!1),i=Nn("codeInput"),s=()=>!o.value&&r("inputBlur"),l=ol(()=>"password"===a.type?"text":a.type??"text"),c=()=>{!a.enum?.length&&!a.readOnly&&i.value?.focus()};return(t,o)=>(Zo(),Fo(VNe,{class:tt(["relative flex",e.containerClass])},{default:cn(()=>[t.$slots.default?(Zo(),qo("div",{key:0,class:"text-c-1 flex items-center pr-0 pl-3",for:e.id??"",onClick:c},[Jn(t.$slots,"default",{},void 0,!0),o[6]||=ei(": ",-1)],8,S2e)):ai("",!0),Go("div",A2e,[a.enum&&a.enum.length?(Zo(),Fo(ghe,{key:0,canAddCustomValue:a.canAddCustomEnumValue,modelValue:a.modelValue,value:a.enum,"onUpdate:modelValue":o[0]||=e=>r("update:modelValue",e)},null,8,["canAddCustomValue","modelValue","value"])):(Zo(),qo(Ls,{key:1},[n.value&&"password"===e.type?(Zo(),qo("input",ii({key:0},e.id?{...t.$attrs,id:e.id}:t.$attrs,{autocomplete:"off",class:["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none px-2 py-1.25 -outline-offset-1",{"scalar-password-input":"password"===e.type}],"data-1p-ignore":"",readOnly:e.readOnly,spellcheck:"false",type:l.value,value:e.modelValue,onInput:o[1]||=e=>r("update:modelValue",e.target.value??"")}),null,16,_2e)):(Zo(),Fo(Fa(BNe),ii({key:1},t.$attrs,{id:e.id,ref_key:"codeInput",ref:i,class:["text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1",["password"===e.type&&e.description&&"pr-12",e.description&&"pr-8","password"===e.type&&"scalar-password-input"]],description:e.description,disableCloseBrackets:"",disableTabIndent:"",environment:e.environment,lineWrapping:!!e.lineWrapping,max:e.max,min:e.min,modelValue:e.modelValue??"",readOnly:e.readOnly,required:!!e.required,spellcheck:"false",type:l.value,withFakeData:e.withFakeData,onBlur:s,onFocus:o[2]||=e=>r("inputFocus"),"onUpdate:modelValue":o[3]||=e=>r("update:modelValue",e)}),null,16,["id","class","description","environment","lineWrapping","max","min","modelValue","readOnly","required","type","withFakeData"]))],64))]),t.$slots.warning?(Zo(),qo("div",T2e,[Jn(t.$slots,"warning",{},void 0,!0)])):ai("",!0),Jn(t.$slots,"icon",{},void 0,!0),e.modelValue?(Zo(),Fo(Fa(wKe),{key:2,class:"-ml-.25 h-6 w-6 self-center p-1.25",icon:Fa(Cw),label:"Clear Value",onClick:o[4]||=e=>r("update:modelValue","")},null,8,["icon"])):ai("",!0),"password"===e.type?(Zo(),Fo(Fa(wKe),{key:3,class:"-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25","data-testid":"data-table-password-toggle",icon:n.value?Fa(Xg):Fa(rv),label:n.value?"Show Password":"Hide Password",onClick:o[5]||=e=>n.value=!n.value},null,8,["icon","label"])):ai("",!0)]),_:3},8,["class"]))}})}),S8e=V(()=>{_m(),k8e(),C2e=km(E2e,[["__scopeId","data-v-1ee3c31d"]])}),A8e=V(()=>{S8e(),Rc(),P2e=["for"],M2e=Pn({__name:"RequestAuthDataTableInput",props:io({containerClass:{},environment:{},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{modelValue:{default:"",required:!0},modelModifiers:{}}),emits:io(["inputFocus","inputBlur","selectVariable"],["update:modelValue"]),setup(e,{emit:t}){let a=t,r=wo(e,"modelValue"),n=Mn();return(t,o)=>(Zo(),Fo(Fa(C2e),ii({id:Fa(n)},t.$attrs,{modelValue:r.value,"onUpdate:modelValue":o[0]||=e=>r.value=e,canAddCustomEnumValue:!e.readOnly,containerClass:e.containerClass,environment:e.environment,lineWrapping:"",readOnly:e.readOnly,required:e.required,type:e.type,onInputBlur:o[1]||=e=>a("inputBlur"),onInputFocus:o[2]||=e=>a("inputFocus"),onSelectVariable:o[3]||=e=>a("selectVariable",e)}),{default:cn(()=>[Go("label",{for:Fa(n)},[Jn(t.$slots,"default")],8,P2e)]),icon:cn(()=>[Jn(t.$slots,"icon")]),_:3},16,["id","modelValue","canAddCustomEnumValue","containerClass","environment","readOnly","required","type"]))}})}),_8e=V(()=>{A8e(),$2e=M2e}),T8e=V(()=>{Rc(),lce(),iE(),N2e={class:"flex gap-2"},I2e={class:"flex max-h-8 flex-1"},R2e=Pn({name:"CommandActionForm",props:{loader:{},disabled:{type:Boolean,default:!1}},emits:["submit","cancel","back"],setup(e,{emit:t}){let a=t,{cx:r}=aE(),n=()=>{e.disabled||a("submit")};return(t,a)=>(Zo(),qo("form",{class:"flex w-full flex-col gap-3",onKeydown:a[0]||=Tc(Ac(()=>{},["stop"]),["enter"]),onSubmit:Ac(n,["prevent","stop"])},[Go("div",at(Ko(Fa(r)("relative flex min-h-20 flex-col rounded"))),[Jn(t.$slots,"default")],16),Go("div",N2e,[Go("div",I2e,[Jn(t.$slots,"options")]),qs(Fa(tce),{class:"max-h-8 px-3 text-xs",disabled:e.disabled,loader:e.loader,type:"submit"},{default:cn(()=>[Jn(t.$slots,"submit",{},()=>[a[1]||=ei("Continue",-1)])]),_:3},8,["disabled","loader"])])],32))}})}),E8e=V(()=>{T8e(),D2e=R2e}),C8e=V(()=>{Rc(),L2e=["placeholder"],B2e=Pn({name:"CommandActionInput",inheritAttrs:!1,props:{modelValue:{},placeholder:{},autofocus:{type:Boolean,default:!0}},emits:["update:modelValue","delete"],setup(e,{emit:t}){let a=t,r=Za(null),n=ol({get:()=>e.modelValue??"",set:e=>a("update:modelValue",e)});ts(()=>{en(()=>{e.autofocus&&r.value?.focus()})});let o=e=>{if(e.shiftKey||!e.target)return;e.preventDefault();let t=e.target,a=new Event("submit",{cancelable:!0});t.form?.dispatchEvent(a)},i=e=>{""===n.value&&(e.preventDefault(),e.stopPropagation(),a("delete",e))};return(t,a)=>un((Zo(),qo("textarea",ii({id:"command-action-input",ref_key:"input",ref:r,"onUpdate:modelValue":a[0]||=e=>n.value=e,class:"min-h-8 w-full flex-1 resize-none border border-transparent py-1.5 pl-8.5 text-sm outline-none focus:border-b-1",placeholder:e.placeholder??"",wrap:"hard"},t.$attrs,{onKeydown:[Tc(i,["delete"]),Tc(o,["enter"])]}),null,16,L2e)),[[bc,n.value]])}})}),P8e=V(()=>{C8e(),j2e=B2e}),M8e=V(()=>{E8e(),P8e(),Rc(),v8e(),U2e={class:"flex min-h-8 items-start gap-2 text-sm"},z2e={class:"flex min-h-8 items-start gap-2 text-sm"},H2e={key:0,class:"text-red text-xs",role:"alert"},Z2e=Pn({__name:"OAuthScopesAddModal",props:{state:{},scopes:{},scope:{default:null}},emits:["cancel","submit"],setup(e,{emit:t}){let a=t,r=ol(()=>null!==e.scope),n=ol(()=>r.value?"Edit Scope":"Add Scope"),o=ol(()=>r.value?"Save":"Add Scope"),i=Za({name:"",description:""}),s=Za(!1);fn(()=>i.value.name,()=>{s.value=!0});let l=ol(()=>i.value.name.trim()),c=ol(()=>!(!l.value||r.value&&l.value===e.scope?.name)&&e.scopes.includes(l.value)),u=ol(()=>c.value?`A scope named "${l.value}" already exists.`:s.value&&!l.value?"Scope name is required.":null),d=ol(()=>!l.value||c.value),p=()=>{d.value||(a("submit",{name:l.value,description:i.value.description,...r.value&&e.scope?{oldName:e.scope.name}:{}}),e.state.hide())};return fn(()=>e.state.open,t=>{t&&(i.value=e.scope?{name:e.scope.name,description:e.scope.description}:{name:"",description:""},en(()=>{s.value=!1}))}),(t,r)=>(Zo(),Fo(Fa(p2e),{bodyClass:"overflow-y-auto",size:"xs",state:e.state,title:n.value},{default:cn(()=>[qs(Fa(D2e),{disabled:d.value,onCancel:r[2]||=e=>a("cancel"),onSubmit:p},{submit:cn(()=>[ei(Kt(o.value),1)]),default:cn(()=>[Go("div",U2e,[r[3]||=ei(" Name: ",-1),qs(Fa(j2e),{modelValue:i.value.name,"onUpdate:modelValue":r[0]||=e=>i.value.name=e,autofocus:"",class:"field-sizing-content !p-0",placeholder:"read:user"},null,8,["modelValue"])]),Go("div",z2e,[r[4]||=ei(" Description: ",-1),qs(Fa(j2e),{modelValue:i.value.description,"onUpdate:modelValue":r[1]||=e=>i.value.description=e,autofocus:!1,class:"field-sizing-content !p-0",placeholder:"Read user data"},null,8,["modelValue"])]),u.value?(Zo(),qo("div",H2e,Kt(u.value),1)):ai("",!0)]),_:1},8,["disabled"])]),_:1},8,["state","title"]))}})}),$8e=V(()=>{M8e(),V2e=Z2e}),N8e=V(()=>{nce(),BJe(),iE(),Rc(),ZS(),Q2e=["aria-label"],q2e=Pn({inheritAttrs:!1,__name:"ScalarSearchInput",props:io({loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=wo(e,"modelValue"),a=Za(null);function r(){t.value="",a.value&&a.value.focus()}let{stylingAttrsCx:n,otherAttrs:o}=aE();return(i,s)=>(Zo(),qo("label",at(Ko(Fa(n)("flex items-center text-lg font-medium h-10 pl-3 pr-1.5 py-2 gap-2.25"))),[qs(Fa(jy),{class:"text-sidebar-c-search size-4"}),un(Go("input",ii({ref_key:"inputRef",ref:a},Fa(o),{"onUpdate:modelValue":s[0]||=e=>t.value=e,"aria-label":e.label??"Enter search query",autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"flex-1 appearance-none rounded border-none bg-transparent outline-none",placeholder:"Search...",spellcheck:"false",type:"search"}),null,16,Q2e),[[bc,t.value]]),e.loader&&e.loader.isActive?(Zo(),Fo(Fa(Yle),{key:0,class:"mr-1",loader:e.loader,size:"lg"},null,8,["loader"])):t.value?(Zo(),Fo(Fa(wKe),{key:1,class:"-my-1",icon:Fa(Cw),label:"Clear Search",size:"sm",weight:"bold",onClick:Ac(r,["stop","prevent"])},null,8,["icon"])):ai("",!0)],16))}})}),I8e=V(()=>{N8e(),F2e=q2e}),R8e=V(()=>{I8e()}),D8e=V(()=>{rIe(),vIe(),mIe(),$8e(),Rc(),lce(),ZS(),v8e(),Qle(),jJe(),Am(),R8e(),W2e={class:"flex h-fit w-full"},X2e={class:"group/scopes-accordion flex h-auto min-h-8 items-center gap-1.5 pr-2.25 pl-3 text-left"},G2e={class:"flex shrink-0 items-center gap-1.75"},Y2e={class:"grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-auto",style:{gridTemplateColumns:"1fr auto"}},K2e={class:"no-scrollbar text-c-2 group-hover/scope-row:text-c-1 flex min-h-8 min-w-0 flex-1 items-center gap-1 overflow-x-auto px-3 py-1.5 pr-20 text-xs text-nowrap"},J2e={class:"font-code shrink-0 text-xs"},e8e={class:"whitespace-nowrap"},t8e=Pn({__name:"OAuthScopesInput",props:{flowType:{},flow:{},selectedScopes:{}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){let a=t,r=Za(""),n=Za(null),o=ol(()=>Object.entries(e.flow?.scopes??{}).map(([e,t])=>({id:e,label:e,description:t}))),i=ol(()=>Object.keys(e.flow?.scopes??{}).length),s=ol(()=>i.value>=10),l=ol(()=>{let e=s.value?r.value:"";if(!e)return o.value;let t=new RegExp(e.split("").map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*"),"i");return o.value.filter(({label:e,description:a})=>t.test(`${e} ${a}`))}),c=ol(()=>Object.keys(e.flow?.scopes??{}).length>0),u=ol(()=>e.selectedScopes.length===Object.keys(e.flow?.scopes??{}).length),d=(t,r)=>{if(r)return a("update:selectedScopes",{scopes:Array.from(new Set([...e.selectedScopes,t]))});a("update:selectedScopes",{scopes:e.selectedScopes.filter(e=>e!==t)})},p=()=>a("update:selectedScopes",{scopes:Object.keys(e.flow?.scopes??{})}),h=()=>a("update:selectedScopes",{scopes:[]}),m=l2e(),f=Za(0),g=Za(!1);fn(c,(e,t)=>{t&&!e&&(g.value=!1,f.value+=1)});let v=()=>{n.value=null,m.show()},b=e=>{n.value={name:e.id,description:e.description??""},m.show()},y=async t=>{let r=!t.oldName;a("upsert:scope",{scope:t.name,description:t.description,flowType:e.flowType,...t.oldName?{oldScope:t.oldName}:{},...r?{enable:!0}:{}}),r&&(g.value=!0,f.value+=1,await en(),g.value=!1)},O=t=>{a("delete:scope",{scope:t,flowType:e.flowType})};return(t,a)=>(Zo(),Fo(Fa(VNe),{class:"h-auto !max-h-[initial] min-h-8 items-center"},{default:cn(()=>[Go("div",W2e,[a[6]||=Go("div",{class:"text-c-1 h-full items-center"},null,-1),(Zo(),Fo(Fa(Yp),{key:f.value,as:"div",class:"bl flex w-full flex-col",defaultOpen:g.value},{default:cn(()=>[Go("div",X2e,[qs(Fa(Kp),{class:tt(["min-w-0 flex-1 text-left",c.value?"hover:text-c-1 cursor-pointer":"cursor-default",(e.selectedScopes.length||0)>0?"text-c-1":"text-c-3"]),disabled:!c.value},{default:cn(()=>[c.value?(Zo(),qo(Ls,{key:0},[ei(" Scopes Selected "+Kt(e.selectedScopes.length||0)+" / "+Kt(Object.keys(e.flow?.scopes??{}).length||0),1)],64)):(Zo(),qo(Ls,{key:1},[ei(" No Scopes Defined ")],64))]),_:1},8,["class","disabled"]),Go("div",G2e,[qs(Fa(tce),{class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Ac(v,["stop"])},{default:cn(()=>[...a[2]||=[ei(" Add Scope ",-1)]]),_:1}),c.value&&u.value?(Zo(),Fo(Fa(tce),{key:0,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Ac(h,["stop"])},{default:cn(()=>[...a[3]||=[ei(" Deselect All ",-1)]]),_:1})):ai("",!0),c.value&&!u.value?(Zo(),Fo(Fa(tce),{key:1,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Ac(p,["stop"])},{default:cn(()=>[...a[4]||=[ei(" Select All ",-1)]]),_:1})):ai("",!0),c.value?(Zo(),Fo(Fa(Kp),{key:2,class:"text-c-3 hover:text-c-2 -m-0.5 flex shrink-0 items-center justify-center rounded p-0.5 focus-visible:outline-offset-2"},{default:cn(({open:e})=>[qs(Fa(Ple),{class:"group-hover/scopes-accordion:text-c-2",icon:e?"ChevronDown":"ChevronRight",size:"md"},null,8,["icon"])]),_:1})):ai("",!0)])]),qs(Fa(Jp),{as:"template"},{default:cn(()=>[Go("div",null,[s.value?(Zo(),Fo(Fa(F2e),{key:0,modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:"flex items-center text-xs"},null,8,["modelValue"])):ai("",!0),Go("table",Y2e,[(Zo(!0),qo(Ls,null,Yn(l.value,({id:t,label:r,description:n})=>(Zo(),Fo(Fa(lIe),{key:t,class:"text-c-2 group/scope-row",onClick:a=>d(t,!e.selectedScopes.includes(t))},{default:cn(()=>[qs(Fa(VNe),{class:"box-border flex !max-h-[initial] w-full min-w-0 cursor-pointer items-stretch overflow-hidden px-0 py-0"},{default:cn(()=>[Go("div",K2e,[Go("span",J2e,Kt(r),1),String(n??"").trim()?(Zo(),qo(Ls,{key:0},[a[5]||=Go("span",{class:"shrink-0"},"–",-1),Go("span",e8e,Kt(n),1)],64)):ai("",!0)]),Go("div",{class:"oauth-scope-row-action-rail absolute top-0 right-0 z-[1] flex h-full min-w-[4.5rem] items-center justify-end gap-0.5 py-1 pr-2 pl-4 opacity-0 transition-opacity group-focus-within/scope-row:opacity-100 group-hover/scope-row:opacity-100",onClick:a[1]||=Ac(()=>{},["stop"])},[qs(Fa(wKe),{icon:Fa(cO),label:`Edit ${r}`,size:"sm",onClick:Ac(e=>b({id:t,description:n??""}),["stop"])},null,8,["icon","label","onClick"]),qs(Fa(wKe),{icon:Fa(Rx),label:`Delete ${r}`,size:"sm",onClick:Ac(e=>O(t),["stop"])},null,8,["icon","label","onClick"])])]),_:2},1024),qs(Fa(pIe),{modelValue:e.selectedScopes.includes(t),"onUpdate:modelValue":e=>d(t,e)},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["onClick"]))),128))])])]),_:1})]),_:1},8,["defaultOpen"]))]),qs(V2e,{scope:n.value,scopes:Object.keys(e.flow.scopes??{}),state:Fa(m),onSubmit:y},null,8,["scope","scopes","state"])]),_:1}))}})}),L8e=V(()=>{D8e(),a8e=t8e}),B8e=V(()=>{r8e=e=>{let t=new URL(e);return{searchParams:t.searchParams,hashParams:new URLSearchParams(t.hash.slice(1))}},n8e=(e,t,a)=>{let r=e.get(a);if(null!==r)return{params:e,value:r};let n=t.get(a);return null===n?{params:null,value:null}:{params:t,value:n}},o8e=(e,t="access_token")=>{try{let{searchParams:a,hashParams:r}=r8e(e()),n=n8e(a,r,t),o=n8e(a,r,"code");return{accessToken:n.value,accessTokenParams:n.params,code:o.value,codeParams:o.params,error:a.get("error")??r.get("error"),errorDescription:a.get("error_description")??r.get("error_description"),refreshToken:a.get("refresh_token")??r.get("refresh_token")}}catch{return{accessToken:null,accessTokenParams:null,code:null,codeParams:null,error:null,errorDescription:null,refreshToken:null}}}}),j8e=V(()=>{B8e(),LJ(),dA(),NK(),xW(),QS(),$K(),i8e=(e,t)=>{if("authorizationCode"!==e)return!1;if(!t)return!1;let a=t["x-usePkce"];return"SHA-256"===a||"plain"===a},s8e=(e,t={})=>bW(vW(e?.url??"",yY(e)),t),l8e=(e,t={})=>{let a=s8e(e,t);return a?jw(a)?typeof window>"u"?{}:{basePath:a}:{baseUrl:a}:{}},c8e=()=>{let e=new Uint8Array(32);return crypto.getRandomValues(e),jW(e,!0)},u8e=async(e,t)=>{if("plain"===t)return e;if("function"!=typeof crypto?.subtle?.digest)return console.warn("SHA-256 is only supported when using https, using a plain text code challenge instead."),e;let a=(new TextEncoder).encode(e),r=await crypto.subtle.digest("SHA-256",a);return jW(new Uint8Array(r),!0)},d8e=async(e,t,a,r,n,o={})=>{let i=e[t];try{if(!i)return[Error("Flow not found"),null];let s=a.join(" ");if("clientCredentials"===t||"password"===t)return p8e(e,t,s,{proxyUrl:n},r,o);let l=(Math.random()+1).toString(36).substring(2,10),c=XS(e[t]["x-scalar-secret-auth-url"]??e[t].authorizationUrl,l8e(r,o)),u=new URL(c),d=null;if("implicit"===t)u.searchParams.set("response_type","token");else if("authorizationCode"===t){let a=e[t];if(u.searchParams.set("response_type","code"),"no"!==a["x-usePkce"]){let e=c8e(),t=await u8e(e,a["x-usePkce"]);d={codeVerifier:e,codeChallenge:t,codeChallengeMethod:"SHA-256"===a["x-usePkce"]?"S256":"plain"},u.searchParams.set("code_challenge",t),u.searchParams.set("code_challenge_method",d.codeChallengeMethod)}}let p=e[t];if(p["x-scalar-secret-redirect-uri"].startsWith("/")){let e=s8e(r,o)||window.location.origin+window.location.pathname,t=new URL(p["x-scalar-secret-redirect-uri"],e).toString();u.searchParams.set("redirect_uri",t)}else u.searchParams.set("redirect_uri",p["x-scalar-secret-redirect-uri"]);i["x-scalar-security-query"]&&Object.keys(i["x-scalar-security-query"]).forEach(e=>{let t=i["x-scalar-security-query"]?.[e];t&&u.searchParams.set(e,t)}),u.searchParams.set("client_id",i["x-scalar-secret-client-id"]),u.searchParams.set("state",l),s&&u.searchParams.set("scope",s);let h=window.open(u,"openAuth2Window","left=100,top=100,width=800,height=600");return h?new Promise(a=>{let c=setInterval(()=>{let{accessToken:u,accessTokenParams:p,code:m,codeParams:f,error:g,errorDescription:v,refreshToken:b}=o8e(()=>h.location.href,i["x-tokenName"]||"access_token");if(h.closed||u||m||g){if(clearInterval(c),h.close(),g)return void a([Error(`OAuth error: ${g}${v?` (${v})`:""}`),null]);if(u)return void((p?.get("state")??null)===l?a([null,{accessToken:u,...b?{refreshToken:b}:{}}]):a([Error("State mismatch"),null]));if(m&&"authorizationCode"===t)return void((f?.get("state")??null)===l?p8e(e,t,s,{code:m,pkce:d,proxyUrl:n},r,o).then(a).catch(e=>{a([e instanceof Error?e:Error("Failed to get an access token",{cause:e}),null])}):a([Error("State mismatch"),null]));a([Error("Window was closed without granting authorization"),null])}},200)}):[Error("Failed to open auth window"),null]}catch(e){return[e instanceof Error?e:Error("Failed to authorize oauth2 flow",{cause:e}),null]}},p8e=async(e,t,a,{code:r,pkce:n,proxyUrl:o}={},i,s={})=>{let l=e[t];if(!l)return[Error("OAuth2 flow was not defined"),null];let c=new URLSearchParams;a&&("clientCredentials"===t||"password"===t)&&c.set("scope",a);let u="body"===l["x-scalar-credentials-location"],d=i8e(t,l),p=!!l["x-scalar-secret-client-secret"]&&!d;if((u||"authorizationCode"===t&&!p)&&c.set("client_id",l["x-scalar-secret-client-id"]),u&&p&&c.set("client_secret",l["x-scalar-secret-client-secret"]),"x-scalar-secret-redirect-uri"in l&&l["x-scalar-secret-redirect-uri"]&&c.set("redirect_uri",l["x-scalar-secret-redirect-uri"]),r)c.set("code",r),c.set("grant_type","authorization_code"),n&&c.set("code_verifier",n.codeVerifier);else if("password"===t){let a=e[t];c.set("grant_type","password"),c.set("username",a["x-scalar-secret-username"]),c.set("password",a["x-scalar-secret-password"])}else c.set("grant_type","client_credentials");l["x-scalar-security-body"]&&Object.entries(l["x-scalar-security-body"]).forEach(([e,t])=>{null!=t&&c.set(e,String(t))});try{let e={"Content-Type":"application/x-www-form-urlencoded"};!u&&p&&(e.Authorization=`Basic ${VW(`${l["x-scalar-secret-client-id"]}:${l["x-scalar-secret-client-secret"]}`)}`);let t=XS(l["x-scalar-secret-token-url"]??l.tokenUrl,l8e(i,s)),a=PW(o,t)?`${o}?${new URLSearchParams([["scalar_url",t]]).toString()}`:t,r=await(await fetch(a,{method:"POST",headers:e,body:c})).json(),n=r[l["x-tokenName"]||"access_token"],d=r.refresh_token;return n?[null,{accessToken:n,..."string"==typeof d?{refreshToken:d}:{}}]:[Error(r.error_description??r.error??"Failed to get an access token"),null]}catch(e){return[e instanceof Error?e:Error("Failed to get an access token. Please check your credentials.",{cause:e}),null]}},h8e=async(e,t,a,r,n={})=>{let o=e[t];if(!o)return[Error("OAuth2 flow was not defined"),null];let i=o["x-scalar-secret-refresh-token"];if(!i)return[Error("No refresh token available"),null];let s=new URLSearchParams;s.set("grant_type","refresh_token"),s.set("refresh_token",i);let l="body"===o["x-scalar-credentials-location"],c=i8e(t,o),u=!!o["x-scalar-secret-client-secret"]&&!c;(l||"authorizationCode"===t&&!u)&&s.set("client_id",o["x-scalar-secret-client-id"]),l&&u&&s.set("client_secret",o["x-scalar-secret-client-secret"]),o["x-scalar-security-body"]&&Object.entries(o["x-scalar-security-body"]).forEach(([e,t])=>{null!=t&&s.set(e,String(t))});try{let e={"Content-Type":"application/x-www-form-urlencoded"};!l&&u&&(e.Authorization=`Basic ${VW(`${o["x-scalar-secret-client-id"]}:${o["x-scalar-secret-client-secret"]}`)}`);let t=XS(o.refreshUrl||o["x-scalar-secret-token-url"]||o.tokenUrl,l8e(r,n)),c=PW(a,t)?`${a}?${new URLSearchParams([["scalar_url",t]]).toString()}`:t,d=await(await fetch(c,{method:"POST",headers:e,body:s})).json(),p=d[o["x-tokenName"]||"access_token"],h=d.refresh_token;return p?[null,{accessToken:p,..."string"==typeof h?{refreshToken:h}:{refreshToken:i}}]:[Error(d.error_description??d.error??"Token refresh failed"),null]}catch(e){return[e instanceof Error?e:Error("Failed to refresh the access token. Please re-authorize.",{cause:e}),null]}}}),U8e=V(()=>{m8e=e=>e.oauth2RedirectUri?e.oauth2RedirectUri:typeof window>"u"||"file:"===window.location.protocol?"":window.location.origin+window.location.pathname});function z8e(e,t){let a=t?.id||K8e++;return e4e.create({message:e,id:a,type:"default",...t}),a}function H8e(e){return void 0!==e.label}function Z8e(e,t){return Zo(),qo("svg",c4e,t[0]||=[Go("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),Go("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)])}function V8e(e,t){return Zo(),qo("svg",m4e,t[0]||=[Go("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)])}function Q8e(e,t){return Zo(),qo("svg",g4e,t[0]||=[Go("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)])}function q8e(e,t){return Zo(),qo("svg",b4e,t[0]||=[Go("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)])}function F8e(e,t){return Zo(),qo("svg",O4e,t[0]||=[Go("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)])}function W8e(...e){return e.filter(Boolean).join(" ")}var X8e,G8e,Y8e,K8e,J8e,e4e,t4e,a4e,r4e,n4e,o4e,i4e,s4e,l4e,c4e,u4e,d4e,p4e,h4e,m4e,f4e,g4e,v4e,b4e,y4e,O4e,x4e,w4e,k4e,S4e,A4e,_4e,T4e=V(()=>{Rc(),X8e=Object.defineProperty,G8e=(e,t,a)=>t in e?X8e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,Y8e=(e,t,a)=>G8e(e,"symbol"==typeof t?t:t+"",a),function(e){function t(){let t=document.head||document.getElementsByTagName("head")[0];if(!t)return;let a=document.createElement("style");a.type="text/css",t.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}!e||typeof document>"u"||("loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t())}(":where([data-sonner-toaster][dir=ltr]),:where(html[dir=ltr]){--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}:where([data-sonner-toaster][dir=rtl]),:where(html[dir=rtl]){--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted=true]){transform:translateY(-10px)}@media (hover:none) and (pointer:coarse){:where([data-sonner-toaster][data-lifted=true]){transform:none}}:where([data-sonner-toaster][data-x-position=right]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position=left]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position=center]){left:50%;transform:translateX(-50%)}:where([data-sonner-toaster][data-y-position=top]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position=bottom]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled=true]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast][data-y-position=top]){top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position=bottom]){bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise=true]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme=dark]) :where([data-cancel]){background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast]) :where([data-disabled=true]){cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping=true])::before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position=top][data-swiping=true])::before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position=bottom][data-swiping=true])::before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping=false][data-removed=true])::before{content:'';position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast])::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted=true]){--y:translateY(0);opacity:1}:where([data-sonner-toast][data-expanded=false][data-front=false]){--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded=false][data-front=false][data-styled=true])>*{opacity:0}:where([data-sonner-toast][data-visible=false]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted=true][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]){--y:translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]){--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed=true][data-front=false])::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}"),K8e=0,J8e=class{constructor(){Y8e(this,"subscribers"),Y8e(this,"toasts"),Y8e(this,"subscribe",e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)})),Y8e(this,"publish",e=>{this.subscribers.forEach(t=>t(e))}),Y8e(this,"addToast",e=>{this.publish(e),this.toasts=[...this.toasts,e]}),Y8e(this,"create",e=>{let{message:t,...a}=e,r="number"==typeof e.id||e.id&&e.id?.length>0?e.id:K8e++,n=this.toasts.find(e=>e.id===r),o=void 0===e.dismissible||e.dismissible;return n?this.toasts=this.toasts.map(a=>a.id===r?(this.publish({...a,...e,id:r,title:t}),{...a,...e,id:r,dismissible:o,title:t}):a):this.addToast({title:t,...a,dismissible:o,id:r}),r}),Y8e(this,"dismiss",e=>(e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e)),Y8e(this,"message",(e,t)=>this.create({...t,message:e,type:"default"})),Y8e(this,"error",(e,t)=>this.create({...t,type:"error",message:e})),Y8e(this,"success",(e,t)=>this.create({...t,type:"success",message:e})),Y8e(this,"info",(e,t)=>this.create({...t,type:"info",message:e})),Y8e(this,"warning",(e,t)=>this.create({...t,type:"warning",message:e})),Y8e(this,"loading",(e,t)=>this.create({...t,type:"loading",message:e})),Y8e(this,"promise",(e,t)=>{if(!t)return;let a;void 0!==t.loading&&(a=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"==typeof t.description?void 0:t.description}));let r,n=e instanceof Promise?e:e(),o=void 0!==a,i=n.then(async e=>{if(r=["resolve",e],t4e(e)&&!e.ok){o=!1;let r="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,n="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:a,type:"error",message:r,description:n})}else if(void 0!==t.success){o=!1;let r="function"==typeof t.success?await t.success(e):t.success,n="function"==typeof t.description?await t.description(e):t.description;this.create({id:a,type:"success",message:r,description:n})}}).catch(async e=>{if(r=["reject",e],void 0!==t.error){o=!1;let r="function"==typeof t.error?await t.error(e):t.error,n="function"==typeof t.description?await t.description(e):t.description;this.create({id:a,type:"error",message:r,description:n})}}).finally(()=>{var e;o&&(this.dismiss(a),a=void 0),null==(e=t.finally)||e.call(t)}),s=()=>new Promise((e,t)=>i.then(()=>"reject"===r[0]?t(r[1]):e(r[1])).catch(t));return"string"!=typeof a&&"number"!=typeof a?{unwrap:s}:Object.assign(a,{unwrap:s})}),Y8e(this,"custom",(e,t)=>{let a=t?.id||K8e++;return this.publish({component:e,id:a,...t}),a}),this.subscribers=[],this.toasts=[]}},e4e=new J8e,t4e=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,a4e=z8e,r4e=()=>e4e.toasts,n4e=Object.assign(a4e,{success:e4e.success,info:e4e.info,warning:e4e.warning,error:e4e.error,custom:e4e.custom,message:e4e.message,promise:e4e.promise,dismiss:e4e.dismiss,loading:e4e.loading},{getHistory:r4e}),o4e=["aria-live","data-rich-colors","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],i4e=["aria-label","data-disabled"],s4e=Pn({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function},defaultRichColors:{type:Boolean}},emits:["update:heights","removeToast"],setup(e,{emit:t}){let a=e,r=t,n=Za(!1),o=Za(!1),i=Za(!1),s=Za(!1),l=Za(!1),c=Za(0),u=Za(0),d=Za(a.toast.duration||a.duration||4e3),p=Za(null),h=Za(null),m=ol(()=>0===a.index),f=ol(()=>a.index+1<=a.visibleToasts),g=ol(()=>a.toast.type),v=ol(()=>!1!==a.toast.dismissible),b=ol(()=>a.toast.class||""),y=ol(()=>a.descriptionClass||""),O=a.toast.style||{},x=ol(()=>a.heights.findIndex(e=>e.toastId===a.toast.id)||0),w=ol(()=>a.toast.closeButton??a.closeButton);ol(()=>a.toast.duration||a.duration||4e3);let k=Za(0),S=Za(0),A=Za(null),_=ol(()=>a.position.split("-")),T=ol(()=>_.value[0]),E=ol(()=>_.value[1]),C=ol(()=>"string"!=typeof a.toast.title),P=ol(()=>"string"!=typeof a.toast.description),M=ol(()=>a.heights.reduce((e,t,a)=>a>=x.value?e:e+t.height,0)),$=function(){let e=Za(!1);return mn(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)}),{isDocumentHidden:e}}(),N=ol(()=>a.toast.invert||a.invert),I=ol(()=>"loading"===g.value),R=ol(()=>x.value*a.gap+M.value||0);function D(){o.value=!0,c.value=R.value,r("update:heights",a.heights.filter(e=>e.toastId!==a.toast.id)),setTimeout(()=>{r("removeToast",a.toast)},200)}function L(){var e,t;if(I.value||!v.value)return{};D(),null==(t=(e=a.toast).onDismiss)||t.call(e,a.toast)}function B(e){I.value||!v.value||(p.value=new Date,c.value=R.value,e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(i.value=!0,A.value={x:e.clientX,y:e.clientY}))}function j(){var e,t,r;if(s.value||!v)return;A.value=null;let n=Number(h.value?.style.getPropertyValue("--swipe-amount").replace("px","")||0),o=(new Date).getTime()-p.value?.getTime(),u=Math.abs(n)/o;if(Math.abs(n)>=20||u>.11)return c.value=R.value,null==(t=(e=a.toast).onDismiss)||t.call(e,a.toast),D(),s.value=!0,void(l.value=!1);null==(r=h.value)||r.style.setProperty("--swipe-amount","0px"),i.value=!1}function U(e){var t;if(!A.value||!v.value)return;let a=e.clientY-A.value.y,r=window.getSelection()?.toString().length>0,n="top"===T.value?Math.min(0,a):Math.max(0,a);Math.abs(n)>0&&(l.value=!0),!r&&(null==(t=h.value)||t.style.setProperty("--swipe-amount",`${n}px`))}return ts(()=>{if(!n.value)return;let e=h.value,t=e?.style.height;e.style.height="auto";let o,i=e.getBoundingClientRect().height;e.style.height=t,u.value=i,o=a.heights.find(e=>e.toastId===a.toast.id)?a.heights.map(e=>e.toastId===a.toast.id?{...e,height:i}:e):[{toastId:a.toast.id,height:i,position:a.toast.position},...a.heights],r("update:heights",o)}),mn(e=>{if(a.toast.promise&&"loading"===g.value||a.toast.duration===1/0||"loading"===a.toast.type)return;let t;a.expanded||a.interacting||a.pauseWhenPageIsHidden&&$?(()=>{if(S.value<k.value){let e=(new Date).getTime()-k.value;d.value-=e}S.value=(new Date).getTime()})():d.value!==1/0&&(k.value=(new Date).getTime(),t=setTimeout(()=>{var e,t;null==(t=(e=a.toast).onAutoClose)||t.call(e,a.toast),D()},d.value)),e(()=>{clearTimeout(t)})}),fn(()=>a.toast.delete,()=>{a.toast.delete&&D()},{deep:!0}),ts(()=>{if(n.value=!0,h.value){let e=h.value.getBoundingClientRect().height;u.value=e,r("update:heights",[{toastId:a.toast.id,height:e,position:a.toast.position},...a.heights])}}),ns(()=>{h.value&&r("update:heights",a.heights.filter(e=>e.toastId!==a.toast.id))}),(e,t)=>{var r,l;return Zo(),qo("li",{ref_key:"toastRef",ref:h,"aria-live":e.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0","data-sonner-toast":"true",class:tt(e.cn(a.class,b.value,e.classes?.toast,e.toast.classes?.toast,e.classes?.[g.value],e.toast?.classes?.[g.value])),"data-rich-colors":e.toast.richColors??e.defaultRichColors,"data-styled":!(e.toast.component||null!=(r=e.toast)&&r.unstyled||e.unstyled),"data-mounted":n.value,"data-promise":!!e.toast.promise,"data-removed":o.value,"data-visible":f.value,"data-y-position":T.value,"data-x-position":E.value,"data-index":e.index,"data-front":m.value,"data-swiping":i.value,"data-dismissible":v.value,"data-type":g.value,"data-invert":N.value,"data-swipe-out":s.value,"data-expanded":!!(e.expanded||e.expandByDefault&&n.value),style:Je({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${o.value?c.value:R.value}px`,"--initial-height":e.expandByDefault?"auto":`${u.value}px`,...e.style,...Fa(O)}),onPointerdown:B,onPointerup:j,onPointermove:U},[w.value&&!e.toast.component?(Zo(),qo("button",{key:0,"aria-label":e.closeButtonAriaLabel||"Close toast","data-disabled":I.value,"data-close-button":"true",class:tt(e.cn(e.classes?.closeButton,e.toast?.classes?.closeButton)),onClick:L},[null!=(l=e.icons)&&l.close?(Zo(),Fo(Wn(e.icons?.close),{key:0})):Jn(e.$slots,"close-icon",{key:1})],10,i4e)):ai("",!0),e.toast.component?(Zo(),Fo(Wn(e.toast.component),ii({key:1},e.toast.componentProps,{onCloseToast:L}),null,16)):(Zo(),qo(Ls,{key:2},["default"!==g.value||e.toast.icon||e.toast.promise?(Zo(),qo("div",{key:0,"data-icon":"",class:tt(e.cn(e.classes?.icon,e.toast?.classes?.icon))},[e.toast.icon?(Zo(),Fo(Wn(e.toast.icon),{key:0})):(Zo(),qo(Ls,{key:1},["loading"===g.value?Jn(e.$slots,"loading-icon",{key:0}):"success"===g.value?Jn(e.$slots,"success-icon",{key:1}):"error"===g.value?Jn(e.$slots,"error-icon",{key:2}):"warning"===g.value?Jn(e.$slots,"warning-icon",{key:3}):"info"===g.value?Jn(e.$slots,"info-icon",{key:4}):ai("",!0)],64))],2)):ai("",!0),Go("div",{"data-content":"",class:tt(e.cn(e.classes?.content,e.toast?.classes?.content))},[Go("div",{"data-title":"",class:tt(e.cn(e.classes?.title,e.toast.classes?.title))},[C.value?(Zo(),Fo(Wn(e.toast.title),at(ii({key:0},e.toast.componentProps)),null,16)):(Zo(),qo(Ls,{key:1},[ei(Kt(e.toast.title),1)],64))],2),e.toast.description?(Zo(),qo("div",{key:0,"data-description":"",class:tt(e.cn(e.descriptionClass,y.value,e.classes?.description,e.toast.classes?.description))},[P.value?(Zo(),Fo(Wn(e.toast.description),at(ii({key:0},e.toast.componentProps)),null,16)):(Zo(),qo(Ls,{key:1},[ei(Kt(e.toast.description),1)],64))],2)):ai("",!0)],2),e.toast.cancel?(Zo(),qo("button",{key:1,style:Je(e.toast.cancelButtonStyle||e.cancelButtonStyle),class:tt(e.cn(e.classes?.cancelButton,e.toast.classes?.cancelButton)),"data-button":"","data-cancel":"",onClick:t[0]||=t=>{var a,r;Fa(H8e)(e.toast.cancel)&&v.value&&(null==(r=(a=e.toast.cancel).onClick)||r.call(a,t),D())}},Kt(Fa(H8e)(e.toast.cancel)?e.toast.cancel?.label:e.toast.cancel),7)):ai("",!0),e.toast.action?(Zo(),qo("button",{key:2,style:Je(e.toast.actionButtonStyle||e.actionButtonStyle),class:tt(e.cn(e.classes?.actionButton,e.toast.classes?.actionButton)),"data-button":"","data-action":"",onClick:t[1]||=t=>{var a,r;Fa(H8e)(e.toast.action)&&(t.defaultPrevented||(null==(r=(a=e.toast.action).onClick)||r.call(a,t),!t.defaultPrevented&&D()))}},Kt(Fa(H8e)(e.toast.action)?e.toast.action?.label:e.toast.action),7)):ai("",!0)],64))],46,o4e)}}}),l4e=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a},c4e={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},u4e=l4e({},[["render",Z8e]]),d4e=["data-visible"],p4e={class:"sonner-spinner"},h4e=Pn({__name:"Loader",props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,a)=>(Zo(),qo("div",{class:"sonner-loading-wrapper","data-visible":e.visible},[Go("div",p4e,[(Zo(!0),qo(Ls,null,Yn(Fa(t),e=>(Zo(),qo("div",{key:`spinner-bar-${e}`,class:"sonner-loading-bar"}))),128))])],8,d4e))}}),m4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},f4e=l4e({},[["render",V8e]]),g4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},v4e=l4e({},[["render",Q8e]]),b4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},y4e=l4e({},[["render",q8e]]),O4e={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},x4e=l4e({},[["render",F8e]]),w4e=["aria-label"],k4e=["dir","data-theme","data-rich-colors","data-y-position","data-x-position","data-lifted"],S4e="32px",A4e=typeof window<"u"&&typeof document<"u",_4e=Pn({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:14},visibleToasts:{default:3},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:S4e},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:W8e}},setup(e){let t=e;function a(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}let r=ro(),n=Za([]),o=ol(()=>(e,t)=>n.value.filter(a=>!a.position&&0===t||a.position===e)),i=ol(()=>{let e=n.value.filter(e=>e.position).map(e=>e.position);return e.length>0?Array.from(new Set([t.position].concat(e))):[t.position]}),s=Za([]),l=Za(!1),c=Za(!1),u=Za("system"===t.theme?typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t.theme),d=Za(null),p=Za(null),h=Za(!1),m=t.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function f(e){var t;null!=(t=n.value.find(t=>t.id===e.id))&&t.delete||e4e.dismiss(e.id),n.value=n.value.filter(({id:t})=>t!==e.id)}function g(e){var t,a;h.value&&(null==(a=(t=e.currentTarget)?.contains)||!a.call(t,e.relatedTarget))&&(h.value=!1,p.value&&=(p.value.focus({preventScroll:!0}),null))}function v(e){e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||h.value||(h.value=!0,p.value=e.relatedTarget)}function b(e){e.target&&e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||(c.value=!0)}return mn(e=>{e(e4e.subscribe(e=>{e.dismiss?n.value=n.value.map(t=>t.id===e.id?{...t,delete:!0}:t):en(()=>{let t=n.value.findIndex(t=>t.id===e.id);n.value=-1===t?[e,...n.value]:[...n.value.slice(0,t),{...n.value[t],...e},...n.value.slice(t+1)]})}))}),fn(()=>t.theme,e=>{if("system"!==e)return void(u.value=e);if("system"===e&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?u.value="dark":u.value="light"),typeof window>"u")return;let t=window.matchMedia("(prefers-color-scheme: dark)");try{t.addEventListener("change",({matches:e})=>{u.value=e?"dark":"light"})}catch{t.addListener(({matches:e})=>{try{u.value=e?"dark":"light"}catch(e){console.error(e)}})}}),mn(()=>{d.value&&p.value&&(p.value.focus({preventScroll:!0}),p.value=null,h.value=!1)}),mn(()=>{n.value.length<=1&&(l.value=!1)}),mn(e=>{function a(e){let a=t.hotkey.every(t=>e[t]||e.code===t),r=Array.isArray(d.value)?d.value[0]:d.value;a&&(l.value=!0,r?.focus());let n=document.activeElement===d.value||r?.contains(document.activeElement);"Escape"===e.code&&n&&(l.value=!1)}A4e&&(document.addEventListener("keydown",a),e(()=>{document.removeEventListener("keydown",a)}))}),(e,u)=>(Zo(),qo("section",{"aria-label":`${e.containerAriaLabel} ${Fa(m)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(Zo(!0),qo(Ls,null,Yn(i.value,(i,p)=>(Zo(),qo("ol",ii({key:i,ref_for:!0,ref_key:"listRef",ref:d,"data-sonner-toaster":"",class:t.class,dir:"auto"===e.dir?a():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":i.split("-")[0],"data-x-position":i.split("-")[1],"data-lifted":l.value&&n.value.length>1&&!e.expand,style:{"--front-toast-height":`${s.value[0]?.height}px`,"--offset":"number"==typeof e.offset?`${e.offset}px`:e.offset||S4e,"--width":"356px","--gap":`${e.gap}px`,...e.style,...Fa(r).style}},e.$attrs,{onBlur:g,onFocus:v,onMouseenter:u[1]||=()=>l.value=!0,onMousemove:u[2]||=()=>l.value=!0,onMouseleave:u[3]||=()=>{c.value||(l.value=!1)},onPointerdown:b,onPointerup:u[4]||=()=>c.value=!1}),[(Zo(!0),qo(Ls,null,Yn(o.value(i,p),(t,a)=>(Zo(),Fo(s4e,{key:t.id,heights:s.value.filter(e=>e.position===t.position),icons:e.icons,index:a,toast:t,defaultRichColors:e.richColors,duration:e.toastOptions?.duration??e.duration,class:tt(e.toastOptions?.class??""),descriptionClass:e.toastOptions?.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:e.toastOptions?.closeButton??e.closeButton,interacting:c.value,position:i,style:Je(e.toastOptions?.style),unstyled:e.toastOptions?.unstyled,classes:e.toastOptions?.classes,cancelButtonStyle:e.toastOptions?.cancelButtonStyle,actionButtonStyle:e.toastOptions?.actionButtonStyle,toasts:n.value.filter(e=>e.position===t.position),expandByDefault:e.expand,gap:e.gap,expanded:l.value,pauseWhenPageIsHidden:e.pauseWhenPageIsHidden,cn:e.cn,"onUpdate:heights":u[0]||=e=>{s.value=e},onRemoveToast:f},{"close-icon":cn(()=>[Jn(e.$slots,"close-icon",{},()=>[qs(u4e)])]),"loading-icon":cn(()=>[Jn(e.$slots,"loading-icon",{},()=>[qs(h4e,{visible:"loading"===t.type},null,8,["visible"])])]),"success-icon":cn(()=>[Jn(e.$slots,"success-icon",{},()=>[qs(f4e)])]),"error-icon":cn(()=>[Jn(e.$slots,"error-icon",{},()=>[qs(x4e)])]),"warning-icon":cn(()=>[Jn(e.$slots,"warning-icon",{},()=>[qs(y4e)])]),"info-icon":cn(()=>[Jn(e.$slots,"info-icon",{},()=>[qs(v4e)])]),_:2},1032,["heights","icons","index","toast","defaultRichColors","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn"]))),128))],16,k4e))),128))],8,w4e))}})});function E4e(e){P4e.toast=e}function C4e(){return{initializeToasts:E4e,toast:(e,t="info",a={timeout:3e3})=>{P4e.toast(e,t,a)}}}var P4e,M4e,$4e=V(()=>{Rc(),T4e(),function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("/**\n* We need to be explicit to avoid !important. :)\n*\n* Original: https://github.com/xiaoluoboding/vue-sonner/blob/311ecc8d9a51b619f968e20f4b44992ad8412850/packages/styles.css#L91-L103\n*/\n.scalar-toaster [data-sonner-toast][data-styled='true'] {\n  background: var(--scalar-background-1);\n  color: var(--scalar-color-1);\n  padding: 18px;\n  border: none;\n  border-radius: var(--scalar-radius-lg);\n  font-size: var(--scalar-font-size-3);\n  font-weight: var(--scalar-font-medium);\n  box-shadow: var(--scalar-shadow-2);\n}\n.scalar-toaster [data-sonner-toast] [data-icon] {\n  align-self: flex-start;\n  position: relative;\n  top: 2px;\n}\n.scalar-toaster [data-sonner-toast][data-styled='true'][data-expanded='true'] {\n  height: auto;\n}\n.scalar-toaster [data-sonner-toast][data-type='error'] {\n  background: var(--scalar-background-1);\n}\n.scalar-toaster [data-sonner-toast][data-type='error'] [data-icon] {\n  color: color-mix(in srgb, var(--scalar-color-red) 75%, var(--scalar-color-1));\n}\n.scalar-toaster [data-sonner-toast][data-type='warning'] {\n  background: var(--scalar-background-1);\n}\n.scalar-toaster [data-sonner-toast][data-type='warning'] [data-icon] {\n  color: color-mix(\n    in srgb,\n    var(--scalar-color-orange) 90%,\n    var(--scalar-color-1)\n  );\n}\n/*$vite$:1*/")),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}(),P4e={toast:()=>null},M4e=Pn({__name:"ScalarToasts",setup(e){let t=Za(!1);ts(()=>t.value=!0);let a={success:n4e.success,error:n4e.error,warn:n4e.warning,info:n4e},{initializeToasts:r}=C4e();return r((e,t="info",r={})=>{(a[t]||a.info)(e,{duration:r.timeout||3e3,description:r.description})}),(e,a)=>t.value?(Zo(),Fo(Fa(_4e),{key:0,class:"scalar-toaster"})):ai("",!0)}})});function N4e(){return Ma({isValid:!1,isInvalid:!1,isLoading:!1,isActive:!1,start(){this.isLoading=!0,this.isActive=!0,this.isInvalid=!1,this.isValid=!1},validate(e={}){let{duration:t=1100,persist:a=!1}=e;this.isLoading=!1,this.isInvalid=!1,this.isValid=!0,this.isActive=!0;let r=a?t:t-300;return new Promise(e=>a?setTimeout(()=>e(),r):setTimeout(()=>this.clear().then(()=>e()),r))},invalidate(e={}){let{duration:t=1100,persist:a=!1}=e??{};this.isLoading=!1,this.isValid=!1,this.isInvalid=!0,this.isActive=!0;let r=a?t:t-300;return new Promise(e=>a?setTimeout(()=>e(),r):setTimeout(()=>this.clear().then(()=>e()),r))},clear(e={}){let{duration:t=300}=e;return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise(e=>{setTimeout(()=>{this.isActive=!1,e()},t)})}})}var I4e=V(()=>{Rc()}),R4e=V(()=>{nce(),I4e()});function D4e(e,t,a){function r(a,r){if(a._zod||Object.defineProperty(a,"_zod",{value:{def:r,constr:i,traits:new Set},enumerable:!1}),a._zod.traits.has(e))return;a._zod.traits.add(e),t(a,r);let n=i.prototype,o=Object.keys(n);for(let e=0;e<o.length;e++){let t=o[e];t in a||(a[t]=n[t].bind(a))}}let n=a?.Parent??Object;class o extends n{}function i(e){var t;let n=a?.Parent?new o:this;r(n,e),(t=n._zod).deferred??(t.deferred=[]);for(let e of n._zod.deferred)e();return n}return Object.defineProperty(o,"name",{value:e}),Object.defineProperty(i,"init",{value:r}),Object.defineProperty(i,Symbol.hasInstance,{value:t=>!!(a?.Parent&&t instanceof a.Parent)||t?._zod?.traits?.has(e)}),Object.defineProperty(i,"name",{value:e}),i}function L4e(e){return e&&Object.assign(U4e,e),U4e}var B4e,j4e,U4e,z4e=V(()=>{Object.freeze({status:"aborted"}),B4e=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},j4e=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}},U4e={}});function H4e(e){let t=Object.values(e).filter(e=>"number"==typeof e);return Object.entries(e).filter(([e,a])=>-1===t.indexOf(+e)).map(([e,t])=>t)}function Z4e(e,t="|"){return e.map(e=>n6e(e)).join(t)}function V4e(e,t){return"bigint"==typeof t?t.toString():t}function Q4e(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function q4e(e){return null==e}function F4e(e){let t=e.startsWith("^")?1:0,a=e.endsWith("$")?e.length-1:e.length;return e.slice(t,a)}function W4e(e,t,a){let r;Object.defineProperty(e,t,{get(){if(r!==d6e)return void 0===r&&(r=d6e,r=a()),r},set(a){Object.defineProperty(e,t,{value:a})},configurable:!0})}function X4e(e,t,a){Object.defineProperty(e,t,{value:a,writable:!0,enumerable:!0,configurable:!0})}function G4e(...e){let t={};for(let a of e){let e=Object.getOwnPropertyDescriptors(a);Object.assign(t,e)}return Object.defineProperties({},t)}function Y4e(e){return JSON.stringify(e)}function K4e(e){return"object"==typeof e&&!!e&&!Array.isArray(e)}function J4e(e){if(!1===K4e(e))return!1;let t=e.constructor;if(void 0===t||"function"!=typeof t)return!0;let a=t.prototype;return!(!1===K4e(a)||!1===Object.prototype.hasOwnProperty.call(a,"isPrototypeOf"))}function e6e(e){return J4e(e)?{...e}:Array.isArray(e)?[...e]:e}function t6e(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function a6e(e,t,a){let r=new e._zod.constr(t??e._zod.def);return(!t||a?.parent)&&(r._zod.parent=e),r}function r6e(e){let t=e;if(!t)return{};if("string"==typeof t)return{error:()=>t};if(void 0!==t?.message){if(void 0!==t?.error)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,"string"==typeof t.error?{...t,error:()=>t.error}:t}function n6e(e){return"bigint"==typeof e?e.toString()+"n":"string"==typeof e?`"${e}"`:`${e}`}function o6e(e,t=0){if(!0===e.aborted)return!0;for(let a=t;a<e.issues.length;a++)if(!0!==e.issues[a]?.continue)return!0;return!1}function i6e(e,t){return t.map(t=>{var a;return(a=t).path??(a.path=[]),t.path.unshift(e),t})}function s6e(e){return"string"==typeof e?e:e?.message}function l6e(e,t,a){let r={...e,path:e.path??[]};return e.message||(r.message=s6e(e.inst?._zod.def?.error?.(e))??s6e(t?.error?.(e))??s6e(a.customError?.(e))??s6e(a.localeError?.(e))??"Invalid input"),delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function c6e(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function u6e(...e){let[t,a,r]=e;return"string"==typeof t?{message:t,code:"custom",input:a,inst:r}:{...t}}var d6e,p6e,h6e,m6e,f6e,g6e=V(()=>{d6e=Symbol("evaluating"),p6e="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{},h6e=Q4e(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch{return!1}}),m6e=new Set(["string","number","symbol"]),f6e={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]}});var v6e,b6e,y6e,O6e,x6e,w6e,k6e,S6e,A6e,_6e,T6e,E6e,C6e,P6e,M6e,$6e,N6e,I6e=V(()=>{z4e(),g6e(),v6e=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,V4e,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},b6e=D4e("$ZodError",v6e),y6e=D4e("$ZodError",v6e,{Parent:Error})}),R6e=V(()=>{z4e(),I6e(),g6e(),O6e=e=>(t,a,r,n)=>{let o=r?Object.assign(r,{async:!1}):{async:!1},i=t._zod.run({value:a,issues:[]},o);if(i instanceof Promise)throw new B4e;if(i.issues.length){let t=new(n?.Err??e)(i.issues.map(e=>l6e(e,o,L4e())));throw p6e(t,n?.callee),t}return i.value},O6e(y6e),x6e=e=>async(t,a,r,n)=>{let o=r?Object.assign(r,{async:!0}):{async:!0},i=t._zod.run({value:a,issues:[]},o);if(i instanceof Promise&&(i=await i),i.issues.length){let t=new(n?.Err??e)(i.issues.map(e=>l6e(e,o,L4e())));throw p6e(t,n?.callee),t}return i.value},x6e(y6e),w6e=e=>(t,a,r)=>{let n=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:a,issues:[]},n);if(o instanceof Promise)throw new B4e;return o.issues.length?{success:!1,error:new(e??b6e)(o.issues.map(e=>l6e(e,n,L4e())))}:{success:!0,data:o.value}},k6e=w6e(y6e),S6e=e=>async(t,a,r)=>{let n=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:a,issues:[]},n);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(e=>l6e(e,n,L4e())))}:{success:!0,data:o.value}},A6e=S6e(y6e),_6e=e=>(t,a,r)=>{let n=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return O6e(e)(t,a,n)},_6e(y6e),T6e=e=>(t,a,r)=>O6e(e)(t,a,r),T6e(y6e),E6e=e=>async(t,a,r)=>{let n=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return x6e(e)(t,a,n)},E6e(y6e),C6e=e=>async(t,a,r)=>x6e(e)(t,a,r),C6e(y6e),P6e=e=>(t,a,r)=>{let n=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return w6e(e)(t,a,n)},P6e(y6e),M6e=e=>(t,a,r)=>w6e(e)(t,a,r),M6e(y6e),$6e=e=>async(t,a,r)=>{let n=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return S6e(e)(t,a,n)},$6e(y6e),N6e=e=>async(t,a,r)=>S6e(e)(t,a,r),N6e(y6e)});function D6e(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}var L6e,B6e,j6e,U6e,z6e,H6e,Z6e,V6e,Q6e,q6e,F6e,W6e,X6e,G6e,Y6e,K6e,J6e,e3e,t3e,a3e,r3e,n3e,o3e,i3e,s3e,l3e,c3e,u3e,d3e,p3e,h3e,m3e,f3e,g3e,v3e,b3e,y3e,O3e,x3e,w3e,k3e,S3e,A3e,_3e,T3e,E3e,C3e=V(()=>{L6e=/^[cC][^\s-]{8,}$/,B6e=/^[0-9a-z]+$/,j6e=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,U6e=/^[0-9a-vA-V]{20}$/,z6e=/^[A-Za-z0-9]{27}$/,H6e=/^[a-zA-Z0-9_-]{21}$/,Z6e=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,V6e=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Q6e=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,q6e=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,F6e="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",W6e=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,X6e=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,G6e=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Y6e=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,K6e=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,J6e=/^[A-Za-z0-9_-]*$/,e3e=/^\+[1-9]\d{6,14}$/,t3e="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",a3e=RegExp(`^${t3e}$`),r3e=e=>RegExp(`^${e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*"}$`),n3e=/^-?\d+$/,o3e=/^-?\d+(?:\.\d+)?$/,i3e=/^(?:true|false)$/i,s3e=/^null$/i,l3e=/^[^A-Z]*$/,c3e=/^[^a-z]*$/}),P3e=V(()=>{z4e(),C3e(),g6e(),u3e=D4e("$ZodCheck",(e,t)=>{var a;e._zod??={},e._zod.def=t,(a=e._zod).onattach??(a.onattach=[])}),d3e={number:"number",bigint:"bigint",object:"date"},p3e=D4e("$ZodCheckLessThan",(e,t)=>{u3e.init(e,t);let a=d3e[typeof t.value];e._zod.onattach.push(e=>{let a=e._zod.bag,r=(t.inclusive?a.maximum:a.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?a.maximum=t.value:a.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:a,code:"too_big",maximum:"object"==typeof t.value?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),h3e=D4e("$ZodCheckGreaterThan",(e,t)=>{u3e.init(e,t);let a=d3e[typeof t.value];e._zod.onattach.push(e=>{let a=e._zod.bag,r=(t.inclusive?a.minimum:a.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?a.minimum=t.value:a.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:a,code:"too_small",minimum:"object"==typeof t.value?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),m3e=D4e("$ZodCheckMultipleOf",(e,t)=>{u3e.init(e,t),e._zod.onattach.push(e=>{var a;(a=e._zod.bag).multipleOf??(a.multipleOf=t.value)}),e._zod.check=a=>{if(typeof a.value!=typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof a.value?a.value%t.value===BigInt(0):0===function(e,t){let a=(e.toString().split(".")[1]||"").length,r=t.toString(),n=(r.split(".")[1]||"").length;if(0===n&&/\d?e-\d?/.test(r)){let e=r.match(/\d?e-(\d?)/);e?.[1]&&(n=Number.parseInt(e[1]))}let o=a>n?a:n;return Number.parseInt(e.toFixed(o).replace(".",""))%Number.parseInt(t.toFixed(o).replace(".",""))/10**o}(a.value,t.value))||a.issues.push({origin:typeof a.value,code:"not_multiple_of",divisor:t.value,input:a.value,inst:e,continue:!t.abort})}}),f3e=D4e("$ZodCheckNumberFormat",(e,t)=>{u3e.init(e,t),t.format=t.format||"float64";let a=t.format?.includes("int"),r=a?"int":"number",[n,o]=f6e[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=n,r.maximum=o,a&&(r.pattern=n3e)}),e._zod.check=i=>{let s=i.value;if(a){if(!Number.isInteger(s))return void i.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});if(!Number.isSafeInteger(s))return void(s>0?i.issues.push({input:s,code:"too_big",maximum:2**53-1,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):i.issues.push({input:s,code:"too_small",minimum:-(2**53-1),note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}))}s<n&&i.issues.push({origin:"number",input:s,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),s>o&&i.issues.push({origin:"number",input:s,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),g3e=D4e("$ZodCheckMaxLength",(e,t)=>{var a;u3e.init(e,t),(a=e._zod.def).when??(a.when=e=>{let t=e.value;return!q4e(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let a=e._zod.bag.maximum??1/0;t.maximum<a&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=a=>{let r=a.value;if(r.length<=t.maximum)return;let n=c6e(r);a.issues.push({origin:n,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),v3e=D4e("$ZodCheckMinLength",(e,t)=>{var a;u3e.init(e,t),(a=e._zod.def).when??(a.when=e=>{let t=e.value;return!q4e(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let a=e._zod.bag.minimum??-1/0;t.minimum>a&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=a=>{let r=a.value;if(r.length>=t.minimum)return;let n=c6e(r);a.issues.push({origin:n,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),b3e=D4e("$ZodCheckLengthEquals",(e,t)=>{var a;u3e.init(e,t),(a=e._zod.def).when??(a.when=e=>{let t=e.value;return!q4e(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let a=e._zod.bag;a.minimum=t.length,a.maximum=t.length,a.length=t.length}),e._zod.check=a=>{let r=a.value,n=r.length;if(n===t.length)return;let o=c6e(r),i=n>t.length;a.issues.push({origin:o,...i?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:a.value,inst:e,continue:!t.abort})}}),y3e=D4e("$ZodCheckStringFormat",(e,t)=>{var a,r;u3e.init(e,t),e._zod.onattach.push(e=>{let a=e._zod.bag;a.format=t.format,t.pattern&&(a.patterns??=new Set,a.patterns.add(t.pattern))}),t.pattern?(a=e._zod).check??(a.check=a=>{t.pattern.lastIndex=0,!t.pattern.test(a.value)&&a.issues.push({origin:"string",code:"invalid_format",format:t.format,input:a.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),O3e=D4e("$ZodCheckRegex",(e,t)=>{y3e.init(e,t),e._zod.check=a=>{t.pattern.lastIndex=0,!t.pattern.test(a.value)&&a.issues.push({origin:"string",code:"invalid_format",format:"regex",input:a.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),x3e=D4e("$ZodCheckLowerCase",(e,t)=>{t.pattern??=l3e,y3e.init(e,t)}),w3e=D4e("$ZodCheckUpperCase",(e,t)=>{t.pattern??=c3e,y3e.init(e,t)}),k3e=D4e("$ZodCheckIncludes",(e,t)=>{u3e.init(e,t);let a=t6e(t.includes),r=new RegExp("number"==typeof t.position?`^.{${t.position}}${a}`:a);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=a=>{a.value.includes(t.includes,t.position)||a.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:a.value,inst:e,continue:!t.abort})}}),S3e=D4e("$ZodCheckStartsWith",(e,t)=>{u3e.init(e,t);let a=RegExp(`^${t6e(t.prefix)}.*`);t.pattern??=a,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(a)}),e._zod.check=a=>{a.value.startsWith(t.prefix)||a.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:a.value,inst:e,continue:!t.abort})}}),A3e=D4e("$ZodCheckEndsWith",(e,t)=>{u3e.init(e,t);let a=RegExp(`.*${t6e(t.suffix)}$`);t.pattern??=a,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(a)}),e._zod.check=a=>{a.value.endsWith(t.suffix)||a.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:a.value,inst:e,continue:!t.abort})}}),_3e=D4e("$ZodCheckOverwrite",(e,t)=>{u3e.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}})}),M3e=V(()=>{T3e=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if("function"==typeof e)return e(this,{execution:"sync"}),void e(this,{execution:"async"});let t=e.split("\n").filter(e=>e),a=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(a)).map(e=>" ".repeat(2*this.indent)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,a=[...(this?.content??[""]).map(e=>`  ${e}`)];return new e(...t,a.join("\n"))}}}),$3e=V(()=>{E3e={major:4,minor:3,patch:5}});function N3e(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}function I3e(e,t,a){e.issues.length&&t.issues.push(...i6e(a,e.issues)),t.value[a]=e.value}function R3e(e,t,a,r,n){if(e.issues.length){if(n&&!(a in r))return;t.issues.push(...i6e(a,e.issues))}void 0===e.value?a in r&&(t.value[a]=void 0):t.value[a]=e.value}function D3e(e){let t=Object.keys(e.shape);for(let a of t)if(!e.shape?.[a]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${a}": expected a Zod schema`);let a=function(e){return Object.keys(e).filter(t=>"optional"===e[t]._zod.optin&&"optional"===e[t]._zod.optout)}(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(a)}}function L3e(e,t,a,r,n,o){let i=[],s=n.keySet,l=n.catchall._zod,c=l.def.type,u="optional"===l.optout;for(let n in t){if(s.has(n))continue;if("never"===c){i.push(n);continue}let o=l.run({value:t[n],issues:[]},r);o instanceof Promise?e.push(o.then(e=>R3e(e,a,n,t,u))):R3e(o,a,n,t,u)}return i.length&&a.issues.push({code:"unrecognized_keys",keys:i,input:t,inst:o}),e.length?Promise.all(e).then(()=>a):a}function B3e(e,t,a,r){for(let a of e)if(0===a.issues.length)return t.value=a.value,t;let n=e.filter(e=>!o6e(e));return 1===n.length?(t.value=n[0].value,n[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:a,errors:e.map(e=>e.issues.map(e=>l6e(e,r,L4e())))}),t)}function j3e(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(J4e(e)&&J4e(t)){let a=Object.keys(t),r=Object.keys(e).filter(e=>-1!==a.indexOf(e)),n={...e,...t};for(let a of r){let r=j3e(e[a],t[a]);if(!r.valid)return{valid:!1,mergeErrorPath:[a,...r.mergeErrorPath]};n[a]=r.data}return{valid:!0,data:n}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let a=[];for(let r=0;r<e.length;r++){let n=j3e(e[r],t[r]);if(!n.valid)return{valid:!1,mergeErrorPath:[r,...n.mergeErrorPath]};a.push(n.data)}return{valid:!0,data:a}}return{valid:!1,mergeErrorPath:[]}}function U3e(e,t,a){let r,n=new Map;for(let a of t.issues)if("unrecognized_keys"===a.code){r??=a;for(let e of a.keys)n.has(e)||n.set(e,{}),n.get(e).l=!0}else e.issues.push(a);for(let t of a.issues)if("unrecognized_keys"===t.code)for(let e of t.keys)n.has(e)||n.set(e,{}),n.get(e).r=!0;else e.issues.push(t);let o=[...n].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(o.length&&r&&e.issues.push({...r,keys:o}),o6e(e))return e;let i=j3e(t.value,a.value);if(!i.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(i.mergeErrorPath)}`);return e.value=i.data,e}function z3e(e,t){return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}function H3e(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}function Z3e(e,t){return!e.issues.length&&void 0===e.value&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}function V3e(e,t,a){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},a)}function Q3e(e){return e.value=Object.freeze(e.value),e}function q3e(e,t,a,r){if(!e){let e={code:"custom",input:a,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(u6e(e))}}var F3e,W3e,X3e,G3e,Y3e,K3e,J3e,e5e,t5e,a5e,r5e,n5e,o5e,i5e,s5e,l5e,c5e,u5e,d5e,p5e,h5e,m5e,f5e,g5e,v5e,b5e,y5e,O5e,x5e,w5e,k5e,S5e,A5e,_5e,T5e,E5e,C5e,P5e,M5e,$5e,N5e,I5e,R5e,D5e,L5e,B5e,j5e,U5e,z5e,H5e,Z5e,V5e,Q5e,q5e=V(()=>{P3e(),z4e(),M3e(),R6e(),C3e(),g6e(),$3e(),F3e=D4e("$ZodType",(e,t)=>{var a;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=E3e;let r=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&r.unshift(e);for(let t of r)for(let a of t._zod.onattach)a(e);if(0===r.length)(a=e._zod).deferred??(a.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,a)=>{let r,n=o6e(e);for(let o of t){if(o._zod.def.when){if(!o._zod.def.when(e))continue}else if(n)continue;let t=e.issues.length,i=o._zod.check(e);if(i instanceof Promise&&!1===a?.async)throw new B4e;if(r||i instanceof Promise)r=(r??Promise.resolve()).then(async()=>{await i,e.issues.length!==t&&(n||=o6e(e,t))});else{if(e.issues.length===t)continue;n||=o6e(e,t)}}return r?r.then(()=>e):e},a=(a,n,o)=>{if(o6e(a))return a.aborted=!0,a;let i=t(n,r,o);if(i instanceof Promise){if(!1===o.async)throw new B4e;return i.then(t=>e._zod.parse(t,o))}return e._zod.parse(i,o)};e._zod.run=(n,o)=>{if(o.skipChecks)return e._zod.parse(n,o);if("backward"===o.direction){let t=e._zod.parse({value:n.value,issues:[]},{...o,skipChecks:!0});return t instanceof Promise?t.then(e=>a(e,n,o)):a(t,n,o)}let i=e._zod.parse(n,o);if(i instanceof Promise){if(!1===o.async)throw new B4e;return i.then(e=>t(e,r,o))}return t(i,r,o)}}W4e(e,"~standard",()=>({validate:t=>{try{let a=k6e(e,t);return a.success?{value:a.data}:{issues:a.error?.issues}}catch{return A6e(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}))}),W3e=D4e("$ZodString",(e,t)=>{F3e.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??r3e(e._zod.bag),e._zod.parse=(a,r)=>{if(t.coerce)try{a.value=String(a.value)}catch{}return"string"==typeof a.value||a.issues.push({expected:"string",code:"invalid_type",input:a.value,inst:e}),a}}),X3e=D4e("$ZodStringFormat",(e,t)=>{y3e.init(e,t),W3e.init(e,t)}),G3e=D4e("$ZodGUID",(e,t)=>{t.pattern??=V6e,X3e.init(e,t)}),Y3e=D4e("$ZodUUID",(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=Q6e(e)}else t.pattern??=Q6e();X3e.init(e,t)}),K3e=D4e("$ZodEmail",(e,t)=>{t.pattern??=q6e,X3e.init(e,t)}),J3e=D4e("$ZodURL",(e,t)=>{X3e.init(e,t),e._zod.check=a=>{try{let r=a.value.trim(),n=new URL(r);return t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(n.hostname)||a.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:a.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(n.protocol.endsWith(":")?n.protocol.slice(0,-1):n.protocol)||a.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:a.value,inst:e,continue:!t.abort})),void(t.normalize?a.value=n.href:a.value=r)}catch{a.issues.push({code:"invalid_format",format:"url",input:a.value,inst:e,continue:!t.abort})}}}),e5e=D4e("$ZodEmoji",(e,t)=>{t.pattern??=new RegExp(F6e,"u"),X3e.init(e,t)}),t5e=D4e("$ZodNanoID",(e,t)=>{t.pattern??=H6e,X3e.init(e,t)}),a5e=D4e("$ZodCUID",(e,t)=>{t.pattern??=L6e,X3e.init(e,t)}),r5e=D4e("$ZodCUID2",(e,t)=>{t.pattern??=B6e,X3e.init(e,t)}),n5e=D4e("$ZodULID",(e,t)=>{t.pattern??=j6e,X3e.init(e,t)}),o5e=D4e("$ZodXID",(e,t)=>{t.pattern??=U6e,X3e.init(e,t)}),i5e=D4e("$ZodKSUID",(e,t)=>{t.pattern??=z6e,X3e.init(e,t)}),s5e=D4e("$ZodISODateTime",(e,t)=>{t.pattern??=function(e){let t=D6e({precision:e.precision}),a=["Z"];e.local&&a.push(""),e.offset&&a.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let r=`${t}(?:${a.join("|")})`;return RegExp(`^${t3e}T(?:${r})$`)}(t),X3e.init(e,t)}),l5e=D4e("$ZodISODate",(e,t)=>{t.pattern??=a3e,X3e.init(e,t)}),c5e=D4e("$ZodISOTime",(e,t)=>{t.pattern??=function(e){return RegExp(`^${D6e(e)}$`)}(t),X3e.init(e,t)}),u5e=D4e("$ZodISODuration",(e,t)=>{t.pattern??=Z6e,X3e.init(e,t)}),d5e=D4e("$ZodIPv4",(e,t)=>{t.pattern??=W6e,X3e.init(e,t),e._zod.bag.format="ipv4"}),p5e=D4e("$ZodIPv6",(e,t)=>{t.pattern??=X6e,X3e.init(e,t),e._zod.bag.format="ipv6",e._zod.check=a=>{try{new URL(`http://[${a.value}]`)}catch{a.issues.push({code:"invalid_format",format:"ipv6",input:a.value,inst:e,continue:!t.abort})}}}),h5e=D4e("$ZodCIDRv4",(e,t)=>{t.pattern??=G6e,X3e.init(e,t)}),m5e=D4e("$ZodCIDRv6",(e,t)=>{t.pattern??=Y6e,X3e.init(e,t),e._zod.check=a=>{let r=a.value.split("/");try{if(2!==r.length)throw Error();let[e,t]=r;if(!t)throw Error();let a=Number(t);if(`${a}`!==t||a<0||a>128)throw Error();new URL(`http://[${e}]`)}catch{a.issues.push({code:"invalid_format",format:"cidrv6",input:a.value,inst:e,continue:!t.abort})}}}),f5e=D4e("$ZodBase64",(e,t)=>{t.pattern??=K6e,X3e.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=a=>{N3e(a.value)||a.issues.push({code:"invalid_format",format:"base64",input:a.value,inst:e,continue:!t.abort})}}),g5e=D4e("$ZodBase64URL",(e,t)=>{t.pattern??=J6e,X3e.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=a=>{(function(e){if(!J6e.test(e))return!1;let t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return N3e(t.padEnd(4*Math.ceil(t.length/4),"="))})(a.value)||a.issues.push({code:"invalid_format",format:"base64url",input:a.value,inst:e,continue:!t.abort})}}),v5e=D4e("$ZodE164",(e,t)=>{t.pattern??=e3e,X3e.init(e,t)}),b5e=D4e("$ZodJWT",(e,t)=>{X3e.init(e,t),e._zod.check=a=>{(function(e,t=null){try{let a=e.split(".");if(3!==a.length)return!1;let[r]=a;if(!r)return!1;let n=JSON.parse(atob(r));return!("typ"in n&&"JWT"!==n?.typ||!n.alg||t&&(!("alg"in n)||n.alg!==t))}catch{return!1}})(a.value,t.alg)||a.issues.push({code:"invalid_format",format:"jwt",input:a.value,inst:e,continue:!t.abort})}}),y5e=D4e("$ZodNumber",(e,t)=>{F3e.init(e,t),e._zod.pattern=e._zod.bag.pattern??o3e,e._zod.parse=(a,r)=>{if(t.coerce)try{a.value=Number(a.value)}catch{}let n=a.value;if("number"==typeof n&&!Number.isNaN(n)&&Number.isFinite(n))return a;let o="number"==typeof n?Number.isNaN(n)?"NaN":Number.isFinite(n)?void 0:"Infinity":void 0;return a.issues.push({expected:"number",code:"invalid_type",input:n,inst:e,...o?{received:o}:{}}),a}}),O5e=D4e("$ZodNumberFormat",(e,t)=>{f3e.init(e,t),y5e.init(e,t)}),x5e=D4e("$ZodBoolean",(e,t)=>{F3e.init(e,t),e._zod.pattern=i3e,e._zod.parse=(a,r)=>{if(t.coerce)try{a.value=!!a.value}catch{}let n=a.value;return"boolean"==typeof n||a.issues.push({expected:"boolean",code:"invalid_type",input:n,inst:e}),a}}),w5e=D4e("$ZodNull",(e,t)=>{F3e.init(e,t),e._zod.pattern=s3e,e._zod.values=new Set([null]),e._zod.parse=(t,a)=>{let r=t.value;return null===r||t.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),t}}),k5e=D4e("$ZodUnknown",(e,t)=>{F3e.init(e,t),e._zod.parse=e=>e}),S5e=D4e("$ZodNever",(e,t)=>{F3e.init(e,t),e._zod.parse=(t,a)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}),A5e=D4e("$ZodArray",(e,t)=>{F3e.init(e,t),e._zod.parse=(a,r)=>{let n=a.value;if(!Array.isArray(n))return a.issues.push({expected:"array",code:"invalid_type",input:n,inst:e}),a;a.value=Array(n.length);let o=[];for(let e=0;e<n.length;e++){let i=n[e],s=t.element._zod.run({value:i,issues:[]},r);s instanceof Promise?o.push(s.then(t=>I3e(t,a,e))):I3e(s,a,e)}return o.length?Promise.all(o).then(()=>a):a}}),_5e=D4e("$ZodObject",(e,t)=>{if(F3e.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let a={...e};return Object.defineProperty(t,"shape",{value:a}),a}})}let a=Q4e(()=>D3e(t));W4e(e._zod,"propValues",()=>{let e=t.shape,a={};for(let t in e){let r=e[t]._zod;if(r.values){a[t]??(a[t]=new Set);for(let e of r.values)a[t].add(e)}}return a});let r,n=K4e,o=t.catchall;e._zod.parse=(t,i)=>{r??=a.value;let s=t.value;if(!n(s))return t.issues.push({expected:"object",code:"invalid_type",input:s,inst:e}),t;t.value={};let l=[],c=r.shape;for(let e of r.keys){let a=c[e],r="optional"===a._zod.optout,n=a._zod.run({value:s[e],issues:[]},i);n instanceof Promise?l.push(n.then(a=>R3e(a,t,e,s,r))):R3e(n,t,e,s,r)}return o?L3e(l,s,t,i,a.value,e):l.length?Promise.all(l).then(()=>t):t}}),T5e=D4e("$ZodObjectJIT",(e,t)=>{_5e.init(e,t);let a,r,n=e._zod.parse,o=Q4e(()=>D3e(t)),i=K4e,s=!U4e.jitless,l=s&&h6e.value,c=t.catchall;e._zod.parse=(u,d)=>{r??=o.value;let p=u.value;return i(p)?s&&l&&!1===d?.async&&!0!==d.jitless?(a||=(e=>{let t=new T3e(["shape","payload","ctx"]),a=o.value,r=e=>{let t=Y4e(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");let n=Object.create(null),i=0;for(let e of a.keys)n[e]="key_"+i++;t.write("const newResult = {};");for(let o of a.keys){let a=n[o],i=Y4e(o),s="optional"===e[o]?._zod?.optout;t.write(`const ${a} = ${r(o)};`),s?t.write(`\n        if (${a}.issues.length) {\n          if (${i} in input) {\n            payload.issues = payload.issues.concat(${a}.issues.map(iss => ({\n              ...iss,\n              path: iss.path ? [${i}, ...iss.path] : [${i}]\n            })));\n          }\n        }\n        \n        if (${a}.value === undefined) {\n          if (${i} in input) {\n            newResult[${i}] = undefined;\n          }\n        } else {\n          newResult[${i}] = ${a}.value;\n        }\n        \n      `):t.write(`\n        if (${a}.issues.length) {\n          payload.issues = payload.issues.concat(${a}.issues.map(iss => ({\n            ...iss,\n            path: iss.path ? [${i}, ...iss.path] : [${i}]\n          })));\n        }\n        \n        if (${a}.value === undefined) {\n          if (${i} in input) {\n            newResult[${i}] = undefined;\n          }\n        } else {\n          newResult[${i}] = ${a}.value;\n        }\n        \n      `)}t.write("payload.value = newResult;"),t.write("return payload;");let s=t.compile();return(t,a)=>s(e,t,a)})(t.shape),u=a(u,d),c?L3e([],p,u,d,r,e):u):n(u,d):(u.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),u)}}),E5e=D4e("$ZodUnion",(e,t)=>{F3e.init(e,t),W4e(e._zod,"optin",()=>t.options.some(e=>"optional"===e._zod.optin)?"optional":void 0),W4e(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),W4e(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),W4e(e._zod,"pattern",()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>F4e(e.source)).join("|")})$`)}});let a=1===t.options.length,r=t.options[0]._zod.run;e._zod.parse=(n,o)=>{if(a)return r(n,o);let i=!1,s=[];for(let e of t.options){let t=e._zod.run({value:n.value,issues:[]},o);if(t instanceof Promise)s.push(t),i=!0;else{if(0===t.issues.length)return t;s.push(t)}}return i?Promise.all(s).then(t=>B3e(t,n,e,o)):B3e(s,n,e,o)}}),C5e=D4e("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,E5e.init(e,t);let a=e._zod.parse;W4e(e._zod,"propValues",()=>{let e={};for(let a of t.options){let r=a._zod.propValues;if(!r||0===Object.keys(r).length)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(let[t,a]of Object.entries(r)){e[t]||(e[t]=new Set);for(let r of a)e[t].add(r)}}return e});let r=Q4e(()=>{let e=t.options,a=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||0===e.size)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let t of e){if(a.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);a.set(t,r)}}return a});e._zod.parse=(n,o)=>{let i=n.value;if(!K4e(i))return n.issues.push({code:"invalid_type",expected:"object",input:i,inst:e}),n;let s=r.value.get(i?.[t.discriminator]);return s?s._zod.run(n,o):t.unionFallback?a(n,o):(n.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:i,path:[t.discriminator],inst:e}),n)}}),P5e=D4e("$ZodIntersection",(e,t)=>{F3e.init(e,t),e._zod.parse=(e,a)=>{let r=e.value,n=t.left._zod.run({value:r,issues:[]},a),o=t.right._zod.run({value:r,issues:[]},a);return n instanceof Promise||o instanceof Promise?Promise.all([n,o]).then(([t,a])=>U3e(e,t,a)):U3e(e,n,o)}}),M5e=D4e("$ZodRecord",(e,t)=>{F3e.init(e,t),e._zod.parse=(a,r)=>{let n=a.value;if(!J4e(n))return a.issues.push({expected:"record",code:"invalid_type",input:n,inst:e}),a;let o=[],i=t.keyType._zod.values;if(i){a.value={};let s,l=new Set;for(let e of i)if("string"==typeof e||"number"==typeof e||"symbol"==typeof e){l.add("number"==typeof e?e.toString():e);let i=t.valueType._zod.run({value:n[e],issues:[]},r);i instanceof Promise?o.push(i.then(t=>{t.issues.length&&a.issues.push(...i6e(e,t.issues)),a.value[e]=t.value})):(i.issues.length&&a.issues.push(...i6e(e,i.issues)),a.value[e]=i.value)}for(let e in n)l.has(e)||(s??=[],s.push(e));s&&s.length>0&&a.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:s})}else{a.value={};for(let i of Reflect.ownKeys(n)){if("__proto__"===i)continue;let s=t.keyType._zod.run({value:i,issues:[]},r);if(s instanceof Promise)throw Error("Async schemas not supported in object keys currently");if("string"==typeof i&&o3e.test(i)&&s.issues.length&&s.issues.some(e=>"invalid_type"===e.code&&"number"===e.expected)){let e=t.keyType._zod.run({value:Number(i),issues:[]},r);if(e instanceof Promise)throw Error("Async schemas not supported in object keys currently");0===e.issues.length&&(s=e)}if(s.issues.length){"loose"===t.mode?a.value[i]=n[i]:a.issues.push({code:"invalid_key",origin:"record",issues:s.issues.map(e=>l6e(e,r,L4e())),input:i,path:[i],inst:e});continue}let l=t.valueType._zod.run({value:n[i],issues:[]},r);l instanceof Promise?o.push(l.then(e=>{e.issues.length&&a.issues.push(...i6e(i,e.issues)),a.value[s.value]=e.value})):(l.issues.length&&a.issues.push(...i6e(i,l.issues)),a.value[s.value]=l.value)}}return o.length?Promise.all(o).then(()=>a):a}}),$5e=D4e("$ZodEnum",(e,t)=>{F3e.init(e,t);let a=H4e(t.entries),r=new Set(a);e._zod.values=r,e._zod.pattern=RegExp(`^(${a.filter(e=>m6e.has(typeof e)).map(e=>"string"==typeof e?t6e(e):e.toString()).join("|")})$`),e._zod.parse=(t,n)=>{let o=t.value;return r.has(o)||t.issues.push({code:"invalid_value",values:a,input:o,inst:e}),t}}),N5e=D4e("$ZodLiteral",(e,t)=>{if(F3e.init(e,t),0===t.values.length)throw Error("Cannot create literal schema with no valid values");let a=new Set(t.values);e._zod.values=a,e._zod.pattern=RegExp(`^(${t.values.map(e=>"string"==typeof e?t6e(e):e?t6e(e.toString()):String(e)).join("|")})$`),e._zod.parse=(r,n)=>{let o=r.value;return a.has(o)||r.issues.push({code:"invalid_value",values:t.values,input:o,inst:e}),r}}),I5e=D4e("$ZodTransform",(e,t)=>{F3e.init(e,t),e._zod.parse=(a,r)=>{if("backward"===r.direction)throw new j4e(e.constructor.name);let n=t.transform(a.value,a);if(r.async)return(n instanceof Promise?n:Promise.resolve(n)).then(e=>(a.value=e,a));if(n instanceof Promise)throw new B4e;return a.value=n,a}}),R5e=D4e("$ZodOptional",(e,t)=>{F3e.init(e,t),e._zod.optin="optional",e._zod.optout="optional",W4e(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),W4e(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${F4e(e.source)})?$`):void 0}),e._zod.parse=(e,a)=>{if("optional"===t.innerType._zod.optin){let r=t.innerType._zod.run(e,a);return r instanceof Promise?r.then(t=>z3e(t,e.value)):z3e(r,e.value)}return void 0===e.value?e:t.innerType._zod.run(e,a)}}),D5e=D4e("$ZodExactOptional",(e,t)=>{R5e.init(e,t),W4e(e._zod,"values",()=>t.innerType._zod.values),W4e(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(e,a)=>t.innerType._zod.run(e,a)}),L5e=D4e("$ZodNullable",(e,t)=>{F3e.init(e,t),W4e(e._zod,"optin",()=>t.innerType._zod.optin),W4e(e._zod,"optout",()=>t.innerType._zod.optout),W4e(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${F4e(e.source)}|null)$`):void 0}),W4e(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,a)=>null===e.value?e:t.innerType._zod.run(e,a)}),B5e=D4e("$ZodDefault",(e,t)=>{F3e.init(e,t),e._zod.optin="optional",W4e(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,a)=>{if("backward"===a.direction)return t.innerType._zod.run(e,a);if(void 0===e.value)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,a);return r instanceof Promise?r.then(e=>H3e(e,t)):H3e(r,t)}}),j5e=D4e("$ZodPrefault",(e,t)=>{F3e.init(e,t),e._zod.optin="optional",W4e(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,a)=>("backward"===a.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,a))}),U5e=D4e("$ZodNonOptional",(e,t)=>{F3e.init(e,t),W4e(e._zod,"values",()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(a,r)=>{let n=t.innerType._zod.run(a,r);return n instanceof Promise?n.then(t=>Z3e(t,e)):Z3e(n,e)}}),z5e=D4e("$ZodCatch",(e,t)=>{F3e.init(e,t),W4e(e._zod,"optin",()=>t.innerType._zod.optin),W4e(e._zod,"optout",()=>t.innerType._zod.optout),W4e(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,a)=>{if("backward"===a.direction)return t.innerType._zod.run(e,a);let r=t.innerType._zod.run(e,a);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>l6e(e,a,L4e()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>l6e(e,a,L4e()))},input:e.value}),e.issues=[]),e)}}),H5e=D4e("$ZodPipe",(e,t)=>{F3e.init(e,t),W4e(e._zod,"values",()=>t.in._zod.values),W4e(e._zod,"optin",()=>t.in._zod.optin),W4e(e._zod,"optout",()=>t.out._zod.optout),W4e(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,a)=>{if("backward"===a.direction){let r=t.out._zod.run(e,a);return r instanceof Promise?r.then(e=>V3e(e,t.in,a)):V3e(r,t.in,a)}let r=t.in._zod.run(e,a);return r instanceof Promise?r.then(e=>V3e(e,t.out,a)):V3e(r,t.out,a)}}),Z5e=D4e("$ZodReadonly",(e,t)=>{F3e.init(e,t),W4e(e._zod,"propValues",()=>t.innerType._zod.propValues),W4e(e._zod,"values",()=>t.innerType._zod.values),W4e(e._zod,"optin",()=>t.innerType?._zod?.optin),W4e(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(e,a)=>{if("backward"===a.direction)return t.innerType._zod.run(e,a);let r=t.innerType._zod.run(e,a);return r instanceof Promise?r.then(Q3e):Q3e(r)}}),V5e=D4e("$ZodLazy",(e,t)=>{F3e.init(e,t),W4e(e._zod,"innerType",()=>t.getter()),W4e(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),W4e(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),W4e(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),W4e(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,a)=>e._zod.innerType._zod.run(t,a)}),Q5e=D4e("$ZodCustom",(e,t)=>{u3e.init(e,t),F3e.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=a=>{let r=a.value,n=t.fn(r);if(n instanceof Promise)return n.then(t=>q3e(t,a,r,e));q3e(n,a,r,e)}})});var F5e,W5e=V(()=>{g6e(),F5e=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(t){return e[t]??null}let a={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},r={nan:"NaN"};return e=>{switch(e.code){case"invalid_type":{let t=r[e.expected]??e.expected,a=function(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(null===e)return"null";if(Array.isArray(e))return"array";let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&"constructor"in t&&t.constructor)return t.constructor.name}}return t}(e.input);return`Invalid input: expected ${t}, received ${r[a]??a}`}case"invalid_value":return 1===e.values.length?`Invalid input: expected ${n6e(e.values[0])}`:`Invalid option: expected one of ${Z4e(e.values,"|")}`;case"too_big":{let a=e.inclusive?"<=":"<",r=t(e.origin);return r?`Too big: expected ${e.origin??"value"} to have ${a}${e.maximum.toString()} ${r.unit??"elements"}`:`Too big: expected ${e.origin??"value"} to be ${a}${e.maximum.toString()}`}case"too_small":{let a=e.inclusive?">=":">",r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${a}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${a}${e.minimum.toString()}`}case"invalid_format":{let t=e;return"starts_with"===t.format?`Invalid string: must start with "${t.prefix}"`:"ends_with"===t.format?`Invalid string: must end with "${t.suffix}"`:"includes"===t.format?`Invalid string: must include "${t.includes}"`:"regex"===t.format?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${a[t.format]??e.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${e.divisor}`;case"unrecognized_keys":return`Unrecognized key${e.keys.length>1?"s":""}: ${Z4e(e.keys,", ")}`;case"invalid_key":return`Invalid key in ${e.origin}`;case"invalid_union":default:return"Invalid input";case"invalid_element":return`Invalid value in ${e.origin}`}}}});var X5e,G5e,Y5e,K5e=V(()=>{G5e=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let a=t[0];return this._map.set(e,a),a&&"object"==typeof a&&"id"in a&&this._idmap.set(a.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let a={...this.get(t)??{}};delete a.id;let r={...a,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}},(X5e=globalThis).__zod_globalRegistry??(X5e.__zod_globalRegistry=new G5e),Y5e=globalThis.__zod_globalRegistry});function J5e(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...r6e(t)})}function e7e(e,t){return new p3e({check:"less_than",...r6e(t),value:e,inclusive:!1})}function t7e(e,t){return new p3e({check:"less_than",...r6e(t),value:e,inclusive:!0})}function a7e(e,t){return new h3e({check:"greater_than",...r6e(t),value:e,inclusive:!1})}function r7e(e,t){return new h3e({check:"greater_than",...r6e(t),value:e,inclusive:!0})}function n7e(e,t){return new m3e({check:"multiple_of",...r6e(t),value:e})}function o7e(e,t){return new g3e({check:"max_length",...r6e(t),maximum:e})}function i7e(e,t){return new v3e({check:"min_length",...r6e(t),minimum:e})}function s7e(e,t){return new b3e({check:"length_equals",...r6e(t),length:e})}function l7e(e){return new _3e({check:"overwrite",tx:e})}function c7e(e){let t=function(e,t){let a=new u3e({check:"custom",...r6e(t)});return a._zod.check=e,a}(a=>(a.addIssue=e=>{if("string"==typeof e)a.issues.push(u6e(e,a.value,t._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??="custom",r.input??=a.value,r.inst??=t,r.continue??=!t._zod.def.abort,a.issues.push(u6e(r))}},e(a.value,a)));return t}var u7e=V(()=>{P3e(),K5e(),g6e()});function d7e(e){let t=e?.target??"draft-2020-12";return"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Y5e,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function p7e(e,t,a={path:[],schemaPath:[]}){var r;let n=e._zod.def,o=t.seen.get(e);if(o)return o.count++,a.schemaPath.includes(e)&&(o.cycle=a.path),o.schema;let i={schema:{},count:1,cycle:void 0,path:a.path};t.seen.set(e,i);let s=e._zod.toJSONSchema?.();if(s)i.schema=s;else{let r={...a,schemaPath:[...a.schemaPath,e],path:a.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,i.schema,r);else{let a=i.schema,o=t.processors[n.type];if(!o)throw Error(`[toJSONSchema]: Non-representable type encountered: ${n.type}`);o(e,t,a,r)}let o=e._zod.parent;o&&(i.ref||=o,p7e(o,t,r),t.seen.get(o).isParent=!0)}let l=t.metadataRegistry.get(e);return l&&Object.assign(i.schema,l),"input"===t.io&&f7e(e)&&(delete i.schema.examples,delete i.schema.default),"input"===t.io&&i.schema._prefault&&((r=i.schema).default??(r.default=i.schema._prefault)),delete i.schema._prefault,t.seen.get(e).schema}function h7e(e,t){let a=e.seen.get(t);if(!a)throw Error("Unprocessed schema. This is a bug in Zod.");let r=new Map;for(let t of e.seen.entries()){let a=e.metadataRegistry.get(t[0])?.id;if(a){let e=r.get(a);if(e&&e!==t[0])throw Error(`Duplicate schema id "${a}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(a,t[0])}}let n=t=>{let r="draft-2020-12"===e.target?"$defs":"definitions";if(e.external){let a=e.external.registry.get(t[0])?.id,n=e.external.uri??(e=>e);if(a)return{ref:n(a)};let o=t[1].defId??t[1].schema.id??"schema"+e.counter++;return t[1].defId=o,{defId:o,ref:`${n("__shared")}#/${r}/${o}`}}if(t[1]===a)return{ref:"#"};let n=`#/${r}/`,o=t[1].schema.id??"__schema"+e.counter++;return{defId:o,ref:n+o}},o=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:a,defId:r}=n(e);t.def={...t.schema},r&&(t.defId=r);let o=t.schema;for(let e in o)delete o[e];o.$ref=a};if("throw"===e.cycles)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join("/")}/<root>\n\nSet the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let r=a[1];if(t!==a[0]){if(e.external){let r=e.external.registry.get(a[0])?.id;if(t!==a[0]&&r){o(a);continue}}(e.metadataRegistry.get(a[0])?.id||r.cycle||r.count>1&&"ref"===e.reused)&&o(a)}else o(a)}}function m7e(e,t){let a=e.seen.get(t);if(!a)throw Error("Unprocessed schema. This is a bug in Zod.");let r=t=>{let a=e.seen.get(t);if(null===a.ref)return;let n=a.def??a.schema,o={...n},i=a.ref;if(a.ref=null,i){r(i);let a=e.seen.get(i),s=a.schema;if(!s.$ref||"draft-07"!==e.target&&"draft-04"!==e.target&&"openapi-3.0"!==e.target?Object.assign(n,s):(n.allOf=n.allOf??[],n.allOf.push(s)),Object.assign(n,o),t._zod.parent===i)for(let e in n)"$ref"===e||"allOf"===e||e in o||delete n[e];if(s.$ref)for(let e in n)"$ref"===e||"allOf"===e||e in a.def&&JSON.stringify(n[e])===JSON.stringify(a.def[e])&&delete n[e]}let s=t._zod.parent;if(s&&s!==i){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(n.$ref=t.schema.$ref,t.def))for(let e in n)"$ref"===e||"allOf"===e||e in t.def&&JSON.stringify(n[e])===JSON.stringify(t.def[e])&&delete n[e]}e.override({zodSchema:t,jsonSchema:n,path:a.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let n={};if("draft-2020-12"===e.target?n.$schema="https://json-schema.org/draft/2020-12/schema":"draft-07"===e.target?n.$schema="http://json-schema.org/draft-07/schema#":"draft-04"===e.target?n.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let a=e.external.registry.get(t)?.id;if(!a)throw Error("Schema is missing an `id` property");n.$id=e.external.uri(a)}Object.assign(n,a.def??a.schema);let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&("draft-2020-12"===e.target?n.$defs=o:n.definitions=o);try{let a=JSON.parse(JSON.stringify(n));return Object.defineProperty(a,"~standard",{value:{...t["~standard"],jsonSchema:{input:v7e(t,"input",e.processors),output:v7e(t,"output",e.processors)}},enumerable:!1,writable:!1}),a}catch{throw Error("Error converting schema to JSON.")}}function f7e(e,t){let a=t??{seen:new Set};if(a.seen.has(e))return!1;a.seen.add(e);let r=e._zod.def;if("transform"===r.type)return!0;if("array"===r.type)return f7e(r.element,a);if("set"===r.type)return f7e(r.valueType,a);if("lazy"===r.type)return f7e(r.getter(),a);if("promise"===r.type||"optional"===r.type||"nonoptional"===r.type||"nullable"===r.type||"readonly"===r.type||"default"===r.type||"prefault"===r.type)return f7e(r.innerType,a);if("intersection"===r.type)return f7e(r.left,a)||f7e(r.right,a);if("record"===r.type||"map"===r.type)return f7e(r.keyType,a)||f7e(r.valueType,a);if("pipe"===r.type)return f7e(r.in,a)||f7e(r.out,a);if("object"===r.type){for(let e in r.shape)if(f7e(r.shape[e],a))return!0;return!1}if("union"===r.type){for(let e of r.options)if(f7e(e,a))return!0;return!1}if("tuple"===r.type){for(let e of r.items)if(f7e(e,a))return!0;return!(!r.rest||!f7e(r.rest,a))}return!1}var g7e,v7e,b7e=V(()=>{K5e(),g7e=(e,t={})=>a=>{let r=d7e({...a,processors:t});return p7e(e,r),h7e(r,e),m7e(r,e)},v7e=(e,t,a={})=>r=>{let{libraryOptions:n,target:o}=r??{},i=d7e({...n??{},target:o,io:t,processors:a});return p7e(e,i),h7e(i,e),m7e(i,e)}});var y7e,O7e,x7e,w7e,k7e,S7e,A7e,_7e,T7e,E7e,C7e,P7e,M7e,$7e,N7e,I7e,R7e,D7e,L7e,B7e,j7e,U7e,z7e,H7e,Z7e,V7e,Q7e,q7e,F7e,W7e,X7e,G7e,Y7e,K7e,J7e,e9e,t9e,a9e,r9e,n9e,o9e=V(()=>{b7e(),g6e(),y7e={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},O7e=(e,t,a,r)=>{let n=a;n.type="string";let{minimum:o,maximum:i,format:s,patterns:l,contentEncoding:c}=e._zod.bag;if("number"==typeof o&&(n.minLength=o),"number"==typeof i&&(n.maxLength=i),s&&(n.format=y7e[s]??s,""===n.format&&delete n.format,"time"===s&&delete n.format),c&&(n.contentEncoding=c),l&&l.size>0){let e=[...l];1===e.length?n.pattern=e[0].source:e.length>1&&(n.allOf=[...e.map(e=>({..."draft-07"===t.target||"draft-04"===t.target||"openapi-3.0"===t.target?{type:"string"}:{},pattern:e.source}))])}},x7e=(e,t,a,r)=>{let n=a,{minimum:o,maximum:i,format:s,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:u}=e._zod.bag;"string"==typeof s&&s.includes("int")?n.type="integer":n.type="number","number"==typeof u&&("draft-04"===t.target||"openapi-3.0"===t.target?(n.minimum=u,n.exclusiveMinimum=!0):n.exclusiveMinimum=u),"number"==typeof o&&(n.minimum=o,"number"==typeof u&&"draft-04"!==t.target&&(u>=o?delete n.minimum:delete n.exclusiveMinimum)),"number"==typeof c&&("draft-04"===t.target||"openapi-3.0"===t.target?(n.maximum=c,n.exclusiveMaximum=!0):n.exclusiveMaximum=c),"number"==typeof i&&(n.maximum=i,"number"==typeof c&&"draft-04"!==t.target&&(c<=i?delete n.maximum:delete n.exclusiveMaximum)),"number"==typeof l&&(n.multipleOf=l)},w7e=(e,t,a,r)=>{a.type="boolean"},k7e=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("BigInt cannot be represented in JSON Schema")},S7e=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Symbols cannot be represented in JSON Schema")},A7e=(e,t,a,r)=>{"openapi-3.0"===t.target?(a.type="string",a.nullable=!0,a.enum=[null]):a.type="null"},_7e=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Undefined cannot be represented in JSON Schema")},T7e=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Void cannot be represented in JSON Schema")},E7e=(e,t,a,r)=>{a.not={}},P7e=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Date cannot be represented in JSON Schema")},M7e=(e,t,a,r)=>{let n=H4e(e._zod.def.entries);n.every(e=>"number"==typeof e)&&(a.type="number"),n.every(e=>"string"==typeof e)&&(a.type="string"),a.enum=n},$7e=(e,t,a,r)=>{let n=e._zod.def,o=[];for(let e of n.values)if(void 0===e){if("throw"===t.unrepresentable)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof e){if("throw"===t.unrepresentable)throw Error("BigInt literals cannot be represented in JSON Schema");o.push(Number(e))}else o.push(e);if(0!==o.length)if(1===o.length){let e=o[0];a.type=null===e?"null":typeof e,"draft-04"===t.target||"openapi-3.0"===t.target?a.enum=[e]:a.const=e}else o.every(e=>"number"==typeof e)&&(a.type="number"),o.every(e=>"string"==typeof e)&&(a.type="string"),o.every(e=>"boolean"==typeof e)&&(a.type="boolean"),o.every(e=>null===e)&&(a.type="null"),a.enum=o},N7e=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("NaN cannot be represented in JSON Schema")},I7e=(e,t,a,r)=>{let n=a,o=e._zod.pattern;if(!o)throw Error("Pattern not found in template literal");n.type="string",n.pattern=o.source},R7e=(e,t,a,r)=>{let n=a,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:i,maximum:s,mime:l}=e._zod.bag;void 0!==i&&(o.minLength=i),void 0!==s&&(o.maxLength=s),l?1===l.length?(o.contentMediaType=l[0],Object.assign(n,o)):(Object.assign(n,o),n.anyOf=l.map(e=>({contentMediaType:e}))):Object.assign(n,o)},D7e=(e,t,a,r)=>{a.type="boolean"},L7e=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Custom types cannot be represented in JSON Schema")},B7e=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Function types cannot be represented in JSON Schema")},j7e=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema")},U7e=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Map cannot be represented in JSON Schema")},z7e=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Set cannot be represented in JSON Schema")},H7e=(e,t,a,r)=>{let n=a,o=e._zod.def,{minimum:i,maximum:s}=e._zod.bag;"number"==typeof i&&(n.minItems=i),"number"==typeof s&&(n.maxItems=s),n.type="array",n.items=p7e(o.element,t,{...r,path:[...r.path,"items"]})},Z7e=(e,t,a,r)=>{let n=a,o=e._zod.def;n.type="object",n.properties={};let i=o.shape;for(let e in i)n.properties[e]=p7e(i[e],t,{...r,path:[...r.path,"properties",e]});let s=new Set(Object.keys(i)),l=new Set([...s].filter(e=>{let a=o.shape[e]._zod;return"input"===t.io?void 0===a.optin:void 0===a.optout}));l.size>0&&(n.required=Array.from(l)),"never"===o.catchall?._zod.def.type?n.additionalProperties=!1:o.catchall?o.catchall&&(n.additionalProperties=p7e(o.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):"output"===t.io&&(n.additionalProperties=!1)},V7e=(e,t,a,r)=>{let n=e._zod.def,o=!1===n.inclusive,i=n.options.map((e,a)=>p7e(e,t,{...r,path:[...r.path,o?"oneOf":"anyOf",a]}));o?a.oneOf=i:a.anyOf=i},Q7e=(e,t,a,r)=>{let n=e._zod.def,o=p7e(n.left,t,{...r,path:[...r.path,"allOf",0]}),i=p7e(n.right,t,{...r,path:[...r.path,"allOf",1]}),s=e=>"allOf"in e&&1===Object.keys(e).length;a.allOf=[...s(o)?o.allOf:[o],...s(i)?i.allOf:[i]]},q7e=(e,t,a,r)=>{let n=a,o=e._zod.def;n.type="array";let i="draft-2020-12"===t.target?"prefixItems":"items",s="draft-2020-12"===t.target||"openapi-3.0"===t.target?"items":"additionalItems",l=o.items.map((e,a)=>p7e(e,t,{...r,path:[...r.path,i,a]})),c=o.rest?p7e(o.rest,t,{...r,path:[...r.path,s,..."openapi-3.0"===t.target?[o.items.length]:[]]}):null;"draft-2020-12"===t.target?(n.prefixItems=l,c&&(n.items=c)):"openapi-3.0"===t.target?(n.items={anyOf:l},c&&n.items.anyOf.push(c),n.minItems=l.length,c||(n.maxItems=l.length)):(n.items=l,c&&(n.additionalItems=c));let{minimum:u,maximum:d}=e._zod.bag;"number"==typeof u&&(n.minItems=u),"number"==typeof d&&(n.maxItems=d)},F7e=(e,t,a,r)=>{let n=a,o=e._zod.def;n.type="object";let i=o.keyType,s=i._zod.bag?.patterns;if("loose"===o.mode&&s&&s.size>0){let e=p7e(o.valueType,t,{...r,path:[...r.path,"patternProperties","*"]});n.patternProperties={};for(let t of s)n.patternProperties[t.source]=e}else("draft-07"===t.target||"draft-2020-12"===t.target)&&(n.propertyNames=p7e(o.keyType,t,{...r,path:[...r.path,"propertyNames"]})),n.additionalProperties=p7e(o.valueType,t,{...r,path:[...r.path,"additionalProperties"]});let l=i._zod.values;if(l){let e=[...l].filter(e=>"string"==typeof e||"number"==typeof e);e.length>0&&(n.required=e)}},W7e=(e,t,a,r)=>{let n=e._zod.def,o=p7e(n.innerType,t,r),i=t.seen.get(e);"openapi-3.0"===t.target?(i.ref=n.innerType,a.nullable=!0):a.anyOf=[o,{type:"null"}]},X7e=(e,t,a,r)=>{let n=e._zod.def;p7e(n.innerType,t,r),t.seen.get(e).ref=n.innerType},G7e=(e,t,a,r)=>{let n=e._zod.def;p7e(n.innerType,t,r),t.seen.get(e).ref=n.innerType,a.default=JSON.parse(JSON.stringify(n.defaultValue))},Y7e=(e,t,a,r)=>{let n=e._zod.def;p7e(n.innerType,t,r),t.seen.get(e).ref=n.innerType,"input"===t.io&&(a._prefault=JSON.parse(JSON.stringify(n.defaultValue)))},K7e=(e,t,a,r)=>{let n,o=e._zod.def;p7e(o.innerType,t,r),t.seen.get(e).ref=o.innerType;try{n=o.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}a.default=n},J7e=(e,t,a,r)=>{let n=e._zod.def,o="input"===t.io?"transform"===n.in._zod.def.type?n.out:n.in:n.out;p7e(o,t,r),t.seen.get(e).ref=o},e9e=(e,t,a,r)=>{let n=e._zod.def;p7e(n.innerType,t,r),t.seen.get(e).ref=n.innerType,a.readOnly=!0},t9e=(e,t,a,r)=>{let n=e._zod.def;p7e(n.innerType,t,r),t.seen.get(e).ref=n.innerType},a9e=(e,t,a,r)=>{let n=e._zod.def;p7e(n.innerType,t,r),t.seen.get(e).ref=n.innerType},r9e=(e,t,a,r)=>{let n=e._zod.innerType;p7e(n,t,r),t.seen.get(e).ref=n},n9e={string:O7e,number:x7e,boolean:w7e,bigint:k7e,symbol:S7e,null:A7e,undefined:_7e,void:T7e,never:E7e,any:(e,t,a,r)=>{},unknown:C7e=(e,t,a,r)=>{},date:P7e,enum:M7e,literal:$7e,nan:N7e,template_literal:I7e,file:R7e,success:D7e,custom:L7e,function:B7e,transform:j7e,map:U7e,set:z7e,array:H7e,object:Z7e,union:V7e,intersection:Q7e,tuple:q7e,record:F7e,nullable:W7e,nonoptional:X7e,default:G7e,prefault:Y7e,catch:K7e,pipe:J7e,readonly:e9e,promise:t9e,optional:a9e,lazy:r9e}}),i9e=V(()=>{z4e(),R6e(),I6e(),q5e(),P3e(),$3e(),g6e(),K5e(),M3e(),u7e(),b7e()}),s9e=V(()=>{i9e()});function l9e(e){return function(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...r6e(t)})}(p9e,e)}function c9e(e){return function(e,t){return new e({type:"string",format:"date",check:"string_format",...r6e(t)})}(h9e,e)}function u9e(e){return function(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...r6e(t)})}(m9e,e)}function d9e(e){return function(e,t){return new e({type:"string",format:"duration",check:"string_format",...r6e(t)})}(f9e,e)}var p9e,h9e,m9e,f9e,g9e,v9e,b9e,y9e,O9e,x9e,w9e,k9e,S9e,A9e,_9e,T9e,E9e,C9e,P9e=V(()=>{i9e(),Itt(),p9e=D4e("ZodISODateTime",(e,t)=>{s5e.init(e,t),ret.init(e,t)}),h9e=D4e("ZodISODate",(e,t)=>{l5e.init(e,t),ret.init(e,t)}),m9e=D4e("ZodISOTime",(e,t)=>{c5e.init(e,t),ret.init(e,t)}),f9e=D4e("ZodISODuration",(e,t)=>{u5e.init(e,t),ret.init(e,t)})}),M9e=V(()=>{i9e(),g6e(),g9e=(e,t)=>{b6e.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>function(e,t=e=>e.message){let a={_errors:[]},r=e=>{for(let n of e.issues)if("invalid_union"===n.code&&n.errors.length)n.errors.map(e=>r({issues:e}));else if("invalid_key"===n.code)r({issues:n.issues});else if("invalid_element"===n.code)r({issues:n.issues});else if(0===n.path.length)a._errors.push(t(n));else{let e=a,r=0;for(;r<n.path.length;){let a=n.path[r];r===n.path.length-1?(e[a]=e[a]||{_errors:[]},e[a]._errors.push(t(n))):e[a]=e[a]||{_errors:[]},e=e[a],r++}}};return r(e),a}(e,t)},flatten:{value:t=>function(e,t=e=>e.message){let a={},r=[];for(let n of e.issues)n.path.length>0?(a[n.path[0]]=a[n.path[0]]||[],a[n.path[0]].push(t(n))):r.push(t(n));return{formErrors:r,fieldErrors:a}}(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,V4e,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,V4e,2)}},isEmpty:{get:()=>0===e.issues.length}})},D4e("ZodError",g9e),v9e=D4e("ZodError",g9e,{Parent:Error})}),$9e=V(()=>{i9e(),M9e(),b9e=O6e(v9e),y9e=x6e(v9e),O9e=w6e(v9e),x9e=S6e(v9e),w9e=_6e(v9e),k9e=T6e(v9e),S9e=E6e(v9e),A9e=C6e(v9e),_9e=P6e(v9e),T9e=M6e(v9e),E9e=$6e(v9e),C9e=N6e(v9e)});function N9e(e){return function(e,t){return new e({type:"string",...r6e(t)})}(aet,e)}function I9e(e){return function(e,t){return new e({type:"number",checks:[],...r6e(t)})}(Aet,e)}function R9e(e){return function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...r6e(t)})}(_et,e)}function D9e(e){return function(e,t){return new e({type:"boolean",...r6e(t)})}(Tet,e)}function L9e(e){return function(e,t){return new e({type:"null",...r6e(t)})}(Eet,e)}function B9e(){return function(e){return new e({type:"unknown"})}(Cet)}function j9e(e){return function(e,t){return new e({type:"never",...r6e(t)})}(Pet,e)}function U9e(e,t){return function(e,t,a){return new e({type:"array",element:t,...r6e(a)})}(Met,e,t)}function z9e(e,t){return new $et({type:"object",shape:e??{},...r6e(t)})}function H9e(e,t){return new $et({type:"object",shape:e,catchall:j9e(),...r6e(t)})}function Z9e(e,t){return new Net({type:"union",options:e,...r6e(t)})}function V9e(e,t,a){return new Iet({type:"union",options:t,discriminator:e,...r6e(a)})}function Q9e(e,t,a){return new Det({type:"record",keyType:e,valueType:t,...r6e(a)})}function q9e(e,t){return new Let({type:"enum",entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...r6e(t)})}function F9e(e,t){return new Bet({type:"literal",values:Array.isArray(e)?e:[e],...r6e(t)})}function W9e(e){return new Uet({type:"optional",innerType:e})}function X9e(e){return new Het({type:"nullable",innerType:e})}function G9e(e,t){return new Fet({type:"pipe",in:e,out:t})}function Y9e(e,t){return function(e,t,a){let r=r6e(a);return r.abort??=!0,new e({type:"custom",check:"custom",fn:t,...r})}(Get,e??(()=>!0),t)}function K9e(e,t={}){return function(e,t,a){return new e({type:"custom",check:"custom",fn:t,...r6e(a)})}(Get,e,t)}function J9e(e,t={}){let a=new Get({type:"custom",check:"custom",fn:t=>t instanceof e,abort:!0,...r6e(t)});return a._zod.bag.Class=e,a._zod.check=t=>{t.value instanceof e||t.issues.push({code:"invalid_type",expected:e.name,input:t.value,inst:a,path:[...a._zod.def.path??[]]})},a}var eet,tet,aet,ret,net,oet,iet,set,cet,uet,det,pet,het,met,fet,get,vet,bet,yet,Oet,xet,wet,ket,Aet,_et,Tet,Eet,Cet,Pet,Met,$et,Net,Iet,Ret,Det,Let,Bet,jet,Uet,zet,Het,Zet,Vet,Qet,qet,Fet,Wet,Xet,Get,Yet,Ket,Jet,ett,ttt,att,rtt,ntt,ott,itt,stt,ltt,ctt,utt,dtt,ptt,htt,mtt,ftt,gtt,vtt,btt,ytt,Ott,xtt,wtt,ktt,Stt,Att,_tt,Ttt,Ett,Ctt,Ptt,Mtt,$tt,Ntt,Itt=V(()=>{i9e(),o9e(),b7e(),s9e(),P9e(),$9e(),eet=D4e("ZodType",(e,t)=>(F3e.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:v7e(e,"input"),output:v7e(e,"output")}}),e.toJSONSchema=g7e(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...a)=>e.clone(G4e(t,{checks:[...t.checks??[],...a.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,a)=>a6e(e,t,a),e.brand=()=>e,e.register=(t,a)=>(t.add(e,a),e),e.parse=(t,a)=>b9e(e,t,a,{callee:e.parse}),e.safeParse=(t,a)=>O9e(e,t,a),e.parseAsync=async(t,a)=>y9e(e,t,a,{callee:e.parseAsync}),e.safeParseAsync=async(t,a)=>x9e(e,t,a),e.spa=e.safeParseAsync,e.encode=(t,a)=>w9e(e,t,a),e.decode=(t,a)=>k9e(e,t,a),e.encodeAsync=async(t,a)=>S9e(e,t,a),e.decodeAsync=async(t,a)=>A9e(e,t,a),e.safeEncode=(t,a)=>_9e(e,t,a),e.safeDecode=(t,a)=>T9e(e,t,a),e.safeEncodeAsync=async(t,a)=>E9e(e,t,a),e.safeDecodeAsync=async(t,a)=>C9e(e,t,a),e.refine=(t,a)=>e.check(K9e(t,a)),e.superRefine=t=>e.check(function(e){return c7e(e)}(t)),e.overwrite=t=>e.check(l7e(t)),e.optional=()=>W9e(e),e.exactOptional=()=>function(e){return new zet({type:"optional",innerType:e})}(e),e.nullable=()=>X9e(e),e.nullish=()=>W9e(X9e(e)),e.nonoptional=t=>function(e,t){return new Qet({type:"nonoptional",innerType:e,...r6e(t)})}(e,t),e.array=()=>U9e(e),e.or=t=>Z9e([e,t]),e.and=t=>function(e,t){return new Ret({type:"intersection",left:e,right:t})}(e,t),e.transform=t=>G9e(e,function(e){return new jet({type:"transform",transform:e})}(t)),e.default=t=>function(e,t){return new Zet({type:"default",innerType:e,get defaultValue(){return"function"==typeof t?t():e6e(t)}})}(e,t),e.prefault=t=>function(e,t){return new Vet({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof t?t():e6e(t)}})}(e,t),e.catch=t=>function(e,t){return new qet({type:"catch",innerType:e,catchValue:"function"==typeof t?t:()=>t})}(e,t),e.pipe=t=>G9e(e,t),e.readonly=()=>function(e){return new Wet({type:"readonly",innerType:e})}(e),e.describe=t=>{let a=e.clone();return Y5e.add(a,{description:t}),a},Object.defineProperty(e,"description",{get:()=>Y5e.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return Y5e.get(e);let a=e.clone();return Y5e.add(a,t[0]),a},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=t=>t(e),e)),tet=D4e("_ZodString",(e,t)=>{W3e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>O7e(e,t,a,r);let a=e._zod.bag;e.format=a.format??null,e.minLength=a.minimum??null,e.maxLength=a.maximum??null,e.regex=(...t)=>e.check(function(e,t){return new O3e({check:"string_format",format:"regex",...r6e(t),pattern:e})}(...t)),e.includes=(...t)=>e.check(function(e,t){return new k3e({check:"string_format",format:"includes",...r6e(t),includes:e})}(...t)),e.startsWith=(...t)=>e.check(function(e,t){return new S3e({check:"string_format",format:"starts_with",...r6e(t),prefix:e})}(...t)),e.endsWith=(...t)=>e.check(function(e,t){return new A3e({check:"string_format",format:"ends_with",...r6e(t),suffix:e})}(...t)),e.min=(...t)=>e.check(i7e(...t)),e.max=(...t)=>e.check(o7e(...t)),e.length=(...t)=>e.check(s7e(...t)),e.nonempty=(...t)=>e.check(i7e(1,...t)),e.lowercase=t=>e.check(function(e){return new x3e({check:"string_format",format:"lowercase",...r6e(e)})}(t)),e.uppercase=t=>e.check(function(e){return new w3e({check:"string_format",format:"uppercase",...r6e(e)})}(t)),e.trim=()=>e.check(l7e(e=>e.trim())),e.normalize=(...t)=>e.check(function(e){return l7e(t=>t.normalize(e))}(...t)),e.toLowerCase=()=>e.check(l7e(e=>e.toLowerCase())),e.toUpperCase=()=>e.check(l7e(e=>e.toUpperCase())),e.slugify=()=>e.check(l7e(e=>function(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}(e)))}),aet=D4e("ZodString",(e,t)=>{W3e.init(e,t),tet.init(e,t),e.email=t=>e.check(function(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...r6e(t)})}(net,t)),e.url=t=>e.check(function(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...r6e(t)})}(set,t)),e.jwt=t=>e.check(function(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...r6e(t)})}(ket,t)),e.emoji=t=>e.check(function(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...r6e(t)})}(cet,t)),e.guid=t=>e.check(J5e(oet,t)),e.uuid=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...r6e(t)})}(iet,t)),e.uuidv4=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...r6e(t)})}(iet,t)),e.uuidv6=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...r6e(t)})}(iet,t)),e.uuidv7=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...r6e(t)})}(iet,t)),e.nanoid=t=>e.check(function(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...r6e(t)})}(uet,t)),e.guid=t=>e.check(J5e(oet,t)),e.cuid=t=>e.check(function(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...r6e(t)})}(det,t)),e.cuid2=t=>e.check(function(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...r6e(t)})}(pet,t)),e.ulid=t=>e.check(function(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...r6e(t)})}(het,t)),e.base64=t=>e.check(function(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...r6e(t)})}(Oet,t)),e.base64url=t=>e.check(function(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...r6e(t)})}(xet,t)),e.xid=t=>e.check(function(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...r6e(t)})}(met,t)),e.ksuid=t=>e.check(function(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...r6e(t)})}(fet,t)),e.ipv4=t=>e.check(function(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...r6e(t)})}(get,t)),e.ipv6=t=>e.check(function(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...r6e(t)})}(vet,t)),e.cidrv4=t=>e.check(function(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...r6e(t)})}(bet,t)),e.cidrv6=t=>e.check(function(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...r6e(t)})}(yet,t)),e.e164=t=>e.check(function(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...r6e(t)})}(wet,t)),e.datetime=t=>e.check(l9e(t)),e.date=t=>e.check(c9e(t)),e.time=t=>e.check(u9e(t)),e.duration=t=>e.check(d9e(t))}),ret=D4e("ZodStringFormat",(e,t)=>{X3e.init(e,t),tet.init(e,t)}),net=D4e("ZodEmail",(e,t)=>{K3e.init(e,t),ret.init(e,t)}),oet=D4e("ZodGUID",(e,t)=>{G3e.init(e,t),ret.init(e,t)}),iet=D4e("ZodUUID",(e,t)=>{Y3e.init(e,t),ret.init(e,t)}),set=D4e("ZodURL",(e,t)=>{J3e.init(e,t),ret.init(e,t)}),cet=D4e("ZodEmoji",(e,t)=>{e5e.init(e,t),ret.init(e,t)}),uet=D4e("ZodNanoID",(e,t)=>{t5e.init(e,t),ret.init(e,t)}),det=D4e("ZodCUID",(e,t)=>{a5e.init(e,t),ret.init(e,t)}),pet=D4e("ZodCUID2",(e,t)=>{r5e.init(e,t),ret.init(e,t)}),het=D4e("ZodULID",(e,t)=>{n5e.init(e,t),ret.init(e,t)}),met=D4e("ZodXID",(e,t)=>{o5e.init(e,t),ret.init(e,t)}),fet=D4e("ZodKSUID",(e,t)=>{i5e.init(e,t),ret.init(e,t)}),get=D4e("ZodIPv4",(e,t)=>{d5e.init(e,t),ret.init(e,t)}),vet=D4e("ZodIPv6",(e,t)=>{p5e.init(e,t),ret.init(e,t)}),bet=D4e("ZodCIDRv4",(e,t)=>{h5e.init(e,t),ret.init(e,t)}),yet=D4e("ZodCIDRv6",(e,t)=>{m5e.init(e,t),ret.init(e,t)}),Oet=D4e("ZodBase64",(e,t)=>{f5e.init(e,t),ret.init(e,t)}),xet=D4e("ZodBase64URL",(e,t)=>{g5e.init(e,t),ret.init(e,t)}),wet=D4e("ZodE164",(e,t)=>{v5e.init(e,t),ret.init(e,t)}),ket=D4e("ZodJWT",(e,t)=>{b5e.init(e,t),ret.init(e,t)}),Aet=D4e("ZodNumber",(e,t)=>{y5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>x7e(e,t,a,r),e.gt=(t,a)=>e.check(a7e(t,a)),e.gte=(t,a)=>e.check(r7e(t,a)),e.min=(t,a)=>e.check(r7e(t,a)),e.lt=(t,a)=>e.check(e7e(t,a)),e.lte=(t,a)=>e.check(t7e(t,a)),e.max=(t,a)=>e.check(t7e(t,a)),e.int=t=>e.check(R9e(t)),e.safe=t=>e.check(R9e(t)),e.positive=t=>e.check(a7e(0,t)),e.nonnegative=t=>e.check(r7e(0,t)),e.negative=t=>e.check(e7e(0,t)),e.nonpositive=t=>e.check(t7e(0,t)),e.multipleOf=(t,a)=>e.check(n7e(t,a)),e.step=(t,a)=>e.check(n7e(t,a)),e.finite=()=>e;let a=e._zod.bag;e.minValue=Math.max(a.minimum??-1/0,a.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(a.maximum??1/0,a.exclusiveMaximum??1/0)??null,e.isInt=(a.format??"").includes("int")||Number.isSafeInteger(a.multipleOf??.5),e.isFinite=!0,e.format=a.format??null}),_et=D4e("ZodNumberFormat",(e,t)=>{O5e.init(e,t),Aet.init(e,t)}),Tet=D4e("ZodBoolean",(e,t)=>{x5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>w7e(e,t,a,r)}),Eet=D4e("ZodNull",(e,t)=>{w5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>A7e(e,t,a,r)}),Cet=D4e("ZodUnknown",(e,t)=>{k5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>C7e(e,t,a,r)}),Pet=D4e("ZodNever",(e,t)=>{S5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>E7e(e,t,a,r)}),Met=D4e("ZodArray",(e,t)=>{A5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>H7e(e,t,a,r),e.element=t.element,e.min=(t,a)=>e.check(i7e(t,a)),e.nonempty=t=>e.check(i7e(1,t)),e.max=(t,a)=>e.check(o7e(t,a)),e.length=(t,a)=>e.check(s7e(t,a)),e.unwrap=()=>e.element}),$et=D4e("ZodObject",(e,t)=>{T5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Z7e(e,t,a,r),W4e(e,"shape",()=>t.shape),e.keyof=()=>q9e(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:B9e()}),e.loose=()=>e.clone({...e._zod.def,catchall:B9e()}),e.strict=()=>e.clone({...e._zod.def,catchall:j9e()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>function(e,t){if(!J4e(t))throw Error("Invalid input to extend: expected a plain object");let a=e._zod.def.checks;if(a&&a.length>0){let a=e._zod.def.shape;for(let e in t)if(void 0!==Object.getOwnPropertyDescriptor(a,e))throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return a6e(e,G4e(e._zod.def,{get shape(){let a={...e._zod.def.shape,...t};return X4e(this,"shape",a),a}}))}(e,t),e.safeExtend=t=>function(e,t){if(!J4e(t))throw Error("Invalid input to safeExtend: expected a plain object");return a6e(e,G4e(e._zod.def,{get shape(){let a={...e._zod.def.shape,...t};return X4e(this,"shape",a),a}}))}(e,t),e.merge=t=>function(e,t){return a6e(e,G4e(e._zod.def,{get shape(){let a={...e._zod.def.shape,...t._zod.def.shape};return X4e(this,"shape",a),a},get catchall(){return t._zod.def.catchall},checks:[]}))}(e,t),e.pick=t=>function(e,t){let a=e._zod.def,r=a.checks;if(r&&r.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");return a6e(e,G4e(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in a.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=a.shape[r])}return X4e(this,"shape",e),e},checks:[]}))}(e,t),e.omit=t=>function(e,t){let a=e._zod.def,r=a.checks;if(r&&r.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");return a6e(e,G4e(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in a.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return X4e(this,"shape",r),r},checks:[]}))}(e,t),e.partial=(...t)=>function(e,t,a){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");return a6e(t,G4e(t._zod.def,{get shape(){let r=t._zod.def.shape,n={...r};if(a)for(let t in a){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);a[t]&&(n[t]=e?new e({type:"optional",innerType:r[t]}):r[t])}else for(let t in r)n[t]=e?new e({type:"optional",innerType:r[t]}):r[t];return X4e(this,"shape",n),n},checks:[]}))}(Uet,e,t[0]),e.required=(...t)=>function(e,t,a){return a6e(t,G4e(t._zod.def,{get shape(){let r=t._zod.def.shape,n={...r};if(a)for(let t in a){if(!(t in n))throw Error(`Unrecognized key: "${t}"`);a[t]&&(n[t]=new e({type:"nonoptional",innerType:r[t]}))}else for(let t in r)n[t]=new e({type:"nonoptional",innerType:r[t]});return X4e(this,"shape",n),n}}))}(Qet,e,t[0])}),Net=D4e("ZodUnion",(e,t)=>{E5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>V7e(e,t,a,r),e.options=t.options}),Iet=D4e("ZodDiscriminatedUnion",(e,t)=>{Net.init(e,t),C5e.init(e,t)}),Ret=D4e("ZodIntersection",(e,t)=>{P5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Q7e(e,t,a,r)}),Det=D4e("ZodRecord",(e,t)=>{M5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>F7e(e,t,a,r),e.keyType=t.keyType,e.valueType=t.valueType}),Let=D4e("ZodEnum",(e,t)=>{$5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>M7e(e,t,a,r),e.enum=t.entries,e.options=Object.values(t.entries);let a=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let n={};for(let r of e){if(!a.has(r))throw Error(`Key ${r} not found in enum`);n[r]=t.entries[r]}return new Let({...t,checks:[],...r6e(r),entries:n})},e.exclude=(e,r)=>{let n={...t.entries};for(let t of e){if(!a.has(t))throw Error(`Key ${t} not found in enum`);delete n[t]}return new Let({...t,checks:[],...r6e(r),entries:n})}}),Bet=D4e("ZodLiteral",(e,t)=>{N5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>$7e(e,t,a,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})}),jet=D4e("ZodTransform",(e,t)=>{I5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>j7e(e,t,a,r),e._zod.parse=(a,r)=>{if("backward"===r.direction)throw new j4e(e.constructor.name);a.addIssue=r=>{if("string"==typeof r)a.issues.push(u6e(r,a.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??="custom",t.input??=a.value,t.inst??=e,a.issues.push(u6e(t))}};let n=t.transform(a.value,a);return n instanceof Promise?n.then(e=>(a.value=e,a)):(a.value=n,a)}}),Uet=D4e("ZodOptional",(e,t)=>{R5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>a9e(e,t,a,r),e.unwrap=()=>e._zod.def.innerType}),zet=D4e("ZodExactOptional",(e,t)=>{D5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>a9e(e,t,a,r),e.unwrap=()=>e._zod.def.innerType}),Het=D4e("ZodNullable",(e,t)=>{L5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>W7e(e,t,a,r),e.unwrap=()=>e._zod.def.innerType}),Zet=D4e("ZodDefault",(e,t)=>{B5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>G7e(e,t,a,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}),Vet=D4e("ZodPrefault",(e,t)=>{j5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Y7e(e,t,a,r),e.unwrap=()=>e._zod.def.innerType}),Qet=D4e("ZodNonOptional",(e,t)=>{U5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>X7e(e,t,a,r),e.unwrap=()=>e._zod.def.innerType}),qet=D4e("ZodCatch",(e,t)=>{z5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>K7e(e,t,a,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}),Fet=D4e("ZodPipe",(e,t)=>{H5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>J7e(e,t,a,r),e.in=t.in,e.out=t.out}),Wet=D4e("ZodReadonly",(e,t)=>{Z5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>e9e(e,t,a,r),e.unwrap=()=>e._zod.def.innerType}),Xet=D4e("ZodLazy",(e,t)=>{V5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>r9e(e,t,a,r),e.unwrap=()=>e._zod.def.getter()}),Get=D4e("ZodCustom",(e,t)=>{Q5e.init(e,t),eet.init(e,t),e._zod.processJSONSchema=(t,a,r)=>L7e(e,t,a,r)})}),Rtt=V(()=>{Yet||={}}),Dtt=V(()=>{Itt(),s9e(),M9e(),$9e(),Rtt(),i9e(),W5e(),o9e(),L4e({localeError:F5e()})}),Ltt=V(()=>{Dtt(),Dtt()}),Btt=V(()=>{YNe(),Ltt(),Ket=N9e().min(7).default(()=>PNe())}),jtt=V(()=>{Ltt(),Btt(),Jet=z9e({description:N9e().optional()}),ett=z9e({uid:Ket.brand(),nameKey:N9e().optional().default("")}),ttt=Jet.extend({type:F9e("apiKey"),name:N9e().optional().default(""),in:q9e(["query","header","cookie"]).optional().default("header").catch("header")}),att=z9e({value:N9e().default("")}),rtt=ttt.merge(ett).merge(att),ntt=Jet.extend({type:F9e("http"),scheme:N9e().toLowerCase().pipe(q9e(["basic","bearer"])).optional().default("basic"),bearerFormat:Z9e([F9e("JWT"),N9e()]).optional().default("JWT")}),ott=z9e({username:N9e().default(""),password:N9e().default(""),token:N9e().default("")}),itt=ntt.merge(ett).merge(ott),stt=Jet.extend({type:F9e("openIdConnect"),openIdConnectUrl:N9e().optional().default("")}),ltt=stt.merge(ett),ctt=N9e().default(""),utt=N9e().default(""),dtt=z9e({refreshUrl:N9e().optional().default(""),scopes:Q9e(N9e(),N9e().optional().default("")).optional().default({}).catch({}),selectedScopes:U9e(N9e()).optional().default([]),"x-scalar-client-id":N9e().optional().default(""),token:N9e().default(""),"x-scalar-security-query":Q9e(N9e(),N9e()).optional(),"x-scalar-security-body":Q9e(N9e(),N9e()).optional(),"x-tokenName":N9e().optional()}),ptt=typeof window<"u"?window.location.origin+window.location.pathname:"",htt=["SHA-256","plain","no"],mtt=q9e(["header","body"]).optional(),ftt=Jet.extend({type:F9e("oauth2"),"x-default-scopes":U9e(N9e()).optional(),flows:z9e({implicit:dtt.extend({type:F9e("implicit").default("implicit"),authorizationUrl:ctt,"x-scalar-redirect-uri":N9e().optional().default(ptt)}),password:dtt.extend({type:F9e("password").default("password"),tokenUrl:utt,clientSecret:N9e().default(""),username:N9e().default(""),password:N9e().default(""),"x-scalar-credentials-location":mtt}),clientCredentials:dtt.extend({type:F9e("clientCredentials").default("clientCredentials"),tokenUrl:utt,clientSecret:N9e().default(""),"x-scalar-credentials-location":mtt}),authorizationCode:dtt.extend({type:F9e("authorizationCode").default("authorizationCode"),authorizationUrl:ctt,"x-usePkce":q9e(htt).optional().default("no"),"x-scalar-redirect-uri":N9e().optional().default(ptt),tokenUrl:utt,clientSecret:N9e().default(""),"x-scalar-credentials-location":mtt})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":"",refreshUrl:"",token:"",type:"implicit",authorizationUrl:"http://localhost:8080","x-scalar-redirect-uri":ptt}})}),gtt=ftt.merge(ett),Q9e(N9e(),U9e(N9e()).optional().default([])),Z9e([ttt,ntt,ftt,stt]),V9e("type",[rtt,itt,ltt,gtt]).transform(e=>("oauth2"===e.type&&e["x-default-scopes"]?.length&&Object.keys(e.flows).forEach(t=>{e.flows[t]?.selectedScopes&&e["x-default-scopes"]&&(e.flows[t].selectedScopes=[e["x-default-scopes"]].flat())}),e))}),Utt=V(()=>{jtt()}),ztt=V(()=>{mIe(),L8e(),j8e(),U8e(),_8e(),Rc(),lce(),LJ(),$4e(),R4e(),Utt(),vtt={class:"flex h-8 items-center justify-end gap-2 border-t"},btt={class:"flex h-8 w-full items-center justify-end border-t"},ytt=Pn({__name:"OAuth2",props:{environment:{},flows:{},type:{},selectedScopes:{},scheme:{},server:{},proxyUrl:{},name:{},eventBus:{},options:{default:()=>({})}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){let a=t,r=N4e(),{toast:n}=C4e(),o=ol(()=>e.flows[e.type]),i=ol(()=>{let t=o.value.scopes;return t?e.selectedScopes.filter(e=>Object.hasOwn(t,e)):[]}),s=ol(()=>{if(!("x-scalar-secret-client-secret"in o.value))return!1;let e="x-usePkce"in o.value?o.value["x-usePkce"]:void 0;return"SHA-256"!==e&&"plain"!==e}),l=ol(()=>o.value["x-scalar-secret-client-secret"]??""),c=t=>{if("openIdConnect"===e.scheme.type)return u(t);e.eventBus.emit("auth:update:security-scheme",{payload:{type:e.scheme.type,flows:{[e.type]:t}},name:e.name})},u=t=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:e.scheme.type,[e.type]:t},name:e.name}),d=()=>{r.isLoading||e.eventBus.emit("auth:clear:security-scheme-secrets",{name:e.name})},p=()=>{r.isLoading||u({"x-scalar-secret-token":"","x-scalar-secret-refresh-token":""})},h=Za(null),m=Za(!1);fn(()=>o.value,t=>{if(!t||!("x-scalar-secret-redirect-uri"in t))return;let a=(t=>JSON.stringify({type:e.type,authorizationUrl:t&&"authorizationUrl"in t?t.authorizationUrl:"",tokenUrl:t&&"tokenUrl"in t?t.tokenUrl:"",refreshUrl:t?.refreshUrl??"",scopes:Object.keys(t?.scopes??{})}))(t);if(h.value!==a&&(h.value=a,m.value=!1),m.value)return;let r=t["x-scalar-secret-redirect-uri"],n=m8e(e.options);m.value=!0,!r&&n&&u({"x-scalar-secret-redirect-uri":n})},{immediate:!0});let f=async()=>{if(r.isLoading)return;r.start();let[t,a]=await d8e(e.flows,e.type,i.value,e.server,e.proxyUrl,vY(e.environment));await r.clear(),a?.accessToken?u({"x-scalar-secret-token":a.accessToken,...a.refreshToken?{"x-scalar-secret-refresh-token":a.refreshToken}:{}}):(console.error(t),n(t?.message??"Failed to authorize","error"))},g=ol(()=>"implicit"!==e.type),v=ol(()=>"tokenUrl"in o.value&&o.value.tokenUrl?o.value.tokenUrl:"https://galaxy.scalar.com/oauth/refresh"),b=async()=>{if(r.isLoading||"implicit"===e.type)return;r.start();let[t,a]=await h8e(e.flows,e.type,e.proxyUrl,e.server,vY(e.environment));await r.clear(),a?.accessToken?u({"x-scalar-secret-token":a.accessToken,...a.refreshToken?{"x-scalar-secret-refresh-token":a.refreshToken}:{}}):(console.error(t),n(t?.message??"Failed to refresh token","error"))},y=t=>{let a="body"===t?"body":"header";"openIdConnect"!==e.scheme.type&&c({"x-scalar-credentials-location":a}),u({"x-scalar-credentials-location":a})};return(t,n)=>o.value["x-scalar-secret-token"]?(Zo(),qo(Ls,{key:0},[qs(Fa(lIe),null,{default:cn(()=>[qs($2e,{class:"border-r-transparent",environment:e.environment,modelValue:o.value["x-scalar-secret-token"],placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":n[0]||=e=>u({"x-scalar-secret-token":e})},{default:cn(()=>[...n[14]||=[ei(" Access Token ",-1)]]),_:1},8,["environment","modelValue"])]),_:1}),g.value?(Zo(),Fo(Fa(lIe),{key:0},{default:cn(()=>[qs($2e,{class:"border-r-transparent",environment:e.environment,modelValue:o.value.refreshUrl??"",placeholder:v.value,"onUpdate:modelValue":n[1]||=e=>c({refreshUrl:e})},{default:cn(()=>[...n[15]||=[ei(" Refresh URL ",-1)]]),_:1},8,["environment","modelValue","placeholder"])]),_:1})):ai("",!0),qs(Fa(lIe),{class:"min-w-full"},{default:cn(()=>[Go("div",vtt,[g.value?(Zo(),Fo(Fa(tce),{key:0,class:"p-0 px-2 py-0.5",loader:Fa(r),size:"sm",variant:"outlined",onClick:b},{default:cn(()=>[...n[16]||=[ei(" Refresh ",-1)]]),_:1},8,["loader"])):ai("",!0),qs(Fa(tce),{class:"mr-1 p-0 px-2 py-0.5",disabled:Fa(r).isLoading,size:"sm",variant:"outlined",onClick:p},{default:cn(()=>[...n[17]||=[ei(" Clear ",-1)]]),_:1},8,["disabled"])])]),_:1})],64)):(Zo(),qo(Ls,{key:1},[qs(Fa(lIe),null,{default:cn(()=>["authorizationUrl"in o.value?(Zo(),Fo($2e,{key:0,containerClass:"border-r-0",environment:e.environment,modelValue:o.value["x-scalar-secret-auth-url"]??"",placeholder:"https://galaxy.scalar.com/authorize","onUpdate:modelValue":n[2]||=e=>{u({"x-scalar-secret-auth-url":e}),c({authorizationUrl:e})}},{default:cn(()=>[...n[18]||=[ei(" Auth URL ",-1)]]),_:1},8,["environment","modelValue"])):ai("",!0),"tokenUrl"in o.value?(Zo(),Fo($2e,{key:1,environment:e.environment,modelValue:o.value["x-scalar-secret-token-url"]??"",placeholder:"https://galaxy.scalar.com/token","onUpdate:modelValue":n[3]||=e=>{u({"x-scalar-secret-token-url":e}),c({tokenUrl:e})}},{default:cn(()=>[...n[19]||=[ei(" Token URL ",-1)]]),_:1},8,["environment","modelValue"])):ai("",!0)]),_:1}),"x-scalar-secret-redirect-uri"in o.value?(Zo(),Fo(Fa(lIe),{key:0},{default:cn(()=>[qs($2e,{environment:e.environment,modelValue:o.value["x-scalar-secret-redirect-uri"],placeholder:"Optional redirect URL","onUpdate:modelValue":n[4]||=e=>{m.value=!0,u({"x-scalar-secret-redirect-uri":e})}},{default:cn(()=>[...n[20]||=[ei(" Redirect URL ",-1)]]),_:1},8,["environment","modelValue"])]),_:1})):ai("",!0),"x-scalar-secret-username"in o.value&&"x-scalar-secret-password"in o.value?(Zo(),qo(Ls,{key:1},[qs(Fa(lIe),null,{default:cn(()=>[qs($2e,{class:"text-c-2",environment:e.environment,modelValue:o.value["x-scalar-secret-username"],placeholder:"janedoe","onUpdate:modelValue":n[5]||=e=>u({"x-scalar-secret-username":e})},{default:cn(()=>[...n[21]||=[ei(" Username ",-1)]]),_:1},8,["environment","modelValue"])]),_:1}),qs(Fa(lIe),null,{default:cn(()=>[qs($2e,{environment:e.environment,modelValue:o.value["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":n[6]||=e=>u({"x-scalar-secret-password":e})},{default:cn(()=>[...n[22]||=[ei(" Password ",-1)]]),_:1},8,["environment","modelValue"])]),_:1})],64)):ai("",!0),qs(Fa(lIe),null,{default:cn(()=>[qs($2e,{environment:e.environment,modelValue:o.value["x-scalar-secret-client-id"],placeholder:"12345","onUpdate:modelValue":n[7]||=e=>u({"x-scalar-secret-client-id":e})},{default:cn(()=>[...n[23]||=[ei(" Client ID ",-1)]]),_:1},8,["environment","modelValue"])]),_:1}),s.value?(Zo(),Fo(Fa(lIe),{key:2},{default:cn(()=>[qs($2e,{environment:e.environment,modelValue:l.value,placeholder:"XYZ123",type:"password","onUpdate:modelValue":n[8]||=e=>u({"x-scalar-secret-client-secret":e})},{default:cn(()=>[...n[24]||=[ei(" Client Secret ",-1)]]),_:1},8,["environment","modelValue"])]),_:1})):ai("",!0),"x-usePkce"in o.value?(Zo(),Fo(Fa(lIe),{key:3},{default:cn(()=>[qs($2e,{enum:Fa(htt),environment:e.environment,modelValue:o.value["x-usePkce"],readOnly:"","onUpdate:modelValue":n[9]||=e=>c({"x-usePkce":e})},{default:cn(()=>[...n[25]||=[ei(" Use PKCE ",-1)]]),_:1},8,["enum","environment","modelValue"])]),_:1})):ai("",!0),"implicit"===e.type?ai("",!0):(Zo(),Fo(Fa(lIe),{key:4},{default:cn(()=>[qs($2e,{enum:["header","body"],environment:e.environment,modelValue:o.value["x-scalar-credentials-location"]||"header",placeholder:"header",readOnly:"","onUpdate:modelValue":n[10]||=e=>y(e)},{default:cn(()=>[...n[26]||=[ei(" Credentials Location ",-1)]]),_:1},8,["environment","modelValue"])]),_:1})),qs(Fa(lIe),null,{default:cn(()=>[qs(a8e,{flow:o.value,flowType:e.type,selectedScopes:i.value,"onUpdate:selectedScopes":n[11]||=e=>a("update:selectedScopes",e),"onUpsert:scope":n[12]||=e=>a("upsert:scope",e),"onDelete:scope":n[13]||=e=>a("delete:scope",e)},null,8,["flow","flowType","selectedScopes"])]),_:1}),qs(Fa(lIe),{class:"min-w-full"},{default:cn(()=>[Go("div",btt,["openIdConnect"===e.scheme.type?(Zo(),Fo(Fa(tce),{key:0,class:"mr-1 p-0 px-2 py-0.5",disabled:Fa(r).isLoading,size:"sm",variant:"outlined",onClick:d},{default:cn(()=>[...n[27]||=[ei(" Clear ",-1)]]),_:1},8,["disabled"])):ai("",!0),qs(Fa(tce),{class:"mr-0.75 p-0 px-2 py-0.5",loader:Fa(r),size:"sm",variant:"outlined",onClick:f},{default:cn(()=>[...n[28]||=[ei(" Authorize ",-1)]]),_:1},8,["loader"])])]),_:1})],64))}})}),Htt=V(()=>{ztt(),Ott=ytt}),Ztt=V(()=>{$K(),mj(),Zq(),xtt=nj.Object({authorization_endpoint:nj.Optional(nj.String()),token_endpoint:nj.Optional(nj.String()),scopes_supported:nj.Optional(nj.Array(nj.String())),grant_types_supported:nj.Optional(nj.Array(nj.String())),code_challenge_methods_supported:nj.Optional(nj.Array(nj.String()))}),wtt=async(e,t)=>{try{let a=e.trim();if(!a)return[Error("URL cannot be empty"),null];a.endsWith("/")&&(a=a.slice(0,-1)),a.includes("/.well-known/openid-configuration")||(a=`${a}/.well-known/openid-configuration`);let r=CW(t,a),n=await fetch(r);if(!n.ok)return[Error(`Failed to fetch OpenID Connect discovery document: ${n.status} ${n.statusText}`),null];let o=xz(xtt,await n.json());return o.authorization_endpoint||o.token_endpoint?[null,o]:[Error("Invalid OpenID Connect discovery document: missing required endpoints"),null]}catch(e){return e instanceof Error?[e,null]:[Error("Failed to fetch OpenID Connect discovery document"),null]}}}),Vtt=V(()=>{mj(),fj(),kF(),_F(),CF(),cW(),ktt=oj(nj.Object({type:nj.Literal("apiKey")}),EZ),Stt=oj(nj.Object({type:nj.Literal("http")}),EZ,IZ),Att=oj(DZ,EZ,CZ),_tt=nj.Object({implicit:nj.Optional(oj(Att,LZ)),password:nj.Optional(oj(Att,IZ,RZ,wZ)),clientCredentials:nj.Optional(oj(Att,RZ,wZ)),authorizationCode:nj.Optional(oj(Att,RZ,LZ,wZ))}),Ttt=oj(nj.Object({type:nj.Literal("oauth2")}),_tt),Ett=nj.Object({type:nj.Literal("openIdConnect"),implicit:nj.Optional(oj(ZZ,Att,LZ)),password:nj.Optional(oj(VZ,Att,IZ,RZ,wZ)),clientCredentials:nj.Optional(oj(QZ,Att,RZ,wZ)),authorizationCode:nj.Optional(oj(qZ,Att,RZ,LZ,wZ))}),Ctt=nj.Union([ktt,Stt,Ttt,Ett]),Ptt=nj.Record(nj.String(),Ctt),Mtt=nj.Object({selectedIndex:nj.Number(),selectedSchemes:nj.Array(RQ)}),$tt=nj.Object({secrets:Ptt,selected:nj.Object({document:nj.Optional(Mtt),path:nj.Optional(nj.Record(nj.String(),nj.Record(nj.String(),nj.Optional(Mtt))))})}),Ntt=nj.Record(nj.String(),$tt)});var Qtt,qtt,Ftt,Wtt,Xtt,Gtt,Ytt,Ktt,Jtt,eat,tat,aat,rat,nat,oat,iat,sat,lat,cat,uat,dat,pat,hat,mat,fat,gat,vat,bat,yat,Oat,xat,wat,kat,Sat,Aat,_at,Tat,Eat,Cat,Pat,Mat,$at,Nat=V(()=>{Qtt=(e,t)=>{Object.assign(e,t)}}),Iat=V(()=>{GK(),Rc(),Vtt(),Nat(),bC(),Zq(),qtt=({hooks:e}={})=>{let t=Ma({});return{clearAuthSelectedSchemas:a=>{let r=t[a.documentName];if(!r)return;if("document"===a.type)return delete r.selected.document,void e?.onAuthChange?.(a.documentName);MY(a.method),MY(a.path);let n=r.selected.path?.[a.path];n&&(delete n[a.method],e?.onAuthChange?.(a.documentName))},getAuthSecrets:(e,a)=>t[e]?.secrets?.[a],setAuthSecrets:(a,r,n)=>{t[a]||={secrets:{},selected:{document:void 0,path:void 0}},t[a].secrets[r]=xz(Ctt,n),e?.onAuthChange?.(a)},clearAuthSecrets:(a,r)=>{delete t[a]?.secrets?.[r],e?.onAuthChange?.(a)},getAuthSelectedSchemas:e=>"document"===e.type?t[e.documentName]?.selected?.document:t[e.documentName]?.selected?.path?.[e.path]?.[e.method],setAuthSelectedSchemas:(a,r)=>{t[a.documentName]||={secrets:{},selected:{document:void 0,path:void 0}};let n=t[a.documentName];if("document"===a.type)n.selected.document=r;else{MY(a.path),MY(a.method),n.selected.path||={},n.selected.path[a.path]||={},n.selected.path[a.path][a.method]=r}e?.onAuthChange?.(a.documentName)},clearDocumentAuth:a=>{delete t[a],e?.onAuthChange?.(a)},load:a=>{Qtt(t,xz(Ntt,a)),Object.keys(a).forEach(t=>{e?.onAuthChange?.(t)})},export:()=>hC(t)}}}),Rat=V(()=>{Zq(),Iat(),Ftt=e=>{let t=Object.fromEntries((e.scopes_supported??[]).map(e=>[e,""])),a=new Set(e.grant_types_supported??["authorization_code","implicit"]),r=e.authorization_endpoint,n=e.token_endpoint,o=e.code_challenge_methods_supported?.includes("S256")?"SHA-256":e.code_challenge_methods_supported?.includes("plain")?"plain":"no",i={};return a.has("implicit")&&r&&(i.implicit={authorizationUrl:r,refreshUrl:r,scopes:t}),a.has("password")&&n&&(i.password={tokenUrl:n,refreshUrl:n,scopes:t}),a.has("client_credentials")&&n&&(i.clientCredentials={tokenUrl:n,refreshUrl:n,scopes:t}),a.has("authorization_code")&&r&&n&&(i.authorizationCode={authorizationUrl:r,tokenUrl:n,refreshUrl:n,"x-usePkce":o,scopes:t}),xz(Ett,i)}}),Dat=V(()=>{mIe(),_8e(),Ztt(),Rat(),Rc(),lce(),$4e(),R4e(),Wtt={class:"flex h-8 w-full items-center justify-end border-t"},Xtt=Pn({__name:"OpenIDConnect",props:{environment:{},eventBus:{},getStaticBorderClass:{type:Function},name:{},proxyUrl:{},scheme:{}},setup(e){let t=N4e(),{toast:a}=C4e(),r=async()=>{if(t.isLoading||!e.scheme.openIdConnectUrl)return;t.start();let[r,n]=await wtt(e.scheme.openIdConnectUrl,e.proxyUrl);if(await t.clear(),r)return console.error(r),void a(r?.message??"Failed to fetch OpenID Connect configuration","error");let o=Ftt(n);e.eventBus.emit("auth:update:security-scheme-secrets",{payload:o,name:e.name,overwrite:!0})},n=t=>e.eventBus.emit("auth:update:security-scheme",{payload:{type:"openIdConnect",openIdConnectUrl:t},name:e.name});return(a,o)=>(Zo(),qo(Ls,null,[qs(Fa(lIe),null,{default:cn(()=>[qs($2e,{containerClass:e.getStaticBorderClass(),environment:e.environment,modelValue:e.scheme.openIdConnectUrl,placeholder:"https://example.com/.well-known/openid-configuration",required:"","onUpdate:modelValue":n},{default:cn(()=>[...o[0]||=[ei(" Discovery URL ",-1)]]),_:1},8,["containerClass","environment","modelValue"])]),_:1}),qs(Fa(lIe),{class:"min-w-full"},{default:cn(()=>[Go("div",Wtt,[qs(Fa(tce),{class:"mr-0.75 p-0 px-2 py-0.5",disabled:!e.scheme.openIdConnectUrl,loader:Fa(t),size:"sm",variant:"outlined",onClick:r},{default:cn(()=>[...o[1]||=[ei(" Fetch Configuration ",-1)]]),_:1},8,["disabled","loader"])])]),_:1})],64))}})}),Lat=V(()=>{Dat(),Gtt=Xtt}),Bat=V(()=>{rIe(),mIe(),_8e(),Htt(),Lat(),Rc(),jE(),MJe(),Ytt={class:"bg-b-1 min-w-0 flex-1 px-3 py-1.25"},Ktt={class:"text-c-1 leading-5.5 font-medium"},Jtt={class:"flex min-h-8 border-t text-base"},eat={class:"flex h-8 max-w-full gap-2.5 overflow-x-auto px-3"},tat=["onClick"],aat={class:"relative z-10"},rat={key:5,class:"text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance"},nat=Pn({__name:"RequestAuthTab",props:{environment:{},isStatic:{type:Boolean},proxyUrl:{},selectedSecuritySchemas:{},securitySchemes:{},server:{},eventBus:{},options:{}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){let a=t,r=ol(()=>Object.entries(e.selectedSecuritySchemas).map(([t,a=[]])=>({scheme:EE(e.securitySchemes[t]),name:t,scopes:a}))),n=Za(""),o=ol(()=>r.value.flatMap(({scheme:e})=>"oauth2"!==e?.type&&"openIdConnect"!==e?.type?[]:Object.keys(e.flows??{})).includes(n.value)?n.value:""),i=e=>{n.value=e},s=ol(()=>r.value.length>1),l=(e,t)=>{let a=Lt(e);switch(t.type){case"apiKey":return`${a}: ${t.in}`;case"openIdConnect":case"oauth2":{let e=Object.keys(t.flows??{})[0],r=o.value||e;return r?`${a}: ${r}`:a}case"http":return`${a}: ${t.scheme}`;default:return a}},c=(e,t)=>o.value===e||0===t&&!o.value,u=()=>e.isStatic&&"border-t",d=(t,a)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:"http",...t},name:a}),p=(t,a)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:"apiKey",...t},name:a}),h=(t,a)=>e.eventBus.emit("auth:update:security-scheme",{payload:{type:"apiKey",...t},name:a}),m=(t,r)=>{a("update:selectedScopes",{id:Object.keys(e.selectedSecuritySchemas),name:t,...r})},f=(e,t)=>{a("upsert:scope",{...t,name:e})},g=(e,t)=>{a("delete:scope",{...t,name:e})},v=(t,a)=>{let r="floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium";return c(t,a)?`${r} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?"opacity-100":""}`:r};return(t,a)=>(Zo(!0),qo(Ls,null,Yn(r.value,({scheme:t,name:r,scopes:n})=>(Zo(),qo(Ls,{key:r},[s.value&&t?(Zo(),Fo(Fa(lIe),{key:0},{default:cn(()=>[qs(Fa(VNe),{"aria-label":l(r,t),class:"max-h-[auto]"},{default:cn(()=>[Go("div",Ytt,[Go("p",Ktt,Kt(l(r,t)),1),t.description?(Zo(),Fo(Fa(oKe),{key:0,class:"auth-description text-c-2 w-full",value:t.description},null,8,["value"])):ai("",!0)])]),_:2},1032,["aria-label"])]),_:2},1024)):ai("",!0),t?.description&&!s.value?(Zo(),Fo(Fa(lIe),{key:1},{default:cn(()=>[qs(Fa(VNe),{"aria-label":t.description,class:"max-h-[auto]"},{default:cn(()=>[qs(Fa(oKe),{class:"auth-description bg-b-1 text-c-2 min-w-0 flex-1 px-3 py-1.25",value:t.description},null,8,["value"])]),_:2},1032,["aria-label"])]),_:2},1024)):ai("",!0),"http"===t?.type?(Zo(),qo(Ls,{key:2},["bearer"===t.scheme?(Zo(),Fo(Fa(lIe),{key:0},{default:cn(()=>[qs($2e,{containerClass:u(),environment:e.environment,modelValue:t["x-scalar-secret-token"],placeholder:"Token",type:"password","onUpdate:modelValue":e=>d({"x-scalar-secret-token":e},r)},{default:cn(()=>[...a[0]||=[ei(" Bearer Token ",-1)]]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):"basic"===t?.scheme?(Zo(),qo(Ls,{key:1},[qs(Fa(lIe),null,{default:cn(()=>[qs($2e,{class:"text-c-2",environment:e.environment,modelValue:t["x-scalar-secret-username"],placeholder:"janedoe",required:"","onUpdate:modelValue":e=>d({"x-scalar-secret-username":e},r)},{default:cn(()=>[...a[1]||=[ei(" Username ",-1)]]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024),qs(Fa(lIe),null,{default:cn(()=>[qs($2e,{environment:e.environment,modelValue:t["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":e=>d({"x-scalar-secret-password":e},r)},{default:cn(()=>[...a[2]||=[ei(" Password ",-1)]]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):ai("",!0)],64)):"apiKey"===t?.type?(Zo(),qo(Ls,{key:3},[qs(Fa(lIe),null,{default:cn(()=>[qs($2e,{containerClass:u(),environment:e.environment,modelValue:t.name,placeholder:"api-key","onUpdate:modelValue":e=>h({name:e},r)},{default:cn(()=>[...a[3]||=[ei(" Name ",-1)]]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024),qs(Fa(lIe),null,{default:cn(()=>[qs($2e,{environment:e.environment,modelValue:t["x-scalar-secret-token"],placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":e=>p({"x-scalar-secret-token":e},r)},{default:cn(()=>[...a[4]||=[ei(" Value ",-1)]]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):"oauth2"===t?.type||"openIdConnect"===t?.type?(Zo(),qo(Ls,{key:4},["openIdConnect"!==t?.type||Object.keys(t.flows??{}).length?ai("",!0):(Zo(),Fo(Gtt,{key:0,environment:e.environment,eventBus:e.eventBus,getStaticBorderClass:u,name:r,proxyUrl:e.proxyUrl,scheme:t},null,8,["environment","eventBus","name","proxyUrl","scheme"])),Object.keys(t.flows??{}).length>1?(Zo(),Fo(Fa(lIe),{key:1},{default:cn(()=>[Go("div",Jtt,[Go("div",eat,[(Zo(!0),qo(Ls,null,Yn(t.flows,(e,t,a)=>(Zo(),qo("button",{key:t,class:tt(v(t,a)),type:"button",onClick:e=>i(t)},[Go("span",aat,Kt(t),1)],10,tat))),128))])])]),_:2},1024)):ai("",!0),(Zo(!0),qo(Ls,null,Yn(t.flows,(a,o,i)=>(Zo(),qo(Ls,{key:o},[t.flows&&c(o,i)?(Zo(),Fo(Ott,{key:0,environment:e.environment,eventBus:e.eventBus,flows:t.flows,name:r,options:e.options,proxyUrl:e.proxyUrl,scheme:t,selectedScopes:n,server:e.server,type:o,"onDelete:scope":e=>g(r,e),"onUpdate:selectedScopes":e=>m(r,e),"onUpsert:scope":e=>f(r,e)},null,8,["environment","eventBus","flows","name","options","proxyUrl","scheme","selectedScopes","server","type","onDelete:scope","onUpdate:selectedScopes","onUpsert:scope"])):ai("",!0)],64))),128))],64)):(Zo(),qo("div",rat," The security scheme is missing a type, please double check your OpenAPI document or Authentication Configuration "))],64))),128))}})}),jat=V(()=>{Bat(),oat=nat}),Uat=V(()=>{tIe(),jat(),Rc(),iat=["onClick"],sat={class:"relative z-10 font-medium whitespace-nowrap"},lat={key:0,class:"absolute inset-x-1 bottom-[var(--scalar-border-width)] left-1/2 z-1 h-px w-full -translate-x-1/2 bg-current"},cat=Pn({__name:"RequestAuthDataTable",props:{environment:{},isStatic:{type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{},options:{}},setup(e,{expose:t}){let a=ol(()=>e.selectedSchemeOptions[e.activeAuthIndex]),r=ol(()=>e.selectedSchemeOptions.length>1),n=t=>e.eventBus.emit("auth:update:active-index",{index:t,meta:e.meta}),o=t=>e.eventBus.emit("auth:update:selected-scopes",{...t,meta:e.meta}),i=t=>e.eventBus.emit("auth:upsert:scopes",t),s=t=>e.eventBus.emit("auth:delete:scopes",t),l=t=>e.activeAuthIndex===t;return t({activeScheme:a}),(t,c)=>(Zo(),qo("form",{onSubmit:c[0]||=Ac(()=>{},["prevent"])},[r.value?(Zo(),qo("div",{key:0,class:tt(["box-content flex flex-wrap gap-x-2.5 overflow-hidden border-x border-t px-3",{"border-x-0":!e.isStatic}]),"data-testid":"auth-tabs"},[(Zo(!0),qo(Ls,null,Yn(e.selectedSchemeOptions,(e,t)=>(Zo(),qo("div",{key:e.id,class:"relative z-1 -mb-[var(--scalar-border-width)] flex h-8"},[Go("button",{class:tt(["floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors",l(t)?"text-c-1":"text-c-3"]),type:"button",onClick:e=>n(t)},[Go("span",sat,Kt(e.label),1)],10,iat),l(t)?(Zo(),qo("div",lat)):ai("",!0)]))),128))],2)):ai("",!0),a.value?(Zo(),Fo(Fa(HNe),{key:1,class:tt(["flex-1",{"bg-b-1 rounded-b-lg border-x border-b":e.isStatic}]),columns:[""],presentational:""},{default:cn(()=>[qs(oat,{environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSecuritySchemas:a.value.value,server:e.server,"onDelete:scope":s,"onUpdate:selectedScopes":o,"onUpsert:scope":i},null,8,["environment","eventBus","isStatic","options","proxyUrl","securitySchemes","selectedSecuritySchemas","server"])]),_:1},8,["class"])):(Zo(),qo("div",{key:2,class:tt(["bg-b-1 text-c-3 flex min-h-16 items-center justify-center border-t px-4 text-sm",{"min-h-[calc(4rem+0.5px)] rounded-b-lg border":e.isStatic}])}," No authentication selected ",2))],32))}})}),zat=V(()=>{Uat(),uat=cat}),Hat=V(()=>{GJe(),y8e(),w8e(),zat(),Rc(),lce(),n0e(),ZS(),v8e(),jJe(),LJ(),lpe(),jE(),bC(),dat=["id"],pat={class:"min-w-0 flex-1 truncate"},hat=Pn({__name:"AuthSelector",props:{environment:{},eventBus:{},createAnySecurityScheme:{type:Boolean,default:!1},defaultOpen:{type:Boolean,default:!0},isStatic:{type:Boolean,default:!1},meta:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},selectedSecurity:{},server:{},title:{},options:{}},setup(e,{expose:t}){let a=Mn(),r=Za(null),n=Za(!1),o=l2e(),i=Za(null),s=ol(()=>{if(!e.securityRequirements?.length)return null;let t=vK(e.securityRequirements);return{icon:t?"Unlock":"Lock",text:t?"Optional":"Required"}}),l=ol(()=>k2e(e.securityRequirements??[],e.securitySchemes??{},e.selectedSecurity?.selectedSchemes??[],e.createAnySecurityScheme)),c=ol(()=>{let t=e.selectedSecurity?.selectedSchemes;return t?.length?t.flatMap(t=>{let a=Object.keys(t);if(0===a.length)return[];if(a.length>1)return x2e(t);let r=a[0];return r&&EE(e.securitySchemes?.[r])?O2e({name:r,value:t}):[]}):[]}),u=e=>{n.value&&e.stopPropagation(),r.value?.$el.click()},d=t=>{let a=t.filter(e=>void 0===e.payload).map(e=>hC(e.value,{depth:2})),r=t.filter(e=>void 0!==e.payload).map(e=>({name:e.label,scheme:e.payload}));e.eventBus.emit("auth:update:selected-security-schemes",{selectedRequirements:a,newSchemes:r,meta:e.meta})},p=e=>{i.value={label:e.label,payload:e.value},o.show()},h=()=>{i.value&&(e.eventBus.emit("auth:delete:security-scheme",{names:Object.keys(i.value.payload)}),i.value=null,o.hide())};return t({authIndicator:s,selectedSchemeOptions:c,schemeOptions:l}),(t,m)=>(Zo(),Fo(Fa(QKe),{class:"group/params relative",defaultOpen:e.defaultOpen,isStatic:e.isStatic,itemCount:c.value.length,"onUpdate:modelValue":m[1]||=e=>n.value=e},{title:cn(()=>[Go("div",{id:Fa(a),class:"inline-flex items-center gap-0.5 leading-[20px]"},[Go("span",null,Kt(e.title),1),s.value?(Zo(),qo("span",{key:0,class:tt(["text-c-3 hover:bg-b-3 hover:text-c-1 -my-0.5 -mr-1 cursor-pointer rounded px-1 py-0.5 leading-[normal] font-normal",{"text-c-1":"Required"===s.value.text}]),"data-testid":"auth-indicator",onClick:u},Kt(s.value.text),3)):ai("",!0)],8,dat)]),actions:cn(()=>[qs(Fa(qde),{class:"w-72 text-xs",modelValue:c.value,multiple:"",options:l.value,placement:"bottom-end",teleport:"",onDelete:p,"onUpdate:modelValue":d},{option:cn(({option:e,selected:t})=>[qs(Fa(pce),{multiselect:"",selected:t},null,8,["selected"]),Go("div",pat,Kt(e.label),1),e.isDeletable?(Zo(),Fo(Fa(wKe),{key:0,class:"-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",icon:Fa(Rx),label:`Delete ${e.label}`,size:"xs",onClick:Ac(t=>p(e),["stop"])},null,8,["icon","label","onClick"])):ai("",!0)]),default:cn(()=>[qs(Fa(tce),{ref_key:"comboboxButtonRef",ref:r,"aria-describedby":Fa(a),class:"group/combobox-button hover:text-c-1 text-c-2 flex h-fit w-full items-center gap-1 px-0.75 py-0.25 text-base font-normal",variant:"ghost"},{default:cn(()=>[1===c.value.length?(Zo(),qo(Ls,{key:0},[m[2]||=Go("span",{class:"sr-only"},"Selected Auth Type:",-1),ei(" "+Kt(c.value[0]?.label),1)],64)):c.value.length>1?(Zo(),qo(Ls,{key:1},[m[3]||=ei(" Multiple ",-1),m[4]||=Go("span",{class:"sr-only"},"Auth Types Selected",-1)],64)):(Zo(),qo(Ls,{key:2},[m[5]||=Go("span",{class:"sr-only"},"Select",-1),m[6]||=ei(" Auth Type ",-1)],64)),qs(Fa(jf),{class:"size-3 shrink-0 transition-transform duration-100 group-aria-expanded/combobox-button:rotate-180",weight:"bold"})]),_:1},8,["aria-describedby"])]),_:1},8,["modelValue","options"])]),default:cn(()=>[qs(uat,{activeAuthIndex:e.selectedSecurity?.selectedIndex??0,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,meta:e.meta,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSchemeOptions:c.value,server:e.server},null,8,["activeAuthIndex","environment","eventBus","isStatic","meta","options","proxyUrl","securitySchemes","selectedSchemeOptions","server"]),i.value?(Zo(),Fo(g2e,{key:0,label:i.value.label,scheme:i.value,state:Fa(o),onClose:m[0]||=e=>Fa(o).hide(),onDelete:h},null,8,["label","scheme","state"])):ai("",!0)]),_:1},8,["defaultOpen","isStatic","itemCount"]))}})}),Zat=V(()=>{Hat(),mat=hat}),Vat=V(()=>{L6(),Fle(),s0e(),z1e(),Z1e(),V1e(),i2e(),s2e(),Zat(),Rc(),LJ(),VS(),FA(),jE(),bC(),xW(),j1e(),fat={class:"group pointer-events-none flex flex-1 items-center gap-1 lg:pr-24"},gat=["for"],vat=["id","placeholder","value"],bat={key:2,class:"text-c-1 flex h-8 items-center"},yat=["id","role"],Oat=Pn({__name:"RequestBlock",props:{authMeta:{default:()=>({type:"document"})},clientOptions:{},environment:{},eventBus:{},exampleKey:{},workspaceCookies:{},documentCookies:{},layout:{},method:{},operation:{},path:{},plugins:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},requestBodyCompositionSelection:{},selectedClient:{},selectedSecurity:{},selectedSecuritySchemes:{},server:{},defaultHeaders:{},options:{}},setup(e){let t=ol(()=>({method:e.method,path:e.path,exampleKey:e.exampleKey})),a=Za({}),r=e=>`${e.in}:${e.name}`,n=e=>a.value[r(e)]??[],o=ol(()=>n2e(e.operation.parameters?.map(e=>EE(e)).flatMap(t=>r2e(t,e.exampleKey,{hiddenValuePaths:"query"===t.in?n(t):[]}).map(e=>({...e,in:t.in})))??[],"in",({in:e,...t})=>t)),i=ol(()=>n2e(o.value.header?.map(e=>({...e,name:e.name.toLowerCase()}))??[],"name")),s=ol(()=>{let t=e.operation["x-scalar-disable-parameters"]?.["default-headers"]?.[e.exampleKey]??{},a=e=>{let t=i.value[e.toLowerCase()]?.[0];return!!t&&!t.isDisabled};return Object.entries(e.defaultHeaders).map(([e,r])=>({name:e,value:r,schema:void 0,isOverridden:a(e),isReadonly:!0,isDisabled:t[e.toLowerCase()]??!1}))}),l=ol(()=>[...s.value,...o.value.header??[]]),c=ol(()=>{let t=vY(e.environment),a=bW(OY({server:e.server,path:e.path}),t),r=e.operation["x-scalar-disable-parameters"]?.["global-cookies"]?.[e.exampleKey]??{};return[{location:"workspace",cookies:e.workspaceCookies},{location:"document",cookies:e.documentCookies}].flatMap(({location:e,cookies:t})=>t.filter(e=>qW({cookie:e,url:a,disabledGlobalCookies:{}})).map(t=>((e,t)=>({name:e.name,value:e.value,globalRoute:{page:t,path:"cookies"},isReadonly:!0,isDisabled:r[e.name.toLowerCase()]??!1}))(t,e)))}),u=ol(()=>[...c.value??[],...o.value.cookie??[]]),d=Za("All"),p=["Auth","Variables","Cookies","Headers","Query","Body"],h={All:Mn(),Auth:Mn(),Variables:Mn(),Cookies:Mn(),Headers:Mn(),Query:Mn(),Body:Mn()},m=ol(()=>{let t=new Set(["All",...p]);return o.value.path?.length||t.delete("Variables"),TA(e.method)||t.delete("Body"),g.value&&t.delete("Auth"),[...t]}),f=ol(()=>Object.fromEntries(m.value.map(e=>[e,h[e]]))),g=ol(()=>"modal"===e.layout&&!Object.keys(e.securitySchemes??{}).length),v=ol(()=>"modal"!==e.layout||!(!e.securityRequirements?.length&&!e.selectedSecurity.selectedSchemes.length)),b=ol(()=>e.operation.summary?e.operation.summary:e.path.replace(Bw.PROTOCOL,"")||"Request Name"),y=e=>"All"===d.value||d.value===e;fn(()=>e.method,e=>{"Body"===d.value&&!TA(e)&&(d.value="All")}),fn(()=>[e.method,e.path,e.exampleKey],()=>{a.value={}});let O=a=>{let r=a.target.value;e.eventBus.emit("operation:update:meta",{meta:t.value,payload:{summary:r.trim()}})},x=ol(()=>({path:P1e("path",e.eventBus,t.value,{context:o.value.path??[]}),cookie:P1e("cookie",e.eventBus,t.value,{context:u.value??[],globalParameters:c.value.length}),header:P1e("header",e.eventBus,t.value,{context:l.value,defaultParameters:s.value.length}),query:P1e("query",e.eventBus,t.value,{context:o.value.query??[],onDeleteExpandedRow:e=>{if(!e.originalParameter||!e.sourceParameterValuePath)return;let t=r(e.originalParameter);a.value={...a.value,[t]:[...a.value[t]??[],e.sourceParameterValuePath]}}})})),w=a=>e.eventBus.emit("operation:update:requestBody:contentType",{payload:{contentType:a.value},meta:t.value}),k=({payload:a,contentType:r})=>{let n="string"==typeof a?`update:requestBody:value-${r}`:void 0;e.eventBus.emit("operation:update:requestBody:value",{payload:a,contentType:r,meta:t.value},{debounceKey:n})},S=({payload:a,contentType:r})=>{let n=`update:requestBody:${r}-form-value`;e.eventBus.emit("operation:update:requestBody:formValue",{payload:a.map(e=>hC(e,{depth:1})),contentType:r,meta:t.value},{debounceKey:n})},A=Mn(),_=ol(()=>[...e.workspaceCookies,...e.documentCookies]),T=a=>e.eventBus.emit("operation:update:extension",{payload:a,meta:t.value});return(t,a)=>(Zo(),Fo(_6,{"aria-label":`Request: ${e.operation.summary}`},{title:cn(()=>[Go("div",fat,["modal"===e.layout?ai("",!0):(Zo(),qo("label",{key:0,class:"pointer-events-auto absolute top-0 left-0 h-full w-full cursor-text opacity-0",for:Fa(A)},null,8,gat)),"modal"===e.layout?(Zo(),qo("span",bat,Kt(e.operation.summary),1)):(Zo(),qo("input",{key:1,id:Fa(A),class:"text-c-1 group-hover-input pointer-events-auto relative z-10 -ml-0.5 h-8 w-full rounded pl-1.25 has-[:focus-visible]:outline md:-ml-1.25",placeholder:b.value,value:e.operation.summary,onBlur:O},null,40,vat))]),qs(Lle,{modelValue:d.value,"onUpdate:modelValue":a[0]||=e=>d.value=e,filterIds:f.value,filters:m.value},null,8,["modelValue","filterIds","filters"])]),default:cn(()=>[Go("div",{id:f.value.All,class:"request-section-content custom-scroll relative flex flex-1 flex-col",role:"All"===d.value?"tabpanel":"none"},[un(qs(Fa(mat),{id:f.value.Auth,createAnySecurityScheme:"modal"!==e.layout,defaultOpen:v.value,environment:e.environment,eventBus:e.eventBus,meta:e.authMeta,options:e.options,proxyUrl:e.proxyUrl,securityRequirements:e.securityRequirements,securitySchemes:e.securitySchemes,selectedSecurity:e.selectedSecurity,selectedSecuritySchemes:e.selectedSecuritySchemes,server:e.server,title:"Authentication"},null,8,["id","createAnySecurityScheme","defaultOpen","environment","eventBus","meta","options","proxyUrl","securityRequirements","securitySchemes","selectedSecurity","selectedSecuritySchemes","server"]),[[ac,y("Auth")&&!g.value]]),un(qs(T1e,ii({id:f.value.Variables,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:o.value.path??[],showAddRowPlaceholder:!1,title:"Variables"},to(x.value.path)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[ac,y("Variables")&&o.value.path?.length]]),un(qs(T1e,ii({id:f.value.Cookies,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:u.value??[],showAddRowPlaceholder:!0,title:"Cookies"},to(x.value.cookie)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[ac,y("Cookies")]]),un(qs(T1e,ii({id:f.value.Headers,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:l.value??[],title:"Headers"},to(x.value.header)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[ac,y("Headers")]]),un(qs(T1e,ii({id:f.value.Query,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:o.value.query??[],title:"Query Parameters"},to(x.value.query)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[ac,y("Query")]]),un(qs(sJe,{id:f.value.Body,environment:e.environment,exampleKey:e.exampleKey,requestBody:Fa(EE)(e.operation.requestBody),requestBodyCompositionSelection:e.requestBodyCompositionSelection,title:"Request Body","onUpdate:contentType":w,"onUpdate:formValue":S,"onUpdate:value":k},null,8,["id","environment","exampleKey","requestBody","requestBodyCompositionSelection"]),[[ac,y("Body")&&Fa(TA)(e.method)]]),(Zo(!0),qo(Ls,null,Yn(e.plugins,(t,a)=>(Zo(),Fo(Fa(y1e),{key:a},{default:cn(()=>[t?.components?.request?un((Zo(),Fo(Wn(t.components.request.component),ii({key:0,operation:e.operation},{ref_for:!0},t.components.request.additionalProps,{"onOperation:update:extension":T}),null,16,["operation"])),[[ac,"All"===d.value]]):ai("",!0)]),_:2},1024))),128)),a[1]||=Go("div",{class:"flex grow"},null,-1),un(qs(k1e,{clientOptions:e.clientOptions,eventBus:e.eventBus,globalCookies:_.value,integration:"client",method:e.method,operation:e.operation,path:e.path,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:Fa(EE)(e.operation.requestBody)?.["x-scalar-selected-content-type"]?.[e.exampleKey],selectedServer:e.server??void 0},null,8,["clientOptions","eventBus","globalCookies","method","operation","path","securitySchemes","selectedClient","selectedContentType","selectedServer"]),[[ac,"All"===d.value]])],8,yat)]),_:1},8,["aria-label"]))}})}),Qat=V(()=>{_m(),Vat(),xat=km(Oat,[["__scopeId","data-v-9ee5445b"]])}),qat=V(()=>{rIe(),Rc(),wat={class:"flex-1 px-2 py-1.5 whitespace-nowrap"},kat=Pn({__name:"DataTableText",props:{text:{}},setup:e=>(t,a)=>(Zo(),Fo(VNe,{class:"relative flex"},{default:cn(()=>[Go("span",wat,[Jn(t.$slots,"default",{},()=>[ei(Kt(e.text),1)])])]),_:3}))})}),Fat=V(()=>{qat(),Sat=kat}),Wat=V(()=>{Rc(),Aat=["href"],_at=Pn({__name:"HelpfulLink",props:{href:{}},setup:e=>(t,a)=>(Zo(),qo("a",{class:"decoration-c-3 cursor-help underline underline-offset-2",href:e.href,rel:"noopener noreferrer",target:"_blank"},[Jn(t.$slots,"default")],8,Aat))})}),Xat=V(()=>{Wat(),Tat=_at}),Gat=V(()=>{Eat={accept:{name:"Accept",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept"},"accept-ch":{name:"Accept-CH",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH"},"accept-ch-lifetime":{name:"Accept-CH-Lifetime",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-CH-Lifetime"},"accept-charset":{name:"Accept-Charset",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Charset"},"accept-encoding":{name:"Accept-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding"},"accept-language":{name:"Accept-Language",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language"},"accept-patch":{name:"Accept-Patch",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Patch"},"accept-post":{name:"Accept-Post",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Post"},"accept-ranges":{name:"Accept-Ranges",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Ranges"},"access-control-allow-credentials":{name:"Access-Control-Allow-Credentials",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials"},"access-control-allow-headers":{name:"Access-Control-Allow-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers"},"access-control-allow-methods":{name:"Access-Control-Allow-Methods",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods"},"access-control-allow-origin":{name:"Access-Control-Allow-Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin"},"access-control-expose-headers":{name:"Access-Control-Expose-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers"},"access-control-max-age":{name:"Access-Control-Max-Age",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age"},"access-control-request-headers":{name:"Access-Control-Request-Headers",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers"},"access-control-request-method":{name:"Access-Control-Request-Method",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method"},age:{name:"Age",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Age"},allow:{name:"Allow",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Allow"},"alt-svc":{name:"Alt-Svc",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Svc"},"alt-used":{name:"Alt-Used",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Used"},authorization:{name:"Authorization",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization"},"cache-control":{name:"Cache-Control",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control"},"clear-site-data":{name:"Clear-Site-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data"},connection:{name:"Connection",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection"},"content-disposition":{name:"Content-Disposition",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition"},"content-dpr":{name:"Content-DPR",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-DPR"},"content-encoding":{name:"Content-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding"},"content-language":{name:"Content-Language",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Language"},"content-length":{name:"Content-Length",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length"},"content-location":{name:"Content-Location",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Location"},"content-range":{name:"Content-Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Range"},"content-security-policy":{name:"Content-Security-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy"},"content-security-policy-report-only":{name:"Content-Security-Policy-Report-Only",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only"},"content-type":{name:"Content-Type",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type"},cookie:{name:"Cookie",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie"},"critical-ch":{name:"Critical-CH",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Critical-CH"},"cross-origin-embedder-policy":{name:"Cross-Origin-Embedder-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Embedder-Policy"},"cross-origin-opener-policy":{name:"Cross-Origin-Opener-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy"},"cross-origin-resource-policy":{name:"Cross-Origin-Resource-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy"},date:{name:"Date",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Date"},"device-memory":{name:"Device-Memory",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Device-Memory"},digest:{name:"Digest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Digest"},dnt:{name:"DNT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DNT"},downlink:{name:"Downlink",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Downlink"},dpr:{name:"DPR",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DPR"},"early-data":{name:"Early-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Early-Data"},ect:{name:"ECT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ECT"},etag:{name:"ETag",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag"},expect:{name:"Expect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect"},"expect-ct":{name:"Expect-CT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT"},expires:{name:"Expires",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expires"},forwarded:{name:"Forwarded",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded"},from:{name:"From",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/From"},host:{name:"Host",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Host"},"if-match":{name:"If-Match",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Match"},"if-modified-since":{name:"If-Modified-Since",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Modified-Since"},"if-none-match":{name:"If-None-Match",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-None-Match"},"if-range":{name:"If-Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Range"},"if-unmodified-since":{name:"If-Unmodified-Since",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/If-Unmodified-Since"},"keep-alive":{name:"Keep-Alive",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Keep-Alive"},"large-allocation":{name:"Large-Allocation",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Large-Allocation"},"last-modified":{name:"Last-Modified",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified"},link:{name:"Link",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link"},location:{name:"Location",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location"},"max-forwards":{name:"Max-Forwards",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Max-Forwards"},nel:{name:"NEL",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/NEL"},origin:{name:"Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin"},"permissions-policy":{name:"Permissions-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Permissions-Policy"},pragma:{name:"Pragma",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Pragma"},"proxy-authenticate":{name:"Proxy-Authenticate",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authenticate"},"proxy-authorization":{name:"Proxy-Authorization",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization"},range:{name:"Range",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range"},referer:{name:"Referer",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer"},"referrer-policy":{name:"Referrer-Policy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy"},"retry-after":{name:"Retry-After",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After"},rtt:{name:"RTT",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/RTT"},"save-data":{name:"Save-Data",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Save-Data"},"sec-ch-prefers-reduced-motion":{name:"Sec-CH-Prefers-Reduced-Motion",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Motion"},"sec-ch-prefers-reduced-transparency":{name:"Sec-CH-Prefers-Reduced-Transparency",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Transparency"},"sec-ch-ua":{name:"Sec-CH-UA",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA"},"sec-ch-ua-arch":{name:"Sec-CH-UA-Arch",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Arch"},"sec-ch-ua-bitness":{name:"Sec-CH-UA-Bitness",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Bitness"},"sec-ch-ua-full-version":{name:"Sec-CH-UA-Full-Version",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version"},"sec-ch-ua-full-version-list":{name:"Sec-CH-UA-Full-Version-List",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Full-Version-List"},"sec-ch-ua-mobile":{name:"Sec-CH-UA-Mobile",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Mobile"},"sec-ch-ua-model":{name:"Sec-CH-UA-Model",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Model"},"sec-ch-ua-platform":{name:"Sec-CH-UA-Platform",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform"},"sec-ch-ua-platform-version":{name:"Sec-CH-UA-Platform-Version",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-UA-Platform-Version"},"sec-fetch-dest":{name:"Sec-Fetch-Dest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Dest"},"sec-fetch-mode":{name:"Sec-Fetch-Mode",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Mode"},"sec-fetch-site":{name:"Sec-Fetch-Site",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-Site"},"sec-fetch-user":{name:"Sec-Fetch-User",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Fetch-User"},"sec-gpc":{name:"Sec-GPC",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-GPC"},"sec-purpose":{name:"Sec-Purpose",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-Purpose"},"sec-websocket-accept":{name:"Sec-WebSocket-Accept",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-WebSocket-Accept"},server:{name:"Server",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server"},"server-timing":{name:"Server-Timing",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing"},"service-worker-navigation-preload":{name:"Service-Worker-Navigation-Preload",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Service-Worker-Navigation-Preload"},"set-cookie":{name:"Set-Cookie",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie"},sourcemap:{name:"SourceMap",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/SourceMap"},"strict-transport-security":{name:"Strict-Transport-Security",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security"},te:{name:"TE",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/TE"},"timing-allow-origin":{name:"Timing-Allow-Origin",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Timing-Allow-Origin"},tk:{name:"Tk",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Tk"},trailer:{name:"Trailer",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Trailer"},"transfer-encoding":{name:"Transfer-Encoding",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Transfer-Encoding"},upgrade:{name:"Upgrade",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade"},"upgrade-insecure-requests":{name:"Upgrade-Insecure-Requests",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Upgrade-Insecure-Requests"},"user-agent":{name:"User-Agent",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent"},vary:{name:"Vary",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Vary"},via:{name:"Via",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Via"},"viewport-width":{name:"Viewport-Width",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Viewport-Width"},"want-digest":{name:"Want-Digest",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Want-Digest"},warning:{name:"Warning",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Warning"},width:{name:"Width",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Width"},"www-authenticate":{name:"WWW-Authenticate",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate"},"x-content-type-options":{name:"X-Content-Type-Options",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options"},"x-dns-prefetch-control":{name:"X-DNS-Prefetch-Control",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-DNS-Prefetch-Control"},"x-forwarded-for":{name:"X-Forwarded-For",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For"},"x-forwarded-host":{name:"X-Forwarded-Host",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host"},"x-forwarded-proto":{name:"X-Forwarded-Proto",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto"},"x-frame-options":{name:"X-Frame-Options",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options"},"x-xss-protection":{name:"X-XSS-Protection",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-XSS-Protection"},"cf-cache-status":{name:"Cf-Cache-Status",url:"https://developers.cloudflare.com/cache/concepts/default-cache-behavior/#cloudflare-cache-responses"},"cf-ray":{name:"Cf-Ray",url:"https://developers.cloudflare.com/fundamentals/get-started/reference/http-request-headers/#cf-ray"},"report-to":{name:"Report-To",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to"},"x-cloud-trace-context":{name:"X-Cloud-Trace-Context",url:"https://cloud.google.com/trace/docs/trace-context#legacy-http-header"},"speculation-rules":{name:"Speculation-Rules",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Speculation-Rules"}}}),Yat=V(()=>{tIe(),oIe(),mIe(),Fat(),GJe(),Xat(),Rc(),Gat(),Cat={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},Pat={key:1,class:"text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm"},Mat=Pn({__name:"Headers",props:{headers:{}},setup(e){let t=e=>Eat[e.toLowerCase()];return(a,r)=>(Zo(),Fo(Fa(QKe),{class:"overflow-auto",defaultOpen:!1,itemCount:e.headers.length},{title:cn(()=>[Jn(a.$slots,"title")]),default:cn(()=>[e.headers.length?(Zo(),qo("div",Cat,[qs(Fa(HNe),{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:cn(()=>[qs(Fa(lIe),{class:"sr-only !block"},{default:cn(()=>[qs(Fa(qNe),null,{default:cn(()=>[...r[0]||=[ei("Header Key",-1)]]),_:1}),qs(Fa(qNe),null,{default:cn(()=>[...r[1]||=[ei("Header Value",-1)]]),_:1})]),_:1}),(Zo(!0),qo(Ls,null,Yn(e.headers,e=>(Zo(),Fo(Fa(lIe),{key:e.name,class:"group/row text-c-1"},{default:cn(()=>[qs(Fa(Sat),{class:"bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0"},{default:cn(()=>["string"==typeof t(e.name)?.url?(Zo(),Fo(Tat,{key:0,class:"decoration-c-3",href:t(e.name).url},{default:cn(()=>[ei(Kt(e.name),1)]),_:2},1032,["href"])):(Zo(),qo(Ls,{key:1},[ei(Kt(e.name),1)],64))]),_:2},1024),qs(Fa(Sat),{class:"z-0 group-first/row:border-t-0",text:e.value},null,8,["text"])]),_:2},1024))),128))]),_:1})])):(Zo(),qo("div",Pat," No headers "))]),_:3},8,["itemCount"]))}})}),Kat=V(()=>{Yat(),$at=Mat});function Jat(e){let t="";if(e){let a=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1];a&&(t=ert(a.trim()))}return t}var ert,trt=V(()=>{ert=e=>{try{return decodeURIComponent(e)}catch{return e}}});function art({data:e,headers:t}){let a=lA(t.find(e=>"content-type"===e.name.toLowerCase())?.value);return{mimeType:a,attachmentFilename:Jat(t.find(e=>"content-disposition"===e.name.toLowerCase())?.value??""),dataUrl:rrt(e)?URL.createObjectURL(e):"string"==typeof e?URL.createObjectURL(new Blob([e],{type:a?a.toString():void 0})):e instanceof Object&&Object.keys(e).length?URL.createObjectURL(new Blob([JSON.stringify(e)],{type:a?a.toString():void 0})):""}}var rrt,nrt,ort,irt,srt=V(()=>{vA(),trt(),rrt=e=>e instanceof Blob}),lrt=V(()=>{ZA(),Rc(),Qle(),nrt=["download","href"],ort=Pn({__name:"ResponseBodyDownload",props:{href:{},type:{},filename:{}},setup(e){let t=e,a=ol(()=>{let e=bA(t.type??"")?.extension??".unknown";return t.filename?t.filename:`response${e}`});return(t,r)=>(Zo(),qo("a",{class:"text-c-3 text-xxs hover:bg-b-3 flex items-center gap-1 rounded px-1.5 py-0.5 no-underline",download:`${a.value}`,href:e.href,onClick:r[0]||=Ac(()=>{},["stop"])},[qs(Fa(Ple),{icon:"Download",size:"xs"}),r[1]||=Go("span",null,[Go("span",null,"Download"),Go("span",{class:"sr-only"},"Response Body")],-1)],8,nrt))}})}),crt=V(()=>{lrt(),irt=ort});function urt(e,t){return Zo(),qo("div",drt,[Go("div",prt,[Jn(e.$slots,"default")])])}var drt,prt,hrt,mrt=V(()=>{_m(),Rc(),drt={class:"flex justify-center px-2 py-3"},prt={class:"text-c-3 p-2 text-sm"},hrt=km({},[["render",urt]])});function frt(e,t=!1){let a=e.length,r=0,n="",o=0,i=16,s=0,l=0,c=0,u=0,d=0;function p(t,a){let n=0,o=0;for(;n<t||!a;){let t=e.charCodeAt(r);if(t>=48&&t<=57)o=16*o+t-48;else if(t>=65&&t<=70)o=16*o+t-65+10;else{if(!(t>=97&&t<=102))break;o=16*o+t-97+10}r++,n++}return n<t&&(o=-1),o}function h(){if(n="",d=0,o=r,l=s,u=c,r>=a)return o=a,i=17;let t=e.charCodeAt(r);if(grt(t)){do{r++,n+=String.fromCharCode(t),t=e.charCodeAt(r)}while(grt(t));return i=15}if(vrt(t))return r++,n+=String.fromCharCode(t),13===t&&10===e.charCodeAt(r)&&(r++,n+="\n"),s++,c=r,i=14;switch(t){case 123:return r++,i=1;case 125:return r++,i=2;case 91:return r++,i=3;case 93:return r++,i=4;case 58:return r++,i=6;case 44:return r++,i=5;case 34:return r++,n=function(){let t="",n=r;for(;;){if(r>=a){t+=e.substring(n,r),d=2;break}let o=e.charCodeAt(r);if(34===o){t+=e.substring(n,r),r++;break}if(92!==o){if(o>=0&&o<=31){if(vrt(o)){t+=e.substring(n,r),d=2;break}d=6}r++}else{if(t+=e.substring(n,r),r++,r>=a){d=2;break}switch(e.charCodeAt(r++)){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+="\t";break;case 117:let e=p(4,!0);e>=0?t+=String.fromCharCode(e):d=4;break;default:d=5}n=r}}return t}(),i=10;case 47:let l=r-1;if(47===e.charCodeAt(r+1)){for(r+=2;r<a&&!vrt(e.charCodeAt(r));)r++;return n=e.substring(l,r),i=12}if(42===e.charCodeAt(r+1)){r+=2;let t=a-1,o=!1;for(;r<t;){let t=e.charCodeAt(r);if(42===t&&47===e.charCodeAt(r+1)){r+=2,o=!0;break}r++,vrt(t)&&(13===t&&10===e.charCodeAt(r)&&r++,s++,c=r)}return o||(r++,d=1),n=e.substring(l,r),i=13}return n+=String.fromCharCode(t),r++,i=16;case 45:if(n+=String.fromCharCode(t),r++,r===a||!brt(e.charCodeAt(r)))return i=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return n+=function(){let t=r;if(48===e.charCodeAt(r))r++;else for(r++;r<e.length&&brt(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(r++,!(r<e.length&&brt(e.charCodeAt(r))))return d=3,e.substring(t,r);for(r++;r<e.length&&brt(e.charCodeAt(r));)r++}let a=r;if(r<e.length&&(69===e.charCodeAt(r)||101===e.charCodeAt(r)))if(r++,(r<e.length&&43===e.charCodeAt(r)||45===e.charCodeAt(r))&&r++,r<e.length&&brt(e.charCodeAt(r))){for(r++;r<e.length&&brt(e.charCodeAt(r));)r++;a=r}else d=3;return e.substring(t,a)}(),i=11;default:for(;r<a&&m(t);)r++,t=e.charCodeAt(r);if(o!==r){switch(n=e.substring(o,r),n){case"true":return i=8;case"false":return i=9;case"null":return i=7}return i=16}return n+=String.fromCharCode(t),r++,i=16}}function m(e){if(grt(e)||vrt(e))return!1;switch(e){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}return{setPosition:function(e){r=e,n="",o=0,i=16,d=0},getPosition:()=>r,scan:t?function(){let e;do{e=h()}while(e>=12&&e<=15);return e}:h,getToken:()=>i,getTokenValue:()=>n,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>l,getTokenStartCharacter:()=>o-u,getTokenError:()=>d}}function grt(e){return 32===e||9===e}function vrt(e){return 10===e||13===e}function brt(e){return e>=48&&e<=57}var yrt,Ort,xrt,wrt,krt,Srt=V(()=>{!function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"}(yrt||={})}),Art=V(()=>{Ort=Array(20).fill(0).map((e,t)=>" ".repeat(t)),xrt=200,wrt={" ":{"\n":Array(xrt).fill(0).map((e,t)=>"\n"+" ".repeat(t)),"\r":Array(xrt).fill(0).map((e,t)=>"\r"+" ".repeat(t)),"\r\n":Array(xrt).fill(0).map((e,t)=>"\r\n"+" ".repeat(t))},"\t":{"\n":Array(xrt).fill(0).map((e,t)=>"\n"+"\t".repeat(t)),"\r":Array(xrt).fill(0).map((e,t)=>"\r"+"\t".repeat(t)),"\r\n":Array(xrt).fill(0).map((e,t)=>"\r\n"+"\t".repeat(t))}},krt=["\n","\r","\r\n"]});function _rt(e,t,a){let r,n,o,i,s;if(t){for(i=t.offset,s=i+t.length,o=i;o>0&&!Ert(e,o-1);)o--;let l=s;for(;l<e.length&&!Ert(e,l);)l++;n=e.substring(o,l),r=function(e,t){let a=0,r=0,n=t.tabSize||4;for(;a<e.length;){let t=e.charAt(a);if(t===Ort[1])r++;else{if("\t"!==t)break;r+=n}a++}return Math.floor(r/n)}(n,a)}else n=e,r=0,o=0,i=0,s=e.length;let l,c=function(e,t){for(let e=0;e<t.length;e++){let a=t.charAt(e);if("\r"===a)return e+1<t.length&&"\n"===t.charAt(e+1)?"\r\n":"\r";if("\n"===a)return"\n"}return e&&e.eol||"\n"}(a,e),u=krt.includes(c),d=0,p=0;l=a.insertSpaces?Ort[a.tabSize||4]??Trt(Ort[1],a.tabSize||4):"\t";let h="\t"===l?"\t":" ",m=frt(n,!1),f=!1;function g(){if(d>1)return Trt(c,d)+Trt(l,r+p);let e=l.length*(r+p);return!u||e>wrt[h][c].length?c+Trt(l,r+p):e<=0?c:wrt[h][c][e]}function v(){let e=m.scan();for(d=0;15===e||14===e;)14===e&&a.keepLines?d+=1:14===e&&(d=1),e=m.scan();return f=16===e||0!==m.getTokenError(),e}let b=[];function y(a,r,n){!f&&(!t||r<s&&n>i)&&e.substring(r,n)!==a&&b.push({offset:r,length:n-r,content:a})}let O=v();if(a.keepLines&&d>0&&y(Trt(c,d),0,0),17!==O){let e=m.getTokenOffset()+o;y(l.length*r<20&&a.insertSpaces?Ort[l.length*r]:Trt(l,r),o,e)}for(;17!==O;){let e=m.getTokenOffset()+m.getTokenLength()+o,t=v(),r="",n=!1;for(;0===d&&(12===t||13===t);){let a=m.getTokenOffset()+o;y(Ort[1],e,a),e=m.getTokenOffset()+m.getTokenLength()+o,n=12===t,r=n?g():"",t=v()}if(2===t)1!==O&&p--,a.keepLines&&d>0||!a.keepLines&&1!==O?r=g():a.keepLines&&(r=Ort[1]);else if(4===t)3!==O&&p--,a.keepLines&&d>0||!a.keepLines&&3!==O?r=g():a.keepLines&&(r=Ort[1]);else{switch(O){case 3:case 1:p++,r=a.keepLines&&d>0||!a.keepLines?g():Ort[1];break;case 5:r=a.keepLines&&d>0||!a.keepLines?g():Ort[1];break;case 12:r=g();break;case 13:d>0?r=g():n||(r=Ort[1]);break;case 6:a.keepLines&&d>0?r=g():n||(r=Ort[1]);break;case 10:a.keepLines&&d>0?r=g():6===t&&!n&&(r="");break;case 7:case 8:case 9:case 11:case 2:case 4:a.keepLines&&d>0?r=g():12!==t&&13!==t||n?5!==t&&17!==t&&(f=!0):r=Ort[1];break;case 16:f=!0}d>0&&(12===t||13===t)&&(r=g())}17===t&&(r=a.keepLines&&d>0?g():a.insertFinalNewline?c:""),y(r,e,m.getTokenOffset()+o),O=t}return b}function Trt(e,t){let a="";for(let r=0;r<t;r++)a+=e;return a}function Ert(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}var Crt=V(()=>{Srt(),Art()});var Prt,Mrt=V(()=>{Srt(),function(e){e.DEFAULT={allowTrailingComma:!1}}(Prt||={})});function $rt(e,t){return e.substring(0,t.offset)+t.content+e.substring(t.offset+t.length)}var Nrt=V(()=>{});var Irt,Rrt,Drt,Lrt=V(()=>{Crt(),Nrt(),Srt(),Mrt(),function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"}(Irt||={}),function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"}(Rrt||={}),function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"}(Drt||={})});function Brt(e){try{let t=function(e,t,a){return _rt(e,t,a)}(e,void 0,jrt);if(t.length>0)return function(e,t){let a=t.slice(0).sort((e,t)=>{let a=e.offset-t.offset;return 0===a?e.length-t.length:a}),r=e.length;for(let t=a.length-1;t>=0;t--){let n=a[t];if(!(n.offset+n.length<=r))throw Error("Overlapping edit");e=$rt(e,n),r=n.offset}return e}(e,t)}catch{}return e}var jrt,Urt,zrt,Hrt,Zrt,Vrt,Qrt,qrt,Frt,Wrt,Xrt,Grt,Yrt,Krt,Jrt,ent,tnt,ant,rnt,nnt,ont,int,snt,lnt,cnt,unt,dnt,pnt=V(()=>{Lrt(),jrt={tabSize:2,insertSpaces:!0,eol:"\n"}}),hnt=V(()=>{pnt(),Rc(),WNe(),D1e(),Urt={class:"scalar-code-block group/code-block relative grid min-h-0 overflow-hidden p-px outline-none has-focus-visible:outline","data-testid":"response-body-raw"},zrt={class:"custom-scroll relative pr-1",tabindex:"0"},Hrt=Pn({__name:"ResponseBodyRaw",props:{content:{},language:{},prettyPrintJson:{type:Boolean}},setup(e){let t=e,a=Za(null),r=Mn(),{codeMirror:n}=kNe({codeMirrorRef:a,readOnly:!0,lineNumbers:!0,content:Ya(ol(()=>{let{content:e,language:a,prettyPrintJson:r=!1}=t;return"string"==typeof e?r&&"json"===a?Brt(e):e:null==e?"":String(e)})),language:Ya(()=>t.language),forceFoldGutter:!0}),o=()=>n.value?.state.doc.toString()||"";return(e,t)=>(Zo(),qo("div",Urt,[Go("div",zrt,[Go("div",{ref_key:"codeMirrorRef",ref:a},null,512)]),o()?(Zo(),Fo(Fa(F0e),{key:0,"aria-controls":Fa(r),class:"absolute top-2 right-2",content:o()},null,8,["aria-controls","content"])):ai("",!0)]))}})}),mnt=V(()=>{_m(),hnt(),Zrt=km(Hrt,[["__scopeId","data-v-8c1df828"]])}),fnt=V(()=>{mrt(),mnt(),Rc(),Vrt=["src"],Qrt=["src","type"],qrt=["src","type"],Frt=["src","sandbox"],Wrt=Pn({__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1},content:{}},setup(e){let t=ol(()=>{let t=e.content;return"string"==typeof t?t:null==t?"":String(t)}),a=ol(()=>{if(!e.src)return"";if(/^data:/i.test(e.src))return/^data:(?:(?:image|video|audio)\/[a-z0-9.+-]+|application\/pdf|application\/octet-stream)[;,]/i.test(e.src)?e.src:"";try{let t=new URL(e.src);if("blob:"===t.protocol||"http:"===t.protocol||"https:"===t.protocol)return e.src}catch{}return""}),r=Za(!1),n=ol(()=>"application/pdf"===e.type.trim().toLowerCase());return fn(()=>e.src,()=>r.value=!1),(o,i)=>"json"===e.mode?(Zo(),Fo(Zrt,{key:0,content:t.value,language:"json",prettyPrintJson:""},null,8,["content"])):!r.value&&a.value?(Zo(),qo("div",{key:1,class:tt(["flex justify-center overflow-auto rounded-b",{"bg-preview p-2":e.alpha}])},["image"===e.mode?(Zo(),qo("img",{key:0,class:tt(["h-full max-w-full",{rounded:e.alpha}]),src:a.value,referrerpolicy:"no-referrer",onError:i[0]||=e=>r.value=!0},null,42,Vrt)):"video"===e.mode?(Zo(),qo("video",{key:1,autoplay:"",controls:"",referrerpolicy:"no-referrer",width:"100%",onError:i[1]||=e=>r.value=!0},[Go("source",{src:a.value,type:e.type},null,8,Qrt)],32)):"audio"===e.mode?(Zo(),qo("audio",{key:2,class:"my-12",controls:"",referrerpolicy:"no-referrer",onError:i[2]||=e=>r.value=!0},[Go("source",{src:a.value,type:e.type},null,8,qrt)],32)):(Zo(),qo("iframe",{key:3,class:"aspect-[4/3] w-full border-0",src:a.value,sandbox:n.value?void 0:"",referrerpolicy:"no-referrer"},null,8,Frt))],2)):(Zo(),Fo(hrt,{key:2},{default:cn(()=>[...i[3]||=[ei("Preview unavailable",-1)]]),_:1}))}})}),gnt=V(()=>{_m(),fnt(),Xrt=km(Wrt,[["__scopeId","data-v-8bc927e4"]])}),vnt=V(()=>{Rc(),Grt={class:"text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5"},Yrt=Pn({__name:"ResponseBodyToggle",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup:e=>(t,a)=>(Zo(),qo("div",Grt,[Go("button",{class:tt(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":e.modelValue}]),type:"button",onClick:a[0]||=Ac(e=>t.$emit("update:modelValue",!0),["stop"])}," Preview ",2),Go("button",{class:tt(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":!e.modelValue}]),type:"button",onClick:a[1]||=Ac(e=>t.$emit("update:modelValue",!1),["stop"])}," Raw ",2)]))})}),bnt=V(()=>{vnt(),Krt=Yrt}),ynt=V(()=>{fA(),ZA(),GJe(),srt(),crt(),mrt(),mnt(),gnt(),bnt(),Rc(),Jrt={key:0,class:"bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden"},ent={class:"box-content flex min-h-8 items-center justify-between border-y px-3"},tnt={class:"text-xxs font-code leading-5"},ant=Pn({__name:"ResponseBody",props:{title:{},layout:{},data:{},headers:{},plugins:{default:()=>[]}},setup(e){let t=Za(!0),a=ol(()=>art({data:e.data,headers:e.headers})),r=ol(()=>a.value.mimeType.essence),n=ol(()=>bA(r.value)),o=ol(()=>eA(r.value,e.plugins)),i=ol(()=>!!o.value?.rawComponent||!!o.value?.decode||!!n.value?.raw),s=ol(()=>!!o.value?.previewComponent||!!n.value?.preview),l=ol(()=>i.value&&s.value),c=ol(()=>t.value||!l.value),u=ol(()=>!t.value||!l.value),d=ol(()=>o.value?.language??n.value?.language);return(p,h)=>(Zo(),Fo(Fa(QKe),{class:"max-h-content overflow-y-hidden",isStatic:"reference"===e.layout},Kn({title:cn(()=>[ei(Kt(e.title),1)]),default:cn(()=>[e.data?(Zo(),qo("div",Jrt,[Go("div",ent,[Go("span",tnt,Kt(r.value),1),l.value?(Zo(),Fo(Krt,{key:0,modelValue:t.value,"onUpdate:modelValue":h[0]||=e=>t.value=e},null,8,["modelValue"])):ai("",!0)]),o.value?.previewComponent&&s.value&&c.value?(Zo(),Fo(Wn(o.value.previewComponent),{key:`plugin-preview-${a.value.dataUrl}`,content:e.data,contentType:r.value,dataUrl:a.value.dataUrl},null,8,["content","contentType","dataUrl"])):n.value?.preview&&c.value?(Zo(),Fo(Xrt,{key:`preview-${a.value.dataUrl}`,alpha:n.value.alpha,content:e.data,mode:n.value.preview,src:a.value.dataUrl,type:r.value},null,8,["alpha","content","mode","src","type"])):ai("",!0),o.value?.rawComponent&&i.value&&u.value?(Zo(),Fo(Wn(o.value.rawComponent),{key:`plugin-raw-${a.value.dataUrl}`,content:e.data,contentType:r.value},null,8,["content","contentType"])):i.value&&u.value&&!o.value?.rawComponent?(Zo(),Fo(Zrt,{key:`raw-${a.value.dataUrl}`,content:e.data,language:d.value},null,8,["content","language"])):ai("",!0),i.value||s.value?ai("",!0):(Zo(),Fo(hrt,{key:4},{default:cn(()=>[...h[1]||=[ei(" Binary file ",-1)]]),_:1}))])):ai("",!0)]),_:2},[e.data&&a.value.dataUrl?{name:"actions",fn:cn(()=>[qs(irt,{filename:a.value.attachmentFilename,href:a.value.dataUrl,type:a.value.mimeType?.essence},null,8,["filename","href","type"])]),key:"0"}:void 0]),1032,["isStatic"]))}})}),Ont=V(()=>{_m(),ynt(),rnt=km(ant,[["__scopeId","data-v-bb31ac6f"]])}),xnt=V(()=>{GJe(),Rc(),lce(),R4e(),nnt={class:"flex w-full items-center justify-between"},ont={key:0,class:"mr-2 flex items-center gap-2"},int={key:0,class:"text-red bg-b-danger sticky top-0 border-b p-2"},snt={key:1,class:"p-2"},lnt=Pn({__name:"ResponseBodyStreaming",props:{reader:{}},setup(e){let t=N4e(),a=Za(""),r=Za(null),n=Za(null),o=Za(null),i=Za(null),s=()=>{n.value&&(n.value.scrollTop=n.value.scrollHeight)};fn(a,async()=>{await en(s)});let l=()=>{o.value&&=(o.value.cancel(),null),t.clear()};return fn(()=>e.reader,()=>{o.value&&o.value.cancel(),o.value=e.reader,i.value=new TextDecoder,t.start(),a.value="",r.value=null,async function(e){try{for(;t.isLoading&&o.value===e;){let{done:r,value:n}=await e.read();if(o.value!==e)break;if(r){t.clear();break}n&&i.value&&(a.value+=i.value.decode(n,{stream:!0}))}}catch(a){o.value===e&&(console.error("Error reading stream:",a),t.clear(),r.value=a)}finally{o.value===e&&i.value&&(a.value+=i.value.decode())}}(e.reader)},{immediate:!0}),ns(l),(e,o)=>(Zo(),Fo(Fa(QKe),{class:"max-h-content overflow-y-hidden"},Kn({title:cn(()=>[Go("div",nnt,[o[1]||=Go("div",null,"Body",-1),Fa(t).isLoading?(Zo(),qo("div",ont,[qs(Fa(Yle),{loadingState:Fa(t),size:"xs"},null,8,["loadingState"]),o[0]||=Go("span",{class:"text-c-2"}," Listening… ",-1)])):ai("",!0)])]),default:cn(()=>[Go("div",{ref_key:"contentContainer",ref:n,class:"text-xxs font-code h-full overflow-auto leading-6 whitespace-pre-wrap"},[r.value?(Zo(),qo("div",int,Kt(r.value.message),1)):ai("",!0),a.value?(Zo(),qo("div",snt,Kt(a.value),1)):ai("",!0)],512)]),_:2},[Fa(t).isLoading?{name:"actions",fn:cn(()=>[qs(Fa(tce),{size:"sm",variant:"ghost",onClick:l},{default:cn(()=>[...o[2]||=[ei(" Cancel ",-1)]]),_:1})]),key:"0"}:void 0]),1024))}})}),wnt=V(()=>{xnt(),cnt=lnt}),knt=V(()=>{unt=(e,t)=>t.on?e.onAny(t.on):()=>{},dnt=async(e,t,a)=>{let r=e;for(let e of a){let a=e.hooks?.[t];a&&(r=await a(r)??r)}return r}});function Snt(e){if(e&&"object"==typeof e)switch(e[$nt]){case Ent:case Mnt:return!0}return!1}function Ant(e){if(e&&"object"==typeof e)switch(e[$nt]){case _nt:case Ent:case Pnt:case Mnt:return!0}return!1}var _nt,Tnt,Ent,Cnt,Pnt,Mnt,$nt,Nnt,Int,Rnt,Dnt,Lnt,Bnt,jnt,Unt=V(()=>{_nt=Symbol.for("yaml.alias"),Tnt=Symbol.for("yaml.document"),Ent=Symbol.for("yaml.map"),Cnt=Symbol.for("yaml.pair"),Pnt=Symbol.for("yaml.scalar"),Mnt=Symbol.for("yaml.seq"),$nt=Symbol.for("yaml.node.type"),Nnt=e=>!!e&&"object"==typeof e&&e[$nt]===_nt,Int=e=>!!e&&"object"==typeof e&&e[$nt]===Tnt,Rnt=e=>!!e&&"object"==typeof e&&e[$nt]===Ent,Dnt=e=>!!e&&"object"==typeof e&&e[$nt]===Cnt,Lnt=e=>!!e&&"object"==typeof e&&e[$nt]===Pnt,Bnt=e=>!!e&&"object"==typeof e&&e[$nt]===Mnt,jnt=e=>(Lnt(e)||Snt(e))&&!!e.anchor});function znt(e,t){let a=Qnt(t);Int(e)?Hnt(null,e.contents,a,Object.freeze([e]))===Gnt&&(e.contents=null):Hnt(null,e,a,Object.freeze([]))}function Hnt(e,t,a,r){let n=qnt(e,t,a,r);if(Ant(n)||Dnt(n))return Fnt(e,r,n),Hnt(e,n,a,r);if("symbol"!=typeof n)if(Snt(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let n=Hnt(e,t.items[e],a,r);if("number"==typeof n)e=n-1;else{if(n===Wnt)return Wnt;n===Gnt&&(t.items.splice(e,1),--e)}}}else if(Dnt(t)){r=Object.freeze(r.concat(t));let e=Hnt("key",t.key,a,r);if(e===Wnt)return Wnt;e===Gnt&&(t.key=null);let n=Hnt("value",t.value,a,r);if(n===Wnt)return Wnt;n===Gnt&&(t.value=null)}return n}async function Znt(e,t){let a=Qnt(t);Int(e)?await Vnt(null,e.contents,a,Object.freeze([e]))===Gnt&&(e.contents=null):await Vnt(null,e,a,Object.freeze([]))}async function Vnt(e,t,a,r){let n=await qnt(e,t,a,r);if(Ant(n)||Dnt(n))return Fnt(e,r,n),Vnt(e,n,a,r);if("symbol"!=typeof n)if(Snt(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let n=await Vnt(e,t.items[e],a,r);if("number"==typeof n)e=n-1;else{if(n===Wnt)return Wnt;n===Gnt&&(t.items.splice(e,1),--e)}}}else if(Dnt(t)){r=Object.freeze(r.concat(t));let e=await Vnt("key",t.key,a,r);if(e===Wnt)return Wnt;e===Gnt&&(t.key=null);let n=await Vnt("value",t.value,a,r);if(n===Wnt)return Wnt;n===Gnt&&(t.value=null)}return n}function Qnt(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function qnt(e,t,a,r){return"function"==typeof a?a(e,t,r):Rnt(t)?a.Map?.(e,t,r):Bnt(t)?a.Seq?.(e,t,r):Dnt(t)?a.Pair?.(e,t,r):Lnt(t)?a.Scalar?.(e,t,r):Nnt(t)?a.Alias?.(e,t,r):void 0}function Fnt(e,t,a){let r=t[t.length-1];if(Snt(r))r.items[e]=a;else if(Dnt(r))"key"===e?r.key=a:r.value=a;else{if(!Int(r)){let e=Nnt(r)?"alias":"scalar";throw Error(`Cannot replace node with ${e} parent`)}r.contents=a}}var Wnt,Xnt,Gnt,Ynt,Knt,Jnt,eot=V(()=>{Unt(),Wnt=Symbol("break visit"),Xnt=Symbol("skip children"),Gnt=Symbol("remove node"),znt.BREAK=Wnt,znt.SKIP=Xnt,znt.REMOVE=Gnt,Znt.BREAK=Wnt,Znt.SKIP=Xnt,Znt.REMOVE=Gnt}),tot=V(()=>{Unt(),eot(),Ynt={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},Knt=e=>e.replace(/[!,[\]{}]/g,e=>Ynt[e]),Jnt=class e{constructor(t,a){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,a)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},e.defaultTags)}return t}add(t,a){this.atNextDocument&&=(this.yaml={explicit:e.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},e.defaultTags),!1);let r=t.trim().split(/[ \t]+/),n=r.shift();switch(n){case"%TAG":{if(2!==r.length&&(a(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;let[e,t]=r;return this.tags[e]=t,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==r.length)return a(0,"%YAML directive should contain exactly one part"),!1;let[e]=r;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;return a(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1}default:return a(0,`Unknown directive ${n}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){let a=e.slice(2,-1);return"!"===a||"!!"===a?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),a)}let[,a,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let n=this.tags[a];if(n)try{return n+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===a?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,a]of Object.entries(this.tags))if(e.startsWith(a))return t+Knt(e.substring(a.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t,a=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],r=Object.entries(this.tags);if(e&&r.length>0&&Ant(e.contents)){let a={};znt(e.contents,(e,t)=>{Ant(t)&&t.tag&&(a[t.tag]=!0)}),t=Object.keys(a)}else t=[];for(let[n,o]of r)"!!"===n&&"tag:yaml.org,2002:"===o||(!e||t.some(e=>e.startsWith(o)))&&a.push(`%TAG ${n} ${o}`);return a.join("\n")}},Jnt.defaultYaml={explicit:!1,version:"1.2"},Jnt.defaultTags={"!!":"tag:yaml.org,2002:"}});function aot(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw Error(t)}return!0}function rot(e){let t=new Set;return znt(e,{Value(e,a){a.anchor&&t.add(a.anchor)}}),t}function not(e,t){for(let a=1;;++a){let r=`${e}${a}`;if(!t.has(r))return r}}var oot=V(()=>{Unt(),eot()});function iot(e,t,a,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let t=0,a=r.length;t<a;++t){let a=r[t],n=iot(e,r,String(t),a);void 0===n?delete r[t]:n!==a&&(r[t]=n)}else if(r instanceof Map)for(let t of Array.from(r.keys())){let a=r.get(t),n=iot(e,r,t,a);void 0===n?r.delete(t):n!==a&&r.set(t,n)}else if(r instanceof Set)for(let t of Array.from(r)){let a=iot(e,r,t,t);void 0===a?r.delete(t):a!==t&&(r.delete(t),r.add(a))}else for(let[t,a]of Object.entries(r)){let n=iot(e,r,t,a);void 0===n?delete r[t]:n!==a&&(r[t]=n)}return e.call(t,a,r)}var sot=V(()=>{});function lot(e,t,a){if(Array.isArray(e))return e.map((e,t)=>lot(e,String(t),a));if(e&&"function"==typeof e.toJSON){if(!a||!jnt(e))return e.toJSON(t,a);let r={aliasCount:0,count:1,res:void 0};a.anchors.set(e,r),a.onCreate=e=>{r.res=e,delete a.onCreate};let n=e.toJSON(t,a);return a.onCreate&&a.onCreate(n),n}return"bigint"!=typeof e||a?.keep?e:Number(e)}var cot,uot=V(()=>{Unt()}),dot=V(()=>{sot(),Unt(),uot(),cot=class{constructor(e){Object.defineProperty(this,$nt,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:a,onAnchor:r,reviver:n}={}){if(!Int(e))throw TypeError("A document argument is required");let o={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof a?a:100},i=lot(this,"",o);if("function"==typeof r)for(let{count:e,res:t}of o.anchors.values())r(t,e);return"function"==typeof n?iot(n,{"":i},"",i):i}}});function pot(e,t,a){if(Nnt(t)){let r=t.resolve(e),n=a&&r&&a.get(r);return n?n.count*n.aliasCount:0}if(Snt(t)){let r=0;for(let n of t.items){let t=pot(e,n,a);t>r&&(r=t)}return r}if(Dnt(t)){let r=pot(e,t.key,a),n=pot(e,t.value,a);return Math.max(r,n)}return 1}var hot,mot,fot,got=V(()=>{oot(),eot(),Unt(),dot(),uot(),hot=class extends cot{constructor(e){super(_nt),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){let a,r;t?.aliasResolveCache?a=t.aliasResolveCache:(a=[],znt(e,{Node:(e,t)=>{(Nnt(t)||jnt(t))&&a.push(t)}}),t&&(t.aliasResolveCache=a));for(let e of a){if(e===this)break;e.anchor===this.source&&(r=e)}return r}toJSON(e,t){if(!t)return{source:this.source};let{anchors:a,doc:r,maxAliasCount:n}=t,o=this.resolve(r,t);if(!o){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(e)}let i=a.get(o);if(i||=(lot(o,null,t),a.get(o)),void 0===i?.res)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(n>=0&&(i.count+=1,0===i.aliasCount&&(i.aliasCount=pot(r,o,a)),i.count*i.aliasCount>n))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");return i.res}toString(e,t,a){let r=`*${this.source}`;if(e){if(aot(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw Error(e)}if(e.implicitKey)return`${r} `}return r}}}),vot=V(()=>{Unt(),dot(),uot(),mot=e=>!e||"function"!=typeof e&&"object"!=typeof e,fot=class extends cot{constructor(e){super(Pnt),this.value=e}toJSON(e,t){return t?.keep?this.value:lot(this.value,e,t)}toString(){return String(this.value)}},fot.BLOCK_FOLDED="BLOCK_FOLDED",fot.BLOCK_LITERAL="BLOCK_LITERAL",fot.PLAIN="PLAIN",fot.QUOTE_DOUBLE="QUOTE_DOUBLE",fot.QUOTE_SINGLE="QUOTE_SINGLE"});function bot(e,t,a){if(Int(e)&&(e=e.contents),Ant(e))return e;if(Dnt(e)){let t=a.schema[Ent].createNode?.(a.schema,null,a);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<"u"&&e instanceof BigInt)&&(e=e.valueOf());let r,{aliasDuplicateObjects:n,onAnchor:o,onTagObj:i,schema:s,sourceObjects:l}=a;if(n&&e&&"object"==typeof e){if(r=l.get(e),r)return r.anchor??=o(e),new hot(r.anchor);r={anchor:null,node:null},l.set(e,r)}t?.startsWith("!!")&&(t=yot+t.slice(2));let c=function(e,t,a){if(t){let e=a.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return a.find(t=>t.identify?.(e)&&!t.format)}(e,t,s.tags);if(!c){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new fot(e);return r&&(r.node=t),t}c=e instanceof Map?s[Ent]:Symbol.iterator in Object(e)?s[Mnt]:s[Ent]}i&&(i(c),delete a.onTagObj);let u=c?.createNode?c.createNode(a.schema,e,a):"function"==typeof c?.nodeClass?.from?c.nodeClass.from(a.schema,e,a):new fot(e);return t?u.tag=t:c.default||(u.tag=c.tag),r&&(r.node=u),u}var yot,Oot=V(()=>{got(),Unt(),vot(),yot="tag:yaml.org,2002:"});function xot(e,t,a){let r=a;for(let e=t.length-1;e>=0;--e){let a=t[e];if("number"==typeof a&&Number.isInteger(a)&&a>=0){let e=[];e[a]=r,r=e}else r=new Map([[a,r]])}return bot(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}var wot,kot,Sot=V(()=>{Oot(),Unt(),dot(),wot=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done,kot=class extends cot{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>Ant(t)||Dnt(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(wot(e))this.add(t);else{let[a,...r]=e,n=this.get(a,!0);if(Snt(n))n.addIn(r,t);else{if(void 0!==n||!this.schema)throw Error(`Expected YAML collection at ${a}. Remaining path: ${r}`);this.set(a,xot(this.schema,r,t))}}}deleteIn(e){let[t,...a]=e;if(0===a.length)return this.delete(t);let r=this.get(t,!0);if(Snt(r))return r.deleteIn(a);throw Error(`Expected YAML collection at ${t}. Remaining path: ${a}`)}getIn(e,t){let[a,...r]=e,n=this.get(a,!0);return 0===r.length?!t&&Lnt(n)?n.value:n:Snt(n)?n.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!Dnt(t))return!1;let a=t.value;return null==a||e&&Lnt(a)&&null==a.value&&!a.commentBefore&&!a.comment&&!a.tag})}hasIn(e){let[t,...a]=e;if(0===a.length)return this.has(t);let r=this.get(t,!0);return!!Snt(r)&&r.hasIn(a)}setIn(e,t){let[a,...r]=e;if(0===r.length)this.set(a,t);else{let e=this.get(a,!0);if(Snt(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw Error(`Expected YAML collection at ${a}. Remaining path: ${r}`);this.set(a,xot(this.schema,r,t))}}}}});function Aot(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var _ot,Tot,Eot=V(()=>{_ot=e=>e.replace(/^(?!$)(?: $)?/gm,"#"),Tot=(e,t,a)=>e.endsWith("\n")?Aot(a,t):a.includes("\n")?"\n"+Aot(a,t):(e.endsWith(" ")?"":" ")+a});function Cot(e,t,a="flow",{indentAtStart:r,lineWidth:n=80,minContentWidth:o=20,onFold:i,onOverflow:s}={}){if(!n||n<0)return e;n<o&&(o=0);let l=Math.max(1+o,1+n-t.length);if(e.length<=l)return e;let c=[],u={},d=n-t.length;"number"==typeof r&&(r>n-Math.max(2,o)?c.push(0):d=n-r);let p,h,m=!1,f=-1,g=-1,v=-1;"block"===a&&(f=Pot(e,f,t.length),-1!==f&&(d=f+l));for(let r;r=e[f+=1];){if("quoted"===a&&"\\"===r){switch(g=f,e[f+1]){case"x":f+=3;break;case"u":f+=5;break;case"U":f+=9;break;default:f+=1}v=f}if("\n"===r)"block"===a&&(f=Pot(e,f,t.length)),d=f+t.length+l,p=void 0;else{if(" "===r&&h&&" "!==h&&"\n"!==h&&"\t"!==h){let t=e[f+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(p=f)}if(f>=d)if(p)c.push(p),d=p+l,p=void 0;else if("quoted"===a){for(;" "===h||"\t"===h;)h=r,r=e[f+=1],m=!0;let t=f>v+1?f-2:g-1;if(u[t])return e;c.push(t),u[t]=!0,d=t+l,p=void 0}else m=!0}h=r}if(m&&s&&s(),0===c.length)return e;i&&i();let b=e.slice(0,c[0]);for(let r=0;r<c.length;++r){let n=c[r],o=c[r+1]||e.length;0===n?b=`\n${t}${e.slice(0,o)}`:("quoted"===a&&u[n]&&(b+=`${e[n]}\\`),b+=`\n${t}${e.slice(n+1,o)}`)}return b}function Pot(e,t,a){let r=t,n=t+1,o=e[n];for(;" "===o||"\t"===o;)if(t<n+a)o=e[++t];else{do{o=e[++t]}while(o&&"\n"!==o);r=t,n=t+1,o=e[n]}return r}var Mot,$ot,Not,Iot=V(()=>{Mot="flow",$ot="block",Not="quoted"});function Rot(e,t){let a=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return a;let{implicitKey:r}=t,n=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(zot(e)?"  ":""),i="",s=0;for(let e=0,t=a[e];t;t=a[++e])if(" "===t&&"\\"===a[e+1]&&"n"===a[e+2]&&(i+=a.slice(s,e)+"\\ ",e+=1,s=e,t="\\"),"\\"===t)switch(a[e+1]){case"u":{i+=a.slice(s,e);let t=a.substr(e+2,4);switch(t){case"0000":i+="\\0";break;case"0007":i+="\\a";break;case"000b":i+="\\v";break;case"001b":i+="\\e";break;case"0085":i+="\\N";break;case"00a0":i+="\\_";break;case"2028":i+="\\L";break;case"2029":i+="\\P";break;default:"00"===t.substr(0,2)?i+="\\x"+t.substr(2):i+=a.substr(e,6)}e+=5,s=e+1}break;case"n":if(r||'"'===a[e+2]||a.length<n)e+=1;else{for(i+=a.slice(s,e)+"\n\n";"\\"===a[e+2]&&"n"===a[e+3]&&'"'!==a[e+4];)i+="\n",e+=2;i+=o," "===a[e+2]&&(i+="\\"),e+=1,s=e+1}break;default:e+=1}return i=s?i+a.slice(s):a,r?i:Cot(i,o,Not,Uot(t,!1))}function Dot(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return Rot(e,t);let a=t.indent||(zot(e)?"  ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${a}`)+"'";return t.implicitKey?r:Cot(r,a,Mot,Uot(t,!1))}function Lot(e,t){let a,{singleQuote:r}=t.options;if(!1===r)a=Rot;else{let t=e.includes('"'),n=e.includes("'");a=t&&!n?Dot:n&&!t?Rot:r?Dot:Rot}return a(e,t)}function Bot({comment:e,type:t,value:a},r,n,o){let{blockQuote:i,commentString:s,lineWidth:l}=r.options;if(!i||/\n[\t ]+$/.test(a))return Lot(a,r);let c,u,d=r.indent||(r.forceBlockIndent||zot(a)?"  ":""),p="literal"===i||"folded"!==i&&t!==fot.BLOCK_FOLDED&&(t===fot.BLOCK_LITERAL||!function(e,t,a){if(!t||t<0)return!1;let r=t-a,n=e.length;if(n<=r)return!1;for(let t=0,a=0;t<n;++t)if("\n"===e[t]){if(t-a>r)return!0;if(a=t+1,n-a<=r)return!1}return!0}(a,l,d.length));if(!a)return p?"|\n":">\n";for(u=a.length;u>0;--u){let e=a[u-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=a.substring(u),m=h.indexOf("\n");-1===m?c="-":a===h||m!==h.length-1?(c="+",o&&o()):c="",h&&=(a=a.slice(0,-h.length),"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h.replace(Hot,`$&${d}`));let f,g=!1,v=-1;for(f=0;f<a.length;++f){let e=a[f];if(" "===e)g=!0;else{if("\n"!==e)break;v=f}}let b=a.substring(0,v<f?v+1:f);b&&=(a=a.substring(b.length),b.replace(/\n+/g,`$&${d}`));let y=(g?d?"2":"1":"")+c;if(e&&(y+=" "+s(e.replace(/ ?[\r\n]+/g," ")),n&&n()),!p){let e=a.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${d}`),n=!1,o=Uot(r,!0);"folded"!==i&&t!==fot.BLOCK_FOLDED&&(o.onOverflow=()=>{n=!0});let s=Cot(`${b}${e}${h}`,d,$ot,o);if(!n)return`>${y}\n${d}${s}`}return`|${y}\n${d}${b}${a=a.replace(/\n+/g,`$&${d}`)}${h}`}function jot(e,t,a,r){let{implicitKey:n,inFlow:o}=t,i="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),{type:s}=e;s!==fot.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(i.value)&&(s=fot.QUOTE_DOUBLE);let l=e=>{switch(e){case fot.BLOCK_FOLDED:case fot.BLOCK_LITERAL:return n||o?Lot(i.value,t):Bot(i,t,a,r);case fot.QUOTE_DOUBLE:return Rot(i.value,t);case fot.QUOTE_SINGLE:return Dot(i.value,t);case fot.PLAIN:return function(e,t,a,r){let{type:n,value:o}=e,{actualString:i,implicitKey:s,indent:l,indentStep:c,inFlow:u}=t;if(s&&o.includes("\n")||u&&/[[\]{},]/.test(o))return Lot(o,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return s||u||!o.includes("\n")?Lot(o,t):Bot(e,t,a,r);if(!s&&!u&&n!==fot.PLAIN&&o.includes("\n"))return Bot(e,t,a,r);if(zot(o)){if(""===l)return t.forceBlockIndent=!0,Bot(e,t,a,r);if(s&&l===c)return Lot(o,t)}let d=o.replace(/\n+/g,`$&\n${l}`);if(i){let e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(d),{compat:a,tags:r}=t.doc.schema;if(r.some(e)||a?.some(e))return Lot(o,t)}return s?d:Cot(d,l,Mot,Uot(t,!1))}(i,t,a,r);default:return null}},c=l(s);if(null===c){let{defaultKeyType:e,defaultStringType:a}=t.options,r=n&&e||a;if(c=l(r),null===c)throw Error(`Unsupported default string type ${r}`)}return c}var Uot,zot,Hot,Zot=V(()=>{vot(),Iot(),Uot=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),zot=e=>/^(%|---|\.\.\.)/m.test(e);try{Hot=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{Hot=/\n+(?!\n|$)/g}});function Vot(e,t){let a,r=Object.assign({blockQuote:!0,commentString:_ot,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);switch(r.collectionStyle){case"block":a=!1;break;case"flow":a=!0;break;default:a=null}return{anchors:new Set,doc:e,flowCollectionPadding:r.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof r.indent?" ".repeat(r.indent):"  ",inFlow:a,options:r}}function Qot(e,t,a,r){if(Dnt(e))return e.toString(t,a,r);if(Nnt(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let n,o=Ant(e)?e:t.doc.createNode(e,{onTagObj:e=>n=e});n??=function(e,t){if(t.tag){let a=e.filter(e=>e.tag===t.tag);if(a.length>0)return a.find(e=>e.format===t.format)??a[0]}let a,r;if(Lnt(t)){r=t.value;let n=e.filter(e=>e.identify?.(r));if(n.length>1){let e=n.filter(e=>e.test);e.length>0&&(n=e)}a=n.find(e=>e.format===t.format)??n.find(e=>!e.format)}else r=t,a=e.find(e=>e.nodeClass&&r instanceof e.nodeClass);if(!a)throw Error(`Tag not resolved for ${r?.constructor?.name??(null===r?"null":typeof r)} value`);return a}(t.doc.schema.tags,o);let i=function(e,t,{anchors:a,doc:r}){if(!r.directives)return"";let n=[],o=(Lnt(e)||Snt(e))&&e.anchor;o&&aot(o)&&(a.add(o),n.push(`&${o}`));let i=e.tag??(t.default?null:t.tag);return i&&n.push(r.directives.tagString(i)),n.join(" ")}(o,n,t);i.length>0&&(t.indentAtStart=(t.indentAtStart??0)+i.length+1);let s="function"==typeof n.stringify?n.stringify(o,t,a,r):Lnt(o)?jot(o,t,a,r):o.toString(t,a,r);return i?Lnt(o)||"{"===s[0]||"["===s[0]?`${i} ${s}`:`${i}\n${t.indent}${s}`:s}var qot=V(()=>{oot(),Unt(),Eot(),Zot()});var Fot=V(()=>{Unt(),vot(),qot(),Eot()});function Wot(e,t){("debug"===e||"warn"===e)&&console.warn(t)}var Xot=V(()=>{});function Got(e,t,a){if(a=e&&Nnt(a)?a.resolve(e.doc):a,Bnt(a))for(let r of a.items)Yot(e,t,r);else if(Array.isArray(a))for(let r of a)Yot(e,t,r);else Yot(e,t,a)}function Yot(e,t,a){let r=e&&Nnt(a)?a.resolve(e.doc):a;if(!Rnt(r))throw Error("Merge sources must be maps or map aliases");let n=r.toJSON(null,e,Map);for(let[e,a]of n)t instanceof Map?t.has(e)||t.set(e,a):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:a,writable:!0,enumerable:!0,configurable:!0});return t}var Kot,Jot,eit,tit=V(()=>{Unt(),vot(),Kot="<<",Jot={identify:e=>e===Kot||"symbol"==typeof e&&e.description===Kot,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new fot(Symbol(Kot)),{addToJSMap:Got}),stringify:()=>Kot},eit=(e,t)=>(Jot.identify(t)||Lnt(t)&&(!t.type||t.type===fot.PLAIN)&&Jot.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===Jot.tag&&e.default)});function ait(e,t,{key:a,value:r}){if(Ant(a)&&a.addToJSMap)a.addToJSMap(e,t,r);else if(eit(e,a))Got(e,t,r);else{let n=lot(a,"",e);if(t instanceof Map)t.set(n,lot(r,n,e));else if(t instanceof Set)t.add(n);else{let o=function(e,t,a){if(null===t)return"";if("object"!=typeof t)return String(t);if(Ant(e)&&a?.doc){let t=Vot(a.doc,{});t.anchors=new Set;for(let e of a.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let r=e.toString(t);if(!a.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),Wot(a.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),a.mapKeyWarned=!0}return r}return JSON.stringify(t)}(a,n,e),i=lot(r,o,e);o in t?Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0}):t[o]=i}}return t}var rit=V(()=>{Xot(),tit(),qot(),Unt(),uot()});function nit(e,t,a){return new oit(bot(e,void 0,a),bot(t,void 0,a))}var oit,iit=V(()=>{Oot(),Fot(),rit(),Unt(),oit=class e{constructor(e,t=null){Object.defineProperty(this,$nt,{value:Cnt}),this.key=e,this.value=t}clone(t){let{key:a,value:r}=this;return Ant(a)&&(a=a.clone(t)),Ant(r)&&(r=r.clone(t)),new e(a,r)}toJSON(e,t){return ait(t,t?.mapAsMap?new Map:{},this)}toString(e,t,a){return e?.doc?function({key:e,value:t},a,r,n){let{allNullValues:o,doc:i,indent:s,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:d}}=a,p=Ant(e)&&e.comment||null;if(d){if(p)throw Error("With simple keys, key nodes cannot have comments");if(Snt(e)||!Ant(e)&&"object"==typeof e)throw Error("With simple keys, collection cannot be used as a key value")}let h=!d&&(!e||p&&null==t&&!a.inFlow||Snt(e)||(Lnt(e)?e.type===fot.BLOCK_FOLDED||e.type===fot.BLOCK_LITERAL:"object"==typeof e));a=Object.assign({},a,{allNullValues:!1,implicitKey:!h&&(d||!o),indent:s+l});let m,f,g,v=!1,b=!1,y=Qot(e,a,()=>v=!0,()=>b=!0);if(!h&&!a.inFlow&&y.length>1024){if(d)throw Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(a.inFlow){if(o||null==t)return v&&r&&r(),""===y?"?":h?`? ${y}`:y}else if(o&&!d||null==t&&h)return y=`? ${y}`,p&&!v?y+=Tot(y,a.indent,c(p)):b&&n&&n(),y;v&&(p=null),h?(p&&(y+=Tot(y,a.indent,c(p))),y=`? ${y}\n${s}:`):(y=`${y}:`,p&&(y+=Tot(y,a.indent,c(p)))),Ant(t)?(m=!!t.spaceBefore,f=t.commentBefore,g=t.comment):(m=!1,f=null,g=null,t&&"object"==typeof t&&(t=i.createNode(t))),a.implicitKey=!1,!h&&!p&&Lnt(t)&&(a.indentAtStart=y.length+1),b=!1,!u&&l.length>=2&&!a.inFlow&&!h&&Bnt(t)&&!t.flow&&!t.tag&&!t.anchor&&(a.indent=a.indent.substring(2));let O=!1,x=Qot(t,a,()=>O=!0,()=>b=!0),w=" ";if(p||m||f)w=m?"\n":"",f&&(w+=`\n${Aot(c(f),a.indent)}`),""!==x||a.inFlow?w+=`\n${a.indent}`:"\n"===w&&g&&(w="\n\n");else if(!h&&Snt(t)){let e=x[0],r=x.indexOf("\n"),n=-1!==r,o=a.inFlow??t.flow??0===t.items.length;if(n||!o){let t=!1;if(n&&("&"===e||"!"===e)){let a=x.indexOf(" ");"&"===e&&-1!==a&&a<r&&"!"===x[a+1]&&(a=x.indexOf(" ",a+1)),(-1===a||r<a)&&(t=!0)}t||(w=`\n${a.indent}`)}}else(""===x||"\n"===x[0])&&(w="");return y+=w+x,a.inFlow?O&&r&&r():g&&!O?y+=Tot(y,a.indent,c(g)):b&&n&&n(),y}(this,e,t,a):JSON.stringify(this)}}});function sit(e,t,a){return(t.inFlow??e.flow?cit:lit)(e,t,a)}function lit({comment:e,items:t},a,{blockItemPrefix:r,flowChars:n,itemIndent:o,onChompKeep:i,onComment:s}){let l,{indent:c,options:{commentString:u}}=a,d=Object.assign({},a,{indent:o,type:null}),p=!1,h=[];for(let e=0;e<t.length;++e){let n=t[e],i=null;if(Ant(n))!p&&n.spaceBefore&&h.push(""),uit(a,h,n.commentBefore,p),n.comment&&(i=n.comment);else if(Dnt(n)){let e=Ant(n.key)?n.key:null;e&&(!p&&e.spaceBefore&&h.push(""),uit(a,h,e.commentBefore,p))}p=!1;let s=Qot(n,d,()=>i=null,()=>p=!0);i&&(s+=Tot(s,o,u(i))),p&&i&&(p=!1),h.push(r+s)}if(0===h.length)l=n.start+n.end;else{l=h[0];for(let e=1;e<h.length;++e){let t=h[e];l+=t?`\n${c}${t}`:"\n"}}return e?(l+="\n"+Aot(u(e),c),s&&s()):p&&i&&i(),l}function cit({items:e},t,{flowChars:a,itemIndent:r}){let{indent:n,indentStep:o,flowCollectionPadding:i,options:{commentString:s}}=t;r+=o;let l=Object.assign({},t,{indent:r,inFlow:!0,type:null}),c=!1,u=0,d=[];for(let a=0;a<e.length;++a){let n=e[a],o=null;if(Ant(n))n.spaceBefore&&d.push(""),uit(t,d,n.commentBefore,!1),n.comment&&(o=n.comment);else if(Dnt(n)){let e=Ant(n.key)?n.key:null;e&&(e.spaceBefore&&d.push(""),uit(t,d,e.commentBefore,!1),e.comment&&(c=!0));let a=Ant(n.value)?n.value:null;a?(a.comment&&(o=a.comment),a.commentBefore&&(c=!0)):null==n.value&&e?.comment&&(o=e.comment)}o&&(c=!0);let i=Qot(n,l,()=>o=null);c||=d.length>u||i.includes("\n"),a<e.length-1?i+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(c||=d.reduce((e,t)=>e+t.length+2,2)+(i.length+2)>t.options.lineWidth),c&&(i+=",")),o&&(i+=Tot(i,r,s(o))),d.push(i),u=d.length}let{start:p,end:h}=a;if(0===d.length)return p+h;if(!c){let e=d.reduce((e,t)=>e+t.length+2,2);c=t.options.lineWidth>0&&e>t.options.lineWidth}if(c){let e=p;for(let t of d)e+=t?`\n${o}${n}${t}`:"\n";return`${e}\n${n}${h}`}return`${p}${i}${d.join(" ")}${i}${h}`}function uit({indent:e,options:{commentString:t}},a,r,n){if(r&&n&&(r=r.replace(/^\n+/,"")),r){let n=Aot(t(r),e);a.push(n.trimStart())}}var dit=V(()=>{Unt(),qot(),Eot()});function pit(e,t){let a=Lnt(t)?t.value:t;for(let r of e)if(Dnt(r)&&(r.key===t||r.key===a||Lnt(r.key)&&r.key.value===a))return r}var hit,mit,fit=V(()=>{dit(),rit(),Sot(),Unt(),iit(),vot(),hit=class extends kot{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(Ent,e),this.items=[]}static from(e,t,a){let{keepUndefined:r,replacer:n}=a,o=new this(e),i=(e,i)=>{if("function"==typeof n)i=n.call(t,e,i);else if(Array.isArray(n)&&!n.includes(e))return;(void 0!==i||r)&&o.items.push(nit(e,i,a))};if(t instanceof Map)for(let[e,a]of t)i(e,a);else if(t&&"object"==typeof t)for(let e of Object.keys(t))i(e,t[e]);return"function"==typeof e.sortMapEntries&&o.items.sort(e.sortMapEntries),o}add(e,t){let a;a=Dnt(e)?e:e&&"object"==typeof e&&"key"in e?new oit(e.key,e.value):new oit(e,e?.value);let r=pit(this.items,a.key),n=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${a.key} already set`);Lnt(r.value)&&mot(a.value)?r.value.value=a.value:r.value=a.value}else if(n){let e=this.items.findIndex(e=>n(a,e)<0);-1===e?this.items.push(a):this.items.splice(e,0,a)}else this.items.push(a)}delete(e){let t=pit(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let a=pit(this.items,e)?.value;return(!t&&Lnt(a)?a.value:a)??void 0}has(e){return!!pit(this.items,e)}set(e,t){this.add(new oit(e,t),!0)}toJSON(e,t,a){let r=a?new a:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(let e of this.items)ait(t,r,e);return r}toString(e,t,a){if(!e)return JSON.stringify(this);for(let e of this.items)if(!Dnt(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),sit(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:a,onComment:t})}}}),git=V(()=>{Unt(),fit(),mit={collection:"map",default:!0,nodeClass:hit,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(Rnt(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,a)=>hit.from(e,t,a)}});function vit(e){let t=Lnt(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}var bit,yit,Oit,xit,wit,kit=V(()=>{Oot(),dit(),Sot(),Unt(),vot(),uot(),bit=class extends kot{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(Mnt,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=vit(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let a=vit(e);if("number"!=typeof a)return;let r=this.items[a];return!t&&Lnt(r)?r.value:r}has(e){let t=vit(e);return"number"==typeof t&&t<this.items.length}set(e,t){let a=vit(e);if("number"!=typeof a)throw Error(`Expected a valid index, not ${e}.`);let r=this.items[a];Lnt(r)&&mot(t)?r.value=t:this.items[a]=t}toJSON(e,t){let a=[];t?.onCreate&&t.onCreate(a);let r=0;for(let e of this.items)a.push(lot(e,String(r++),t));return a}toString(e,t,a){return e?sit(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+"  ",onChompKeep:a,onComment:t}):JSON.stringify(this)}static from(e,t,a){let{replacer:r}=a,n=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let o of t){if("function"==typeof r){let a=t instanceof Set?o:String(e++);o=r.call(t,a,o)}n.items.push(bot(o,void 0,a))}}return n}}}),Sit=V(()=>{Unt(),kit(),yit={collection:"seq",default:!0,nodeClass:bit,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(Bnt(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,a)=>bit.from(e,t,a)}}),Ait=V(()=>{Zot(),Oit={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,a,r)=>jot(e,t=Object.assign({actualString:!0},t),a,r)}}),_it=V(()=>{vot(),xit={identify:e=>null==e,createNode:()=>new fot(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new fot(null),stringify:({source:e},t)=>"string"==typeof e&&xit.test.test(e)?e:t.options.nullStr}}),Tit=V(()=>{vot(),wit={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new fot("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},a)=>e&&wit.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?a.options.trueStr:a.options.falseStr}});function Eit({format:e,minFractionDigits:t,tag:a,value:r}){if("bigint"==typeof r)return String(r);let n="number"==typeof r?r:Number(r);if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let o=Object.is(r,-0)?"-0":JSON.stringify(r);if(!e&&t&&(!a||"tag:yaml.org,2002:float"===a)&&/^\d/.test(o)){let e=o.indexOf(".");e<0&&(e=o.length,o+=".");let a=t-(o.length-e-1);for(;a-- >0;)o+="0"}return o}var Cit,Pit,Mit,$it=V(()=>{}),Nit=V(()=>{vot(),$it(),Cit={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:Eit},Pit={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():Eit(e)}},Mit={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new fot(parseFloat(e)),a=e.indexOf(".");return-1!==a&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-a-1),t},stringify:Eit}});function Iit(e,t,a){let{value:r}=e;return Rit(r)&&r>=0?a+r.toString(t):Eit(e)}var Rit,Dit,Lit,Bit,jit,Uit,zit=V(()=>{$it(),Rit=e=>"bigint"==typeof e||Number.isInteger(e),Dit=(e,t,a,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),a),Lit={identify:e=>Rit(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,a)=>Dit(e,2,8,a),stringify:e=>Iit(e,8,"0o")},Bit={identify:Rit,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,a)=>Dit(e,0,10,a),stringify:Eit},jit={identify:e=>Rit(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,a)=>Dit(e,2,16,a),stringify:e=>Iit(e,16,"0x")}}),Hit=V(()=>{git(),_it(),Sit(),Ait(),Tit(),Nit(),zit(),Uit=[mit,yit,Oit,xit,wit,Lit,Bit,jit,Cit,Pit,Mit]});function Zit(e){return"bigint"==typeof e||Number.isInteger(e)}var Vit,Qit,qit,Fit,Wit=V(()=>{vot(),git(),Sit(),Vit=({value:e})=>JSON.stringify(e),Qit=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Vit},{identify:e=>null==e,createNode:()=>new fot(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Vit},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:Vit},{identify:Zit,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:a})=>a?BigInt(e):parseInt(e,10),stringify:({value:e})=>Zit(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Vit}],qit=[mit,yit].concat(Qit,{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)})}),Xit=V(()=>{vot(),Zot(),Fit={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof atob){let t=atob(e.replace(/[\n\r]/g,"")),a=new Uint8Array(t.length);for(let e=0;e<t.length;++e)a[e]=t.charCodeAt(e);return a}return t("This environment does not support reading binary tags; either Buffer or atob is required"),e},stringify({comment:e,type:t,value:a},r,n,o){if(!a)return"";let i,s=a;if("function"!=typeof btoa)throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");{let e="";for(let t=0;t<s.length;++t)e+=String.fromCharCode(s[t]);i=btoa(e)}if(t??=fot.BLOCK_LITERAL,t!==fot.QUOTE_DOUBLE){let e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),a=Math.ceil(i.length/e),n=Array(a);for(let t=0,r=0;t<a;++t,r+=e)n[t]=i.substr(r,e);i=n.join(t===fot.BLOCK_LITERAL?"\n":" ")}return jot({comment:e,type:t,value:i},r,n,o)}}});function Git(e,t){if(Bnt(e))for(let a=0;a<e.items.length;++a){let r=e.items[a];if(!Dnt(r)){if(Rnt(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");let e=r.items[0]||new oit(new fot(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){let t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[a]=Dnt(r)?r:new oit(r)}}else t("Expected a sequence for this tag");return e}function Yit(e,t,a){let{replacer:r}=a,n=new bit(e);n.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let i,s;if("function"==typeof r&&(e=r.call(t,String(o++),e)),Array.isArray(e)){if(2!==e.length)throw TypeError(`Expected [key, value] tuple: ${e}`);i=e[0],s=e[1]}else if(e&&e instanceof Object){let t=Object.keys(e);if(1!==t.length)throw TypeError(`Expected tuple with one key, not ${t.length} keys`);i=t[0],s=e[i]}else i=e;n.items.push(nit(i,s,a))}return n}var Kit,Jit,est,tst=V(()=>{Unt(),iit(),vot(),kit(),Kit={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Git,createNode:Yit}}),ast=V(()=>{Unt(),uot(),fit(),kit(),tst(),Jit=class e extends bit{constructor(){super(),this.add=hit.prototype.add.bind(this),this.delete=hit.prototype.delete.bind(this),this.get=hit.prototype.get.bind(this),this.has=hit.prototype.has.bind(this),this.set=hit.prototype.set.bind(this),this.tag=e.tag}toJSON(e,t){if(!t)return super.toJSON(e);let a=new Map;t?.onCreate&&t.onCreate(a);for(let e of this.items){let r,n;if(Dnt(e)?(r=lot(e.key,"",t),n=lot(e.value,r,t)):r=lot(e,"",t),a.has(r))throw Error("Ordered maps must not include duplicate keys");a.set(r,n)}return a}static from(e,t,a){let r=Yit(e,t,a),n=new this;return n.items=r.items,n}},Jit.tag="tag:yaml.org,2002:omap",est={collection:"seq",identify:e=>e instanceof Map,nodeClass:Jit,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let a=Git(e,t),r=[];for(let{key:e}of a.items)Lnt(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new Jit,a)},createNode:(e,t,a)=>Jit.from(e,t,a)}});function rst({value:e,source:t},a){return t&&(e?nst:ost).test.test(t)?t:e?a.options.trueStr:a.options.falseStr}var nst,ost,ist,sst,lst,cst=V(()=>{vot(),nst={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new fot(!0),stringify:rst},ost={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new fot(!1),stringify:rst}}),ust=V(()=>{vot(),$it(),ist={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:Eit},sst={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():Eit(e)}},lst={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new fot(parseFloat(e.replace(/_/g,""))),a=e.indexOf(".");if(-1!==a){let r=e.substring(a+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:Eit}});function dst(e,t,a,{intAsBigInt:r}){let n=e[0];if(("-"===n||"+"===n)&&(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(a){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===n?BigInt(-1)*t:t}let o=parseInt(e,a);return"-"===n?-1*o:o}function pst(e,t,a){let{value:r}=e;if(hst(r)){let e=r.toString(t);return r<0?"-"+a+e.substr(1):a+e}return Eit(e)}var hst,mst,fst,gst,vst,bst,yst,Ost=V(()=>{$it(),hst=e=>"bigint"==typeof e||Number.isInteger(e),mst={identify:hst,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,a)=>dst(e,2,2,a),stringify:e=>pst(e,2,"0b")},fst={identify:hst,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,a)=>dst(e,1,8,a),stringify:e=>pst(e,8,"0")},gst={identify:hst,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,a)=>dst(e,0,10,a),stringify:Eit},vst={identify:hst,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,a)=>dst(e,2,16,a),stringify:e=>pst(e,16,"0x")}}),xst=V(()=>{Unt(),iit(),fit(),bst=class e extends hit{constructor(t){super(t),this.tag=e.tag}add(e){let t;t=Dnt(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new oit(e.key,null):new oit(e,null),pit(this.items,t.key)||this.items.push(t)}get(e,t){let a=pit(this.items,e);return!t&&Dnt(a)?Lnt(a.key)?a.key.value:a.key:a}set(e,t){if("boolean"!=typeof t)throw Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);let a=pit(this.items,e);a&&!t?this.items.splice(this.items.indexOf(a),1):!a&&t&&this.items.push(new oit(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,a){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,a);throw Error("Set items must all have null values")}static from(e,t,a){let{replacer:r}=a,n=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),n.items.push(nit(e,null,a));return n}},bst.tag="tag:yaml.org,2002:set",yst={collection:"map",identify:e=>e instanceof Set,nodeClass:bst,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,a)=>bst.from(e,t,a),resolve(e,t){if(Rnt(e)){if(e.hasAllNullValues(!0))return Object.assign(new bst,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}}});function wst(e,t){let a=e[0],r="-"===a||"+"===a?e.substring(1):e,n=e=>t?BigInt(e):Number(e),o=r.replace(/_/g,"").split(":").reduce((e,t)=>e*n(60)+n(t),n(0));return"-"===a?n(-1)*o:o}function kst(e){let{value:t}=e,a=e=>e;if("bigint"==typeof t)a=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Eit(e);let r="";t<0&&(r="-",t*=a(-1));let n=a(60),o=[t%n];return t<60?o.unshift(0):(t=(t-o[0])/n,o.unshift(t%n),t>=60&&(t=(t-o[0])/n,o.unshift(t))),r+o.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}var Sst,Ast,_st,Tst,Est=V(()=>{$it(),Sst={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:a})=>wst(e,a),stringify:kst},Ast={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>wst(e,!1),stringify:kst},_st={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(_st.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,a,r,n,o,i,s]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0,c=Date.UTC(a,r-1,n,o||0,i||0,s||0,l),u=t[8];if(u&&"Z"!==u){let e=wst(u,!1);Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""}}),Cst=V(()=>{git(),_it(),Sit(),Ait(),Xit(),cst(),ust(),Ost(),tit(),ast(),tst(),xst(),Est(),Tst=[mit,yit,Oit,xit,nst,ost,mst,fst,gst,vst,ist,sst,lst,Fit,Jot,est,Kit,yst,Sst,Ast,_st]});function Pst(e,t,a){let r=Mst.get(t);if(r&&!e)return a&&!r.includes(Jot)?r.concat(Jot):r.slice();let n=r;if(!n){if(!Array.isArray(e)){let e=Array.from(Mst.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}n=[]}if(Array.isArray(e))for(let t of e)n=n.concat(t);else"function"==typeof e&&(n=e(n.slice()));return a&&(n=n.concat(Jot)),n.reduce((e,t)=>{let a="string"==typeof t?$st[t]:t;if(!a){let e=JSON.stringify(t),a=Object.keys($st).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${a}`)}return e.includes(a)||e.push(a),e},[])}var Mst,$st,Nst,Ist,Rst,Dst=V(()=>{git(),_it(),Sit(),Ait(),Tit(),Nit(),zit(),Hit(),Wit(),Xit(),tit(),ast(),tst(),Cst(),xst(),Est(),Mst=new Map([["core",Uit],["failsafe",[mit,yit,Oit]],["json",qit],["yaml11",Tst],["yaml-1.1",Tst]]),$st={binary:Fit,bool:wit,float:Mit,floatExp:Pit,floatNaN:Cit,floatTime:Ast,int:Bit,intHex:jit,intOct:Lit,intTime:Sst,map:mit,merge:Jot,null:xit,omap:est,pairs:Kit,seq:yit,set:yst,timestamp:_st},Nst={"tag:yaml.org,2002:binary":Fit,"tag:yaml.org,2002:merge":Jot,"tag:yaml.org,2002:omap":est,"tag:yaml.org,2002:pairs":Kit,"tag:yaml.org,2002:set":yst,"tag:yaml.org,2002:timestamp":_st}}),Lst=V(()=>{Unt(),git(),Sit(),Ait(),Dst(),Ist=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0,Rst=class e{constructor({compat:e,customTags:t,merge:a,resolveKnownTags:r,schema:n,sortMapEntries:o,toStringDefaults:i}){this.compat=Array.isArray(e)?Pst(e,"compat"):e?Pst(null,e):null,this.name="string"==typeof n&&n||"core",this.knownTags=r?Nst:{},this.tags=Pst(t,this.name,a),this.toStringOptions=i??null,Object.defineProperty(this,Ent,{value:mit}),Object.defineProperty(this,Pnt,{value:Oit}),Object.defineProperty(this,Mnt,{value:yit}),this.sortMapEntries="function"==typeof o?o:!0===o?Ist:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}});var Bst=V(()=>{Unt(),qot(),Eot()});function jst(e){if(Snt(e))return!0;throw Error("Expected a YAML collection as document contents")}var Ust,zst,Hst,Zst,Vst,Qst=V(()=>{got(),Sot(),Unt(),iit(),uot(),Lst(),Bst(),oot(),sot(),Oot(),tot(),Ust=class e{constructor(e,t,a){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,$nt,{value:Tnt});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===a&&t&&(a=t,t=void 0);let n=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},a);this.options=n;let{version:o}=n;a?._directives?(this.directives=a._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new Jnt({version:o}),this.setSchema(o,a),this.contents=void 0===e?null:this.createNode(e,r,a)}clone(){let t=Object.create(e.prototype,{[$nt]:{value:Tnt}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=Ant(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(e){jst(this.contents)&&this.contents.add(e)}addIn(e,t){jst(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let a=rot(this);e.anchor=!t||a.has(t)?not(t||"a",a):t}return new hot(e.anchor)}createNode(e,t,a){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){let e=t.filter(e=>"number"==typeof e||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),r=t}else void 0===a&&t&&(a=t,t=void 0);let{aliasDuplicateObjects:n,anchorPrefix:o,flow:i,keepUndefined:s,onTagObj:l,tag:c}=a??{},{onAnchor:u,setAnchors:d,sourceObjects:p}=function(e,t){let a=[],r=new Map,n=null;return{onAnchor:r=>{a.push(r),n??=rot(e);let o=not(t,n);return n.add(o),o},setAnchors:()=>{for(let e of a){let t=r.get(e);if("object"!=typeof t||!t.anchor||!Lnt(t.node)&&!Snt(t.node)){let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}}(this,o||"a"),h=bot(e,c,{aliasDuplicateObjects:n??!0,keepUndefined:s??!1,onAnchor:u,onTagObj:l,replacer:r,schema:this.schema,sourceObjects:p});return i&&Snt(h)&&(h.flow=!0),d(),h}createPair(e,t,a={}){return new oit(this.createNode(e,null,a),this.createNode(t,null,a))}delete(e){return!!jst(this.contents)&&this.contents.delete(e)}deleteIn(e){return wot(e)?null!=this.contents&&(this.contents=null,!0):!!jst(this.contents)&&this.contents.deleteIn(e)}get(e,t){return Snt(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return wot(e)?!t&&Lnt(this.contents)?this.contents.value:this.contents:Snt(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!Snt(this.contents)&&this.contents.has(e)}hasIn(e){return wot(e)?void 0!==this.contents:!!Snt(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=xot(this.schema,[e],t):jst(this.contents)&&this.contents.set(e,t)}setIn(e,t){wot(e)?this.contents=t:null==this.contents?this.contents=xot(this.schema,Array.from(e),t):jst(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let a;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Jnt({version:"1.1"}),a={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new Jnt({version:e}),a={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,a=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!a)throw Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new Rst(Object.assign(a,t))}}toJS({json:e,jsonArg:t,mapAsMap:a,maxAliasCount:r,onAnchor:n,reviver:o}={}){let i={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===a,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},s=lot(this.contents,t??"",i);if("function"==typeof n)for(let{count:e,res:t}of i.anchors.values())n(t,e);return"function"==typeof o?iot(o,{"":s},"",s):s}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){let a=[],r=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(a.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&a.push("---");let n=Vot(e,t),{commentString:o}=n.options;if(e.commentBefore){1!==a.length&&a.unshift("");let t=o(e.commentBefore);a.unshift(Aot(t,""))}let i=!1,s=null;if(e.contents){if(Ant(e.contents)){if(e.contents.spaceBefore&&r&&a.push(""),e.contents.commentBefore){let t=o(e.contents.commentBefore);a.push(Aot(t,""))}n.forceBlockIndent=!!e.comment,s=e.contents.comment}let t=s?void 0:()=>i=!0,l=Qot(e.contents,n,()=>s=null,t);s&&(l+=Tot(l,"",o(s))),"|"!==l[0]&&">"!==l[0]||"---"!==a[a.length-1]?a.push(l):a[a.length-1]=`--- ${l}`}else a.push(Qot(e.contents,n));if(e.directives?.docEnd)if(e.comment){let t=o(e.comment);t.includes("\n")?(a.push("..."),a.push(Aot(t,""))):a.push(`... ${t}`)}else a.push("...");else{let t=e.comment;t&&i&&(t=t.replace(/^\n+/,"")),t&&((!i||s)&&""!==a[a.length-1]&&a.push(""),a.push(Aot(o(t),"")))}return a.join("\n")+"\n"}(this,e)}}}),qst=V(()=>{zst=class extends Error{constructor(e,t,a,r){super(),this.name=e,this.code=a,this.message=r,this.pos=t}},Hst=class extends zst{constructor(e,t,a){super("YAMLParseError",e,t,a)}},Zst=class extends zst{constructor(e,t,a){super("YAMLWarning",e,t,a)}},Vst=(e,t)=>a=>{if(-1===a.pos[0])return;a.linePos=a.pos.map(e=>t.linePos(e));let{line:r,col:n}=a.linePos[0];a.message+=` at line ${r}, column ${n}`;let o=n-1,i=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(o>=60&&i.length>80){let e=Math.min(o-39,i.length-79);i="…"+i.substring(e),o-=e-1}if(i.length>80&&(i=i.substring(0,79)+"…"),r>1&&/^ *$/.test(i.substring(0,o))){let a=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);a.length>80&&(a=a.substring(0,79)+"…\n"),i=a+i}if(/[^ ]/.test(i)){let e=1,t=a.linePos[1];t?.line===r&&t.col>n&&(e=Math.max(1,Math.min(t.col-n,80-o)));let s=" ".repeat(o)+"^".repeat(e);a.message+=`:\n\n${i}\n${s}\n`}}});function Fst(e,{flow:t,indicator:a,next:r,offset:n,onError:o,parentIndent:i,startOnNewline:s}){let l=!1,c=s,u=s,d="",p="",h=!1,m=!1,f=null,g=null,v=null,b=null,y=null,O=null,x=null;for(let n of e)switch(m&&=("space"!==n.type&&"newline"!==n.type&&"comma"!==n.type&&o(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),!1),f&&=(c&&"comment"!==n.type&&"newline"!==n.type&&o(f,"TAB_AS_INDENT","Tabs are not allowed as indentation"),null),n.type){case"space":!t&&("doc-start"!==a||"flow-collection"!==r?.type)&&n.source.includes("\t")&&(f=n),u=!0;break;case"comment":{u||o(n,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let e=n.source.substring(1)||" ";d?d+=p+e:d=e,p="",c=!1;break}case"newline":c?d?d+=n.source:(!O||"seq-item-ind"!==a)&&(l=!0):p+=n.source,c=!0,h=!0,(g||v)&&(b=n),u=!0;break;case"anchor":g&&o(n,"MULTIPLE_ANCHORS","A node can have at most one anchor"),n.source.endsWith(":")&&o(n.offset+n.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=n,x??=n.offset,c=!1,u=!1,m=!0;break;case"tag":v&&o(n,"MULTIPLE_TAGS","A node can have at most one tag"),v=n,x??=n.offset,c=!1,u=!1,m=!0;break;case a:(g||v)&&o(n,"BAD_PROP_ORDER",`Anchors and tags must be after the ${n.source} indicator`),O&&o(n,"UNEXPECTED_TOKEN",`Unexpected ${n.source} in ${t??"collection"}`),O=n,c="seq-item-ind"===a||"explicit-key-ind"===a,u=!1;break;case"comma":if(t){y&&o(n,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),y=n,c=!1,u=!1;break}default:o(n,"UNEXPECTED_TOKEN",`Unexpected ${n.type} token`),c=!1,u=!1}let w=e[e.length-1],k=w?w.offset+w.source.length:n;return m&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&o(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),f&&(c&&f.indent<=i||"block-map"===r?.type||"block-seq"===r?.type)&&o(f,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:y,found:O,spaceBefore:l,comment:d,hasNewline:h,anchor:g,tag:v,newlineAfterProp:b,end:k,start:x??k}}var Wst=V(()=>{});function Xst(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(let t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(let t of e.items){for(let e of t.start)if("newline"===e.type)return!0;if(t.sep)for(let e of t.sep)if("newline"===e.type)return!0;if(Xst(t.key)||Xst(t.value))return!0}return!1;default:return!0}}var Gst=V(()=>{});function Yst(e,t,a){if("flow-collection"===t?.type){let r=t.end[0];r.indent===e&&("]"===r.source||"}"===r.source)&&Xst(t)&&a(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}var Kst=V(()=>{Gst()});function Jst(e,t,a){let{uniqueKeys:r}=e.options;if(!1===r)return!1;let n="function"==typeof r?r:(e,t)=>e===t||Lnt(e)&&Lnt(t)&&e.value===t.value;return t.some(e=>n(e.key,a))}var elt=V(()=>{Unt()});var tlt,alt=V(()=>{iit(),fit(),Wst(),Gst(),Kst(),elt(),tlt="All mapping items must start at the same column"});var rlt=V(()=>{kit(),Wst(),Kst()});function nlt(e,t,a,r){let n="";if(e){let o=!1,i="";for(let s of e){let{source:e,type:l}=s;switch(l){case"space":o=!0;break;case"comment":{a&&!o&&r(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let t=e.substring(1)||" ";n?n+=i+t:n=t,i="";break}case"newline":n&&(i+=e),o=!0;break;default:r(s,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{comment:n,offset:t}}var olt=V(()=>{});var ilt,slt,llt=V(()=>{Unt(),iit(),fit(),kit(),olt(),Wst(),Gst(),elt(),ilt="Block collections are not allowed within flow collections",slt=e=>e&&("block-map"===e.type||"block-seq"===e.type)});function clt(e,t,a,r,n,o){let i="block-map"===a.type?function({composeNode:e,composeEmptyNode:t},a,r,n,o){let i=new(o?.nodeClass??hit)(a.schema);a.atRoot&&=!1;let s=r.offset,l=null;for(let o of r.items){let{start:c,key:u,sep:d,value:p}=o,h=Fst(c,{indicator:"explicit-key-ind",next:u??d?.[0],offset:s,onError:n,parentIndent:r.indent,startOnNewline:!0}),m=!h.found;if(m){if(u&&("block-seq"===u.type?n(s,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==r.indent&&n(s,"BAD_INDENT",tlt)),!h.anchor&&!h.tag&&!d){l=h.end,h.comment&&(i.comment?i.comment+="\n"+h.comment:i.comment=h.comment);continue}(h.newlineAfterProp||Xst(u))&&n(u??c[c.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else h.found?.indent!==r.indent&&n(s,"BAD_INDENT",tlt);a.atKey=!0;let f=h.end,g=u?e(a,u,h,n):t(a,f,c,null,h,n);a.schema.compat&&Yst(r.indent,u,n),a.atKey=!1,Jst(a,i.items,g)&&n(f,"DUPLICATE_KEY","Map keys must be unique");let v=Fst(d??[],{indicator:"map-value-ind",next:p,offset:g.range[2],onError:n,parentIndent:r.indent,startOnNewline:!u||"block-scalar"===u.type});if(s=v.end,v.found){m&&("block-map"===p?.type&&!v.hasNewline&&n(s,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),a.options.strict&&h.start<v.found.offset-1024&&n(g.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let l=p?e(a,p,v,n):t(a,s,d,null,v,n);a.schema.compat&&Yst(r.indent,p,n),s=l.range[2];let c=new oit(g,l);a.options.keepSourceTokens&&(c.srcToken=o),i.items.push(c)}else{m&&n(g.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),v.comment&&(g.comment?g.comment+="\n"+v.comment:g.comment=v.comment);let e=new oit(g);a.options.keepSourceTokens&&(e.srcToken=o),i.items.push(e)}}return l&&l<s&&n(l,"IMPOSSIBLE","Map comment with trailing content"),i.range=[r.offset,s,l??s],i}(e,t,a,r,o):"block-seq"===a.type?function({composeNode:e,composeEmptyNode:t},a,r,n,o){let i=new(o?.nodeClass??bit)(a.schema);a.atRoot&&=!1,a.atKey&&=!1;let s=r.offset,l=null;for(let{start:o,value:c}of r.items){let u=Fst(o,{indicator:"seq-item-ind",next:c,offset:s,onError:n,parentIndent:r.indent,startOnNewline:!0});if(!u.found){if(!(u.anchor||u.tag||c)){l=u.end,u.comment&&(i.comment=u.comment);continue}"block-seq"===c?.type?n(u.end,"BAD_INDENT","All sequence items must start at the same column"):n(s,"MISSING_CHAR","Sequence item without - indicator")}let d=c?e(a,c,u,n):t(a,u.end,o,null,u,n);a.schema.compat&&Yst(r.indent,c,n),s=d.range[2],i.items.push(d)}return i.range=[r.offset,s,l??s],i}(e,t,a,r,o):function({composeNode:e,composeEmptyNode:t},a,r,n,o){let i="{"===r.start.source,s=i?"flow map":"flow sequence",l=new(o?.nodeClass??(i?hit:bit))(a.schema);l.flow=!0;let c=a.atRoot;c&&(a.atRoot=!1),a.atKey&&=!1;let u=r.offset+r.start.source.length;for(let o=0;o<r.items.length;++o){let c=r.items[o],{start:d,key:p,sep:h,value:m}=c,f=Fst(d,{flow:s,indicator:"explicit-key-ind",next:p??h?.[0],offset:u,onError:n,parentIndent:r.indent,startOnNewline:!1});if(!f.found){if(!(f.anchor||f.tag||h||m)){0===o&&f.comma?n(f.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`):o<r.items.length-1&&n(f.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${s}`),f.comment&&(l.comment?l.comment+="\n"+f.comment:l.comment=f.comment),u=f.end;continue}!i&&a.options.strict&&Xst(p)&&n(p,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===o)f.comma&&n(f.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`);else if(f.comma||n(f.start,"MISSING_CHAR",`Missing , between ${s} items`),f.comment){let e="";e:for(let t of d)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break e;default:break e}if(e){let t=l.items[l.items.length-1];Dnt(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,f.comment=f.comment.substring(e.length+1)}}if(i||h||f.found){a.atKey=!0;let o=f.end,g=p?e(a,p,f,n):t(a,o,d,null,f,n);slt(p)&&n(g.range,"BLOCK_IN_FLOW",ilt),a.atKey=!1;let v=Fst(h??[],{flow:s,indicator:"map-value-ind",next:m,offset:g.range[2],onError:n,parentIndent:r.indent,startOnNewline:!1});if(v.found){if(!i&&!f.found&&a.options.strict){if(h)for(let e of h){if(e===v.found)break;if("newline"===e.type){n(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}f.start<v.found.offset-1024&&n(v.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else m&&("source"in m&&":"===m.source?.[0]?n(m,"MISSING_CHAR",`Missing space after : in ${s}`):n(v.start,"MISSING_CHAR",`Missing , or : between ${s} items`));let b=m?e(a,m,v,n):v.found?t(a,v.end,h,null,v,n):null;b?slt(m)&&n(b.range,"BLOCK_IN_FLOW",ilt):v.comment&&(g.comment?g.comment+="\n"+v.comment:g.comment=v.comment);let y=new oit(g,b);if(a.options.keepSourceTokens&&(y.srcToken=c),i){let e=l;Jst(a,e.items,g)&&n(o,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(y)}else{let e=new hit(a.schema);e.flow=!0,e.items.push(y);let t=(b??g).range;e.range=[g.range[0],t[1],t[2]],l.items.push(e)}u=b?b.range[2]:v.end}else{let r=m?e(a,m,f,n):t(a,f.end,h,null,f,n);l.items.push(r),u=r.range[2],slt(m)&&n(r.range,"BLOCK_IN_FLOW",ilt)}}let d=i?"}":"]",[p,...h]=r.end,m=u;if(p?.source===d)m=p.offset+p.source.length;else{let e=s[0].toUpperCase()+s.substring(1);n(u,c?"MISSING_CHAR":"BAD_INDENT",c?`${e} must end with a ${d}`:`${e} in block collection must be sufficiently indented and end with a ${d}`),p&&1!==p.source.length&&h.unshift(p)}if(h.length>0){let e=nlt(h,m,a.options.strict,n);e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),l.range=[r.offset,m,e.offset]}else l.range=[r.offset,m,m];return l}(e,t,a,r,o),s=i.constructor;return"!"===n||n===s.tagName?(i.tag=s.tagName,i):(n&&(i.tag=n),i)}var ult=V(()=>{Unt(),vot(),fit(),kit(),alt(),rlt(),llt()});function dlt(e,t,a){let r=t.offset,n=function({offset:e,props:t},a,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:n}=t[0],o=n[0],i=0,s="",l=-1;for(let t=1;t<n.length;++t){let a=n[t];if(s||"-"!==a&&"+"!==a){let r=Number(a);!i&&r?i=r:-1===l&&(l=e+t)}else s=a}-1!==l&&r(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${n}`);let c=!1,u="",d=n.length;for(let e=1;e<t.length;++e){let n=t[e];switch(n.type){case"space":c=!0;case"newline":d+=n.source.length;break;case"comment":a&&!c&&r(n,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),d+=n.source.length,u=n.source.substring(1);break;case"error":r(n,"UNEXPECTED_TOKEN",n.message),d+=n.source.length;break;default:{r(n,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${n.type}`);let e=n.source;e&&"string"==typeof e&&(d+=e.length)}}}return{mode:o,indent:i,chomp:s,comment:u,length:d}}(t,e.options.strict,a);if(!n)return{value:"",type:null,comment:"",range:[r,r,r]};let o=">"===n.mode?fot.BLOCK_FOLDED:fot.BLOCK_LITERAL,i=t.source?function(e){let t=e.split(/\n( *)/),a=t[0],r=a.match(/^( *)/),n=[r?.[1]?[r[1],a.slice(r[1].length)]:["",a]];for(let e=1;e<t.length;e+=2)n.push([t[e],t[e+1]]);return n}(t.source):[],s=i.length;for(let e=i.length-1;e>=0;--e){let t=i[e][1];if(""!==t&&"\r"!==t)break;s=e}if(0===s){let e="+"===n.chomp&&i.length>0?"\n".repeat(Math.max(1,i.length-1)):"",a=r+n.length;return t.source&&(a+=t.source.length),{value:e,type:o,comment:n.comment,range:[r,a,a]}}let l=t.indent+n.indent,c=t.offset+n.length,u=0;for(let t=0;t<s;++t){let[r,o]=i[t];if(""!==o&&"\r"!==o){r.length<l&&a(c+r.length,"MISSING_CHAR","Block scalars with more-indented leading empty lines must use an explicit indentation indicator"),0===n.indent&&(l=r.length),u=t,0===l&&!e.atRoot&&a(c,"BAD_INDENT","Block scalar values in collections must be indented");break}0===n.indent&&r.length>l&&(l=r.length),c+=r.length+o.length+1}for(let e=i.length-1;e>=s;--e)i[e][0].length>l&&(s=e+1);let d="",p="",h=!1;for(let e=0;e<u;++e)d+=i[e][0].slice(l)+"\n";for(let e=u;e<s;++e){let[t,r]=i[e];c+=t.length+r.length+1;let s="\r"===r[r.length-1];if(s&&(r=r.slice(0,-1)),r&&t.length<l){let e="Block scalar lines must not be less indented than their "+(n.indent?"explicit indentation indicator":"first line");a(c-r.length-(s?2:1),"BAD_INDENT",e),t=""}o===fot.BLOCK_LITERAL?(d+=p+t.slice(l)+r,p="\n"):t.length>l||"\t"===r[0]?(" "===p?p="\n":!h&&"\n"===p&&(p="\n\n"),d+=p+t.slice(l)+r,p="\n",h=!0):""===r?"\n"===p?d+="\n":p="\n":(d+=p+r,p=" ",h=!1)}switch(n.chomp){case"-":break;case"+":for(let e=s;e<i.length;++e)d+="\n"+i[e][0].slice(l);"\n"!==d[d.length-1]&&(d+="\n");break;default:d+="\n"}let m=r+n.length+t.source.length;return{value:d,type:o,comment:n.comment,range:[r,m,m]}}var plt=V(()=>{vot()});function hlt(e,t,a){let r,n,{offset:o,type:i,source:s,end:l}=e,c=(e,t,r)=>a(o+e,t,r);switch(i){case"scalar":r=fot.PLAIN,n=function(e,t){let a="";switch(e[0]){case"\t":a="a tab character";break;case",":a="flow indicator character ,";break;case"%":a="directive indicator character %";break;case"|":case">":a=`block scalar indicator ${e[0]}`;break;case"@":case"`":a=`reserved character ${e[0]}`}return a&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${a}`),mlt(e)}(s,c);break;case"single-quoted-scalar":r=fot.QUOTE_SINGLE,n=function(e,t){return("'"!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),mlt(e.slice(1,-1)).replace(/''/g,"'")}(s,c);break;case"double-quoted-scalar":r=fot.QUOTE_DOUBLE,n=function(e,t){let a="";for(let r=1;r<e.length-1;++r){let n=e[r];if("\r"!==n||"\n"!==e[r+1])if("\n"===n){let{fold:t,offset:n}=flt(e,r);a+=t,r=n}else if("\\"===n){let n=e[++r],o=vlt[n];if(o)a+=o;else if("\n"===n)for(n=e[r+1];" "===n||"\t"===n;)n=e[1+ ++r];else if("\r"===n&&"\n"===e[r+1])for(n=e[1+ ++r];" "===n||"\t"===n;)n=e[1+ ++r];else if("x"===n||"u"===n||"U"===n){let o={x:2,u:4,U:8}[n];a+=glt(e,r+1,o,t),r+=o}else{let n=e.substr(r-1,2);t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${n}`),a+=n}}else if(" "===n||"\t"===n){let t=r,o=e[r+1];for(;" "===o||"\t"===o;)o=e[1+ ++r];"\n"!==o&&("\r"!==o||"\n"!==e[r+2])&&(a+=r>t?e.slice(t,r+1):n)}else a+=n}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),a}(s,c);break;default:return a(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${i}`),{value:"",type:null,comment:"",range:[o,o+s.length,o+s.length]}}let u=o+s.length,d=nlt(l,u,t,a);return{value:n,type:r,comment:d.comment,range:[o,u,d.offset]}}function mlt(e){let t,a;try{t=RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),a=RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,a=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e);if(!r)return e;let n=r[1],o=" ",i=t.lastIndex;for(a.lastIndex=i;r=a.exec(e);)""===r[1]?"\n"===o?n+=o:o="\n":(n+=o+r[1],o=" "),i=a.lastIndex;let s=/[ \t]*(.*)/sy;return s.lastIndex=i,r=s.exec(e),n+o+(r?.[1]??"")}function flt(e,t){let a="",r=e[t+1];for(;!(" "!==r&&"\t"!==r&&"\n"!==r&&"\r"!==r||"\r"===r&&"\n"!==e[t+2]);)"\n"===r&&(a+="\n"),r=e[(t+=1)+1];return a||=" ",{fold:a,offset:t}}function glt(e,t,a,r){let n=e.substr(t,a),o=n.length===a&&/^[0-9a-fA-F]+$/.test(n)?parseInt(n,16):NaN;if(isNaN(o)){let n=e.substr(t-2,a+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${n}`),n}return String.fromCodePoint(o)}var vlt,blt=V(()=>{vot(),olt(),vlt={0:"\0",a:"",b:"\b",e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"}});function ylt(e,t,a,r){let n,o,{value:i,type:s,comment:l,range:c}="block-scalar"===t.type?dlt(e,t,r):hlt(t,e.options.strict,r),u=a?e.directives.tagName(a.source,e=>r(a,"TAG_RESOLVE_FAILED",e)):null;n=e.options.stringKeys&&e.atKey?e.schema[Pnt]:u?function(e,t,a,r,n){if("!"===a)return e[Pnt];let o=[];for(let t of e.tags)if(!t.collection&&t.tag===a){if(!t.default||!t.test)return t;o.push(t)}for(let e of o)if(e.test?.test(t))return e;let i=e.knownTags[a];return i&&!i.collection?(e.tags.push(Object.assign({},i,{default:!1,test:void 0})),i):(n(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${a}`,"tag:yaml.org,2002:str"!==a),e[Pnt])}(e.schema,i,u,a,r):"scalar"===t.type?function({atKey:e,directives:t,schema:a},r,n,o){let i=a.tags.find(t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(r))||a[Pnt];if(a.compat){let e=a.compat.find(e=>e.default&&e.test?.test(r))??a[Pnt];i.tag!==e.tag&&o(n,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${t.tagString(i.tag)} or ${t.tagString(e.tag)}`,!0)}return i}(e,i,t,r):e.schema[Pnt];try{let s=n.resolve(i,e=>r(a??t,"TAG_RESOLVE_FAILED",e),e.options);o=Lnt(s)?s:new fot(s)}catch(e){let n=e instanceof Error?e.message:String(e);r(a??t,"TAG_RESOLVE_FAILED",n),o=new fot(i)}return o.range=c,o.source=i,s&&(o.type=s),u&&(o.tag=u),n.format&&(o.format=n.format),l&&(o.comment=l),o}var Olt=V(()=>{Unt(),vot(),plt(),blt()});function xlt(e,t,a){if(t){a??=t.length;for(let r=a-1;r>=0;--r){let a=t[r];switch(a.type){case"space":case"comment":case"newline":e-=a.source.length;continue}for(a=t[++r];"space"===a?.type;)e+=a.source.length,a=t[++r];break}}return e}var wlt=V(()=>{});function klt(e,t,a,r){let n,o=e.atKey,{spaceBefore:i,comment:s,anchor:l,tag:c}=a,u=!0;switch(t.type){case"alias":n=function({options:e},{offset:t,source:a,end:r},n){let o=new hot(a.substring(1));""===o.source&&n(t,"BAD_ALIAS","Alias cannot be an empty string"),o.source.endsWith(":")&&n(t+a.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let i=t+a.length,s=nlt(r,i,e.strict,n);return o.range=[t,i,s.offset],s.comment&&(o.comment=s.comment),o}(e,t,r),(l||c)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":n=ylt(e,t,c,r),l&&(n.anchor=l.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{n=function(e,t,a,r,n){let o=r.tag,i=o?t.directives.tagName(o.source,e=>n(o,"TAG_RESOLVE_FAILED",e)):null;if("block-seq"===a.type){let{anchor:e,newlineAfterProp:t}=r,a=e&&o?e.offset>o.offset?e:o:e??o;a&&(!t||t.offset<a.offset)&&n(a,"MISSING_CHAR","Missing newline after block sequence props")}let s="block-map"===a.type?"map":"block-seq"===a.type?"seq":"{"===a.start.source?"map":"seq";if(!o||!i||"!"===i||i===hit.tagName&&"map"===s||i===bit.tagName&&"seq"===s)return clt(e,t,a,n,i);let l=t.schema.tags.find(e=>e.tag===i&&e.collection===s);if(!l){let r=t.schema.knownTags[i];if(r?.collection!==s)return r?n(o,"BAD_COLLECTION_TYPE",`${r.tag} used for ${s} collection, but expects ${r.collection??"scalar"}`,!0):n(o,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),clt(e,t,a,n,i);t.schema.tags.push(Object.assign({},r,{default:!1})),l=r}let c=clt(e,t,a,n,i,l),u=l.resolve?.(c,e=>n(o,"TAG_RESOLVE_FAILED",e),t.options)??c,d=Ant(u)?u:new fot(u);return d.range=c.range,d.tag=i,l?.format&&(d.format=l.format),d}(Alt,e,t,a,r),l&&(n.anchor=l.source.substring(1))}catch(e){r(t,"RESOURCE_EXHAUSTION",e instanceof Error?e.message:String(e))}break;default:r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),u=!1}return n??=Slt(e,t.offset,void 0,null,a,r),l&&""===n.anchor&&r(l,"BAD_ALIAS","Anchor cannot be an empty string"),o&&e.options.stringKeys&&(!Lnt(n)||"string"!=typeof n.value||n.tag&&"tag:yaml.org,2002:str"!==n.tag)&&r(c??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),i&&(n.spaceBefore=!0),s&&("scalar"===t.type&&""===t.source?n.comment=s:n.commentBefore=s),e.options.keepSourceTokens&&u&&(n.srcToken=t),n}function Slt(e,t,a,r,{spaceBefore:n,comment:o,anchor:i,tag:s,end:l},c){let u=ylt(e,{type:"scalar",offset:xlt(t,a,r),indent:-1,source:""},s,c);return i&&(u.anchor=i.source.substring(1),""===u.anchor&&c(i,"BAD_ALIAS","Anchor cannot be an empty string")),n&&(u.spaceBefore=!0),o&&(u.comment=o,u.range[2]=l),u}var Alt,_lt=V(()=>{got(),Unt(),ult(),Olt(),olt(),wlt(),Alt={composeNode:klt,composeEmptyNode:Slt}});var Tlt=V(()=>{Qst(),_lt(),olt(),Wst()});function Elt(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:a}=e;return[t,t+("string"==typeof a?a.length:1)]}function Clt(e){let t="",a=!1,r=!1;for(let n=0;n<e.length;++n){let o=e[n];switch(o[0]){case"#":t+=(""===t?"":r?"\n\n":"\n")+(o.substring(1)||" "),a=!0,r=!1;break;case"%":"#"!==e[n+1]?.[0]&&(n+=1),a=!1;break;default:a||(r=!0),a=!1}}return{comment:t,afterEmptyLine:r}}var Plt,Mlt=V(()=>{tot(),Qst(),qst(),Unt(),Tlt(),olt(),Plt=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,a,r)=>{let n=Elt(e);r?this.warnings.push(new Zst(n,t,a)):this.errors.push(new Hst(n,t,a))},this.directives=new Jnt({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:a,afterEmptyLine:r}=Clt(this.prelude);if(a){let n=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${a}`:a;else if(r||e.directives.docStart||!n)e.commentBefore=a;else if(Snt(n)&&!n.flow&&n.items.length>0){let e=n.items[0];Dnt(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${a}\n${t}`:a}else{let e=n.commentBefore;n.commentBefore=e?`${a}\n${e}`:a}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Clt(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,a=-1){for(let t of e)yield*this.next(t);yield*this.end(t,a)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,a,r)=>{let n=Elt(e);n[0]+=t,this.onError(n,"BAD_DIRECTIVE",a,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=function(e,t,{offset:a,start:r,value:n,end:o},i){let s=new Ust(void 0,Object.assign({_directives:t},e)),l={atKey:!1,atRoot:!0,directives:s.directives,options:s.options,schema:s.schema},c=Fst(r,{indicator:"doc-start",next:n??o?.[0],offset:a,onError:i,parentIndent:0,startOnNewline:!0});c.found&&(s.directives.docStart=!0,n&&("block-map"===n.type||"block-seq"===n.type)&&!c.hasNewline&&i(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),s.contents=n?klt(l,n,c,i):Slt(l,c.end,r,null,c,i);let u=s.contents.range[2],d=nlt(o,u,!1,i);return d.comment&&(s.comment=d.comment),s.range=[a,u,d.offset],s}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,a=new Hst(Elt(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(a):this.doc.errors.push(a);break}case"doc-end":{if(!this.doc){this.errors.push(new Hst(Elt(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=nlt(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new Hst(Elt(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=new Ust(void 0,Object.assign({_directives:this.directives},this.options));this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),e.range=[0,t,t],this.decorate(e,!1),yield e}}}});function $lt(e,t=!0,a){if(e){let r=(e,t,r)=>{let n="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!a)throw new Hst([n,n+1],t,r);a(n,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return hlt(e,t,r);case"block-scalar":return dlt({options:{strict:t}},e,r)}}return null}function Nlt(e,t){let{implicitKey:a=!1,indent:r,inFlow:n=!1,offset:o=-1,type:i="PLAIN"}=t,s=jot({type:i,value:e},{implicitKey:a,indent:r>0?" ".repeat(r):"",inFlow:n,options:{blockQuote:!0,lineWidth:-1}}),l=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(s[0]){case"|":case">":{let e=s.indexOf("\n"),t=s.substring(0,e),a=s.substring(e+1)+"\n",n=[{type:"block-scalar-header",offset:o,indent:r,source:t}];return Rlt(n,l)||n.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:o,indent:r,props:n,source:a}}case'"':return{type:"double-quoted-scalar",offset:o,indent:r,source:s,end:l};case"'":return{type:"single-quoted-scalar",offset:o,indent:r,source:s,end:l};default:return{type:"scalar",offset:o,indent:r,source:s,end:l}}}function Ilt(e,t,a={}){let{afterKey:r=!1,implicitKey:n=!1,inFlow:o=!1,type:i}=a,s="indent"in e?e.indent:null;if(r&&"number"==typeof s&&(s+=2),!i)switch(e.type){case"single-quoted-scalar":i="QUOTE_SINGLE";break;case"double-quoted-scalar":i="QUOTE_DOUBLE";break;case"block-scalar":{let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");i=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:i="PLAIN"}let l=jot({type:i,value:t},{implicitKey:n||null===s,indent:null!==s&&s>0?" ".repeat(s):"",inFlow:o,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":!function(e,t){let a=t.indexOf("\n"),r=t.substring(0,a),n=t.substring(a+1)+"\n";if("block-scalar"===e.type){let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");t.source=r,e.source=n}else{let{offset:t}=e,a="indent"in e?e.indent:-1,o=[{type:"block-scalar-header",offset:t,indent:a,source:r}];Rlt(o,"end"in e?e.end:void 0)||o.push({type:"newline",offset:-1,indent:a,source:"\n"});for(let t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:a,props:o,source:n})}}(e,l);break;case'"':Dlt(e,l,"double-quoted-scalar");break;case"'":Dlt(e,l,"single-quoted-scalar");break;default:Dlt(e,l,"scalar")}}function Rlt(e,t){if(t)for(let a of t)switch(a.type){case"space":case"comment":e.push(a);break;case"newline":return e.push(a),!0}return!1}function Dlt(e,t,a){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=a,e.source=t;break;case"block-scalar":{let r=e.props.slice(1),n=t.length;"block-scalar-header"===e.props[0].type&&(n-=e.props[0].source.length);for(let e of r)e.offset+=n;delete e.props,Object.assign(e,{type:a,source:t,end:r});break}case"block-map":case"block-seq":{let r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:a,source:t,end:[r]});break}default:{let r="indent"in e?e.indent:-1,n="end"in e&&Array.isArray(e.end)?e.end.filter(e=>"space"===e.type||"comment"===e.type||"newline"===e.type):[];for(let t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:a,indent:r,source:t,end:n})}}}var Llt=V(()=>{plt(),blt(),qst(),Zot()});function Blt(e){switch(e.type){case"block-scalar":{let t="";for(let a of e.props)t+=Blt(a);return t+e.source}case"block-map":case"block-seq":{let t="";for(let a of e.items)t+=jlt(a);return t}case"flow-collection":{let t=e.start.source;for(let a of e.items)t+=jlt(a);for(let a of e.end)t+=a.source;return t}case"document":{let t=jlt(e);if(e.end)for(let a of e.end)t+=a.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let a of e.end)t+=a.source;return t}}}function jlt({start:e,key:t,sep:a,value:r}){let n="";for(let t of e)n+=t.source;if(t&&(n+=Blt(t)),a)for(let e of a)n+=e.source;return r&&(n+=Blt(r)),n}var Ult,zlt=V(()=>{Ult=e=>"type"in e?Blt(e):jlt(e)});function Hlt(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),Zlt(Object.freeze([]),e,t)}function Zlt(e,t,a){let r=a(t,e);if("symbol"==typeof r)return r;for(let n of["key","value"]){let o=t[n];if(o&&"items"in o){for(let t=0;t<o.items.length;++t){let r=Zlt(Object.freeze(e.concat([[n,t]])),o.items[t],a);if("number"==typeof r)t=r-1;else{if(r===Vlt)return Vlt;r===qlt&&(o.items.splice(t,1),--t)}}"function"==typeof r&&"key"===n&&(r=r(t,e))}}return"function"==typeof r?r(t,e):r}var Vlt,Qlt,qlt,Flt=V(()=>{Vlt=Symbol("break visit"),Qlt=Symbol("skip children"),qlt=Symbol("remove item"),Hlt.BREAK=Vlt,Hlt.SKIP=Qlt,Hlt.REMOVE=qlt,Hlt.itemAtPath=(e,t)=>{let a=e;for(let[e,r]of t){let t=a?.[e];if(!t||!("items"in t))return;a=t.items[r]}return a},Hlt.parentCollection=(e,t)=>{let a=Hlt.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],n=a?.[r];if(n&&"items"in n)return n;throw Error("Parent collection not found")}}),Wlt=Q({BOM:()=>"\ufeff",DOCUMENT:()=>"",FLOW_END:()=>"",SCALAR:()=>"",createScalarToken:()=>Nlt,isCollection:()=>Ylt,isScalar:()=>Klt,prettyToken:()=>Xlt,resolveAsScalar:()=>$lt,setScalarValue:()=>Ilt,stringify:()=>Ult,tokenType:()=>Glt,visit:()=>Hlt});function Xlt(e){switch(e){case"\ufeff":return"<BOM>";case"":return"<DOC>";case"":return"<FLOW_END>";case"":return"<SCALAR>";default:return JSON.stringify(e)}}function Glt(e){switch(e){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}var Ylt,Klt,Jlt=V(()=>{Llt(),zlt(),Flt(),Ylt=e=>!!e&&"items"in e,Klt=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type)});function ect(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}var tct,act,rct,nct,oct,ict,sct,lct=V(()=>{Jlt(),tct=new Set("0123456789ABCDEFabcdef"),act=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),rct=new Set(",[]{}"),nct=new Set(" ,[]{}\n\r\t"),oct=e=>!e||nct.has(e),ict=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let a=this.next??"stream";for(;a&&(t||this.hasChars(1));)a=yield*this.parseNext(a)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let a=0;for(;" "===t;)t=this.buffer[++a+e];if("\r"===t){let t=this.buffer[a+e+1];if("\n"===t||!t&&!this.atEnd)return e+a+1}return"\n"===t||a>=this.indentNext||!t&&!this.atEnd?e+a:-1}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&ect(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&--e,this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if("\ufeff"===e[0]&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,a=e.indexOf("#");for(;-1!==a;){let r=e[a-1];if(" "===r||"\t"===r){t=a-1;break}a=e.indexOf("#",a+1)}for(;;){let a=e[t-1];if(" "!==a&&"\t"!==a)break;--t}let r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-r),this.pushNewline(),"stream"}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield"",yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let e=this.peek(3);if(("---"===e||"..."===e)&&ect(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===e?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!ect(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&ect(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(oct),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,a=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=a=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);let r=this.getLine();if(null===r)return this.setNext("flow");if((-1!==a&&a<this.indentNext&&"#"!==r[0]||0===a&&(r.startsWith("---")||r.startsWith("..."))&&ect(r[3]))&&(a!==this.indentNext-1||1!==this.flowLevel||"]"!==r[0]&&"}"!==r[0]))return this.flowLevel=0,yield"",yield*this.parseLineStart();let n=0;for(;","===r[n];)n+=(yield*this.pushCount(1)),n+=(yield*this.pushSpaces(!0)),this.flowKey=!1;switch(n+=(yield*this.pushIndicators()),r[n]){case void 0:return"flow";case"#":return yield*this.pushCount(r.length-n),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,--this.flowLevel,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(oct),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let e=this.charAt(1);if(this.flowKey||ect(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}let a=this.buffer.substring(0,t),r=a.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){let e=this.continueScalar(r+1);if(-1===e)break;r=a.indexOf("\n",e)}-1!==r&&(t=r-("\r"===a[r-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil(e=>ect(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,a=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":a+=1;break;case"\n":t=r,a=0;break;case"\r":{let e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(a>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=a:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let r=t+1;for(e=this.buffer[r];" "===e;)e=this.buffer[++r];if("\t"===e){for(;"\t"===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++r];t=r-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);let n=e;for(;" "===r;)r=this.buffer[--e];if(!("\n"===r&&e>=this.pos&&e+1+a>n))break;t=e}return yield"",yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e,t=this.flowLevel>0,a=this.pos-1,r=this.pos-1;for(;e=this.buffer[++r];)if(":"===e){let e=this.buffer[r+1];if(ect(e)||t&&rct.has(e))break;a=r}else if(ect(e)){let n=this.buffer[r+1];if("\r"===e&&("\n"===n?(r+=1,e="\n",n=this.buffer[r+1]):a=r),"#"===n||t&&rct.has(n))break;if("\n"===e){let e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(t&&rct.has(e))break;a=r}return e||this.atEnd?(yield"",yield*this.pushToIndex(a+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let a=this.buffer.slice(this.pos,e);return a?(yield a,this.pos+=a.length,a.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(oct))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,t=this.charAt(1);if(ect(t)||e&&rct.has(t))return e?this.flowKey&&=!1:this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!ect(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(act.has(t))t=this.buffer[++e];else{if("%"!==t||!tct.has(this.buffer[e+1])||!tct.has(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,a=this.pos-1;do{t=this.buffer[++a]}while(" "===t||e&&"\t"===t);let r=a-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=a),r}*pushUntil(e){let t=this.pos,a=this.buffer[t];for(;!e(a);)a=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}}),cct=V(()=>{sct=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,a=this.lineStarts.length;for(;t<a;){let r=t+a>>1;this.lineStarts[r]<e?t=r+1:a=r}return this.lineStarts[t]===e?{line:t+1,col:1}:0===t?{line:0,col:e}:{line:t,col:e-this.lineStarts[t-1]+1}}}}});function uct(e,t){for(let a=0;a<e.length;++a)if(e[a].type===t)return!0;return!1}function dct(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return-1}function pct(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function hct(e){switch(e.type){case"document":return e.start;case"block-map":{let t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function mct(e){if(0===e.length)return[];let t=e.length;e:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function fct(e){if("flow-seq-start"===e.start.type)for(let t of e.items)t.sep&&!t.value&&!uct(t.start,"explicit-key-ind")&&!uct(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,pct(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}var gct,vct=V(()=>{Jlt(),lct(),gct=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new ict,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(let a of this.lexer.lex(e,t))yield*this.next(a);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);let t=Glt(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if("doc-end"!==this.type||"doc-end"===e?.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&fct(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let a=e.items[e.items.length-1];if(a.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!a.sep)return Object.assign(a,{key:t,sep:[]}),void(this.onKeyLine=!a.explicitKey);a.value=t;break}case"block-seq":{let a=e.items[e.items.length-1];a.value?e.items.push({start:[],value:t}):a.value=t;break}case"flow-collection":{let a=e.items[e.items.length-1];return void(!a||a.value?e.items.push({start:[],key:t,sep:[]}):a.sep?a.value=t:Object.assign(a,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){let a=t.items[t.items.length-1];a&&!a.sep&&!a.value&&a.start.length>0&&-1===dct(a.start)&&(0===t.indent||a.start.every(e=>"comment"!==e.type||e.indent<t.indent))&&("document"===e.type?e.end=a.start:e.items.push({start:a.start}),t.items.splice(-1,1))}}else yield{type:"error",offset:this.offset,source:"",message:"Tried to pop an empty stack"}}*stream(){switch(this.type){case"directive-line":return void(yield{type:"directive",offset:this.offset,source:this.source});case"byte-order-mark":case"space":case"comment":case"newline":return void(yield this.sourceToken);case"doc-mode":case"doc-start":{let e={type:"document",offset:this.offset,start:[]};return"doc-start"===this.type&&e.start.push(this.sourceToken),void this.stack.push(e)}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":return void(-1===dct(e.start)?e.start.push(this.sourceToken):(yield*this.pop(),yield*this.step()));case"anchor":case"tag":case"space":case"comment":case"newline":return void e.start.push(this.sourceToken)}let t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){let t,a=mct(hct(this.peek(2)));e.end?(t=e.end,t.push(this.sourceToken),delete e.end):t=[this.sourceToken];let r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:a,key:e,sep:t}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":return void e.props.push(this.sourceToken);case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){let a="end"in t.value?t.value.end:void 0;"comment"===(Array.isArray(a)?a[a.length-1]:void 0)?.type?a?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let a=e.items[e.items.length-2]?.value?.end;if(Array.isArray(a))return Array.prototype.push.apply(a,t.start),a.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let a=!this.onKeyLine&&this.indent===e.indent,r=a&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type,n=[];if(r&&t.sep&&!t.value){let a=[];for(let r=0;r<t.sep.length;++r){let n=t.sep[r];switch(n.type){case"newline":a.push(r);break;case"space":break;case"comment":n.indent>e.indent&&(a.length=0);break;default:a.length=0}}a.length>=2&&(n=t.sep.splice(a[1]))}switch(this.type){case"anchor":case"tag":return void(r||t.value?(n.push(this.sourceToken),e.items.push({start:n}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||t.explicitKey?r||t.value?(n.push(this.sourceToken),e.items.push({start:n,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),void(this.onKeyLine=!0);case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(uct(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]});else if(pct(t.key)&&!uct(t.sep,"newline")){let e=mct(t.start),a=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:a,sep:r}]})}else n.length>0?t.sep=t.sep.concat(n,this.sourceToken):t.sep.push(this.sourceToken);else if(uct(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=mct(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||r?e.items.push({start:n,key:null,sep:[this.sourceToken]}):uct(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let a=this.flowScalar(this.type);return void(r||t.value?(e.items.push({start:n,key:a,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(a):(Object.assign(t,{key:a,sep:[]}),this.onKeyLine=!0))}default:{let r=this.startBlockValue(e);if(r){if("block-seq"===r.type){if(!t.explicitKey&&t.sep&&!uct(t.sep,"newline"))return void(yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source}))}else a&&e.items.push({start:n});return void this.stack.push(r)}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let a="end"in t.value?t.value.end:void 0;"comment"===(Array.isArray(a)?a[a.length-1]:void 0)?.type?a?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let a=e.items[e.items.length-2]?.value?.end;if(Array.isArray(a))return Array.prototype.push.apply(a,t.start),a.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||uct(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while("flow-collection"===e?.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let a=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:a,sep:[]}):t.sep?this.stack.push(a):Object.assign(t,{key:a,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}let a=this.startBlockValue(e);a?this.stack.push(a):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){let a=mct(hct(t));fct(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let n={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:a,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=n}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=mct(hct(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=mct(hct(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return!("comment"!==this.type||this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}});function bct(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new sct||null,prettyErrors:t}}function yct(e,t={}){let{lineCounter:a,prettyErrors:r}=bct(t),n=new gct(a?.addNewLine),o=new Plt(t),i=Array.from(o.compose(n.parse(e)));if(r&&a)for(let t of i)t.errors.forEach(Vst(e,a)),t.warnings.forEach(Vst(e,a));return i.length>0?i:Object.assign([],{empty:!0},o.streamInfo())}function Oct(e,t={}){let{lineCounter:a,prettyErrors:r}=bct(t),n=new gct(a?.addNewLine),o=new Plt(t),i=null;for(let t of o.compose(n.parse(e),!0,e.length))if(i){if("silent"!==i.options.logLevel){i.errors.push(new Hst(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else i=t;return r&&a&&(i.errors.forEach(Vst(e,a)),i.warnings.forEach(Vst(e,a))),i}function xct(e,t,a){let r;"function"==typeof t?r=t:void 0===a&&t&&"object"==typeof t&&(a=t);let n=Oct(e,a);if(!n)return null;if(n.warnings.forEach(e=>Wot(n.options.logLevel,e)),n.errors.length>0){if("silent"!==n.options.logLevel)throw n.errors[0];n.errors=[]}return n.toJS(Object.assign({reviver:r},a))}function wct(e,t,a){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===a&&t&&(a=t),"string"==typeof a&&(a=a.length),"number"==typeof a){let e=Math.round(a);a=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){let{keepUndefined:e}=a??t??{};if(!e)return}return Int(e)&&!r?e.toString(a):new Ust(e,r,a).toString(a)}var kct,Sct=V(()=>{Mlt(),Qst(),qst(),Xot(),Unt(),cct(),vct()}),Act=Q({Alias:()=>hot,CST:()=>Wlt,Composer:()=>Plt,Document:()=>Ust,Lexer:()=>ict,LineCounter:()=>sct,Pair:()=>oit,Parser:()=>gct,Scalar:()=>fot,Schema:()=>Rst,YAMLError:()=>zst,YAMLMap:()=>hit,YAMLParseError:()=>Hst,YAMLSeq:()=>bit,YAMLWarning:()=>Zst,isAlias:()=>Nnt,isCollection:()=>Snt,isDocument:()=>Int,isMap:()=>Rnt,isNode:()=>Ant,isPair:()=>Dnt,isScalar:()=>Lnt,isSeq:()=>Bnt,parse:()=>xct,parseAllDocuments:()=>yct,parseDocument:()=>Oct,stringify:()=>wct,visit:()=>znt,visitAsync:()=>Znt}),_ct=V(()=>{Mlt(),Qst(),Lst(),qst(),got(),Unt(),iit(),vot(),fit(),kit(),Jlt(),lct(),cct(),vct(),Sct(),eot()}),Tct=Q({Alias:()=>hot,CST:()=>Wlt,Composer:()=>Plt,Document:()=>Ust,Lexer:()=>ict,LineCounter:()=>sct,Pair:()=>oit,Parser:()=>gct,Scalar:()=>fot,Schema:()=>Rst,YAMLError:()=>zst,YAMLMap:()=>hit,YAMLParseError:()=>Hst,YAMLSeq:()=>bit,YAMLWarning:()=>Zst,default:()=>kct,isAlias:()=>Nnt,isCollection:()=>Snt,isDocument:()=>Int,isMap:()=>Rnt,isNode:()=>Ant,isPair:()=>Dnt,isScalar:()=>Lnt,isSeq:()=>Bnt,parse:()=>xct,parseAllDocuments:()=>yct,parseDocument:()=>Oct,stringify:()=>wct,visit:()=>znt,visitAsync:()=>Znt}),Ect=V(()=>{_ct(),_ct(),kct=Act});var Cct,Pct,Mct,$ct,Nct,Ict,Rct,Dct,Lct,Bct,jct,Uct,zct,Hct,Zct,Vct,Qct,qct,Fct,Wct,Xct,Gct,Yct,Kct,Jct,eut,tut,aut,rut,nut,out,iut=V(()=>{Ect(),Cct={parse:e=>{let t=xct(e,{merge:!0,maxAliasCount:1e4});if("object"!=typeof t)throw Error("Invalid YAML object");return t},parseSafe(e,t){try{return Cct.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:wct},Pct={parse:e=>{let t=JSON.parse(e);if("object"!=typeof t)throw Error("Invalid JSON object");return t},parseSafe(e,t){try{return Pct.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:e=>JSON.stringify(e)},Mct=e=>{if("string"!=typeof e)return e;let t=Pct.parseSafe(e,null);if(t)return t;if(e.length>0&&["{","["].includes(e[0]??""))throw Error("Invalid JSON or YAML");return Cct.parseSafe(e,e=>{throw Error(e)})}}),sut=V(()=>{knt(),iut()}),lut=V(()=>{Rc(),ZS(),$ct={key:0,class:"shrink-0 whitespace-nowrap text-xs tabular-nums text-c-3"},Nct=["disabled"],Ict=["disabled"],Rct=Pn({__name:"ScalarVirtualTextSearch",props:{query:{},matchCount:{},activeMatchIndex:{}},emits:["update:query","next","prev","close"],setup(e,{expose:t,emit:a}){let r=e,n=a,o=Za(null),i=Za(r.query);fn(()=>r.query,e=>{i.value=e}),fn(i,e=>{n("update:query",e)});let s=e=>{"Enter"===e.key&&(e.preventDefault(),e.shiftKey?n("prev"):n("next")),"Escape"===e.key&&(e.preventDefault(),n("close"))};return t({focus:()=>{en(()=>o.value?.focus())}}),(t,a)=>(Zo(),qo("div",{class:"scalar-virtual-text-search ml-auto mr-2 mt-2 flex h-fit w-fit items-center gap-1 overflow-visible rounded-lg bg-b-2 px-2 py-1 shadow-md",onClick:a[4]||=Ac(()=>{},["stop"])},[qs(Fa(jy),{class:"pointer-events-none size-3.5 shrink-0 text-c-3"}),un(Go("input",{ref_key:"searchInputRef",ref:o,"onUpdate:modelValue":a[0]||=e=>i.value=e,"aria-label":"Search in text",autocomplete:"off",class:"scalar-virtual-text-search-input min-w-0 w-36 appearance-none border-none bg-transparent px-1 py-0.5 text-xs text-c-1 outline-none",placeholder:"Find...",spellcheck:"false",type:"search",onKeydown:s},null,544),[[bc,i.value]]),i.value?(Zo(),qo("span",$ct,Kt(e.matchCount>0?`${e.activeMatchIndex+1} of ${e.matchCount}`:"No results"),1)):ai("",!0),a[5]||=Go("span",{class:"mx-0.5 h-3.5 w-px bg-b-3"},null,-1),Go("button",{"aria-label":"Previous match",class:"flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1 disabled:pointer-events-none disabled:opacity-30",disabled:0===e.matchCount,title:"Previous match (Shift+Enter)",type:"button",onClick:a[1]||=e=>n("prev")},[qs(Fa(tg),{class:"size-3"})],8,Nct),Go("button",{"aria-label":"Next match",class:"flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1 disabled:pointer-events-none disabled:opacity-30",disabled:0===e.matchCount,title:"Next match (Enter)",type:"button",onClick:a[2]||=e=>n("next")},[qs(Fa(jf),{class:"size-3"})],8,Ict),Go("button",{"aria-label":"Close search",class:"flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1",title:"Close (Escape)",type:"button",onClick:a[3]||=e=>n("close")},[qs(Fa(Cw),{class:"size-3"})])]))}})}),cut=V(()=>{U6(),lut(),Dct=P6(Rct,[["__scopeId","data-v-95edadbb"]])}),uut=V(()=>{cut(),Rc(),Lct={key:0,class:"sticky top-0 z-10 flex h-0 w-full justify-end overflow-visible"},Bct=Pn({__name:"ScalarVirtualText",props:{text:{},lineHeight:{default:20},containerClass:{default:""},contentClass:{default:""},lineClass:{default:""},searchable:{type:Boolean,default:!1}},setup(e){let t=e,a=Za(null),r=Za(null),n=Za(0),o=Za(0),i=Za(""),s=Za(!1),l=Za(0),c=ol(()=>t.text.split("\n")),u=ol(()=>c.value.length*t.lineHeight),d=ol(()=>Math.floor(n.value/t.lineHeight)),p=ol(()=>Math.min(Math.ceil((n.value+o.value)/t.lineHeight),c.value.length)),h=ol(()=>Math.max(0,d.value-10)),m=ol(()=>{let e=Math.min(c.value.length,p.value+10);return c.value.slice(h.value,e)}),f=ol(()=>h.value*t.lineHeight),g=ol(()=>{let e=i.value;if(!e)return[];let t=e.toLowerCase(),a=[];for(let r=0;r<c.value.length;r++){let n=c.value[r];if(!n)continue;let o=n.toLowerCase(),i=0;for(;i<o.length;){let n=o.indexOf(t,i);if(-1===n)break;a.push({line:r,start:n,end:n+e.length}),i=n+t.length}}return a}),v=ol(()=>{let e=new Set;for(let t of g.value)e.add(t.line);return e});fn(()=>g.value.length,e=>{0===e?l.value=0:l.value>=e&&(l.value=e-1)});let b=e=>{if(!a.value)return;let r=e.line*t.lineHeight,n=a.value.scrollTop,o=n+a.value.clientHeight;(r<n||r+t.lineHeight>o)&&(a.value.scrollTop=r-a.value.clientHeight/2)},y=e=>{let t=g.value[e];t&&(l.value=e,b(t))},O=()=>{0!==g.value.length&&y((l.value+1)%g.value.length)},x=()=>{0!==g.value.length&&y((l.value-1+g.value.length)%g.value.length)},w=()=>{s.value=!1,i.value="",l.value=0},k=e=>{t.searchable&&((e.metaKey||e.ctrlKey)&&"f"===e.key&&(e.preventDefault(),e.stopPropagation(),s.value=!0,en(()=>r.value?.focus())),"Escape"===e.key&&s.value&&(e.preventDefault(),w()))};fn(i,()=>{l.value=0;let e=g.value[0];e&&b(e)});let S=()=>a.value&&(n.value=a.value.scrollTop),A=()=>a.value&&(o.value=a.value.clientHeight);ts(()=>{A(),window.addEventListener("resize",A)}),ns(()=>{window.removeEventListener("resize",A)});let _=e=>{let t=c.value[e]??"";if(!i.value||!v.value.has(e))return[{text:t,highlight:!1,active:!1}];let a=g.value.filter(t=>t.line===e),r=[],n=0;for(let e of a){e.start>n&&r.push({text:t.slice(n,e.start),highlight:!1,active:!1});let a=g.value.indexOf(e)===l.value;r.push({text:t.slice(e.start,e.end),highlight:!0,active:a}),n=e.end}return n<t.length&&r.push({text:t.slice(n),highlight:!1,active:!1}),r},T=e=>h.value+e;return(n,o)=>(Zo(),qo("div",{ref_key:"containerRef",ref:a,class:tt(["scalar-virtual-text relative overflow-auto",e.containerClass]),tabindex:"0",onKeydown:k,onScroll:S},[e.searchable&&s.value?(Zo(),qo("div",Lct,[qs(Dct,{ref_key:"searchRef",ref:r,query:i.value,"onUpdate:query":o[0]||=e=>i.value=e,activeMatchIndex:l.value,matchCount:g.value.length,onClose:w,onNext:O,onPrev:x},null,8,["query","activeMatchIndex","matchCount"])])):ai("",!0),Go("div",{style:Je({height:`${u.value}px`})},null,4),Go("code",{class:tt(["scalar-virtual-text-content absolute left-0 right-0 top-0",e.contentClass]),style:Je({transform:`translateY(${f.value}px)`})},[(Zo(!0),qo(Ls,null,Yn(m.value,(a,r)=>(Zo(),qo("div",{key:h.value+r,class:tt(["scalar-virtual-text-line",e.lineClass]),style:Je({height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})},[i.value&&v.value.has(T(r))?(Zo(!0),qo(Ls,{key:0},Yn(_(T(r)),(e,t)=>(Zo(),qo(Ls,{key:t},[e.highlight?(Zo(),qo("mark",{key:0,class:tt(["scalar-virtual-text-highlight",e.active?"scalar-virtual-text-highlight-active":""])},Kt(e.text),3)):(Zo(),qo(Ls,{key:1},[ei(Kt(e.text),1)],64))],64))),128)):(Zo(),qo(Ls,{key:1},[ei(Kt(a),1)],64))],6))),128))],6)],34))}})}),dut=V(()=>{U6(),uut(),jct=P6(Bct,[["__scopeId","data-v-b50a85e1"]])}),put=V(()=>{dut()}),hut=V(()=>{GJe(),srt(),crt(),Rc(),sut(),put(),Uct=Pn({__name:"ResponseBodyVirtual",props:{content:{},data:{},headers:{}},setup(e){let t=ol(()=>function(e){let t=e.trim();if("{"!==t[0]&&"["!==t[0])return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}(e.content)),a=ol(()=>art({data:e.data,headers:e.headers}));return(e,r)=>(Zo(),Fo(Fa(QKe),{class:"!max-h-100% response-body-virtual overflow-x-auto"},Kn({title:cn(()=>[r[0]||=ei("Body",-1)]),default:cn(()=>[r[1]||=Go("div",{class:"font-code text-xxs rounded-t border-x border-t px-2.5 py-1.5"}," This response body is massive! Syntax highlighting won't work here. ",-1),qs(Fa(jct),{containerClass:"custom-scroll scalar-code-block border rounded-b flex flex-1 max-h-screen",contentClass:"language-plaintext whitespace-pre font-code text-base",lineHeight:20,searchable:"",text:t.value},null,8,["text"])]),_:2},[a.value.dataUrl?{name:"actions",fn:cn(()=>[qs(irt,{filename:a.value.attachmentFilename,href:a.value.dataUrl,type:a.value.mimeType?.essence},null,8,["filename","href","type"])]),key:"0"}:void 0]),1024))}})}),mut=V(()=>{hut(),zct=Uct}),fut=V(()=>{tIe(),oIe(),mIe(),Fat(),GJe(),Rc(),Hct={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},Zct={key:1,class:"text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm"},Vct=Pn({__name:"ResponseCookies",props:{cookies:{}},setup:e=>(t,a)=>(Zo(),Fo(Fa(QKe),{class:"overflow-auto",defaultOpen:!1,itemCount:e.cookies.length},{title:cn(()=>[...a[0]||=[ei("Cookies",-1)]]),default:cn(()=>[e.cookies.length?(Zo(),qo("div",Hct,[qs(Fa(HNe),{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:cn(()=>[qs(Fa(lIe),{class:"sr-only !block"},{default:cn(()=>[qs(Fa(qNe),null,{default:cn(()=>[...a[1]||=[ei("Cookie Name",-1)]]),_:1}),qs(Fa(qNe),null,{default:cn(()=>[...a[2]||=[ei("Cookie Value",-1)]]),_:1})]),_:1}),(Zo(!0),qo(Ls,null,Yn(e.cookies,(e,t)=>(Zo(),Fo(Fa(lIe),{key:e.name,class:"group/row text-c-1"},{default:cn(()=>[qs(Fa(Sat),{class:tt(["bg-b-1 sticky left-0 z-1 max-w-full",{"border-t-0":0===t}]),text:e.name},null,8,["class","text"]),qs(Fa(Sat),{class:tt(["z-0",{"border-t-0":0===t}]),text:e.value},null,8,["class","text"])]),_:2},1024))),128))]),_:1})])):(Zo(),qo("div",Zct," No cookies "))]),_:1},8,["itemCount"]))})}),gut=V(()=>{fut(),Qct=Vct}),vut=V(()=>{Rc(),qct=Pn({__name:"ScalarAsciiArt",props:{art:{},animate:{type:Boolean}},setup(e){let t=e,a=ol(()=>t.art.split("\n")),r=(e,t)=>({animationDuration:100*e+"ms, 500ms",animationTimingFunction:`steps(${e}), step-end`,animationDelay:100*t+"ms, 0ms",animationIterationCount:"1, "+100*((a.value?.length??0)+(a.value?.[a.value?.length-1]?.length??0)+5)/500});return(t,n)=>(Zo(),qo("div",{"aria-hidden":"true",class:tt(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]",{"ascii-art-animate":e.animate}]),role:"presentation",inert:""},[(Zo(!0),qo(Ls,null,Yn(a.value,(e,t)=>(Zo(),qo("span",{key:t,class:"inline-block",style:Je({width:`calc(${e.length+1}ch)`})},[Go("span",{class:"inline-block whitespace-pre overflow-hidden",style:Je(r(e.length,t))},Kt(e),5)],4))),128))],2))}})}),but=V(()=>{_m(),vut(),Fct=km(qct,[["__scopeId","data-v-9a695e58"]])}),yut=V(()=>{Wct="                         .,,uod8B8bou,,.\n                ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.\n           ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,\n           ||||   '\"\"^^!!||||||||||TFPRBBBVT!:...!\n           ||||            '\"\"^^!!|||||?!:.......!\n           ||||                     ||||.........!\n           ||||                     ||||.........!\n           ||||                     ||||.........!\n           ||||                     ||||.........!\n           ||||                     ||||.........!\n           ||||                     ||||.........!\n           ||||,                    ||||.........`\n           |||||!!-._               ||||.......;.\n           ':!|||||||||!!-._        ||||.....bBBBBWdou,.\n         bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!\n         ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!\n         :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!\n         :::;`\"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!\n         ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!\n     .ob86foi;::::::::::::::::::::::::!?TFPRBY..........`\n    .b888888888886foi;:::::::::::::::::::::::..........`\n .b888888888888888888886foi;::::::::::::::::..........\n.b888888888888888888888888888886foi;:::::::::......`\n!Tf998888888888888888888888888888888886foi;:::....`\n  '\"^!|Tf9988888888888888888888888888888888!::..`\n       '\"^!|Tf998888888888888888888888889!! '`\n             '\"^!|Tf9988888888888888888!!`            iBBbo.\n                  '\"^!|Tf998888888889!`             WBBBBbo.\n                        '\"^!|Tf9989!`              YBBBP^'\n                              '\"^!`               `\n"}),Out=V(()=>{Tfe()}),xut=V(()=>{but(),yut(),Rc(),Out(),Xct={class:"flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize"},Gct={key:0,class:"scalar-version-number"},Yct={class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"},Kct=Pn({__name:"ResponseEmpty",props:{layout:{},totalPerformedRequests:{},appVersion:{}},emits:["addRequest","sendRequest","openCommandPalette"],setup(e,{emit:t}){let a=t;return(t,r)=>(Zo(),qo("div",Xct,[Go("div",{class:tt(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center",{"hidden opacity-0":e.totalPerformedRequests>0&&"modal"!==e.layout}])},["modal"===e.layout?ai("",!0):(Zo(),qo("div",Gct,[ei(" Scalar App V"+Kt(e.appVersion)+" Beta ",1),r[3]||=Go("div",{class:"mt-2"},[Go("a",{href:"https://github.com/scalar/scalar/issues/2669",target:"_blank"}," Roadmap ")],-1)])),r[4]||=Go("a",{class:"gitbook-show scalar-version-number",href:"https://www.scalar.com",target:"_blank"}," Powered By Scalar.com ",-1),qs(Fa(Fct),{art:Fa(Wct),class:"text-c-3"},null,8,["art"])],2),Go("div",Yct,["modal"===e.layout?ai("",!0):(Zo(),qo("button",{key:0,class:"flex items-center gap-1.5",type:"button",onClick:r[0]||=e=>a("openCommandPalette")},[r[5]||=ei(" Get Started ",-1),qs(Fa(yfe),{hotkey:"k",modifier:["default"]})])),"desktop"===e.layout?(Zo(),qo("button",{key:1,class:"flex items-center gap-1.5",type:"button",onClick:r[1]||=e=>a("addRequest")},[r[6]||=ei(" New Request ",-1),qs(Fa(yfe),{hotkey:"N"})])):ai("",!0),Go("button",{class:"flex items-center gap-1.5",type:"button",onClick:r[2]||=e=>a("sendRequest")},[r[7]||=ei(" Send Request ",-1),qs(Fa(yfe),{hotkey:"↵"})])])]))}})}),wut=V(()=>{_m(),xut(),Jct=km(Kct,[["__scopeId","data-v-0895623d"]])}),kut=V(()=>{Rc(),lce(),R4e(),eut={key:0,class:"bg-b-1 z-overlay absolute inset-0 flex flex-col items-center justify-center gap-6"},tut=Pn({__name:"ResponseLoadingOverlay",props:{eventBus:{}},setup(e){let t=N4e(),a=Za(),r=()=>{clearTimeout(a.value),a.value=setTimeout(()=>t.start(),1e3)},n=()=>{clearTimeout(a.value),a.value=void 0,t.clear()};return ts(()=>{e.eventBus.on("hooks:on:request:sent",r),e.eventBus.on("hooks:on:request:complete",n)}),ns(()=>{e.eventBus.off("hooks:on:request:sent",r),e.eventBus.off("hooks:on:request:complete",n),n()}),(a,r)=>(Zo(),Fo(Gl,null,{default:cn(()=>[Fa(t).isActive?(Zo(),qo("div",eut,[qs(Fa(Yle),{class:"text-c-3",loader:Fa(t),size:"3xl"},null,8,["loader"]),qs(Fa(tce),{variant:"ghost",onClick:r[0]||=t=>e.eventBus.emit("operation:cancel:request")},{default:cn(()=>[...r[1]||=[ei(" Cancel ",-1)]]),_:1})])):ai("",!0)]),_:1}))}})}),Sut=V(()=>{_m(),kut(),aut=km(tut,[["__scopeId","data-v-b80db6e2"]])}),Aut=V(()=>{rut=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],nut=(e,t=3)=>{if(!Number.isFinite(e)||e<=0)return"0 B";let a=Math.max(0,Math.min(Math.floor(Math.log10(e)/3),rut.length-1));return Number((e/1e3**a).toPrecision(t))>=1e3&&a<rut.length-1&&(a+=1),`${Number((e/1e3**a).toPrecision(t))} ${rut[a]}`}}),_ut=V(()=>{Aut(),out=e=>{let t=Number.parseInt(e.headers?.["Content-Length"]||e.headers?.["content-length"]||"0",10);if(!(isNaN(t)||t<=0))return nut(t)}});function Tut(e){switch(typeof e){case"number":if(Number.isFinite(e))return function(e){return{days:Math.trunc(e/864e5),hours:Math.trunc(e/36e5%24),minutes:Math.trunc(e/6e4%60),seconds:Math.trunc(e/1e3%60),milliseconds:Math.trunc(e%1e3),microseconds:Math.trunc(Eut(1e3*e)%1e3),nanoseconds:Math.trunc(Eut(1e6*e)%1e3)}}(e);break;case"bigint":return function(e){return{days:e/86400000n,hours:e/3600000n%24n,minutes:e/60000n%60n,seconds:e/1000n%60n,milliseconds:e%1000n,microseconds:0n,nanoseconds:0n}}(e)}throw TypeError("Expected a finite number or bigint")}var Eut,Cut=V(()=>{Eut=e=>Number.isFinite(e)?e:0});function Put(e,t){let a="bigint"==typeof e;if(!a&&!Number.isFinite(e))throw TypeError("Expected a finite number or bigint");let r=e<0?"-":"";e=e<0?-e:e,(t={...t}).colonNotation&&(t.compact=!1,t.formatSubMilliseconds=!1,t.separateMilliseconds=!1,t.verbose=!1),t.compact&&(t.unitCount=1,t.secondsDecimalDigits=0,t.millisecondsDecimalDigits=0);let n=[],o=(e,a,r,o)=>{if(0!==n.length&&t.colonNotation||!Mut(e)||t.colonNotation&&"m"===r){if(o??=String(e),t.colonNotation){let e=o.includes(".")?o.split(".")[0].length:o.length,t=n.length>0?2:1;o="0".repeat(Math.max(0,t-e))+o}else o+=t.verbose?" "+$ut(a,e):r;n.push(o)}},i=Tut(e),s=BigInt(i.days);if(t.hideYearAndDays?o(24n*BigInt(s)+BigInt(i.hours),"hour","h"):(t.hideYear?o(s,"day","d"):(o(s/365n,"year","y"),o(s%365n,"day","d")),o(Number(i.hours),"hour","h")),o(Number(i.minutes),"minute","m"),!t.hideSeconds)if(t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3&&!t.subSecondsAsDecimals){let e=Number(i.seconds),a=Number(i.milliseconds),r=Number(i.microseconds),n=Number(i.nanoseconds);if(o(e,"second","s"),t.formatSubMilliseconds)o(a,"millisecond","ms"),o(r,"microsecond","µs"),o(n,"nanosecond","ns");else{let e=a+r/1e3+n/1e6,i="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,s=i?e.toFixed(i):e>=1?Math.round(e):Math.ceil(e);o(Number.parseFloat(s),"millisecond","ms",s)}}else{let r=((e,t)=>{let a=Math.floor(e*10**t+Nut);return(Math.round(a)/10**t).toFixed(t)})((a?Number(e%Iut):e)/1e3%60,"number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1),n=t.keepDecimalsOnWholeSeconds?r:r.replace(/\.0+$/,"");o(Number.parseFloat(n),"second","s",n)}if(0===n.length)return r+"0"+(t.verbose?" milliseconds":"ms");let l=t.colonNotation?":":" ";return"number"==typeof t.unitCount&&(n=n.slice(0,Math.max(t.unitCount,1))),r+n.join(l)}var Mut,$ut,Nut,Iut,Rut,Dut,Lut,But,jut,Uut,zut,Hut,Zut,Vut,Qut,qut,Fut,Wut,Xut,Gut,Yut,Kut,Jut,edt,tdt,adt,rdt,ndt,odt,idt,sdt,ldt,cdt,udt,ddt,pdt,hdt,mdt,fdt,gdt,vdt,bdt,ydt,Odt,xdt,wdt,kdt,Sdt,Adt,_dt,Tdt,Edt,Cdt,Pdt,Mdt,$dt,Ndt,Idt,Rdt,Ddt,Ldt,Bdt,jdt,Udt,zdt,Hdt,Zdt,Vdt,Qdt,qdt,Fdt,Wdt,Xdt,Gdt,Ydt,Kdt,Jdt,ept,tpt,apt,rpt,npt,opt,ipt,spt,lpt,cpt=V(()=>{Cut(),Mut=e=>0===e||0n===e,$ut=(e,t)=>1===t||1n===t?e:`${e}s`,Nut=1e-7,Iut=86400000n}),upt=V(()=>{Xat(),_ut(),Rc(),WA(),cpt(),Rut={class:"text-c-1 flex gap-1.5"},Dut={key:0},Lut={key:0},But={key:1},jut=Pn({__name:"ResponseMetaInformation",props:{response:{},eventBus:{}},setup(e){let t=Za(),a=Za(0),r=()=>{clearInterval(t.value),t.value=void 0,a.value=0},n=()=>{t.value=setInterval(()=>a.value+=1e3,1e3)};ts(()=>{e.eventBus.on("hooks:on:request:sent",n),e.eventBus.on("hooks:on:request:complete",r)}),ns(()=>{e.eventBus.off("hooks:on:request:sent",n),e.eventBus.off("hooks:on:request:complete",r),r()});let o=ol(()=>{let t=e.response?.status;if(t)return CA[t]??void 0});return(r,n)=>(Zo(),qo("div",Rut,[t.value&&a.value?(Zo(),qo("span",Dut,Kt(Fa(Put)(a.value)),1)):(Zo(),qo(Ls,{key:1},[Go("span",null,[n[0]||=Go("span",{class:"sr-only"},"Response Information, Duration:",-1),ei(" "+Kt(Fa(Put)(e.response.duration)),1)]),Fa(out)(e.response)?(Zo(),qo("span",Lut,[n[1]||=Go("span",{class:"sr-only"},", Size:",-1),ei(" "+Kt(Fa(out)(e.response)),1)])):ai("",!0),o.value?(Zo(),qo(Ls,{key:1},[n[2]||=Go("span",{class:"sr-only"},", Status:",-1),o.value.url?(Zo(),Fo(Tat,{key:0,class:"flex items-center gap-1.5",href:o.value.url},{default:cn(()=>[ei(Kt(e.response.status)+" "+Kt(o.value.name)+" ",1),Go("span",{class:"block h-1.5 w-1.5 rounded-full",style:Je({backgroundColor:o.value.color})},null,4)]),_:1},8,["href"])):(Zo(),qo("span",But,[ei(Kt(e.response.status)+" "+Kt(o.value.name)+" ",1),Go("span",{class:"block h-1.5 w-1.5 rounded-full",style:Je({backgroundColor:o.value.color})},null,4)]))],64)):ai("",!0)],64))]))}})}),dpt=V(()=>{upt(),Uut=jut}),ppt=V(()=>{zut=e=>{if(!e||"string"!=typeof e)return null;let t=e.indexOf("=");if(-1===t)return null;let a=e.substring(0,t).trim(),r=e.substring(t+1).trim();return a?{name:a,value:r}:null}}),hpt=V(()=>{L6(),ZA(),Fle(),Kat(),Ont(),wnt(),mut(),gut(),wut(),Sut(),dpt(),ppt(),Rc(),wE(),j1e(),Hut={class:"flex h-8 flex-1 items-center"},Zut=["id","role"],Vut=2e5,Qut=Pn({__name:"ResponseBlock",props:{response:{},requestPayload:{},layout:{},totalPerformedRequests:{},appVersion:{},plugins:{},eventBus:{}},setup(e,{expose:t}){let a=ol(()=>{let t=e.response?.headers;return t?Object.keys(t).map(e=>({name:e,value:t[e]??""})):[]}),r=ol(()=>e.response?.cookieHeaderKeys.map(e=>zut(e)).filter(bE)??[]),n=["Cookies","Headers","Body"],o=Za("All"),i=ol(()=>["All",...n]),s=ol(()=>Object.fromEntries(i.value.map(e=>[e,Mn()]))),l=ol(()=>{if(!e.response||!("size"in e.response))return!1;let t=e.response.headers?.["content-type"]||e.response.headers?.["Content-Type"];return!(!t||(e.response.size??0)<=Vut||t.includes("text/html"))&&(OA.some(e=>t.includes(e))&&(e.response.size??0)>Vut)}),c=ol(()=>{let t=e.requestPayload?.[1]?.headers;return t?[...new Headers(t)].map(([e,t])=>({name:e,value:t,required:!1})):[]}),u=e=>"All"===o.value||o.value===e;return t({responseHeaders:a,responseCookies:r,requestHeaders:c,shouldVirtualize:l,activeFilter:o,filters:i}),(t,n)=>(Zo(),Fo(_6,{"aria-label":"Response"},{title:cn(()=>[Go("div",Hut,[Go("div",{"aria-live":"polite",class:tt(["flex items-center",{"animate-response-heading":e.response}])},[n[4]||=Go("span",{class:"response-heading pointer-events-none absolute"}," Response ",-1),e.response?(Zo(),Fo(Uut,{key:0,class:"animate-response-children",eventBus:e.eventBus,response:e.response},null,8,["eventBus","response"])):ai("",!0)],2),qs(Lle,{modelValue:o.value,"onUpdate:modelValue":n[0]||=e=>o.value=e,filterIds:s.value,filters:i.value},null,8,["modelValue","filterIds","filters"])])]),default:cn(()=>[Go("div",{id:s.value.All,class:tt(["custom-scroll response-section-content relative grid h-full justify-stretch",{"content-start":e.response}]),role:"All"===o.value&&e.response?"tabpanel":"none"},[e.response?(Zo(),qo(Ls,{key:1},[u("Cookies")?(Zo(),Fo(Qct,{key:0,id:s.value.Cookies,class:"response-section-content-cookies",cookies:r.value,role:"All"===o.value?"none":"tabpanel"},null,8,["id","cookies","role"])):ai("",!0),u("Headers")?(Zo(),Fo($at,{key:1,id:s.value.Headers,class:"response-section-content-headers",headers:c.value,role:"All"===o.value?"none":"tabpanel"},{title:cn(()=>[...n[5]||=[ei("Request Headers",-1)]]),_:1},8,["id","headers","role"])):ai("",!0),u("Headers")?(Zo(),Fo($at,{key:2,id:s.value.Headers,class:"response-section-content-headers",headers:a.value,role:"All"===o.value?"none":"tabpanel"},{title:cn(()=>[...n[6]||=[ei("Response Headers",-1)]]),_:1},8,["id","headers","role"])):ai("",!0),(Zo(!0),qo(Ls,null,Yn(e.plugins,(e,t)=>(Zo(),Fo(Fa(y1e),{key:t},{default:cn(()=>[e?.components?.response?un((Zo(),Fo(Wn(e.components.response.component),ii({key:0,ref_for:!0},e.components.response.additionalProps),null,16)),[[ac,"All"===o.value]]):ai("",!0)]),_:2},1024))),128)),"All"===o.value||"Body"===o.value?(Zo(),qo(Ls,{key:3},["reader"in e.response?(Zo(),Fo(cnt,{key:0,id:s.value.Body,class:"response-section-content-body",reader:e.response.reader},null,8,["id","reader"])):l.value&&"string"==typeof e.response?.data?(Zo(),Fo(zct,{key:1,id:s.value.Body,content:e.response.data,data:e.response?.data,headers:a.value,role:"All"===o.value?"none":"tabpanel"},null,8,["id","content","data","headers","role"])):(Zo(),Fo(rnt,{key:2,id:s.value.Body,active:!0,class:"response-section-content-body",data:e.response?.data,headers:a.value,layout:"client",plugins:e.plugins,role:"All"===o.value?"none":"tabpanel",title:"Body"},null,8,["id","data","headers","plugins","role"]))],64)):ai("",!0)],64)):(Zo(),Fo(Jct,{key:0,appVersion:e.appVersion,layout:e.layout,totalPerformedRequests:e.totalPerformedRequests,onAddRequest:n[1]||=t=>e.eventBus.emit("ui:open:command-palette",{action:"create-request",payload:void 0}),onOpenCommandPalette:n[2]||=t=>e.eventBus.emit("ui:open:command-palette"),onSendRequest:n[3]||=t=>e.eventBus.emit("operation:send:request:hotkey")},null,8,["appVersion","layout","totalPerformedRequests"])),qs(aut,{eventBus:e.eventBus},null,8,["eventBus"])],10,Zut)]),_:1}))}})}),mpt=V(()=>{_m(),hpt(),qut=km(Qut,[["__scopeId","data-v-7a7c6611"]])}),fpt=V(()=>{Fut={get:{short:"GET",colorClass:"text-blue",colorVar:"var(--scalar-color-blue)",backgroundColor:"bg-blue/10"},post:{short:"POST",colorClass:"text-green",colorVar:"var(--scalar-color-green)",backgroundColor:"bg-green/10"},put:{short:"PUT",colorClass:"text-orange",colorVar:"var(--scalar-color-orange)",backgroundColor:"bg-orange/10"},patch:{short:"PATCH",colorClass:"text-yellow",colorVar:"var(--scalar-color-yellow)",backgroundColor:"bg-yellow/10"},delete:{short:"DEL",colorClass:"text-red",colorVar:"var(--scalar-color-red)",backgroundColor:"bg-red/10"},options:{short:"OPTS",colorClass:"text-purple",colorVar:"var(--scalar-color-purple)",backgroundColor:"bg-purple/10"},head:{short:"HEAD",colorClass:"text-c-2",colorVar:"var(--scalar-color-2)",backgroundColor:"bg-c-2/10"},trace:{short:"TRACE",colorClass:"text-c-2",colorVar:"var(--scalar-color-2)",backgroundColor:"bg-c-2/10"}},Wut=e=>{let t=e.trim().toLowerCase();return Fut[t]??{short:t,color:"text-c-2",backgroundColor:"bg-c-2"}}}),gpt=V(()=>{Rc(),n0e(),fpt(),VK(),iE(),Xut=Pn({__name:"HttpMethod",props:{isSquare:{type:Boolean,default:!1},method:{},isEditable:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){let a=e,r=t,n=ol(()=>Wut(a.method)),o=bY(Fut).map(([e])=>({id:e,label:e.toUpperCase(),color:Wut(e).colorClass})),i=ol({get:()=>o.find(({id:e})=>e===a.method),set:e=>e?.id&&r("change",e.id)}),s=XT({base:"text-center font-code text-3xs justify-center items-center flex",variants:{isSquare:{true:"px-2.5 whitespace-nowrap font-bold border-r h-fit m-auto",false:"rounded-full"},isEditable:{true:"http-bg-gradient rounded-md border",false:"cursor-auto"}}}),l=ol(()=>n.value.short);return(t,a)=>e.isEditable?(Zo(),Fo(Fa(GKe),{key:0,modelValue:i.value,"onUpdate:modelValue":a[0]||=e=>i.value=e,class:"font-code scalar-client mt-1 text-sm",options:Fa(o)},{default:cn(()=>[Go("div",{class:tt(["h-full",{"pointer-events-none":!e.isEditable}])},[Go("button",{class:tt(["relative h-full",Fa(GT)(Fa(s)({isSquare:e.isSquare,isEditable:e.isEditable}),n.value.colorClass)]),type:"button"},[Go("span",null,Kt(l.value),1)],2)],2)]),_:1},8,["modelValue","options"])):(Zo(),qo("div",{key:1,class:tt(["relative gap-1 whitespace-nowrap",Fa(GT)(Fa(s)({isSquare:e.isSquare,isEditable:e.isEditable}),n.value.colorClass)]),type:"button"},Kt(n.value.short),3))}})}),vpt=V(()=>{gpt(),_m(),Gut=km(Xut,[["__scopeId","data-v-86e2b3ea"]])}),bpt=V(()=>{Yut=/^\/_scalar_temp[a-f0-9]*$/i,Kut=(e,t)=>"drafts"===t.toLowerCase()&&"/"===e||Yut.test(e)}),ypt=V(()=>{Jut=e=>{if(!e)return;let t=document.querySelector(e);t instanceof HTMLButtonElement?t.click():(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&"true"===t.getAttribute("contenteditable"))&&t.focus()}}),Opt=V(()=>{Rc(),edt=()=>{let e=Za(100),t=Za(0),a=Za(!1),r=Za(),n=()=>{a.value?e.value-=(e.value-15)/60:e.value-=t.value/20,e.value<=0&&(clearInterval(r.value),r.value=void 0,e.value=100,a.value=!1)};return{startLoading:()=>{r.value?a.value=!0:(a.value=!0,r.value=setInterval(n,20))},stopLoading:()=>{t.value=e.value,a.value=!1},percentage:e,isLoading:a}}}),xpt=V(()=>{Rc(),tdt=({isReady:e,operationKey:t,shouldMask:a,onMask:r})=>{fn([e,t],([e])=>{e&&a()&&r()},{flush:"post"})}}),wpt=V(()=>{Rc(),lce(),n0e(),ZS(),adt={key:0,class:"sr-only"},rdt=Pn({__name:"ServerVariablesSelect",props:{enum:{},value:{},controls:{}},emits:["change"],setup(e,{emit:t}){let a=e,r=t,n=ol(()=>a.enum.map(e=>({id:e,label:e}))),o=ol({get:()=>n.value.find(e=>e.id===a.value),set:e=>r("change",e?.id??"")});return(t,a)=>(Zo(),Fo(Fa(GKe),{modelValue:o.value,"onUpdate:modelValue":a[0]||=e=>o.value=e,options:n.value},{default:cn(()=>[qs(Fa(tce),{"aria-controls":e.controls,class:"group/button h-8 gap-1.5 p-1.5 text-base font-normal",variant:"ghost"},{default:cn(()=>[Go("span",{class:tt({"text-c-1":e.value})},[e.value?(Zo(),qo("span",adt," Selected: ")):ai("",!0),ei(" "+Kt(e.value||"Select value"),1)],2),qs(Fa(jf),{weight:"bold",class:"mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180"})]),_:1},8,["aria-controls"])]),_:1},8,["modelValue","options"]))}})}),kpt=V(()=>{wpt(),ndt=rdt}),Spt=V(()=>{Rc(),odt=Pn({__name:"ServerVariablesTextbox",props:{value:{},controls:{}},emits:["change"],setup(e,{emit:t}){let a=e,r=t,n=ol({get:()=>a.value,set:e=>r("change",e)});return(t,a)=>un((Zo(),qo("input",ii({"onUpdate:modelValue":a[0]||=e=>n.value=e},e.controls?{...t.$attrs,"aria-controls":e.controls}:{},{autocomplete:"off",class:"text-c-1 w-full border-transparent px-1.5 py-1.25 -outline-offset-1 group-last/label:rounded-br-lg",placeholder:"value",spellcheck:"false",type:"text"}),null,16)),[[bc,n.value]])}})}),Apt=V(()=>{Spt(),idt=odt}),_pt=V(()=>{kpt(),Apt(),Rc(),sdt=["for"],ldt=Pn({__name:"ServerVariablesForm",props:{variables:{},values:{},controls:{},layout:{default:"client"}},emits:["update:variable"],setup(e,{emit:t}){let a=t,r=Mn();function n(e,t){a("update:variable",e,t)}let o=t=>(e.values?.[t]??e.variables?.[t]?.default??"").toString();return(t,a)=>e.variables&&Object.keys(e.variables??{}).length?(Zo(!0),qo(Ls,{key:0},Yn(Object.keys(e.variables),t=>(Zo(),qo("div",{key:t,class:tt(["group/label flex h-8 w-full","reference"===e.layout&&"items-center border-x border-b last:rounded-b-lg"])},[Go("label",{class:"flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']",for:`${Fa(r)}-${t}`},Kt(t),9,sdt),e.variables?.[t]?.enum?.length?(Zo(),Fo(ndt,{key:0,id:`${Fa(r)}-${t}`,controls:e.controls,enum:e.variables[t]?.enum?.map(e=>`${e}`)??[],value:o(t),onChange:e=>n(t,e)},null,8,["id","controls","enum","value","onChange"])):(Zo(),Fo(idt,{key:1,id:`${Fa(r)}-${t}`,controls:e.controls,value:o(t),onChange:e=>n(t,e)},null,8,["id","controls","value","onChange"]))],2))),128)):ai("",!0)}})}),Tpt=V(()=>{_pt(),cdt=ldt}),Ept=V(()=>{Tpt(),Rc(),n0e(),MJe(),udt=["aria-expanded"],ddt={class:"overflow-hidden text-ellipsis whitespace-nowrap"},pdt=["id"],hdt={key:0},mdt={class:"description text-c-3 px-3 py-1.5"},fdt=Pn({__name:"ServerDropdownItem",props:{server:{},serverOption:{}},emits:["update:variable","update:selectedServer"],setup(e,{emit:t}){let a=t,r=Mn(),n=ol(()=>e.serverOption.id===e.server?.url),o=ol(()=>n.value&&Object.keys(e.server?.variables??{}).length>0);return(t,i)=>(Zo(),qo("div",{class:tt(["group/item flex min-h-fit flex-col rounded border",{"border-transparent":!n.value}])},[Go("button",ii(o.value?{"aria-controls":Fa(r)}:{},{"aria-expanded":o.value,class:["flex min-h-8 cursor-pointer items-center gap-1.5 rounded px-1.5",n.value?"text-c-1 bg-b-2":"hover:bg-b-2"],type:"button",onClick:i[0]||=e=>a("update:selectedServer")}),[qs(Fa(pce),{selected:n.value},null,8,["selected"]),Go("span",ddt,Kt(e.serverOption.label),1)],16,udt),o.value?(Zo(),qo("div",{key:0,id:Fa(r),class:"bg-b-2 divide divide-y rounded-b border-t *:pl-4",onClick:i[2]||=Ac(()=>{},["stop"])},[qs(cdt,{variables:e.server?.variables,"onUpdate:variable":i[1]||=(e,t)=>a("update:variable",e,t)},null,8,["variables"]),e.server?.description?(Zo(),qo("div",hdt,[Go("div",mdt,[qs(Fa(aKe),{value:e.server.description},null,8,["value"])])])):ai("",!0)],8,pdt)):ai("",!0)],2))}})}),Cpt=V(()=>{_m(),Ept(),gdt=km(fdt,[["__scopeId","data-v-649f9a0d"]])}),Ppt=V(()=>{Jde(),tpe()}),Mpt=V(()=>{WJe(),Cpt(),Rc(),lce(),ZS(),IJe(),Ppt(),vdt=["onClick"],bdt={class:"flex items-center justify-center"},ydt=Pn({name:"ServerDropdown",props:{meta:{},servers:{},server:{},target:{},layout:{}},emits:["update:selectedServer","update:variable","update:servers","update:open"],setup(e,{emit:t}){let a=t,r=ol(()=>e.servers.map(e=>({id:e.url,label:e.url??"Unknown server"}))),n=ol(()=>e.server?.url?.endsWith("/")?e.server.url.slice(0,-1):e.server?.url||"");return(t,o)=>(Zo(),Fo(Fa(sKe),{class:"max-h-[inherit] p-0 text-base",focus:"",offset:0,placement:"bottom",resize:"",target:e.target,teleport:`#${e.target}`},{popover:cn(({close:t})=>[Go("div",{class:"custom-scroll flex max-h-[inherit] flex-col gap-1 p-1",onClick:t},[(Zo(!0),qo(Ls,null,Yn(r.value,(t,r)=>(Zo(),Fo(gdt,{key:t.id,server:e.server,serverOption:t,type:"request","onUpdate:selectedServer":r=>a("update:selectedServer",{url:t.id,meta:e.meta}),"onUpdate:variable":(t,n)=>a("update:variable",{index:r,key:t,value:n,meta:e.meta})},null,8,["server","serverOption","onUpdate:selectedServer","onUpdate:variable"]))),128)),"modal"===e.layout?ai("",!0):(Zo(),qo("button",{key:0,class:"text-xxs hover:bg-b-2 flex cursor-pointer items-center gap-1.5 rounded p-1.75",type:"button",onClick:o[0]||=e=>a("update:servers")},[Go("div",bdt,[qs(Fa(cO),{class:"size-4"})]),o[5]||=Go("span",null,"Update Servers",-1)]))],8,vdt)]),backdrop:cn(({open:e})=>[qs(DKe,{value:e,onChange:o[1]||=e=>a("update:open",e),onUnmount:o[2]||=e=>a("update:open",!1)},null,8,["value"]),qs(Fa(Ude),{class:"inset-x-px rounded-none rounded-b-lg"})]),default:cn(()=>[qs(Fa(tce),{class:"hover:bg-b-2 font-code text-c-2 h-auto gap-0.75 rounded border px-1.5 text-base whitespace-nowrap @3xl:ml-0.75",variant:"ghost"},{default:cn(()=>[e.server?(Zo(),qo(Ls,{key:0},[o[3]||=Go("span",{class:"sr-only"},"Server:",-1),ei(" "+Kt(n.value),1)],64)):(Zo(),qo(Ls,{key:1},[o[4]||=Go("span",{class:"sr-only"},"Add Server",-1),qs(Fa(NO),{class:"size-3"})],64))]),_:1})]),_:1},8,["target","teleport"]))}})}),$pt=V(()=>{Mpt(),Odt=ydt}),Npt=V(()=>{xdt={100:{color:"text-yellow"},200:{color:"text-green"},202:{color:"text-green"},300:{color:"text-blue"},304:{color:"text-blue"},400:{color:"text-red"},401:{color:"text-orange"},422:{color:"text-yellow"},423:{color:"text-purple"},505:{color:"text-orange"}},wdt=e=>xdt[e]||{color:"text-grey"}}),Ipt=V(()=>{kdt=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+"s":e.toFixed(t)+"ms"}),Rpt=V(()=>{vpt(),WJe(),Npt(),Rc(),Qle(),WA(),Am(),Ppt(),Ipt(),Sdt={class:"min-w-0"},Adt={class:"text-c-1 min-w-0 truncate"},_dt=Pn({__name:"AddressBarHistory",props:{target:{},history:{}},emits:["select:history:item","update:open"],setup(e,{emit:t}){let a=t;return(t,r)=>(Zo(),Fo(Fa(wh),{as:"div"},{default:cn(({open:t})=>[qs(DKe,{value:t,onChange:r[0]||=e=>a("update:open",e),onUnmount:r[1]||=e=>a("update:open",!1)},null,8,["value"]),qs(Fa(Bde),{offset:0,resize:"",target:e.target},Kn({default:cn(()=>[e.history.length?(Zo(),Fo(Fa(kh),{key:0,class:"address-bar-history-button text-c-3 focus:text-c-1 relative mr-1 rounded-lg p-1.5"},{default:cn(()=>[qs(Fa(Ple),{icon:"History",size:"sm",thickness:"2.25"}),r[2]||=Go("span",{class:"sr-only"},"Request History",-1)]),_:1})):ai("",!0)]),_:2},[t?{name:"floating",fn:cn(({width:t})=>[qs(Fa(Sh),{class:"custom-scroll grid max-h-[inherit] grid-cols-[44px_1fr_repeat(3,auto)] items-center p-0.75",static:"",style:Je({width:t})},{default:cn(()=>[(Zo(!0),qo(Ls,null,Yn(e.history,(e,t)=>(Zo(),Fo(Fa(Ah),{key:t,as:"button",class:"font-code ui-active:*:bg-b-2 text-c-2 contents text-sm font-medium *:flex *:h-8 *:cursor-pointer *:items-center *:rounded-none *:px-1.5 *:first:rounded-l *:last:rounded-r",value:t,onClick:e=>a("select:history:item",{index:t})},{default:cn(()=>[qs(Fa(Gut),{class:"text-[11px]",method:e.method},null,8,["method"]),Go("div",Sdt,[Go("div",Adt,Kt(e.path),1)]),Go("div",null,Kt(Fa(kdt)(e.duration)),1),Go("div",{class:tt([Fa(wdt)(e.status).color])},Kt(e.status),3),Go("div",null,Kt(Fa(CA)[e.status]?.name),1)]),_:2},1032,["value","onClick"]))),128))]),_:1},8,["style"]),qs(Fa(Ude),{class:"inset-x-px rounded-none rounded-b-lg"})]),key:"0"}:void 0]),1032,["target"])]),_:1}))}})}),Dpt=V(()=>{_m(),Rpt(),Tdt=km(_dt,[["__scopeId","data-v-12140f4f"]])}),Lpt=V(()=>{Edt={path:/[\/\.-]/,property:/[A-Z\_\.-]/}}),Bpt=V(()=>{Lpt(),Rc(),Cdt={key:0},Pdt=Pn({inheritAttrs:!1,__name:"ScalarWrappingText",props:{text:{default:""},preset:{default:"path"},regex:{}},setup(e){let t=ol(()=>{let t=new RegExp(e.regex??Edt[e.preset],"g");return e.text.replace(t,"⁠$&").split("⁠").filter(Boolean)});return(e,a)=>(Zo(!0),qo(Ls,null,Yn(t.value,(e,t)=>(Zo(),qo(Ls,{key:t},[0===t?ai("",!0):(Zo(),qo("wbr",Cdt)),ei(Kt(e),1)],64))),128))}})}),jpt=V(()=>{Bpt(),Mdt=Pdt}),Upt=V(()=>{jpt()}),zpt=V(()=>{$dt=e=>{if(!(e&&e instanceof Element))return null;let t=[],a=e;for(;a instanceof Element;){let e=a.localName,r=1,n=a.previousElementSibling;for(;n;)n.localName===e&&r++,n=n.previousElementSibling;t.unshift(r>1?`${e}:nth-of-type(${r})`:e),a=a.parentElement}return t.join(" > ")}}),Hpt=V(()=>{Ndt=(e="")=>{if(!e.trim())return null;if(!e.startsWith("/")&&!/^[a-z][a-z0-9+\-.]*:\/\//i.test(e)){let t=e.search(/[/?#]/),a=-1===t?e:e.slice(0,t);if(a.includes("."))try{let t=new URL(`https://${e}`);if("null"===t.origin)return null;let r=t.host,n=a.match(/:(\d+)$/);return n&&!t.port&&(r=`${t.hostname}:${n[1]}`),[r,decodeURIComponent(t.pathname)+t.search+t.hash]}catch{return null}}if(e.startsWith("//"))try{let t=new URL(`https:${e}`);return"null"===t.origin?null:[t.origin.replace(/^https?:/,""),decodeURIComponent(t.pathname)+t.search+t.hash]}catch{return null}try{let t=new URL(e);if("null"===t.origin)return null;let a=decodeURIComponent(t.pathname)+t.search+t.hash;return[t.origin,a]}catch{return null}}}),Zpt=V(()=>{vpt(),JNe(),LE(),bpt(),ypt(),Opt(),xpt(),$pt(),Dpt(),Rc(),lce(),ZS(),fpt(),Qle(),WNe(),Upt(),zpt(),Hpt(),Idt={class:"order-last flex h-auto w-full max-w-3xl grow-3 flex-wrap items-stretch [--scalar-address-bar-height:32px] @3xl:order-0 @3xl:flex-nowrap"},Rdt=["id"],Ddt={class:"hidden @3xl:flex"},Ldt={class:"scroll-timeline-x scroll-timeline-x-hidden relative flex w-full bg-blend-normal"},Bdt={key:0,class:"z-context absolute inset-x-0 top-[calc(100%+4px)] flex flex-col items-center rounded px-6"},jdt={class:"text-c-danger bg-b-danger border-c-danger flex items-center gap-1 rounded border p-1"},Udt={class:"min-w-0 flex-1"},zdt={"aria-hidden":"true",class:"inline-flex items-center gap-1"},Hdt={class:"sr-only"},Zdt={class:"mt-2 flex h-(--scalar-address-bar-height) w-full items-stretch gap-1 @3xl:hidden"},Vdt={"aria-hidden":"true",class:"inline-flex items-center gap-1"},Qdt={class:"sr-only"},qdt=Pn({name:"AddressBar",props:{path:{},method:{},documentSlug:{},exampleKey:{},server:{},servers:{},history:{},layout:{},eventBus:{},environment:{},serverMeta:{}},emits:["execute","select:history:item"],setup(e,{expose:t,emit:a}){let r=a,n=Mn(),o=Nn("sendButtonRef"),i=Nn("mobileSendButtonRef"),s=Nn("addressBarRef"),{percentage:l,startLoading:c,stopLoading:u,isLoading:d}=edt(),p=Za(null),h=Za(null),m=Za(!1),f=Za(!1),g=Za(!1),v=Yxe.scrollMargins.of(()=>({right:24})),b=ol(()=>({backgroundColor:`color-mix(in srgb, transparent 90%, ${Fut[e.method].colorVar})`,transform:`translate3d(-${l.value}%,0,0)`})),y=ol(()=>h.value||p.value),O=ol(()=>f.value||g.value),x=ol(()=>kE(e.method,e.path,e.exampleKey,e.documentSlug));fn(x,()=>{p.value=null,h.value=null});let w=()=>{let e=o.value?.$el,t=i.value?.$el;e&&null!==e.offsetParent?e.focus():t?.focus()},k=t=>{s.value?.isFocused&&"desktop"!==e.layout||(s.value?.focus("end"),t&&"clear"in t&&t.clear&&s.value?.setCodeMirrorContent(""),t&&"event"in t&&t.event.preventDefault())};tdt({isReady:()=>s.value?.codeMirror,operationKey:()=>x.value,shouldMask:()=>Kut(e.path,e.documentSlug),onMask:()=>requestAnimationFrame(()=>{let t=s.value?.codeMirror?.state.doc.toString();t&&t!==e.path||k({clear:!0})})});let S=(t,a,r=null)=>{let n=(t=>{let a=Ndt(t);if(!a)return t;let[r,n]=a;return r===e.server?.url||(e.servers.find(e=>e.url===r)?e.eventBus.emit("server:update:selected",{url:r,meta:e.serverMeta}):e.eventBus.emit("server:add:server",{url:r,select:!0,meta:{type:"operation",path:e.path,method:e.method}})),n})(a),o=(e=>e.startsWith("/")?e:`/${e}`)(n);s.value?.setCodeMirrorContent(o),e.eventBus.emit("operation:update:pathMethod",{meta:{method:e.method,path:e.path},blurTargetSelector:r,payload:{method:t,path:o},callback:(a,r)=>{if("success"===a||"no-change"===a)h.value=null,p.value=null;else if("conflict"===a)return t!==e.method&&(h.value=t),void(o!==e.path&&(p.value=o));let i=s.value?.codeMirrorRef?.textContent;"no-change"===a&&i&&i!==n&&s.value?.setCodeMirrorContent(n),en(()=>Jut(r))}})},A=t=>S(t,p.value??e.path),_=(t,a)=>{let r=a.relatedTarget,n=m.value||"sourceCapabilities"in a&&null===a.sourceCapabilities?null:$dt(r);m.value=!1,S(h.value??e.method,t,n)},T=(t,a)=>{a.stopPropagation(),S(h.value??e.method,t,'[data-addressbar-action="send"]')},E=t=>{"\n"===t.target?.innerText&&e.eventBus.emit("server:update:selected",{url:"",meta:e.serverMeta})},C=()=>{e.eventBus.emit("copy-url:address-bar")},P=()=>{"operation"!==e.serverMeta.type?e.eventBus.emit("ui:navigate",{page:"document",path:"servers"}):e.eventBus.emit("ui:navigate",{page:"operation",path:"servers",operationPath:e.serverMeta.path,method:e.serverMeta.method})},M=[];return ts(()=>{M.push(e.eventBus.on("ui:focus:address-bar",k),e.eventBus.on("ui:focus:send-button",w),e.eventBus.on("hooks:on:request:sent",c),e.eventBus.on("hooks:on:request:complete",u))}),ns(()=>{for(let e of M)e();u()}),t({methodConflict:h,pathConflict:p}),(t,a)=>(Zo(),qo("div",Idt,[Go("div",{id:Fa(n),class:tt(["address-bar-bg-states text-xxs group relative flex h-(--scalar-address-bar-height) w-full flex-1 flex-row items-stretch rounded-lg p-0.75",{"outline-c-danger outline":y.value,"rounded-b-none":O.value}])},[Go("div",{class:tt(["pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border",{"rounded-b-none":O.value}])},[Go("div",{class:"absolute top-0 left-0 h-full w-full",style:Je(b.value)},null,4)],2),Go("div",Ddt,[qs(Fa(Gut),{isEditable:"modal"!==e.layout,isSquare:"",method:h.value??e.method,teleport:"",onChange:A},null,8,["isEditable","method"])]),Go("div",Ldt,[e.servers.length?(Zo(),Fo(Fa(Odt),{key:0,layout:e.layout,meta:e.serverMeta,server:e.server,servers:e.servers,target:Fa(n),"onUpdate:open":a[0]||=e=>f.value=e,"onUpdate:selectedServer":a[1]||=t=>e.eventBus.emit("server:update:selected",t),"onUpdate:servers":P,"onUpdate:variable":a[2]||=t=>e.eventBus.emit("server:update:variables",t)},null,8,["layout","meta","server","servers","target"])):ai("",!0),qs(Fa(BNe),{ref_key:"addressBarRef",ref:s,alwaysEmitChange:"","aria-label":"Path",class:"ml-1 min-w-fit pl-px outline-none",disableCloseBrackets:"",disabled:"modal"===e.layout,disableEnter:"",disableTabIndent:"",emitOnBlur:!1,environment:e.environment,extensions:[Fa(v)],importCurl:"",layout:e.layout,modelValue:e.path,placeholder:e.server?"":"Enter a URL",server:"",onBlur:_,onKeydown:[Tc(E,["delete"]),a[3]||=Tc(e=>m.value=!0,["tab"])],onSubmit:T},null,8,["disabled","environment","extensions","layout","modelValue","placeholder"])]),qs(Fa(tce),{class:"hover:bg-b-3 mx-1 hidden @3xl:flex",size:"xs",variant:"ghost",onClick:C},{default:cn(()=>[qs(Fa(Ag)),a[8]||=Go("span",{class:"sr-only"},"Copy URL",-1)]),_:1}),qs(Tdt,{history:e.history,target:Fa(n),"onSelect:history:item":a[4]||=e=>r("select:history:item",e),"onUpdate:open":a[5]||=e=>g.value=e},null,8,["history","target"]),y.value?(Zo(),qo("div",Bdt,[Go("div",jdt,[qs(Fa(ow),{size:"sm"}),Go("div",Udt,[a[9]||=ei(" A ",-1),Go("em",null,Kt(h.value?.toUpperCase()??e.method.toUpperCase()),1),a[10]||=ei(" request to ",-1),qs(Fa(Mdt),{text:p.value??e.path},null,8,["text"]),a[11]||=ei(" already exists in this document ",-1)])])])):ai("",!0),qs(Fa(tce),{ref_key:"sendButtonRef",ref:o,class:"relative hidden h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold @3xl:flex","data-addressbar-action":"send",disabled:Fa(d),onClick:a[6]||=e=>r("execute")},{default:cn(()=>[Go("span",zdt,[qs(Fa(Ple),{class:"relative shrink-0 fill-current",icon:"Play",size:"xs"}),a[12]||=Go("span",{class:"text-xxs flex"},"Send",-1)]),Go("span",Hdt," Send "+Kt(e.method)+" request to "+Kt(e.server?.url??"")+Kt(e.path),1)]),_:1},8,["disabled"])],10,Rdt),Go("div",Zdt,[qs(Fa(Gut),{isEditable:"modal"!==e.layout,isSquare:"",method:h.value??e.method,teleport:"",onChange:A},null,8,["isEditable","method"]),qs(Fa(tce),{class:"hover:bg-b-3 ml-auto",size:"xs",variant:"ghost",onClick:C},{default:cn(()=>[qs(Fa(Ag)),a[13]||=Go("span",{class:"sr-only"},"Copy URL",-1)]),_:1}),qs(Fa(tce),{ref_key:"mobileSendButtonRef",ref:i,class:"relative h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold","data-addressbar-action":"send",disabled:Fa(d),onClick:a[7]||=e=>r("execute")},{default:cn(()=>[Go("span",Vdt,[qs(Fa(Ple),{class:"relative shrink-0 fill-current",icon:"Play",size:"xs"}),a[14]||=Go("span",{class:"text-xxs"},"Send",-1)]),Go("span",Qdt," Send "+Kt(e.method)+" request to "+Kt(e.server?.url??"")+Kt(e.path),1)]),_:1},8,["disabled"])])]))}})}),Vpt=V(()=>{_m(),Zpt(),Fdt=km(qdt,[["__scopeId","data-v-372238a6"]])}),Qpt=V(()=>{Rc(),lce(),Qle(),khe(),Wdt={class:"relative flex items-center"},Xdt={class:"flex max-w-[220px] min-w-0 items-center gap-1.5"},Gdt={class:"text-xxs block max-w-[160px] min-w-0 truncate text-left font-medium"},Ydt={class:"min-w-0 flex-1 truncate"},Kdt={class:"bg-c-accent text-b-1 mt-0.5 flex h-4 w-4 shrink-0 items-center justify-center rounded-full p-[3px]"},Jdt={class:"min-w-0 flex-1 text-left"},ept={class:"block truncate"},tpt={class:"flex h-4 w-4 items-center justify-center"},apt={key:5,class:"text-c-3 px-2 py-1.5 text-xs"},rpt=Pn({__name:"EnvironmentSelector",props:{environments:{default:()=>[]},activeEnvironment:{}},emits:["select:environment","add:environment"],setup(e,{emit:t}){let a=t,r=ol(()=>!!e.activeEnvironment),n=ol(()=>e.environments.length>0),o=ol(()=>!!e.activeEnvironment&&e.environments.includes(e.activeEnvironment)),i=ol(()=>r.value&&!o.value),s=ol(()=>i.value?`${e.activeEnvironment} (Unavailable)`:r.value?e.activeEnvironment:n.value?"Select Environment":"Add Environment"),l=ol(()=>i.value?"hover:bg-b-2 text-c-2 border-transparent":r.value?"bg-c-accent/10 text-c-accent hover:bg-c-accent/20 border-c-accent/30":n.value?"hover:bg-b-2 text-c-2 border-transparent":"hover:bg-b-2 text-c-3 border-transparent"),c=()=>{a("add:environment")},u=e=>{a("select:environment",e)};return(t,a)=>(Zo(),qo("div",Wdt,[qs(Fa(Xpe),null,{items:cn(()=>[r.value?(Zo(),Fo(Fa(che),{key:0,class:"group/item flex w-full items-center gap-1.5",onClick:a[0]||=e=>u("")},{default:cn(()=>[Go("div",{class:tt(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",e.activeEnvironment?"shadow-border text-transparent":"bg-c-accent text-b-1"])},[qs(Fa(Ple),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),a[1]||=Go("span",{class:"text-c-2"},"No Environment",-1)]),_:1})):ai("",!0),r.value&&n.value?(Zo(),Fo(Fa(she),{key:1})):ai("",!0),(Zo(!0),qo(Ls,null,Yn(e.environments,t=>(Zo(),Fo(Fa(che),{key:t,class:"group/item flex w-full min-w-0 items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",onClick:e=>u(t)},{default:cn(()=>[Go("div",{class:tt(["flex h-4 w-4 items-center justify-center rounded-full p-[3px]",e.activeEnvironment===t?"bg-c-accent text-b-1":"shadow-border text-transparent"])},[qs(Fa(Ple),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),Go("span",Ydt,Kt(t),1)]),_:2},1032,["onClick"]))),128)),i.value?(Zo(),Fo(Fa(she),{key:2})):ai("",!0),i.value?(Zo(),Fo(Fa(che),{key:3,class:"group/item flex h-auto w-full min-w-0 items-start gap-1.5 overflow-hidden",disabled:""},{default:cn(()=>[Go("div",Kdt,[qs(Fa(Ple),{class:"size-2.5",icon:"Checkmark",thickness:"3"})]),Go("div",Jdt,[Go("span",ept,Kt(e.activeEnvironment),1),a[2]||=Go("span",{class:"text-c-3 block truncate text-xs"}," Not available in this context ",-1)])]),_:1})):ai("",!0),n.value?(Zo(),Fo(Fa(she),{key:4})):ai("",!0),qs(Fa(che),{class:"text-c-accent flex items-center gap-1.5",onClick:c},{default:cn(()=>[Go("div",tpt,[qs(Fa(Ple),{icon:"Add",size:"sm"})]),Go("span",null,Kt(n.value?"New Environment":"Create Environment"),1)]),_:1}),n.value||r.value?ai("",!0):(Zo(),qo("div",apt,[...a[3]||=[Go("p",{class:"mb-1"}," Environments let you manage variables like API keys and base URLs across different contexts. ",-1)]]))]),default:cn(()=>[qs(Fa(tce),{"aria-label":`Current environment: ${s.value}`,class:tt(["line-clamp-1 h-full w-fit justify-start border px-2 py-1 font-normal transition-colors",l.value]),size:"sm",variant:"ghost"},{default:cn(()=>[Go("div",Xdt,[qs(Fa(Ple),{class:tt(["shrink-0",r.value&&!i.value?"text-c-accent":"text-c-3"]),icon:"Globe",size:"sm"},null,8,["class"]),Go("span",Gdt,Kt(s.value),1),qs(Fa(Ple),{class:"shrink-0",icon:"ChevronDown",size:"xs"})])]),_:1},8,["aria-label","class"])]),_:1})]))}})}),qpt=V(()=>{Qpt(),npt=rpt}),Fpt=V(()=>{hA(),Vpt(),qpt(),Rc(),ZS(),Qle(),jJe(),opt={class:"lg:min-h-header t-app__top-container @container flex w-full flex-wrap items-center justify-center p-2"},ipt={class:"mb-2 flex flex-1 items-center justify-end gap-2 @3xl:mb-0"},spt=Pn({__name:"Header",props:{path:{},method:{},layout:{},hideClientButton:{type:Boolean,default:!1},integration:{},documentSlug:{},exampleKey:{},documentUrl:{},source:{},server:{},servers:{},history:{},eventBus:{},environments:{},activeEnvironment:{},environment:{},serverMeta:{}},emits:["execute","select:history:item","add:environment","navigate:settings"],setup(e,{emit:t}){let a=t,r=t=>{e.eventBus.emit("workspace:update:active-environment",t)},n=()=>{e.eventBus.emit("ui:navigate",{page:"document",path:"environment"})};return(t,o)=>(Zo(),qo("div",opt,[o[8]||=Go("div",{class:"flex flex-1"},null,-1),qs(Fa(Fdt),{activeEnvironment:e.activeEnvironment,documentSlug:e.documentSlug,environment:e.environment,environments:e.environments,eventBus:e.eventBus,exampleKey:e.exampleKey,history:e.history,layout:e.layout,method:e.method,path:e.path,server:e.server,serverMeta:e.serverMeta,servers:e.servers,"onAdd:environment":o[0]||=e=>a("add:environment"),onExecute:o[1]||=e=>a("execute"),"onSelect:history:item":o[2]||=e=>a("select:history:item",e)},null,8,["activeEnvironment","documentSlug","environment","environments","eventBus","exampleKey","history","layout","method","path","server","serverMeta","servers"]),Go("div",ipt,["modal"===e.layout?ai("",!0):(Zo(),Fo(npt,{key:0,activeEnvironment:e.activeEnvironment,environments:e.environments,"onAdd:environment":n,"onSelect:environment":r},null,8,["activeEnvironment","environments"])),"modal"===e.layout?ai("",!0):(Zo(),Fo(Fa(wKe),{key:1,icon:Fa(Yv),label:"Operation settings",size:"sm",weight:"bold",onClick:o[3]||=e=>a("navigate:settings")},null,8,["icon"])),"modal"===e.layout&&e.documentUrl&&!e.hideClientButton?(Zo(),Fo(KS,{key:2,buttonSource:"modal",class:"!w-fit lg:-mr-1",integration:e.integration??null,operationMethod:e.method,operationPath:e.path,source:e.source??"api-reference",url:e.documentUrl},null,8,["integration","operationMethod","operationPath","source","url"])):ai("",!0),"modal"===e.layout&&"gitbook"!==e.source?(Zo(),qo("button",{key:3,class:"app-exit-button zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2",type:"button",onClick:o[4]||=t=>e.eventBus.emit("ui:close:client-modal")},[qs(Fa(Ple),{icon:"Close",size:"lg",thickness:"2"}),o[6]||=Go("span",{class:"sr-only"},"Close Client",-1)])):ai("",!0),"modal"===e.layout&&"gitbook"===e.source?(Zo(),qo("button",{key:4,class:"text-c-1 hover:bg-b-2 active:text-c-1 -mr-1.5 rounded p-2",type:"button",onClick:o[5]||=t=>e.eventBus.emit("ui:close:client-modal")},[qs(Fa(Ple),{icon:"Close",size:"md",thickness:"1.75"}),o[7]||=Go("span",{class:"sr-only"},"Close Client",-1)])):ai("",!0)])]))}})}),Wpt=V(()=>{_m(),Fpt(),lpt=km(spt,[["__scopeId","data-v-42c563b3"]])});function Xpt(e={}){let{notify:t=e=>a(e,"info")}=e,{toast:a}=C4e();return{copyToClipboard:async function(e){try{let a=Gpt(e);await navigator.clipboard.writeText(a),t("Copied to the clipboard")}catch(e){let a=e;console.error(a.message),t("Failed to copy to clipboard")}}}}var Gpt,Ypt,Kpt,Jpt,eht,tht,aht,rht,nht,oht,iht=V(()=>{$4e(),Gpt=e=>void 0===e?"undefined":"string"==typeof e?e:JSON.stringify(e)}),sht=V(()=>{iht()}),lht=V(()=>{lE(),yE(),d_(),OE(),xE(),LE(),BJ(),R6(),Qat(),mpt(),Wpt(),Rc(),LJ(),QA(),qA(),FA(),sut(),UJ(),sht(),$4e(),Ypt={class:"bg-b-1 flex h-full flex-col"},Kpt={class:"lg:min-h-header flex w-full flex-wrap items-center justify-center p-2 lg:p-0"},Jpt=Pn({name:"OperationBlock",props:{eventBus:{},appVersion:{},document:{},documentSlug:{},workspaceCookies:{default:()=>[]},documentCookies:{default:()=>[]},path:{},method:{},httpClients:{default:()=>TJ},history:{default:()=>[]},layout:{},server:{},selectedClient:{},servers:{},serverMeta:{},hideClientButton:{type:Boolean},integration:{},documentUrl:{},source:{},operation:{},exampleKey:{},authMeta:{},securitySchemes:{},plugins:{default:()=>[]},environments:{},activeEnvironment:{},environment:{},proxyUrl:{},selectedSecurity:{},selectedSecuritySchemes:{},securityRequirements:{},defaultHeaders:{},requestBodyCompositionSelection:{},options:{}},setup(e){let t=ol(()=>k6(e.httpClients)),{toast:a}=C4e(),{copyToClipboard:r}=Xpt(),n=Za(null),o=Za(null),i=Za(null),s=()=>n.value?.abort(wA.REQUEST_ABORTED),l=async()=>{let{request:t}=JY({defaultHeaders:e.defaultHeaders,environment:e.environment,exampleName:e.exampleKey,globalCookies:[...e.workspaceCookies,...e.documentCookies],method:e.method,operation:e.operation,path:e.path,proxyUrl:e.proxyUrl,server:e.server,selectedSecuritySchemes:e.selectedSecuritySchemes,isElectron:AA(),requestBodyCompositionSelection:e.requestBodyCompositionSelection});await r(cY(t,vY(e.environment)))},c=async()=>{if(e.eventBus.flushDebouncedEmits?.(),!1===AJ(e.operation.parameters??[],e.exampleKey).ok)return void a("Path parameters must have values.","error");let t=[...e.workspaceCookies,...e.documentCookies],{request:r}=JY({defaultHeaders:e.defaultHeaders,environment:e.environment,exampleName:e.exampleKey,globalCookies:t,method:e.method,operation:e.operation,path:e.path,proxyUrl:e.proxyUrl,server:e.server,selectedSecuritySchemes:e.selectedSecuritySchemes,isElectron:AA(),requestBodyCompositionSelection:e.requestBodyCompositionSelection});o.value&&"reader"in o.value&&o.value.reader.cancel();let s=function(){let e=[],t=[],a=[],r=[];return{getEnvironment:()=>e,getGlobals:()=>a,getCollectionVariables:()=>t,getData:()=>({}),getLocalVariables:()=>r,setLocalVariables:e=>{r.length=0,r.push(...e)},setCollectionVariables:e=>{t.length=0,t.push(...e)},setEnvironment:t=>{e.length=0,e.push(...t)},setGlobals:e=>{a.length=0,a.push(...e)},getVariables:()=>Object.fromEntries([...a,...t,...e,...r].map(e=>[e.key,e.value]))}}();await dnt({requestBuilder:r,document:e.document,operation:e.operation,variablesStore:s},"beforeRequest",e.plugins);let l=uY(r,{envVariables:{...vY(e.environment),...s.getVariables()},allowMissingRequestServerBase:"modal"===e.layout});if(!l.ok)return void a(l.message??l.error,"error");n.value=l.data.controller,e.eventBus.emit("hooks:on:request:sent",{meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}});let[c,u]=await i_({isUsingProxy:l.data.isUsingProxy,requestPayload:l.data.requestPayload,plugins:e.plugins,customFetch:Wa(e.options)?.customFetch});if(u&&await dnt({response:u.originalResponse.clone(),requestBuilder:r,request:EA(...u.requestPayload),document:e.document,operation:e.operation,variablesStore:s},"responseReceived",e.plugins),e.eventBus.emit("hooks:on:request:complete",{payload:u?{response:u.originalResponse.clone(),requestPayload:u.requestPayload,duration:u.response.duration,timestamp:u.timestamp}:void 0,meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}}),c)return o.value=null,i.value=null,n.value=null,void a(c.message,"error");o.value=u.response,i.value=u.requestPayload,function(e){return"reader"in e}(u.response)||SE.set(kE(e.method,e.path,e.exampleKey),{response:u.response,requestPayload:u.requestPayload})};ts(()=>{e.eventBus.on("operation:send:request:hotkey",c),e.eventBus.on("operation:cancel:request",s),e.eventBus.on("copy-url:address-bar",l),dnt({document:e.document,operation:e.operation},"onRequestMount",e.plugins)}),ns(()=>{e.eventBus.off("operation:send:request:hotkey",c),e.eventBus.off("operation:cancel:request",s),e.eventBus.off("copy-url:address-bar",l)});let u=ol(()=>e.history.map(e=>({method:e.request.method,path:e.request.url,duration:e.time,status:e.response.status})).reverse()),d=({index:t})=>{let a=(e.history.length??0)-t-1,r=e.history[a];r&&e.eventBus.emit("operation:reload:history",{meta:{path:e.path,method:e.method},index:a,callback:()=>e.eventBus.emit("ui:navigate",{page:"example",method:e.method,path:e.path,exampleName:"draft",callback:t=>{if("success"!==t)return;let a=fE({harResponse:r.response,url:r.request.url,method:e.method,path:e.path,duration:r.time}),n=pE({harRequest:r.request});o.value=a,i.value=n}})})},p=()=>{e.eventBus.emit("ui:navigate",{page:"operation",path:"overview",operationPath:e.path,method:e.method})};return fn([()=>e.path,()=>e.method,()=>e.exampleKey],([t,a,r])=>{let n=SE.get(kE(a,t,r));if(n)o.value=n.response,i.value=n.requestPayload;else{let n=(()=>{for(let t=e.history.length-1;t>=0;t--){let a=e.history[t];if(a?.meta.example===r)return a}})();n?(o.value=fE({harResponse:n.response,url:n.request.url,method:a,path:t,duration:n.time}),i.value=null):(o.value=null,i.value=null)}s()},{immediate:!0}),ns(()=>{s()}),(a,r)=>(Zo(),qo("div",Ypt,[Go("div",Kpt,[qs(lpt,{activeEnvironment:e.activeEnvironment,documentSlug:e.documentSlug,documentUrl:e.documentUrl,environment:e.environment,environments:e.environments,eventBus:e.eventBus,exampleKey:e.exampleKey,hideClientButton:e.hideClientButton,history:u.value,integration:e.integration,layout:e.layout,method:e.method,path:e.path,server:e.server,serverMeta:e.serverMeta,servers:e.servers,source:e.source,onExecute:c,"onNavigate:settings":p,"onSelect:history:item":d},null,8,["activeEnvironment","documentSlug","documentUrl","environment","environments","eventBus","exampleKey","hideClientButton","history","integration","layout","method","path","server","serverMeta","servers","source"])]),qs(nE,{class:"border-t"},{default:cn(()=>[qs(dE,{class:"flex-1"},{default:cn(()=>[qs(Fa(xat),{authMeta:e.authMeta,clientOptions:t.value,defaultHeaders:e.defaultHeaders,documentCookies:e.documentCookies,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,layout:e.layout,method:e.method,operation:e.operation,options:Wa(e.options),path:e.path,plugins:e.plugins,proxyUrl:e.proxyUrl,requestBodyCompositionSelection:e.requestBodyCompositionSelection,securityRequirements:e.securityRequirements,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedSecurity:e.selectedSecurity,selectedSecuritySchemes:e.selectedSecuritySchemes,server:e.server,workspaceCookies:e.workspaceCookies},null,8,["authMeta","clientOptions","defaultHeaders","documentCookies","environment","eventBus","exampleKey","layout","method","operation","options","path","plugins","proxyUrl","requestBodyCompositionSelection","securityRequirements","securitySchemes","selectedClient","selectedSecurity","selectedSecuritySchemes","server","workspaceCookies"]),qs(Fa(qut),{appVersion:e.appVersion,eventBus:e.eventBus,layout:e.layout,plugins:e.plugins,requestPayload:i.value,response:o.value,totalPerformedRequests:u.value.length},null,8,["appVersion","eventBus","layout","plugins","requestPayload","response","totalPerformedRequests"])]),_:1})]),_:1})]))}})}),cht=V(()=>{lht(),eht=Jpt}),uht=V(()=>{iE(),Rc(),tht=Pn({inheritAttrs:!1,__name:"ScalarColorModeToggleIcon",props:{is:{default:"button"},mode:{default:"light"}},setup(e){let{cx:t}=aE(),a=ol(()=>"dark"===e.mode?"Set light mode":"Set dark mode");return(r,n)=>(Zo(),Fo(Wn(e.is),ii({"aria-label":a.value,class:`toggle-icon-${e.mode}`,type:"button"===e.is?"button":void 0},Fa(t)("size-3 flex items-center justify-center text-c-1")),{default:cn(()=>[...n[0]||=[Go("span",{class:"toggle-icon-sun-ray"},null,-1),Go("span",{class:"toggle-icon-sun-ray"},null,-1),Go("span",{class:"toggle-icon-sun-ray"},null,-1),Go("span",{class:"toggle-icon-sun-ray"},null,-1),Go("span",{class:"toggle-icon-ellipse"},[Go("span",{class:"toggle-icon-moon-mask"})],-1)]]),_:1},16,["aria-label","class","type"]))}})}),dht=V(()=>{U6(),uht(),aht=P6(tht,[["__scopeId","data-v-60be8692"]])}),pht=V(()=>{dht(),iE(),Rc(),rht=["aria-pressed"],nht=Pn({inheritAttrs:!1,__name:"ScalarColorModeToggleButton",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){let{cx:t}=aE(),a=wo(e,"modelValue");return(e,r)=>(Zo(),qo("button",ii({"aria-pressed":a.value,type:"button"},Fa(t)("group/toggle flex h-6 w-[38px] brightness-lifted -mx-px items-center py-1.5 -my-1.5 relative outline-none"),{onClick:r[0]||=e=>a.value=!a.value}),[r[1]||=Go("div",{class:"h-3 w-full bg-border mx-px rounded-xl group-focus-visible/toggle:outline -outline-offset-1"},null,-1),Go("div",{class:tt(["size-[23px] left-border absolute border rounded-full flex items-center justify-center bg-b-1 group-focus-visible/toggle:outline -outline-offset-1 transition-transform duration-300 ease-in-out",{"translate-x-[14px]":a.value}])},[qs(aht,{is:"div",mode:a.value?"dark":"light"},null,8,["mode"])],2)],16,rht))}})}),hht=V(()=>{pht(),oht=nht});function mht(e={}){let{initialColorMode:t="system",overrideColorMode:a}=e;function r(e){fht.value=e,!(typeof window>"u")&&window?.localStorage?.setItem("colorMode",fht.value)}function n(){return typeof window>"u"?"light":"function"==typeof window?.matchMedia?window?.matchMedia("(prefers-color-scheme: dark)")?.matches?"dark":"light":"dark"}let i=ol({get:()=>"system"===fht.value?n():fht.value,set:r}),s=ol({get:()=>"dark"===i.value,set:e=>r(e?"dark":"light")});function l(e){typeof document>"u"||typeof window>"u"||("dark"===(a??("system"===e?n():e))?(document.body.classList.add("dark-mode"),document.body.classList.remove("light-mode")):(document.body.classList.add("light-mode"),document.body.classList.remove("dark-mode")))}let c=typeof window>"u"?"system":window?.localStorage?.getItem("colorMode"),u=o(ght,c)?c:null;fht.value=a??u??t,fn(fht,l,{immediate:!0});let d=()=>"system"===fht.value&&l("system"),p=Za(null);return ts(()=>{typeof window<"u"&&"function"==typeof window?.matchMedia&&(p.value=window.matchMedia("(prefers-color-scheme: dark)"),p.value?.addEventListener("change",d))}),os(()=>{p.value?.removeEventListener("change",d)}),{colorMode:ol({get:()=>fht.value,set:r}),darkLightMode:i,isDarkMode:s,toggleColorMode:function(){fht.value="dark"===i.value?"light":"dark",!(typeof window>"u")&&window?.localStorage?.setItem("colorMode",fht.value)},setColorMode:r,getSystemModePreference:n}}var fht,ght,vht,bht,yht,Oht,xht,wht,kht,Sht,Aht,_ht,Tht,Eht,Cht,Pht,Mht,$ht,Nht,Iht,Rht,Dht,Lht,Bht,jht,Uht,zht,Hht,Zht,Vht,Qht,qht,Fht,Wht,Xht,Ght,Yht,Kht,Jht,emt,tmt,amt,rmt,nmt,omt,imt,smt,lmt,cmt,umt,dmt,pmt,hmt,mmt,fmt,gmt,vmt,bmt,ymt,Omt,xmt,wmt,kmt,Smt,Amt=V(()=>{J(),Rc(),fht=Za("dark"),ght=w([A("system"),A("dark"),A("light")])}),_mt=V(()=>{Amt()}),Tmt=V(()=>{dht(),hht(),Rc(),_mt(),vht=Pn({__name:"ScalarColorModeToggle",props:{variant:{default:"switch"}},setup(e){let{isDarkMode:t,toggleColorMode:a,darkLightMode:r}=mht(),n=ol(()=>t.value?"Set light mode":"Set dark mode");return(o,i)=>"switch"===e.variant?(Zo(),Fo(oht,{key:0,modelValue:Fa(t),"onUpdate:modelValue":i[0]||=e=>Ha(t)?t.value=e:null,"aria-label":n.value},null,8,["modelValue","aria-label"])):(Zo(),Fo(aht,{key:1,"aria-label":n.value,mode:Fa(r),onClick:Fa(a)},null,8,["aria-label","mode","onClick"]))}})}),Emt=V(()=>{Tmt(),bht=vht}),Cmt=V(()=>{dht(),hht(),Emt()}),Pmt=V(()=>{yht="scalar-app",Oht="headlessui-portal-root",xht=e=>null!==e&&e instanceof HTMLElement,wht=e=>{!e||e.classList.contains(yht)||e.classList.add(yht)},kht=()=>{wht(document.getElementById(Oht));let e=new MutationObserver(e=>e.forEach(({addedNodes:e})=>e.forEach(e=>{xht(e)&&e.id===Oht&&wht(e)})));return e.observe(document.body,{childList:!0}),e}}),Mmt=V(()=>{Pmt()}),$mt=V(()=>{iE(),Rc(),Sht=Pn({inheritAttrs:!1,__name:"ScalarSidebar",setup(e){let{cx:t}=aE();return(e,a)=>(Zo(),qo("aside",at(Ko(Fa(t)("flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72"))),[Jn(e.$slots,"default")],16))}})}),Nmt=V(()=>{$mt(),Aht=Sht}),Imt=V(()=>{iE(),Rc(),_ht=Pn({inheritAttrs:!1,__name:"ScalarSidebarIndent",props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){let t=ol(()=>Array.from({length:e.indent},(e,t)=>t)),{cx:a}=aE();return(r,n)=>(Zo(),qo("div",at(Ko(Fa(a)("scalar-sidebar-indent flex justify-center",{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[(Zo(!0),qo(Ls,null,Yn(t.value,(a,r)=>(Zo(),qo("div",{key:a,class:"relative w-[var(--scalar-sidebar-indent)]"},[n[0]||=Go("div",{class:"scalar-sidebar-indent-border absolute left-2 inset-y-0 w-border bg-sidebar-indent-border"},null,-1),r===t.value.length-1?(Zo(),qo("div",{key:0,class:tt(["absolute left-2 inset-y-0 w-border",e.disabled?"":e.selected?"bg-sidebar-indent-border-active":"group-hover/button:bg-sidebar-indent-border-hover"])},null,2)):ai("",!0)]))),128))],16))}})}),Rmt=V(()=>{U6(),Imt(),Tht=P6(_ht,[["__scopeId","data-v-3e080c68"]])}),Dmt=V(()=>{Vle(),Rmt(),iE(),Rc(),Eht={key:0,class:"h-lh *:size-4 mr-1 flex items-center"},Cht={class:"group/button-label flex-1 min-w-0"},Pht=Pn({inheritAttrs:!1,__name:"ScalarSidebarButton",props:{is:{default:"a"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{default:0}},setup(e){let t=XT({base:["group/button peer/button flex items-stretch rounded p-2","font-sidebar text-base/4  text-sidebar-c-2 no-underline wrap-break-word"],variants:{active:{true:"text-sidebar-c-active font-sidebar-active"},disabled:{true:"cursor-auto"},selected:{true:"cursor-auto bg-sidebar-b-active text-sidebar-c-active font-sidebar-active"}},compoundVariants:[{selected:!1,disabled:!1,active:!1,class:"hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"},{selected:!1,disabled:!1,active:!0,class:"hover:bg-sidebar-b-hover"}],defaultVariants:{selected:!1,disabled:!1,active:!1}}),{cx:a}=aE();return(r,n)=>(Zo(),Fo(Wn(e.is),ii({"aria-selected":e.selected,type:"button"===e.is?"button":void 0},Fa(a)(Fa(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:cn(()=>[Jn(r.$slots,"indent",{},()=>[qs(Tht,{class:"-my-2",disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,["disabled","indent","selected"])]),e.icon||r.$slots.icon?(Zo(),qo("div",Eht,[Jn(r.$slots,"icon",{},()=>[e.icon?(Zo(),Fo(Fa($le),{key:0,icon:e.icon},null,8,["icon"])):ai("",!0)])])):ai("",!0),Go("div",Cht,[Jn(r.$slots,"default")]),Jn(r.$slots,"aside")]),_:3},16,["aria-selected","type"]))}})}),Lmt=V(()=>{Dmt(),Mht=Pht}),Bmt=V(()=>{Emt(),iE(),Rc(),$ht={class:"flex items-center"},Nht={class:"flex-1 min-w-0 flex items-center text-sm text-sidebar-c-2"},Iht=Pn({inheritAttrs:!1,__name:"ScalarSidebarFooter",setup(e){let{cx:t}=aE();return(e,a)=>(Zo(),qo("div",at(Ko(Fa(t)("flex flex-col gap-3 px-3 pb-3 border-sidebar-border"))),[Jn(e.$slots,"default"),Go("div",$ht,[Go("div",Nht,[Jn(e.$slots,"description",{},()=>[a[0]||=Go("a",{class:"no-underline hover:underline",href:"https://www.scalar.com",target:"_blank"}," Powered by Scalar ",-1)])]),Jn(e.$slots,"toggle",{},()=>[qs(Fa(bht))])])],16))}})}),jmt=V(()=>{Bmt(),Rht=Iht}),Umt=V(()=>{Vle(),iE(),Rc(),ZS(),Dht={class:"sr-only"},Lht=Pn({inheritAttrs:!1,__name:"ScalarSidebarGroupToggle",props:{is:{default:"div"},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){let t=XT({base:"size-4 flex items-center justify-center transition-transform duration-100",variants:{open:{true:"rotate-90"}},defaultVariants:{open:!1}}),{cx:a}=aE();return(r,n)=>(Zo(),Fo(Wn(e.is),ii({type:"button"===e.is?"button":void 0},Fa(a)(Fa(t)({open:e.open}))),{default:cn(()=>[Jn(r.$slots,"default",{open:e.open},()=>[e.icon?(Zo(),Fo(Fa($le),{key:0,icon:e.icon},null,8,["icon"])):(Zo(),Fo(Fa(Ff),{key:1,class:"size-3",weight:"bold"}))]),Go("span",Dht,[Jn(r.$slots,"label",{open:e.open},()=>[ei(Kt(e.open?"Close":"Open")+" Group ",1)])])]),_:3},16,["type"]))}})}),zmt=V(()=>{Umt(),Bht=Lht}),Hmt=V(()=>{Rc(),jht=Symbol(),Uht=(e={})=>{let{increment:t=!1,reset:a=!1}=e,r=hn(jht,0);return pn(jht,a?0:t&&r<6?r+1:r),{level:r}}}),Zmt=V(()=>{Lmt(),Hmt(),iE(),Rc(),zht=Pn({inheritAttrs:!1,__name:"ScalarSidebarItem",props:{is:{},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){let t=e,{level:a}=Uht(),{cx:r}=aE();return(n,o)=>(Zo(),qo("li",at(Ko(Fa(r)("group/item flex flex-col text-base"))),[Jn(n.$slots,"before"),Jn(n.$slots,"button",{level:Fa(a)},()=>[qs(Mht,ii(t,{indent:e.indent??Fa(a)}),Kn({_:2},[n.$slots.default?{name:"default",fn:cn(()=>[Jn(n.$slots,"default")]),key:"0"}:void 0,n.$slots.icon?{name:"icon",fn:cn(()=>[Jn(n.$slots,"icon")]),key:"1"}:void 0,n.$slots.aside?{name:"aside",fn:cn(()=>[Jn(n.$slots,"aside")]),key:"2"}:void 0]),1040,["indent"])]),Jn(n.$slots,"after")],16))}})}),Vmt=V(()=>{Zmt(),Hht=zht}),Qmt=V(()=>{Vmt(),Rc(),Zht=Pn({__name:"ScalarSidebarLoading",props:{items:{default:4}},setup:e=>(t,a)=>(Zo(!0),qo(Ls,null,Yn(e.items,e=>(Zo(),Fo(Hht,{key:e,class:"pointer-events-none"},{default:cn(()=>[...a[0]||=[Go("div",{class:"group/button-loading bg-sidebar-c-2/15 rounded-lg animate-pulse h-lh w-full box-content py-px -my-px"},null,-1)]]),_:1}))),128))})}),qmt=V(()=>{Qmt(),Vht=Zht}),Fmt=V(()=>{Rmt(),Lmt(),zmt(),Hmt(),qmt(),iE(),Rc(),Qht={class:"group/group-button relative flex flex-col text-base"},qht={key:0,class:"size-4"},Fht=["aria-expanded"],Wht={key:0,class:"group/items flex flex-col gap-px"},Xht=Pn({inheritAttrs:!1,__name:"ScalarSidebarGroup",props:io({is:{default:"li"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},controlled:{type:Boolean},discrete:{type:Boolean},loading:{type:Boolean}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:io(["click","toggle"],["update:open"]),setup(e,{emit:t}){let a=t,r=wo(e,"open"),{level:n}=Uht({increment:!0}),{cx:o}=aE(),i=t=>{a("click",t),!e.controlled&&!e.discrete&&(r.value=!r.value)},s=t=>{a("toggle",t),!e.controlled&&e.discrete&&(r.value=!r.value)};return(t,a)=>(Zo(),Fo(Wn(e.is),at(Ko(Fa(o)("group/item flex flex-col gap-px"))),{default:cn(()=>[Go("div",Qht,[Jn(t.$slots,"before",{open:r.value}),Jn(t.$slots,"button",{level:Fa(n),open:r.value},()=>[qs(Mht,{is:"button",active:e.active,"aria-expanded":r.value,disabled:e.disabled,icon:e.icon,indent:Fa(n),selected:e.selected,onClick:i},Kn({indent:cn(()=>[qs(Tht,{class:"mr-0 -my-2",indent:Fa(n),selected:e.selected},null,8,["indent","selected"])]),aside:cn(()=>[Jn(t.$slots,"aside",{open:r.value}),e.discrete?(Zo(),qo("div",qht)):Jn(t.$slots,"toggle",{key:1,open:r.value},()=>[qs(Bht,{class:"text-sidebar-c-2",open:r.value},null,8,["open"])])]),default:cn(()=>[Jn(t.$slots,"default",{open:r.value})]),_:2},[t.$slots.icon?{name:"icon",fn:cn(()=>[Jn(t.$slots,"icon",{open:r.value})]),key:"0"}:void 0]),1032,["active","aria-expanded","disabled","icon","indent","selected"]),e.discrete?(Zo(),qo("button",{key:0,"aria-expanded":r.value,class:tt(["absolute top-[1lh] -translate-y-1/2 p-0.75 rounded right-1.25 text-sidebar-c-2",e.selected?"hover:bg-sidebar-b-1 hover:text-sidebar-c-1":"hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"]),type:"button",onClick:s},[Jn(t.$slots,"toggle",{open:r.value},()=>[qs(Bht,{open:r.value},{label:cn(()=>[ei(Kt(r.value?"Close":"Open")+" ",1),Jn(t.$slots,"default",{open:r.value})]),_:3},8,["open"])])],10,Fht)):ai("",!0)]),Jn(t.$slots,"after",{open:r.value})]),r.value?(Zo(),qo("ul",Wht,[e.loading?(Zo(),Fo(Vht,{key:0})):Jn(t.$slots,"items",{key:1,open:r.value})])):ai("",!0)]),_:3},16))}})}),Wmt=V(()=>{Fmt(),Ght=Xht}),Xmt=V(()=>{Rc(),Yht=Symbol(),Kht=()=>{let e=$a(new Set),t=ol(()=>{for(let t of e)if(t())return!0;return!1});return pn(Yht,e),{open:t}}}),Gmt=V(()=>{Xmt(),iE(),Rc(),Jht=Pn({inheritAttrs:!1,__name:"ScalarSidebarItems",props:{is:{default:"ul"}},setup(e){let{open:t}=Kht(),{cx:a}=aE();return(r,n)=>(Zo(),Fo(Wn(e.is),at(Ko(Fa(a)("group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300",Fa(t)?"-translate-x-full":"translate-x-0"))),{default:cn(()=>[Jn(r.$slots,"default")]),_:3},16))}})}),Ymt=V(()=>{Gmt(),emt=Jht}),Kmt=V(()=>{Rmt(),iE(),Rc(),tmt=Pn({inheritAttrs:!1,__name:"ScalarSidebarSpacer",props:{indent:{default:0}},setup(e){let{cx:t}=aE();return(a,r)=>(Zo(),qo("div",at(Ko(Fa(t)("flex px-2 h-1"))),[qs(Tht,{indent:e.indent},null,8,["indent"])],16))}})}),Jmt=V(()=>{Kmt(),amt=tmt}),eft=V(()=>{iE(),Rc(),ZS(),rmt={class:"flex-1 text-left leading-none"},nmt={key:0,class:"uppercase text-sidebar-c-2 leading-none py-1 px-1.25 rounded text-xs font-medium border"},omt=Pn({inheritAttrs:!1,__name:"ScalarSidebarSearchButton",setup(e){let{cx:t}=aE();return(e,a)=>(Zo(),qo("button",ii({role:"search",type:"button"},Fa(t)("flex items-center rounded border text-base h-8 gap-1 pl-2 pr-1","bg-sidebar-b-search border-sidebar-border-search text-sidebar-c-search")),[qs(Fa(jy),{class:"size-4"}),Go("span",rmt,[Jn(e.$slots,"default",{},()=>[a[0]||=ei("Search...",-1)])]),e.$slots.shortcut?(Zo(),qo("span",nmt,[a[1]||=Go("span",{class:"sr-only"},"Keyboard Shortcut:",-1),Go("kbd",null,[Jn(e.$slots,"shortcut")])])):ai("",!0)],16))}})}),tft=V(()=>{eft(),imt=omt}),aft=V(()=>{nce(),BJe(),iE(),Rc(),ZS(),smt=["aria-label"],lmt=Pn({inheritAttrs:!1,__name:"ScalarSidebarSearchInput",props:io({autofocus:{type:Boolean},loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=Za(null),a=wo(e,"modelValue");function r(){a.value="",t.value&&t.value.focus()}let{stylingAttrsCx:n,otherAttrs:o}=aE();return ts(()=>e.autofocus&&t.value?.focus()),(i,s)=>(Zo(),qo("label",at(Ko(Fa(n)("flex items-center rounded border text-base has-[:focus-visible]:bg-sidebar-b-1 has-[:focus-visible]:outline h-8 gap-1 pl-2 pr-1.5","bg-sidebar-b-search border-sidebar-border-search",a.value?"text-sidebar-c-1":"text-sidebar-c-search"))),[qs(Fa(jy),{class:"text-sidebar-c-search size-4"}),un(Go("input",ii({ref_key:"inputRef",ref:t,"onUpdate:modelValue":s[0]||=e=>a.value=e,"aria-label":e.label??"Enter search query",autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"flex-1 appearance-none rounded border-none bg-transparent outline-none",placeholder:"Search...",spellcheck:"false",type:"search"},Fa(o)),null,16,smt),[[bc,a.value]]),e.loader&&e.loader.isActive?(Zo(),Fo(Fa(Yle),{key:0,class:"mr-3 self-center",loader:e.loader,size:"md"},null,8,["loader"])):a.value?(Zo(),Fo(Fa(wKe),{key:1,class:"p-px size-4",icon:Fa(Cw),label:"Clear Search",weight:"bold",onClick:Ac(r,["stop","prevent"])},null,8,["icon"])):ai("",!0)],16))}})}),rft=V(()=>{aft(),cmt=lmt}),nft=V(()=>{Lmt(),Hmt(),qmt(),Jmt(),iE(),Rc(),umt={class:"flex flex-col gap-px"},dmt=Pn({inheritAttrs:!1,__name:"ScalarSidebarSection",props:{is:{default:"li"},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},loading:{type:Boolean}},setup(e){let{level:t}=Uht({increment:!1}),{cx:a}=aE();return(r,n)=>(Zo(),Fo(Wn(e.is),at(Ko(Fa(a)("group/item group/sidebar-section contents"))),{default:cn(()=>[qs(amt,{class:"group/spacer-before h-3",indent:Fa(t)},null,8,["indent"]),r.$slots.default?(Zo(),Fo(Mht,{key:0,is:"div",class:"text-sm/4 py-1.75 font-bold",disabled:"",icon:e.icon,indent:Fa(t)},{default:cn(()=>[Jn(r.$slots,"default")]),_:3},8,["icon","indent"])):ai("",!0),Go("ul",umt,[e.loading?(Zo(),Fo(Vht,{key:0})):Jn(r.$slots,"items",{key:1})]),qs(amt,{class:"group/spacer-after h-3",indent:Fa(t)},null,8,["indent"])]),_:3},16))}})}),oft=V(()=>{nft(),pmt=dmt}),ift=V(()=>{Nmt(),jmt(),Vmt(),Wmt(),Ymt(),tft(),rft(),oft()}),sft=V(()=>{hmt=/[^\p{L}\p{M}\p{N}\s_-]/gu,mmt=/[\s_-]+/g,fmt=/^-+|-+$/g,gmt=/\p{M}/gu,vmt=new Map,bmt=(e,t={})=>{let{allowedSpecialChars:a="",preserveCase:r=!1,normalizationForm:n="NFC",stripAccents:o=!1}=t,i=(()=>{if(0===a.length)return hmt;let e=vmt.get(a);if(e)return e;let t=a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),r=RegExp(`[^\\p{L}\\p{M}\\p{N}\\s_\\-${t}]`,"gu");return vmt.set(a,r),r})(),s=e.slice(0,255).trim(),l=o?s.normalize("NFD").replace(gmt,""):s.normalize(n);return(r?l:l.toLowerCase()).replace(i,"").replace(mmt,"-").replace(fmt,"")}}),lft=V(()=>{oJ(),ymt="get",Omt=e=>{if("string"!=typeof e)return console.warn(`Request method is not a string. Using ${ymt} as the default.`),ymt;let t=e.trim().toLowerCase();return nK(t)?t:(console.warn(`${e||"Request method"} is not a valid request method. Using ${ymt} as the default.`),ymt)}}),cft=V(()=>{Rc(),fpt(),lft(),xmt=Pn({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,a=ol(()=>Wut(String(t.method||""))),r=ol(()=>Omt(t.method));return(t,n)=>(Zo(),Fo(Wn(e.as??"span"),{class:"uppercase",style:Je({[e.property||"color"]:a.value.colorVar})},{default:cn(()=>[Jn(t.$slots,"default"),ei(" "+Kt(e.short?a.value.short:r.value),1)]),_:3},8,["style"]))}})}),uft=V(()=>{cft(),wmt=xmt}),dft=V(()=>{kmt=new Set(["document","operation","example","tag"]),Smt=(e,t,a)=>a&&1===t.length&&"example"===t[0]?.type&&"default"===t[0]?.name?[]:"reference"===e?t:t.filter(e=>kmt.has(e.type))});function pft(e){let{ceiling:t=.8,floor:a=.2,isDraggable:r=!0,isDroppable:n=!0,parentIds:o=[],id:i,onDragStart:s,onDragEnd:l}=e,c=ol(()=>o.at(-1)??null),u=e=>"function"==typeof n?n(fft.value,{id:i,parentId:c.value,offset:e}):Wa(n),d=hft(e=>{if(!fft.value||fft.value.id===i||o.includes(fft.value?.id??""))return;let r=gft.value?.offset,n=e.target.offsetHeight,s=a*n,l=t*n,d=null;e.offsetY<=0&&r&&"after"!==r?d=r:e.offsetY<=s?d="before":e.offsetY>=l?d="after":e.offsetY>s&&e.offsetY<l&&(d="into"),u(d)&&(gft.value={id:i,parentId:c.value,offset:d})},25),p=ol(()=>{let e=i===gft.value?.id?gft.value.offset:void 0;return e?mft({position:e}):""});return{draggableAttrs:ol(()=>({class:p.value||void 0,draggable:!!Wa(r)||void 0})),draggableEvents:{dragend:()=>{if(!gft.value||!fft.value)return;let e={...fft.value},t={...gft.value};fft.value=null,gft.value=null,document.querySelectorAll("[data-dragging]").forEach(e=>e.removeAttribute("data-dragging")),e.id!==t.id&&l?.(e,t)},dragover:e=>{e.preventDefault(),e.stopPropagation(),d(e)},dragstart:e=>{e.stopPropagation(),(e=>{if(!(Wa(r)&&e.dataTransfer&&e.target instanceof HTMLElement))return;e.target.setAttribute("data-dragging","true"),e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move";let t={id:i,parentId:c.value};fft.value=t,s?.(t)})(e)}},draggingItem:fft,hoveredItem:gft}}var hft,mft,fft,gft,vft,bft,yft,Oft=V(()=>{Rc(),iE(),hft=(e,t)=>{let a=!1;return(...r)=>{a||(e(...r),a=!0,setTimeout(()=>a=!1,t))}},mft=XT({base:"relative after:absolute after:inset-x-0 after:block after:bg-blue after:opacity-15 after:pointer-events-none after:rounded",variants:{position:{before:"after:-top-0.5 after:h-0.75",after:"after:-bottom-0.5 after:h-0.75",into:"after:inset-0"}}}),fft=Za(null),gft=Za(null)}),xft=V(()=>{vft=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a}}),wft=V(()=>{uft(),Rc(),fpt(),ZS(),bft=Pn({__name:"SidebarHttpBadge",props:{method:{},active:{type:Boolean},webhook:{type:Boolean}},setup:e=>(t,a)=>(Zo(),Fo(wmt,{class:tt(["sidebar-heading-type",`sidebar-heading-type--${e.method.toLowerCase()}`,{"sidebar-heading-type-active":e.active}]),method:e.method,property:"--method-color",short:""},{default:cn(()=>[a[0]||=Go("span",{class:"sr-only"},"HTTP Method: ",-1),Jn(t.$slots,"default",{},()=>[e.webhook?(Zo(),Fo(Fa(xw),{key:0,style:Je({color:Fa(Wut)(e.method).colorVar}),weight:"bold"},null,8,["style"])):ai("",!0)],!0)]),_:3},8,["class","method"]))})}),kft=V(()=>{xft(),wft(),yft=vft(bft,[["__scopeId","data-v-1857170e"]])});function Sft(e,t){return Zo(),qo("div",Aft,[Jn(e.$slots,"default")])}var Aft,_ft,Tft,Eft,Cft,Pft,Mft,$ft,Nft=V(()=>{xft(),Rc(),Aft={class:"absolute top-[1lh] right-0.75 flex -translate-y-1/2 opacity-0 peer-hover/button:opacity-100 peer-focus-visible/button:opacity-100 focus-within:opacity-100 hover:opacity-100 has-[&[aria-expanded=true]]:opacity-100"},_ft=vft({},[["render",Sft]])}),Ift=V(()=>{Tft=e=>"children"in e&&Array.isArray(e.children)&&e.children.length>0}),Rft=V(()=>{Ift(),Eft=(e,t,a,r)=>Tft(t)?(!r||"operation"!==t.type||1!==t.children?.length||"example"!==t.children[0]?.type||"default"!==t.children[0]?.name)&&("client"===e||"reference"===e&&("operation"!==t.type&&"webhook"!==t.type)):!("client"!==e||!a)&&("document"===t.type||"tag"===t.type)}),Dft=V(()=>{Rc(),Upt(),Cft=Pn({__name:"SidebarItemLabel",props:{item:{},operationTitleSource:{}},setup:e=>(t,a)=>"model"===e.item.type||"example"===e.item.type?(Zo(),Fo(Fa(Mdt),{key:0,preset:"property",text:e.item.title},null,8,["text"])):(Zo(),Fo(Fa(Mdt),{key:1,text:"path"===e.operationTitleSource&&"path"in e.item?e.item.path:e.item.title},null,8,["text"]))})}),Lft=V(()=>{Dft(),Pft=Cft}),Bft=V(()=>{Mft=Object.defineProperty,$ft=(e,t)=>{let a={};for(var r in e)Mft(a,r,{get:e[r],enumerable:!0});return t||Mft(a,Symbol.toStringTag,{value:"Module"}),a}}),jft=Q({default:()=>Zft,interface_content_folder_exports:()=>zft,render:()=>Uft});function Uft(e,t){return Zo(),qo("svg",Hft,[...t[0]||=[Go("path",{d:"M216 72h-85.33l-27.74-20.8a16.12 16.12 0 0 0-9.6-3.2H40a16 16 0 0 0-16 16v136a16 16 0 0 0 16 16h176.89A15.13 15.13 0 0 0 232 200.89V88a16 16 0 0 0-16-16m0 128H40V64h53.33l29.87 22.4A8 8 0 0 0 128 88h88Z"},null,-1)]])}var zft,Hft,Zft,Vft=V(()=>{Bft(),Rc(),zft=$ft({default:()=>Zft,render:()=>Uft}),Hft={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Zft={render:Uft}}),Qft=Q({default:()=>Wft,render:()=>qft});function qft(e,t){return Zo(),qo("svg",Fft,[...t[0]||=[Go("path",{d:"m246 98.73-56-64a8 8 0 0 0-6-2.73H72a8 8 0 0 0-6 2.73l-56 64a8 8 0 0 0 .17 10.73l112 120a8 8 0 0 0 11.7 0l112-120a8 8 0 0 0 .13-10.73M222.37 96H180l-36-48h36.37ZM74.58 112l30.13 75.33L34.41 112Zm89.6 0L128 202.46 91.82 112ZM96 96l32-42.67L160 96Zm85.42 16h40.17l-70.3 75.33ZM75.63 48H112L76 96H33.63Z"},null,-1)]])}var Fft,Wft,Xft=V(()=>{Rc(),Fft={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Wft={render:qft}}),Gft=Q({default:()=>Jft,render:()=>Yft});function Yft(e,t){return Zo(),qo("svg",Kft,[...t[0]||=[Go("path",{d:"m223.68 66.15-88-48.15a15.88 15.88 0 0 0-15.36 0l-88 48.17a16 16 0 0 0-8.32 14v95.64a16 16 0 0 0 8.32 14l88 48.17a15.88 15.88 0 0 0 15.36 0l88-48.17a16 16 0 0 0 8.32-14V80.18a16 16 0 0 0-8.32-14.03M216 175.82 128 224l-88-48.18V80.18L128 32l88 48.17Z"},null,-1)]])}var Kft,Jft,egt=V(()=>{Rc(),Kft={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Jft={render:Yft}}),tgt=Q({default:()=>ngt,render:()=>agt});function agt(e,t){return Zo(),qo("svg",rgt,[...t[0]||=[Go("path",{d:"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88"},null,-1)]])}var rgt,ngt,ogt=V(()=>{Rc(),rgt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ngt={render:agt}}),igt=Q({default:()=>cgt,render:()=>sgt});function sgt(e,t){return Zo(),qo("svg",lgt,[...t[0]||=[Go("path",{d:"M208 96a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16h-32a16 16 0 0 0-16 16v8H96v-8a16 16 0 0 0-16-16H48a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h8v64h-8a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-8h64v8a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-8V96Zm-32-48h32v32h-32ZM48 48h32v15.9a.5.5 0 0 0 0 .2V80H48Zm32 160H48v-32h32v15.9a.5.5 0 0 0 0 .2zm128 0h-32v-32h32Zm-24-48h-8a16 16 0 0 0-16 16v8H96v-8a16 16 0 0 0-16-16h-8V96h8a16 16 0 0 0 16-16v-8h64v8a16 16 0 0 0 16 16h8Z"},null,-1)]])}var lgt,cgt,ugt=V(()=>{Rc(),lgt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},cgt={render:sgt}}),dgt=Q({default:()=>mgt,render:()=>pgt});function pgt(e,t){return Zo(),qo("svg",hgt,[...t[0]||=[Go("path",{d:"M208 40H48a16 16 0 0 0-16 16v56c0 52.72 25.52 84.67 46.93 102.19 23.06 18.86 46 25.27 47 25.53a8 8 0 0 0 4.2 0c1-.26 23.91-6.67 47-25.53C198.48 196.67 224 164.72 224 112V56a16 16 0 0 0-16-16m0 16v56c0 2.71-.08 5.37-.23 8H136V56ZM48 56h72v64H48.23c-.15-2.63-.23-5.29-.23-8Zm2.06 80H120v84.55a131 131 0 0 1-30.93-18.74c-21.15-17.3-34.2-39.37-38.99-65.81Zm117.34 65.42a131.3 131.3 0 0 1-31.4 19.11V136h69.91c-4.75 26.24-17.64 48.18-38.51 65.42"},null,-1)]])}var hgt,mgt,fgt=V(()=>{Rc(),hgt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},mgt={render:pgt}}),ggt=Q({default:()=>ygt,render:()=>vgt});function vgt(e,t){return Zo(),qo("svg",bgt,[...t[0]||=[Go("path",{d:"M216 64h-68.69l34.35-34.34a8 8 0 1 0-11.32-11.32L128 60.69 85.66 18.34a8 8 0 0 0-11.32 11.32L108.69 64H40a16 16 0 0 0-16 16v120a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16M40 80h104v120H40Zm176 120h-56V80h56zm-16-84a12 12 0 1 1-12-12 12 12 0 0 1 12 12m0 48a12 12 0 1 1-12-12 12 12 0 0 1 12 12"},null,-1)]])}var bgt,ygt,Ogt=V(()=>{Rc(),bgt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ygt={render:vgt}}),xgt=Q({default:()=>Sgt,render:()=>wgt});function wgt(e,t){return Zo(),qo("svg",kgt,[...t[0]||=[Go("path",{d:"M224 72h-16v-8a24 24 0 0 0-24-24H40a24 24 0 0 0-24 24v96a24 24 0 0 0 24 24h112v8a24 24 0 0 0 24 24h48a24 24 0 0 0 24-24V96a24 24 0 0 0-24-24M40 168a8 8 0 0 1-8-8V64a8 8 0 0 1 8-8h144a8 8 0 0 1 8 8v8h-16a24 24 0 0 0-24 24v72Zm192 24a8 8 0 0 1-8 8h-48a8 8 0 0 1-8-8V96a8 8 0 0 1 8-8h48a8 8 0 0 1 8 8Zm-96 16a8 8 0 0 1-8 8H88a8 8 0 0 1 0-16h40a8 8 0 0 1 8 8m80-96a8 8 0 0 1-8 8h-16a8 8 0 0 1 0-16h16a8 8 0 0 1 8 8"},null,-1)]])}var kgt,Sgt,Agt=V(()=>{Rc(),kgt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Sgt={render:wgt}}),_gt=Q({default:()=>Cgt,render:()=>Tgt});function Tgt(e,t){return Zo(),qo("svg",Egt,[...t[0]||=[Go("path",{d:"M232 168h-8V72a24 24 0 0 0-24-24H56a24 24 0 0 0-24 24v96h-8a8 8 0 0 0-8 8v16a24 24 0 0 0 24 24h176a24 24 0 0 0 24-24v-16a8 8 0 0 0-8-8M48 72a8 8 0 0 1 8-8h144a8 8 0 0 1 8 8v96H48Zm176 120a8 8 0 0 1-8 8H40a8 8 0 0 1-8-8v-8h192ZM152 88a8 8 0 0 1-8 8h-32a8 8 0 0 1 0-16h32a8 8 0 0 1 8 8"},null,-1)]])}var Egt,Cgt,Pgt=V(()=>{Rc(),Egt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Cgt={render:Tgt}}),Mgt=Q({default:()=>Igt,render:()=>$gt});function $gt(e,t){return Zo(),qo("svg",Ngt,[...t[0]||=[Go("path",{d:"M176 148a12 12 0 1 1-12-12 12 12 0 0 1 12 12m-84-12a12 12 0 1 0 12 12 12 12 0 0 0-12-12m148 24v24a16 16 0 0 1-16 16H32a16 16 0 0 1-16-16v-22.87a113.38 113.38 0 0 1 35.4-82.41L26.34 53.66a8 8 0 0 1 11.32-11.32L63.82 68.5a111.43 111.43 0 0 1 128.55-.19l26-26a8 8 0 0 1 11.32 11.32L204.82 78.5c.75.71 1.5 1.43 2.24 2.17A111.25 111.25 0 0 1 240 160m-16 0a96 96 0 0 0-96-96h-.34C74.91 64.18 32 107.75 32 161.13V184h192Z"},null,-1)]])}var Ngt,Igt,Rgt=V(()=>{Rc(),Ngt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Igt={render:$gt}}),Dgt=Q({default:()=>jgt,render:()=>Lgt});function Lgt(e,t){return Zo(),qo("svg",Bgt,[...t[0]||=[Go("path",{d:"M168 72v128a8 8 0 0 1-16 0V72a8 8 0 0 1 16 0m32-48a8 8 0 0 0-8 8v168a8 8 0 0 0 16 0V32a8 8 0 0 0-8-8m-80 80a8 8 0 0 0-8 8v88a8 8 0 0 0 16 0v-88a8 8 0 0 0-8-8m-40 40a8 8 0 0 0-8 8v48a8 8 0 0 0 16 0v-48a8 8 0 0 0-8-8m-40 40a8 8 0 0 0-8 8v8a8 8 0 0 0 16 0v-8a8 8 0 0 0-8-8"},null,-1)]])}var Bgt,jgt,Ugt=V(()=>{Rc(),Bgt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},jgt={render:Lgt}}),zgt=Q({default:()=>Vgt,render:()=>Hgt});function Hgt(e,t){return Zo(),qo("svg",Zgt,[...t[0]||=[Go("path",{d:"m64.34 196.07-9.45 16a8 8 0 1 1-13.78-8.14l9.46-16a8 8 0 1 1 13.77 8.14M232 152h-47.8l-30.73-52a8 8 0 1 0-13.77 8.14l61.41 103.93a8 8 0 0 0 13.78-8.14L193.66 168H232a8 8 0 0 0 0-16m-89.53 0H90.38l68.51-115.93a8 8 0 0 0-13.78-8.14L128 56.89l-17.11-29a8 8 0 1 0-13.78 8.14l21.6 36.55L71.8 152H24a8 8 0 0 0 0 16h118.47a8 8 0 1 0 0-16"},null,-1)]])}var Zgt,Vgt,Qgt=V(()=>{Rc(),Zgt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Vgt={render:Hgt}}),qgt=Q({default:()=>Xgt,render:()=>Fgt});function Fgt(e,t){return Zo(),qo("svg",Wgt,[...t[0]||=[Go("path",{d:"M180 144h-20v-32h20a36 36 0 1 0-36-36v20h-32V76a36 36 0 1 0-36 36h20v32H76a36 36 0 1 0 36 36v-20h32v20a36 36 0 1 0 36-36m-20-68a20 20 0 1 1 20 20h-20ZM56 76a20 20 0 0 1 40 0v20H76a20 20 0 0 1-20-20m40 104a20 20 0 1 1-20-20h20Zm16-68h32v32h-32Zm68 88a20 20 0 0 1-20-20v-20h20a20 20 0 0 1 0 40"},null,-1)]])}var Wgt,Xgt,Ggt=V(()=>{Rc(),Wgt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Xgt={render:Fgt}}),Ygt=Q({default:()=>evt,render:()=>Kgt});function Kgt(e,t){return Zo(),qo("svg",Jgt,[...t[0]||=[Go("path",{d:"M237.33 106.21 61.41 41l-.16-.05a16 16 0 0 0-20.35 20.3 1 1 0 0 0 .05.16l65.26 175.92A15.77 15.77 0 0 0 121.28 248h.3a15.77 15.77 0 0 0 15-11.29l.06-.2 21.84-78 78-21.84.2-.06a16 16 0 0 0 .62-30.38Zm-87.49 38.09a8 8 0 0 0-5.54 5.54l-23 82.16-.06-.17L56 56l175.82 65.22.16.06Z"},null,-1)]])}var Jgt,evt,tvt=V(()=>{Rc(),Jgt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},evt={render:Kgt}}),avt=Q({default:()=>ovt,render:()=>rvt});function rvt(e,t){return Zo(),qo("svg",nvt,[...t[0]||=[Go("path",{d:"M176 16H80a24 24 0 0 0-24 24v176a24 24 0 0 0 24 24h96a24 24 0 0 0 24-24V40a24 24 0 0 0-24-24M72 64h112v128H72Zm8-32h96a8 8 0 0 1 8 8v8H72v-8a8 8 0 0 1 8-8m96 192H80a8 8 0 0 1-8-8v-8h112v8a8 8 0 0 1-8 8"},null,-1)]])}var nvt,ovt,ivt=V(()=>{Rc(),nvt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ovt={render:rvt}}),svt=Q({default:()=>uvt,render:()=>lvt});function lvt(e,t){return Zo(),qo("svg",cvt,[...t[0]||=[Go("path",{d:"M237.66 18.34a8 8 0 0 0-11.32 0l-52.4 52.41-5.37-5.38a32.05 32.05 0 0 0-45.26 0L100 88.69l-6.34-6.35a8 8 0 0 0-11.32 11.32l6.35 6.34-23.32 23.31a32 32 0 0 0 0 45.26l5.38 5.37-52.41 52.4a8 8 0 0 0 11.32 11.32l52.4-52.41 5.37 5.38a32 32 0 0 0 45.26 0L156 167.31l6.34 6.35a8 8 0 0 0 11.32-11.32l-6.35-6.34 23.32-23.31a32 32 0 0 0 0-45.26l-5.38-5.37 52.41-52.4a8 8 0 0 0 0-11.32m-116.29 161a16 16 0 0 1-22.62 0l-22.06-22.09a16 16 0 0 1 0-22.62L100 111.31 144.69 156Zm57.94-57.94L156 144.69 111.31 100l23.32-23.31a16 16 0 0 1 22.62 0l22.06 22a16 16 0 0 1 0 22.68ZM88.57 35a8 8 0 0 1 14.86-6l8 20a8 8 0 0 1-14.86 6Zm-64 58A8 8 0 0 1 35 88.57l20 8a8 8 0 0 1-6 14.86l-20-8A8 8 0 0 1 24.57 93m206.86 70a8 8 0 0 1-10.4 4.46l-20-8a8 8 0 1 1 5.97-14.89l20 8a8 8 0 0 1 4.43 10.43m-64 58.06a8 8 0 0 1-14.86 5.94l-8-20a8 8 0 0 1 14.86-6Z"},null,-1)]])}var cvt,uvt,dvt=V(()=>{Rc(),cvt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},uvt={render:lvt}}),pvt=Q({default:()=>fvt,render:()=>hvt});function hvt(e,t){return Zo(),qo("svg",mvt,[...t[0]||=[Go("path",{d:"M128 24a104 104 0 1 0 104 104A104.12 104.12 0 0 0 128 24m88 104a87.6 87.6 0 0 1-3.33 24h-38.51a157.4 157.4 0 0 0 0-48h38.51a87.6 87.6 0 0 1 3.33 24m-114 40h52a115.1 115.1 0 0 1-26 45 115.3 115.3 0 0 1-26-45m-3.9-16a140.8 140.8 0 0 1 0-48h59.88a140.8 140.8 0 0 1 0 48ZM40 128a87.6 87.6 0 0 1 3.33-24h38.51a157.4 157.4 0 0 0 0 48H43.33A87.6 87.6 0 0 1 40 128m114-40h-52a115.1 115.1 0 0 1 26-45 115.3 115.3 0 0 1 26 45m52.33 0h-35.62a135.3 135.3 0 0 0-22.3-45.6A88.29 88.29 0 0 1 206.37 88Zm-98.74-45.6A135.3 135.3 0 0 0 85.29 88H49.63a88.29 88.29 0 0 1 57.96-45.6M49.63 168h35.66a135.3 135.3 0 0 0 22.3 45.6A88.29 88.29 0 0 1 49.63 168m98.78 45.6a135.3 135.3 0 0 0 22.3-45.6h35.66a88.29 88.29 0 0 1-57.96 45.6"},null,-1)]])}var mvt,fvt,gvt=V(()=>{Rc(),mvt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},fvt={render:hvt}}),vvt=Q({default:()=>Ovt,render:()=>bvt});function bvt(e,t){return Zo(),qo("svg",yvt,[...t[0]||=[Go("path",{d:"M140 204a12 12 0 1 1-12-12 12 12 0 0 1 12 12m97.08-117a172 172 0 0 0-218.16 0 8 8 0 0 0 10.16 12.37 156 156 0 0 1 197.84 0A8 8 0 0 0 237.08 87M205 122.77a124 124 0 0 0-153.94 0A8 8 0 0 0 61 135.31a108 108 0 0 1 134.06 0 8 8 0 0 0 11.24-1.3 8 8 0 0 0-1.3-11.24m-32.26 35.76a76.05 76.05 0 0 0-89.42 0 8 8 0 0 0 9.42 12.94 60 60 0 0 1 70.58 0 8 8 0 1 0 9.42-12.94"},null,-1)]])}var yvt,Ovt,xvt=V(()=>{Rc(),yvt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Ovt={render:bvt}}),wvt=Q({default:()=>Avt,render:()=>kvt});function kvt(e,t){return Zo(),qo("svg",Svt,[...t[0]||=[Go("path",{d:"M128 88a40 40 0 1 0 40 40 40 40 0 0 0-40-40m0 64a24 24 0 1 1 24-24 24 24 0 0 1-24 24m73.71 7.14a80 80 0 0 1-14.08 22.2 8 8 0 0 1-11.92-10.67 63.95 63.95 0 0 0 0-85.33 8 8 0 1 1 11.92-10.67 80.08 80.08 0 0 1 14.08 84.47M69 103.09a64 64 0 0 0 11.26 67.58 8 8 0 0 1-11.92 10.67 79.93 79.93 0 0 1 0-106.67 8 8 0 1 1 11.95 10.67A63.8 63.8 0 0 0 69 103.09M248 128a119.58 119.58 0 0 1-34.29 84 8 8 0 1 1-11.42-11.2 103.9 103.9 0 0 0 0-145.56A8 8 0 1 1 213.71 44 119.58 119.58 0 0 1 248 128M53.71 200.78A8 8 0 1 1 42.29 212a119.87 119.87 0 0 1 0-168 8 8 0 1 1 11.42 11.2 103.9 103.9 0 0 0 0 145.56Z"},null,-1)]])}var Svt,Avt,_vt=V(()=>{Rc(),Svt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Avt={render:kvt}}),Tvt=Q({default:()=>Pvt,render:()=>Evt});function Evt(e,t){return Zo(),qo("svg",Cvt,[...t[0]||=[Go("path",{d:"M221.69 199.77 160 96.92V40h8a8 8 0 0 0 0-16H88a8 8 0 0 0 0 16h8v56.92L34.31 199.77A16 16 0 0 0 48 224h160a16 16 0 0 0 13.72-24.23Zm-110.83-96.52a7.93 7.93 0 0 0 1.14-4.11V40h32v59.14a7.93 7.93 0 0 0 1.14 4.11L183.36 167c-12 2.37-29.07 1.37-51.75-10.11-15.91-8.05-31.05-12.32-45.22-12.81ZM48 208l28.54-47.58c14.25-1.74 30.31 1.85 47.82 10.72 19 9.61 35 12.88 48 12.88a69.9 69.9 0 0 0 19.55-2.7L208 208Z"},null,-1)]])}var Cvt,Pvt,Mvt=V(()=>{Rc(),Cvt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Pvt={render:Evt}}),$vt=Q({default:()=>Rvt,render:()=>Nvt});function Nvt(e,t){return Zo(),qo("svg",Ivt,[...t[0]||=[Go("path",{d:"M215.79 118.17a8 8 0 0 0-5-5.66L153.18 90.9l14.66-73.33a8 8 0 0 0-13.69-7l-112 120a8 8 0 0 0 3 13l57.63 21.61-14.62 73.25a8 8 0 0 0 13.69 7l112-120a8 8 0 0 0 1.94-7.26M109.37 214l10.47-52.38a8 8 0 0 0-5-9.06L62 132.71l84.62-90.66-10.46 52.38a8 8 0 0 0 5 9.06l52.8 19.8Z"},null,-1)]])}var Ivt,Rvt,Dvt=V(()=>{Rc(),Ivt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Rvt={render:Nvt}}),Lvt=Q({default:()=>Uvt,render:()=>Bvt});function Bvt(e,t){return Zo(),qo("svg",jvt,[...t[0]||=[Go("path",{d:"M210.35 129.36c-.81-.47-1.7-.92-2.62-1.36.92-.44 1.81-.89 2.62-1.36a40 40 0 1 0-40-69.28c-.81.47-1.65 1-2.48 1.59.08-1 .13-2 .13-3a40 40 0 0 0-80 0c0 .94 0 1.94.13 3-.83-.57-1.67-1.12-2.48-1.59a40 40 0 1 0-40 69.28c.81.47 1.7.92 2.62 1.36-.92.44-1.81.89-2.62 1.36a40 40 0 1 0 40 69.28c.81-.47 1.65-1 2.48-1.59-.08 1-.13 2-.13 2.95a40 40 0 0 0 80 0c0-.94-.05-1.94-.13-2.95.83.57 1.67 1.12 2.48 1.59a39.8 39.8 0 0 0 19.94 5.36 40.4 40.4 0 0 0 10.42-1.38 40 40 0 0 0 9.64-73.28ZM104 128a24 24 0 1 1 24 24 24 24 0 0 1-24-24m74.35-56.79a24 24 0 1 1 24 41.57c-6.27 3.63-18.61 6.13-35.16 7.19a40 40 0 0 0-12.66-21.87c9.2-13.82 17.55-23.26 23.82-26.89M128 32a24 24 0 0 1 24 24c0 7.24-4 19.19-11.36 34.06a39.8 39.8 0 0 0-25.28 0C108 75.19 104 63.24 104 56a24 24 0 0 1 24-24M44.86 80a24 24 0 0 1 32.79-8.79c6.27 3.63 14.62 13.07 23.82 26.89A40 40 0 0 0 88.81 120c-16.55-1.06-28.89-3.56-35.16-7.18A24 24 0 0 1 44.86 80m32.79 104.79a24 24 0 1 1-24-41.57c6.27-3.63 18.61-6.13 35.16-7.19a40 40 0 0 0 12.66 21.87c-9.2 13.82-17.55 23.26-23.82 26.89M128 224a24 24 0 0 1-24-24c0-7.24 4-19.19 11.36-34.06a39.8 39.8 0 0 0 25.28 0C148 180.81 152 192.76 152 200a24 24 0 0 1-24 24m83.14-48a24 24 0 0 1-32.79 8.79c-6.27-3.63-14.62-13.07-23.82-26.89a40 40 0 0 0 12.66-21.9c16.55 1.06 28.89 3.56 35.16 7.18a24 24 0 0 1 8.79 32.82"},null,-1)]])}var jvt,Uvt,zvt=V(()=>{Rc(),jvt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Uvt={render:Bvt}}),Hvt=Q({default:()=>Qvt,render:()=>Zvt});function Zvt(e,t){return Zo(),qo("svg",Vvt,[...t[0]||=[Go("path",{d:"M128 72a8 8 0 0 1 8 8v56a8 8 0 0 1-16 0V80a8 8 0 0 1 8-8m-12 100a12 12 0 1 0 12-12 12 12 0 0 0-12 12m124-44a15.85 15.85 0 0 1-4.67 11.28l-96.05 96.06a16 16 0 0 1-22.56 0l-96-96.06a16 16 0 0 1 0-22.56l96.05-96.06a16 16 0 0 1 22.56 0l96.05 96.06A15.85 15.85 0 0 1 240 128m-16 0-96-96-96 96 96 96Z"},null,-1)]])}var Vvt,Qvt,qvt=V(()=>{Rc(),Vvt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Qvt={render:Zvt}}),Fvt=Q({default:()=>Gvt,render:()=>Wvt});function Wvt(e,t){return Zo(),qo("svg",Xvt,[...t[0]||=[Go("path",{d:"M236.8 188.09 149.35 36.22a24.76 24.76 0 0 0-42.7 0L19.2 188.09a23.51 23.51 0 0 0 0 23.72A24.35 24.35 0 0 0 40.55 224h174.9a24.35 24.35 0 0 0 21.33-12.19 23.51 23.51 0 0 0 .02-23.72m-13.87 15.71a8.5 8.5 0 0 1-7.48 4.2H40.55a8.5 8.5 0 0 1-7.48-4.2 7.59 7.59 0 0 1 0-7.72l87.45-151.87a8.75 8.75 0 0 1 15 0l87.45 151.87a7.59 7.59 0 0 1-.04 7.72M120 144v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12 12 12 0 0 1 12 12"},null,-1)]])}var Xvt,Gvt,Yvt=V(()=>{Rc(),Xvt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Gvt={render:Wvt}}),Kvt=Q({default:()=>tbt,render:()=>Jvt});function Jvt(e,t){return Zo(),qo("svg",ebt,[...t[0]||=[Go("path",{d:"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88m16-40a8 8 0 0 1-8 8 16 16 0 0 1-16-16v-40a8 8 0 0 1 0-16 16 16 0 0 1 16 16v40a8 8 0 0 1 8 8m-32-92a12 12 0 1 1 12 12 12 12 0 0 1-12-12"},null,-1)]])}var ebt,tbt,abt=V(()=>{Rc(),ebt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},tbt={render:Jvt}}),rbt=Q({default:()=>ibt,render:()=>nbt});function nbt(e,t){return Zo(),qo("svg",obt,[...t[0]||=[Go("path",{d:"M248 80a28 28 0 1 0-51.12 15.77l-26.79 33L146 73.4a28 28 0 1 0-36.06 0l-24.03 55.34-26.79-33a28 28 0 1 0-26.6 12L47 194.63A16 16 0 0 0 62.78 208h130.44A16 16 0 0 0 209 194.63l14.47-86.85A28 28 0 0 0 248 80M128 40a12 12 0 1 1-12 12 12 12 0 0 1 12-12M24 80a12 12 0 1 1 12 12 12 12 0 0 1-12-12m169.22 112H62.78l-13.92-83.48L81.79 149a8 8 0 0 0 6.21 3 8 8 0 0 0 1.08-.07 8 8 0 0 0 6.26-4.74l29.3-67.4a27 27 0 0 0 6.72 0l29.3 67.4a8 8 0 0 0 6.26 4.74 8 8 0 0 0 1.08.07 8 8 0 0 0 6.21-3l32.93-40.52ZM220 92a12 12 0 1 1 12-12 12 12 0 0 1-12 12"},null,-1)]])}var obt,ibt,sbt=V(()=>{Rc(),obt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ibt={render:nbt}}),lbt=Q({default:()=>dbt,render:()=>cbt});function cbt(e,t){return Zo(),qo("svg",ubt,[...t[0]||=[Go("path",{d:"M184 32H72a16 16 0 0 0-16 16v176a8 8 0 0 0 12.24 6.78L128 193.43l59.77 37.35A8 8 0 0 0 200 224V48a16 16 0 0 0-16-16m0 177.57-51.77-32.35a8 8 0 0 0-8.48 0L72 209.57V48h112Z"},null,-1)]])}var ubt,dbt,pbt=V(()=>{Rc(),ubt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},dbt={render:cbt}}),hbt=Q({default:()=>gbt,render:()=>mbt});function mbt(e,t){return Zo(),qo("svg",fbt,[...t[0]||=[Go("path",{d:"M184 32H72a16 16 0 0 0-16 16v176a8 8 0 0 0 12.24 6.78L128 193.43l59.77 37.35A8 8 0 0 0 200 224V48a16 16 0 0 0-16-16m0 177.57-51.77-32.35a8 8 0 0 0-8.48 0L72 209.57V48h112Z"},null,-1)]])}var fbt,gbt,vbt=V(()=>{Rc(),fbt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},gbt={render:mbt}}),bbt=Q({default:()=>xbt,render:()=>ybt});function ybt(e,t){return Zo(),qo("svg",Obt,[...t[0]||=[Go("path",{d:"M208 32h-24v-8a8 8 0 0 0-16 0v8H88v-8a8 8 0 0 0-16 0v8H48a16 16 0 0 0-16 16v160a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16M72 48v8a8 8 0 0 0 16 0v-8h80v8a8 8 0 0 0 16 0v-8h24v32H48V48Zm136 160H48V96h160zm-96-88v64a8 8 0 0 1-16 0v-51.06l-4.42 2.22a8 8 0 0 1-7.16-14.32l16-8A8 8 0 0 1 112 120m59.16 30.45L152 176h16a8 8 0 0 1 0 16h-32a8 8 0 0 1-6.4-12.8l28.78-38.37a8 8 0 1 0-13.31-8.83 8 8 0 1 1-13.85-8A24 24 0 0 1 176 136a23.76 23.76 0 0 1-4.84 14.45"},null,-1)]])}var Obt,xbt,wbt=V(()=>{Rc(),Obt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},xbt={render:ybt}}),kbt=Q({default:()=>_bt,render:()=>Sbt});function Sbt(e,t){return Zo(),qo("svg",Abt,[...t[0]||=[Go("path",{d:"M232 48h-72a40 40 0 0 0-32 16 40 40 0 0 0-32-16H24a8 8 0 0 0-8 8v144a8 8 0 0 0 8 8h72a24 24 0 0 1 24 24 8 8 0 0 0 16 0 24 24 0 0 1 24-24h72a8 8 0 0 0 8-8V56a8 8 0 0 0-8-8M96 192H32V64h64a24 24 0 0 1 24 24v112a39.8 39.8 0 0 0-24-8m128 0h-64a39.8 39.8 0 0 0-24 8V88a24 24 0 0 1 24-24h64Z"},null,-1)]])}var Abt,_bt,Tbt=V(()=>{Rc(),Abt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},_bt={render:Sbt}}),Ebt=Q({default:()=>Mbt,render:()=>Cbt});function Cbt(e,t){return Zo(),qo("svg",Pbt,[...t[0]||=[Go("path",{d:"M208 24H72a32 32 0 0 0-32 32v168a8 8 0 0 0 8 8h144a8 8 0 0 0 0-16H56a16 16 0 0 1 16-16h136a8 8 0 0 0 8-8V32a8 8 0 0 0-8-8m-88 16h48v72l-19.21-14.4a8 8 0 0 0-9.6 0L120 112Zm80 144H72a31.8 31.8 0 0 0-16 4.29V56a16 16 0 0 1 16-16h32v88a8 8 0 0 0 12.8 6.4L144 114l27.21 20.4A8 8 0 0 0 176 136a8 8 0 0 0 8-8V40h16Z"},null,-1)]])}var Pbt,Mbt,$bt=V(()=>{Rc(),Pbt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Mbt={render:Cbt}}),Nbt=Q({default:()=>Dbt,render:()=>Ibt});function Ibt(e,t){return Zo(),qo("svg",Rbt,[...t[0]||=[Go("path",{d:"m213.66 82.34-56-56A8 8 0 0 0 152 24H56a16 16 0 0 0-16 16v176a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16V88a8 8 0 0 0-2.34-5.66M160 51.31 188.69 80H160ZM200 216H56V40h88v48a8 8 0 0 0 8 8h48z"},null,-1)]])}var Rbt,Dbt,Lbt=V(()=>{Rc(),Rbt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Dbt={render:Ibt}}),Bbt=Q({default:()=>zbt,render:()=>jbt});function jbt(e,t){return Zo(),qo("svg",Ubt,[...t[0]||=[Go("path",{d:"M200 32h-36.26a47.92 47.92 0 0 0-71.48 0H56a16 16 0 0 0-16 16v168a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16m-72 0a32 32 0 0 1 32 32H96a32 32 0 0 1 32-32m72 184H56V48h26.75A47.9 47.9 0 0 0 80 64v8a8 8 0 0 0 8 8h80a8 8 0 0 0 8-8v-8a47.9 47.9 0 0 0-2.75-16H200Z"},null,-1)]])}var Ubt,zbt,Hbt=V(()=>{Rc(),Ubt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},zbt={render:jbt}}),Zbt=Q({default:()=>qbt,render:()=>Vbt});function Vbt(e,t){return Zo(),qo("svg",Qbt,[...t[0]||=[Go("path",{d:"M209.66 122.34a8 8 0 0 1 0 11.32l-82.05 82a56 56 0 0 1-79.2-79.21l99.26-100.72a40 40 0 1 1 56.61 56.55L105 193a24 24 0 1 1-34-34l83.3-84.62a8 8 0 1 1 11.4 11.22l-83.31 84.71a8 8 0 1 0 11.27 11.36L192.93 81A24 24 0 1 0 159 47L59.76 147.68a40 40 0 1 0 56.53 56.62l82.06-82a8 8 0 0 1 11.31.04"},null,-1)]])}var Qbt,qbt,Fbt=V(()=>{Rc(),Qbt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},qbt={render:Vbt}}),Wbt=Q({default:()=>Ybt,render:()=>Xbt});function Xbt(e,t){return Zo(),qo("svg",Gbt,[...t[0]||=[Go("path",{d:"M237.2 151.87a47 47 0 0 0-2.35-5.45L193.26 51.8a7.8 7.8 0 0 0-1.66-2.44 32 32 0 0 0-45.26 0A8 8 0 0 0 144 55v25h-32V55a8 8 0 0 0-2.34-5.66 32 32 0 0 0-45.26 0 7.8 7.8 0 0 0-1.66 2.44L21.15 146.4a47 47 0 0 0-2.35 5.45A48 48 0 1 0 112 168V96h32v72a48 48 0 1 0 93.2-16.13M76.71 59.75a16 16 0 0 1 19.29-1v73.51a47.9 47.9 0 0 0-46.79-9.92ZM64 200a32 32 0 1 1 32-32 32 32 0 0 1-32 32m96-141.26a16 16 0 0 1 19.29 1l27.5 62.58a47.9 47.9 0 0 0-46.79 9.93ZM192 200a32 32 0 1 1 32-32 32 32 0 0 1-32 32"},null,-1)]])}var Gbt,Ybt,Kbt=V(()=>{Rc(),Gbt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Ybt={render:Xbt}}),Jbt=Q({default:()=>ayt,render:()=>eyt});function eyt(e,t){return Zo(),qo("svg",tyt,[...t[0]||=[Go("path",{d:"M48 64a8 8 0 0 1 8-8h16V40a8 8 0 0 1 16 0v16h16a8 8 0 0 1 0 16H88v16a8 8 0 0 1-16 0V72H56a8 8 0 0 1-8-8m136 128h-8v-8a8 8 0 0 0-16 0v8h-8a8 8 0 0 0 0 16h8v8a8 8 0 0 0 16 0v-8h8a8 8 0 0 0 0-16m56-48h-16v-16a8 8 0 0 0-16 0v16h-16a8 8 0 0 0 0 16h16v16a8 8 0 0 0 16 0v-16h16a8 8 0 0 0 0-16m-20.69-64L80 219.31a16 16 0 0 1-22.62 0l-20.7-20.68a16 16 0 0 1 0-22.63L176 36.69a16 16 0 0 1 22.63 0l20.68 20.68a16 16 0 0 1 0 22.63m-54.63 32L144 91.31l-96 96L68.68 208ZM208 68.69 187.31 48l-32 32L176 100.69Z"},null,-1)]])}var tyt,ayt,ryt=V(()=>{Rc(),tyt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ayt={render:eyt}}),nyt=Q({default:()=>syt,render:()=>oyt});function oyt(e,t){return Zo(),qo("svg",iyt,[...t[0]||=[Go("path",{d:"M232 88h-16V64a16 16 0 0 0-16-16H48a16 16 0 0 0-16 16v24H16a8 8 0 0 0 0 16h16v24a16 16 0 0 0 16 16h152a16 16 0 0 0 16-16v-24h16v50l-100.4 28.65A16.07 16.07 0 0 0 120 198v34a8 8 0 0 0 16 0v-34l100.4-28.68A16.07 16.07 0 0 0 248 154v-50a16 16 0 0 0-16-16m-32 40H48V64h152z"},null,-1)]])}var iyt,syt,lyt=V(()=>{Rc(),iyt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},syt={render:oyt}}),cyt=Q({default:()=>pyt,render:()=>uyt});function uyt(e,t){return Zo(),qo("svg",dyt,[...t[0]||=[Go("path",{d:"M253.93 154.63c-1.32-1.46-24.09-26.22-61-40.56-1.72-18.42-8.46-35.17-19.41-47.92C158.87 49 137.58 40 112 40c-51.52 0-85.11 46.18-86.51 48.15a8 8 0 0 0 13 9.31C38.8 97.05 68.81 56 112 56c20.77 0 37.86 7.11 49.41 20.57 7.42 8.64 12.44 19.69 14.67 32A141 141 0 0 0 140.6 104c-26.06 0-47.93 6.81-63.26 19.69C63.78 135.09 56 151 56 167.25a47.6 47.6 0 0 0 13.87 34.05c9.66 9.62 23.06 14.7 38.73 14.7 51.81 0 81.18-42.13 84.49-84.42a161.4 161.4 0 0 1 49 33.79 8 8 0 1 0 11.86-10.74Zm-94.46 21.64C150.64 187.09 134.66 200 108.6 200 83.32 200 72 183.55 72 167.25 72 144.49 93.47 120 140.6 120a124.3 124.3 0 0 1 36.78 5.68c-.45 18.76-6.92 37.1-17.91 50.59"},null,-1)]])}var dyt,pyt,hyt=V(()=>{Rc(),dyt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},pyt={render:uyt}}),myt=Q({default:()=>vyt,render:()=>fyt});function fyt(e,t){return Zo(),qo("svg",gyt,[...t[0]||=[Go("path",{d:"M216 96a88 88 0 1 0-144 67.83V240a8 8 0 0 0 11.58 7.16L128 225l44.43 22.21a8.1 8.1 0 0 0 3.57.79 8 8 0 0 0 8-8v-76.17A87.85 87.85 0 0 0 216 96M56 96a72 72 0 1 1 72 72 72.08 72.08 0 0 1-72-72m112 131.06-36.43-18.21a8 8 0 0 0-7.16 0L88 227.06v-52.69a87.89 87.89 0 0 0 80 0ZM128 152a56 56 0 1 0-56-56 56.06 56.06 0 0 0 56 56m0-96a40 40 0 1 1-40 40 40 40 0 0 1 40-40"},null,-1)]])}var gyt,vyt,byt=V(()=>{Rc(),gyt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},vyt={render:fyt}}),yyt=Q({default:()=>wyt,render:()=>Oyt});function Oyt(e,t){return Zo(),qo("svg",xyt,[...t[0]||=[Go("path",{d:"M42.76 50A8 8 0 0 0 40 56v168a8 8 0 0 0 16 0v-44.23c26.79-21.16 49.87-9.75 76.45 3.41 16.4 8.11 34.06 16.85 53 16.85 13.93 0 28.54-4.75 43.82-18a8 8 0 0 0 2.76-6V56a8 8 0 0 0-13.27-6c-28 24.23-51.72 12.49-79.21-1.12C111.07 34.76 78.78 18.79 42.76 50M216 172.25c-26.79 21.16-49.87 9.74-76.45-3.41-25-12.35-52.81-26.13-83.55-8.4V59.79c26.79-21.16 49.87-9.75 76.45 3.4 25 12.35 52.82 26.13 83.55 8.4Z"},null,-1)]])}var xyt,wyt,kyt=V(()=>{Rc(),xyt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},wyt={render:Oyt}}),Syt=Q({default:()=>Tyt,render:()=>Ayt});function Ayt(e,t){return Zo(),qo("svg",_yt,[...t[0]||=[Go("path",{d:"M178 40c-20.65 0-38.73 8.88-50 23.89C116.73 48.88 98.65 40 78 40a62.07 62.07 0 0 0-62 62c0 70 103.79 126.66 108.21 129a8 8 0 0 0 7.58 0C136.21 228.66 240 172 240 102a62.07 62.07 0 0 0-62-62m-50 174.8c-18.26-10.64-96-59.11-96-112.8a46.06 46.06 0 0 1 46-46c19.45 0 35.78 10.36 42.6 27a8 8 0 0 0 14.8 0c6.82-16.67 23.15-27 42.6-27a46.06 46.06 0 0 1 46 46c0 53.61-77.76 102.15-96 112.8"},null,-1)]])}var _yt,Tyt,Eyt=V(()=>{Rc(),_yt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Tyt={render:Ayt}}),Cyt=Q({default:()=>$yt,render:()=>Pyt});function Pyt(e,t){return Zo(),qo("svg",Myt,[...t[0]||=[Go("path",{d:"M239.18 97.26A16.38 16.38 0 0 0 224.92 86l-59-4.76-22.78-55.09a16.36 16.36 0 0 0-30.27 0L90.11 81.23 31.08 86a16.46 16.46 0 0 0-9.37 28.86l45 38.83L53 211.75a16.38 16.38 0 0 0 24.5 17.82l50.5-31.08 50.53 31.08A16.4 16.4 0 0 0 203 211.75l-13.76-58.07 45-38.83a16.43 16.43 0 0 0 4.94-17.59m-15.34 5.47-48.7 42a8 8 0 0 0-2.56 7.91l14.88 62.8a.37.37 0 0 1-.17.48c-.18.14-.23.11-.38 0l-54.72-33.65a8 8 0 0 0-8.38 0l-54.72 33.67c-.15.09-.19.12-.38 0a.37.37 0 0 1-.17-.48l14.88-62.8a8 8 0 0 0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16a8 8 0 0 0 6.72-4.94l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153 91.86a8 8 0 0 0 6.75 4.92l63.92 5.16c.15 0 .24 0 .33.29s0 .4-.16.5"},null,-1)]])}var Myt,$yt,Nyt=V(()=>{Rc(),Myt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},$yt={render:Pyt}}),Iyt=Q({default:()=>Lyt,render:()=>Ryt});function Ryt(e,t){return Zo(),qo("svg",Dyt,[...t[0]||=[Go("path",{d:"M197.58 129.06 146 110l-19-51.62a15.92 15.92 0 0 0-29.88 0L78 110l-51.62 19a15.92 15.92 0 0 0 0 29.88L78 178l19 51.62a15.92 15.92 0 0 0 29.88 0L146 178l51.62-19a15.92 15.92 0 0 0 0-29.88ZM137 164.22a8 8 0 0 0-4.74 4.74L112 223.85 91.78 169a8 8 0 0 0-4.78-4.78L32.15 144 87 123.78a8 8 0 0 0 4.78-4.78L112 64.15 132.22 119a8 8 0 0 0 4.74 4.74L191.85 144ZM144 40a8 8 0 0 1 8-8h16V16a8 8 0 0 1 16 0v16h16a8 8 0 0 1 0 16h-16v16a8 8 0 0 1-16 0V48h-16a8 8 0 0 1-8-8m104 48a8 8 0 0 1-8 8h-8v8a8 8 0 0 1-16 0v-8h-8a8 8 0 0 1 0-16h8v-8a8 8 0 0 1 16 0v8h8a8 8 0 0 1 8 8"},null,-1)]])}var Dyt,Lyt,Byt=V(()=>{Rc(),Dyt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Lyt={render:Ryt}}),jyt=Q({default:()=>Hyt,render:()=>Uyt});function Uyt(e,t){return Zo(),qo("svg",zyt,[...t[0]||=[Go("path",{d:"M160 112h48a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v16h-16a24 24 0 0 0-24 24v32H72v-8a16 16 0 0 0-16-16H24a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h32a16 16 0 0 0 16-16v-8h32v32a24 24 0 0 0 24 24h16v16a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16h-48a16 16 0 0 0-16 16v16h-16a8 8 0 0 1-8-8V88a8 8 0 0 1 8-8h16v16a16 16 0 0 0 16 16M56 144H24v-32h32zm104 16h48v48h-48Zm0-112h48v48h-48Z"},null,-1)]])}var zyt,Hyt,Zyt=V(()=>{Rc(),zyt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Hyt={render:Uyt}}),Vyt=Q({default:()=>Fyt,render:()=>Qyt});function Qyt(e,t){return Zo(),qo("svg",qyt,[...t[0]||=[Go("path",{d:"m219.31 108.68-80-80a16 16 0 0 0-22.62 0l-80 80A15.87 15.87 0 0 0 32 120v96a8 8 0 0 0 8 8h64a8 8 0 0 0 8-8v-56h32v56a8 8 0 0 0 8 8h64a8 8 0 0 0 8-8v-96a15.87 15.87 0 0 0-4.69-11.32M208 208h-48v-56a8 8 0 0 0-8-8h-48a8 8 0 0 0-8 8v56H48v-88l80-80 80 80Z"},null,-1)]])}var qyt,Fyt,Wyt=V(()=>{Rc(),qyt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Fyt={render:Qyt}}),Xyt=Q({default:()=>Kyt,render:()=>Gyt});function Gyt(e,t){return Zo(),qo("svg",Yyt,[...t[0]||=[Go("path",{d:"M240 88.23a54.43 54.43 0 0 1-16 37L189.25 160a54.27 54.27 0 0 1-38.63 16h-.05A54.63 54.63 0 0 1 96 119.84a8 8 0 0 1 16 .45A38.62 38.62 0 0 0 150.58 160a38.4 38.4 0 0 0 27.31-11.31l34.75-34.75a38.63 38.63 0 0 0-54.63-54.63l-11 11A8 8 0 0 1 135.7 59l11-11a54.65 54.65 0 0 1 77.3 0 54.86 54.86 0 0 1 16 40.23m-131 97.43-11 11A38.4 38.4 0 0 1 70.6 208a38.63 38.63 0 0 1-27.29-65.94L78 107.31a38.63 38.63 0 0 1 66 28.4 8 8 0 0 0 16 .45A54.86 54.86 0 0 0 144 96a54.65 54.65 0 0 0-77.27 0L32 130.75A54.62 54.62 0 0 0 70.56 224a54.28 54.28 0 0 0 38.64-16l11-11a8 8 0 0 0-11.2-11.34"},null,-1)]])}var Yyt,Kyt,Jyt=V(()=>{Rc(),Yyt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Kyt={render:Gyt}}),eOt=Q({default:()=>rOt,render:()=>tOt});function tOt(e,t){return Zo(),qo("svg",aOt,[...t[0]||=[Go("path",{d:"M120 40V16a8 8 0 0 1 16 0v24a8 8 0 0 1-16 0m72 88a64 64 0 1 1-64-64 64.07 64.07 0 0 1 64 64m-16 0a48 48 0 1 0-48 48 48.05 48.05 0 0 0 48-48M58.34 69.66a8 8 0 0 0 11.32-11.32l-16-16a8 8 0 0 0-11.32 11.32Zm0 116.68-16 16a8 8 0 0 0 11.32 11.32l16-16a8 8 0 0 0-11.32-11.32M192 72a8 8 0 0 0 5.66-2.34l16-16a8 8 0 0 0-11.32-11.32l-16 16A8 8 0 0 0 192 72m5.66 114.34a8 8 0 0 0-11.32 11.32l16 16a8 8 0 0 0 11.32-11.32ZM48 128a8 8 0 0 0-8-8H16a8 8 0 0 0 0 16h24a8 8 0 0 0 8-8m80 80a8 8 0 0 0-8 8v24a8 8 0 0 0 16 0v-24a8 8 0 0 0-8-8m112-88h-24a8 8 0 0 0 0 16h24a8 8 0 0 0 0-16"},null,-1)]])}var aOt,rOt,nOt=V(()=>{Rc(),aOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},rOt={render:tOt}}),oOt=Q({default:()=>lOt,render:()=>iOt});function iOt(e,t){return Zo(),qo("svg",sOt,[...t[0]||=[Go("path",{d:"M208 80h-32V56a48 48 0 0 0-96 0v24H48a16 16 0 0 0-16 16v112a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16M96 56a32 32 0 0 1 64 0v24H96Zm112 152H48V96h160zm-68-56a12 12 0 1 1-12-12 12 12 0 0 1 12 12"},null,-1)]])}var sOt,lOt,cOt=V(()=>{Rc(),sOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},lOt={render:iOt}}),uOt=Q({default:()=>hOt,render:()=>dOt});function dOt(e,t){return Zo(),qo("svg",pOt,[...t[0]||=[Go("path",{d:"M208 80H96V56a32 32 0 0 1 32-32c15.37 0 29.2 11 32.16 25.59a8 8 0 0 0 15.68-3.18C171.32 24.15 151.2 8 128 8a48.05 48.05 0 0 0-48 48v24H48a16 16 0 0 0-16 16v112a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16m0 128H48V96h160zm-68-56a12 12 0 1 1-12-12 12 12 0 0 1 12 12"},null,-1)]])}var pOt,hOt,mOt=V(()=>{Rc(),pOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},hOt={render:dOt}}),fOt=Q({default:()=>bOt,render:()=>gOt});function gOt(e,t){return Zo(),qo("svg",vOt,[...t[0]||=[Go("path",{d:"M216.57 39.43a80 80 0 0 0-132.66 81.35L28.69 176A15.86 15.86 0 0 0 24 187.31V216a16 16 0 0 0 16 16h32a8 8 0 0 0 8-8v-16h16a8 8 0 0 0 8-8v-16h16a8 8 0 0 0 5.66-2.34l9.56-9.57A79.7 79.7 0 0 0 160 176h.1a80 80 0 0 0 56.47-136.57M224 98.1c-1.09 34.09-29.75 61.86-63.89 61.9H160a63.7 63.7 0 0 1-23.65-4.51 8 8 0 0 0-8.84 1.68L116.69 168H96a8 8 0 0 0-8 8v16H72a8 8 0 0 0-8 8v16H40v-28.69l58.83-58.82a8 8 0 0 0 1.68-8.84A63.7 63.7 0 0 1 96 95.92c0-34.14 27.81-62.8 61.9-63.89A64 64 0 0 1 224 98.1M192 76a12 12 0 1 1-12-12 12 12 0 0 1 12 12"},null,-1)]])}var vOt,bOt,yOt=V(()=>{Rc(),vOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},bOt={render:gOt}}),OOt=Q({default:()=>kOt,render:()=>xOt});function xOt(e,t){return Zo(),qo("svg",wOt,[...t[0]||=[Go("path",{d:"m229.66 218.34-50.07-50.06a88.11 88.11 0 1 0-11.31 11.31l50.06 50.07a8 8 0 0 0 11.32-11.32M40 112a72 72 0 1 1 72 72 72.08 72.08 0 0 1-72-72"},null,-1)]])}var wOt,kOt,SOt=V(()=>{Rc(),wOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},kOt={render:xOt}}),AOt=Q({default:()=>EOt,render:()=>_Ot});function _Ot(e,t){return Zo(),qo("svg",TOt,[...t[0]||=[Go("path",{d:"M128 80a48 48 0 1 0 48 48 48.05 48.05 0 0 0-48-48m0 80a32 32 0 1 1 32-32 32 32 0 0 1-32 32m88-29.84q.06-2.16 0-4.32l14.92-18.64a8 8 0 0 0 1.48-7.06 107.2 107.2 0 0 0-10.88-26.25 8 8 0 0 0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186 40.54a8 8 0 0 0-3.94-6 107.7 107.7 0 0 0-26.25-10.87 8 8 0 0 0-7.06 1.49L130.16 40h-4.32L107.2 25.11a8 8 0 0 0-7.06-1.48 107.6 107.6 0 0 0-26.25 10.88 8 8 0 0 0-3.93 6l-2.64 23.76q-1.56 1.49-3 3L40.54 70a8 8 0 0 0-6 3.94 107.7 107.7 0 0 0-10.87 26.25 8 8 0 0 0 1.49 7.06L40 125.84v4.32L25.11 148.8a8 8 0 0 0-1.48 7.06 107.2 107.2 0 0 0 10.88 26.25 8 8 0 0 0 6 3.93l23.72 2.64q1.49 1.56 3 3L70 215.46a8 8 0 0 0 3.94 6 107.7 107.7 0 0 0 26.25 10.87 8 8 0 0 0 7.06-1.49L125.84 216q2.16.06 4.32 0l18.64 14.92a8 8 0 0 0 7.06 1.48 107.2 107.2 0 0 0 26.25-10.88 8 8 0 0 0 3.93-6l2.64-23.72q1.56-1.48 3-3l23.78-2.8a8 8 0 0 0 6-3.94 107.7 107.7 0 0 0 10.87-26.25 8 8 0 0 0-1.49-7.06Zm-16.1-6.5a74 74 0 0 1 0 8.68 8 8 0 0 0 1.74 5.48l14.19 17.73a91.6 91.6 0 0 1-6.23 15l-22.6 2.56a8 8 0 0 0-5.1 2.64 74 74 0 0 1-6.14 6.14 8 8 0 0 0-2.64 5.1l-2.51 22.58a91.3 91.3 0 0 1-15 6.23l-17.74-14.19a8 8 0 0 0-5-1.75h-.48a74 74 0 0 1-8.68 0 8 8 0 0 0-5.48 1.74l-17.78 14.2a91.6 91.6 0 0 1-15-6.23L82.89 187a8 8 0 0 0-2.64-5.1 74 74 0 0 1-6.14-6.14 8 8 0 0 0-5.1-2.64l-22.58-2.52a91.3 91.3 0 0 1-6.23-15l14.19-17.74a8 8 0 0 0 1.74-5.48 74 74 0 0 1 0-8.68 8 8 0 0 0-1.74-5.48L40.2 100.45a91.6 91.6 0 0 1 6.23-15L69 82.89a8 8 0 0 0 5.1-2.64 74 74 0 0 1 6.14-6.14A8 8 0 0 0 82.89 69l2.51-22.57a91.3 91.3 0 0 1 15-6.23l17.74 14.19a8 8 0 0 0 5.48 1.74 74 74 0 0 1 8.68 0 8 8 0 0 0 5.48-1.74l17.77-14.19a91.6 91.6 0 0 1 15 6.23L173.11 69a8 8 0 0 0 2.64 5.1 74 74 0 0 1 6.14 6.14 8 8 0 0 0 5.1 2.64l22.58 2.51a91.3 91.3 0 0 1 6.23 15l-14.19 17.74a8 8 0 0 0-1.74 5.53Z"},null,-1)]])}var TOt,EOt,COt=V(()=>{Rc(),TOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},EOt={render:_Ot}}),POt=Q({default:()=>NOt,render:()=>MOt});function MOt(e,t){return Zo(),qo("svg",$Ot,[...t[0]||=[Go("path",{d:"M155.51 24.81a8 8 0 0 0-8.42.88L77.25 80H32a16 16 0 0 0-16 16v64a16 16 0 0 0 16 16h45.25l69.84 54.31A8 8 0 0 0 160 224V32a8 8 0 0 0-4.49-7.19M32 96h40v64H32Zm112 111.64-56-43.55V91.91l56-43.55Zm54-106.08a40 40 0 0 1 0 52.88 8 8 0 0 1-12-10.58 24 24 0 0 0 0-31.72 8 8 0 0 1 12-10.58M248 128a79.9 79.9 0 0 1-20.37 53.34 8 8 0 0 1-11.92-10.67 64 64 0 0 0 0-85.33 8 8 0 1 1 11.92-10.67A79.83 79.83 0 0 1 248 128"},null,-1)]])}var $Ot,NOt,IOt=V(()=>{Rc(),$Ot={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},NOt={render:MOt}}),ROt=Q({default:()=>BOt,render:()=>DOt});function DOt(e,t){return Zo(),qo("svg",LOt,[...t[0]||=[Go("path",{d:"M223.85 47.12a16 16 0 0 0-15-15c-12.58-.75-44.73.4-71.41 27.07L132.69 64H74.36A15.9 15.9 0 0 0 63 68.68L28.7 103a16 16 0 0 0 9.07 27.16l38.47 5.37 44.21 44.21 5.37 38.49a15.94 15.94 0 0 0 10.78 12.92 16.1 16.1 0 0 0 5.1.83 15.9 15.9 0 0 0 11.3-4.68l34.32-34.3a15.9 15.9 0 0 0 4.68-11.36v-58.33l4.77-4.77c26.68-26.68 27.83-58.83 27.08-71.42M74.36 80h42.33l-39.53 39.52L40 114.34Zm74.41-9.45a76.65 76.65 0 0 1 59.11-22.47 76.46 76.46 0 0 1-22.42 59.16L128 164.68 91.32 128ZM176 181.64 141.67 216l-5.19-37.17L176 139.31Zm-74.16 9.5C97.34 201 82.29 224 40 224a8 8 0 0 1-8-8c0-42.29 23-57.34 32.86-61.85a8 8 0 0 1 6.64 14.56c-6.43 2.93-20.62 12.36-23.12 38.91 26.55-2.5 36-16.69 38.91-23.12a8 8 0 1 1 14.56 6.64Z"},null,-1)]])}var LOt,BOt,jOt=V(()=>{Rc(),LOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},BOt={render:DOt}}),UOt=Q({default:()=>ZOt,render:()=>zOt});function zOt(e,t){return Zo(),qo("svg",HOt,[...t[0]||=[Go("path",{d:"M245.11 60.68c-7.65-13.19-27.84-16.16-58.5-8.66A95.93 95.93 0 0 0 32 128a98 98 0 0 0 .78 12.31C5.09 169 5.49 186 10.9 195.32 16 204.16 26.64 208 40.64 208a124 124 0 0 0 28.79-4A95.93 95.93 0 0 0 224 128a97 97 0 0 0-.77-12.25c12.5-13 20.82-25.35 23.65-35.92 1.95-7.32 1.36-13.76-1.77-19.15M128 48a80.11 80.11 0 0 1 78 62.2c-17.06 16.06-40.15 32.53-62.07 45.13-27.55 15.81-51.45 25.67-70.51 31.07A79.94 79.94 0 0 1 128 48M24.74 187.29c-1.46-2.51-.65-7.24 2.22-13a79 79 0 0 1 10.29-15.05 96 96 0 0 0 18 31.32c-17.25 2.9-28.01 1.05-30.51-3.27M128 208a79.45 79.45 0 0 1-38.56-9.94 370 370 0 0 0 62.43-28.86c21.58-12.39 40.68-25.82 56.07-39.08A80.07 80.07 0 0 1 128 208M231.42 75.69c-1.7 6.31-6.19 13.53-12.63 21.13a95.7 95.7 0 0 0-18-31.35c14.21-2.35 27.37-2.17 30.5 3.24.9 1.57.95 3.92.13 6.98"},null,-1)]])}var HOt,ZOt,VOt=V(()=>{Rc(),HOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ZOt={render:zOt}}),QOt=Q({default:()=>WOt,render:()=>qOt});function qOt(e,t){return Zo(),qo("svg",FOt,[...t[0]||=[Go("path",{d:"M183.59 213.47a8 8 0 0 1-15.18 5.06l-8-24a8 8 0 0 1 15.18-5.06ZM128 184a8 8 0 0 0-8 8v32a8 8 0 0 0 16 0v-32a8 8 0 0 0-8-8m-37.47.41a8 8 0 0 0-10.12 5.06l-8 24a8 8 0 0 0 15.18 5.06l8-24a8 8 0 0 0-5.06-10.12M248 112c0 16.22-13.37 30.89-37.65 41.29C188.22 162.78 159 168 128 168s-60.22-5.22-82.35-14.71C21.37 142.89 8 128.22 8 112c0-8.37 3.67-20.79 21.17-32.5 11.37-7.61 26.94-13.76 45.18-17.85A63.64 63.64 0 0 1 173 50.45a64.8 64.8 0 0 1 9.11 11.3C223.43 71.09 248 89.74 248 112M80 96.83v3a7.92 7.92 0 0 0 6.13 7.76A188.2 188.2 0 0 0 128 112a188 188 0 0 0 41.85-4.37 7.93 7.93 0 0 0 6.15-7.76V96a48 48 0 0 0-48.64-48C101.25 48.34 80 70.25 80 96.83M232 112c0-11.7-16.63-23.89-41.9-31.59A64.7 64.7 0 0 1 192 96v3.92a23.86 23.86 0 0 1-18.56 23.3A204 204 0 0 1 128 128a204 204 0 0 1-45.44-4.78A23.86 23.86 0 0 1 64 99.92v-3.06a65.3 65.3 0 0 1 2.13-16.52C40.72 88 24 100.25 24 112c0 18.92 42.71 40 104 40s104-21.08 104-40"},null,-1)]])}var FOt,WOt,XOt=V(()=>{Rc(),FOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},WOt={render:qOt}}),GOt=Q({default:()=>JOt,render:()=>YOt});function YOt(e,t){return Zo(),qo("svg",KOt,[...t[0]||=[Go("path",{d:"M176 160a39.9 39.9 0 0 0-28.62 12.09l-46.1-29.63a39.8 39.8 0 0 0 0-28.92l46.1-29.63a40 40 0 1 0-8.66-13.45l-46.1 29.63a40 40 0 1 0 0 55.82l46.1 29.63A40 40 0 1 0 176 160m0-128a24 24 0 1 1-24 24 24 24 0 0 1 24-24M64 152a24 24 0 1 1 24-24 24 24 0 0 1-24 24m112 72a24 24 0 1 1 24-24 24 24 0 0 1-24 24"},null,-1)]])}var KOt,JOt,ext=V(()=>{Rc(),KOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},JOt={render:YOt}}),txt=Q({default:()=>nxt,render:()=>axt});function axt(e,t){return Zo(),qo("svg",rxt,[...t[0]||=[Go("path",{d:"M240 128a8 8 0 0 1-8 8h-27.06l-37.78 75.58A8 8 0 0 1 160 216h-.4a8 8 0 0 1-7.08-5.14L95.35 60.76l-32.07 70.55A8 8 0 0 1 56 136H24a8 8 0 0 1 0-16h26.85l37.87-83.31a8 8 0 0 1 14.76.46l57.51 151 31.85-63.71A8 8 0 0 1 200 120h32a8 8 0 0 1 8 8"},null,-1)]])}var rxt,nxt,oxt=V(()=>{Rc(),rxt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},nxt={render:axt}}),ixt=Q({default:()=>cxt,render:()=>sxt});function sxt(e,t){return Zo(),qo("svg",lxt,[...t[0]||=[Go("path",{d:"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88 88.1 88.1 0 0 1-88 88m64-88a8 8 0 0 1-8 8h-56a8 8 0 0 1-8-8V72a8 8 0 0 1 16 0v48h48a8 8 0 0 1 8 8"},null,-1)]])}var lxt,cxt,uxt=V(()=>{Rc(),lxt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},cxt={render:sxt}}),dxt=Q({default:()=>mxt,render:()=>pxt});function pxt(e,t){return Zo(),qo("svg",hxt,[...t[0]||=[Go("path",{d:"M184 24H72a16 16 0 0 0-16 16v36a16.07 16.07 0 0 0 6.4 12.8l52.27 39.2-52.27 39.2A16.07 16.07 0 0 0 56 180v36a16 16 0 0 0 16 16h112a16 16 0 0 0 16-16v-35.64a16.09 16.09 0 0 0-6.35-12.77L141.27 128l52.38-39.6A16.05 16.05 0 0 0 200 75.64V40a16 16 0 0 0-16-16m0 16v16H72V40Zm0 176H72v-36l56-42 56 42.35Zm-56-98L72 76v-4h112v3.64Z"},null,-1)]])}var hxt,mxt,fxt=V(()=>{Rc(),hxt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},mxt={render:pxt}}),gxt=Q({default:()=>yxt,render:()=>vxt});function vxt(e,t){return Zo(),qo("svg",bxt,[...t[0]||=[Go("path",{d:"M117.25 157.92a60 60 0 1 0-66.5 0 95.83 95.83 0 0 0-47.22 37.71 8 8 0 1 0 13.4 8.74 80 80 0 0 1 134.14 0 8 8 0 0 0 13.4-8.74 95.83 95.83 0 0 0-47.22-37.71M40 108a44 44 0 1 1 44 44 44.05 44.05 0 0 1-44-44m210.14 98.7a8 8 0 0 1-11.07-2.33A79.83 79.83 0 0 0 172 168a8 8 0 0 1 0-16 44 44 0 1 0-16.34-84.87 8 8 0 1 1-5.94-14.85 60 60 0 0 1 55.53 105.64 95.83 95.83 0 0 1 47.22 37.71 8 8 0 0 1-2.33 11.07"},null,-1)]])}var bxt,yxt,Oxt=V(()=>{Rc(),bxt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},yxt={render:vxt}}),xxt=Q({default:()=>Sxt,render:()=>wxt});function wxt(e,t){return Zo(),qo("svg",kxt,[...t[0]||=[Go("path",{d:"M233.54 142.23a8 8 0 0 0-8-2 88.08 88.08 0 0 1-109.8-109.8 8 8 0 0 0-10-10 104.84 104.84 0 0 0-52.91 37A104 104 0 0 0 136 224a103.1 103.1 0 0 0 62.52-20.88 104.84 104.84 0 0 0 37-52.91 8 8 0 0 0-1.98-7.98m-44.64 48.11A88 88 0 0 1 65.66 67.11a89 89 0 0 1 31.4-26A106 106 0 0 0 96 56a104.11 104.11 0 0 0 104 104 106 106 0 0 0 14.92-1.06 89 89 0 0 1-26.02 31.4"},null,-1)]])}var kxt,Sxt,Axt=V(()=>{Rc(),kxt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Sxt={render:wxt}}),_xt=Q({default:()=>Cxt,render:()=>Txt});function Txt(e,t){return Zo(),qo("svg",Ext,[...t[0]||=[Go("path",{d:"M216 48H40a16 16 0 0 0-16 16v160a15.84 15.84 0 0 0 9.25 14.5A16.05 16.05 0 0 0 40 240a15.9 15.9 0 0 0 10.25-3.78l.09-.07L83 208h133a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16m0 144H80a8 8 0 0 0-5.23 1.95L40 224V64h176Z"},null,-1)]])}var Ext,Cxt,Pxt=V(()=>{Rc(),Ext={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Cxt={render:Txt}}),Mxt=Q({default:()=>Ixt,render:()=>$xt});function $xt(e,t){return Zo(),qo("svg",Nxt,[...t[0]||=[Go("path",{d:"M227.32 28.68a16 16 0 0 0-15.66-4.08h-.15L19.57 82.84a16 16 0 0 0-2.49 29.8L102 154l41.3 84.87a15.86 15.86 0 0 0 14.44 9.13q.69 0 1.38-.06a15.88 15.88 0 0 0 14-11.51l58.2-191.94v-.15a16 16 0 0 0-4-15.66m-69.49 203.17-.05.14v-.07l-40.06-82.3 48-48a8 8 0 0 0-11.31-11.31l-48 48-82.33-40.06h-.07.14L216 40Z"},null,-1)]])}var Nxt,Ixt,Rxt=V(()=>{Rc(),Nxt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Ixt={render:$xt}}),Dxt=Q({default:()=>jxt,render:()=>Lxt});function Lxt(e,t){return Zo(),qo("svg",Bxt,[...t[0]||=[Go("path",{d:"M224 48H32a8 8 0 0 0-8 8v136a16 16 0 0 0 16 16h176a16 16 0 0 0 16-16V56a8 8 0 0 0-8-8m-96 85.15L52.57 64h150.86ZM98.71 128 40 181.81V74.19Zm11.84 10.85 12 11.05a8 8 0 0 0 10.82 0l12-11.05 58 53.15H52.57ZM157.29 128 216 74.18v107.64Z"},null,-1)]])}var Bxt,jxt,Uxt=V(()=>{Rc(),Bxt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},jxt={render:Lxt}}),zxt=Q({default:()=>Vxt,render:()=>Hxt});function Hxt(e,t){return Zo(),qo("svg",Zxt,[...t[0]||=[Go("path",{d:"M96 104a8 8 0 0 1 8-8h64a8 8 0 0 1 0 16h-64a8 8 0 0 1-8-8m8 40h64a8 8 0 0 0 0-16h-64a8 8 0 0 0 0 16m128 48a32 32 0 0 1-32 32H88a32 32 0 0 1-32-32V64a16 16 0 0 0-32 0c0 5.74 4.83 9.62 4.88 9.66A8 8 0 0 1 24 88a7.9 7.9 0 0 1-4.79-1.61C18.05 85.54 8 77.61 8 64a32 32 0 0 1 32-32h136a32 32 0 0 1 32 32v104h8a8 8 0 0 1 4.8 1.6c1.2.86 11.2 8.79 11.2 22.4M96.26 173.48A8.07 8.07 0 0 1 104 168h88V64a16 16 0 0 0-16-16H67.69A31.7 31.7 0 0 1 72 64v128a16 16 0 0 0 32 0c0-5.74-4.83-9.62-4.88-9.66a7.82 7.82 0 0 1-2.86-8.86M216 192a12.58 12.58 0 0 0-3.23-8h-94a27 27 0 0 1 1.21 8 31.8 31.8 0 0 1-4.29 16H200a16 16 0 0 0 16-16"},null,-1)]])}var Zxt,Vxt,Qxt=V(()=>{Rc(),Zxt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Vxt={render:Hxt}}),qxt=Q({default:()=>Xxt,render:()=>Fxt});function Fxt(e,t){return Zo(),qo("svg",Wxt,[...t[0]||=[Go("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M12 2v20m5-17H9.5a3.5 3.5 0 1 0 0 7h5a3.5 3.5 0 1 1 0 7H6"},null,-1)]])}var Wxt,Xxt,Gxt=V(()=>{Rc(),Wxt={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Xxt={render:Fxt}}),Yxt=Q({default:()=>ewt,render:()=>Kxt});function Kxt(e,t){return Zo(),qo("svg",Jxt,[...t[0]||=[Go("path",{d:"M152 120h-16V56h8a32 32 0 0 1 32 32 8 8 0 0 0 16 0 48.05 48.05 0 0 0-48-48h-8V24a8 8 0 0 0-16 0v16h-8a48 48 0 0 0 0 96h8v64h-16a32 32 0 0 1-32-32 8 8 0 0 0-16 0 48.05 48.05 0 0 0 48 48h16v16a8 8 0 0 0 16 0v-16h16a48 48 0 0 0 0-96m-40 0a32 32 0 0 1 0-64h8v64Zm40 80h-16v-64h16a32 32 0 0 1 0 64"},null,-1)]])}var Jxt,ewt,twt=V(()=>{Rc(),Jxt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ewt={render:Kxt}}),awt=Q({default:()=>owt,render:()=>rwt});function rwt(e,t){return Zo(),qo("svg",nwt,[...t[0]||=[Go("path",{d:"M216 40h-80V24a8 8 0 0 0-16 0v16H40a16 16 0 0 0-16 16v120a16 16 0 0 0 16 16h39.36l-21.61 27a8 8 0 0 0 12.5 10l29.59-37h56.32l29.59 37a8 8 0 1 0 12.5-10l-21.61-27H216a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 136H40V56h176zm-112-56v24a8 8 0 0 1-16 0v-24a8 8 0 0 1 16 0m32-16v40a8 8 0 0 1-16 0v-40a8 8 0 0 1 16 0m32-16v56a8 8 0 0 1-16 0V88a8 8 0 0 1 16 0"},null,-1)]])}var nwt,owt,iwt=V(()=>{Rc(),nwt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},owt={render:rwt}}),swt=Q({default:()=>uwt,render:()=>lwt});function lwt(e,t){return Zo(),qo("svg",cwt,[...t[0]||=[Go("path",{d:"M223.45 40.07a8 8 0 0 0-7.52-7.52C139.8 28.08 78.82 51 52.82 94a87.1 87.1 0 0 0-12.76 49c.57 15.92 5.21 32 13.79 47.85l-19.51 19.5a8 8 0 0 0 11.32 11.32l19.5-19.51C81 210.73 97.09 215.37 113 215.94q1.67.06 3.33.06A86.93 86.93 0 0 0 162 203.18c43-26 65.93-86.97 61.45-163.11m-69.7 149.43c-22.75 13.78-49.68 14-76.71.77l88.63-88.62a8 8 0 0 0-11.32-11.32L65.73 179c-13.19-27-13-54 .77-76.71 22.09-36.47 74.6-56.44 141.31-54.06 2.39 66.66-17.59 119.18-54.06 141.27"},null,-1)]])}var cwt,uwt,dwt=V(()=>{Rc(),cwt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},uwt={render:lwt}}),pwt=Q({default:()=>fwt,render:()=>hwt});function hwt(e,t){return Zo(),qo("svg",mwt,[...t[0]||=[Go("path",{d:"m222.37 158.46-47.11-21.11-.13-.06a16 16 0 0 0-15.17 1.4 8 8 0 0 0-.75.56L134.87 160c-15.42-7.49-31.34-23.29-38.83-38.51l20.78-24.71c.2-.25.39-.5.57-.77a16 16 0 0 0 1.32-15.06v-.12L97.54 33.64a16 16 0 0 0-16.62-9.52A56.26 56.26 0 0 0 32 80c0 79.4 64.6 144 144 144a56.26 56.26 0 0 0 55.88-48.92 16 16 0 0 0-9.51-16.62M176 208A128.14 128.14 0 0 1 48 80a40.2 40.2 0 0 1 34.87-40 .6.6 0 0 0 0 .12l21 47-20.67 24.74a6 6 0 0 0-.57.77 16 16 0 0 0-1 15.7c9.06 18.53 27.73 37.06 46.46 46.11a16 16 0 0 0 15.75-1.14 8 8 0 0 0 .74-.56L168.89 152l47 21.05h.11A40.21 40.21 0 0 1 176 208"},null,-1)]])}var mwt,fwt,gwt=V(()=>{Rc(),mwt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},fwt={render:hwt}}),vwt=Q({default:()=>Owt,render:()=>bwt});function bwt(e,t){return Zo(),qo("svg",ywt,[...t[0]||=[Go("path",{d:"M208 152h16a8 8 0 0 0 0-16h-16v-16h16a8 8 0 0 0 0-16h-16.4a79.76 79.76 0 0 0-21.44-46.85l19.5-19.49a8 8 0 0 0-11.32-11.32l-20.29 20.3a79.74 79.74 0 0 0-92.1 0l-20.29-20.3a8 8 0 0 0-11.32 11.32l19.5 19.49A79.76 79.76 0 0 0 48.4 104H32a8 8 0 0 0 0 16h16v16H32a8 8 0 0 0 0 16h16v8c0 2.7.14 5.37.4 8H32a8 8 0 0 0 0 16h19.68a80 80 0 0 0 152.64 0H224a8 8 0 0 0 0-16h-16.4c.26-2.63.4-5.3.4-8ZM128 48a64.07 64.07 0 0 1 63.48 56h-127A64.07 64.07 0 0 1 128 48m8 175.48V144a8 8 0 0 0-16 0v79.48A64.07 64.07 0 0 1 64 160v-40h128v40a64.07 64.07 0 0 1-56 63.48"},null,-1)]])}var ywt,Owt,xwt=V(()=>{Rc(),ywt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Owt={render:bwt}}),wwt=Q({default:()=>Awt,render:()=>kwt});function kwt(e,t){return Zo(),qo("svg",Swt,[...t[0]||=[Go("path",{d:"M160 40a88.09 88.09 0 0 0-78.71 48.67A64 64 0 1 0 72 216h88a88 88 0 0 0 0-176m0 160H72a48 48 0 0 1 0-96c1.1 0 2.2 0 3.29.11A88 88 0 0 0 72 128a8 8 0 0 0 16 0 72 72 0 1 1 72 72"},null,-1)]])}var Swt,Awt,_wt=V(()=>{Rc(),Swt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Awt={render:kwt}}),Twt=Q({default:()=>Pwt,render:()=>Ewt});function Ewt(e,t){return Zo(),qo("svg",Cwt,[...t[0]||=[Go("path",{d:"M208 136H48a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16m0 64H48v-48h160zm0-160H48a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h160a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 64H48V56h160zm-16-24a12 12 0 1 1-12-12 12 12 0 0 1 12 12m0 96a12 12 0 1 1-12-12 12 12 0 0 1 12 12"},null,-1)]])}var Cwt,Pwt,Mwt=V(()=>{Rc(),Cwt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Pwt={render:Ewt}}),$wt=Q({default:()=>Rwt,render:()=>Nwt});function Nwt(e,t){return Zo(),qo("svg",Iwt,[...t[0]||=[Go("path",{d:"M128 24c-53.83 0-96 24.6-96 56v96c0 31.4 42.17 56 96 56s96-24.6 96-56V80c0-31.4-42.17-56-96-56m80 104c0 9.62-7.88 19.43-21.61 26.92C170.93 163.35 150.19 168 128 168s-42.93-4.65-58.39-13.08C55.88 147.43 48 137.62 48 128v-16.64c17.06 15 46.23 24.64 80 24.64s62.94-9.68 80-24.64ZM69.61 53.08C85.07 44.65 105.81 40 128 40s42.93 4.65 58.39 13.08C200.12 60.57 208 70.38 208 80s-7.88 19.43-21.61 26.92C170.93 115.35 150.19 120 128 120s-42.93-4.65-58.39-13.08C55.88 99.43 48 89.62 48 80s7.88-19.43 21.61-26.92m116.78 149.84C170.93 211.35 150.19 216 128 216s-42.93-4.65-58.39-13.08C55.88 195.43 48 185.62 48 176v-16.64c17.06 15 46.23 24.64 80 24.64s62.94-9.68 80-24.64V176c0 9.62-7.88 19.43-21.61 26.92"},null,-1)]])}var Iwt,Rwt,Dwt=V(()=>{Rc(),Iwt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Rwt={render:Nwt}}),Lwt=Q({default:()=>Uwt,render:()=>Bwt});function Bwt(e,t){return Zo(),qo("svg",jwt,[...t[0]||=[Go("path",{d:"M104 40H56a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 64H56V56h48zm96-64h-48a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 64h-48V56h48zm-96 32H56a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16m0 64H56v-48h48zm96-64h-48a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16m0 64h-48v-48h48z"},null,-1)]])}var jwt,Uwt,zwt=V(()=>{Rc(),jwt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Uwt={render:Bwt}}),Hwt=Q({default:()=>Qwt,render:()=>Zwt});function Zwt(e,t){return Zo(),qo("svg",Vwt,[...t[0]||=[Go("path",{d:"M192 32H64a32 32 0 0 0-32 32v128a32 32 0 0 0 32 32h128a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32m16 160a16 16 0 0 1-16 16H64a16 16 0 0 1-16-16V64a16 16 0 0 1 16-16h128a16 16 0 0 1 16 16ZM104 92a12 12 0 1 1-12-12 12 12 0 0 1 12 12m36 36a12 12 0 1 1-12-12 12 12 0 0 1 12 12m36 36a12 12 0 1 1-12-12 12 12 0 0 1 12 12"},null,-1)]])}var Vwt,Qwt,qwt=V(()=>{Rc(),Vwt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Qwt={render:Zwt}}),Fwt=Q({default:()=>Gwt,render:()=>Wwt});function Wwt(e,t){return Zo(),qo("svg",Xwt,[...t[0]||=[Go("path",{d:"m223.68 66.15-88-48.15a15.88 15.88 0 0 0-15.36 0l-88 48.17a16 16 0 0 0-8.32 14v95.64a16 16 0 0 0 8.32 14l88 48.17a15.88 15.88 0 0 0 15.36 0l88-48.17a16 16 0 0 0 8.32-14V80.18a16 16 0 0 0-8.32-14.03M128 32l80.34 44L128 120 47.66 76ZM40 90l80 43.78v85.79l-80-43.75Zm96 129.57v-85.75L216 90v85.78Z"},null,-1)]])}var Xwt,Gwt,Ywt=V(()=>{Rc(),Xwt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Gwt={render:Wwt}}),Kwt=Q({default:()=>tkt,render:()=>Jwt});function Jwt(e,t){return Zo(),qo("svg",ekt,[...t[0]||=[Go("path",{d:"M128 128a8 8 0 0 1-3 6.25l-40 32a8 8 0 1 1-10-12.5L107.19 128 75 102.25a8 8 0 1 1 10-12.5l40 32a8 8 0 0 1 3 6.25m48 24h-40a8 8 0 0 0 0 16h40a8 8 0 0 0 0-16m56-96v144a16 16 0 0 1-16 16H40a16 16 0 0 1-16-16V56a16 16 0 0 1 16-16h176a16 16 0 0 1 16 16m-16 144V56H40v144z"},null,-1)]])}var ekt,tkt,akt=V(()=>{Rc(),ekt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},tkt={render:Jwt}}),rkt=Q({default:()=>ikt,render:()=>nkt});function nkt(e,t){return Zo(),qo("svg",okt,[...t[0]||=[Go("path",{d:"M104 216a16 16 0 1 1-16-16 16 16 0 0 1 16 16m88-16a16 16 0 1 0 16 16 16 16 0 0 0-16-16m47.71-125.86-25.64 92.28A24.06 24.06 0 0 1 191 184H92.16A24.06 24.06 0 0 1 69 166.42L33.92 40H16a8 8 0 0 1 0-16h24a8 8 0 0 1 7.71 5.86L57.19 64H232a8 8 0 0 1 7.71 10.14M221.47 80H61.64l22.81 82.14a8 8 0 0 0 7.71 5.86H191a8 8 0 0 0 7.71-5.86Z"},null,-1)]])}var okt,ikt,skt=V(()=>{Rc(),okt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ikt={render:nkt}}),lkt=Q({default:()=>dkt,render:()=>ckt});function ckt(e,t){return Zo(),qo("svg",ukt,[...t[0]||=[Go("path",{d:"M216 72h-35.08c.39-.33.79-.65 1.17-1A29.53 29.53 0 0 0 192 49.57 32.62 32.62 0 0 0 158.44 16 29.53 29.53 0 0 0 137 25.91a55 55 0 0 0-9 14.48 55 55 0 0 0-9-14.48A29.53 29.53 0 0 0 97.56 16 32.62 32.62 0 0 0 64 49.57 29.53 29.53 0 0 0 73.91 71c.38.33.78.65 1.17 1H40a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16v64a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16v-64a16 16 0 0 0 16-16V88a16 16 0 0 0-16-16m-67-35.49a13.7 13.7 0 0 1 10-4.5h.49A16.62 16.62 0 0 1 176 49.08a13.7 13.7 0 0 1-4.5 10c-9.49 8.4-25.24 11.36-35 12.4 1.2-10.59 4.5-25.98 12.5-34.97m-64.09.36A16.63 16.63 0 0 1 96.59 32h.49a13.7 13.7 0 0 1 10 4.5c8.39 9.48 11.35 25.2 12.39 34.92-9.72-1-25.44-4-34.92-12.39a13.7 13.7 0 0 1-4.5-10 16.6 16.6 0 0 1 4.82-12.16ZM40 88h80v32H40Zm16 48h64v64H56Zm144 64h-64v-64h64Zm16-80h-80V88h80z"},null,-1)]])}var ukt,dkt,pkt=V(()=>{Rc(),ukt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},dkt={render:ckt}}),hkt=Q({default:()=>gkt,render:()=>mkt});function mkt(e,t){return Zo(),qo("svg",fkt,[...t[0]||=[Go("path",{d:"m223.68 66.15-88-48.15a15.88 15.88 0 0 0-15.36 0l-88 48.17a16 16 0 0 0-8.32 14v95.64a16 16 0 0 0 8.32 14l88 48.17a15.88 15.88 0 0 0 15.36 0l88-48.17a16 16 0 0 0 8.32-14V80.18a16 16 0 0 0-8.32-14.03M128 32l80.34 44-29.77 16.3-80.35-44Zm0 88L47.66 76l33.9-18.56 80.34 44ZM40 90l80 43.78v85.79l-80-43.75Zm176 85.78-80 43.79v-85.75l32-17.51V152a8 8 0 0 0 16 0v-44.45L216 90v85.77Z"},null,-1)]])}var fkt,gkt,vkt=V(()=>{Rc(),fkt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},gkt={render:mkt}}),bkt=Q({default:()=>xkt,render:()=>ykt});function ykt(e,t){return Zo(),qo("svg",Okt,[...t[0]||=[Go("path",{d:"M232 208h-18.31L153.42 34.75A16 16 0 0 0 138.31 24h-20.62a16 16 0 0 0-15.11 10.74L42.31 208H24a8 8 0 0 0 0 16h208a8 8 0 0 0 0-16M95.43 104h65.14l16.7 48H78.73Zm22.26-64h20.62L155 88h-54ZM73.17 168h109.66l13.92 40H59.25Z"},null,-1)]])}var Okt,xkt,wkt=V(()=>{Rc(),Okt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},xkt={render:ykt}}),kkt=Q({default:()=>_kt,render:()=>Skt});function Skt(e,t){return Zo(),qo("svg",Akt,[...t[0]||=[Go("path",{d:"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m88 104a87.6 87.6 0 0 1-6.4 32.94l-44.7-27.49a15.9 15.9 0 0 0-6.24-2.23l-22.82-3.08a16.11 16.11 0 0 0-16 7.86h-8.72l-3.8-7.86a15.91 15.91 0 0 0-11-8.67l-8-1.73L96.14 104h16.71a16.06 16.06 0 0 0 7.73-2l12.25-6.76a16.6 16.6 0 0 0 3-2.14l26.91-24.34A15.93 15.93 0 0 0 166 49.1l-.36-.65A88.11 88.11 0 0 1 216 128m-72.69-86.66L152 56.9l-26.91 24.34L112.85 88H96.14a16 16 0 0 0-13.88 8l-8.73 15.23-10.15-27.04 10.94-25.87a87.87 87.87 0 0 1 69-17ZM40 128a87.5 87.5 0 0 1 8.54-37.8l11.34 30.27a16 16 0 0 0 11.62 10l21.43 4.61 3.81 7.92a16.09 16.09 0 0 0 14.4 9h1.48l-7.23 16.23a16 16 0 0 0 2.86 17.37l.14.14 19.61 20.2-1.94 10A88.11 88.11 0 0 1 40 128m102.58 86.78 1.13-5.81a16.09 16.09 0 0 0-4-13.9 2 2 0 0 1-.14-.14L120 174.74 133.7 144l22.82 3.08 45.72 28.12a88.18 88.18 0 0 1-59.66 39.58"},null,-1)]])}var Akt,_kt,Tkt=V(()=>{Rc(),Akt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},_kt={render:Skt}});var Ekt,Ckt,Pkt,Mkt,$kt,Nkt,Ikt,Rkt,Dkt,Lkt,Bkt,jkt,Ukt,zkt,Hkt,Zkt,Vkt,Qkt,qkt=V(()=>{Vft(),Rc(),Ekt=Object.assign({"./icons/basic-shape-diamond.svg":()=>Promise.resolve().then(()=>(Xft(),Qft)),"./icons/basic-shape-hexagon.svg":()=>Promise.resolve().then(()=>(egt(),Gft)),"./icons/basic-shape-primary-circle-ellipse-round.svg":()=>Promise.resolve().then(()=>(ogt(),tgt)),"./icons/basic-shape-primary-square-rectangle.svg":()=>Promise.resolve().then(()=>(ugt(),igt)),"./icons/basic-shape-shield.svg":()=>Promise.resolve().then(()=>(fgt(),dgt)),"./icons/computer-device-desktop-monitor.svg":()=>Promise.resolve().then(()=>(Ogt(),ggt)),"./icons/computer-device-desktop.svg":()=>Promise.resolve().then(()=>(Agt(),xgt)),"./icons/computer-device-laptop.svg":()=>Promise.resolve().then(()=>(Pgt(),_gt)),"./icons/computer-device-mobile-phone-android-samsung-back.svg":()=>Promise.resolve().then(()=>(Rgt(),Mgt)),"./icons/computer-device-mobile-phone-android-samsung.svg":()=>Promise.resolve().then(()=>(Ugt(),Dgt)),"./icons/computer-device-mobile-phone-iphone-x-back.svg":()=>Promise.resolve().then(()=>(Qgt(),zgt)),"./icons/computer-device-mobile-phone-iphone-x.svg":()=>Promise.resolve().then(()=>(Ggt(),qgt)),"./icons/computer-device-mobile-tablet-touch.svg":()=>Promise.resolve().then(()=>(tvt(),Ygt)),"./icons/computer-device-mobile-tablet.svg":()=>Promise.resolve().then(()=>(ivt(),avt)),"./icons/computer-device-network-ethernet-cat6.svg":()=>Promise.resolve().then(()=>(dvt(),svt)),"./icons/computer-device-network-lan-www.svg":()=>Promise.resolve().then(()=>(gvt(),pvt)),"./icons/computer-device-network-wifi-connection.svg":()=>Promise.resolve().then(()=>(xvt(),vvt)),"./icons/computer-device-network-wifi-router.svg":()=>Promise.resolve().then(()=>(_vt(),wvt)),"./icons/ecology-science-erlenmeyer-flask.svg":()=>Promise.resolve().then(()=>(Mvt(),Tvt)),"./icons/image-flash-lightning.svg":()=>Promise.resolve().then(()=>(Dvt(),$vt)),"./icons/image-picture-flower.svg":()=>Promise.resolve().then(()=>(zvt(),Lvt)),"./icons/interface-alert-exclamation-diamond.svg":()=>Promise.resolve().then(()=>(qvt(),Hvt)),"./icons/interface-alert-exclamation-triangle-warning.svg":()=>Promise.resolve().then(()=>(Yvt(),Fvt)),"./icons/interface-alert-information-circle.svg":()=>Promise.resolve().then(()=>(abt(),Kvt)),"./icons/interface-award-crown.svg":()=>Promise.resolve().then(()=>(sbt(),rbt)),"./icons/interface-bookmark-tag.svg":()=>Promise.resolve().then(()=>(pbt(),lbt)),"./icons/interface-bookmark.svg":()=>Promise.resolve().then(()=>(vbt(),hbt)),"./icons/interface-calendar-date-one.svg":()=>Promise.resolve().then(()=>(wbt(),bbt)),"./icons/interface-content-book-open-pages.svg":()=>Promise.resolve().then(()=>(Tbt(),kbt)),"./icons/interface-content-book-page.svg":()=>Promise.resolve().then(()=>($bt(),Ebt)),"./icons/interface-content-file.svg":()=>Promise.resolve().then(()=>(Lbt(),Nbt)),"./icons/interface-content-folder.svg":()=>Promise.resolve().then(()=>(Vft(),jft)),"./icons/interface-copy-clipboard.svg":()=>Promise.resolve().then(()=>(Hbt(),Bbt)),"./icons/interface-edit-attachment.svg":()=>Promise.resolve().then(()=>(Fbt(),Zbt)),"./icons/interface-edit-binocular.svg":()=>Promise.resolve().then(()=>(Kbt(),Wbt)),"./icons/interface-edit-magic-wand.svg":()=>Promise.resolve().then(()=>(ryt(),Jbt)),"./icons/interface-edit-tool-paint-roller.svg":()=>Promise.resolve().then(()=>(lyt(),nyt)),"./icons/interface-edit-tool-pencil.svg":()=>Promise.resolve().then(()=>(hyt(),cyt)),"./icons/interface-favorite-award.svg":()=>Promise.resolve().then(()=>(byt(),myt)),"./icons/interface-favorite-flag.svg":()=>Promise.resolve().then(()=>(kyt(),yyt)),"./icons/interface-favorite-heart.svg":()=>Promise.resolve().then(()=>(Eyt(),Syt)),"./icons/interface-favorite-star.svg":()=>Promise.resolve().then(()=>(Nyt(),Cyt)),"./icons/interface-favorite-stars-sparkles.svg":()=>Promise.resolve().then(()=>(Byt(),Iyt)),"./icons/interface-hierarchy-flowchart.svg":()=>Promise.resolve().then(()=>(Zyt(),jyt)),"./icons/interface-home-house.svg":()=>Promise.resolve().then(()=>(Wyt(),Vyt)),"./icons/interface-hyperlink.svg":()=>Promise.resolve().then(()=>(Jyt(),Xyt)),"./icons/interface-lighting-brightness.svg":()=>Promise.resolve().then(()=>(nOt(),eOt)),"./icons/interface-lock-closed.svg":()=>Promise.resolve().then(()=>(cOt(),oOt)),"./icons/interface-lock-open-unlock.svg":()=>Promise.resolve().then(()=>(mOt(),uOt)),"./icons/interface-login-key.svg":()=>Promise.resolve().then(()=>(yOt(),fOt)),"./icons/interface-search.svg":()=>Promise.resolve().then(()=>(SOt(),OOt)),"./icons/interface-setting-cog.svg":()=>Promise.resolve().then(()=>(COt(),AOt)),"./icons/interface-share-megaphone-bullhorn.svg":()=>Promise.resolve().then(()=>(IOt(),POt)),"./icons/interface-share-rocket.svg":()=>Promise.resolve().then(()=>(jOt(),ROt)),"./icons/interface-share-satellite.svg":()=>Promise.resolve().then(()=>(VOt(),UOt)),"./icons/interface-share-space-ship.svg":()=>Promise.resolve().then(()=>(XOt(),QOt)),"./icons/interface-share.svg":()=>Promise.resolve().then(()=>(ext(),GOt)),"./icons/interface-signal-square.svg":()=>Promise.resolve().then(()=>(oxt(),txt)),"./icons/interface-time-clock-circle.svg":()=>Promise.resolve().then(()=>(uxt(),ixt)),"./icons/interface-time-hour-glass.svg":()=>Promise.resolve().then(()=>(fxt(),dxt)),"./icons/interface-users-multiple.svg":()=>Promise.resolve().then(()=>(Oxt(),gxt)),"./icons/interface-weather-moon.svg":()=>Promise.resolve().then(()=>(Axt(),xxt)),"./icons/mail-chat-bubble-square.svg":()=>Promise.resolve().then(()=>(Pxt(),_xt)),"./icons/mail-send-email-paper-airplane.svg":()=>Promise.resolve().then(()=>(Rxt(),Mxt)),"./icons/mail-send-envelope.svg":()=>Promise.resolve().then(()=>(Uxt(),Dxt)),"./icons/money-cashier-receipt.svg":()=>Promise.resolve().then(()=>(Qxt(),zxt)),"./icons/money-currency-dollar-pay.svg":()=>Promise.resolve().then(()=>(Gxt(),qxt)),"./icons/money-graph-arrow-increase.svg":()=>Promise.resolve().then(()=>(twt(),Yxt)),"./icons/money-graph-bar-chart-increase.svg":()=>Promise.resolve().then(()=>(iwt(),awt)),"./icons/nature-ecology-leaf.svg":()=>Promise.resolve().then(()=>(dwt(),swt)),"./icons/phone-telephone.svg":()=>Promise.resolve().then(()=>(gwt(),pwt)),"./icons/programming-bug.svg":()=>Promise.resolve().then(()=>(xwt(),vwt)),"./icons/programming-cloud.svg":()=>Promise.resolve().then(()=>(_wt(),wwt)),"./icons/programming-computer-database-server.svg":()=>Promise.resolve().then(()=>(Mwt(),Twt)),"./icons/programming-computer-database.svg":()=>Promise.resolve().then(()=>(Dwt(),$wt)),"./icons/programming-module-four-layout.svg":()=>Promise.resolve().then(()=>(zwt(),Lwt)),"./icons/programming-module-three.svg":()=>Promise.resolve().then(()=>(qwt(),Hwt)),"./icons/programming-module.svg":()=>Promise.resolve().then(()=>(Ywt(),Fwt)),"./icons/programming-script-code.svg":()=>Promise.resolve().then(()=>(akt(),Kwt)),"./icons/shopping-cart.svg":()=>Promise.resolve().then(()=>(skt(),rkt)),"./icons/shopping-gift-present.svg":()=>Promise.resolve().then(()=>(pkt(),lkt)),"./icons/shopping-shipping-box-parcel-package.svg":()=>Promise.resolve().then(()=>(vkt(),hkt)),"./icons/tag-new-circle.svg":()=>Promise.resolve().then(()=>(wkt(),bkt)),"./icons/travel-map-earth-globe.svg":()=>Promise.resolve().then(()=>(Tkt(),kkt))}),Ckt=Object.assign({"./icons/interface-content-folder.svg":zft})["./icons/interface-content-folder.svg"],Object.keys(Ekt).map(e=>e.replace("./icons/","").replace(".svg","")).map(e=>({src:e,title:e.replaceAll("-"," "),tags:[]})),Pkt=new Map,Ckt?.default&&Pkt.set("interface-content-folder",za(Ckt.default))}),Fkt=V(()=>{qkt(),Rc(),Mkt=Pn({__name:"LibraryIcon",props:{src:{}},setup(e){let t=e,a=Va();return mn(async()=>{a.value=await async function(e){let t=Pkt.get(e);if(t)return t;let a=Ekt[`./icons/${e}.svg`];if(!a)return;let r=await a(),n=za(r.default??r);return Pkt.set(e,n),n}(t.src)}),(e,t)=>a.value?(Zo(),Fo(Wn(a.value),{key:0})):ai("",!0)}})}),Wkt=V(()=>{Fkt(),$kt=Mkt}),Xkt=V(()=>{Wkt()}),Gkt=V(()=>{dft(),Nft(),Ift(),Rft(),Oft(),kft(),Lft(),Rc(),ift(),Xkt(),Nkt={key:0,class:"line-through"},Ikt={key:0,class:"line-through"},Rkt=Pn({__name:"SidebarItem",props:{item:{},layout:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},isDraggable:{},isDroppable:{type:Function}},emits:["selectItem","onDragEnd","toggleGroup"],setup(e,{emit:t}){let a=t,r=ao(),n=e=>("isDeprecated"in e&&e.isDeprecated)??!1,o=(e,t)=>{a("onDragEnd",e,t)},{draggableAttrs:i,draggableEvents:s}=pft({id:e.item.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:o}),l=ol(()=>Tft(e.item)?Smt(e.layout,e.item.children,e.options?.hideOperationDefaultExamples):[]);return(t,c)=>{let u=Fn("SidebarItem",!0);return l.value.length>0&&(e=>"isGroup"in e&&e.isGroup)(e.item)?(Zo(),Fo(Fa(pmt),ii({key:0,"data-sidebar-id":e.item.id},Fa(i),to(Fa(s))),{items:cn(()=>[(Zo(!0),qo(Ls,null,Yn(l.value,n=>(Zo(),Fo(u,{key:n.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:n,layout:e.layout,options:e.options,onOnDragEnd:o,onSelectItem:c[0]||=e=>a("selectItem",e),onToggleGroup:c[1]||=e=>a("toggleGroup",e)},Kn({_:2},[r.decorator?{name:"decorator",fn:cn(e=>[Jn(t.$slots,"decorator",ii({ref_for:!0},e))]),key:"0"}:void 0,r.empty?{name:"empty",fn:cn(e=>[Jn(t.$slots,"empty",ii({ref_for:!0},e))]),key:"1"}:void 0,r.icon?{name:"icon",fn:cn(e=>[Jn(t.$slots,"icon",ii({ref_for:!0},e))]),key:"2"}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128))]),default:cn(()=>[ei(Kt(e.item.title)+" ",1)]),_:3},16,["data-sidebar-id"])):Fa(Eft)(e.layout,e.item,void 0!==r.empty,e.options?.hideOperationDefaultExamples??!1)?(Zo(),Fo(Fa(Ght),ii({key:1,active:e.isSelected(e.item.id),class:"relative",controlled:"","data-sidebar-id":e.item.id},Fa(i),{discrete:"reference"===e.layout&&"text"===e.item.type,open:e.isExpanded(e.item.id)},to(Fa(s)),{onClick:c[4]||=()=>a("selectItem",e.item.id),onToggle:c[5]||=()=>a("toggleGroup",e.item.id)}),Kn({items:cn(()=>[(Zo(!0),qo(Ls,null,Yn(l.value,n=>(Zo(),Fo(u,{key:n.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:n,layout:e.layout,options:e.options,parentIds:[],onOnDragEnd:o,onSelectItem:c[2]||=e=>a("selectItem",e),onToggleGroup:c[3]||=e=>a("toggleGroup",e)},Kn({_:2},[r.decorator?{name:"decorator",fn:cn(e=>[Jn(t.$slots,"decorator",ii({ref_for:!0},e))]),key:"0"}:void 0,r.empty?{name:"empty",fn:cn(e=>[Jn(t.$slots,"empty",ii({ref_for:!0},e))]),key:"1"}:void 0,r.icon?{name:"icon",fn:cn(e=>[Jn(t.$slots,"icon",ii({ref_for:!0},e))]),key:"2"}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128)),r.empty&&0===(e.item.children?.length??0)?Jn(t.$slots,"empty",{key:0,item:e.item}):ai("",!0)]),default:cn(()=>[n(e.item)?(Zo(),qo("span",Nkt,[qs(Pft,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"])])):(Zo(),Fo(Pft,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"]))]),_:2},["document"===e.item.type?{name:"icon",fn:cn(({open:a})=>[Jn(t.$slots,"icon",{item:e.item,open:a},()=>[qs(Fa($kt),{class:"block",src:"icon"in e.item&&e.item.icon||"interface-content-folder"},null,8,["src"])])]),key:"0"}:void 0,"method"in e.item?{name:"aside",fn:cn(()=>[qs(yft,{active:e.isSelected(e.item.id),class:tt(["ml-2 h-4 self-start",{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),method:e.item.method,webhook:"webhook"===e.item.type},null,8,["active","class","method","webhook"])]),key:"1"}:void 0,"method"in e.item?{name:"toggle",fn:cn(()=>[c[7]||=Go("span",{class:"hidden"},null,-1)]),key:"2"}:void 0,r.decorator?{name:"after",fn:cn(()=>[qs(_ft,null,{default:cn(()=>[Jn(t.$slots,"decorator",{item:e.item})]),_:3})]),key:"3"}:void 0]),1040,["active","data-sidebar-id","discrete","open"])):(Zo(),Fo(Fa(Hht),ii({key:2,is:"button"},Fa(i),{class:"relative","data-sidebar-id":e.item.id,selected:e.isSelected(e.item.id)},to(Fa(s)),{onClick:c[6]||=()=>a("selectItem",e.item.id)}),Kn({default:cn(()=>[n(e.item)?(Zo(),qo("span",Ikt,[qs(Pft,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"])])):(Zo(),Fo(Pft,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"]))]),_:2},[r.icon?{name:"icon",fn:cn(()=>[Jn(t.$slots,"icon",{item:e.item,open:!0})]),key:"0"}:void 0,"method"in e.item?{name:"aside",fn:cn(()=>["method"in e.item?(Zo(),Fo(yft,{key:0,active:e.isSelected(e.item.id),class:tt(["ml-2 h-4 self-start",{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),method:e.item.method,webhook:"webhook"===e.item.type},null,8,["active","class","method","webhook"])):ai("",!0)]),key:"1"}:void 0,r.decorator?{name:"after",fn:cn(()=>[qs(_ft,null,{default:cn(()=>[Jn(t.$slots,"decorator",{item:e.item})]),_:3})]),key:"2"}:void 0]),1040,["data-sidebar-id","selected"]))}}})}),Ykt=V(()=>{Gkt(),Dkt=Rkt}),Kkt=V(()=>{dft(),Ykt(),Rc(),ift(),Lkt=Pn({__name:"ScalarSidebar",props:{layout:{},items:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},indent:{default:20},isDraggable:{},isDroppable:{type:Function}},emits:["reorder","selectItem","toggleGroup"],setup(e,{emit:t}){let a=t,r=ao(),n=(e,t)=>{a("reorder",e,t)};return(t,o)=>(Zo(),Fo(Fa(Aht),{class:"flex min-h-0 flex-col",style:Je({"--scalar-sidebar-indent":e.indent+"px"})},{default:cn(()=>[Jn(t.$slots,"header"),Jn(t.$slots,"default",{},()=>[qs(Fa(emt),{class:"custom-scroll"},{default:cn(()=>[Jn(t.$slots,"before"),(Zo(!0),qo(Ls,null,Yn(Fa(Smt)(e.layout,e.items),i=>(Zo(),Fo(Dkt,{key:i.id,isDraggable:e.isDraggable??"client"===e.layout,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:i,layout:e.layout,options:e.options,onOnDragEnd:n,onSelectItem:o[0]||=e=>a("selectItem",e),onToggleGroup:o[1]||=e=>a("toggleGroup",e)},Kn({_:2},[r.decorator?{name:"decorator",fn:cn(e=>[Jn(t.$slots,"decorator",ii({ref_for:!0},e))]),key:"0"}:void 0,r.empty?{name:"empty",fn:cn(e=>[Jn(t.$slots,"empty",ii({ref_for:!0},e))]),key:"1"}:void 0,r.icon?{name:"icon",fn:cn(e=>[Jn(t.$slots,"icon",ii({ref_for:!0},e))]),key:"2"}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128))]),_:3}),Jn(t.$slots,"spacer",{},()=>[o[2]||=Go("div",{class:"flex-1"},null,-1)])]),Jn(t.$slots,"footer")]),_:3},8,["style"]))}})}),Jkt=V(()=>{Kkt(),Bkt=Lkt}),eSt=V(()=>{jkt=({items:e,nestedKey:t="children",filter:a=()=>!0,getId:r=e=>e.id})=>{let n=new Map,o=e=>{a(e)&&n.set(r(e),e),t in e&&Array.isArray(e[t])&&e[t]?.forEach(t=>o({...t,parent:e}))};return e.forEach(o),n}}),tSt=V(()=>{eSt(),Rc(),Ukt=(e,t)=>{let a=ol(()=>jkt({items:Wa(e),nestedKey:t?.key??"children"})),r=Za({}),n=Za({}),o=Za(null);return{items:ol(()=>Wa(e)),index:a,selectedItems:r,expandedItems:n,selectedItem:o,setSelected:e=>{let n=e=>{e&&(r.value[e.id]=!0,"parent"in e&&e.parent&&n(e.parent))};t?.hooks?.onBeforeSelect&&t.hooks.onBeforeSelect(e),r.value={},o.value=e,null!==e&&n(a.value.get(e)),t?.hooks?.onAfterSelect&&t.hooks.onAfterSelect(e)},setExpanded:(e,r)=>{let o=e=>{e&&(n.value[e.id]=!0,"parent"in e&&e.parent&&o(e.parent))};t?.hooks?.onBeforeExpand&&t.hooks.onBeforeExpand(e),!1===r?n.value[e]=!1:o(a.value.get(e)),t?.hooks?.onAfterExpand&&t.hooks.onAfterExpand(e)},isExpanded:e=>n.value[e]??!1,isSelected:e=>r.value[e]??!1,getEntryById:e=>a.value.get(e),reset:()=>{r.value={},n.value={}}}}}),aSt=V(()=>{zkt=(e,t)=>{if(t.type===e)return t;if("children"in t)for(let a of t.children??[]){let t=zkt(e,a);if(t)return t}return null}}),rSt=V(()=>{Hkt=e=>{if("contents"!==window.getComputedStyle(e).display)return e;for(let t of e.children)if(t instanceof HTMLElement&&null!==t.offsetParent)return t;return e},Zkt=e=>"heading"===e.dataset.sidebarType?e.querySelector(".sidebar-heading")?.offsetHeight??0:0,Vkt=(e,t)=>{let a=e.offsetTop,r=e.offsetParent;for(;r&&r!==t;)a+=r.offsetTop,r=r.offsetParent;return a},Qkt=(e,t=100)=>{if(typeof window>"u")return;let a=document.querySelector(`[data-sidebar-id="${e}"]`),r=a?.closest(".custom-scroll, .custom-scrollbar")??null;if(!a||!r)return;let n=Vkt(Hkt(a),r)+Zkt(a)-t;r.scrollTo({top:n>0?n:0})}}),nSt=V(()=>{uft(),Jkt(),eSt(),tSt(),aSt(),rSt()});nSt(),sft(),Mmt(),Cmt();function oSt(){if(typeof window>"u")return!1;let e=document.createElement("div");e.setAttribute("style","width:30px;height:30px;overflow-y:scroll;"),e.classList.add("scrollbar-test");let t=document.createElement("div");t.setAttribute("style","width:100%;height:40px"),e.appendChild(t),document.body.appendChild(e);let a=30-e.firstChild.clientWidth;return document.body.removeChild(e),!!a}var iSt=["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"],sSt={default:"Default",alternate:"Alternate",moon:"Moon",purple:"Purple",solarized:"Solarized",elysiajs:"Elysia.js",fastify:"Fastify",bluePlanet:"Blue Planet",saturn:"Saturn",kepler:"Kepler-11e",mars:"Mars",deepSpace:"Deep Space",laserwave:"Laserwave",none:"None"},lSt={default:{uid:"qTQR9jSM8E-LihpyZzPOi",name:"Default",description:"Default Scalar theme",theme:"/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f6f6f6;\n  --scalar-background-3: #e7e7e7;\n  --scalar-background-accent: #8ab4f81f;\n\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n\n  --scalar-color-accent: #0099ff;\n  --scalar-border-color: #dfdfdf;\n}\n.dark-mode {\n  --scalar-background-1: #0f0f0f;\n  --scalar-background-2: #1a1a1a;\n  --scalar-background-3: #272727;\n\n  --scalar-color-1: #e7e7e7;\n  --scalar-color-2: #a4a4a4;\n  --scalar-color-3: #797979;\n\n  --scalar-color-accent: #00aeff;\n  --scalar-background-accent: #3ea6ff1f;\n\n  --scalar-border-color: #2d2d2d;\n}\n/* Document Sidebar */\n.light-mode,\n.dark-mode {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: var(--scalar-sidebar-color-2);\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-2);\n  --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n\n  --scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);\n  --scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);\n  --scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color);\n\n  --scalar-sidebar-search-background: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1));\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n/* advanced */\n.light-mode {\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #ff5800;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-link-color: var(--scalar-color-1);\n  --scalar-link-color-hover: var(--scalar-link-color);\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n\n  --scalar-tooltip-background: color-mix(in srgb, #1a1a1a, transparent 10%);\n  --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 15%);\n\n  --scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);\n  --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);\n\n  --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);\n  --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);\n}\n.dark-mode {\n  --scalar-color-green: #00b648;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #ffc90d;\n  --scalar-color-blue: #4eb3ec;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-link-color: var(--scalar-color-1);\n  --scalar-link-color-hover: var(--scalar-link-color);\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n\n  --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%);\n  --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%);\n\n  --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);\n\n  --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);\n  --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);\n}\n@supports (color: color(display-p3 1 1 1)) {\n  .light-mode {\n    --scalar-color-accent: color(display-p3 0 0.6 1 / 1);\n    --scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1);\n    --scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1);\n    --scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1);\n    --scalar-color-blue: color(display-p3 0 0.509804 0.815686 / 1);\n    --scalar-color-orange: color(display-p3 1 0.4 0.02);\n    --scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1);\n  }\n  .dark-mode {\n    --scalar-color-accent: color(display-p3 0.07 0.67 1);\n    --scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1);\n    --scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1);\n    --scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1);\n    --scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1);\n    --scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1);\n    --scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1);\n  }\n}\n",slug:"default"},alternate:{uid:"2skUDSH4S8HYFF9yXysr-",name:"Alternate",description:"Alternate Scalar theme",theme:"/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\n}\n\n.dark-mode {\n  --scalar-background-1: #131313;\n  --scalar-background-2: #1d1d1d;\n  --scalar-background-3: #272727;\n  --scalar-background-card: #1d1d1d;\n\n  --scalar-color-1: rgba(255, 255, 255, 0.9);\n  --scalar-color-2: rgba(255, 255, 255, 0.62);\n  --scalar-color-3: rgba(255, 255, 255, 0.44);\n\n  --scalar-color-accent: var(--scalar-color-1);\n  --scalar-background-accent: var(--scalar-background-3);\n\n  --scalar-border-color: #2a2b2a;\n}\n\n.light-mode,\n.light-mode .dark-mode {\n  --scalar-background-1: #f9f9f9;\n  --scalar-background-2: #f1f1f1;\n  --scalar-background-3: #e7e7e7;\n  --scalar-background-card: #fff;\n\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n\n  --scalar-color-accent: var(--scalar-color-1);\n  --scalar-background-accent: var(--scalar-background-3);\n\n  --scalar-border-color: rgba(0, 0, 0, 0.1);\n}\n\n/* Document Sidebar */\n.t-doc__sidebar {\n  --scalar-color-green: var(--scalar-color-1);\n  --scalar-color-red: var(--scalar-color-1);\n  --scalar-color-yellow: var(--scalar-color-1);\n  --scalar-color-blue: var(--scalar-color-1);\n  --scalar-color-orange: var(--scalar-color-1);\n  --scalar-color-purple: var(--scalar-color-1);\n}\n\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: currentColor;\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n  --scalar-sidebar-search-background: transparent;\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n/* advanced */\n.light-mode .dark-mode,\n.light-mode {\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #fb892c;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: #00b648;\n  --scalar-color-red: #dd2f2c;\n  --scalar-color-yellow: #ffc90d;\n  --scalar-color-blue: #4eb3ec;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n\n.scalar-api-client__item,\n.scalar-card,\n.dark-mode .dark-mode.scalar-card {\n  --scalar-background-1: var(--scalar-background-card);\n  --scalar-background-2: var(--scalar-background-1);\n  --scalar-background-3: var(--scalar-background-1);\n}\n.dark-mode .dark-mode.scalar-card {\n  --scalar-background-3: var(--scalar-background-3);\n}\n\n.light-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%);\n}\n.dark-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%);\n}\n",slug:"alternate"},moon:{uid:"DG9ZUNp5lJhDeX_kPX4Bl",name:"Moon",description:"Lunar styles",theme:".light-mode {\n  color-scheme: light;\n  --scalar-color-1: #000000;\n  --scalar-color-2: #000000;\n  --scalar-color-3: #000000;\n  --scalar-color-accent: #645b0f;\n  --scalar-background-1: #ccc9b3;\n  --scalar-background-2: #c2bfaa;\n  --scalar-background-3: #b8b5a1;\n  --scalar-background-accent: #000000;\n\n  --scalar-border-color: rgba(0, 0, 0, 0.2);\n  --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n  --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n  --scalar-lifted-brightness: 1;\n  --scalar-backdrop-brightness: 1;\n\n  --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n  --scalar-shadow-2:\n    rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, var(--scalar-border-color) 0px 0 0 1px;\n\n  --scalar-button-1: rgb(49 53 56);\n  --scalar-button-1-color: #fff;\n  --scalar-button-1-hover: rgb(28 31 33);\n\n  --scalar-color-red: #b91c1c;\n  --scalar-color-orange: #a16207;\n  --scalar-color-green: #047857;\n  --scalar-color-blue: #1d4ed8;\n  --scalar-color-orange: #c2410c;\n  --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n  color-scheme: dark;\n  --scalar-color-1: #fffef3;\n  --scalar-color-2: #fffef3;\n  --scalar-color-3: #fffef3;\n  --scalar-color-accent: #c3b531;\n  --scalar-background-1: #313332;\n  --scalar-background-2: #393b3a;\n  --scalar-background-3: #414342;\n  --scalar-background-accent: #fffef3;\n\n  --scalar-border-color: #505452;\n  --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n  --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n  --scalar-lifted-brightness: 1.45;\n  --scalar-backdrop-brightness: 0.5;\n\n  --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n  --scalar-shadow-2:\n    rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n  --scalar-button-1: #f6f6f6;\n  --scalar-button-1-color: #000;\n  --scalar-button-1-hover: #e7e7e7;\n\n  --scalar-color-green: #00b648;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #ffc90d;\n  --scalar-color-blue: #4eb3ec;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: currentColor;\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-3);\n  --scalar-sidebar-color-active: var(--scalar-color-1);\n\n  --scalar-sidebar-search-background: transparent;\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n*::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 80%);\n}\n",slug:"moon"},purple:{uid:"pE_1ysxcZ-y2LM1GGNBUv",name:"Purple",description:"Purple Scalar theme",theme:"/* basic theme */\n.light-mode {\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f5f6f8;\n  --scalar-background-3: #eceef1;\n\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n\n  --scalar-color-accent: #5469d4;\n  --scalar-background-accent: #5469d41f;\n\n  --scalar-border-color: rgba(215, 215, 206, 0.68);\n}\n.dark-mode {\n  --scalar-background-1: #15171c;\n  --scalar-background-2: #1c1e24;\n  --scalar-background-3: #22252b;\n\n  --scalar-color-1: #fafafa;\n  --scalar-color-2: #c9ced8;\n  --scalar-color-3: #8c99ad;\n\n  --scalar-color-accent: #5469d4;\n  --scalar-background-accent: #5469d41f;\n\n  --scalar-border-color: #3f4145;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-3);\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n  --scalar-sidebar-search-background: var(--scalar-background-1);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n\n/* advanced */\n.light-mode {\n  --scalar-color-green: #17803d;\n  --scalar-color-red: #e10909;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #1763a6;\n  --scalar-color-orange: #e25b09;\n  --scalar-color-purple: #5c3993;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: #30a159;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #eec644;\n  --scalar-color-blue: #2b7abf;\n  --scalar-color-orange: #f07528;\n  --scalar-color-purple: #7a59b1;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n.light-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n.dark-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);\n}\n",slug:"purple"},solarized:{uid:"BdGVG1vf-4nYl3wJKyj8l",name:"Solarized",description:"Solarized Scalar theme",theme:".light-mode {\n  color-scheme: light;\n  --scalar-color-1: #584c27;\n  --scalar-color-2: #616161;\n  --scalar-color-3: #a89f84;\n  --scalar-color-accent: #b58900;\n  --scalar-background-1: #fdf6e3;\n  --scalar-background-2: #eee8d5;\n  --scalar-background-3: #ddd6c1;\n  --scalar-background-accent: #b589001f;\n\n  --scalar-border-color: #ded8c8;\n  --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n  --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n  --scalar-lifted-brightness: 1;\n  --scalar-backdrop-brightness: 1;\n\n  --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n  --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;\n\n  --scalar-button-1: rgb(49 53 56);\n  --scalar-button-1-color: #fff;\n  --scalar-button-1-hover: rgb(28 31 33);\n\n  --scalar-color-red: #b91c1c;\n  --scalar-color-orange: #a16207;\n  --scalar-color-green: #047857;\n  --scalar-color-blue: #1d4ed8;\n  --scalar-color-orange: #c2410c;\n  --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n  color-scheme: dark;\n  --scalar-color-1: #fff;\n  --scalar-color-2: #cccccc;\n  --scalar-color-3: #6d8890;\n  --scalar-color-accent: #007acc;\n  --scalar-background-1: #00212b;\n  --scalar-background-2: #012b36;\n  --scalar-background-3: #004052;\n  --scalar-background-accent: #015a6f;\n\n  --scalar-border-color: #2f4851;\n  --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n  --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n  --scalar-lifted-brightness: 1.45;\n  --scalar-backdrop-brightness: 0.5;\n\n  --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n  --scalar-shadow-2:\n    rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n  --scalar-button-1: #f6f6f6;\n  --scalar-button-1-color: #000;\n  --scalar-button-1-hover: #e7e7e7;\n\n  --scalar-color-green: #00b648;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #ffc90d;\n  --scalar-color-blue: #4eb3ec;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n  --scalar-sidebar-search-background: var(--scalar-background-2);\n  --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n  --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n  --scalar-sidebar-search-background: var(--scalar-background-2);\n  --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n  --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n*::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n",slug:"solarized"},bluePlanet:{uid:"X12IfAvl7ue-42V2lW40S",name:"Blue Planet",description:"Blue Planet Scalar theme",theme:"/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n  --scalar-background-1: #f0f2f5;\n  --scalar-background-2: #eaecf0;\n  --scalar-background-3: #e0e2e6;\n  --scalar-border-color: rgb(213 213 213);\n\n  --scalar-color-1: rgb(9, 9, 11);\n  --scalar-color-2: rgb(113, 113, 122);\n  --scalar-color-3: rgba(25, 25, 28, 0.5);\n\n  --scalar-color-accent: var(--scalar-color-1);\n  --scalar-background-accent: #8ab4f81f;\n}\n.light-mode .scalar-card.dark-mode,\n.dark-mode {\n  --scalar-background-1: #000e23;\n  --scalar-background-2: #01132e;\n  --scalar-background-3: #03193b;\n  --scalar-border-color: #2e394c;\n\n  --scalar-color-1: #fafafa;\n  --scalar-color-2: rgb(161, 161, 170);\n  --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n  --scalar-color-accent: var(--scalar-color-1);\n  --scalar-background-accent: #8ab4f81f;\n\n  --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: currentColor;\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-3);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n  --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  z-index: 1;\n}\n.light-mode .t-doc__sidebar {\n  --scalar-sidebar-search-background: white;\n}\n/* advanced */\n.light-mode {\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #fb892c;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: rgba(69, 255, 165, 0.823);\n  --scalar-color-red: #ff8589;\n  --scalar-color-yellow: #ffcc4d;\n  --scalar-color-blue: #6bc1fe;\n  --scalar-color-orange: #f98943;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n/* Custom theme */\n/* Document header */\n@keyframes headerbackground {\n  from {\n    background: transparent;\n    backdrop-filter: none;\n  }\n  to {\n    background: var(--scalar-header-background-1);\n    backdrop-filter: blur(12px);\n  }\n}\n\n.light-mode .t-doc__header,\n.dark-mode .t-doc__header {\n  animation: headerbackground forwards;\n  animation-timeline: scroll();\n  animation-range: 0px 200px;\n}\n\n/* Document Layout */\n.dark-mode .t-doc .layout-content {\n  background: transparent;\n}\n\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n  -webkit-text-fill-color: transparent;\n  background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n  -webkit-background-clip: text;\n  background-clip: text;\n}\n/* Hero Section Flare */\n.section-flare-item:nth-of-type(1) {\n  --c1: #ffffff;\n  --c2: #babfd8;\n  --c3: #2e8bb2;\n  --c4: #1a8593;\n  --c5: #0a143e;\n  --c6: #0a0f52;\n  --c7: #2341b8;\n\n  --solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7);\n  --solid-wrap: var(--solid), var(--c1);\n  --trans:\n    var(--c1), transparent, var(--c2), transparent, var(--c3),\n    transparent, var(--c4), transparent, var(--c5), transparent, var(--c6),\n    transparent, var(--c7);\n  --trans-wrap: var(--trans), transparent, var(--c1);\n\n  background:\n    radial-gradient(circle, var(--trans)), conic-gradient(from 180deg, var(--trans-wrap)),\n    radial-gradient(circle, var(--trans)), conic-gradient(var(--solid-wrap));\n  width: 70vw;\n  height: 700px;\n  border-radius: 50%;\n  filter: blur(100px);\n  z-index: 0;\n  right: 0;\n  position: absolute;\n  transform: rotate(-45deg);\n  top: -300px;\n  opacity: 0.3;\n}\n.section-flare-item:nth-of-type(3) {\n  --star-color: #6b9acc;\n  --star-color2: #446b8d;\n  --star-color3: #3e5879;\n  background-image:\n    radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0));\n  background-repeat: repeat;\n  background-size: 200px 200px;\n  width: 100%;\n  height: 100%;\n  mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n}\n.section-flare {\n  top: -150px !important;\n  height: 100vh;\n  background: linear-gradient(#000, var(--scalar-background-1));\n  width: 100vw;\n  overflow-x: hidden;\n}\n.light-mode .section-flare {\n  display: none;\n}\n.light-mode .scalar-card {\n  --scalar-background-1: #fff;\n  --scalar-background-2: #fff;\n  --scalar-background-3: #fff;\n}\n\n*::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 60%);\n}\n\n@media (max-width: 1000px) {\n  .light-mode .t-doc__sidebar,\n  .dark-mode .t-doc__sidebar {\n    --scalar-sidebar-background-1: var(--scalar-background-1);\n  }\n  .light-mode .t-doc__header,\n  .dark-mode .t-doc__header {\n    animation: none;\n    background: var(--scalar-header-background-1);\n    backdrop-filter: blur(12px);\n  }\n}\n",slug:"blue-planet"},deepSpace:{uid:"K8b38NWQiicq4-zXGXKdI",name:"Deep Space",description:"Deep Space Scalar theme",theme:'/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n  --scalar-color-1: rgb(9, 9, 11);\n  --scalar-color-2: rgb(113, 113, 122);\n  --scalar-color-3: rgba(25, 25, 28, 0.5);\n  --scalar-color-accent: var(--scalar-color-1);\n\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f4f4f5;\n  --scalar-background-3: #e3e3e6;\n  --scalar-background-accent: #8ab4f81f;\n\n  --scalar-border-color: rgb(228, 228, 231);\n  --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n.dark-mode {\n  --scalar-color-1: #fafafa;\n  --scalar-color-2: rgb(161, 161, 170);\n  --scalar-color-3: rgba(255, 255, 255, 0.533);\n  --scalar-color-accent: var(--scalar-color-1);\n\n  --scalar-background-1: #09090b;\n  --scalar-background-2: #18181b;\n  --scalar-background-3: #2c2c30;\n  --scalar-background-accent: #8ab4f81f;\n\n  --scalar-border-color: rgba(255, 255, 255, 0.16);\n  --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-3);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n  --scalar-sidebar-search-background: transparent;\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n.light-mode .t-doc__sidebar {\n  --scalar-sidebar-item-active-background: var(--scalar-background-2);\n}\n/* advanced */\n.light-mode {\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #fb892c;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: rgba(69, 255, 165, 0.823);\n  --scalar-color-red: #ff8589;\n  --scalar-color-yellow: #ffcc4d;\n  --scalar-color-blue: #6bc1fe;\n  --scalar-color-orange: #f98943;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n/* Custom theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n  -webkit-text-fill-color: transparent;\n  background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n  -webkit-background-clip: text;\n  background-clip: text;\n}\n.examples .scalar-card-footer {\n  --scalar-background-3: transparent;\n  padding-top: 0;\n}\n/* Hero section flare */\n.section-flare {\n  width: 100vw;\n  height: 550px;\n  position: absolute;\n}\n.section-flare-item:nth-of-type(1) {\n  position: absolute;\n  width: 100vw;\n  height: 550px;\n  --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 7%, transparent 10%, transparent 12%, #000 16%);\n  --rainbow: repeating-linear-gradient(100deg, #fff 10%, #fff 16%, #fff 22%, #fff 30%);\n  background-image: var(--stripesDark), var(--rainbow);\n  background-size: 300%, 200%;\n  background-position:\n    50% 50%,\n    50% 50%;\n  filter: invert(100%);\n  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n  mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n  pointer-events: none;\n  opacity: 0.07;\n}\n.dark-mode .section-flare-item:nth-of-type(1) {\n  background-image: var(--stripesDark), var(--rainbow);\n  filter: opacity(50%) saturate(200%);\n  opacity: 0.25;\n  height: 350px;\n}\n.section-flare-item:nth-of-type(1):after {\n  content: "";\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background-image: var(--stripesDark), var(--rainbow);\n  background-size: 200%, 100%;\n  background-attachment: fixed;\n  mix-blend-mode: difference;\n}\n.dark-mode .section-flare:after {\n  background-image: var(--stripesDark), var(--rainbow);\n}\n.section-flare-item:nth-of-type(2) {\n  --star-color: #fff;\n  --star-color2: #fff;\n  --star-color3: #fff;\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  background-image:\n    radial-gradient(2px 2px at 20px 30px, var(--star-color2), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(2px 2px at 160px 120px, var(--star-color3), rgba(0, 0, 0, 0));\n  background-repeat: repeat;\n  background-size: 200px 200px;\n  mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n  opacity: 0.2;\n}\n.light-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 70%);\n}\n.dark-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-blue), transparent 50%);\n}\n\n/* document header */\n.light-mode .t-doc__header,\n.dark-mode .t-doc__header {\n  animation: headerbackground forwards;\n  animation-timeline: scroll();\n  animation-range: 0px 200px;\n}\n@keyframes headerbackground {\n  from {\n    background: transparent;\n    backdrop-filter: none;\n  }\n  to {\n    background: var(--scalar-header-background-1);\n    backdrop-filter: blur(12px);\n  }\n}\n/* remove flare on safari to prevent dropped frames on scroll */\n@supports (-webkit-hyphens: none) {\n  .section-flare {\n    display: none;\n  }\n}\n\n/* document background */\n.light-mode .t-doc .layout-content,\n.dark-mode .t-doc .layout-content {\n  background: transparent;\n}\n',slug:"deep-space"},saturn:{uid:"1jyAjmbIZQG-RUU4Ugk9o",name:"Saturn",description:"Saturn Scalar theme",theme:"/* basic theme */\n.light-mode {\n  --scalar-background-1: #f3f3ee;\n  --scalar-background-2: #e8e8e3;\n  --scalar-background-3: #e4e4df;\n  --scalar-border-color: rgba(215, 215, 206, 0.85);\n\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n\n  --scalar-color-accent: #1763a6;\n  --scalar-background-accent: #1f648e1f;\n}\n.dark-mode {\n  --scalar-background-1: #09090b;\n  --scalar-background-2: #18181b;\n  --scalar-background-3: #2c2c30;\n  --scalar-border-color: rgba(255, 255, 255, 0.17);\n\n  --scalar-color-1: #fafafa;\n  --scalar-color-2: rgb(161, 161, 170);\n  --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n  --scalar-color-accent: #4eb3ec;\n  --scalar-background-accent: #8ab4f81f;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: currentColor;\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-3);\n  --scalar-sidebar-color-active: var(--scalar-color-1);\n\n  --scalar-sidebar-search-background: var(--scalar-background-1);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n\n/* advanced */\n.light-mode {\n  --scalar-color-green: #17803d;\n  --scalar-color-red: #e10909;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #1763a6;\n  --scalar-color-orange: #e25b09;\n  --scalar-color-purple: #5c3993;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: #30a159;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #eec644;\n  --scalar-color-blue: #2b7abf;\n  --scalar-color-orange: #f07528;\n  --scalar-color-purple: #7a59b1;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n  -webkit-text-fill-color: transparent;\n  background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n  -webkit-background-clip: text;\n  background-clip: text;\n}\n.light-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n.dark-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);\n}\n",slug:"saturn"},kepler:{uid:"jZ6dnWbtqQ0Hz3s9jLPH0",name:"Kepler-11e",description:"Kepler-11e Scalar theme",theme:"/* basic theme */\n.light-mode {\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n  --scalar-color-accent: #7070ff;\n\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f6f6f6;\n  --scalar-background-3: #e7e7e7;\n  --scalar-background-accent: #7070ff1f;\n\n  --scalar-border-color: rgba(0, 0, 0, 0.1);\n\n  --scalar-code-language-color-supersede: var(--scalar-color-3);\n}\n.dark-mode {\n  --scalar-color-1: #f7f8f8;\n  --scalar-color-2: rgb(180, 188, 208);\n  --scalar-color-3: #b4bcd099;\n  --scalar-color-accent: #828fff;\n\n  --scalar-background-1: #000212;\n  --scalar-background-2: #0d0f1e;\n  --scalar-background-3: #232533;\n  --scalar-background-accent: #8ab4f81f;\n\n  --scalar-border-color: #313245;\n  --scalar-code-language-color-supersede: var(--scalar-color-3);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n  --scalar-sidebar-search-background: rgba(0, 0, 0, 0.05);\n  --scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, 0.05);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-background-2: rgba(0, 0, 0, 0.03);\n}\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-active-background: rgba(255, 255, 255, 0.1);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n  --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n  --scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, 0.05);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n/* advanced */\n.light-mode {\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #fb892c;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: #00b648;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #ffc90d;\n  --scalar-color-blue: #4eb3ec;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n/* Custom Theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n  -webkit-text-fill-color: transparent;\n  background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n  -webkit-background-clip: text;\n  background-clip: text;\n}\n.sidebar-search {\n  backdrop-filter: blur(12px);\n}\n@keyframes headerbackground {\n  from {\n    background: transparent;\n    backdrop-filter: none;\n  }\n  to {\n    background: var(--scalar-header-background-1);\n    backdrop-filter: blur(12px);\n  }\n}\n.dark-mode .scalar-card {\n  background: rgba(255, 255, 255, 0.05) !important;\n}\n.dark-mode .scalar-card * {\n  --scalar-background-2: transparent !important;\n  --scalar-background-1: transparent !important;\n}\n.light-mode .dark-mode.scalar-card *,\n.light-mode .dark-mode.scalar-card {\n  --scalar-background-1: #0d0f1e !important;\n  --scalar-background-2: #0d0f1e !important;\n  --scalar-background-3: #191b29 !important;\n}\n.light-mode .dark-mode.scalar-card {\n  background: #191b29 !important;\n}\n.badge {\n  box-shadow: 0 0 0 1px var(--scalar-border-color);\n  margin-right: 6px;\n}\n\n.table-row.required-parameter .table-row-item:nth-of-type(2):after {\n  background: transparent;\n  box-shadow: none;\n}\n/* Hero Section Flare */\n.section-flare {\n  width: 100vw;\n  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.3), transparent);\n  height: 100vh;\n}\n.light-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 70%);\n}\n.dark-mode *::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-accent), transparent 50%);\n}\n\n/* document layout */\n.light-mode .t-doc .layout-content,\n.dark-mode .t-doc .layout-content {\n  background: transparent;\n}\n",slug:"kepler-11e"},mars:{uid:"YY4LQgwiXix55-TmMz9qd",name:"Mars",description:"Mars Scalar theme",theme:"/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n  --scalar-background-1: #f9f6f0;\n  --scalar-background-2: #f2efe8;\n  --scalar-background-3: #e9e7e2;\n  --scalar-border-color: rgba(203, 165, 156, 0.6);\n\n  --scalar-color-1: #c75549;\n  --scalar-color-2: #c75549;\n  --scalar-color-3: #c75549;\n\n  --scalar-color-accent: #c75549;\n  --scalar-background-accent: #dcbfa81f;\n\n  --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n.dark-mode {\n  --scalar-background-1: #140507;\n  --scalar-background-2: #20090c;\n  --scalar-background-3: #321116;\n  --scalar-border-color: #3c3031;\n\n  --scalar-color-1: rgba(255, 255, 255, 0.9);\n  --scalar-color-2: rgba(255, 255, 255, 0.62);\n  --scalar-color-3: rgba(255, 255, 255, 0.44);\n\n  --scalar-color-accent: rgba(255, 255, 255, 0.9);\n  --scalar-background-accent: #441313;\n\n  --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-3);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n  --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n  z-index: 1;\n}\n/* advanced */\n.light-mode {\n  --scalar-color-green: #09533a;\n  --scalar-color-red: #aa181d;\n  --scalar-color-yellow: #ab8d2b;\n  --scalar-color-blue: #19689a;\n  --scalar-color-orange: #b26c34;\n  --scalar-color-purple: #4c2191;\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n}\n.dark-mode {\n  --scalar-color-green: rgba(69, 255, 165, 0.823);\n  --scalar-color-red: #ff8589;\n  --scalar-color-yellow: #ffcc4d;\n  --scalar-color-blue: #6bc1fe;\n  --scalar-color-orange: #f98943;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n}\n/* Custom Theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n  -webkit-text-fill-color: transparent;\n  background-image: linear-gradient(to right bottom, rgb(255, 255, 255) 30%, rgba(255, 255, 255, 0.38));\n  -webkit-background-clip: text;\n  background-clip: text;\n}\n.light-mode .t-doc__sidebar {\n  --scalar-sidebar-search-background: white;\n}\n.examples .scalar-card-footer {\n  --scalar-background-3: transparent;\n  padding-top: 0;\n}\n/* Hero section flare */\n.section-flare {\n  overflow-x: hidden;\n  height: 100vh;\n  left: initial;\n}\n.section-flare-item:nth-of-type(1) {\n  background: #d25019;\n  position: relative;\n  top: -150px;\n  right: -400px;\n  width: 80vw;\n  height: 500px;\n  margin-top: -150px;\n  border-radius: 50%;\n  filter: blur(100px);\n  z-index: 0;\n}\n.light-mode .section-flare {\n  display: none;\n}\n*::selection {\n  background-color: color-mix(in srgb, var(--scalar-color-red), transparent 75%);\n}\n\n/* document layout */\n.dark-mode .t-doc .layout-content {\n  background: transparent;\n}\n",slug:"mars"},laserwave:{uid:"c5fZEi-K-hP-xXf885dkf",name:"Laserwave",description:"Laserwave Scalar theme",theme:"/* basic theme */\n.light-mode {\n  color-scheme: light;\n  --scalar-color-1: #322b3b;\n  --scalar-color-2: #645676;\n  --scalar-color-3: #9789a9;\n  --scalar-color-accent: #40b4c4;\n\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f4f2f7;\n  --scalar-background-3: #cfc7dc;\n  --scalar-background-accent: #f3fafb;\n\n  --scalar-border-color: #e4e0eb;\n}\n.dark-mode {\n  color-scheme: dark;\n  --scalar-color-1: #fff;\n  --scalar-color-2: #b8b6ba;\n  --scalar-color-3: #706c74;\n  --scalar-color-accent: #ed78c2;\n\n  --scalar-background-1: #27212e;\n  --scalar-background-2: #322c39;\n  --scalar-background-3: #4c4059;\n  --scalar-background-accent: #eb64b91f;\n\n  --scalar-border-color: rgba(255, 255, 255, 0.1);\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n  --scalar-sidebar-search-background: var(--scalar-background-2);\n  --scalar-sidebar-search-border-color: var(--scalar-sidebar-border-color);\n  --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-item-hover-color: currentColor;\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n  --scalar-sidebar-search-background: var(--scalar-background-2);\n  --scalar-sidebar-search-border-color: #514c56;\n  --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n/* advanced */\n.light-mode {\n  --scalar-button-1: rgb(49 53 56);\n  --scalar-button-1-color: #fff;\n  --scalar-button-1-hover: rgb(28 31 33);\n\n  --scalar-color-green: #74dfc4;\n  --scalar-color-red: #d887f5;\n  --scalar-color-yellow: #ffe261;\n  --scalar-color-blue: #40b4c4;\n  --scalar-color-orange: #ff52bf;\n  --scalar-color-purple: #91889b;\n\n  --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n  --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n}\n.dark-mode {\n  --scalar-button-1: #f6f6f6;\n  --scalar-button-1-color: #27212e;\n  --scalar-button-1-hover: #e7e7e7;\n\n  --scalar-color-green: #74dfc4;\n  --scalar-color-red: #d887f5;\n  --scalar-color-yellow: #ffe261;\n  --scalar-color-blue: #40b4c4;\n  --scalar-color-orange: #ff52bf;\n  --scalar-color-purple: #91889b;\n\n  --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n  --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n}\n/* Radius */\n:root {\n  --scalar-radius: 2px;\n  --scalar-radius-lg: 3px;\n  --scalar-radius-xl: 4px;\n}\n/* P3 color support */\n@supports (color: color(display-p3 1 1 1)) {\n  .light-mode {\n    --scalar-color-accent: color(display-p3 0.25098 0.705882 0.768627 / 1);\n    --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1);\n    --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1);\n    --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1);\n    --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1);\n    --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1);\n    --scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1);\n  }\n  .dark-mode {\n    --scalar-color-accent: color(display-p3 0.929412 0.470588 0.760784 / 1);\n    --scalar-color-green: color(display-p3 0.454902 0.87451 0.768627 / 1);\n    --scalar-color-red: color(display-p3 0.847059 0.529412 0.960784 / 1);\n    --scalar-color-yellow: color(display-p3 1 0.886275 0.380392 / 1);\n    --scalar-color-blue: color(display-p3 0.25098 0.705882 0.768627 / 1);\n    --scalar-color-orange: color(display-p3 1 0.321569 0.74902 / 1);\n    --scalar-color-purple: color(display-p3 0.568627 0.533333 0.607843 / 1);\n  }\n}\n",slug:"laserwave"},elysiajs:{uid:"nEVZkRmCylPkT0o9YJa7y",name:"Elysia.js",description:"Elysia.js theme",theme:'.light-mode {\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n  --scalar-color-accent: #f06292;\n\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f6f6f6;\n  --scalar-background-3: #e7e7e7;\n\n  --scalar-border-color: rgba(0, 0, 0, 0.1);\n}\n.dark-mode {\n  --scalar-color-1: rgba(255, 255, 255, 0.9);\n  --scalar-color-2: rgba(156, 163, 175, 1);\n  --scalar-color-3: rgba(255, 255, 255, 0.44);\n  --scalar-color-accent: #f06292;\n\n  --scalar-background-1: #111728;\n  --scalar-background-2: #1e293b;\n  --scalar-background-3: #334155;\n  --scalar-background-accent: #f062921f;\n\n  --scalar-border-color: rgba(255, 255, 255, 0.1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: currentColor;\n\n  --scalar-sidebar-item-active-background: #f062921f;\n  --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n  --scalar-sidebar-search-background: transparent;\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n\n/* advanced */\n.light-mode {\n  --scalar-button-1: rgb(49 53 56);\n  --scalar-button-1-color: #fff;\n  --scalar-button-1-hover: rgb(28 31 33);\n\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #fb892c;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n  --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n}\n.dark-mode {\n  --scalar-button-1: #f6f6f6;\n  --scalar-button-1-color: #000;\n  --scalar-button-1-hover: #e7e7e7;\n\n  --scalar-color-green: #a3ffa9;\n  --scalar-color-red: #ffa3a3;\n  --scalar-color-yellow: #fffca3;\n  --scalar-color-blue: #a5d6ff;\n  --scalar-color-orange: #e2ae83;\n  --scalar-color-purple: #d2a8ff;\n\n  --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n  --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n}\n.section-flare {\n  width: 100%;\n  height: 400px;\n  position: absolute;\n}\n.section-flare-item:first-of-type:before {\n  content: "";\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  --stripes: repeating-linear-gradient(100deg, #fff 0%, #fff 0%, transparent 2%, transparent 12%, #fff 17%);\n  --stripesDark: repeating-linear-gradient(100deg, #000 0%, #000 0%, transparent 10%, transparent 12%, #000 17%);\n  --rainbow: repeating-linear-gradient(100deg, #60a5fa 10%, #e879f9 16%, #5eead4 22%, #60a5fa 30%);\n  contain: strict;\n  contain-intrinsic-size: 100vw 40vh;\n  background-image: var(--stripesDark), var(--rainbow);\n  background-size: 300%, 200%;\n  background-position:\n    50% 50%,\n    50% 50%;\n  filter: opacity(20%) saturate(200%);\n  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n  mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n  pointer-events: none;\n}\n.section-flare-item:first-of-type:after {\n  content: "";\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background-image: var(--stripes), var(--rainbow);\n  background-size: 200%, 100%;\n  background-attachment: fixed;\n  mix-blend-mode: difference;\n  background-image: var(--stripesDark), var(--rainbow);\n  pointer-events: none;\n}\n.light-mode .section-flare-item:first-of-type:after,\n.light-mode .section-flare-item:first-of-type:before {\n  background-image: var(--stripes), var(--rainbow);\n  filter: opacity(4%) saturate(200%);\n}\n',slug:"elysiajs"},fastify:{uid:"nTZcdcM2_yHFZFxTQe9Kk",name:"Fastify",description:"Fastify theme",theme:".light-mode {\n  color-scheme: light;\n  --scalar-color-1: #1c1e21;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n  --scalar-color-disabled: #b4b1b1;\n  --scalar-color-ghost: #a7a7a7;\n  --scalar-color-accent: #2f8555;\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f5f5f5;\n  --scalar-background-3: #ededed;\n  --scalar-background-4: rgba(0, 0, 0, 0.06);\n  --scalar-background-accent: #2f85551f;\n\n  --scalar-border-color: rgba(0, 0, 0, 0.1);\n  --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n  --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n  --scalar-lifted-brightness: 1;\n  --scalar-backdrop-brightness: 1;\n\n  --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n  --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px, rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;\n\n  --scalar-button-1: rgb(49 53 56);\n  --scalar-button-1-color: #fff;\n  --scalar-button-1-hover: rgb(28 31 33);\n\n  --scalar-color-green: #007300;\n  --scalar-color-red: #af272b;\n  --scalar-color-yellow: #b38200;\n  --scalar-color-blue: #3b8ba5;\n  --scalar-color-orange: #fb892c;\n  --scalar-color-purple: #5203d1;\n}\n\n.dark-mode {\n  color-scheme: dark;\n  --scalar-color-1: rgba(255, 255, 255, 0.9);\n  --scalar-color-2: rgba(255, 255, 255, 0.62);\n  --scalar-color-3: rgba(255, 255, 255, 0.44);\n  --scalar-color-disabled: rgba(255, 255, 255, 0.34);\n  --scalar-color-ghost: rgba(255, 255, 255, 0.26);\n  --scalar-color-accent: #27c2a0;\n  --scalar-background-1: #1b1b1d;\n  --scalar-background-2: #242526;\n  --scalar-background-3: #3b3b3b;\n  --scalar-background-4: rgba(255, 255, 255, 0.06);\n  --scalar-background-accent: #27c2a01f;\n\n  --scalar-border-color: rgba(255, 255, 255, 0.1);\n  --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n  --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n  --scalar-lifted-brightness: 1.45;\n  --scalar-backdrop-brightness: 0.5;\n\n  --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n  --scalar-shadow-2:\n    rgba(15, 15, 15, 0.2) 0px 3px 6px, rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n  --scalar-button-1: #f6f6f6;\n  --scalar-button-1-color: #000;\n  --scalar-button-1-hover: #e7e7e7;\n\n  --scalar-color-green: #26b226;\n  --scalar-color-red: #fb565b;\n  --scalar-color-yellow: #ffc426;\n  --scalar-color-blue: #6ecfef;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n}\n",slug:"fastify"}};Object.values(lSt);UE(),VK(),xW(),uA(),jE();var cSt=["ws","wss"],uSt=e=>e?.variables?bY(e.variables).reduce((e,[t,a])=>{let r=EE(a);return null!=r.default&&(e[String(t)]=String(r.default)),e},{}):{},dSt=(e,t)=>{let a=e;return t.serverVariables&&(a=vW(a,t.serverVariables)),t.environmentVariables&&(a=bW(a,t.environmentVariables)),t.pathParameters&&(a=vW(a,t.pathParameters)),a},pSt=(e,t)=>{let a=uSt(e),r=`${(e=>e.trim().toLowerCase())(e.protocol)}://${dSt(e.host,{serverVariables:a,environmentVariables:t})}`;return e.pathname?FS(r,dSt(e.pathname,{serverVariables:a,environmentVariables:t})):r},hSt=e=>{if(e)return EE(e).ws},mSt=(e,t)=>{let a=hSt(e.bindings),r=t?hSt(t.bindings):void 0;if(a||r)return{...a,...r,query:gSt(a?.query,r?.query)}},fSt=e=>{if(!e)return;let t=EE(e);return!0!==t&&!1!==t&&CE(t)?t:void 0},gSt=(e,t)=>{let a=fSt(e),r=fSt(t);if(!a&&!r)return;if(!a)return t;if(!r)return e;let n="properties"in a?a.properties:void 0,o="properties"in r?r.properties:void 0;return Object.assign({},a,r,{properties:{...n,...o}})},vSt=e=>{if(!0!==e&&!1!==e&&CE(e)){if("default"in e&&void 0!==e.default)return e.default;if("example"in e&&void 0!==e.example)return e.example;if("enum"in e&&Array.isArray(e.enum)&&void 0!==e.enum[0])return e.enum[0]}},bSt=(e,t,a)=>{if(null!=a){if(Array.isArray(a))return void a.forEach(a=>bSt(e,t,a));if("object"==typeof a)return void e.append(t,JSON.stringify(a));e.append(t,String(a))}},ySt=(e,t)=>{let a=new URLSearchParams,r=fSt(e?.query),n=r&&"properties"in r?r.properties:void 0;if(CE(n))for(let[e,t]of Object.entries(n))bSt(a,e,vSt(t));if(t)for(let[e,r]of bY(t))a.delete(e),bSt(a,e,r);return a},OSt=e=>e.replace(/~/g,"~0").replace(/\//g,"~1");HE(),AW();var xSt,wSt=V(()=>{VS(),xSt=(e,{includePath:t=!0,includeEnv:a=!0}={})=>[t&&Bw.PATH,a&&Bw.VARIABLES].flatMap(t=>t?[...e.matchAll(t)].map(e=>e[1]?.trim()).filter(e=>void 0!==e):[])});VK(),jE(),rJ();var kSt,SSt,ASt=e=>((e,t)=>{let a=`#/${t.map(OSt).join("/")}/`;if(!e.startsWith(a))return;let r=kW(()=>$E(e.slice(1)));if(!r.ok)return;let n=r.data;if(n.length!==t.length+1)return;for(let e=0;e<t.length;e++)if(n[e]!==t[e])return;let o=n[t.length];return o&&o.length>0?o:void 0})(e,["servers"]),_St=(e,t={})=>{let{channel:a=null,operation:r=null,pathParameters:n={},queryParameters:o={},environmentVariables:i,webSocketOnly:s=!0}=t,l=e.servers??{},c=((e,t)=>{if(!t?.servers)return;let a=new Set;for(let r of t.servers){let t=ASt(r.$ref);t&&e.servers?.[t]&&a.add(t)}return a})(e,a);return bY(l).filter(([e])=>c?.has(e)??!0).map(([e,t])=>{let s=(e=>EE(e))(t),l=s.protocol.trim().toLowerCase(),c=(e=>cSt.includes(e.trim().toLowerCase()))(l),u=pSt(s,i),d={name:e,server:s,host:s.host,protocol:l,description:s.description,title:s.title,url:u,isWebSocket:c};return a&&(d.connectionUrl=(({server:e,channel:t,operation:a=null,pathParameters:r={},queryParameters:n={},environmentVariables:o})=>{let i=uSt(e),s=pSt(e,o),l=t.address;return WS(s,null==l||""===l?"":dSt(l,{serverVariables:i,environmentVariables:o,pathParameters:r}),ySt(mSt(t,a),n),!0)})({server:s,channel:a,operation:r,pathParameters:n,queryParameters:o,environmentVariables:i})),d}).filter(e=>!s||e.isWebSocket)},TSt=V(()=>{kSt=(e,t)=>{let a=performance.now(),r=t(),n=performance.now(),o=Math.round(n-a);return console.info(`${e}: ${o} ms`),r},SSt=async(e,t)=>{let a=performance.now(),r=await t(),n=performance.now(),o=Math.round(n-a);return console.info(`${e}: ${o} ms`),r}});function ESt(e){try{let t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}var CSt=V(()=>{});var PSt=V(()=>{UE()});var MSt=V(()=>{});function $St(e){return!ESt(e)&&!function(e){return/^\s*(?:-\s*)?[\w\-]+\s*:\s*.+\n.*/.test(e)}(e)&&!function(e){if(!/^\s*(\{)/.test(e.slice(0,500)))return!1;try{return CE(JSON.parse(e))}catch{return!1}}(e)}var NSt=V(()=>{CSt(),PSt(),MSt()});function ISt(e=""){return e&&e.replace(/\\/g,"/").replace(USt,e=>e.toUpperCase())}function RSt(){return typeof process<"u"&&"function"==typeof process.cwd?process.cwd().replace(/\\/g,"/"):"/"}function DSt(e,t){let a="",r=0,n=-1,o=0,i=null;for(let s=0;s<=e.length;++s){if(s<e.length)i=e[s];else{if("/"===i)break;i="/"}if("/"===i){if(n!==s-1&&1!==o)if(2===o){if(a.length<2||2!==r||"."!==a[a.length-1]||"."!==a[a.length-2]){if(a.length>2){let e=a.lastIndexOf("/");-1===e?(a="",r=0):(a=a.slice(0,e),r=a.length-1-a.lastIndexOf("/")),n=s,o=0;continue}if(a.length>0){a="",r=0,n=s,o=0;continue}}t&&(a+=a.length>0?"/..":"..",r=2)}else a.length>0?a+=`/${e.slice(n+1,s)}`:a=e.slice(n+1,s),r=s-n-1;n=s,o=0}else"."===i&&-1!==o?++o:o=-1}return a}var LSt,BSt,jSt,USt,zSt,HSt,ZSt,VSt,QSt,qSt,FSt,WSt,XSt,GSt,YSt,KSt,JSt,eAt,tAt,aAt,rAt,nAt,oAt,iAt,sAt,lAt,cAt,uAt,dAt,pAt=V(()=>{LSt=()=>{var e=(()=>{var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,n=(n,o,i,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let l of a(o))!r.call(n,l)&&l!==i&&e(n,l,{get:()=>o[l],enumerable:!(s=t(o,l))||s.enumerable});return n},o={};((t,a)=>{for(var r in a)e(t,r,{get:a[r],enumerable:!0})})(o,{default:()=>se});var i=e=>Array.isArray(e),s=e=>"function"==typeof e,l=e=>"string"==typeof e,c=e=>void 0===e,u=(e,t)=>i(e)?d(e,t):l(e)?h(e,t):p(e,t),d=(e,t)=>{let a={};for(let t of e){if(1!==t.length)throw Error(`Invalid character: "${t}"`);let e=t.charCodeAt(0);a[e]=!0}return e=>{let r=e.index,n=e.input;for(;e.index<n.length&&n.charCodeAt(e.index)in a;)e.index+=1;let o=e.index;if(o>r){if(!c(t)&&!e.options.silent){let a=e.input.slice(r,o),i=s(t)?t(a,n,String(r)):t;c(i)||e.output.push(i)}e.indexMax=Math.max(e.indexMax,e.index)}return!0}},p=(e,t)=>{let a=e.source,r=e.flags.replace(/y|$/,"y"),n=new RegExp(a,r);return O(e=>{n.lastIndex=e.index;let a=n.exec(e.input);if(a){if(!c(t)&&!e.options.silent){let r=s(t)?t(...a,e.input,String(e.index)):t;c(r)||e.output.push(r)}return e.index+=a[0].length,e.indexMax=Math.max(e.indexMax,e.index),!0}return!1})},h=(e,t)=>a=>{if(a.input.startsWith(e,a.index)){if(!c(t)&&!a.options.silent){let r=s(t)?t(e,a.input,String(a.index)):t;c(r)||a.output.push(r)}return a.index+=e.length,a.indexMax=Math.max(a.indexMax,a.index),!0}return!1},m=(e,t,a,r)=>{let n=w(e);return O(y(b(e=>{let r=0;for(;r<a;){let t=e.index;if(!n(e)||(r+=1,e.index===t))break}return r>=t})))},f=(e,t)=>m(e,0,1/0),g=(e,t)=>{let a=e.map(w);return O(y(b(e=>{for(let t=0,r=a.length;t<r;t++)if(!a[t](e))return!1;return!0})))},v=(e,t)=>{let a=e.map(w);return O(y(e=>{for(let t=0,r=a.length;t<r;t++)if(a[t](e))return!0;return!1}))},b=(e,t=!1)=>{let a=w(e);return e=>{let r=e.index,n=e.output.length,o=a(e);return(!o||t)&&(e.index=r,e.output.length!==n&&(e.output.length=n)),o}},y=(e,t)=>w(e),O=(()=>{let e=0;return t=>{let a=w(t),r=e+=1;return e=>{var t;if(!1===e.options.memoization)return a(e);let n=e.index,o=(t=e.cache)[r]||(t[r]=new Map),i=o.get(n);if(!1===i)return!1;if((e=>"number"==typeof e)(i))return e.index=i,!0;if(i)return e.index=i.index,i.output?.length&&e.output.push(...i.output),!0;{let t=e.output.length;if(a(e)){let a=e.index,r=e.output.length;if(r>t){let i=e.output.slice(t,r);o.set(n,{index:a,output:i})}else o.set(n,a);return!0}return o.set(n,!1),!1}}}})(),x=e=>{let t;return a=>(t||=w(e()),t(a))},w=(e=>{let t=new Map;return a=>{let r=t.get(a);if(r)return r;let n=e(a);return t.set(a,n),n}})(e=>{if(s(e))return(e=>0===e.length)(e)?x(e):e;if(l(e)||(e=>e instanceof RegExp)(e))return u(e);if(i(e))return g(e);if((e=>"object"==typeof e&&!!e)(e))return v(Object.values(e));throw Error("Invalid rule")}),k="abcdefghijklmnopqrstuvwxyz",S=e=>{let t="";for(;e>0;)t=k[(e-1)%26]+t,e=Math.floor((e-1)/26);return t},A=e=>{let t=0;for(let a=0,r=e.length;a<r;a++)t=26*t+k.indexOf(e[a])+1;return t},_=(e,t)=>{if(t<e)return _(t,e);let a=[];for(;e<=t;)a.push(e++);return a},T=(e,t)=>_(A(e),A(t)).map(S),E=e=>e,C=e=>P(t=>((e,t,a={})=>{let r={cache:{},input:e,index:0,indexMax:0,options:a,output:[]};if(w(t)(r)&&r.index===e.length)return r.output;throw Error(`Failed to parse at index ${r.indexMax}`)})(t,e,{memoization:!1}).join("")),P=e=>{let t={};return a=>t[a]??(t[a]=e(a))},M=u(/^\*\*\/\*$/,".*"),$=u(/^\*\*\/(\*)?([ a-zA-Z0-9._-]+)$/,(e,t,a)=>`.*${t?"":"(?:^|/)"}${a.replaceAll(".","\\.")}`),N=u(/^\*\*\/(\*)?([ a-zA-Z0-9._-]*)\{([ a-zA-Z0-9._-]+(?:,[ a-zA-Z0-9._-]+)*)\}$/,(e,t,a,r)=>`.*${t?"":"(?:^|/)"}${a.replaceAll(".","\\.")}(?:${r.replaceAll(",","|").replaceAll(".","\\.")})`),I=u(/\\./,E),R=u(/[$.*+?^(){}[\]\|]/,e=>`\\${e}`),D=u(/./,E),L=v([u(/^(?:!!)*!(.*)$/,(e,t)=>`(?!^${ae(t)}$).*?`),u(/^(!!)+/,"")]),B=v([u(/\/(\*\*\/)+/,"(?:/.+/|/)"),u(/^(\*\*\/)+/,"(?:^|.*/)"),u(/\/(\*\*)$/,"(?:/.*|$)"),u(/\*\*/,".*")]),j=v([u(/\*\/(?!\*\*\/)/,"[^/]*/"),u(/\*/,"[^/]*")]),U=u("?","[^/]"),z=u("[",E),H=u("]",E),Z=u(/[!^]/,"^/"),V=u(/[a-z]-[a-z]|[0-9]-[0-9]/i,E),Q=v([I,u(/[$.*+?^(){}[\|]/,e=>`\\${e}`),V,u(/[^\]]/,E)]),q=g([z,(e=>m(e,0,1))(Z),f(Q),H]),F=u("{","(?:"),W=u("}",")"),X=g([F,v([u(/(\d+)\.\.(\d+)/,(e,t,a)=>((e,t,a)=>_(e,t).map(e=>String(e).padStart(a,"0")))(+t,+a,Math.min(t.length,a.length)).join("|")),u(/([a-z]+)\.\.([a-z]+)/,(e,t,a)=>T(t,a).join("|")),u(/([A-Z]+)\.\.([A-Z]+)/,(e,t,a)=>T(t.toLowerCase(),a.toLowerCase()).join("|").toUpperCase())]),W]),G=u("{","(?:"),Y=u("}",")"),K=u(",","|"),J=u(/[$.*+?^(){[\]\|]/,e=>`\\${e}`),ee=u(/[^}]/,E),te=g([G,f(v([B,j,U,q,X,x(()=>te),I,J,K,ee])),Y]),ae=C(f(v([M,$,N,L,B,j,U,q,X,te,I,R,D]))),re=u(/\\./,E),ne=u(/./,E),oe=C(f(v([re,u(/\*\*\*+/,"*"),u(/([^/{[(!])\*\*/,(e,t)=>`${t}*`),u(/(^|.)\*\*(?=[^*/)\]}])/,(e,t)=>`${t}*`),ne]))),ie=(e,t)=>{let a=Array.isArray(e)?e:[e];if(!a.length)return!1;let r=a.map(ie.compile),n=a.every(e=>/(\/(?:\*\*)?|\[\/\])$/.test(e)),o=t.replace(/[\\\/]+/g,"/").replace(/\/$/,n?"/":"");return r.some(e=>e.test(o))};ie.compile=e=>RegExp(`^${ae(oe(e))}$`,"s");var se=ie;return(t=>n(e({},"__esModule",{value:!0}),t))(o)})();return e.default||e},jSt=(e,t)=>(BSt||(BSt=LSt(),LSt=null),BSt(e,t)),USt=/^[A-Za-z]:\//,zSt=/^[/\\]{2}/,HSt=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,ZSt=/^[A-Za-z]:$/,VSt=/^\/([A-Za-z]:)?$/,QSt=/.(\.[^./]+|\.)$/,qSt=/^[/\\]|^[a-zA-Z]:[/\\]/,FSt=function(e){if(0===e.length)return".";let t=(e=ISt(e)).match(zSt),a=GSt(e),r="/"===e[e.length-1];return 0===(e=DSt(e,!a)).length?a?"/":r?"./":".":(r&&(e+="/"),ZSt.test(e)&&(e+="/"),t?a?`//${e}`:`//./${e}`:a&&!GSt(e)?`/${e}`:e)},WSt=function(...e){let t="";for(let a of e)if(a)if(t.length>0){let e="/"===t[t.length-1],r="/"===a[0];t+=e&&r?a.slice(1):e||r?a:`/${a}`}else t+=a;return FSt(t)},XSt=function(...e){let t="",a=!1;for(let r=(e=e.map(e=>ISt(e))).length-1;r>=-1&&!a;r--){let n=r>=0?e[r]:RSt();!n||0===n.length||(t=`${n}/${t}`,a=GSt(n))}return t=DSt(t,!a),a&&!GSt(t)?`/${t}`:t.length>0?t:"."},GSt=function(e){return HSt.test(e)},YSt=function(e){return ISt(e)},KSt=function(e){if(".."===e)return"";let t=QSt.exec(ISt(e));return t&&t[1]||""},JSt=function(e,t){let a=XSt(e).replace(VSt,"$1").split("/"),r=XSt(t).replace(VSt,"$1").split("/");if(":"===r[0][1]&&":"===a[0][1]&&a[0]!==r[0])return r.join("/");let n=[...a];for(let e of n){if(r[0]!==e)break;a.shift(),r.shift()}return[...a.map(()=>".."),...r].join("/")},eAt=function(e){let t=ISt(e).replace(/\/$/,"").split("/").slice(0,-1);return 1===t.length&&ZSt.test(t[0])&&(t[0]+="/"),t.join("/")||(GSt(e)?"/":".")},tAt=function(e){let t=e.ext?e.ext.startsWith(".")?e.ext:`.${e.ext}`:"",a=[e.root,e.dir,e.base??(e.name??"")+t].filter(Boolean);return ISt(e.root?XSt(...a):a.join("/"))},aAt=function(e,t){let a=ISt(e).split("/"),r="";for(let e=a.length-1;e>=0;e--){let t=a[e];if(t){r=t;break}}return t&&r.endsWith(t)?r.slice(0,-t.length):r},rAt=function(e){let t=qSt.exec(e)?.[0]?.replace(/\\/g,"/")||"",a=aAt(e),r=KSt(a);return{root:t,dir:eAt(e),base:a,ext:r,name:a.slice(0,a.length-r.length)}},nAt=(e,t)=>jSt(t,FSt(e)),oAt={__proto__:null,basename:aAt,dirname:eAt,extname:KSt,format:tAt,isAbsolute:GSt,join:WSt,matchesGlob:nAt,normalize:FSt,normalizeString:DSt,parse:rAt,relative:JSt,resolve:XSt,sep:"/",toNamespacedPath:YSt}}),hAt=V(()=>{pAt(),iAt="win32"===globalThis.process?.platform?";":":",sAt={posix:void 0,win32:void 0},lAt=(e=iAt)=>new Proxy(oAt,{get:(t,a)=>"delimiter"===a?e:"posix"===a?cAt:"win32"===a?uAt:sAt[a]||oAt[a]}),cAt=lAt(":"),uAt=lAt(";")}),mAt=V(()=>{hAt(),CSt(),dAt=(e,t)=>{if(ESt(t))return t;if(ESt(e)){let a=new URL(e);return a.pathname=cAt.posix.resolve("/",cAt.dirname(a.pathname),t),a.toString()}return cAt.resolve(cAt.dirname(e),t)}});function fAt(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}var gAt=V(()=>{});function vAt(e){return e.split("/").slice(1).map(fAt)}var bAt=V(()=>{gAt()});function yAt(e,t,a){if(""===t)throw Error("Cannot set value at root ('') pointer");let r=vAt(t);r.forEach(e=>MY(e));let n=e;for(let e=0;e<r.length;e++){let t=r[e],o=e===r.length-1,i=r[e+1],s=/^\d+$/.test(i??"");o?n[t]=a:((!(t in n)||"object"!=typeof n[t])&&(n[t]=s?[]:{}),n=n[t])}}var OAt,xAt=V(()=>{GK(),bAt()}),wAt=V(()=>{hAt(),CSt(),OAt=(e,t)=>{if(ESt(e)&&ESt(t)){let a=new URL(e),r=new URL(t);if(a.origin!==r.origin)return e;let n=cAt.dirname(cAt.posix.resolve("/",r.pathname)),o=cAt.posix.resolve("/",a.pathname);return cAt.posix.relative(n,o)}if(ESt(t)){let a=new URL(t),r=cAt.dirname(cAt.posix.resolve("/",a.pathname));return a.pathname=cAt.posix.relative(r,cAt.posix.resolve("/",e)),a.toString()}if(ESt(e))return e;let a=cAt.dirname(cAt.resolve(t)),r=cAt.resolve(e);return cAt.relative(a,r)}});function kAt(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}var SAt=V(()=>{});function AAt(e){let t=b2e(e).substring(0,7);return t.match(/^\d+$/)?"a"+t.substring(1):t}async function _At(e,t,a,r,n=0){if(n>=100)throw"Can not generate unique compressed values";let o=await e(r??t);return void 0!==a[o]&&a[o]!==t?_At(e,t,a,o,n+1):(a[o]=t,o)}var TAt,EAt=V(()=>{x8e(),TAt=(e,t)=>{let a=Object.fromEntries(Object.entries(t).map(([e,t])=>[t,e]));return{generate:async r=>{let n=a[r];if(n)return n;let o=await _At(e,r,t),i=o.match(/^\d+$/)?`a${o}`:o;return a[r]=i,i}}}});function CAt(e){return e.startsWith("#")}function PAt(e,t){let a=t.find(t=>t.validate(e));return a?a.exec(e):Promise.resolve({ok:!1})}function MAt(e,t){if(!CAt(e))throw"Please provide an internal ref";return`#/${t.map(kAt).join("/")}${e.substring(1)}`}function $At(e,t){if(Array.isArray(e))e.forEach(e=>$At(e,t));else if(CE(e)&&(Object.values(e).forEach(e=>$At(e,t)),"object"==typeof e&&"$ref"in e&&"string"==typeof e.$ref)){let a=e.$ref;if(!CAt(a))return;e.$ref=MAt(a,t)}}async function NAt(e,t){t.externalDocumentsKey=t.externalDocumentsKey??DAt.externalDocuments,t.externalDocumentsMappingsKey=t.externalDocumentsMappingsKey??DAt.externalDocumentsMappings;let a=t.cache??new Map,r=t.plugins.filter(e=>"loader"===e.type),n=t.plugins.filter(e=>"lifecycle"===e.type),o=await(async()=>{if("string"!=typeof e)return e;let t=await PAt(e,r);if(t.ok&&"object"==typeof t.data)return t.data;throw Error("Failed to resolve input: Please provide a valid string value or pass a loader to process the input")})(),i=t.root??o,s=DE(i),l=void 0!==t.root&&t.root!==o||void 0!==t.depth,c=t.visitedNodes??new Set,u=IE(i)||(t.origin?t.origin:"string"==typeof e&&(ESt(e)||$St(e))?e:"/");void 0===i[t.externalDocumentsMappingsKey]&&(i[t.externalDocumentsMappingsKey]={});let{generate:d}=TAt(t.compress??AAt,i[t.externalDocumentsMappingsKey]),p=async(e,...a)=>{let r=t.hooks?.[e];r&&await r(...a);for(let t of n){let r=t[e];r&&await r(...a)}},h=async(e,n=u,o=!1,m=0,f=[],g=null)=>{if(void 0!==t.depth&&m>t.depth||!CE(e)&&!Array.isArray(e)||c.has(e))return;c.add(e);let v={path:f,resolutionCache:a,parentNode:g,rootNode:i,loaders:r};await p("onBeforeNodeProcess",e,v);let b=IE(e);if(IAt(e)){let c=e.$ref,f="$global"in e&&"boolean"==typeof e.$global&&e.$global,g=NE(c,b??n,s);if(void 0!==g){if(l){let e=vAt(`/${g}`),t=e.length>0?QE(i,e.slice(0,-1)).value:void 0,a=QE(i,e);await h(a.value,a.context,o,m+1,e,t)}return void await p("onAfterNodeProcess",e,v)}let[y,O=""]=c.split("#",2),x=dAt(b??n,y),w=OAt(x,u),k=await d(w),S=a.has(w);S||a.set(w,PAt(x,r)),await p("onResolveStart",e);let A=await a.get(w);return A.ok?(S||(f||$At(A.data,[DAt.externalDocuments,k]),await h(A.data,f?n:x,f,m+1,[t.externalDocumentsKey,k,i[t.externalDocumentsMappingsKey]]),yAt(i,`/${t.externalDocumentsMappingsKey}/${kAt(k)}`,w)),!0===t.treeShake?RAt(i,{[t.externalDocumentsKey]:{[k]:A.data}},MAt(`#${O}`,[t.externalDocumentsKey,k]).substring(1),t.externalDocumentsKey,k):S||yAt(i,`/${t.externalDocumentsKey}/${k}`,A.data),e.$ref=MAt(`#${O}`,[t.externalDocumentsKey,k]),await p("onResolveSuccess",e),void await p("onAfterNodeProcess",e,v)):(await p("onResolveError",e),await p("onAfterNodeProcess",e,v),console.warn(`Failed to resolve external reference "${x}". The reference may be invalid, inaccessible, or missing a loader for this type of reference.`))}for(let a in e)a===t.externalDocumentsKey||a===t.externalDocumentsMappingsKey||await h(e[a],b??n,o,m+1,[...f,a],e);await p("onAfterNodeProcess",e,v)};return await h(o),!t.urlMap&&!l&&delete i[t.externalDocumentsMappingsKey],o}var IAt,RAt,DAt,LAt,BAt,jAt=V(()=>{UE(),ZE(),VE(),qE(),NSt(),CSt(),mAt(),xAt(),wAt(),SAt(),bAt(),EAt(),IAt=e=>CE(e)&&"$ref"in e&&"string"==typeof e.$ref,RAt=(e,t,a,r,n,o=!1,i=new Set)=>{let s=QE(t,vAt(a)).value;if(i.has(s))return;i.add(s),yAt(e,a,s);let l=a=>{if(a&&"object"==typeof a){"$ref"in a&&"string"==typeof a.$ref&&(a.$ref.startsWith(`#/${r}/${kAt(n)}`)||o)&&RAt(e,t,a.$ref.substring(1),r,n,o,i);for(let e of Object.values(a))l(e)}};l(s)},DAt={externalDocuments:"x-ext",externalDocumentsMappings:"x-ext-urls"}}),UAt=V(()=>{jAt()}),zAt=V(()=>{LAt=class{data;next;constructor(e){this.data=e,this.next=null}},BAt=class{front;rear;size;constructor(){this.front=null,this.rear=null,this.size=0}enqueue(e){let t=new LAt(e);this.isEmpty()||!this.rear?(this.front=t,this.rear=t):(this.rear.next=t,this.rear=t),this.size++}dequeue(){if(this.isEmpty()||!this.front)return null;let e=this.front;return this.front=this.front.next,null===this.front&&(this.rear=null),this.size--,e.data}peek(){return this.isEmpty()||!this.front?null:this.front.data}isEmpty(){return 0===this.size}getSize(){return this.size}toString(){let e=this.front,t=[];for(;e;)t.push(e.data),e=e.next;return t.join(" -> ")}}});function HAt(e){let t=0,a=new BAt;return async r=>{t>=e&&await new Promise(e=>a.enqueue(e)),t++;try{return await r()}finally{t--,(()=>{if(a.isEmpty()||t>=e)return;let r=a.dequeue();r&&r()})()}}}var ZAt=V(()=>{zAt()});function VAt(e){if(null!==e){if("string"==typeof e){let t=QAt(e);if(""===t.trim())return;try{return JSON.parse(t)}catch{let e=/^[^:]+:/.test(t),a=t.slice(0,50).trimStart(),r=a.startsWith("{")||a.startsWith("[");return!e||r?void 0:xct(t,{maxAliasCount:1e4,merge:!0})}}return e}}var QAt,qAt=V(()=>{Ect(),QAt=e=>e.startsWith("\ufeff")?e.slice(1):e});function FAt(e){let t=e?.limit?HAt(e.limit):e=>e();return{type:"loader",validate:ESt,exec:a=>async function(e,t,a){try{let r=WAt(e),n=a?.headers?.find(e=>void 0!==e.domains.find(e=>e===r))?.headers,o=a?.fetch??fetch,i=await t(()=>o(e,{headers:n}));if(i.ok){let e=await i.text();return{ok:!0,data:VAt(e),raw:e}}let s=i.headers.get("Content-Type")??"";return["text/html","application/xml"].includes(s)&&console.warn(`[WARN] We only support JSON/YAML formats, received ${s}`),console.warn(`[WARN] Fetch failed with status ${i.status} ${i.statusText} for URL: ${e}`),{ok:!1}}catch{return console.warn(`[WARN] Failed to parse JSON/YAML from URL: ${e}`),{ok:!1}}}(a,t,e)}}var WAt,XAt,GAt,YAt,KAt,JAt,e_t,t_t,a_t,r_t,n_t=V(()=>{ZAt(),CSt(),qAt(),WAt=e=>{try{return new URL(e).host}catch{return null}}}),o_t=V(()=>{n_t()}),i_t=V(()=>{XAt=class extends Error{constructor(e){super(e),this.name="InvalidChangesDetectedError"}},GAt=(e,t)=>{let a=(e,t,r,n=0)=>{if(void 0===t[n])throw new XAt(`Process aborted. Path ${t.join(".")} at depth ${n} is undefined, check diff object`);if(n>=t.length-1)"add"===r.type||"update"===r.type?e[t[n]]=r.changes:Array.isArray(e)?e.splice(Number.parseInt(t[n]),1):delete e[t[n]];else{if(void 0===e[t[n]]||"object"!=typeof e[t[n]])throw new XAt("Process aborted, check diff object");a(e[t[n]],t,r,n+1)}};for(let r of t)a(e,r.path,r);return e}}),s_t=V(()=>{YAt=(e,t)=>{let a=[],r=(e,t,n=[])=>{if(typeof e!=typeof t)return void 0===e?void a.push({path:n,changes:t,type:"add"}):void 0===t?void a.push({path:n,changes:e,type:"delete"}):void a.push({path:n,changes:t,type:"update"});if("object"==typeof e&&"object"==typeof t&&null!==e&&null!==t){let a=new Set([...Object.keys(e),...Object.keys(t)]);for(let o of a)r(e[o],t[o],[...n,o]);return}e!==t&&a.push({path:n,changes:t,type:"update"})};return r(e,t),a}}),l_t=V(()=>{KAt=class{value;children;constructor(e,t){this.value=e,this.children=t}},JAt=class{root;constructor(){this.root=new KAt(null,{})}addPath(e,t){let a=this.root;for(let t of e)a.children[t]||(a.children[t]=new KAt(null,{})),a=a.children[t];a.value=t}findMatch(e,t){let a=this.root;for(let r of e){null!==a.value&&t(a.value);let e=a.children[r];if(!e)return;a=e}let r=e=>{for(let t of Object.keys(e?.children??{}))e&&Object.hasOwn(e.children,t)&&r(e?.children[t]);e?.value&&t(e.value)};r(a)}}}),c_t=V(()=>{e_t=(e,t)=>{if(typeof e!=typeof t)return!0;if("object"==typeof e&&"object"==typeof t&&null!==e&&null!==t){let a=new Set([...Object.keys(e),...Object.keys(t)]);for(let r of a)if(void 0!==e[r]&&void 0!==t[r]&&e_t(e[r],t[r]))return!0;return!1}return e!==t},t_t=(e,t)=>{for(let a in t)if(a in e){let r=e[a],n=t[a];"object"==typeof r&&r&&"object"==typeof n&&n&&(e[a]=t_t(r,n))}else e[a]=t[a];return e},a_t=(e,t)=>{if(e.length!==t.length)return!1;for(let a=0;a<=e.length;++a)if(e[a]!==t[a])return!1;return!0}}),u_t=V(()=>{l_t(),c_t(),r_t=(e,t)=>{let a=new JAt;for(let[t,r]of e.entries())a.addPath(r.path,{index:t,changes:r});let r=new Set,n=new Set,o=new Map,i=new Map;for(let[e,s]of t.entries())a.findMatch(s.path,t=>{if("delete"===s.type)if("delete"===t.changes.type)t.changes.path.length>s.path.length?r.add(t.index):n.add(t.index);else{r.add(t.index),n.add(e);let a=i.get(e);void 0===a?i.set(e,[[t.changes],[s]]):a[0].push(t.changes)}if("add"===s.type||"update"===s.type){if(a_t(s.path,t.changes.path)&&"delete"!==t.changes.type&&!e_t(s.changes,t.changes.changes))return r.add(t.index),void("object"==typeof s.changes&&t_t(s.changes,t.changes.changes));r.add(t.index),n.add(e);let a=o.get(t.index);void 0===a?o.set(t.index,[[t.changes],[s]]):a[1].push(s)}});let s=[...o.values(),...i.values()];return{diffs:[...e.filter((e,t)=>!r.has(t)),...t.filter((e,t)=>!n.has(t))],conflicts:s}}}),d_t=V(()=>{i_t(),s_t(),u_t()});function p_t(e){if("object"==typeof e&&e){if(Array.isArray(e)){for(let t of e)p_t(t);return}if(e.xml&&"object"==typeof e.xml){if(!0===e.xml.wrapped&&!0===e.xml.attribute)throw Error("Invalid XML configuration: wrapped and attribute cannot be true at the same time.");!0===e.xml.wrapped&&(delete e.xml.wrapped,e.xml.nodeType="element"),!0===e.xml.attribute&&(delete e.xml.attribute,e.xml.nodeType="attribute")}for(let t in e)Object.hasOwn(e,t)&&p_t(e[t])}}function h_t(e){let t=e;return"object"==typeof t&&t&&"string"==typeof t.openapi&&t.openapi?.startsWith("3.1")?(t.openapi="3.2.0",function(e){if(e["x-tagGroups"]&&Array.isArray(e["x-tagGroups"])){let t=e["x-tagGroups"];e.tags||=[];let a=new Map;for(let e of t)for(let t of e.tags)a.set(t,e.name);if(Array.isArray(e.tags))for(let t of e.tags)if("object"==typeof t&&t&&"name"in t){let e=a.get(t.name);e&&(e.toLowerCase().includes("nav")||e.toLowerCase().includes("navigation")?t.kind="nav":e.toLowerCase().includes("audience")?t.kind="audience":e.toLowerCase().includes("badge")?t.kind="badge":t.kind="nav")}delete e["x-tagGroups"]}}(t),p_t(t),t):t}var m_t=V(()=>{}),f_t=V(()=>{m_t()});function g_t(e,t,a=[]){let r={};for(let[n,o]of Object.entries(e)){let e=[...a,n];Array.isArray(o)?r[n]=o.map((a,r)=>"object"!=typeof a||Array.isArray(a)||null===a?a:g_t(a,t,[...e,r.toString()])):r[n]="object"==typeof o&&o?g_t(o,t,e):o}return t(r,a)}var v_t=V(()=>{});function b_t(e){let t=e["x-example"],a=e["x-examples"];return delete e["x-example"],delete e["x-examples"],{xExample:t,xExamples:a}}function y_t(e){return"object"==typeof e&&!!e&&!Array.isArray(e)&&Object.keys(e).length>0}function O_t(e){return y_t(e)&&Object.values(e).every(e=>"object"==typeof e&&!!e&&!Array.isArray(e))}function x_t(e){if("object"!=typeof e||!e)return!0;let t=e;return!(t.allOf||t.oneOf||t.anyOf||t.items||t.$ref||"additionalProperties"in t||["enum","const","not","format","multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","maxProperties","minProperties","required"].some(e=>e in t)||"object"==typeof t.properties&&null!==t.properties&&Object.keys(t.properties).length>0)}function w_t(e){let t=Object.keys(e);if(t.some(t=>{let a=e[t];return void 0!==a?.example||void 0!==a?.examples}))for(let a of t){let t=e[a];if(!t)continue;let r=void 0!==t.example||void 0!==t.examples;void 0!==t.schema&&!r&&1===Object.keys(t).length&&x_t(t.schema)&&delete e[a]}}function k_t(e){if("object"!=typeof e||!e)return!1;let t=e,a="value"in t||"externalValue"in t,r=Object.keys(t).every(e=>I_t.has(e));return a&&r}function S_t(e){return k_t(e)?e:{value:e}}function A_t(e){return R_t.test(e)}function __t(e){return["type","format","default","items","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf"].reduce((t,a)=>(Object.hasOwn(e,a)&&(t[a]=e[a],delete e[a]),t),{})}function T_t(e){if("formData"===e)throw Error("Encountered a formData parameter which should have been filtered out by the caller");if("body"===e)throw Error("Encountered a body parameter which should have been filtered out by the caller");return e}function E_t(e){if(Object.hasOwn(e,"$ref")&&"string"==typeof e.$ref)return{$ref:e.$ref};let t=function(e){if("array"!==e.type||"query"!==e.in&&"path"!==e.in&&"header"!==e.in)return{};let t=e.collectionFormat??"csv";return e.in in B_t&&t in B_t[e.in]?B_t[e.in][t]:{}}(e),a=__t(e),{xExample:r,xExamples:n}=b_t(e);if(y_t(r)?e.examples=function(e){return Object.entries(e).reduce((e,[t,a])=>(e[t]={value:a},e),{})}(r):y_t(n)&&(e.examples=Object.entries(n).reduce((e,[t,a])=>(e[t]=S_t(a),e),{})),delete e.collectionFormat,delete e.default,!e.in)throw Error('Parameter object must have an "in" property');return{schema:a,...t,...e,in:T_t(e.in)}}function C_t(e){if(Object.hasOwn(e,"$ref")&&"string"==typeof e.$ref)return{$ref:e.$ref};let t=__t(e);return{...e,schema:t}}function P_t(e,t){let{xExample:a,xExamples:r}=b_t(e);delete e.name,delete e.in;let{schema:n,...o}=e,i={content:{},...o};if(i.content)for(let e of t){if(i.content[e]={schema:n},y_t(r)&&e in r){let t=r[e];y_t(t)&&Object.values(t).every(e=>k_t(e))?i.content[e].examples=t:O_t(t)?i.content[e].examples=Object.entries(t).reduce((e,[t,a])=>(e[t]=S_t(a),e),{}):i.content[e].examples={default:S_t(t)}}else y_t(r)&&!Object.keys(r).some(A_t)&&(i.content[e].examples=Object.entries(r).reduce((e,[t,a])=>(e[t]=S_t(a),e),{}));!i.content[e].examples&&y_t(a)&&e in a&&(i.content[e].example=a[e])}return i}function M_t(e,t=["multipart/form-data"]){let a={content:{}},r=t.filter(e=>"multipart/form-data"===e||"application/x-www-form-urlencoded"===e),n=r.length>0?r:["multipart/form-data"];if(a.content)for(let t of n){a.content[t]={schema:{type:"object",properties:{},required:[]}};let r=a.content?.[t];if(r?.schema&&"object"==typeof r.schema&&"properties"in r.schema)for(let t of e)t.name&&r.schema.properties&&(r.schema.properties[t.name]={type:t.type,description:t.description,...t.format?{format:t.format}:{}},t.required&&Array.isArray(r.schema.required)&&r.schema.required.push(t.name))}return a}function $_t(e,t){let a={parameters:e.filter(e=>!("body"===e.in||"formData"===e.in)).map(e=>E_t(e))},r=structuredClone(e.find(e=>"body"===e.in)??{});r&&Object.keys(r).length&&(a.requestBody=P_t(r,t));let n=e.filter(e=>"formData"===e.in);if(n.length>0){let e=M_t(n,t);"object"==typeof a.requestBody?a.requestBody={...a.requestBody,content:{...a.requestBody.content,...e.content}}:a.requestBody=e,"object"!=typeof a.requestBody&&(a.requestBody={content:{}})}return a}var N_t,I_t,R_t,D_t,L_t,B_t,j_t=V(()=>{v_t(),N_t="application/json",I_t=new Set(["summary","description","value","externalValue"]),R_t=/^[a-zA-Z0-9*+.-]+\/[a-zA-Z0-9*+.+-]+$/,D_t=e=>{switch(e){case"application":return"clientCredentials";case"accessCode":return"authorizationCode";case"implicit":return"implicit";case"password":return"password";default:return e}},B_t={header:L_t={ssv:{},pipes:{},multi:{},csv:{style:"simple",explode:!1},tsv:{}},query:{ssv:{style:"spaceDelimited",explode:!1},pipes:{style:"pipeDelimited",explode:!1},multi:{style:"form",explode:!0},csv:{style:"form",explode:!1},tsv:{}},path:L_t}}),U_t=V(()=>{j_t()});var z_t,H_t,Z_t=V(()=>{v_t(),z_t=new Set(["properties","items","allOf","anyOf","oneOf","not","additionalProperties","schema"]),H_t=(e,t)=>{void 0!==e.type&&!0===e.nullable&&(e.type=[e.type,"null"],delete e.nullable),!0===e.exclusiveMinimum?(e.exclusiveMinimum=e.minimum,delete e.minimum):!1===e.exclusiveMinimum&&delete e.exclusiveMinimum,!0===e.exclusiveMaximum?(e.exclusiveMaximum=e.maximum,delete e.maximum):!1===e.exclusiveMaximum&&delete e.exclusiveMaximum;let a=t?.some((e,a)=>"examples"===e&&a>0&&"properties"!==t[a-1]);if(void 0!==e.example&&!a&&(function(e){return!!e&&!!(e.some(e=>z_t.has(e))||e.some(e=>e.endsWith("Schema"))||e.length>=2&&"components"===e[0]&&"schemas"===e[1])}(t)?e.examples=[e.example]:e.examples={default:{value:e.example}},delete e.example),"object"===e.type&&void 0!==e.properties&&(t?.slice(0,-1))?.some((e,a)=>"content"===e&&"multipart/form-data"===t?.[a+1])&&null!==e.properties)for(let t of Object.values(e.properties))"object"==typeof t&&t&&"type"in t&&"format"in t&&"string"===t.type&&"binary"===t.format&&(t.contentMediaType="application/octet-stream",delete t.format);if(t?.includes("content")&&t?.includes("application/octet-stream"))return{};let{format:r,...n}=e;if("string"===e.type){if("binary"===e.format)return{...n,type:"string",contentMediaType:"application/octet-stream"};if("base64"===e.format)return{...n,type:"string",contentEncoding:"base64"};if("byte"===e.format){let e=(t?.slice(0,-1))?.find((e,a)=>"content"===t?.[a-1]);return{...n,type:"string",contentEncoding:"base64",contentMediaType:e}}}return void 0!==e["x-webhooks"]&&(e.webhooks=e["x-webhooks"],delete e["x-webhooks"]),e}}),V_t=V(()=>{Z_t()});function Q_t(e,t){let a=function(e){let t=e;if("object"!=typeof t||!t||"string"!=typeof t.swagger||!t.swagger?.startsWith("2.0"))return t;if(t.openapi="3.0.4",delete t.swagger,t.host){let e=Array.isArray(t.schemes)&&t.schemes?.length?t.schemes:["http"];t.servers=e.map(e=>({url:`${e}://${t.host}${t.basePath??""}`})),delete t.basePath,delete t.schemes,delete t.host}else t.basePath&&(t.servers=[{url:t.basePath}],delete t.basePath);if(t.definitions&&(t.components=Object.assign({},t.components,{schemas:t.definitions}),delete t.definitions,t=g_t(t,e=>("string"==typeof e.$ref&&e.$ref.startsWith("#/definitions/")&&(e.$ref=e.$ref.replace(/^#\/definitions\//,"#/components/schemas/")),e))),t=g_t(t,e=>("file"===e.type&&(e.type="string",e.format="binary"),e)),Object.hasOwn(t,"parameters")){t=g_t(t,e=>{if("string"==typeof e.$ref&&e.$ref.startsWith("#/parameters/")){let a=e.$ref.split("/")[2];if(!a)return e;let r=t.parameters&&"object"==typeof t.parameters&&a in t.parameters?t.parameters[a]:void 0;r&&"object"==typeof r&&"in"in r&&("body"===r.in||"formData"===r.in)?e.$ref=e.$ref.replace(/^#\/parameters\//,"#/components/requestBodies/"):e.$ref=e.$ref.replace(/^#\/parameters\//,"#/components/parameters/")}return e}),t.components??={};let e={},a={},r=t.parameters&&"object"==typeof t.parameters?t.parameters:{};for(let[n,o]of Object.entries(r))o&&"object"==typeof o&&("$ref"in o?e[n]=E_t(o):"in"in o&&("body"===o.in?a[n]=P_t(o,t.consumes??[N_t]):"formData"===o.in?a[n]=M_t([o],t.consumes):e[n]=E_t(o)));Object.keys(e).length>0&&(t.components.parameters=e),Object.keys(a).length>0&&(t.components.requestBodies=a),delete t.parameters}if(Object.hasOwn(t,"responses")&&"object"==typeof t.responses&&null!==t.responses){t=g_t(t,e=>("string"==typeof e.$ref&&e.$ref.startsWith("#/responses/")&&(e.$ref=e.$ref.replace(/^#\/responses\//,"#/components/responses/")),e)),t.components??={};let e={},a=t.responses;for(let[r,n]of Object.entries(a))if(n&&"object"==typeof n)if("$ref"in n)e[r]=n;else{let a=n,o=t.produces??[N_t];if(a.schema){"object"!=typeof a.content&&(a.content={});for(let e of o)a.content[e]={schema:a.schema};delete a.schema}if(a.examples&&"object"==typeof a.examples){"object"!=typeof a.content&&(a.content={});let e=o[0]??N_t;for(let[t,r]of Object.entries(a.examples))if(A_t(t))"object"!=typeof a.content[t]&&(a.content[t]={}),a.content[t].example=r;else{"object"!=typeof a.content[e]&&(a.content[e]={});let n=a.content[e];"object"!=typeof n.examples&&(n.examples={}),n.examples[t]=S_t(r)}delete a.examples}a.content&&"object"==typeof a.content&&w_t(a.content),a.headers&&"object"==typeof a.headers&&(a.headers=Object.entries(a.headers).reduce((e,[t,a])=>a&&"object"==typeof a?{[t]:C_t(a),...e}:e,{})),e[r]=a}Object.keys(e).length>0&&(t.components.responses=e),delete t.responses}if("object"==typeof t.paths)for(let e in t.paths)if(Object.hasOwn(t.paths,e)){let a,r=t.paths&&"object"==typeof t.paths&&e in t.paths?t.paths[e]:void 0;if(!r||"object"!=typeof r)continue;for(let e in r)if("parameters"===e&&Object.hasOwn(r,e)){let e=$_t(r.parameters,t.consumes??[N_t]);r.parameters=e.parameters,a=e.requestBody}else if(Object.hasOwn(r,e)){let n=r[e];if(a&&(n.requestBody=a),n.parameters){let e=$_t(n.parameters,n.consumes??t.consumes??[N_t]);n.parameters=e.parameters,e.requestBody&&(n.requestBody=e.requestBody)}if(delete n.consumes,n.responses)for(let e in n.responses)if(Object.hasOwn(n.responses,e)){let a=n.responses[e];if(a.headers&&"object"==typeof a.headers&&(a.headers=Object.entries(a.headers).reduce((e,[t,a])=>a&&"object"==typeof a?{[t]:C_t(a),...e}:e,{})),a.schema){let e=t.produces??n.produces??[N_t];"object"!=typeof a.content&&(a.content={});for(let t of e)a.content[t]={schema:a.schema};delete a.schema}if(a.examples&&"object"==typeof a.examples){"object"!=typeof a.content&&(a.content={});let e=(t.produces??n.produces??[N_t])[0]??N_t;for(let[t,r]of Object.entries(a.examples))if(A_t(t))"object"!=typeof a.content[t]&&(a.content[t]={}),a.content[t].example=r;else{"object"!=typeof a.content[e]&&(a.content[e]={});let n=a.content[e];"object"!=typeof n.examples&&(n.examples={}),n.examples[t]=S_t(r)}delete a.examples}a.content&&"object"==typeof a.content&&w_t(a.content)}delete n.produces,0===n.parameters?.length&&delete n.parameters}}if(t.securityDefinitions){("object"!=typeof t.components||null===t.components)&&(t.components={}),t.components&&"object"==typeof t.components&&Object.assign(t.components,{securitySchemes:{}});for(let[e,a]of Object.entries(t.securityDefinitions))if("object"==typeof a)if("type"in a&&"oauth2"===a.type){let{flow:r,authorizationUrl:n,tokenUrl:o,scopes:i}=a;t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:{type:"oauth2",flows:{[D_t(r||"implicit")]:Object.assign({},n&&{authorizationUrl:n},o&&{tokenUrl:o},i&&{scopes:i})}}})}else"type"in a&&"basic"===a.type?t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:{type:"http",scheme:"basic"}}):t.components&&"object"==typeof t.components&&"securitySchemes"in t.components&&t.components.securitySchemes&&Object.assign(t.components.securitySchemes,{[e]:a});delete t.securityDefinitions}return delete t.consumes,delete t.produces,t}(e);if("3.0"===t)return a;let r=function(e){let t=e;return null!==t&&"string"==typeof t.openapi&&t.openapi.startsWith("3.0")?(t.openapi="3.1.1",t=g_t(t,H_t),t):t}(a);return"3.1"===t?r:h_t(r)}var q_t,F_t,W_t,X_t,G_t,Y_t,K_t,J_t,eTt,tTt,aTt,rTt,nTt,oTt,iTt,sTt,lTt,cTt,uTt,dTt,pTt,hTt,mTt,fTt,gTt,vTt,bTt,yTt,OTt,xTt,wTt,kTt,STt,ATt,_Tt,TTt,ETt,CTt,PTt,MTt,$Tt,NTt,ITt,RTt,DTt,LTt,BTt,jTt,UTt,zTt,HTt,ZTt,VTt,QTt,qTt,FTt,WTt,XTt,GTt,YTt,KTt,JTt,eEt,tEt,aEt,rEt,nEt,oEt,iEt,sEt,lEt,cEt,uEt,dEt,pEt,hEt,mEt,fEt,gEt,vEt,bEt,yEt,OEt,xEt,wEt,kEt,SEt,AEt,_Et,TEt,EEt,CEt,PEt,MEt,$Et,NEt,IEt,REt,DEt,LEt,BEt,jEt,UEt,zEt=V(()=>{f_t(),U_t(),V_t()}),HEt=V(()=>{zEt()}),ZEt=V(()=>{q_t=(e,t)=>`\`\`\`${e}\n${t.trimEnd()}\n\`\`\``,F_t=(e,t)=>`@example\n${q_t(e,t)}`,W_t=e=>`\`${e}\``,X_t=(...e)=>e.join("\n\n"),G_t=(e,t)=>X_t(e,F_t(t.language,t.body))}),VEt=V(()=>{J(),ZEt(),Y_t=x({"x-internal":S(m({typeComment:"When true, hides the entity from public documentation"}))},{typeName:"XInternal",typeComment:G_t("Marks an entity as internal (hidden from external consumers).",{language:"yaml",body:"x-internal: true"})})}),QEt=V(()=>{J(),ZEt(),K_t=x({"x-original-aas-version":S(h({typeComment:"Original AsyncAPI Specification version the document was loaded with."}))},{typeName:"XOriginalAasVersion",typeComment:G_t("Original AsyncAPI Specification version of the source document before ingestion.",{language:"yaml",body:'x-original-aas-version: "3.0.0"'})})}),qEt=V(()=>{J(),ZEt(),J_t=x({"x-scalar-ignore":S(m({typeComment:"When true, the entity is hidden or ignored in the UI"}))},{typeName:"XScalarIgnore",typeComment:G_t("Internal extension to mark an entity as ignored in the Scalar UI.",{language:"yaml",body:"x-scalar-ignore: true"})})}),FEt=V(()=>{J(),ZEt(),eTt=x({"x-scalar-is-dirty":S(m({typeComment:"When true, the document has unsaved changes"}))},{typeName:"XScalarIsDirty",typeComment:G_t("Tracks whether the document has been modified since it was last saved.",{language:"yaml",body:"x-scalar-is-dirty: true"})})}),WEt=V(()=>{J(),tTt=x({"x-scalar-navigation":S(g({typeComment:"Serialized client navigation tree (`TraversedDocument`) for this API description"}))},{typeName:"XScalarNavigation",typeComment:"Client-side navigation tree persisted on the document. Matches `TraversedDocumentObjectRef` in strict OpenAPI schemas."})}),XEt=V(()=>{J(),ZEt(),aTt=x({"x-scalar-original-document-hash":h({typeComment:"Hash of the document as originally loaded from an external source"})},{typeName:"XScalarOriginalDocumentHash",typeComment:G_t("Tracks the original document hash when loading from an external source. Used to detect modifications since last save.",{language:"yaml",body:'x-scalar-original-document-hash: "abc123"'})})}),GEt=V(()=>{J(),ZEt(),rTt=x({"x-scalar-original-source-url":S(h({typeComment:"Original document source URL when loaded from an external source"}))},{typeName:"XScalarOriginalSourceUrl",typeComment:G_t("Original document source URL when the API description was loaded from an external source.",{language:"yaml",body:"x-scalar-original-source-url: https://example.com/openapi.yaml"})})}),YEt=V(()=>{J(),ZEt(),nTt=x({namespace:h({typeComment:"The namespace under which this registry meta is scoped."}),slug:h({typeComment:"A unique slug identifier for this registry meta within the namespace."}),version:h({typeComment:"The version of the registry meta."}),commitHash:S(h({typeComment:"Last known commit hash of this document. Is going to be used to track if the document has been modified since it was last saved."})),conflictCheckedAgainstHash:S(h({typeComment:"Registry commit hash that the cached `hasConflict` flag was computed against. When the registry advertises a different hash later, the cached result is stale and the conflict check must be re-run."})),hasConflict:S(m({typeComment:"Cached outcome of the last conflict check, valid only while `conflictCheckedAgainstHash` matches the registry current hash for this version."}))},{typeName:"XScalarRegistryMetaInner",typeComment:"Registry meta namespace and slug"}),oTt=x({"x-scalar-registry-meta":S(nTt)},{typeName:"XScalarRegistryMeta",typeComment:G_t("Registry sync metadata for a document published to Scalar Registry.",{language:"yaml",body:'x-scalar-registry-meta:\n  namespace: acme\n  slug: public-api\n  version: "1.0.0"'})})}),KEt=V(()=>{J(),ZEt(),iTt=x({"x-scalar-watch-mode":S(m({typeComment:"When true, the document is watched for external file changes"}))},{typeName:"XScalarWatchMode",typeComment:G_t("Whether the document is in watch mode (reloads when the source file changes).",{language:"yaml",body:"x-scalar-watch-mode: true"})})}),JEt=V(()=>{J(),ZEt(),sTt=x({"x-tags":S(y(h(),{typeComment:"Ordered list of tag names for this schema object"}))},{typeName:"XTags",typeComment:G_t("Custom tag ordering hints for schema objects in the sidebar.",{language:"yaml",body:"x-tags:\n  - users\n  - admin"})})}),eCt=V(()=>{VEt(),QEt(),qEt(),FEt(),WEt(),XEt(),GEt(),YEt(),KEt(),JEt()}),tCt=V(()=>{J(),ZEt(),lTt=x({"x-scalar-selected-server":S(h({typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}))},{typeName:"XScalarSelectedServer",typeComment:G_t("The currently selected server for this API description. For OpenAPI documents the value is the server URL; for AsyncAPI documents the value is the server name (key in `document.servers`).",{language:"yaml",body:"x-scalar-selected-server: https://api.example.com"})})}),aCt=V(()=>{tCt()}),rCt=V(()=>{J(),ZEt(),cTt=x({"x-additionalPropertiesName":S(h({typeComment:"Human-readable label for additional properties on this schema"}))},{typeName:"XAdditionalPropertiesName",typeComment:G_t("Display name for additional properties on a schema object.",{language:"yaml",body:"x-additionalPropertiesName: metadata"})})}),nCt=V(()=>{J(),ZEt(),uTt=w([O(h(),h()),y(h())]),dTt=x({"x-enumDescriptions":S(uTt,{typeComment:"Map or list of descriptions keyed by enum value (camelCase spelling)"}),"x-enum-descriptions":S(uTt,{typeComment:"Map or list of descriptions keyed by enum value (kebab-case spelling)"})},{typeName:"XEnumDescriptions",typeComment:G_t("Descriptions for enum values. Keys must match enum values.",{language:"yaml",body:"x-enumDescriptions:\n  other: Other reason"})})}),oCt=V(()=>{J(),ZEt(),pTt=x({"x-enum-varnames":S(y(h(),{typeComment:"Display names for enum values (same order as `enum`)"})),"x-enumNames":S(y(h(),{typeComment:"Alias for x-enum-varnames — display names for enum values"}))},{typeName:"XEnumVarNames",typeComment:G_t(`Display names for enum values. Must match the order of the ${W_t("enum")} array.`,{language:"yaml",body:"enum: [moon, asteroid]\nx-enum-varnames: [Moon, Asteroid]"})})}),iCt=V(()=>{J(),ZEt(),hTt=x({"x-examples":S(O(h(),g(),{typeComment:"Map of example name to example value"}))},{typeName:"XExamples",typeComment:G_t("Named examples attached to a schema. Keys are example names; values are the example payloads.",{language:"yaml",body:"x-examples:\n  user:\n    id: 1\n    name: Ada"})})}),sCt=V(()=>{J(),ZEt(),mTt=x({"x-variable":S(h({typeComment:"Variable name used for substitution in the API client"}))},{typeName:"XVariable",typeComment:G_t("References a variable for schema property substitution in the API client.",{language:"yaml",body:"x-variable: userId"})})}),lCt=V(()=>{rCt(),nCt(),oCt(),iCt(),sCt()}),cCt=V(()=>{J(),fTt=x({propertyName:h({typeComment:"REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined."}),mapping:S(O(h(),h(),{typeComment:"An object to hold mappings between payload values and schema names or URI references."}))},{typeName:"DiscriminatorObject"})}),uCt=V(()=>{J(),gTt=x({url:h({typeComment:"REQUIRED. The URI for the target documentation. This MUST be in the form of a URI."}),description:S(h({typeComment:"A description of the target documentation. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ExternalDocumentationObject"})}),dCt=V(()=>{J(),vTt=x({$status:S(w([A("loading"),A("error")]),{typeComment:"Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed."}),$global:S(m({typeComment:"Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context."}))},{typeName:"ReferenceObjectExtensions"})}),pCt=V(()=>{J(),bTt=x({$ref:h({typeComment:"REQUIRED. The reference identifier. This MUST be in the form of a URI."}),summary:S(h({typeComment:"A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect."})),description:S(h({typeComment:"A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect."}))},{typeName:"ReferenceObject"}),yTt=e=>w([bTt,e])}),hCt=V(()=>{J(),OTt=x({name:S(h({typeComment:'Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being "array" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored.'})),namespace:S(h({typeComment:"The URI of the namespace definition. Value MUST be in the form of a non-relative URI."})),prefix:S(h({typeComment:"The prefix to be used for the name."})),attribute:S(m({typeComment:"Declares whether the property definition translates to an attribute instead of an element. Default value is false."})),wrapped:S(m({typeComment:'MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items).'}))},{typeName:"XMLObject"})}),mCt=V(()=>{J(),eCt(),lCt(),cCt(),uCt(),pCt(),hCt(),xTt=[J_t,Y_t,mTt,hTt,dTt,pTt,cTt,sTt],wTt=x({name:S(h({typeComment:"Schema name (extension)."})),title:S(h({typeComment:"A title for the schema."})),description:S(h({typeComment:"A description of the schema."})),default:S(g({typeComment:"Default value for the schema."})),enum:S(y(g(),{typeComment:"Array of allowed values.",typeName:"JsonSchemaEnum"})),const:S(g({typeComment:"Constant value that must match exactly."})),contentMediaType:S(h({typeComment:"Media type for content validation."})),contentEncoding:S(h({typeComment:"Content encoding."})),contentSchema:S(yTt(_(()=>ITt))),deprecated:S(m({typeComment:"Whether the schema is deprecated."})),discriminator:S(fTt),readOnly:S(m({typeComment:"Whether the schema is read-only."})),writeOnly:S(m({typeComment:"Whether the schema is write-only."})),xml:S(OTt),externalDocs:S(gTt),example:S(g({typeComment:"A free-form field to include an example of an instance for this schema. Deprecated in favor of the JSON Schema examples keyword."})),examples:S(y(g(),{typeComment:"An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.",typeName:"SchemaExamplesArray"})),allOf:S(y(yTt(_(()=>ITt)),{typeName:"SchemaObjectAllOf"})),oneOf:S(y(yTt(_(()=>ITt)),{typeName:"SchemaObjectOneOf"})),anyOf:S(y(yTt(_(()=>ITt)),{typeName:"SchemaObjectAnyOf"})),not:S(yTt(_(()=>ITt)))}),kTt=x({multipleOf:S(p({typeComment:"Number must be a multiple of this value."})),maximum:S(p({typeComment:"Maximum value (inclusive)."})),exclusiveMaximum:S(p({typeComment:"Maximum value (exclusive)."})),minimum:S(p({typeComment:"Minimum value (inclusive)."})),exclusiveMinimum:S(p({typeComment:"Minimum value (exclusive)."}))}),STt=k([x({type:w([A("number"),A("integer")]),format:S(h({typeComment:"Different subtypes."}))}),kTt],{typeName:"NumberSchemaObject"}),ATt=x({maxLength:S(p({typeComment:"Maximum string length."})),minLength:S(p({typeComment:"Minimum string length."})),pattern:S(h({typeComment:"Regular expression pattern."}))}),_Tt=k([x({type:A("string"),format:S(h({typeComment:"Different subtypes."}))}),ATt],{typeName:"StringSchemaObject"}),TTt=x({maxProperties:S(p({typeComment:"Maximum number of properties."})),minProperties:S(p({typeComment:"Minimum number of properties."})),properties:S(O(h(),yTt(_(()=>ITt)),{typeName:"SchemaObjectProperties"})),required:S(y(h(),{typeName:"SchemaObjectRequired"})),additionalProperties:S(w([yTt(_(()=>ITt)),x({}),m()],{typeName:"SchemaObjectAdditionalProperties"})),patternProperties:S(O(h(),yTt(_(()=>ITt)),{typeName:"SchemaObjectPatternProperties"})),propertyNames:S(yTt(_(()=>ITt)))}),ETt=k([x({type:A("object")}),TTt],{typeName:"ObjectSchemaObject"}),CTt=x({maxItems:S(p({typeComment:"Maximum number of items in array."})),minItems:S(p({typeComment:"Minimum number of items in array."})),uniqueItems:S(m({typeComment:"Whether array items must be unique."})),items:S(yTt(_(()=>ITt))),prefixItems:S(y(yTt(_(()=>ITt)),{typeComment:"Schema for tuple validation."}))}),PTt=k([x({type:A("array")}),CTt],{typeName:"ArraySchemaObject"}),MTt=w([A("null"),A("boolean"),A("string"),A("number"),A("integer"),A("object"),A("array")],{typeName:"SchemaObjectMultiTypeKeywords"}),$Tt=x({type:w([A("null"),A("boolean")],{typeName:"SchemaObjectOtherTypeKeyword"})}),NTt=k([x({type:y(MTt,{typeName:"SchemaObjectMultiTypeKeywordArray"}),format:S(h({typeComment:"Different subtypes."}))}),kTt,ATt,CTt,TTt],{typeName:"MultiTypeSchemaObject"}),ITt=k([wTt,...xTt,w([$Tt,STt,_Tt,ETt,PTt,NTt,x({})])],{typeName:"SchemaObject"})}),fCt=V(()=>{UE(),J(),dCt(),RTt=x({$ref:h({typeComment:"REQUIRED. The reference string."})},{typeName:"AsyncApiReferenceObject",typeComment:"JSON Reference for AsyncAPI components."}),DTt=e=>CE(e)&&"$ref"in e?DTt(e["$ref-value"]):e,LTt=e=>k([RTt,x({"$ref-value":T(DTt,e)}),vTt]),BTt=e=>w([e,LTt(e)])}),gCt=V(()=>{J(),mCt(),fCt(),jTt=x({schemaFormat:S(h({typeComment:"Media type identifying the schema format. When omitted, defaults to the AsyncAPI JSON Schema vocabulary for the document version."})),schema:v({typeComment:"REQUIRED. Schema definition in the format given by schemaFormat."})},{typeName:"AsyncApiMultiFormatSchemaObject"}),UTt=w([A(!0),A(!1),ITt],{typeName:"AsyncApiSchemaJsonShape"}),zTt=BTt(UTt),HTt=BTt(w([jTt,UTt],{typeName:"AsyncApiMultiFormatSchemaOrSchemaObject"}))}),vCt=V(()=>{J(),gCt(),ZTt=x({method:S(w([A("GET"),A("POST")],{typeComment:"HTTP method used when establishing the WebSocket connection (typically GET)."})),query:S(zTt,{typeComment:"Schema Object describing WebSocket handshake query parameters (type object with properties). May be a Reference Object."}),headers:S(zTt,{typeComment:"Schema Object describing HTTP headers sent during the WebSocket handshake (type object with properties). May be a Reference Object."}),bindingVersion:S(h({typeComment:'Version of the WebSocket binding. When omitted, "latest" is assumed per the binding spec.'}))},{typeName:"AsyncApiWsBindingObject",typeComment:"AsyncAPI WebSocket binding for handshake method, query, and headers."})}),bCt=V(()=>{J(),vCt(),VTt=["http","ws","kafka","anypointmq","amqp","amqp1","mqtt","mqtt5","nats","jms","sns","solace","sqs","stomp","redis","mercure","ibmmq","googlepubsub","pulsar","ros2"],QTt=()=>S(v({typeComment:"Protocol-specific binding definition (see AsyncAPI protocol bindings)."})),qTt=()=>{let e={};for(let t of VTt)e[t]="ws"===t?S(ZTt):QTt();return e},FTt=(e,t)=>x(qTt(),{typeName:e,typeComment:t}),WTt=FTt("AsyncApiServerBindingsObject","Map describing protocol-specific definitions for a server (AsyncAPI 3.1.0)."),XTt=FTt("AsyncApiChannelBindingsObject","Map describing protocol-specific definitions for a channel (AsyncAPI 3.1.0)."),GTt=FTt("AsyncApiOperationBindingsObject","Map describing protocol-specific definitions for an operation (AsyncAPI 3.1.0)."),YTt=FTt("AsyncApiMessageBindingsObject","Map describing protocol-specific definitions for a message (AsyncAPI 3.1.0).")}),yCt=V(()=>{J(),fCt(),KTt=BTt(x({description:S(h({typeComment:"A short description of the target documentation. CommonMark syntax MAY be used for rich text representation."})),url:h({typeComment:"REQUIRED. The URL for the target documentation. This MUST be in the form of an absolute URL."})},{typeName:"AsyncApiExternalDocumentationObject"}))}),OCt=V(()=>{J(),fCt(),JTt=BTt(x({description:S(h({typeComment:"An optional description of the identifier. CommonMark syntax MAY be used for rich text representation."})),location:h({typeComment:"REQUIRED. A runtime expression that specifies the location of the correlation ID."})},{typeName:"AsyncApiCorrelationIdObject"}))}),xCt=V(()=>{J(),eEt=x({headers:S(O(h(),v(),{typeComment:"Example headers; MUST validate against the Message Object headers field when present."})),payload:S(v({typeComment:"Example payload; MUST validate against the Message Object payload field when present."})),name:S(h({typeComment:"A machine-friendly name."})),summary:S(h({typeComment:"A short summary of what the example is about."}))},{typeName:"AsyncApiMessageExampleObject"})}),wCt=V(()=>{J(),yCt(),fCt(),tEt=BTt(x({name:h({typeComment:"REQUIRED. The name of the tag."}),description:S(h({typeComment:"A short description for the tag. CommonMark syntax MAY be used for rich text representation."})),externalDocs:S(KTt)},{typeName:"AsyncApiTagObject"})),aEt=y(tEt,{typeName:"AsyncApiTagsObject",typeComment:"A list of Tag Objects (entries MAY be Reference Objects)."})}),kCt=V(()=>{J(),bCt(),OCt(),yCt(),xCt(),fCt(),gCt(),wCt(),rEt=BTt(x({headers:S(HTt),correlationId:S(JTt),contentType:S(h({typeComment:"The content type to use when encoding/decoding a message payload (for example application/json)."})),name:S(h({typeComment:"A machine-friendly name for the message."})),title:S(h({typeComment:"A human-friendly title for the message."})),summary:S(h({typeComment:"A short summary of what the message is about."})),description:S(h({typeComment:"A verbose explanation of the message. CommonMark syntax MAY be used for rich text representation."})),tags:S(aEt),externalDocs:S(KTt),bindings:S(BTt(YTt)),examples:S(y(BTt(eEt)))},{typeName:"AsyncApiMessageTraitObject"}))}),SCt=V(()=>{J(),bCt(),OCt(),yCt(),xCt(),kCt(),fCt(),gCt(),wCt(),nEt=_(()=>BTt(x({headers:S(HTt),payload:S(HTt),correlationId:S(JTt),contentType:S(h({typeComment:"The content type to use when encoding/decoding a message payload (for example application/json)."})),name:S(h({typeComment:"A machine-friendly name for the message."})),title:S(h({typeComment:"A human-friendly title for the message."})),summary:S(h({typeComment:"A short summary of what the message is about."})),description:S(h({typeComment:"A verbose explanation of the message. CommonMark syntax MAY be used for rich text representation."})),tags:S(aEt),externalDocs:S(KTt),bindings:S(BTt(YTt)),examples:S(y(BTt(eEt))),traits:S(y(rEt))},{typeName:"AsyncApiMessageObject"}))),oEt=O(h(),nEt,{typeName:"AsyncApiMessagesObject",typeComment:"Map of messageId to Message Object or Reference Object."})}),ACt=V(()=>{J(),fCt(),iEt=BTt(x({enum:S(y(h(),{typeComment:"An enumeration of string values for substitution."})),default:S(h({typeComment:"The default value to use for substitution, and to send, if an alternate value is not supplied."})),description:S(h({typeComment:"An optional description for the parameter. CommonMark syntax MAY be used for rich text representation."})),examples:S(y(h(),{typeComment:"Examples of the parameter value."})),location:S(h({typeComment:"A runtime expression that specifies the location of the parameter value."}))},{typeName:"AsyncApiParameterObject"}))}),_Ct=V(()=>{J(),ACt(),sEt=O(h(),iEt,{typeName:"AsyncApiParametersObject",typeComment:"Map of parameter name to Parameter Object or Reference Object."})}),TCt=V(()=>{J(),fCt(),lEt=x({authorizationUrl:S(h({typeComment:"REQUIRED for implicit and authorizationCode flows. The authorization URL (absolute URL)."})),tokenUrl:S(h({typeComment:"REQUIRED for password, clientCredentials, and authorizationCode flows. The token URL (absolute URL)."})),refreshUrl:S(h({typeComment:"The URL to be used for obtaining refresh tokens. This MUST be in the form of an absolute URL."})),availableScopes:S(O(h(),h(),{typeComment:"REQUIRED for OAuth2 flows. Map of scope name to a short description."}))},{typeName:"AsyncApiOAuthFlowObject"}),cEt=x({implicit:S(BTt(lEt)),password:S(BTt(lEt)),clientCredentials:S(BTt(lEt)),authorizationCode:S(BTt(lEt))},{typeName:"AsyncApiOAuthFlowsObject"})}),ECt=V(()=>{J(),TCt(),fCt(),uEt=BTt(x({type:w([A("userPassword"),A("apiKey"),A("X509"),A("symmetricEncryption"),A("asymmetricEncryption"),A("httpApiKey"),A("http"),A("oauth2"),A("openIdConnect"),A("plain"),A("scramSha256"),A("scramSha512"),A("gssapi")],{typeComment:"REQUIRED. Security scheme type: userPassword, apiKey, X509, symmetricEncryption, asymmetricEncryption, httpApiKey, http, oauth2, openIdConnect, plain, scramSha256, scramSha512, gssapi."}),description:S(h({typeComment:"A short description for security scheme. CommonMark syntax MAY be used for rich text representation."})),name:S(h({typeComment:"REQUIRED for httpApiKey. The name of the header, query or cookie parameter."})),in:S(w([A("user"),A("password"),A("query"),A("header"),A("cookie")],{typeComment:"REQUIRED for apiKey and httpApiKey. Location of the API key: user, password, query, header, or cookie."})),scheme:S(h({typeComment:"REQUIRED for http. The name of the HTTP Authorization scheme to be used in the Authorization header."})),bearerFormat:S(h({typeComment:"A hint to the client to identify how the bearer token is formatted."})),flows:S(BTt(cEt)),openIdConnectUrl:S(h({typeComment:"REQUIRED for openIdConnect. OpenId Connect URL to discover OAuth2 configuration values (absolute URL)."})),scopes:S(y(h(),{typeComment:"List of the needed scope names for oauth2 and openIdConnect."}))},{typeName:"AsyncApiSecuritySchemeObject"}))}),CCt=V(()=>{J(),fCt(),dEt=BTt(x({enum:S(y(h(),{typeComment:"An enumeration of string values for substitution."})),default:S(h({typeComment:"The default value to use for substitution, and to send, if an alternate value is not supplied."})),description:S(h({typeComment:"An optional description for the server variable. CommonMark syntax MAY be used for rich text representation."})),examples:S(y(h(),{typeComment:"Examples of the server variable."}))},{typeName:"AsyncApiServerVariableObject"}))}),PCt=V(()=>{J(),bCt(),yCt(),fCt(),ECt(),CCt(),wCt(),pEt=BTt(x({host:h({typeComment:"REQUIRED. The server host name. It MAY include the port. Supports Server Variables in {braces}."}),protocol:h({typeComment:"REQUIRED. The protocol this server supports for connection."}),protocolVersion:S(h({typeComment:"The version of the protocol used for connection (for example 0-9-1 for AMQP)."})),pathname:S(h({typeComment:"The path to a resource in the host. Supports Server Variables in {braces}."})),description:S(h({typeComment:"An optional string describing the server. CommonMark syntax MAY be used for rich text representation."})),title:S(h({typeComment:"A human-friendly title for the server."})),summary:S(h({typeComment:"A short summary of the server."})),variables:S(O(h(),dEt,{typeComment:"Map between a variable name and its Server Variable Object or Reference Object."})),security:S(y(uEt,{typeComment:"Alternative security schemes for this server; only one of the security scheme objects need to be satisfied."})),tags:S(aEt),externalDocs:S(KTt),bindings:S(BTt(WTt))},{typeName:"AsyncApiServerObject"})),hEt=O(h(),pEt,{typeName:"AsyncApiServersObject",typeComment:"Map of server name to Server Object or Reference Object."})}),MCt=V(()=>{J(),bCt(),yCt(),SCt(),_Ct(),fCt(),PCt(),wCt(),mEt=_(()=>x({address:S(w([h(),f()],{typeComment:"Channel address or null when unknown."})),messages:S(oEt),title:S(h({typeComment:"A human-friendly title for the channel."})),summary:S(h({typeComment:"A short summary of the channel."})),description:S(h({typeComment:"An optional description of this channel. CommonMark syntax MAY be used for rich text representation."})),servers:S(y(LTt(pEt),{typeComment:"References to Server definitions where this channel is available (Reference Objects only in the raw document)."})),parameters:S(sEt),tags:S(aEt),externalDocs:S(KTt),bindings:S(BTt(XTt))},{typeName:"AsyncApiChannelObject"})),fEt=O(h(),BTt(mEt),{typeName:"AsyncApiChannelsObject",typeComment:"Map of channelId to Channel Object or Reference Object."})}),$Ct=V(()=>{J(),fCt(),gEt=BTt(x({description:S(h({typeComment:"An optional description of the address. CommonMark syntax MAY be used for rich text representation."})),location:h({typeComment:"REQUIRED. A runtime expression that specifies the location of the reply address."})},{typeName:"AsyncApiOperationReplyAddressObject"}))}),NCt=V(()=>{J(),MCt(),SCt(),$Ct(),fCt(),vEt=_(()=>BTt(x({address:S(gEt),channel:S(LTt(mEt)),messages:S(y(LTt(nEt),{typeComment:"List of $ref pointers to Message Objects used as reply payloads (Reference Objects only in the raw document)."}))},{typeName:"AsyncApiOperationReplyObject"})))}),ICt=V(()=>{J(),bCt(),yCt(),fCt(),ECt(),wCt(),bEt=BTt(x({title:S(h({typeComment:"A human-friendly title for the operation."})),summary:S(h({typeComment:"A short summary of what the operation is about."})),description:S(h({typeComment:"A verbose explanation of the operation. CommonMark syntax MAY be used for rich text representation."})),security:S(y(uEt,{typeComment:"Security schemes for this operation. Only one of the security scheme objects MUST be satisfied."})),tags:S(aEt),externalDocs:S(KTt),bindings:S(BTt(GTt))},{typeName:"AsyncApiOperationTraitObject"}))}),RCt=V(()=>{J(),bCt(),MCt(),yCt(),SCt(),NCt(),ICt(),fCt(),ECt(),wCt(),yEt=_(()=>BTt(x({action:w([A("send"),A("receive")],{typeComment:"REQUIRED. send when the application sends to the channel; receive when it receives from the channel."}),channel:LTt(mEt),title:S(h({typeComment:"A human-friendly title for the operation."})),summary:S(h({typeComment:"A short summary of what the operation is about."})),description:S(h({typeComment:"A verbose explanation of the operation. CommonMark syntax MAY be used for rich text representation."})),security:S(y(uEt,{typeComment:"Security schemes for this operation. Only one of the security scheme objects MUST be satisfied."})),tags:S(aEt),externalDocs:S(KTt),bindings:S(BTt(GTt)),traits:S(y(bEt)),messages:S(y(LTt(nEt),{typeComment:"Subset of channel messages as Reference Objects only. Omit to include all channel messages; use [] for none."})),reply:S(vEt)},{typeName:"AsyncApiOperationObject"}))),OEt=O(h(),yEt,{typeName:"AsyncApiOperationsObject",typeComment:"Map of operationId to Operation Object or Reference Object."})}),DCt=V(()=>{J(),bCt(),MCt(),OCt(),yCt(),SCt(),kCt(),RCt(),NCt(),$Ct(),ICt(),ACt(),fCt(),gCt(),ECt(),PCt(),CCt(),wCt(),xEt=_(()=>x({schemas:S(O(h(),HTt,{typeComment:"Reusable Multi Format Schema, Schema Object, or Reference Object."})),servers:S(O(h(),pEt)),channels:S(fEt),operations:S(O(h(),yEt)),messages:S(O(h(),nEt)),securitySchemes:S(O(h(),uEt)),serverVariables:S(O(h(),dEt)),parameters:S(O(h(),iEt)),correlationIds:S(O(h(),JTt)),replies:S(O(h(),vEt)),replyAddresses:S(O(h(),gEt)),externalDocs:S(O(h(),KTt)),tags:S(O(h(),tEt)),operationTraits:S(O(h(),bEt)),messageTraits:S(O(h(),rEt)),serverBindings:S(O(h(),BTt(WTt))),channelBindings:S(O(h(),BTt(XTt))),operationBindings:S(O(h(),BTt(GTt))),messageBindings:S(O(h(),BTt(YTt)))},{typeName:"AsyncApiComponentsObject",typeComment:"Reusable objects. Definitions here have no effect unless referenced from outside components."}))}),LCt=V(()=>{J(),wEt=x({name:S(h({typeComment:"The identifying name of the contact person/organization."})),url:S(h({typeComment:"The URL pointing to the contact information. This MUST be in the form of an absolute URL."})),email:S(h({typeComment:"The email address of the contact person/organization."}))},{typeName:"AsyncApiContactObject"})}),BCt=V(()=>{J(),fCt(),kEt=BTt(x({name:h({typeComment:"REQUIRED. The license name used for the API."}),url:S(h({typeComment:"A URL to the license used for the API. This MUST be in the form of an absolute URL."}))},{typeName:"AsyncApiLicenseObject"}))}),jCt=V(()=>{J(),LCt(),yCt(),BCt(),wCt(),SEt=x({title:h({typeComment:"REQUIRED. The title of the application."}),version:h({typeComment:"REQUIRED. Provides the version of the application API (not to be confused with the AsyncAPI Specification version)."}),description:S(h({typeComment:"A short description of the application. CommonMark syntax MAY be used for rich text representation."})),termsOfService:S(h({typeComment:"A URL to the Terms of Service for the API (absolute URL)."})),contact:S(wEt),license:S(kEt),tags:S(aEt),externalDocs:S(KTt)},{typeName:"AsyncApiInfoObject"})}),UCt=V(()=>{J(),eCt(),aCt(),MCt(),DCt(),jCt(),RCt(),fCt(),PCt(),AEt=k([K_t,tTt,rTt,aTt,eTt,iTt,oTt,lTt],{typeName:"AsyncApiExtensions",typeComment:"AsyncAPI document-level Scalar extensions shared with workspace tooling."}),_Et=x({asyncapi:h({typeComment:"REQUIRED. AsyncAPI Specification version (major.minor.patch). Patch MAY include a hyphen suffix."}),id:S(h({typeComment:"Identifier of the application the AsyncAPI document is defining (URI, RFC3986)."})),info:SEt,servers:S(hEt),defaultContentType:S(h({typeComment:"Default content type when encoding/decoding a message payload (for example application/json)."})),channels:S(fEt),operations:S(OEt),components:S(BTt(xEt))},{typeName:"AsyncApiDocumentCore",typeComment:"Root AsyncAPI 3.1.0 document combining resource listing and API declaration."}),TEt=k([_Et,AEt],{typeName:"AsyncApiObject",typeComment:"Root AsyncAPI 3.1.0 document including Scalar workspace extensions (AsyncApiExtensionsSchema)."})}),zCt=V(()=>{UCt()}),HCt=V(()=>{mj(),EEt=nj.Object({name:nj.String(),value:nj.String()}),CEt=nj.Object({url:nj.String(),method:nj.String(),httpVersion:nj.String(),headers:nj.Array(EEt),cookies:nj.Array(EEt),headersSize:nj.Number(),queryString:nj.Array(EEt),bodySize:nj.Number(),postData:nj.Optional(nj.Union([nj.Object({mimeType:nj.String(),text:nj.String()}),nj.Object({mimeType:nj.String(),params:nj.Array(nj.Object({name:nj.String(),value:nj.Optional(nj.String())}))})]))}),PEt=nj.Object({status:nj.Number(),statusText:nj.String(),headers:nj.Array(EEt),cookies:nj.Array(EEt),httpVersion:nj.String(),redirectURL:nj.String(),headersSize:nj.Number(),bodySize:nj.Number(),content:nj.Object({size:nj.Number(),mimeType:nj.String(),encoding:nj.Optional(nj.String()),text:nj.Optional(nj.String())})}),MEt=nj.Object({time:nj.Number(),timestamp:nj.Number(),request:CEt,response:PEt,meta:nj.Object({example:nj.String()}),requestMetadata:nj.Object({variables:nj.Record(nj.String(),nj.String())})}),$Et=nj.Record(nj.String(),nj.Record(nj.String(),nj.Array(MEt))),NEt=nj.Record(nj.String(),$Et)}),ZCt=V(()=>{Rc(),HCt(),Nat(),bC(),Zq(),IEt=({hooks:e})=>{let t=Ma({});return{getHistory:(e,a,r)=>t[e]?.[a]?.[r],addHistory:(a,r,n,o)=>{t[a]||={},t[a][r]||={},t[a][r][n]||=[],t[a][r][n].length>=5&&(t[a][r][n]=hC(t[a][r][n].filter((e,t)=>0!==t),{depth:1})),t[a][r][n].push(o),e?.onHistoryChange?.(a)},clearOperationHistory:(a,r,n)=>{delete t[a]?.[r]?.[n],e?.onHistoryChange?.(a)},clearPathHistory:(a,r)=>{delete t[a]?.[r],e?.onHistoryChange?.(a)},clearDocumentHistory:a=>{delete t[a],e?.onHistoryChange?.(a)},load:a=>{let r=xz(NEt,a);Qtt(t,r),Object.keys(r).forEach(t=>{e?.onHistoryChange?.(t)})},export:()=>hC(t)}}}),VCt=V(()=>{$K(),REt=e=>e.fetch?e.fetch:(t,a)=>fetch(CW(e.proxyUrl,t.toString()),a)}),QCt=V(()=>{DEt=(e,t)=>{if(t)return t.type===e?t:DEt(e,t.parent)}}),qCt=V(()=>{iJ(),jE(),rJ(),QCt(),LEt=e=>"document"===e.type||"tag"===e.type||"operation"===e.type,BEt=({store:e,entry:t})=>{let a=DEt("document",t);if(!a)return null;let r=e.workspace.documents[a.name];return r?"document"===t.type?r:eK(r)?"tag"===t.type?r.tags?.find(e=>e.name===t.name)??null:"operation"===t.type?EE(iK(r.paths?.[t.path],t.method))??null:null:null:null}}),FCt=V(()=>{jEt=e=>{let t=new Map,a=(e,a)=>{let r=t.get(e);r?r.push(a):t.set(e,[a])},r=(e,t)=>{if(e)for(let n of e)"operation"===n.type?a(`${n.path}|${n.method}`,{...n,parent:t}):"webhook"===n.type?a(`${n.name}|${n.method}`,{...n,parent:t}):"children"in n&&n.children&&r(n.children,{...n,parent:t})};return r(e.children,e),t}}),WCt=V(()=>{UEt=e=>{let t=new Map,a=(e,a)=>{let r=t.get(e);r?r.push(a):t.set(e,[a])},r=(e,t)=>{if(e)for(let n of e)"tag"===n.type?(a(n.name,{...n,parent:t}),r(n.children,{...n,parent:t})):"children"in n&&n.children&&r(n.children,{...n,parent:t})};return r(e.children,e),t}});function XCt(e,t,a){let r=new Map;t.forEach((e,t)=>r.set(e,t));let n=[],o=[];return e.forEach(e=>{let t=r.get(a(e));void 0!==t?n[t]=e:o.push(e)}),[...n.filter(e=>void 0!==e),...o]}var GCt,YCt,KCt,JCt=V(()=>{}),ePt=V(()=>{GCt=e=>!(!e?.["x-internal"]&&!e?.["x-scalar-ignore"])}),tPt=V(()=>{W(),YCt=(e,t)=>{let a=t?.modelsSectionLabel??"Models",r=bmt(a),n=a=>{let o=bmt(e);if("text"===a.type)return t?.generateHeadingSlug?t?.generateHeadingSlug({slug:a.slug}):a.slug?`${o}/description/${a.slug}`:`${o}/`;if("tag"===a.type){let e=a.isGroup?"tag-group":"tag";return t?.generateTagSlug?`${o}/${e}/${t.generateTagSlug(a.tag)}`:`${o}/${e}/${bmt(a.tag.name??"")}`}if("asyncapi-channel"===a.type)return`${a.parentTag?`${n({type:"tag",tag:a.parentTag.tag,parentId:a.parentTag.id})}/`:`${o}/`}asyncapi-channel/${bmt(a.channelName)}`;if("asyncapi-message"===a.type)return`${a.parentId}/asyncapi-message/${bmt(a.messageName)}`;if("asyncapi-operation"===a.type)return`${a.parentId}/asyncapi-operation/${bmt(a.operationName)}`;if("operation"===a.type){let e=a.parentTag?`${n({type:"tag",tag:a.parentTag.tag,parentId:a.parentTag.id})}/`:`${o}/`;return t?.generateOperationSlug?`${e}${t.generateOperationSlug({path:a.path,operationId:a.operation.operationId,method:a.method.toUpperCase(),summary:a.operation.summary})}`:`${e}${a.method.toUpperCase()}${a.path}`}if("webhook"===a.type){let e=a.parentTag?`${n({type:"tag",parentId:a.parentTag.id,tag:a.parentTag.tag})}/`:`${o}/`;return t?.generateWebhookSlug?`${e}webhook/${t.generateWebhookSlug({name:a.name,method:a.method?.toUpperCase()})}`:`${e}webhook/${a.method?.toUpperCase()}/${bmt(a.name)}`}if("model"===a.type){if(!a.name)return`${o}/${r}`;let e=a.parentTag?`${n({type:"tag",parentId:a.parentTag.id,tag:a.parentTag.tag})}/`:`${o}/`;return t?.generateModelSlug?`${e}${r}/${t.generateModelSlug({name:a.name})}`:`${e}${r}/${bmt(a.name,{preserveCase:!0})}`}return"example"===a.type?`${a.parentId}/example/${bmt(a.name)}`:"document"===a.type?o:(console.warn("[WARNING]: unhandled id generation for navigation item:",a),"unknown-id")};return{hideModels:t?.hideModels??!1,modelsSectionLabel:a,operationsSorter:t?.operationsSorter,tagsSorter:t?.tagsSorter,operationTitleSource:t?.operationTitleSource,generateId:n}}}),aPt=V(()=>{KCt=({tagsMap:e,name:t,documentId:a,generateId:r})=>(e.get(t)||e.set(t,{id:r({type:"tag",tag:{name:t},parentId:a}),parentId:a,entries:[],tag:{name:t}}),e.get(t))});function rPt(e){return e.replace(/!\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/(\*{3}|_{3})(.+?)\1/g,"$2").replace(/(\*{2}|_{2})(.+?)\1/g,"$2").replace(/(\*|_)(.+?)\1/g,"$2").replace(/~~(.+?)~~/g,"$1").replace(/`([^`]+)`/g,"$1").replace(/<[^>]+>/g,"").replace(/[<>]/g,"").trim()}var nPt,oPt=V(()=>{}),iPt=V(()=>{sft(),nPt=(e={})=>{let t=new Map;return{slug(a){let r=bmt(a,e),n=t.get(r);if(void 0===n)return t.set(r,0),r;let o=n+1;return t.set(r,o),`${r}-${o}`},reset(){t.clear()}}}});function sPt(e){let{slug:t}=nPt();return lPt(function(e){let t=e.split(/\r?\n/),a=[],r=!1,n="",o=0;for(let e=0;e<t.length;e++){let i=t[e]??"",s=i.trimStart();if(r){let e=/^(`{3,}|~{3,})\s*$/.exec(s)?.[1];e&&e[0]===n&&e.length>=o&&(r=!1);continue}{let e=/^(`{3,}|~{3,})/.exec(s)?.[1];if(e){r=!0,n=e.charAt(0),o=e.length;continue}}if(/^(?: {4}|\t)/.test(i))continue;let l=/^(#{1,6})\s+(.+?)(?:\s+#+\s*)?$/.exec(s),c=l?.[1],u=l?.[2];if(c&&u){let e=rPt(u);e&&a.push({depth:c.length,value:e});continue}let d=t[e+1];if(!d||/^(?: {4}|\t)/.test(d))continue;let p=/^(=+|-+)\s*$/.exec(d.trim())?.[1];if(!p)continue;let h=rPt(s);h&&(a.push({depth:"="===p[0]?1:2,value:h}),e++)}return a}(e),t)}var lPt,cPt,uPt,dPt,pPt,hPt,mPt,fPt,gPt,vPt,bPt,yPt,OPt,xPt,wPt,kPt,SPt,APt,_Pt,TPt,EPt,CPt,PPt,MPt,$Pt,NPt,IPt,RPt,DPt,LPt,BPt,jPt,UPt,zPt,HPt,ZPt,VPt,QPt,qPt,FPt,WPt,XPt,GPt,YPt,KPt,JPt,eMt,tMt,aMt,rMt,nMt,oMt,iMt,sMt,lMt=V(()=>{oPt(),iPt(),lPt=(e,t)=>e.map(e=>({...e,slug:t(e.value)})),cPt=e=>{let t=Math.min(...e.map(e=>e.depth));return t>=1&&t<=6?t:1}}),cMt=V(()=>{lMt(),uPt={TITLE:"Introduction",SLUG:"introduction"},dPt=(e,t,a)=>({id:e({type:"text",depth:1,slug:uPt.SLUG,parentId:t,info:a,value:uPt.TITLE}),title:uPt.TITLE,type:"text"}),pPt=({generateId:e,parentId:t,info:a})=>{let r=a.description?.trim();if(!r)return[dPt(e,t,a)];let n=sPt(r),o=cPt(n),i=[],s=null,l=null;if(!r.startsWith("#")){let r=dPt(e,t,a);i.push(r),s=r}for(let r of n){if(r.depth!==o&&r.depth!==o+1)continue;let n={id:e({type:"text",depth:r.depth,slug:r.slug,parentId:t,info:a,value:r.value}),title:r.value,type:"text"};r.depth===o?(n.children=[],s?(s.children||=[],s.children.push(n)):i.push(n),l=n):l&&l.children?.push(n)}return i}}),uMt=V(()=>{jE(),ePt(),aPt(),hPt=({ref:e,name:t,generateId:a,parentTag:r,_schema:n,parentId:o})=>{let i=a({name:t,type:"model",parentTag:r,parentId:o,schema:n}),s=EE(n);return{id:i,title:s&&"title"in s&&s.title||t,name:t,ref:e,type:"model"}},mPt=({document:e,tagsMap:t,generateId:a,documentId:r})=>{let n=e.components?.schemas??{},o=[];for(let e in n){if(!Object.hasOwn(n,e))continue;let i=EE(n[e],TE);if(GCt(i))continue;let s=`#/components/schemas/${e}`;i?.["x-tags"]?i["x-tags"].forEach(n=>{let{tag:o,id:i}=KCt({tagsMap:t,name:n,documentId:r,generateId:a});t.get(n)?.entries.push(hPt({ref:s,name:e,generateId:a,parentTag:{tag:o,id:i},parentId:r}))}):o.push(hPt({ref:s,name:e,generateId:a,_schema:EE(n[e]),parentId:r}))}return o}}),dMt=V(()=>{JCt(),uJ(),jE(),ePt(),bC(),tPt(),aPt(),cMt(),uMt(),fPt=(...e)=>{for(let t of e){let e=t?.trim();if(e)return e}},gPt=(e,t)=>"string"==typeof t.address&&t.address.length>0?t.address:e,vPt=(e,t)=>fPt(e.title,e.summary)??gPt(t,e),bPt=(e,t)=>fPt(e.title,e.summary)??t,yPt=(e,t)=>fPt(e.title,e.summary,e.name)??t,OPt=e=>e.match(/^#\/channels\/([^/]+)$/)?.[1],xPt=(e,t)=>{let a=t.channel;if(!a||!("$ref"in a))return;let r=OPt(a.$ref);if(!r)return;let n=e.channels?.[r];return n?{channelName:r,channel:EE(n,TE)}:void 0},wPt=(e,t,a)=>{let r=t.messages??{};if(void 0===e.messages)return fK(r);if(0===e.messages.length)return[];let n=`#/channels/${a}/messages/`,o=new Set;for(let t of e.messages)if("$ref"in t){if(t.$ref.startsWith(n)){let e=t.$ref.slice(n.length);if(r[e]){o.add(e);continue}}for(let[e,a]of Object.entries(r))a&&"$ref"in a&&a.$ref===t.$ref&&o.add(e)}return[...o]},kPt=e=>{let t=EE(e,TE);return{name:t.name,description:t.description}},SPt=(e,t)=>{"alpha"!==t?"method"!==t?"function"==typeof t&&e.sort((e,a)=>t({method:e.action,path:e.operationName,ref:e.operationName,httpVerb:e.action},{method:a.action,path:a.operationName,ref:a.operationName,httpVerb:a.action})):e.sort((e,t)=>e.action.localeCompare(t.action)):e.sort((e,t)=>e.title.localeCompare(t.title))},APt=e=>{e.sort((e,t)=>e.title.localeCompare(t.title))},_Pt=({channelName:e,channel:t,operationId:a,messageNames:r,generateId:n})=>{let o=r.flatMap(r=>{let o=t.messages?.[r];if(!o)return[];let i=EE(o,TE);return GCt(i)?[]:[{type:"asyncapi-message",id:n({type:"asyncapi-message",messageName:r,channelName:e,parentId:a}),title:yPt(i,r),messageName:r,channelName:e}]});return APt(o),o},TPt=({operationName:e,operation:t,channel:a,channelName:r,channelAddress:n,generateId:o,parentId:i})=>{if(GCt(t))return;let s=o({type:"asyncapi-operation",operationName:e,parentId:i}),l=_Pt({channelName:r,channel:a,operationId:s,messageNames:wPt(t,a,r),generateId:o});return{type:"asyncapi-operation",id:s,title:bPt(t,e),operationName:e,action:t.action,channelName:r,channelAddress:n,children:l.length>0?l:void 0}},EPt=({bucket:e,operationEntries:t,generateId:a,parentId:r,parentTag:n,operationsSorter:o,document:i})=>{if(GCt(e.channel))return;let s=a({type:"asyncapi-channel",channelName:e.channelName,parentId:r,parentTag:n}),l=t.flatMap(({operationName:t,operation:r})=>{let n=TPt({operationName:t,operation:r,channel:e.channel,channelName:e.channelName,channelAddress:e.channelAddress,generateId:a,parentId:s});return n?[n]:[]});if(SPt(l,o),0===l.length)return;let c=i.channels?.[e.channelName];return c&&!("$ref"in c)&&(c["x-scalar-order"]=l.map(e=>e.id)),{type:"asyncapi-channel",id:s,title:vPt(e.channel,e.channelName),channelName:e.channelName,channelAddress:e.channelAddress,children:l}},CPt=({tag:e,generateId:t,children:a,parentId:r})=>{let n=t({type:"tag",tag:e,parentId:r,isGroup:!1}),o=e["x-displayName"]??e.name??"Untitled Tag";return e["x-scalar-order"]=a.map(e=>e.id),{type:"tag",id:n,title:o,name:e.name||o,description:e.description,children:a,isGroup:!1,isWebhooks:!1}},PPt=({tagKeys:e,tagsMap:t,documentId:a,options:{tagsSorter:r,generateId:n},sortOrder:o})=>{let i=e.flatMap(e=>{let{tag:r,entries:o}=KCt({tagsMap:t,name:e,documentId:a,generateId:n});if(GCt(r))return[];let i=r["x-scalar-order"];return CPt({tag:r,generateId:n,children:i?XCt(o,i,e=>e.id):o,parentId:a})});return o?XCt(i,o,e=>e.id):("alpha"===r?i.sort((e,t)=>e.title.localeCompare(t.title)):"function"==typeof r&&i.sort((e,o)=>r(KCt({tagsMap:t,name:e.name,documentId:a,generateId:n}).tag,KCt({tagsMap:t,name:o.name,documentId:a,generateId:n}).tag)),i)},MPt=(e,t,a)=>{let r=e.get(t);if(r)return r;let n={channelName:t,channel:a,channelAddress:gPt(t,a),channelTags:a.tags?.map(kPt)??[],operations:[]};return e.set(t,n),n},$Pt=e=>{let t=new Map;for(let[a,r]of Object.entries(e.channels??{})){if(!r)continue;let e=EE(r,TE);GCt(e)||MPt(t,a,e)}for(let[a,r]of Object.entries(e.operations??{})){if(!r)continue;let n=EE(r,TE);if(GCt(n))continue;let o=xPt(e,n);o&&MPt(t,o.channelName,o.channel).operations.push({operationName:a,operation:n})}return t},NPt=(e,t,a)=>{let{generateId:r,operationsSorter:n,tagsSorter:o,hideModels:i,modelsSectionLabel:s}=YCt(e,a),l=r({type:"document",info:t.info,name:e}),c=$Pt(t),u=new Map,d=[];for(let e of c.values()){if(0===e.channelTags.length){let a=EPt({bucket:e,operationEntries:e.operations,generateId:r,parentId:l,operationsSorter:n,document:t});a&&d.push(a)}for(let a of e.channelTags){let{id:o,entries:i}=KCt({tagsMap:u,name:a.name??"Untitled Tag",documentId:l,generateId:r});if(i.some(t=>"asyncapi-channel"===t.type&&t.channelName===e.channelName))continue;let s=EPt({bucket:e,operationEntries:e.operations,generateId:r,parentId:o,parentTag:{tag:a,id:o},operationsSorter:n,document:t});s&&i.push(s)}}let p=t.components?EE(t.components,TE):void 0,h=!i&&p?.schemas?mPt({documentId:l,document:{components:p},generateId:r,tagsMap:u}):[],m=pPt({generateId:r,parentId:l,info:t.info});u.size>0&&m.push(...PPt({tagKeys:[...u.keys()],tagsMap:u,documentId:l,options:{tagsSorter:o,generateId:r},sortOrder:t["x-scalar-order"]})),"alpha"===n&&d.sort((e,t)=>e.title.localeCompare(t.title)),m.push(...d),h.length&&m.push({type:"models",id:r({type:"model",parentId:l}),title:s,name:s,children:h});let f=t["x-scalar-order"],g=f?XCt(m,f,e=>e.id):m;return t["x-scalar-order"]=hC(g.map(e=>e.id)),{id:l,type:"document",title:t.info?.title?.trim()||"Untitled Document",name:e,children:g,icon:t["x-scalar-icon"]}}}),pMt=V(()=>{jE(),IPt=e=>{let t=new Set(e["x-draft-examples"]??[]);if(e.requestBody){let a=EE(e.requestBody);Object.values(a.content??{}).forEach(e=>{Object.keys(e.examples??{}).forEach(e=>{t.add(e)})})}return e.parameters&&e.parameters.forEach(e=>{let a=EE(e)??{};"content"in a&&a.content&&Object.values(a.content).forEach(e=>{Object.keys(e.examples??{}).forEach(e=>{t.add(e)})}),"examples"in a&&a.examples&&Object.keys(a.examples??{}).forEach(e=>{t.add(e)})}),Array.from(t)}}),hMt=V(()=>{LF()}),mMt=V(()=>{SAt(),iJ(),jE(),ePt(),pMt(),hMt(),aPt(),RPt=e=>e.deprecated||e["x-scalar-stability"]===kV.Deprecated,DPt=({ref:e,operation:t,method:a,path:r,generateId:n,parentId:o,parentTag:i,operationTitleSource:s})=>{let l=n({type:"operation",operation:t,parentTag:i,method:a,path:r,parentId:o}),c="path"===s?r:t.summary?.trim()?t.summary:r,u=RPt(t),d=IPt(t).map(e=>({type:"example",id:n({type:"example",parentId:l,name:e}),title:e,name:e}));return{id:l,title:c,path:r,method:a,ref:e,type:"operation",isDeprecated:u,children:d.length?d:void 0}},LPt=({document:e,tagsMap:t,generateId:a,documentId:r,operationTitleSource:n})=>{let o=[];return Object.entries(e.paths??{}).forEach(([e,i])=>{cK(i,(i,s)=>{let l=EE(s,TE);if(!l||GCt(l))return;let c=`#/paths/${kAt(e)}/${i}`;l.tags?.length?l.tags.forEach(o=>{let{tag:s,id:u}=KCt({tagsMap:t,name:o,documentId:r,generateId:a});t.get(o)?.entries.push(DPt({ref:c,operation:l,method:i,path:e,parentTag:{tag:s,id:u},generateId:a,parentId:u,operationTitleSource:n}))}):o.push(DPt({ref:c,operation:l,method:i,path:e,generateId:a,parentId:r,operationTitleSource:n}))})}),{untaggedOperations:o}}}),fMt=V(()=>{BPt=e=>e?Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith("x-"))):{}}),gMt=V(()=>{JCt(),ePt(),bC(),fMt(),aPt(),jPt=({tag:e,generateId:t,children:a,isGroup:r=!1,parentId:n})=>{let o=t({type:"tag",tag:e,parentId:n,isGroup:r}),i=e["x-displayName"]??e.name??"Untitled Tag";return e["x-scalar-order"]=a.map(e=>e.id),{id:o,title:i,name:e.name||i,description:e.description,children:a,isGroup:r,isWebhooks:!1,type:"tag",xKeys:BPt(hC(e))}},UPt=({_keys:e,tagsMap:t,options:{tagsSorter:a,operationsSorter:r,generateId:n},documentId:o,sortOrder:i})=>{let s=e.flatMap(e=>{let{tag:a,entries:i}=KCt({tagsMap:t,name:e,documentId:o,generateId:n});if(GCt(a))return[];let s=a["x-scalar-order"];return void 0===s&&("alpha"===r?i.sort((e,t)=>"operation"===e.type&&"operation"===t.type?e.title.localeCompare(t.title):0):"method"===r?i.sort((e,t)=>"operation"===e.type&&"operation"===t.type?e.method.localeCompare(t.method):0):"function"==typeof r&&i.sort((e,t)=>{if("operation"!==e.type&&"webhook"!==e.type||"operation"!==t.type&&"webhook"!==t.type)return 0;let a="operation"===e.type?e.path:e.name,n="operation"===t.type?t.path:t.name;return r({method:e.method,path:a,ref:e.ref,httpVerb:e.method},{method:t.method,path:n,ref:t.ref,httpVerb:t.method})})),jPt({tag:a,generateId:n,children:s?XCt(i,s,e=>e.id):i,parentId:o,isGroup:!1})});return i?XCt(s,i,e=>e.id):("alpha"===a?s.sort((e,a)=>{let r=KCt({tagsMap:t,name:e.title,documentId:o,generateId:n}).tag["x-displayName"]||e.title||"Untitled Tag",i=KCt({tagsMap:t,name:a.title,documentId:o,generateId:n}).tag["x-displayName"]||a.title||"Untitled Tag";return r.localeCompare(i)}):"function"==typeof a&&s.sort((e,r)=>a(KCt({tagsMap:t,name:e.name,documentId:o,generateId:n}).tag,KCt({tagsMap:t,name:r.name,documentId:o,generateId:n}).tag)),s)},zPt=({document:e,tagsMap:t,documentId:a,options:{generateId:r,tagsSorter:n,operationsSorter:o}})=>e["x-tagGroups"]?e["x-tagGroups"].flatMap(e=>{let i=UPt({_keys:e.tags,tagsMap:t,options:{tagsSorter:n,operationsSorter:o,generateId:r},documentId:a,sortOrder:e["x-scalar-order"]});return e["x-scalar-order"]=i.map(e=>e.id),i.length?jPt({tag:e,generateId:r,children:i,parentId:a,isGroup:!0}):[]}):UPt({_keys:Array.from(t.keys()),tagsMap:t,options:{generateId:r,tagsSorter:n,operationsSorter:o},documentId:a,sortOrder:e["x-scalar-order"]})}),vMt=V(()=>{iJ(),jE(),ePt(),mMt(),aPt(),HPt=({ref:e,method:t,name:a,title:r,generateId:n,parentTag:o,webhook:i,isDeprecated:s,parentId:l})=>({id:n({type:"webhook",name:a,method:t,webhook:i,parentTag:o,parentId:l}),title:r,name:a,ref:e,method:t,type:"webhook",isDeprecated:s}),ZPt=({document:e,tagsMap:t,generateId:a,untaggedWebhooksParentId:r,documentId:n})=>{let o=[];return Object.entries(e.webhooks??{}).forEach(([e,i])=>{cK(i,(i,s)=>{let l=EE(s,TE);if(!l||GCt(l))return;let c=`#/webhooks/${e}/${i}`;l.tags?.length?l.tags.forEach(r=>{let{tag:o,id:s}=KCt({tagsMap:t,name:r,documentId:n,generateId:a});t.get(r)?.entries.push(HPt({ref:c,method:i,name:e,title:l.summary??e,webhook:l,generateId:a,parentTag:{tag:o,id:s},parentId:s,isDeprecated:RPt(l)}))}):o.push(HPt({ref:c,method:i,name:e,title:l.summary??e,generateId:a,isDeprecated:RPt(l),webhook:l,parentId:r}))})}),o}}),bMt=V(()=>{bC(),tPt(),cMt(),mMt(),uMt(),gMt(),vMt(),VPt=(e,t,a)=>{let{hideModels:r,modelsSectionLabel:n,tagsSorter:o,operationsSorter:i,generateId:s,operationTitleSource:l}=YCt(e,a),c=s({type:"document",info:t.info,name:e}),u=new Map(t.tags?.map(e=>[e.name??"Untitled Tag",{id:s({type:"tag",tag:e,parentId:c}),parentId:c,tag:e,entries:[]}])??[]),d=pPt({generateId:s,parentId:c,info:t.info}),{untaggedOperations:p}=LPt({document:t,tagsMap:u,generateId:s,documentId:c,operationTitleSource:l}),h=s({type:"webhook",name:"",parentId:c}),m=ZPt({document:t,generateId:s,tagsMap:u,untaggedWebhooksParentId:h,documentId:c}),f=zPt({document:t,tagsMap:u,documentId:c,options:{tagsSorter:o,operationsSorter:i,generateId:s}});if(d.push(...f),d.push(...p),m.length&&d.push({type:"tag",id:h,title:"Webhooks",name:"Webhooks",children:m,isGroup:!1,isWebhooks:!0}),!r&&t.components?.schemas){let e=mPt({documentId:c,document:t,generateId:s,tagsMap:u});e.length&&d.push({type:"models",id:s({type:"model",parentId:c}),title:n,name:n,children:e})}let g=t["x-scalar-order"];return g&&d.sort((e,t)=>{let a=g.indexOf(e.id),r=g.indexOf(t.id);return(-1===a?1/0:a)-(-1===r?1/0:r)}),t["x-scalar-order"]=hC(d.map(e=>e.id)),{id:c,type:"document",title:t.info?.title?.trim()||"Untitled Document",name:e,children:d,icon:t["x-scalar-icon"]}}}),yMt=V(()=>{FCt(),QCt(),dMt(),bMt()}),OMt=V(()=>{QPt=(e,t)=>{let a={};for(let r of t){let t=e.indexOf(`{${r}}`);-1!==t&&(a[r]=t)}return a}}),xMt=V(()=>{wSt(),bC(),OMt(),qPt=(e,t,a,r)=>{let n=xSt(t,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),o=xSt(e,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),i=QPt(t,n),s=QPt(e,o),l=Object.create(null);for(let e of a){let t=r(e);"path"===t?.in&&(l[t.name]=e)}let c=new Set,u=new Set,d=[];for(let e of o){if(l[e]){c.add(e),u.add(l[e]);continue}let t=s[e],a=n.find(e=>i[e]===t&&!c.has(e));if(a&&void 0!==l[a]){let t=l[a];t&&(r(t).name=e,u.add(t)),c.add(a);continue}d.push({in:"path",name:e})}let p=[];for(let e of a){let t=r(e),a=hC(e,{depth:1});"path"===t?.in?u.has(e)&&p.push(a):p.push(a)}return p.concat(d)}}),wMt=V(()=>{o2e(),bAt(),FPt=(e,t)=>{if(e&&"object"==typeof e&&"$ref"in e&&"string"==typeof e.$ref&&e.$ref.startsWith("#")){let a=vAt(e.$ref.slice(1));return FPt(F1e(t.rootNode,a),t)}return e}}),kMt=V(()=>{oF(),UE(),Nat(),xMt(),wMt(),WPt=()=>({type:"lifecycle",onResolveStart:e=>{e.$status="loading"},onResolveError:e=>{e.$status="error"},onResolveSuccess:e=>{delete e.$status}}),XPt=()=>({type:"lifecycle",onAfterNodeProcess:async(e,t)=>{let a=e.externalValue,r=t.resolutionCache;if("string"!=typeof a)return;let n=t.loaders.find(e=>e.validate(a));if(!n)return;r.has(a)||r.set(a,n.exec(a));let o=await r.get(a);o?.ok&&(e.value=o.data)}}),GPt=()=>({type:"lifecycle",onBeforeNodeProcess:async(e,t)=>{let{path:a,resolutionCache:r,parentNode:n}=t,o=e.$ref;if("string"!=typeof o||!n||!a.length)return;let i=t.loaders.find(e=>e.validate(o));if(i&&"info"===a[0]){r.has(o)||r.set(o,i.exec(o));let e=await r.get(o);e?.ok&&(n[a.at(-1)]=e.data)}}}),YPt=()=>({type:"lifecycle",onBeforeNodeProcess:(e,t)=>{let a=e.$ref,r=t.rootNode["x-ext-urls"];"string"!=typeof a||"object"!=typeof r||!r||!function(e){return e.startsWith("#")}(a)||(e.$ref=r[a.split("/").at(-1)??""]??a)}}),KPt=()=>({type:"lifecycle",onAfterNodeProcess:(e,t)=>{let{path:a}=t;if(3===a.length&&"components"===a[0]&&"securitySchemes"===a[1]){let a=FPt(e,t);"object"==typeof a&&a&&"scheme"in a&&"string"==typeof a.scheme&&a.scheme.toLowerCase()!==a.scheme&&(a.scheme=a.scheme.toLowerCase())}}}),JPt=()=>({type:"lifecycle",onBeforeNodeProcess:(e,t)=>{let{path:a}=t;if("string"==typeof e.$ref&&("components"!==a[0]||"schemas"!==a[1])){let t=new Set(["$ref","summary","description","$status"]);Object.keys(e).forEach(a=>{t.has(a)||delete e[a]})}}}),eMt=()=>({type:"lifecycle",onBeforeNodeProcess:(e,t)=>{let{path:a}=t;if(2!==a.length||"paths"!==a[0]||"string"!=typeof a[1])return;let r=a[1];for(let a of sH){let n=FPt(e[a],t);if(!CE(n))continue;let o=e=>{let a=FPt(e,t);return CE(a)&&"name"in a&&"string"==typeof a.name&&"in"in a&&"string"==typeof a.in},i=e=>{let a=FPt(e,t);return o(a)&&"path"===a.in},s=("parameters"in n&&Array.isArray(n.parameters)?n.parameters:[]).filter(o),l=new Set(s.map(e=>FPt(e,t)).filter(i).map(e=>e.name)),c=("parameters"in e&&Array.isArray(e.parameters)?e.parameters:[]).filter(e=>{let a=FPt(e,t);if(!i(a))return!1;let r=!l.has(a.name);return r&&l.add(a.name),r}),u=qPt(r,r,[...s,...c],e=>FPt(e,t));u.length>0&&(n.parameters=u)}}}),tMt=["__scalar_","$status"],aMt=()=>({type:"lifecycle",onBeforeNodeProcess:e=>{if(CE(e))for(let t of tMt)t in e&&delete e[t]}})}),SMt=V(()=>{J(),Vq(),MF(),Qq(),qq(),$F(),Fq(),Wq(),Xq(),Gq(),bF(),Yq(),FF(),mF(),Kq(),Jq(),eF(),tF(),aF(),NF(),IF(),RF(),DF(),ZF(),LF(),jF(),WF(),XF(),GF(),YF(),KF(),JF(),aW(),kF(),SF(),AF(),_F(),TF(),EF(),rF(),iW(),nF(),rMt=e=>{let t=x({name:S(h({typeComment:"The name of the contact."})),url:S(h({typeComment:"The URI for the contact information. This MUST be in the form of a URI."})),email:S(h({typeComment:"The email address of the contact person/organization. This MUST be in the form of an email address."}))},{typeName:"ContactObject"}),a=x({name:S(h({typeComment:"REQUIRED. The license name used for the API."})),identifier:S(h({typeComment:"An SPDX license expression for the API. The identifier field is mutually exclusive of the url field."})),url:S(h({typeComment:"A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field."}))},{typeName:"LicenseObject"}),r=k([x({title:h({typeComment:"REQUIRED. The title of the API."}),version:h({typeComment:"REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description)."}),summary:S(h({typeComment:"A short summary of the API."})),description:S(h({typeComment:"A description of the API. CommonMark syntax MAY be used for rich text representation."})),termsOfService:S(h({typeComment:"A URI for the Terms of Service for the API. This MUST be in the form of a URI."})),contact:S(t),license:S(a)},{typeName:"InfoObject"}),vZ]),n=x({enum:S(y(h(),{typeComment:"An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty."})),default:S(h({typeComment:"The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data."})),description:S(h({typeComment:"An optional description for the server variable. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ServerVariableObject"}),o=x({url:h({typeComment:"REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}."}),description:S(h({typeComment:"An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation."})),variables:S(O(h(),n,{typeComment:"A map between a variable name and its value. The value is used for substitution in the server's URL template."}))},{typeName:"ServerObject"}),i=x({url:h({typeComment:"REQUIRED. The URI for the target documentation. This MUST be in the form of a URI."}),description:S(h({typeComment:"A description of the target documentation. CommonMark syntax MAY be used for rich text representation."}))},{typeName:"ExternalDocumentationObject"}),s=k([x({name:h({typeComment:"REQUIRED. The name of the tag."}),description:S(h({typeComment:"A description for the tag. CommonMark syntax MAY be used for rich text representation."})),externalDocs:S(i)},{typeName:"TagObject"}),EQ,XZ,YZ,eH]),l=O(h(),y(h()),{typeName:"SecurityRequirementObject",typeComment:"Lists the required security schemes to execute this operation. An empty object ({}) indicates anonymous access is supported."}),c=x({name:S(h({typeComment:'Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being "array" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored.'})),namespace:S(h({typeComment:"The URI of the namespace definition. Value MUST be in the form of a non-relative URI."})),prefix:S(h({typeComment:"The prefix to be used for the name."})),attribute:S(m({typeComment:"Declares whether the property definition translates to an attribute instead of an element. Default value is false."})),wrapped:S(m({typeComment:'MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items).'}))},{typeName:"XMLObject"}),u=x({propertyName:h({typeComment:"REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined."}),mapping:S(O(h(),h(),{typeComment:"An object to hold mappings between payload values and schema names or URI references."}))},{typeName:"DiscriminatorObject"}),d=[YZ,XZ,eQ,GV,qV,WV,ZV,KV,zV],f=x({name:S(h({typeComment:"Schema name (extension)."})),title:S(h({typeComment:"A title for the schema."})),description:S(h({typeComment:"A description of the schema."})),default:S(g({typeComment:"Default value for the schema."})),enum:S(y(g(),{typeComment:"Array of allowed values.",typeName:"JsonSchemaEnum"})),const:S(g({typeComment:"Constant value that must match exactly."})),contentMediaType:S(h({typeComment:"Media type for content validation."})),contentEncoding:S(h({typeComment:"Content encoding."})),contentSchema:S(e(_(()=>L))),deprecated:S(m({typeComment:"Whether the schema is deprecated."})),discriminator:S(u),readOnly:S(m({typeComment:"Whether the schema is read-only."})),writeOnly:S(m({typeComment:"Whether the schema is write-only."})),xml:S(c),externalDocs:S(i),example:S(g({typeComment:"A free-form field to include an example of an instance for this schema. Deprecated in favor of the JSON Schema examples keyword."})),examples:S(y(g(),{typeComment:"An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.",typeName:"SchemaExamplesArray"})),allOf:S(y(e(_(()=>L)),{typeName:"SchemaObjectAllOf"})),oneOf:S(y(e(_(()=>L)),{typeName:"SchemaObjectOneOf"})),anyOf:S(y(e(_(()=>L)),{typeName:"SchemaObjectAnyOf"})),not:S(e(_(()=>L)))}),v=x({__scalar_:h({typeComment:"Internal marker for schema object disambiguation."})}),b=x({multipleOf:S(p({typeComment:"Number must be a multiple of this value."})),maximum:S(p({typeComment:"Maximum value (inclusive)."})),exclusiveMaximum:S(p({typeComment:"Maximum value (exclusive)."})),minimum:S(p({typeComment:"Minimum value (inclusive)."})),exclusiveMinimum:S(p({typeComment:"Minimum value (exclusive)."}))}),T=k([x({type:w([A("number"),A("integer")]),format:S(h({typeComment:"Different subtypes."}))}),b],{typeName:"NumberSchemaObject"}),E=x({maxLength:S(p({typeComment:"Maximum string length."})),minLength:S(p({typeComment:"Minimum string length."})),pattern:S(h({typeComment:"Regular expression pattern."}))}),C=k([x({type:A("string"),format:S(h({typeComment:"Different subtypes."}))}),E],{typeName:"StringSchemaObject"}),P=x({maxProperties:S(p({typeComment:"Maximum number of properties."})),minProperties:S(p({typeComment:"Minimum number of properties."})),properties:S(O(h(),e(_(()=>L)),{typeName:"SchemaObjectProperties"})),required:S(y(h(),{typeName:"SchemaObjectRequired"})),additionalProperties:S(w([m(),e(_(()=>L))],{typeName:"SchemaObjectAdditionalProperties"})),patternProperties:S(O(h(),e(_(()=>L)),{typeName:"SchemaObjectPatternProperties"})),propertyNames:S(e(_(()=>L)))}),M=k([x({type:A("object")}),P],{typeName:"ObjectSchemaObject"}),$=x({maxItems:S(p({typeComment:"Maximum number of items in array."})),minItems:S(p({typeComment:"Minimum number of items in array."})),uniqueItems:S(m({typeComment:"Whether array items must be unique."})),items:S(e(_(()=>L))),prefixItems:S(y(e(_(()=>L)),{typeComment:"Schema for tuple validation."}))}),N=k([x({type:A("array")}),$],{typeName:"ArraySchemaObject"}),I=w([A("null"),A("boolean"),A("string"),A("number"),A("integer"),A("object"),A("array")],{typeName:"SchemaObjectMultiTypeKeywords"}),R=x({type:w([A("null"),A("boolean")],{typeName:"SchemaObjectOtherTypeKeyword"})}),D=k([x({type:y(I,{typeName:"SchemaObjectMultiTypeKeywordArray"}),format:S(h({typeComment:"Different subtypes."}))}),b,E,$,P],{typeName:"MultiTypeSchemaObject"}),L=k([f,...d,w([v,R,T,C,M,N,D])],{typeName:"SchemaObject"}),B=x({description:S(h({typeComment:"A description for security scheme. CommonMark syntax MAY be used for rich text representation."}))}),j=x({...B.properties,type:A("apiKey"),name:h({typeComment:"REQUIRED. The name of the header, query or cookie parameter to be used."}),in:w([A("query"),A("header"),A("cookie")],{typeComment:'REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie".'})},{typeName:"ApiKeySecuritySchemeObject"}),U=x({...B.properties,type:A("http"),scheme:w([A("basic"),A("bearer")],{typeName:"HttpSecuritySchemeScheme",typeComment:"REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235."}),bearerFormat:S(h({typeComment:"A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes."}))},{typeName:"HttpSecuritySchemeObject"}),z=[TZ,AZ,jZ,MZ,NZ],H=x({refreshUrl:h({typeComment:"The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."}),scopes:O(h(),h(),{typeComment:"REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.",typeName:"OAuthFlowScopes"})},{typeName:"OAuthFlowBaseCore"}),Z=k([H,...z,x({authorizationUrl:h({typeComment:"REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"ImplicitOAuthFlowObject"})]),V=k([H,...z,x({tokenUrl:h({typeComment:"REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"PasswordOAuthFlowObject"}),kZ]),Q=k([H,...z,x({tokenUrl:h({typeComment:"REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"ClientCredentialsOAuthFlowObject"}),kZ]),q=k([H,...z,x({authorizationUrl:h({typeComment:"REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."}),tokenUrl:h({typeComment:"REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS."})},{typeName:"AuthorizationCodeOAuthFlowObject"}),zZ,kZ]),F=x({implicit:S(Z),password:S(V),clientCredentials:S(Q),authorizationCode:S(q)},{typeName:"OAuthFlowsObject"}),W=w([j,U,k([x({...B.properties,type:A("oauth2"),flows:F},{typeName:"OAuth2SecuritySchemeObject"}),bQ]),x({...B.properties,type:A("openIdConnect"),openIdConnectUrl:h({typeComment:"REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata."})},{typeName:"OpenIdConnectSecuritySchemeObject"})],{typeName:"SecuritySchemeObject"}),X=x({schemas:S(O(h(),e(L),{typeName:"ComponentsSchemas"})),responses:S(O(h(),e(_(()=>ne)),{typeName:"ComponentsResponses"})),parameters:S(O(h(),e(_(()=>te)),{typeName:"ComponentsParameters"})),examples:S(O(h(),e(_(()=>G)),{typeName:"ComponentsExamples"})),requestBodies:S(O(h(),e(_(()=>ae)),{typeName:"ComponentsRequestBodies"})),headers:S(O(h(),e(_(()=>K)),{typeName:"ComponentsHeaders"})),securitySchemes:S(O(h(),e(_(()=>W)),{typeName:"ComponentsSecuritySchemes"})),links:S(O(h(),e(_(()=>re)),{typeName:"ComponentsLinks"})),callbacks:S(O(h(),e(_(()=>ie)),{typeName:"ComponentsCallbacks"})),pathItems:S(O(h(),_(()=>le),{typeName:"ComponentsPathItems"}))},{typeName:"ComponentsObject"}),G=k([x({summary:S(h({typeComment:"Short description for the example."})),description:S(h({typeComment:"Long description for the example. CommonMark syntax MAY be used for rich text representation."})),value:S(g({typeComment:"Embedded literal example. The value field and externalValue field are mutually exclusive."})),externalValue:S(h({typeComment:"A URI that identifies the literal example. The value field and externalValue field are mutually exclusive."}))},{typeName:"ExampleObject"}),lZ]),Y=x({description:S(h({typeComment:"A brief description of the header. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:S(m({typeComment:"Determines whether this header is mandatory. The default value is false."})),deprecated:S(m({typeComment:"Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is false."}))},{typeName:"HeaderBase"}),K=w([k([Y,x({style:S(h({typeComment:'Describes how the header value will be serialized. The default (and only legal value for headers) is "simple".'})),explode:S(m({typeComment:"When this is true, header values of type array or object generate a single header whose value is a comma-separated list of the array items or key-value pairs of the map, see Style Examples."})),schema:S(e(_(()=>L))),example:S(g()),examples:S(O(h(),e(_(()=>G)),{typeName:"HeaderExamples"}))},{typeName:"HeaderObjectWithSchema"})]),k([Y,x({content:S(O(h(),_(()=>ee),{typeName:"HeaderContent"}))},{typeName:"HeaderObjectWithContent"})])],{typeName:"HeaderObject"}),J=x({contentType:S(h({typeComment:"The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*)."})),headers:S(O(h(),e(_(()=>K)),{typeName:"EncodingHeaders"}))},{typeName:"EncodingObject"}),ee=x({schema:S(e(_(()=>L))),example:S(g({typeComment:"Example of the media type."})),examples:S(O(h(),e(_(()=>G)),{typeName:"MediaTypeExamples"})),encoding:S(O(h(),J,{typeComment:"A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property.",typeName:"MediaTypeEncoding"}))},{typeName:"MediaTypeObject"}),te=w([k([x({name:h({typeComment:'REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object.'}),in:w([A("query"),A("header"),A("path"),A("cookie")],{typeName:"ParameterLocation",typeComment:'REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".'}),description:S(h({typeComment:"A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:S(m({typeComment:'Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true.'})),deprecated:S(m({typeComment:"Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false."})),allowEmptyValue:S(m({typeComment:"If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely. This field is valid only for query parameters."})),allowReserved:S(m({typeComment:"When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570. This field only applies to parameters with an in value of query. The default value is false."})),style:S(h({typeComment:"Describes how the parameter value will be serialized (depending on the schema type)."})),explode:S(m({typeComment:"When this is true, parameter values of type array or object generate separate parameters for each array item or object property."})),schema:S(e(_(()=>L))),example:S(g()),examples:S(O(h(),e(_(()=>G)),{typeName:"ParameterExamples"}))},{typeName:"ParameterObjectWithSchema"}),EV,XZ,YZ]),k([x({name:h({typeComment:'REQUIRED. The name of the parameter. Parameter names are case sensitive. If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object.'}),in:w([A("query"),A("header"),A("path"),A("cookie")],{typeName:"ParameterLocation",typeComment:'REQUIRED. The location of the parameter. Possible values are "query", "header", "path" or "cookie".'}),description:S(h({typeComment:"A brief description of the parameter. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),required:S(m({typeComment:'Determines whether this parameter is mandatory. If the parameter location is "path", this field is REQUIRED and its value MUST be true.'})),deprecated:S(m({typeComment:"Specifies that a parameter is deprecated and SHOULD be transitioned out of usage. Default value is false."})),allowEmptyValue:S(m({typeComment:"If true, clients MAY pass a zero-length string value in place of parameters that would otherwise be omitted entirely. This field is valid only for query parameters."})),allowReserved:S(m({typeComment:"When this is true, parameter values are serialized using reserved expansion, as defined by RFC6570. This field only applies to parameters with an in value of query. The default value is false."})),content:S(O(h(),_(()=>ee),{typeName:"ParameterContent"}))},{typeName:"ParameterObjectWithContent"}),EV,XZ,YZ])],{typeName:"ParameterObject"}),ae=k([x({description:S(h({typeComment:"A brief description of the request body. This could contain examples of use. CommonMark syntax MAY be used for rich text representation."})),content:O(h(),_(()=>ee),{typeComment:"REQUIRED. The content of the request body. The key is a media type or media type range and the value describes it.",typeName:"RequestBodyContent"}),required:S(m({typeComment:"Determines if the request body is required in the request. Defaults to false."}))},{typeName:"RequestBodyObject"}),DV]),re=x({operationRef:S(h({typeComment:"A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object."})),operationId:S(h({typeComment:"The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field."})),parameters:S(O(h(),g(),{typeComment:"A map representing parameters to pass to an operation as specified with operationId or identified via operationRef.",typeName:"LinkParameters"})),requestBody:S(g({typeComment:"A literal value or {expression} to use as a request body when calling the target operation."})),description:S(h({typeComment:"A description of the link. CommonMark syntax MAY be used for rich text representation."})),server:S(o)},{typeName:"LinkObject"}),ne=x({description:h({typeComment:"REQUIRED. A description of the response. CommonMark syntax MAY be used for rich text representation."}),headers:S(O(h(),e(_(()=>K)),{typeName:"ResponseHeaders"})),content:S(O(h(),_(()=>ee),{typeName:"ResponseContent"})),links:S(O(h(),e(_(()=>re)),{typeName:"ResponseLinks"}))},{typeName:"ResponseObject"}),oe=O(h(),e(_(()=>ne)),{typeName:"ResponsesObject"}),ie=O(h(),e(_(()=>le)),{typeName:"CallbackObject"}),se=k([x({tags:S(y(h(),{typeComment:"A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.",typeName:"OperationTags"})),summary:S(h({typeComment:"A short summary of what the operation does."})),description:S(h({typeComment:"A verbose explanation of the operation behavior. CommonMark syntax MAY be used for rich text representation."})),externalDocs:S(i),operationId:S(h({typeComment:"Unique string used to identify the operation. The id MUST be unique among all operations described in the API. The operationId value is case-sensitive."})),parameters:S(y(e(_(()=>te)),{typeName:"OperationParameters"})),requestBody:S(e(_(()=>ae))),responses:S(_(()=>oe)),deprecated:S(m({typeComment:"Declares this operation to be deprecated. Consumers SHOULD refrain from usage of the declared operation. Default value is false."})),security:S(y(l,{typeName:"OperationSecurity"})),servers:S(y(o,{typeName:"OperationServers"})),callbacks:S(O(h(),e(_(()=>ie)),{typeName:"OperationCallbacks"}))},{typeName:"OperationObject"}),tV,XZ,YZ,hV,AV,wV,Vz,qz,fV,aH]),le=x({$ref:S(h({typeComment:"Allows for a referenced definition of this path item. The value MUST be in the form of a URI, and the referenced structure MUST be in the form of a Path Item Object."})),summary:S(h({typeComment:"An optional string summary, intended to apply to all operations in this path."})),description:S(h({typeComment:"An optional string description, intended to apply to all operations in this path. CommonMark syntax MAY be used for rich text representation."})),get:S(e(_(()=>se))),put:S(e(_(()=>se))),post:S(e(_(()=>se))),delete:S(e(_(()=>se))),patch:S(e(_(()=>se))),connect:S(e(_(()=>se))),options:S(e(_(()=>se))),head:S(e(_(()=>se))),trace:S(e(_(()=>se))),servers:S(y(o,{typeName:"PathItemServers"})),parameters:S(y(e(_(()=>te)),{typeName:"PathItemParameters"}))},{typeName:"PathItemObject"}),ce=x({"x-original-oas-version":S(h({typeComment:"Original OpenAPI Specification version of the source document."})),[wz.document.navigation]:S(g({typeComment:"Client navigation tree (TraversedDocument) for this OpenAPI description. Matches TraversedDocumentObjectRef in strict schemas."}))},{typeName:"OpenApiExtensionsPartial"});return k([x({openapi:h({typeComment:"REQUIRED. This string MUST be the version number of the OpenAPI Specification that the OpenAPI Document uses. The openapi field SHOULD be used by tooling to interpret the OpenAPI Document. This is not related to the API info.version string."}),info:r,jsonSchemaDialect:S(h({typeComment:"The default value for the $schema keyword within Schema Objects contained within this OAS document. This MUST be in the form of a URI."})),servers:S(y(o,{typeComment:"An array of Server Objects, which provide connectivity information to a target server. If the servers field is not provided, or is an empty array, the default value would be a Server Object with a url value of /.",typeName:"OpenApiServers"})),paths:S(O(h(),le,{typeComment:"The available paths and operations for the API.",typeName:"PathsObject"})),webhooks:S(O(h(),le,{typeComment:"The incoming webhooks that MAY be received as part of this API and that the API consumer MAY choose to implement.",typeName:"WebhooksObject"})),components:S(X),security:S(y(l,{typeComment:"A declaration of which security mechanisms can be used across the API. The list of values includes alternative Security Requirement Objects that can be used. Only one of the Security Requirement Objects need to be satisfied to authorize a request.",typeName:"OpenApiSecurity"})),tags:S(y(s,{typeComment:"A list of tags used by the OpenAPI Description with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools."})),externalDocs:S(i)},{typeName:"OpenApiDocumentCore"}),ce,Dz,iH,Ez,aH,Pz,eH,Kz,Iz,$z,Wz,Hz,Uz,qz,Vz],{typeName:"OpenApiDocument",typeComment:"Root OpenAPI 3.1 document including Scalar workspace extensions (OpenApiExtensionsSchema)."})}}),AMt=V(()=>{UE(),J(),nMt=x({$status:S(w([A("loading"),A("error")]),{typeComment:"Indicates the current status of the reference resolution. Can be either 'loading' while fetching the reference or 'error' if the resolution failed."}),$global:S(m({typeComment:"Indicates whether this reference should be resolved globally across all documents, rather than just within the current document context."}))},{typeName:"ReferenceObjectExtensions"}),oMt=x({$ref:h({typeComment:"REQUIRED. The reference identifier. This MUST be in the form of a URI."}),summary:S(h({typeComment:"A short summary which by default SHOULD override that of the referenced component. If the referenced object-type does not allow a summary field, then this field has no effect."})),description:S(h({typeComment:"A description which by default SHOULD override that of the referenced component. CommonMark syntax MAY be used for rich text representation. If the referenced object-type does not allow a description field, then this field has no effect."}))},{typeName:"ReferenceObject"}),iMt=e=>CE(e)&&"$ref"in e?iMt(e["$ref-value"]):e,sMt=e=>w([e,k([oMt,x({"$ref-value":T(iMt,e)}),nMt])])});async function _Mt({defaultValue:e,validation:t,transformation:a,maxRetries:r=5}){let n=a?.(e)??e;return await t(n)?n:TMt({value:[n,1],validation:t,maxRetries:r,transformation:a})}async function TMt({value:e,validation:t,maxRetries:a,attempts:r=0,transformation:n}){if(r>=a)return;let o=e.join(" "),i=n?.(o)??o;return await t(i)?i:TMt({value:[e[0],e[1]+1],validation:t,maxRetries:a,transformation:n,attempts:r+1})}var EMt,CMt,PMt,MMt,$Mt,NMt,IMt,RMt,DMt,LMt,BMt,jMt,UMt,zMt,HMt,ZMt,VMt,QMt,qMt,FMt,WMt,XMt,GMt,YMt,KMt,JMt,e$t,t$t,a$t,r$t,n$t,o$t,i$t,s$t,l$t,c$t,u$t,d$t,p$t,h$t,m$t,f$t,g$t,v$t,b$t,y$t,O$t,x$t,w$t,k$t,S$t,A$t,_$t,T$t,E$t,C$t,P$t,M$t,$$t,N$t,I$t,R$t,D$t,L$t,B$t,j$t,U$t,z$t,H$t,Z$t,V$t,Q$t,q$t,F$t,W$t,X$t,G$t,Y$t,K$t,J$t,eNt,tNt,aNt,rNt,nNt,oNt,iNt,sNt,lNt,cNt,uNt,dNt,pNt,hNt,mNt,fNt,gNt,vNt,bNt,yNt,ONt,xNt,wNt=V(()=>{}),kNt=V(()=>{EMt=e=>void 0!==e&&Object.keys(e).length>0}),SNt=V(()=>{wNt(),iJ(),jE(),kNt(),fJ(),bC(),hJ(),rJ(),CMt=async(e,t,{selectedRequirements:a,newSchemes:r,meta:n})=>{if(!eK(t))return;let o=t["x-scalar-navigation"]?.name;if(!o)return;let i=(await Promise.all(r.map(async e=>{let a=await _Mt({defaultValue:e.name,validation:e=>!t.components?.securitySchemes?.[e],maxRetries:100});if(a)return t.components||={},t.components.securitySchemes||(t.components.securitySchemes={}),t.components.securitySchemes[a]=e.scheme,{[a]:[]}}))).filter(Boolean),s="document"===n.type?e?.auth.getAuthSelectedSchemas({type:"document",documentName:o}):e?.auth.getAuthSelectedSchemas({type:"operation",documentName:o,path:n.path,method:n.method}),l=[...a,...i],c=()=>s?.selectedIndex?s.selectedIndex>=l.length?l.length-1:s.selectedIndex:0;return"document"===n.type?e?.auth.setAuthSelectedSchemas({type:"document",documentName:o},{selectedIndex:c(),selectedSchemes:l}):e?.auth.setAuthSelectedSchemas({type:"operation",documentName:o,path:n.path,method:n.method},{selectedIndex:c(),selectedSchemes:l})},PMt=(e,t,{meta:a})=>{if(!eK(t))return;let r=t["x-scalar-navigation"]?.name;return r?"document"===a.type?e?.auth.clearAuthSelectedSchemas({type:"document",documentName:r}):e?.auth.clearAuthSelectedSchemas({type:"operation",documentName:r,path:a.path,method:a.method}):void 0},MMt=(e,{payload:t,name:a})=>{if(!eK(e))return;let r=EE(e.components?.securitySchemes?.[a]);if(r)return r.type===t.type&&kK(r,t),r;console.error(`Security scheme ${a} not found`)},$Mt=(e,t,{payload:a,name:r,overwrite:n=!1})=>{if(!eK(t))return;let o=t["x-scalar-navigation"]?.name;if(!o)return;if(n)return void e?.auth.setAuthSecrets(o,r,a);let i=e?.auth.getAuthSecrets(o,r),s=kK(hC(i,{depth:1})??{},a);e?.auth.setAuthSecrets(o,r,s)},NMt=(e,t,{name:a})=>{if(!eK(t))return;let r=t["x-scalar-navigation"]?.name;r&&e?.auth.clearAuthSecrets(r,a)},IMt=(e,t,{index:a,meta:r})=>{if(!eK(t))return;let n=t["x-scalar-navigation"]?.name;if(!n||"operation"===r.type&&void 0===iK(t.paths?.[r.path],r.method))return;let o="document"===r.type?e?.auth.getAuthSelectedSchemas({type:"document",documentName:n}):e?.auth.getAuthSelectedSchemas({type:"operation",documentName:n,path:r.path,method:r.method});if(!o)return"document"===r.type?e?.auth.setAuthSelectedSchemas({type:"document",documentName:n},{selectedIndex:a,selectedSchemes:[]}):e?.auth.setAuthSelectedSchemas({type:"operation",documentName:n,path:r.path,method:r.method},{selectedIndex:a,selectedSchemes:[]});e?.auth.setAuthSelectedSchemas("document"===r.type?{type:"document",documentName:n}:{type:"operation",documentName:n,path:r.path,method:r.method},{selectedIndex:a,selectedSchemes:hC(o.selectedSchemes,{depth:null})??[]})},RMt=(e,t)=>{let a=[...Object.keys(e)].sort((e,t)=>e.localeCompare(t)),r=[...t].sort((e,t)=>e.localeCompare(t));return JSON.stringify(a)===JSON.stringify(r)},DMt=(e,t,{id:a,name:r,scopes:n,meta:o})=>{if(!eK(t))return;let i=t["x-scalar-navigation"]?.name;if(!i)return;let s=("document"===o.type?e?.auth.getAuthSelectedSchemas({type:"document",documentName:i}):e?.auth.getAuthSelectedSchemas({type:"operation",documentName:i,path:o.path,method:o.method}))??xK(void 0,void 0,[],t.components?.securitySchemes??{},1===a.length?a[0]:a),l=hC(s.selectedSchemes,{depth:1})??[],c=l.find(e=>RMt(e,a));EMt(c)&&(c[r]=n,e?.auth.setAuthSelectedSchemas("document"===o.type?{type:"document",documentName:i}:{type:"operation",documentName:i,path:o.path,method:o.method},{selectedIndex:s.selectedIndex,selectedSchemes:l}))},LMt=(e,t,a)=>{if(!eK(e))return null;let r=EE(e.components?.securitySchemes?.[t]);return!r||"oauth2"!==r.type&&"openIdConnect"!==r.type?null:r.flows?.[a]??null},BMt=(e,t,a)=>{if(!eK(t)||!e)return;let r=t["x-scalar-navigation"]?.name;if(!r)return;let n=t=>{let r=e.auth.getAuthSelectedSchemas(t);if(!r)return;let n=hC(r.selectedSchemes,{depth:1})??[];a(n),e.auth.setAuthSelectedSchemas(t,{selectedIndex:r.selectedIndex,selectedSchemes:n})};n({type:"document",documentName:r}),Object.entries(t.paths??{}).forEach(([e,t])=>{cK(t,t=>{n({type:"operation",documentName:r,path:e,method:t})})})},jMt=(e,t,{name:a,flowType:r,scope:n,description:o,oldScope:i,enable:s})=>{if(!eK(t))return;let l=LMt(t,a,r);if(!l)return;l.scopes||={};let c=!!i&&i!==n;if(c){if(!(i in l.scopes))return;delete l.scopes[i]}l.scopes[n]=o,(c||s)&&BMt(e,t,e=>{e.forEach(e=>{if(!EMt(e))return;let t=e[a];if(!Array.isArray(t))return;let r=t;c&&r.includes(i)&&(r=r.map(e=>e===i?n:e)),s&&!r.includes(n)&&(r=[...r,n]),r!==t&&(e[a]=r)})})},UMt=(e,t,{name:a,flowType:r,scope:n})=>{if(!eK(t))return;let o=LMt(t,a,r);o?.scopes&&(delete o.scopes[n],BMt(e,t,e=>{e.forEach(e=>{if(!EMt(e))return;let t=e[a];!Array.isArray(t)||!t.includes(n)||(e[a]=t.filter(e=>e!==n))})}))},zMt=(e,t,{names:a})=>{if(!eK(t))return;let r=t["x-scalar-navigation"]?.name;if(!r)return;let n=EE(t.components?.securitySchemes);if(!n)return;a.forEach(e=>{delete n[e]});let o=(e,t)=>Math.max(0,Math.min(e,t-1)),i=e=>(hC(e,{depth:1})??[]).filter(e=>!a.some(t=>Object.keys(e).includes(t))),s=e?.auth.getAuthSelectedSchemas({type:"document",documentName:r});if(s){let t=i(s.selectedSchemes);e?.auth.setAuthSelectedSchemas({type:"document",documentName:r},{selectedIndex:o(s.selectedIndex,t.length),selectedSchemes:t})}t.security&&=i(t.security),Object.entries(t.paths??{}).forEach(([t,a])=>{cK(a,(a,n)=>{let s=EE(n);"security"in s&&s.security&&(s.security=i(s.security));let l=e?.auth.getAuthSelectedSchemas({type:"operation",documentName:r,path:t,method:a});if(l){let n=i(l.selectedSchemes);e?.auth.setAuthSelectedSchemas({type:"operation",documentName:r,path:t,method:a},{selectedIndex:o(l.selectedIndex,n.length),selectedSchemes:n})}})})},HMt=({document:e,store:t})=>({updateSelectedSecuritySchemes:a=>CMt(t,e,a),clearSelectedSecuritySchemes:a=>PMt(t,e,a),updateSecurityScheme:t=>MMt(e,t),updateSecuritySchemeSecrets:a=>$Mt(t,e,a),clearSecuritySchemeSecrets:a=>NMt(t,e,a),updateSelectedAuthTab:a=>IMt(t,e,a),updateSelectedScopes:a=>DMt(t,e,a),upsertScope:a=>jMt(t,e,a),deleteScope:a=>UMt(t,e,a),deleteSecurityScheme:a=>zMt(t,e,a)})}),ANt=V(()=>{tF(),rJ(),Zq(),ZMt=(e,{payload:t,index:a})=>{if(!e||tK(e))return;if(e["x-scalar-cookies"]||=[],void 0!==a){if(a<0||a>=e["x-scalar-cookies"].length)return;let r=xz(Xz,{...e["x-scalar-cookies"][a],...t});return e["x-scalar-cookies"][a]=r,r}let r=xz(Xz,t);return e["x-scalar-cookies"].push(r),r},VMt=(e,{index:t})=>!(!e||tK(e)||!e["x-scalar-cookies"]||t<0||t>=e["x-scalar-cookies"].length)&&(e["x-scalar-cookies"].splice(t,1),!0),QMt=({collection:e})=>({upsertCookie:t=>ZMt(e,t),deleteCookie:t=>VMt(e,t)})}),_Nt=V(()=>{fJ(),rJ(),qMt=(e,t)=>{eK(e)&&kK(e,t)},FMt=(e,t)=>{eK(e)&&(e["x-scalar-watch-mode"]=t)},WMt=(e,t)=>{eK(e)&&(kK(e.info,t),e["x-scalar-navigation"]&&void 0!==t.title&&(e["x-scalar-navigation"].title=t.title?.trim()||"Untitled Document"))},XMt=(e,t)=>{!eK(e)||!e["x-scalar-navigation"]||(e["x-scalar-icon"]=t,e["x-scalar-navigation"].icon=t)},GMt=async(e,t)=>{if(e){if(e.workspace.documents[t.name])return void t.callback?.(!1);await e.addDocument({name:t.name,document:{openapi:"3.1.0",info:{title:t.name,version:"1.0.0"},paths:{"/":{get:{}}},"x-scalar-icon":t.icon}}),t.callback?.(!0)}},YMt=(e,t)=>{e&&e.deleteDocument(t.name)},KMt=({document:e,store:t})=>({updateDocumentExtension:t=>qMt(e,t),updateDocumentInfo:t=>WMt(e,t),updateWatchMode:t=>FMt(e,t),updateDocumentIcon:t=>XMt(e,t),createEmptyDocument:e=>GMt(t,e),deleteDocument:e=>YMt(t,e)})}),TNt=V(()=>{bC(),Qq(),rJ(),Zq(),JMt=(e,t,{environmentName:a,payload:r,oldEnvironmentName:n})=>{if(!t||!e||tK(t))return;t["x-scalar-environments"]||={};let o=!t["x-scalar-environments"][n??a],i=xz(Az,{...hC(t["x-scalar-environments"][n??a],{depth:1}),...r});return t["x-scalar-environments"][a]=i,n&&n!==a&&(delete t["x-scalar-environments"][n],e["x-scalar-active-environment"]===n&&(e["x-scalar-active-environment"]=a)),o&&(e["x-scalar-active-environment"]=a),i},e$t=(e,t,{environmentName:a})=>{!t||!e||tK(t)||delete t["x-scalar-environments"]?.[a]},t$t=(e,{environmentName:t,variable:a,index:r})=>{if(!e||tK(e))return;if(!e["x-scalar-environments"]?.[t])return void console.error("Environment not found",t);let n=xz(kz,a);if(void 0!==r){if(""===n.name)return void e["x-scalar-environments"][t].variables.splice(r,1);e["x-scalar-environments"][t].variables[r]=n}else e["x-scalar-environments"][t].variables.push(n);return n},a$t=(e,{environmentName:t,index:a})=>{if(e&&!tK(e)){if(!e["x-scalar-environments"]?.[t])return void console.error("Environment not found",t);e["x-scalar-environments"][t]?.variables?.splice(a,1)}},r$t=({workspace:e,collection:t})=>({upsertEnvironment:a=>JMt(e,t,a),deleteEnvironment:a=>e$t(e,t,a),upsertEnvironmentVariable:e=>t$t(t,e),deleteEnvironmentVariable:e=>a$t(t,e)})}),ENt=V(()=>{n$t=(e,t)=>e&&e.workspace.documents[t]||null}),CNt=V(()=>{iJ(),jE(),bC(),rJ(),o$t=(e,t,a)=>{if(!eK(e))return null;let r=EE(iK(e.paths?.[a.path],a.method));if(!r)return null;let n=EE(r.requestBody);return n||=(r.requestBody={content:{}},EE(r.requestBody)),n.content[t]||={},n.content[t].examples||={},n.content[t].examples[a.exampleKey]||={},EE(n.content[t].examples?.[a.exampleKey])??null},i$t=(e,{meta:t,payload:a})=>{if(!eK(e))return;let r=EE(iK(e.paths?.[t.path],t.method));if(!r)return;let n=EE(r.requestBody);n||=(r.requestBody={content:{}},EE(r.requestBody)),n["x-scalar-selected-content-type"]||={},n["x-scalar-selected-content-type"][t.exampleKey]=a.contentType},s$t=(e,{meta:t,payload:a,contentType:r})=>{let n=o$t(e,r,t);n?n.value=a:console.error("Example not found",t.exampleKey)},l$t=(e,{meta:t,payload:a,contentType:r})=>{let n=o$t(e,r,t);n?n.value=hC(a,{depth:3}):console.error("Example not found",t.exampleKey)}}),PNt=V(()=>{iJ(),jE(),fJ(),rJ(),c$t=(e,{meta:t,payload:a})=>{if(!eK(e))return;let r=EE(iK(e.paths?.[t.path],t.method));r&&kK(r,a)}}),MNt=V(()=>{u$t=async({requestPayload:e,includeBody:t=!0,httpVersion:a="HTTP/1.1",bodySizeLimit:r=1048576})=>{let[n,o]=e,i=new URL(n),s=Array.from(i.searchParams.entries()).map(([e,t])=>({name:e,value:t})),l=new Headers(o.headers),c=l.get("content-type")?.split(";")[0]?.trim()??"text/plain",{headers:u,headersSize:d,cookies:p}=m$t(l),h=await(async()=>{if(t&&null!=o.body){let e=await d$t(o.body,c);if(e.size<=r)return e}return{text:"",size:-1}})();return{method:o.method??"GET",url:n,httpVersion:a,headers:u,cookies:p,queryString:s,headersSize:d,bodySize:h.size,postData:"params"in h?{mimeType:c,params:h.params}:{mimeType:c,text:h.text}}},d$t=async(e,t)=>e instanceof FormData?p$t(e):e instanceof URLSearchParams?h$t(e):t.includes("application/octet-stream")?{text:"",size:-1}:"string"==typeof e?{text:e,size:(new TextEncoder).encode(e).byteLength}:e instanceof Blob?{text:await e.text(),size:e.size}:e instanceof ArrayBuffer||ArrayBuffer.isView(e)?{text:(new TextDecoder).decode(e),size:e.byteLength}:{text:"",size:-1},p$t=e=>Array.from(e.entries()).reduce((e,[t,a])=>{if(a instanceof File){let r=`@${a.name}`;return e.params.push({name:t,value:r}),e.size+=r.length,e}return e.params.push({name:t,value:a}),e.size+=a.length,e},{params:[],size:0}),h$t=e=>Array.from(e.entries()).reduce((e,[t,a])=>(e.params.push({name:t,value:a}),e.size+=t.length+a.length,e),{params:[],size:0}),m$t=e=>Array.from(e.entries()).reduce((e,[t,a])=>{if("cookie"===t.toLowerCase()){let t=f$t(a);e.cookies.push(...t.cookies)}else e.headers.push({name:t,value:a}),e.headersSize+=t.length+2+a.length+2;return e},{headers:[],headersSize:0,cookies:[]}),f$t=e=>e.split(";").reduce((e,t)=>{let a=t.trim(),r=a.indexOf("=");if(-1===r)return e;let n=a.substring(0,r).trim(),o=a.substring(r+1).trim();return e.cookies.push({name:n,value:o}),e.size+=n.length+2+o.length+2,e},{cookies:[],size:0})}),$Nt=V(()=>{g$t=async({response:e,includeBody:t=!0,httpVersion:a="HTTP/1.1",bodySizeLimit:r=1048576})=>{let{headers:n,headersSize:o,cookies:i}=v$t(e),s=e.headers.get("location")||"",l=e.headers.get("content-type")??"text/plain",c=await(async()=>{if(t&&e.body){let t=await b$t(e.clone());if(t.size<=r)return t}return{text:"",size:-1,encoding:void 0}})();return{status:e.status,statusText:e.statusText,httpVersion:a,headers:n,cookies:i,content:{size:c.size,mimeType:l,text:c.text,encoding:c.encoding},redirectURL:s,headersSize:o,bodySize:c.size}},v$t=e=>Array.from(e.headers.entries()).reduce((e,[t,a])=>{if(e.headers.push({name:t,value:a}),e.headersSize+=t.length+2+a.length+2,"set-cookie"===t.toLowerCase()){let t=O$t(a);t&&e.cookies.push(t)}return e},{headers:[],headersSize:0,cookies:[]}),b$t=async e=>{let t=e.headers.get("content-type");if(!t||!y$t(t))return{text:"",size:-1,encoding:void 0};try{let t=await e.arrayBuffer(),a=t.byteLength;return{text:new TextDecoder("utf-8").decode(t),size:a,encoding:void 0}}catch{return{text:"",size:-1,encoding:void 0}}},y$t=e=>{let t=e.toLowerCase();return!!(t.startsWith("text/")||t.includes("application/json")||t.includes("+json")||t.includes("application/xml")||t.includes("text/xml")||t.includes("+xml")||t.includes("application/javascript")||t.includes("application/x-javascript")||t.includes("application/x-www-form-urlencoded")||t.includes("application/graphql"))},O$t=e=>{let t=e.split(";");if(0===t.length||!t[0])return null;let a=t[0].trim(),r=a.indexOf("=");return-1===r?null:{name:a.substring(0,r).trim(),value:a.substring(r+1).trim()}}}),NNt=V(()=>{jE(),KK(),x$t=(e,t,a)=>{e.forEach(e=>{let r=EE(e);BY(r)||(k$t(EE(e),a,!0),"path"===r.in&&(r.examples||={},r.examples[a]={value:t[r.name]??"","x-disabled":!1}))})},w$t=({harRequest:e,exampleKey:t,baseOperation:a={},pathVariables:r={}})=>{if(a.parameters||=[],x$t(a.parameters,r,t),e.queryString&&e.queryString.length>0)for(let r of e.queryString){let e=S$t(a.parameters,r.name,"query");!e||BY(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.headers&&e.headers.length>0)for(let r of e.headers){let e=S$t(a.parameters,r.name,"header");!e||BY(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.cookies&&e.cookies.length>0)for(let r of e.cookies){let e=S$t(a.parameters,r.name,"cookie");!e||BY(e)||(e.examples||={},e.examples[t]={value:r.value,"x-disabled":!1})}if(e.postData){let{mimeType:r,text:n,params:o}=e.postData;a.requestBody||={content:{}};let i=EE(a.requestBody);i.content[r]||(i.content[r]={schema:{type:"object"}});let s,l=i.content[r];if(!l)return a;if(l.examples||={},o&&o.length>0){s=[];for(let e of o)s.push({name:e.name,value:e.value,"x-disabled":!1})}else s=n;l.examples[t]={value:s,"x-disabled":!1},i["x-scalar-selected-content-type"]||={},i["x-scalar-selected-content-type"][t]=r}return a},k$t=(e,t,a)=>{BY(e)||e.examples?.[t]&&(EE(e.examples[t])["x-disabled"]=a)},S$t=(e,t,a)=>{for(let r of e){let e=EE(r);if(!BY(e)&&e.in===a&&("header"===a?e.name.toLowerCase()===t.toLowerCase():e.name===t))return e}let r={name:t,in:a,schema:{type:"string"}};return e.push(r),r}}),INt=V(()=>{iJ(),jE(),rJ(),KK(),MNt(),$Nt(),NNt(),A$t=async(e,t,{payload:a,meta:r})=>{if(!eK(t))return;let n=t["x-scalar-navigation"]?.name;if(!n||!a)return;let o=EE(iK(t.paths?.[r.path],r.method));if(!o)return;let i=(o.parameters??[]).reduce((e,t)=>{let a=EE(t);return BY(a)||"path"===a.in&&(e[a.name]=EE(a.examples?.[r.exampleKey])?.value??""),e},{}),s=await u$t({requestPayload:a.requestPayload}),l=await g$t({response:a.response});e?.history.addHistory(n,r.path,r.method,{response:l,request:s,meta:{example:r.exampleKey},time:a.duration,timestamp:a.timestamp,requestMetadata:{variables:i}})},_$t=(e,t,{meta:a,index:r,callback:n})=>{if(!eK(t))return void console.error("Document not found",a.path,a.method);let o=EE(iK(t.paths?.[a.path],a.method));if(!o)return void console.error("Operation not found",a.path,a.method);let i=e?.history.getHistory(t["x-scalar-navigation"]?.name??"",a.path,a.method)?.[r];i?(w$t({harRequest:i.request,exampleKey:"draft",baseOperation:o,pathVariables:i.requestMetadata.variables}),n("success")):console.error("History item not found",r)}}),RNt=V(()=>{qCt(),QCt(),rJ(),T$t=({store:e,generateId:t,...a})=>{a.entries?.forEach(r=>{if(!LEt(r.parent))return;let n=BEt({store:e,entry:r.parent});if(!n||!("x-scalar-order"in n))return;let o=n["x-scalar-order"],i=o?.indexOf(r.id);if(!Array.isArray(o)||"number"!=typeof i||i<0)return;if("tag"in a){let n=r.id,s=t({type:"tag",parentId:r.parent.id,tag:a.tag});if(o[i]=s,n!==s){let t=DEt("document",r),o=t?e.workspace.documents[t.name]:null,i=eK(o)?o.tags?.find(e=>e.name===a.tag.name):void 0,l=i?.["x-scalar-order"];if(i&&Array.isArray(l)){let e=`${n}/`,t=`${s}/`;i["x-scalar-order"]=l.map(a=>a.startsWith(e)?t+a.slice(e.length):a)}}return}let s="tag"===r.parent.type&&"name"in n?{tag:n,id:r.parent.id}:void 0;o[i]=t({type:"operation",path:a.path,method:a.method,operation:a.operation,parentId:r.parent.id,parentTag:s})})}}),DNt=V(()=>{oJ(),GK(),wSt(),iJ(),jE(),bC(),xMt(),yMt(),tPt(),RNt(),rJ(),E$t=(e,t)=>{let a=e?.workspace.documents[t.documentName];if(!eK(a))return void t.callback?.(!1);let{path:r,method:n,operation:o}=t,i=r.startsWith("/")?r:`/${r}`;a.paths||={},a.paths[i]||(a.paths[i]={}),MY(i),MY(n),sK(a.paths[i],n,o);let{servers:s}=o,l=hC(s?.[0]);for(let e of s??[])a.servers?.some(t=>t.url===e.url)||(a.servers||=[],a.servers.push(hC(e)));l&&(a["x-scalar-selected-server"]=l.url);let c=o.parameters,u=qPt(i,i,c??[],EE);return(void 0!==c||u.length>0)&&(o.parameters=u),t.callback?.(!0),i},C$t=(e,t,{meta:a,payload:r})=>{if(!e||!eK(t))return;let n=t["x-scalar-navigation"]?.name;if(void 0===n)return;let o=EE(iK(t.paths?.[a.path],a.method));o?(Object.assign(o,r),e.buildSidebar(n)):console.error("Operation not found",{meta:a,document:t})},P$t=(e,t,{meta:a,payload:{method:r,path:n},blurTargetSelector:o,callback:i})=>{let s=a.method!==r,l=a.path!==n;if(!s&&!l)return void i("no-change",o);let c=s?r:a.method,u=l?n:a.path;if(!t||!eK(e))return void console.error("Document or workspace not found",{document:e});if(iK(e.paths?.[u],c))return void i("conflict",o);let d=e["x-scalar-navigation"];if(!d)return void console.error("Document navigation missing",{document:e});let p=EE(iK(e.paths?.[a.path],a.method));if(!p)return void console.error("Operation not found",{meta:a,document:e});if(l){let e=xSt(a.path,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),t=xSt(u,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e);if(e.length>0||t.length>0){let e=p.parameters??[];p.parameters=qPt(u,a.path,e,EE)}}let{generateId:h}=YCt(d.name),m=jEt(d).get(`${a.path}|${a.method}`);m&&T$t({store:t,operation:p,generateId:h,method:c,path:u,entries:m}),e.paths||={},e.paths[u]||(e.paths[u]={}),MY(u),MY(a.path),MY(c),sK(e.paths[u],c,hC(p)),nK(a.method)&&(lK(e.paths[a.path],a.method),uK(e.paths[a.path])&&delete e.paths[a.path]),t.history.clearOperationHistory(e["x-scalar-navigation"]?.name??"",a.path,a.method),i("success",o)},M$t=(e,{meta:t,documentName:a})=>{let r=e?.workspace.documents[a];eK(r)&&(MY(t.path),MY(t.method),lK(r.paths?.[t.path],t.method),uK(r.paths?.[t.path])&&delete r.paths?.[t.path])},$$t=(e,{meta:{path:t,method:a},documentName:r,exampleName:n})=>{let o=e?.workspace.documents[r];if(!eK(o))return void console.error("Document not found",{documentName:r});let i=EE(iK(o.paths?.[t],a));if(!i)return void console.error("Operation not found",{path:t,method:a});i["x-draft-examples"]??=[];let s=new Set(i["x-draft-examples"]);s.add(n),i["x-draft-examples"]=Array.from(s)},N$t=(e,{meta:{path:t,method:a,exampleKey:r},documentName:n})=>{let o=e?.workspace.documents[n];if(!eK(o))return;let i=EE(iK(o.paths?.[t],a));if(!i)return;let s=new Set(i["x-draft-examples"]??[]);s.delete(r),void 0!==i["x-draft-examples"]&&(i["x-draft-examples"]=Array.from(s)),i.parameters?.forEach(e=>{let t=EE(e);"content"in t&&t.content&&Object.values(t.content).forEach(e=>{delete e.examples?.[r]}),"examples"in t&&t.examples&&delete t.examples?.[r]});let l=EE(i.requestBody);l&&Object.values(l.content??{}).forEach(e=>{delete e.examples?.[r]})},I$t=(e,{meta:{path:t,method:a,exampleKey:r},documentName:n,payload:o})=>{let i=e?.workspace.documents[n];if(!eK(i))return;let s=EE(iK(i.paths?.[t],a));if(!s)return;let l=o.name.trim();if(!l||l===r)return;MY(l);let c=[];s.parameters?.forEach(e=>{let t=EE(e);"examples"in t&&t.examples&&c.push(t.examples),"content"in t&&t.content&&Object.values(t.content).forEach(e=>{e.examples&&c.push(e.examples)})});let u=EE(s.requestBody);u&&(Object.values(u.content??{}).forEach(e=>{e.examples&&c.push(e.examples)}),u["x-scalar-selected-content-type"]&&c.push(u["x-scalar-selected-content-type"])),!s["x-draft-examples"]?.includes(l)&&!c.some(e=>Object.hasOwn(e,l))&&(s["x-draft-examples"]&&=s["x-draft-examples"].map(e=>e===r?l:e),c.forEach(e=>{Object.hasOwn(e,r)&&(e[l]=hC(e[r]),delete e[r])}))}}),LNt=V(()=>{iJ(),jE(),bC(),rJ(),R$t=e=>{if(!e||"object"!=typeof e)return[];if("$ref"in e){let t=[],a=e;void 0!==a.parameters&&t.push(a);let r=EE(e);return r&&t.push(r),t}return[e]},D$t=(e,{meta:t,type:a,payload:r,originalParameter:n})=>{if(n){let e=n;e.name=r.name,e.examples||={},e.examples[t.exampleKey]||(e.examples[t.exampleKey]={});let a=EE(e.examples[t.exampleKey]);return a.value=r.value,void(a["x-disabled"]=r.isDisabled)}if(!eK(e))return;let o=EE(iK(e.paths?.[t.path],t.method));o?(o.parameters||=[],o.parameters.push({name:r.name,in:a,required:"path"===a,examples:{[t.exampleKey]:{value:r.value,"x-disabled":!1}}})):console.error("Operation not found",{meta:t,document:e})},L$t=(e,{type:t,meta:a,payload:r,in:n})=>{if(!eK(e))return;let o=EE(iK(e.paths?.[a.path],a.method));if(!o)return;o["x-scalar-disable-parameters"]||={};let i={global:{cookie:"global-cookies"},default:{header:"default-headers"}}[t]?.[n];i&&(o["x-scalar-disable-parameters"][i]||(o["x-scalar-disable-parameters"][i]={}),o["x-scalar-disable-parameters"][i][a.exampleKey]={...o["x-scalar-disable-parameters"][i][a.exampleKey]??{},[a.name]:r.isDisabled??!1})},B$t=(e,{meta:t,originalParameter:a})=>{if(!eK(e))return;let r=EE(iK(e.paths?.[t.path],t.method)),n=r?.parameters?.findIndex(e=>EE(e)===a)??-1;if(r&&n>=0)r.parameters=hC(r.parameters?.filter((e,t)=>t!==n),{depth:1});else for(let r of R$t(e.paths?.[t.path])){let e=r.parameters?.findIndex(e=>EE(e)===a)??-1;if(e>=0)return void(r.parameters=hC(r.parameters?.filter((t,a)=>a!==e),{depth:1}))}},j$t=(e,{meta:t,type:a})=>{if(!eK(e))return;let r=EE(iK(e.paths?.[t.path],t.method));r&&(r.parameters=r.parameters?.filter(e=>EE(e).in!==a)??[])}}),BNt=V(()=>{CNt(),PNt(),INt(),DNt(),LNt(),U$t=({document:e,store:t})=>({createOperation:e=>E$t(t,e),updateOperationMeta:a=>C$t(t,e,a),updateOperationPathMethod:a=>P$t(e,t,a),deleteOperation:e=>M$t(t,e),createOperationDraftExample:e=>$$t(t,e),deleteOperationExample:e=>N$t(t,e),renameOperationExample:e=>I$t(t,e),updateOperationExtension:t=>c$t(e,t),updateOperationExtraParameters:t=>L$t(e,t),upsertOperationParameter:t=>D$t(e,t),deleteOperationParameter:t=>B$t(e,t),deleteAllOperationParameters:t=>j$t(e,t),updateOperationRequestBodyContentType:t=>i$t(e,t),updateOperationRequestBodyExample:t=>s$t(e,t),updateOperationRequestBodyFormValue:t=>l$t(e,t),addResponseToHistory:a=>A$t(t,e,a),reloadOperationHistory:a=>_$t(t,e,a)})}),jNt=V(()=>{wSt(),iJ(),jE(),bC(),rJ(),Zq(),cW(),z$t=(e,t)=>eK(e)?"document"===t.type?e:EE(iK(e.paths?.[t.path],t.method))??null:null,H$t=(e,{meta:t})=>{let a=z$t(e,t);if(a)return a.servers=[],a.servers;console.error("Target not found",t)},Z$t=(e,{url:t,select:a,meta:r})=>{let n=z$t(e,r);if(!n)return void console.error("Target not found",r);let o=xz(LQ,{url:t});return n.servers||=[],n.servers.push(o),a&&(n["x-scalar-selected-server"]=o.url),o},V$t=(e,t)=>{let a={};for(let r of t){let t=e.indexOf(`{${r}}`);-1!==t&&(a[r]=t)}return a},Q$t=(e,t,a)=>{let r=xSt(t,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),n=xSt(e,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),o=V$t(t,r),i=V$t(e,n),s=new Set,l={};for(let e of n){if(a[e]){l[e]=a[e],s.add(e);continue}let t=i[e],n=r.find(e=>o[e]===t&&!s.has(e));n&&a[n]?(l[e]=a[n],s.add(n)):l[e]={default:""}}return l},q$t=(e,{index:t,server:a,meta:r})=>{let n=z$t(e,r);if(!n)return;let o=hC(n.servers?.[t],{depth:1});if(!o)return void console.error("Server not found at index:",t);let i=o.url,s=xz(LQ,{...o,...a});if(i&&i!==s.url){let e=s.variables??{};s.variables=Q$t(s.url,i,e),n["x-scalar-selected-server"]===i&&(n["x-scalar-selected-server"]=s.url)}return n.servers?n.servers[t]=s:n.servers=[s],s},F$t=(e,{index:t,meta:a})=>{let r=z$t(e,a);if(!r?.servers)return;let n=r.servers[t]?.url;r.servers.splice(t,1),r["x-scalar-selected-server"]===n&&(r["x-scalar-selected-server"]=r.servers[0]?.url??void 0)},W$t=(e,{meta:t})=>{let a=z$t(e,t);a&&(a.servers=void 0,a["x-scalar-selected-server"]=void 0)},X$t=(e,{index:t,key:a,value:r,meta:n})=>{let o=z$t(e,n)?.servers?.[t]?.variables?.[a];if(o)return o.default=r,o;console.error("Variable not found",a,t)},G$t=(e,{url:t,meta:a})=>{let r=z$t(e,a);if(r)return""===t?(r["x-scalar-selected-server"]="",""):(r["x-scalar-selected-server"]=r["x-scalar-selected-server"]===t?"":t,r["x-scalar-selected-server"])},Y$t=(e,{name:t})=>{if(tK(e))return e["x-scalar-selected-server"]=t,e["x-scalar-selected-server"]},K$t=(e,{name:t,key:a,value:r})=>{if(!tK(e))return;let n=EE(e.servers?.[t]),o=n?.variables?.[a]?EE(n.variables[a]):void 0;if(o)return o.default=r,o;console.error("Variable not found",a,t)},J$t=({document:e})=>({initializeServers:t=>H$t(e,t),addServer:t=>Z$t(e,t),updateServer:t=>q$t(e,t),deleteServer:t=>F$t(e,t),clearServers:t=>W$t(e,t),updateServerVariables:t=>X$t(e,t),updateSelectedServer:t=>G$t(e,t),updateSelectedAsyncApiServer:t=>Y$t(e,t),updateAsyncApiServerVariables:t=>K$t(e,t)})}),UNt=V(()=>{bC(),eNt=e=>null!==e&&void 0!==e["x-scalar-tabs"],tNt=e=>hC(e["x-scalar-tabs"],{depth:1}),aNt=e=>e["x-scalar-active-tab"]??0,rNt=(e,t)=>{e&&(t["x-scalar-tabs"]&&(e["x-scalar-tabs"]=t["x-scalar-tabs"]),void 0!==t["x-scalar-active-tab"]&&(e["x-scalar-active-tab"]=t["x-scalar-active-tab"]))},nNt=(e,t)=>{if(!eNt(e))return!1;let a=tNt(e),r=a[aNt(e)];if(!r)return!1;let n=[...a,{...r}];return e["x-scalar-tabs"]=n,e["x-scalar-active-tab"]=n.length-1,!0},oNt=(e,t)=>{if(!eNt(e))return!1;let a="event"in t?t.event.code.startsWith("Digit")?Number.parseInt(t.event.key,10)-1:NaN:t.index,r=aNt(e),n=tNt(e).filter((e,t)=>t!==a);return!(n.length<=0)&&(e["x-scalar-tabs"]=n,e["x-scalar-active-tab"]=a<r?r-1:Math.min(r,n.length-1),!0)},iNt=(e,t)=>{if(!eNt(e))return!1;let a=tNt(e);return!(a.length<=1)&&(e["x-scalar-tabs"]=a.filter((e,a)=>a===t.index),e["x-scalar-active-tab"]=0,!0)},sNt=(e,t)=>{if(!eNt(e))return!1;let a=aNt(e);return!(a<=0)&&(e["x-scalar-active-tab"]=a-1,!0)},lNt=(e,t)=>{if(!eNt(e))return!1;let a=tNt(e),r=aNt(e);return!(r>=a.length-1)&&(e["x-scalar-active-tab"]=r+1,!0)},cNt=(e,t)=>{if(!eNt(e))return!1;let a=tNt(e),r="event"in t?t.event.code.startsWith("Digit")?Number.parseInt(t.event.key,10)-1:NaN:t.index;return!(Number.isNaN(r)||r<0||r>=a.length)&&(e["x-scalar-active-tab"]=r,!0)},uNt=(e,t)=>{if(!eNt(e))return!1;let a=tNt(e);return!(a.length<=1)&&(e["x-scalar-active-tab"]=a.length-1,!0)},dNt=({workspace:e})=>({updateTabs:t=>rNt(e,t),addTab:t=>nNt(e),closeTab:t=>oNt(e,t),closeOtherTabs:t=>iNt(e,t),navigatePreviousTab:t=>sNt(e),navigateNextTab:t=>lNt(e),focusTab:t=>cNt(e,t),focusLastTab:t=>uNt(e)})}),zNt=V(()=>{iJ(),jE(),bC(),tPt(),WCt(),RNt(),rJ(),pNt=(e,t)=>{let a=e?.workspace.documents[t.documentName];eK(a)?(a.tags||=[],a.tags.push({name:t.name})):console.error("Document not found",{payload:t,store:e})},hNt=(e,t)=>{let a=e?.workspace.documents[t.documentName];if(!e||!eK(a))return void console.error("Document not found",{payload:t,store:e});let r=a["x-scalar-navigation"];if(!r)return void console.error("Document navigation missing",{payload:t,store:e});let n=t.tag.name,o=t.newName;a.tags?.length&&(a.tags=a.tags.map(e=>{let t=hC(e);return t.name===n?{...t,name:o}:t})),t.tag.children?.forEach(e=>{if("operation"===e.type){let t=EE(iK(a.paths?.[e.path],e.method));t&&"tags"in t&&(t.tags=hC(t.tags,{depth:null})?.map(e=>e===n?o:e))}else if("webhook"===e.type){let t=EE(iK(a.webhooks?.[e.name],e.method));t&&"tags"in t&&(t.tags=hC(t.tags,{depth:null})?.map(e=>e===n?o:e))}}),a["x-tagGroups"]&&=hC(a["x-tagGroups"],{depth:null}).map(e=>({...e,tags:e.tags.map(e=>e===n?o:e)}));let{generateId:i}=YCt(r.name),s=UEt(r).get(n);s&&T$t({store:e,tag:{name:o},generateId:i,entries:s})},mNt=(e,t)=>{let a=e?.workspace.documents[t.documentName];eK(a)&&(Object.values(a.paths??{}).forEach(e=>{cK(e,(e,a)=>{let r=EE(a);"tags"in r&&(r.tags=hC(r.tags,{depth:1})?.filter(e=>e!==t.name))})}),Object.values(a.webhooks??{}).forEach(e=>{cK(e,(e,a)=>{let r=EE(a);r.tags=hC(r.tags,{depth:1})?.filter(e=>e!==t.name)})}),a.tags=hC(a.tags,{depth:null})?.filter(e=>e.name!==t.name))},fNt=({store:e})=>({createTag:t=>pNt(e,t),editTag:t=>hNt(e,t),deleteTag:t=>mNt(e,t)})}),HNt=V(()=>{gNt=(e,t)=>{e&&(e["x-scalar-active-proxy"]=t)},vNt=(e,t)=>{e&&(e["x-scalar-color-mode"]=t)},bNt=(e,t)=>{e&&(e["x-scalar-theme"]=t)},yNt=(e,t)=>{e&&(e["x-scalar-active-environment"]=t??void 0)},ONt=(e,t)=>{e&&(e["x-scalar-default-client"]=t)},xNt=({workspace:e})=>({updateActiveProxy:t=>gNt(e,t),updateColorMode:t=>vNt(e,t),updateTheme:t=>bNt(e,t),updateSelectedClient:t=>ONt(e,t),updateActiveEnvironment:t=>yNt(e,t)})});function ZNt(e){let t=t=>({auth:HMt({store:e,document:t}),cookie:QMt({collection:t}),document:KMt({document:t,store:e}),operation:U$t({document:t,store:e}),server:J$t({document:t}),tag:fNt({store:e}),environment:r$t({workspace:e?.workspace??null,collection:t})});return{workspace:()=>({cookie:QMt({collection:e?.workspace??null}),tabs:dNt({workspace:e?.workspace??null}),workspace:xNt({workspace:e?.workspace??null}),environment:r$t({workspace:e?.workspace??null,collection:e?.workspace??null})}),active:()=>t(e?.workspace.activeDocument??null),doc:a=>t(n$t(e,a))}}var VNt=V(()=>{SNt(),ANt(),_Nt(),TNt(),ENt(),BNt(),jNt(),UNt(),zNt(),HNt()});function QNt(e){if("url"in e)return FAt({fetch:e.fetch}).exec(e.url);if("path"in e){let t=e.fileLoader;return t?t.exec(e.path):(console.error("No loader provided for loading files"),Promise.resolve({ok:!1}))}return Promise.resolve({ok:!0,data:e.document,raw:JSON.stringify(e.document)})}var qNt,FNt,WNt,XNt,GNt,YNt,KNt,JNt=V(()=>{o2e(),UE(),GK(),x8e(),TSt(),UAt(),o_t(),d_t(),sC(),HEt(),zCt(),Hq(),J(),Rc(),Ect(),Iat(),ZCt(),mJ(),lC(),Nat(),VCt(),fJ(),vC(),bC(),yMt(),kMt(),Vq(),rJ(),SMt(),AMt(),cW(),qNt=e=>"url"in e?e.url:"path"in e?e.path:void 0,FNt=rMt(sMt),WNt=new Set(["x-scalar-is-dirty","x-scalar-registry-meta"]),XNt=e=>{let t=wK(e);for(let e of["x-ext","x-ext-urls","x-scalar-navigation","x-scalar-is-dirty","x-original-oas-version","x-scalar-original-document-hash","x-scalar-original-source-url","x-scalar-registry-meta"])delete t[e];return t},GNt=e=>{let{verbose:t=!1}=e??{},a=(e,a)=>t?kSt(e,a):a(),r=(e,a)=>t?SSt(e,a):a(),n={},o=t=>{e?.plugins?.forEach(e=>e.hooks?.onWorkspaceStateChanges?.(t))},i=Ma(rC({...e?.meta,documents:{},get activeDocument(){return i.documents[h()]}},{hooks:{onAfterChange(e){let t=e[0];if("documents"===t){if(e.length<2)return void console.log("[WARN]: Overriding entire documents object is not supported");let t=e[1],a=i.documents[t]??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""},r={type:"documents",documentName:t,value:hC(a),path:e.slice(2)};return r.path.length>0&&!WNt.has(r.path[0])&&(a["x-scalar-is-dirty"]=!0),void o(r)}if("activeDocument"===t){let t=h(),a=i.documents[t]??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""},r={type:"documents",documentName:t,value:hC(a),path:e.slice(2)};return r.path.length>0&&!WNt.has(r.path[0])&&(a["x-scalar-is-dirty"]=!0),void o(r)}let{activeDocument:a,documents:r,...n}=i;o({type:"meta",value:hC(n,{depth:1})})}}})),{originalDocuments:s,intermediateDocuments:l,overrides:c}=rC({originalDocuments:{},intermediateDocuments:{},overrides:{}},{hooks:{onAfterChange(e){let t=e[0];if(!t||e.length<2)return;let a=e[1];"originalDocuments"===t&&o({type:t,documentName:a,value:hC(s[a]??{}),path:e.splice(2)}),"intermediateDocuments"===t&&o({type:t,documentName:a,value:hC(l[a]??{}),path:e.splice(2)}),"overrides"===t&&o({type:t,documentName:a,value:hC(c[a]??{})})}}}),u=IEt({hooks:{onHistoryChange:e=>{o({type:"history",documentName:e,value:u.export()[e]??{}})}}}),p=qtt({hooks:{onAuthChange:e=>{o({type:"auth",documentName:e,value:p.export()[e]??{secrets:{},selected:{document:{selectedIndex:0,selectedSchemes:[]},path:{}}}})}}});function h(){return i[wz.workspace.activeDocument]??Object.keys(i.documents)[0]??""}function m(e,t,a){let r=s[e];if(r)return"json"===t?a?JSON.stringify(r):JSON.stringify(r,null,2):kct.stringify(r)}async function f(t,o){let{name:u}=t,p=wK(t.meta),h=a("deepClone",()=>wK(t.document));a("initialize",()=>{!1!==t.initialize&&(s[u]=wK(h),l[u]=wK(h),c[u]=t.overrides??{},n[u]={fetch:t.fetch})});let m=[FAt({fetch:n[u]?.fetch??e?.fetch})];if(e?.fileLoader&&m.push(e.fileLoader),tK(h)){let e=JE({...h,...p,"x-original-aas-version":h.asyncapi,"x-scalar-original-document-hash":t.documentHash,"x-scalar-original-source-url":t.documentSource});await r("bundle",async()=>await NAt(WE(e),{treeShake:!1,plugins:m,urlMap:!0,origin:t.documentSource}));let n=a("coerceValue",()=>d(TEt,wK(WE(e))));if(a("mergeObjects",()=>kK(e,n)),void 0===e[wz.document.navigation]){let t=NPt(u,e,o);e[wz.document.navigation]=t}return void(i.documents[u]=dC(e,{overrides:hC(c[u])}))}let f=JE({...a("upgrade",()=>Q_t(wK(h),"3.1")),...p,"x-original-oas-version":s[u]?.openapi??s[u]?.swagger,"x-scalar-original-document-hash":t.documentHash,"x-scalar-original-source-url":t.documentSource},{showInternal:!0});if(void 0===f[wz.document.navigation]){await r("bundle",async()=>await NAt(WE(f),{treeShake:!1,plugins:[...m,JPt(),XPt(),GPt(),KPt(),eMt()],urlMap:!0,origin:t.documentSource}));let e=a("coerceValue",()=>d(FNt,wK(f)));a("mergeObjects",()=>kK(f,e))}if(!Qj(IQ,f)){let e=Array.from(Jj(IQ,f));console.warn("document validation errors: "),console.warn(e.map(e=>({message:e.message,path:e.path,schema:e.schema,value:e.value})))}if(void 0===f[wz.document.navigation]){let e=VPt(u,f,o);f[wz.document.navigation]=e}i.documents[u]=dC(JE(WE(f)),{overrides:hC(c[u])})}async function g(t,a){let{name:n,meta:o}=t,s=REt({fetch:t.fetch??e?.fetch,proxyUrl:i["x-scalar-active-proxy"]??void 0}),l=await r("loadDocument",async()=>await QNt({...t,fetch:s,fileLoader:e?.fileLoader}));return await r("addDocument",async()=>l.ok?CE(l.data)?(await f({...t,document:l.data,documentSource:qNt(t),documentHash:b2e(l.raw)},a),!0):(console.error(`Failed to load document '${n}': response data is not a valid object`),i.documents[n]={...o,openapi:"3.1.0",info:{title:`Document '${n}' could not be loaded`,version:"unknown"},"x-scalar-original-document-hash":"not-a-hash"},!1):(console.error(`Failed to fetch document '${n}': request was not successful`),i.documents[n]={...o,openapi:"3.1.0",info:{title:`Document '${n}' could not be loaded`,version:"unknown"},"x-scalar-original-document-hash":"not-a-hash"},!1))}let v=async e=>{let t=hC(i.documents[e],{depth:1});return t?XNt(await NAt(wK(t),{plugins:[YPt(),aMt()],treeShake:!1,urlMap:!0})):null},b=new Set;return{get workspace(){return i},get history(){return u},get auth(){return p},update(e,t){MY(e),Object.assign(i,{[e]:t})},getEditableDocument:v,getOriginalDocument:e=>hC(s[e],{depth:1})||null,getIntermediateDocument:e=>hC(l[e],{depth:1})||null,updateDocument(e,t,a){let r=i.documents["active"===e?h():e];return!!r&&(MY(t),Object.assign(r,{[t]:a}),!0)},async replaceDocument(e,t){let a=hC(i.documents[e],{depth:1});if(!a)return console.error(`Document '${e}' does not exist in the workspace.`);await f({name:e,document:t,documentSource:a["x-scalar-original-source-url"],documentHash:a["x-scalar-original-document-hash"],meta:{"x-scalar-registry-meta":a["x-scalar-registry-meta"],"x-scalar-is-dirty":!0,"x-scalar-navigation":void 0},initialize:!1})},resolve:e=>{let t=i.activeDocument,a=F1e(t,e);return CE(a)?NAt(a,{root:t,treeShake:!1,plugins:[FAt(),WPt(),XPt()],urlMap:!0,visitedNodes:b}):(console.error(`Invalid path provided for resolution. Path: [${e.join(", ")}]. Found value of type: ${typeof a}. Expected an object.`),Promise.resolve())},addDocument:g,deleteDocument:e=>{if(!i.documents[e])return;delete i.documents[e],delete s[e],delete l[e],delete c[e],delete n[e],u.clearDocumentHistory(e),p.clearDocumentAuth(e);let t=Object.keys(i.documents);i["x-scalar-active-document"]===e&&(i["x-scalar-active-document"]=t[0]??void 0),o({type:"deleteDocument",documentName:e})},exportDocument:m,exportActiveDocument:(e,t)=>m(h(),e,t),buildSidebar:e=>{let t=i.documents[e];if(!t)return console.error(`Document '${e}' does not exist in the workspace.`),!1;if(!eK(t))return!1;let a=VPt(e,t);return t[wz.document.navigation]=a,!0},saveDocument:async e=>{let t=i.documents[e],a=await v(e);return t&&a?(s[e]=a,l[e]=wK(a),t["x-scalar-is-dirty"]=!1,!0):(console.warn("Failed to save document, active document is missing"),!1)},promoteIntermediateToOriginal:e=>!!l[e],async revertDocumentChanges(e){let t=hC(i.documents[e],{depth:1}),a=hC(s[e],{depth:1});!t||!a||(l[e]=wK(a),await f({name:e,document:a,documentSource:t["x-scalar-original-source-url"],documentHash:t["x-scalar-original-document-hash"],initialize:!1,meta:{"x-scalar-registry-meta":t["x-scalar-registry-meta"]}}))},commitDocument(e){console.warn(`Commit operation for document '${e}' is not implemented yet.`)},exportWorkspace(){let{activeDocument:e,documents:t,...a}=hC(i);return{documents:{...Object.fromEntries(Object.entries(t).map(([e,t])=>[e,hC(t)]))},meta:hC(a)??{},originalDocuments:hC(s),intermediateDocuments:hC(l),overrides:hC(c),history:u.export(),auth:p.export()}},loadWorkspace(e){Qtt(i.documents,Object.fromEntries(Object.entries(e.documents).map(([t,a])=>[t,dC(JE(a),{overrides:e.overrides[t]})]))),Qtt(s,e.originalDocuments),Qtt(l,e.intermediateDocuments),Qtt(c,e.overrides),Qtt(i,e.meta),u.load(e.history),p.load(e.auth)},importWorkspaceFromSpecification:e=>{let{documents:t,overrides:a,info:r,workspace:n,...o}=e;return Qtt(i,o),Promise.all(Object.entries(t??{}).map(([e,t])=>g({url:t.$ref,name:e,overrides:a?.[e]})))},rebaseDocument:async t=>{let{name:a}=t,o=hC(s[a],{depth:1}),u=hC(i.documents[a],{depth:1}),d=await v(a);if(!o||!d||!u)return{ok:!1,type:"CORRUPTED_STATE",message:`Cannot rebase document '${a}': missing original or active document state`};let p=await r("loadDocument",async()=>await QNt({...t,fetch:t.fetch??e?.fetch,fileLoader:e?.fileLoader}));if(!p.ok||!CE(p.data))return{ok:!1,type:"FETCH_FAILED",message:`Failed to fetch document '${a}': request was not successful or returned invalid data`};let h=b2e(p.raw);if(u["x-scalar-original-document-hash"]===h)return{ok:!1,type:"NO_CHANGES_DETECTED",message:`No changes detected for document '${a}': document hash matches the active document`};let m=p.data;c[a]=t.overrides??{},n[a]={fetch:t.fetch};let g=YAt(o,m);if(0===g.length)return{ok:!1,type:"NO_CHANGES_DETECTED",message:`No changes detected for document '${a}' after fetching the latest version.`};let b=r_t(g,YAt(o,d));return{ok:!0,conflicts:b.conflicts,changes:b.diffs,applyChanges:async e=>{let r=(()=>{if("resolvedConflicts"in e){let t=b.diffs.concat(e.resolvedConflicts);return GAt(wK(o),t)}return e.resolvedDocument})(),n=YAt(m,r).length>0;s[a]=r,l[a]=wK(r),await f({...t,document:{...r,[wz.document.navigation]:void 0},documentSource:qNt(t),documentHash:b2e(p.raw),initialize:!1,meta:{...t.meta,"x-scalar-registry-meta":u["x-scalar-registry-meta"],"x-scalar-is-dirty":n}})}}}}}}),eIt=V(()=>{YNt=(e={})=>{let{delay:t=328,maxWait:a}=e,r=new Map,n=new Map,o=new Map,i=e=>{let t=o.get(e),a=r.get(e);void 0!==a&&(clearTimeout(a),r.delete(e));let i=n.get(e);if(void 0!==i&&(clearTimeout(i),n.delete(e)),o.delete(e),void 0!==t)try{t()}catch{}};return{execute:(e,s)=>{o.set(e,s);let l=r.get(e);void 0!==l&&clearTimeout(l),r.set(e,setTimeout(()=>i(e),t)),void 0!==a&&!n.has(e)&&n.set(e,setTimeout(()=>i(e),a))},cleanup:()=>{r.forEach(clearTimeout),n.forEach(clearTimeout),r.clear(),n.clear(),o.clear()},flush:e=>{o.has(e)&&i(e)},flushAll:()=>{let e=[...o.keys()];for(let t of e)i(t)}}}}),tIt=V(()=>{eIt(),bC(),KNt=(e={})=>{let{debug:t=!1}=e,a=new Map,r=new Set,n=[],o=null,{execute:i,flushAll:s}=YNt({delay:328}),l=e=>{let t=a.get(e)??new Set;return a.set(e,t),t},c=()=>{if(0!==n.length){if(t)if(1===n.length){let e=n[0];e&&console.log(`[EventBus] ${e.message}`,...e.args)}else{console.groupCollapsed(`[EventBus] ${n.length} operations`);for(let{message:e,args:t}of n)console.log(e,...t);console.groupEnd()}n.length=0,o=null}},u=(e,...a)=>{t&&(n.push({message:e,args:a}),o&&clearTimeout(o),o=setTimeout(c,500))},d=(e,t)=>{let a=l(e);return a.add(t),u(`Added listener for "${String(e)}" (${a.size} total)`),()=>p(e,t)},p=(e,t)=>{let r=a.get(e);r&&(r.delete(t),u(`Removed listener for "${String(e)}" (${r.size} remaining)`),0===r.size&&a.delete(e))},h=e=>{r.delete(e),u(`Removed wildcard listener (${r.size} remaining)`)},m=(e,t,n)=>{let o=n?.skipUnpackProxy?t:hC(t,{depth:5}),i=a.get(e),s=void 0!==i&&i.size>0;if(s||0!==r.size){if(s&&i){u(`Emitting "${String(e)}" to ${i.size} listener(s)`,t);let a=Array.from(i);for(let r of a)try{r(o)}catch(t){console.error(`[EventBus] Error in listener for "${String(e)}":`,t)}}if(r.size>0){u(`Emitting "${String(e)}" to ${r.size} wildcard listener(s)`,t);let a={event:e,payload:o},n=Array.from(r);for(let r of n)try{r(a)}catch(t){console.error(`[EventBus] Error in wildcard listener for "${String(e)}":`,t)}}}else u(`🛑 No listeners for "${String(e)}"`)};return{on:d,once:(e,t)=>{let a=r=>{p(e,a),t(r)};return d(e,a)},off:p,onAny:e=>(r.add(e),u(`Added wildcard listener (${r.size} total)`),()=>h(e)),offAny:h,emit:(...e)=>{let[t,a,r]=e;r?.debounceKey?i(`${t}-${r.debounceKey}`,()=>m(t,a,r)):m(t,a,r)},flushDebouncedEmits:()=>{s()}}}}),aIt=V(()=>{tIt()});aIt(),JNt();var rIt={Date:!0,RegExp:!0,String:!0,Number:!0};function nIt(e,t,a={cyclesFix:!0},r=[]){let n=[],o=Array.isArray(e);for(let i in e){let s=e[i],l=o?+i:i;if(!(i in t)){n.push({type:"REMOVE",path:[l],oldValue:e[i]});continue}let c=t[i],u="object"==typeof s&&"object"==typeof c&&Array.isArray(s)===Array.isArray(c);!(s&&c&&u)||rIt[Object.getPrototypeOf(s)?.constructor?.name]||a.cyclesFix&&r.includes(s)?s!==c&&(!Number.isNaN(s)||!Number.isNaN(c))&&(!u||(isNaN(s)?s+""!=c+"":+s!=+c))&&n.push({path:[l],type:"CHANGE",value:c,oldValue:s}):n.push.apply(n,nIt(s,c,a,a.cyclesFix?r.concat([s]):[]).map(e=>(e.path.unshift(l),e)))}let i=Array.isArray(t);for(let a in t)a in e||n.push({type:"CREATE",path:[i?+a:a],value:t[a]});return n}MK(),Rc();var oIt=Symbol(),iIt=Za(null);function sIt(){let e=hn(oIt,void 0);return ol(()=>e??iIt.value??void 0)}Rc(),ZS();var lIt=Pn({__name:"AgentScalarButton",setup(e){let t=sIt();return(e,a)=>(Zo(),qo("button",{class:"bg-sidebar-b-search text-sidebar-c-2 hover:text-sidebar-c-1 flex items-center gap-1.5 rounded border px-2 text-base whitespace-nowrap",type:"button",onClick:a[0]||=e=>Fa(t)?.toggleAgent()},[qs(Fa(XO)),a[1]||=ei(" Ask AI ",-1)]))}});function cIt(e,t){return{code:e,detail:t}}var uIt,dIt=V(()=>{}),pIt=V(()=>{J(),uIt=x({id:h(),title:h(),namespace:h(),currentVersion:h(),logoUrl:w([h(),f()]),slug:h()})});function hIt(e,t){let a=e=>({success:!1,error:t?.(e)??null});return(...t)=>{try{let r=e(...t);return r instanceof Promise?r.catch(a):r}catch(e){return a(e)}}}function mIt(e,t){let a=e=>({success:!1,error:t?.(e)??null}),r=e=>({success:!0,data:e});try{let t=e();return t instanceof Promise?t.then(r).catch(a):r(t)}catch(e){return a(e)}}function fIt(e){let t=!0,a=[],r=[];for(let n of e)n.success?r.push(n.data):(t=!1,a.push(n.error));return t?{success:!0,data:r}:{success:!1,error:a}}var gIt,vIt=V(()=>{gIt={safeFn:hIt,fromUnsafe:mIt,resultsToResult:fIt}});function bIt({getAccessToken:e,getAgentKey:t}){let a=e?.(),r=t?.();return{...a&&{Authorization:`Bearer ${a}`},...r&&{"x-scalar-agent-key":r}}}function yIt({baseUrl:e,getAccessToken:t,getAgentKey:a}){let r=x({message:h(),code:h()}),n=gIt.safeFn(async({path:n,method:i="get",query:s,body:l,responseSchema:c})=>{let u=`${e}${n}${s?`?${new URLSearchParams(s)}`:""}`,p=await gIt.fromUnsafe(async()=>fetch(u,{method:i,...l&&{body:JSON.stringify(l)},headers:{...bIt({getAccessToken:t,getAgentKey:a})}}),e=>cIt("FAILED_TO_FETCH",e));if(!p.success)return p;let h=await gIt.fromUnsafe(async()=>p.data.json(),e=>cIt("FAILED_TO_FETCH_DATA",e));if(!h.success)return{success:!1,error:cIt("UNKNOWN_ERROR","Unknown error occurred. Please contact support.")};if(!p.data.ok){if(!o(r,h.data))return{success:!1,error:cIt("UNKNOWN_ERROR","Unknown error occurred. Please contact support.")};let e=d(r,h.data);return{success:!1,error:cIt(e.code,e.message)}}return o(c,h.data)?{success:!0,data:d(c,h.data)}:{success:!1,error:cIt("INVALID_RESPONSE","Invalid response. Please contact support")}});return{search:async e=>n({path:"/vector/registry/search",query:{query:e},responseSchema:x({results:y(uIt)})}),getDocument:async e=>n({path:`/vector/registry/document/${e.namespace}/${e.slug}`,responseSchema:uIt}),getKeyDocuments:async()=>n({path:"/vector/registry/documents",responseSchema:x({documents:y(uIt)})}),getCuratedDocuments:async()=>n({path:"/vector/registry/curated",responseSchema:x({results:y(uIt)})})}}var OIt=V(()=>{dIt(),pIt(),J(),vIt()});function xIt(e,t){return`${e}/${t}`}var wIt,kIt,SIt,AIt,_It,TIt,EIt,CIt,PIt,MIt,$It,NIt,IIt,RIt,DIt,LIt,BIt,jIt,UIt,zIt,HIt,ZIt,VIt,QIt,qIt,FIt,WIt,XIt,GIt,YIt,KIt,JIt,eRt,tRt,aRt,rRt,nRt,oRt,iRt,sRt,lRt,cRt,uRt,dRt,pRt,hRt,mRt,fRt,gRt,vRt,bRt,yRt,ORt,xRt,wRt,kRt,SRt,ARt,_Rt,TRt,ERt,CRt,PRt,MRt,$Rt,NRt,IRt,RRt,DRt,LRt,BRt,jRt,URt,zRt,HRt,ZRt,VRt,QRt,qRt,FRt,WRt,XRt,GRt,YRt,KRt,JRt,eDt,tDt,aDt,rDt,nDt,oDt,iDt,sDt,lDt,cDt,uDt,dDt,pDt,hDt,mDt,fDt,gDt,vDt,bDt,yDt,ODt,xDt,wDt,kDt,SDt,ADt=V(()=>{}),_Dt=V(()=>{J(),wIt="execute-request",x({method:h(),path:h(),headers:S(O(h(),h())),body:S(h()),documentName:h(),documentIdentifier:h({typeComment:"Needed for legacy support for old clients"})})}),TDt=V(()=>{kIt=e=>{let t=SIt(e,0);if(void 0===t||!_It(e[t]))return;let a=SIt(e,t+1);return void 0!==a?TIt(e,t,a):void 0},SIt=(e,t)=>{for(let a=t;a<e.length;a+=1){let t=e[a];if(!AIt(t))return a}},AIt=e=>" "===e||"\t"===e||"\n"===e||"\r"===e,_It=e=>"{"===e||"["===e,TIt=(e,t,a)=>{let r;for(let n=a-1;n>t;--n){let t=e[n];if("\r"===t)return;if("\n"===t)return EIt(r);if(void 0===r)r=t;else{if(r[0]!==t)return;r+=t}}},EIt=e=>void 0===e?0:" "===e[0]?e.length:e}),EDt=V(()=>{CIt=(e,t)=>{let a=PIt(e,"toPrecision",t,t);return void 0===a?PIt(e,"toExponential",t,t):a},PIt=(e,t,a,r)=>{let n=e[t](r).replace(MIt,"$1").replace($It,"$1");return n.length<=a?n:1===r?void 0:PIt(e,t,a,r-1)},MIt=/(e)\+/iu,$It=/\.?0*($|e)/iu}),CDt=V(()=>{NIt=(e,t)=>{if("string"!=typeof e)throw TypeError(`Input must be a JSON string: ${e}`);IIt(t)},IIt=e=>{if(RIt(e),e<0)throw TypeError(`"maxSize" argument must be positive: ${e}`);if(e<7)throw TypeError(`"maxSize" argument must be at least 7: ${e}`)},RIt=e=>{if(void 0===e)throw TypeError('"maxSize" argument must be defined');if(!Number.isInteger(e))throw TypeError(`"maxSize" argument must be an integer: ${e}`)}}),PDt=V(()=>{DIt=(e,t,a)=>LIt(e,t,ZIt(t,a)),LIt=(e,t,a)=>{if(a>=t)return a;let r=e[a];return r>=WIt&&r<=XIt?LIt(e,t,a+1):a},BIt=(e,t,a)=>void 0===a?a:jIt(e,ZIt(t,a)),jIt=(e,t)=>UIt(e,t)?t-3:zIt(e,t)?t-2:HIt(e,t)?t-1:t,UIt=(e,t)=>t>=3&&e[t-3]>=VIt&&e[t-3]<=QIt,zIt=(e,t)=>t>=2&&e[t-2]>=qIt,HIt=(e,t)=>t>=1&&e[t-1]>=FIt,ZIt=(e,t)=>t<0||Object.is(t,-0)?Math.max(e+t,0):t,VIt=240,QIt=244,qIt=224,FIt=194,WIt=128,XIt=191}),MDt=V(()=>{PDt(),GIt=(e,t,a)=>{let r=globalThis.Buffer.from(e),n=DIt(r,r.length,t),o=BIt(r,r.length,a);return 0===n&&o>=r.length?r.toString():r.toString("utf8",n,o)}}),$Dt=V(()=>{YIt=55296,KIt=56319,JIt=56320,eRt=57343,tRt=/[\uD800-\uDFFF]/gu}),NDt=V(()=>{$Dt(),aRt=e=>rRt(e)?e.replace(tRt,"�"):e,rRt=e=>{for(let t=0;t<e.length;t+=1){let a=e.codePointAt(t);if(a>=55296&&a<=57343)return!0}return!1}}),IDt=V(()=>{$Dt(),nRt=({input:e,targetByteCount:t,firstStartSurrogate:a,lastStartSurrogate:r,firstEndSurrogate:n,lastEndSurrogate:o,increment:i,canBacktrack:s,shift:l,charIndexInit:c})=>{let u=c,d=u,p=0;for(;p<t;u+=i){d=u;let t=e.charCodeAt(u);if(Number.isNaN(t))break;if(t<=127){p+=1;continue}if(t<=2047){p+=2;continue}if(p+=3,t<a||t>r)continue;let s=e.charCodeAt(u+i);Number.isNaN(s)||s<n||s>o||(p+=1,u+=i)}return(s&&p>t?d:u)+l}}),RDt=V(()=>{$Dt(),IDt(),oRt=(e,t,a)=>t<0||Object.is(t,-0)?sRt(e,t,a):iRt(e,t,a),iRt=(e,t,a)=>nRt({input:e,targetByteCount:t,firstStartSurrogate:YIt,lastStartSurrogate:KIt,firstEndSurrogate:JIt,lastEndSurrogate:eRt,increment:1,canBacktrack:a,shift:0,charIndexInit:0}),sRt=(e,t,a)=>nRt({input:e,targetByteCount:-t,firstStartSurrogate:JIt,lastStartSurrogate:eRt,firstEndSurrogate:YIt,lastEndSurrogate:KIt,increment:-1,canBacktrack:!a,shift:1,charIndexInit:e.length-1})}),DDt=V(()=>{NDt(),RDt(),lRt=(e,t,a)=>{let r=oRt(e,t,!1),n=cRt(e,a);return aRt(0===r&&void 0===n?e:e.slice(r,n))},cRt=(e,t)=>{if(void 0===t)return t;let a=oRt(e,t,!0);return a===e.length?void 0:a}}),LDt=V(()=>{PDt(),uRt=(e,t,a)=>{let{textEncoder:r,textDecoder:n}=dRt(),o=mRt(e),{written:i}=r.encodeInto(e,o),s=DIt(o,i,t),l=BIt(o,i,a),c=void 0===l?i:Math.min(l,i),u=o.subarray(s,c);return n.decode(u)},dRt=()=>(void 0===pRt&&(pRt=new globalThis.TextEncoder,hRt=new globalThis.TextDecoder("utf8",{fatal:!1})),{textEncoder:pRt,textDecoder:hRt}),mRt=e=>{let t=3*e.length;return t>1e5?new Uint8Array(t):((void 0===fRt||fRt.length<t)&&(fRt=new Uint8Array(t)),fRt)}}),BDt=V(()=>{gRt=(e,t)=>{if(void 0===t)return t;let a=vRt(e,t);return a>=e.length*bRt?void 0:a},vRt=(e,t)=>t<=e.length*-bRt?0:t,bRt=4}),jDt=V(()=>{yRt=(e,t,a)=>{if("string"!=typeof e)throw TypeError(`First argument must be a string: ${e}`);ORt(t),xRt(a)},ORt=e=>{if(void 0===e)throw TypeError("Second argument is required.");wRt("Second",e)},xRt=e=>{void 0!==e&&wRt("Third",e)},wRt=(e,t)=>{if(!Number.isInteger(t))throw TypeError(`${e} argument must be an integer: ${t}`)}}),UDt=V(()=>{$Dt(),kRt=e=>{let t=!0,a=0;for(let r=0;r<ARt;r+=1){let n=SRt(e,r);n<=127||(t&&=!1,n>2047&&(a+=1))}return{asciiOnly:t,longCharsPercentage:a/ARt}},SRt=(e,t)=>{let a=ARt-1,r=1-(a-t)/a,n=Math.round(r*(e.length-1));return e.charCodeAt(n)},ARt=50}),zDt=V(()=>{MDt(),DDt(),LDt(),BDt(),NDt(),jDt(),UDt(),_Rt=(e,t,a)=>{if(yRt(e,t,a),""===e)return e;let r=vRt(e,t),n=gRt(e,a);return void 0===n&&Object.is(r,0)?aRt(e):TRt(e,r,n)},TRt=(e,t,a)=>{if(e.length<=ERt)return lRt(e,t,a);let{asciiOnly:r,longCharsPercentage:n}=kRt(e);return r?PRt(e,t,a):n>=CRt?lRt(e,t,a):MRt(e,t,a)},ERt=200,CRt=.4,PRt=(e,t,a)=>"Buffer"in globalThis&&"from"in globalThis.Buffer?GIt(e,t,a):MRt(e,t,a),MRt=(e,t,a)=>"TextEncoder"in globalThis?uRt(e,t,a):lRt(e,t,a)}),HDt=V(()=>{zDt(),$Rt=(e,t)=>DRt(`${NRt(_Rt(RRt(JSON.stringify(e)),0,t-BRt.length-2*LRt.length))}${BRt}`),NRt=e=>e.replace(IRt,""),IRt=/(\\|\\u[0-9a-fA-F]{0,3})$/u,RRt=e=>e.slice(LRt.length,-LRt.length),DRt=e=>`${LRt}${e}${LRt}`,LRt='"',BRt="..."}),ZDt=V(()=>{jRt=e=>globalThis.Buffer.byteLength(e)}),VDt=V(()=>{URt=e=>{let t=e.length,a=t;for(let r=0;r<t;r+=1){let t=e.charCodeAt(r);if(t<=zRt)continue;if(t<=HRt){a+=1;continue}if(a+=2,t<ZRt||t>VRt)continue;let n=e.charCodeAt(r+1);n<QRt||n>qRt||(r+=1)}return a},zRt=127,HRt=2047,ZRt=55296,VRt=56319,QRt=56320,qRt=57343}),QDt=V(()=>{FRt=()=>WRt.bind(void 0,new TextEncoder),WRt=(e,t)=>{let a=XRt(t);return e.encodeInto(t,a).written},XRt=e=>{let t=3*e.length;return t>1e5?new Uint8Array(t):((void 0===GRt||GRt.length<t)&&(GRt=new Uint8Array(t)),GRt)}}),qDt=V(()=>{ZDt(),VDt(),QDt(),YRt=()=>"Buffer"in globalThis&&"byteLength"in globalThis.Buffer?jRt:"TextEncoder"in globalThis?KRt.bind(void 0,FRt()):URt,KRt=(e,t)=>t.length<100?URt(t):e(t),JRt=YRt()}),FDt=V(()=>{qDt(),eDt=e=>{if(null===e)return tDt;if(!0===e)return aDt;if(!1===e)return rDt;let t=typeof e;return"object"===t?nDt:"number"===t?JSON.stringify(e).length:oDt(e)},tDt=4,aDt=4,rDt=5,nDt=2,oDt=e=>JRt(JSON.stringify(e))}),WDt=V(()=>{FDt(),iDt=({size:e,increment:t,maxSize:a,truncatedProps:r,path:n,value:o})=>{let i=e+t,s=i>a;return s?{size:e,stop:s,truncatedProps:[...r,{path:n,value:o}]}:{size:i,stop:s,truncatedProps:r}},sDt=e=>eDt(e),lDt=(e,t,a)=>dDt({empty:e,indent:t,depth:a,keySpaceSize:0})+hDt(e),cDt=({key:e,empty:t,indent:a,depth:r})=>{let n=dDt({empty:t,indent:a,depth:r,keySpaceSize:1}),o=oDt(e),i=hDt(t);return n+o+uDt+i},uDt=1,dDt=({empty:e,indent:t,depth:a,keySpaceSize:r})=>{if(void 0===t)return 0;return r+(pDt+t*(a+1))+(e?pDt+t*a:0)},pDt=1,hDt=e=>e?0:mDt,mDt=1}),XDt=V(()=>{WDt(),fDt=({parent:e,truncatedProps:t,path:a,increment:r,maxSize:n,key:o,empty:i,size:s,truncateValue:l,indent:c,depth:u})=>{let d=e[o],p=[...a,o],{size:h,stop:m,truncatedProps:f}=iDt({size:s,increment:r,maxSize:n,truncatedProps:t,path:p,value:d});return m?{empty:i,size:h,truncatedProps:f}:gDt({value:d,truncatedProps:t,path:p,maxSize:n,empty:i,size:s,newSize:h,truncateValue:l,indent:c,depth:u})},gDt=({value:e,truncatedProps:t,path:a,maxSize:r,empty:n,size:o,newSize:i,truncateValue:s,indent:l,depth:c})=>{let{value:u,size:d,truncatedProps:p}=s({value:e,truncatedProps:t,path:a,size:i,maxSize:r,indent:l,depth:c+1});return void 0===u?{empty:n,size:o,truncatedProps:p}:{empty:!1,size:d,value:u,truncatedProps:p}}}),GDt=V(()=>{XDt(),WDt(),vDt=({array:e,truncatedProps:t,path:a,size:r,maxSize:n,truncateValue:o,indent:i,depth:s})=>{let l=[],c={empty:!0,size:r,truncatedProps:t};for(let t=0;t<e.length;t+=1){let r=lDt(c.empty,i,s);c=fDt({parent:e,truncatedProps:c.truncatedProps,path:a,increment:r,maxSize:n,key:t,empty:c.empty,size:c.size,truncateValue:o,indent:i,depth:s}),void 0!==c.value&&l.push(c.value)}return{value:l,size:c.size,truncatedProps:c.truncatedProps}}}),YDt=V(()=>{XDt(),WDt(),bDt=({object:e,truncatedProps:t,path:a,size:r,maxSize:n,truncateValue:o,indent:i,depth:s})=>{let l={},c={empty:!0,size:r,truncatedProps:t};for(let t in e){let r=cDt({key:t,empty:c.empty,indent:i,depth:s});c=fDt({parent:e,truncatedProps:c.truncatedProps,path:a,increment:r,maxSize:n,key:t,empty:c.empty,size:c.size,truncateValue:o,indent:i,depth:s}),void 0!==c.value&&(l[t]=c.value)}return{value:l,size:c.size,truncatedProps:c.truncatedProps}}}),KDt=V(()=>{GDt(),YDt(),WDt(),yDt=({value:e,truncatedProps:t,path:a,size:r,maxSize:n,indent:o,depth:i})=>{let{size:s,stop:l,truncatedProps:c}=iDt({size:r,increment:sDt(e),maxSize:n,truncatedProps:t,path:a,value:e});return l?{value:void 0,size:s,truncatedProps:c}:ODt({value:e,truncatedProps:c,path:a,size:s,maxSize:n,indent:o,depth:i})},ODt=({value:e,truncatedProps:t,path:a,size:r,maxSize:n,indent:o,depth:i})=>"object"==typeof e&&e?Array.isArray(e)?vDt({array:e,truncatedProps:t,path:a,size:r,maxSize:n,truncateValue:yDt,indent:o,depth:i}):bDt({object:e,truncatedProps:t,path:a,size:r,maxSize:n,truncateValue:yDt,indent:o,depth:i}):{value:e,size:r,truncatedProps:t}}),JDt=V(()=>{TDt(),EDt(),CDt(),HDt(),KDt(),xDt=(e,t)=>{NIt(e,t);let a=wDt(e),r=kDt(e),{value:n,truncatedProps:o}=yDt({value:r,truncatedProps:[],path:[],size:0,maxSize:t,indent:a,depth:0});return{jsonString:SDt({newValue:n,value:r,maxSize:t,indent:a}),truncatedProps:o}},wDt=e=>{let t=kIt(e);return"string"==typeof t?t.length:t},kDt=e=>{try{return JSON.parse(e)}catch(t){throw TypeError(`Invalid JSON string: "${e}"\n${t.message}`)}},SDt=({newValue:e,value:t,maxSize:a,indent:r})=>void 0===e?"number"==typeof t?CIt(t,a):$Rt(t,a):JSON.stringify(e,void 0,r)});var eLt,tLt,aLt,rLt,nLt,oLt,iLt,sLt=V(()=>{dIt(),_Dt(),vIt(),$K(),LJ(),NK(),JDt(),eLt=gIt.safeFn(async e=>"application/json"===e.headers.get("content-type")?{success:!0,data:await e.json()}:{success:!0,data:await e.text()},e=>cIt("FAILED_TO_PARSE_RESPONSE_BODY",{originalError:e})),tLt=e=>JSON.parse(xDt(JSON.stringify(e),5e4).jsonString),aLt=gIt.safeFn(async(e,t)=>{let a=await fetch(e,t),r=await eLt(a);return a.ok?r.success?{success:!0,data:{status:a.status,responseBody:tLt(r.data),headers:Object.fromEntries(a.headers.entries())}}:r:{success:!1,error:cIt("REQUEST_NOT_OK",{status:a.status,url:a.url,responseBody:tLt(r.success?r.data:void 0),headers:Object.fromEntries(a.headers.entries())})}},e=>cIt("FAILED_TO_FETCH",{originalError:e})),rLt=gIt.safeFn(async({documentSettings:e,toolCallId:t,chat:a,proxyUrl:r,input:{method:n,path:o,body:i,headers:s,documentName:l}})=>{let c=e[l];if(!c)return{success:!1,error:cIt("DOCUMENT_SETTINGS_COULD_NOT_BE_DETERMINED",{documentName:l})};let u=xY(c.securitySchemes).reduce((e,t)=>{let a="basic"===t.format?`Basic ${VW(t.value)}`:"bearer"===t.format?`Bearer ${t.value}`:t.value;return"header"===t.in?e.headers[t.name]=a:"query"===t.in?e.queryParams.set(t.name,a):"cookie"===t.in&&(e.cookies[t.name]=a),e},{headers:{},queryParams:new URLSearchParams,cookies:{}}),d=Object.entries(u.cookies).map(([e,t])=>`${e}=${t}`).join("; "),p={method:n,body:i,headers:{...s,...u.headers,Cookie:d}},h=await aLt(function({path:e,activeServer:t,proxyUrl:a,queryParams:r}){return CW(a,OY({path:e,server:t,urlParams:r}))}({path:o,activeServer:c.activeServer,proxyUrl:r,queryParams:u.queryParams}),p);return a.addToolOutput({tool:wIt,toolCallId:t,output:h,state:"output-available"}),h},e=>cIt("FAILED_TO_EXECUTE_REQUEST",e))}),lLt=V(()=>{nLt={DEFAULT_PROXY_URL:"https://proxy.scalar.com",PRIVACY_POLICY:"https://scalar.com/legal/privacy-policy",TERMS_AND_CONDITIONS:"https://scalar.com/legal/terms-and-conditions",AGENT_SCALAR_DOCUMENTATION:"https://scalar.com/products/agent/getting-started",PROXY_SOURCE_CODE:"https://github.com/scalar/scalar/tree/main/projects/proxy-scalar-com"}}),cLt=V(()=>{oLt={SELECTED_CLIENT:"scalar-reference-selected-client-v2",AUTH:"scalar-reference-auth"},iLt=()=>typeof window>"u"?{getItem:()=>null,setItem:()=>null,removeItem:()=>null}:localStorage});function uLt(e,t,a){let r=PK(t?.components?.securitySchemes,{},a,e),n=mK(t.security),o=xK(a.getAuthSelectedSchemas({type:"document",documentName:e}),void 0,n);return gK(r,o.selectedSchemes[o.selectedIndex]??{})}function dLt(e){let t=[];for(let[a,r]of Object.entries(e.workspace.documents))eK(r)&&t.push([a,r]);return Object.fromEntries(t.map(([t,a])=>[t,{activeServer:yJ(a,null,null,bJ(a.servers,{documentUrl:a["x-scalar-original-source-url"]})),securitySchemes:uLt(t,a,e.auth)}]))}var pLt,hLt,mLt,fLt=V(()=>{LJ(),cLt(),Iat(),rJ(),Zq(),pLt=iLt(),hLt=()=>{let e=e=>`${oLt.AUTH}-${e}`;return{getAuth:t=>xz($tt,JSON.parse(pLt.getItem(e(t))??"{}")),setAuth:(t,a)=>{pLt.setItem(e(t),JSON.stringify(a))}}},mLt=({documentName:e,workspaceStore:t})=>{let a=hLt().getAuth(e);t.auth.load({[e]:a})}});var gLt,vLt=V(()=>{Rc(),gLt="scalar/agent-terms-accepted"});function bLt(){let e=mHt(),t=Za();function a(t){let a=`${e.baseUrl}${t}`;return CW(e.platformProxyUrl,a)}return{uploadTempDocument:async function(r,n=!1){try{t.value={type:"uploading"};let i=await fetch(a("/core/share/upload/apis"+(n?"?source=agent":"")),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({document:r})});if(!i.ok)return void(t.value={type:"error",error:"Failed to upload your OpenAPI document."});let s=await i.json(),l=x({url:h(),namespace:h(),slug:h()});if(!o(l,s))return void(t.value={type:"error",error:"Failed to process document."});let c=d(l,s);t.value={type:"processing"};let u=await fetch(a(`/vector/registry/embeddings/${c.namespace}/${c.slug}`),{method:"GET"});return function({namespace:e,slug:t}){localStorage.setItem(OLt,JSON.stringify({namespace:e,slug:t}))}({namespace:c.namespace,slug:c.slug}),await e.addDocument({namespace:c.namespace,slug:c.slug,removable:!1,tmp:!0}),u.ok?(t.value={type:"done"},e.uploadedTmpDocumentUrl.value=c.url,setTimeout(()=>{t.value=void 0},yLt),c):void(t.value={type:"error",error:"Failed to embed document."})}catch{return void(t.value={type:"error",error:"Failed to upload your OpenAPI document."})}},uploadState:t}}var yLt,OLt,xLt,wLt,kLt,SLt=V(()=>{vHt(),Rc(),J(),$K(),yLt=5e3,OLt="scalar-tmp-doc",xLt=x({namespace:h(),slug:h()})}),ALt=V(()=>{fLt(),eIt(),wLt=({debounceDelay:e=500,maxWait:t=1e4,persistAuth:a=!1})=>{let{execute:r}=YNt({delay:e,maxWait:t}),n=hLt();return{hooks:{onWorkspaceStateChanges(e){("function"==typeof a?a():a)&&"auth"===e.type&&r("auth",()=>n.setAuth(e.documentName,e.value))}}}}}),_Lt=V(()=>{dIt(),ADt(),fLt(),vIt(),UAt(),o_t(),kLt=gIt.safeFn(async({namespace:e,slug:t,workspaceStore:a,registryDocuments:r,getAccessToken:n,registryUrl:o,config:i,api:s,removable:l})=>{let c=await s.getDocument({namespace:e,slug:t});if(!c.success)return c;r.value.push({...c.data,removable:l});let u=new URL(`/@${e}/apis/${t}/latest`,o),d=[],p=n?.();p&&d.push({domains:[new URL(o).host],headers:{"x-scalar-auth":p}});let h=await NAt(u.toString(),{plugins:[FAt({headers:d})],treeShake:!1}),m=xIt(e,t);return await a.addDocument({name:m,document:h},i),a.update("x-scalar-active-document",m),mLt({documentName:m,workspaceStore:a}),{success:!0,data:c.data}},e=>cIt("UNABLE_TO_LOAD_DOCUMENT",e))});function TLt(e){return null==e?"unknown error":"string"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}var ELt,CLt,PLt,MLt,$Lt,NLt,ILt,RLt,DLt,LLt,BLt,jLt,ULt,zLt,HLt,ZLt,VLt,QLt,qLt,FLt,WLt,XLt,GLt,YLt,KLt,JLt,eBt,tBt,aBt,rBt,nBt=V(()=>{ELt="vercel.ai.error",CLt=Symbol.for(ELt),$Lt=class e extends(MLt=Error,PLt=CLt,MLt){constructor({name:e,message:t,cause:a}){super(t),this[PLt]=!0,this.name=e,this.cause=a}static isInstance(t){return e.hasMarker(t,ELt)}static hasMarker(e,t){let a=Symbol.for(t);return"object"==typeof e&&!!e&&a in e&&"boolean"==typeof e[a]&&!0===e[a]}},ILt=`vercel.ai.error.${NLt="AI_InvalidArgumentError"}`,RLt=Symbol.for(ILt),BLt=class extends(LLt=$Lt,DLt=RLt,LLt){constructor({message:e,cause:t,argument:a}){super({name:NLt,message:e,cause:t}),this[DLt]=!0,this.argument=a}static isInstance(e){return $Lt.hasMarker(e,ILt)}},ULt=`vercel.ai.error.${jLt="AI_JSONParseError"}`,zLt=Symbol.for(ULt),VLt=class extends(ZLt=$Lt,HLt=zLt,ZLt){constructor({text:e,cause:t}){super({name:jLt,message:`JSON parsing failed: Text: ${e}.\nError message: ${TLt(t)}`,cause:t}),this[HLt]=!0,this.text=e}static isInstance(e){return $Lt.hasMarker(e,ULt)}},qLt=`vercel.ai.error.${QLt="AI_TypeValidationError"}`,FLt=Symbol.for(qLt),GLt=class e extends(XLt=$Lt,WLt=FLt,XLt){constructor({value:e,cause:t}){super({name:QLt,message:`Type validation failed: Value: ${JSON.stringify(e)}.\nError message: ${TLt(t)}`,cause:t}),this[WLt]=!0,this.value=e}static isInstance(e){return $Lt.hasMarker(e,qLt)}static wrap({value:t,cause:a}){return e.isInstance(a)&&a.value===t?a:new e({value:t,cause:a})}}}),oBt=V(()=>{Dtt(),Dtt()}),iBt=V(()=>{oBt()}),sBt=V(()=>{(function(e){e.assertEqual=e=>{},e.assertIs=function(e){},e.assertNever=function(e){throw Error()},e.arrayToEnum=e=>{let t={};for(let a of e)t[a]=a;return t},e.getValidEnumValues=t=>{let a=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),r={};for(let e of a)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.push(a);return t},e.find=(e,t)=>{for(let a of e)if(t(a))return a},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t})(YLt||={}),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(KLt||={}),JLt=YLt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),eBt=e=>{switch(typeof e){case"undefined":return JLt.undefined;case"string":return JLt.string;case"number":return Number.isNaN(e)?JLt.nan:JLt.number;case"boolean":return JLt.boolean;case"function":return JLt.function;case"bigint":return JLt.bigint;case"symbol":return JLt.symbol;case"object":return Array.isArray(e)?JLt.array:null===e?JLt.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?JLt.promise:typeof Map<"u"&&e instanceof Map?JLt.map:typeof Set<"u"&&e instanceof Set?JLt.set:typeof Date<"u"&&e instanceof Date?JLt.date:JLt.object;default:return JLt.unknown}}}),lBt=V(()=>{sBt(),tBt=YLt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),aBt=class e extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},a={_errors:[]},r=e=>{for(let n of e.issues)if("invalid_union"===n.code)n.unionErrors.map(r);else if("invalid_return_type"===n.code)r(n.returnTypeError);else if("invalid_arguments"===n.code)r(n.argumentsError);else if(0===n.path.length)a._errors.push(t(n));else{let e=a,r=0;for(;r<n.path.length;){let a=n.path[r];r===n.path.length-1?(e[a]=e[a]||{_errors:[]},e[a]._errors.push(t(n))):e[a]=e[a]||{_errors:[]},e=e[a],r++}}};return r(this),a}static assert(t){if(!(t instanceof e))throw Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,YLt.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t=Object.create(null),a=[];for(let r of this.issues)if(r.path.length>0){let a=r.path[0];t[a]=t[a]||[],t[a].push(e(r))}else a.push(e(r));return{formErrors:a,fieldErrors:t}}get formErrors(){return this.flatten()}},aBt.create=e=>new aBt(e)}),cBt=V(()=>{lBt(),sBt(),rBt=(e,t)=>{let a;switch(e.code){case tBt.invalid_type:a=e.received===JLt.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case tBt.invalid_literal:a=`Invalid literal value, expected ${JSON.stringify(e.expected,YLt.jsonStringifyReplacer)}`;break;case tBt.unrecognized_keys:a=`Unrecognized key(s) in object: ${YLt.joinValues(e.keys,", ")}`;break;case tBt.invalid_union:a="Invalid input";break;case tBt.invalid_union_discriminator:a=`Invalid discriminator value. Expected ${YLt.joinValues(e.options)}`;break;case tBt.invalid_enum_value:a=`Invalid enum value. Expected ${YLt.joinValues(e.options)}, received '${e.received}'`;break;case tBt.invalid_arguments:a="Invalid function arguments";break;case tBt.invalid_return_type:a="Invalid function return type";break;case tBt.invalid_date:a="Invalid date";break;case tBt.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(a=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(a=`${a} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?a=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?a=`Invalid input: must end with "${e.validation.endsWith}"`:YLt.assertNever(e.validation):a="regex"===e.validation?"Invalid":`Invalid ${e.validation}`;break;case tBt.too_small:a="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case tBt.too_big:a="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case tBt.custom:a="Invalid input";break;case tBt.invalid_intersection_types:a="Intersection results could not be merged";break;case tBt.not_multiple_of:a=`Number must be a multiple of ${e.multipleOf}`;break;case tBt.not_finite:a="Number must be finite";break;default:a=t.defaultError,YLt.assertNever(e)}return{message:a}}});function uBt(){return dBt}var dBt,pBt=V(()=>{cBt(),dBt=rBt});function hBt(e,t){let a=uBt(),r=mBt({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,a,a===rBt?void 0:rBt].filter(e=>!!e)});e.common.issues.push(r)}var mBt,fBt,gBt,vBt,bBt,yBt,OBt,xBt,wBt,kBt,SBt=V(()=>{pBt(),cBt(),mBt=e=>{let{data:t,path:a,errorMaps:r,issueData:n}=e,o=[...a,...n.path||[]],i={...n,path:o};if(void 0!==n.message)return{...n,path:o,message:n.message};let s="",l=r.filter(e=>!!e).slice().reverse();for(let e of l)s=e(i,{data:t,defaultError:s}).message;return{...n,path:o,message:s}},fBt=class e{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let a=[];for(let r of t){if("aborted"===r.status)return gBt;"dirty"===r.status&&e.dirty(),a.push(r.value)}return{status:e.value,value:a}}static async mergeObjectAsync(t,a){let r=[];for(let e of a){let t=await e.key,a=await e.value;r.push({key:t,value:a})}return e.mergeObjectSync(t,r)}static mergeObjectSync(e,t){let a={};for(let r of t){let{key:t,value:n}=r;if("aborted"===t.status||"aborted"===n.status)return gBt;"dirty"===t.status&&e.dirty(),"dirty"===n.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==n.value||r.alwaysSet)&&(a[t.value]=n.value)}return{status:e.value,value:a}}},gBt=Object.freeze({status:"aborted"}),vBt=e=>({status:"dirty",value:e}),bBt=e=>({status:"valid",value:e}),yBt=e=>"aborted"===e.status,OBt=e=>"dirty"===e.status,xBt=e=>"valid"===e.status,wBt=e=>typeof Promise<"u"&&e instanceof Promise}),ABt=V(()=>{}),_Bt=V(()=>{!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:e?.message}(kBt||={})});function TBt(e){if(!e)return{};let{errorMap:t,invalid_type_error:a,required_error:r,description:n}=e;if(t&&(a||r))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:n}:{errorMap:(t,n)=>{let{message:o}=e;return"invalid_enum_value"===t.code?{message:o??n.defaultError}:void 0===n.data?{message:o??r??n.defaultError}:"invalid_type"===t.code?{message:o??a??n.defaultError}:{message:n.defaultError}},description:n}}function EBt(e){let t="[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision??(t=`${t}(\\.\\d+)?`),`([01]\\d|2[0-3]):[0-5]\\d(:${t})${e.precision?"+":"?"}`}function CBt(e){return RegExp(`^${EBt(e)}$`)}function PBt(e){let t=`${ajt}T${EBt(e)}`,a=[];return a.push(e.local?"Z?":"Z"),e.offset&&a.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${a.join("|")})`,RegExp(`^${t}$`)}function MBt(e,t){return!(("v4"!==t&&t||!GBt.test(e))&&("v6"!==t&&t||!KBt.test(e)))}function $Bt(e,t){if(!qBt.test(e))return!1;try{let[a]=e.split(".");if(!a)return!1;let r=a.replace(/-/g,"+").replace(/_/g,"/").padEnd(a.length+(4-a.length%4)%4,"="),n=JSON.parse(atob(r));return!("object"!=typeof n||!n||"typ"in n&&"JWT"!==n?.typ||!n.alg||t&&n.alg!==t)}catch{return!1}}function NBt(e,t){return!(("v4"!==t&&t||!YBt.test(e))&&("v6"!==t&&t||!JBt.test(e)))}function IBt(e,t){let a=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,n=a>r?a:r;return Number.parseInt(e.toFixed(n).replace(".",""))%Number.parseInt(t.toFixed(n).replace(".",""))/10**n}function RBt(e){if(e instanceof vjt){let t={};for(let a in e.shape){let r=e.shape[a];t[a]=Pjt.create(RBt(r))}return new vjt({...e._def,shape:()=>t})}return e instanceof gjt?new gjt({...e._def,type:RBt(e.element)}):e instanceof Pjt?Pjt.create(RBt(e.unwrap())):e instanceof Mjt?Mjt.create(RBt(e.unwrap())):e instanceof xjt?xjt.create(e.items.map(e=>RBt(e))):e}function DBt(e,t){let a=eBt(e),r=eBt(t);if(e===t)return{valid:!0,data:e};if(a===JLt.object&&r===JLt.object){let a=YLt.objectKeys(t),r=YLt.objectKeys(e).filter(e=>-1!==a.indexOf(e)),n={...e,...t};for(let a of r){let r=DBt(e[a],t[a]);if(!r.valid)return{valid:!1};n[a]=r.data}return{valid:!0,data:n}}if(a===JLt.array&&r===JLt.array){if(e.length!==t.length)return{valid:!1};let a=[];for(let r=0;r<e.length;r++){let n=DBt(e[r],t[r]);if(!n.valid)return{valid:!1};a.push(n.data)}return{valid:!0,data:a}}return a===JLt.date&&r===JLt.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}function LBt(e,t){return new _jt({values:e,typeName:Bjt.ZodEnum,...TBt(t)})}var BBt,jBt,UBt,zBt,HBt,ZBt,VBt,QBt,qBt,FBt,WBt,XBt,GBt,YBt,KBt,JBt,ejt,tjt,ajt,rjt,njt,ojt,ijt,sjt,ljt,cjt,ujt,djt,pjt,hjt,mjt,fjt,gjt,vjt,bjt,yjt,Ojt,xjt,wjt,kjt,Sjt,Ajt,_jt,Tjt,Ejt,Cjt,Pjt,Mjt,$jt,Njt,Ijt,Rjt,Djt,Ljt,Bjt,jjt=V(()=>{lBt(),pBt(),_Bt(),SBt(),sBt(),BBt=class{constructor(e,t,a,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=a,this._key=r}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},jBt=(e,t)=>{if(xBt(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){return this._error||=new aBt(e.common.issues),this._error}}},UBt=class{get description(){return this._def.description}_getType(e){return eBt(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:eBt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new fBt,ctx:{common:e.parent.common,data:e.data,parsedType:eBt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(wBt(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let a=this.safeParse(e,t);if(a.success)return a.data;throw a.error}safeParse(e,t){let a={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:eBt(e)};return jBt(a,this._parseSync({data:e,path:a.path,parent:a}))}"~validate"(e){let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:eBt(e)};if(!this["~standard"].async)try{let a=this._parseSync({data:e,path:[],parent:t});return xBt(a)?{value:a.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>xBt(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let a=await this.safeParseAsync(e,t);if(a.success)return a.data;throw a.error}async safeParseAsync(e,t){let a={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:eBt(e)},r=this._parse({data:e,path:a.path,parent:a});return jBt(a,await(wBt(r)?r:Promise.resolve(r)))}refine(e,t){let a=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,r)=>{let n=e(t),o=()=>r.addIssue({code:tBt.custom,...a(t)});return typeof Promise<"u"&&n instanceof Promise?n.then(e=>!!e||(o(),!1)):!!n||(o(),!1)})}refinement(e,t){return this._refinement((a,r)=>!!e(a)||(r.addIssue("function"==typeof t?t(a,r):t),!1))}_refinement(e){return new Cjt({schema:this,typeName:Bjt.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return Pjt.create(this,this._def)}nullable(){return Mjt.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return gjt.create(this)}promise(){return Ejt.create(this,this._def)}or(e){return bjt.create([this,e],this._def)}and(e){return Ojt.create(this,e,this._def)}transform(e){return new Cjt({...TBt(this._def),schema:this,typeName:Bjt.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let t="function"==typeof e?e:()=>e;return new $jt({...TBt(this._def),innerType:this,defaultValue:t,typeName:Bjt.ZodDefault})}brand(){return new Rjt({typeName:Bjt.ZodBranded,type:this,...TBt(this._def)})}catch(e){let t="function"==typeof e?e:()=>e;return new Njt({...TBt(this._def),innerType:this,catchValue:t,typeName:Bjt.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return Djt.create(this,e)}readonly(){return Ljt.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},zBt=/^c[^\s-]{8,}$/i,HBt=/^[0-9a-z]+$/,ZBt=/^[0-9A-HJKMNP-TV-Z]{26}$/i,VBt=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,QBt=/^[a-z0-9_-]{21}$/i,qBt=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,FBt=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,WBt=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,GBt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,YBt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,KBt=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,JBt=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ejt=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,tjt=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,ajt="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",rjt=RegExp(`^${ajt}$`),njt=class e extends UBt{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==JLt.string){let t=this._getOrReturnCtx(e);return hBt(t,{code:tBt.invalid_type,expected:JLt.string,received:t.parsedType}),gBt}let t,a=new fBt;for(let r of this._def.checks)if("min"===r.kind)e.data.length<r.value&&(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),a.dirty());else if("max"===r.kind)e.data.length>r.value&&(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),a.dirty());else if("length"===r.kind){let n=e.data.length>r.value,o=e.data.length<r.value;(n||o)&&(t=this._getOrReturnCtx(e,t),n?hBt(t,{code:tBt.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}):o&&hBt(t,{code:tBt.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}),a.dirty())}else if("email"===r.kind)WBt.test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"email",code:tBt.invalid_string,message:r.message}),a.dirty());else if("emoji"===r.kind)XBt||=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u"),XBt.test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"emoji",code:tBt.invalid_string,message:r.message}),a.dirty());else if("uuid"===r.kind)VBt.test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"uuid",code:tBt.invalid_string,message:r.message}),a.dirty());else if("nanoid"===r.kind)QBt.test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"nanoid",code:tBt.invalid_string,message:r.message}),a.dirty());else if("cuid"===r.kind)zBt.test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"cuid",code:tBt.invalid_string,message:r.message}),a.dirty());else if("cuid2"===r.kind)HBt.test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"cuid2",code:tBt.invalid_string,message:r.message}),a.dirty());else if("ulid"===r.kind)ZBt.test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"ulid",code:tBt.invalid_string,message:r.message}),a.dirty());else if("url"===r.kind)try{new URL(e.data)}catch{t=this._getOrReturnCtx(e,t),hBt(t,{validation:"url",code:tBt.invalid_string,message:r.message}),a.dirty()}else"regex"===r.kind?(r.regex.lastIndex=0,r.regex.test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"regex",code:tBt.invalid_string,message:r.message}),a.dirty())):"trim"===r.kind?e.data=e.data.trim():"includes"===r.kind?e.data.includes(r.value,r.position)||(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),a.dirty()):"toLowerCase"===r.kind?e.data=e.data.toLowerCase():"toUpperCase"===r.kind?e.data=e.data.toUpperCase():"startsWith"===r.kind?e.data.startsWith(r.value)||(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.invalid_string,validation:{startsWith:r.value},message:r.message}),a.dirty()):"endsWith"===r.kind?e.data.endsWith(r.value)||(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.invalid_string,validation:{endsWith:r.value},message:r.message}),a.dirty()):"datetime"===r.kind?PBt(r).test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.invalid_string,validation:"datetime",message:r.message}),a.dirty()):"date"===r.kind?rjt.test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.invalid_string,validation:"date",message:r.message}),a.dirty()):"time"===r.kind?CBt(r).test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.invalid_string,validation:"time",message:r.message}),a.dirty()):"duration"===r.kind?FBt.test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"duration",code:tBt.invalid_string,message:r.message}),a.dirty()):"ip"===r.kind?MBt(e.data,r.version)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"ip",code:tBt.invalid_string,message:r.message}),a.dirty()):"jwt"===r.kind?$Bt(e.data,r.alg)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"jwt",code:tBt.invalid_string,message:r.message}),a.dirty()):"cidr"===r.kind?NBt(e.data,r.version)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"cidr",code:tBt.invalid_string,message:r.message}),a.dirty()):"base64"===r.kind?ejt.test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"base64",code:tBt.invalid_string,message:r.message}),a.dirty()):"base64url"===r.kind?tjt.test(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{validation:"base64url",code:tBt.invalid_string,message:r.message}),a.dirty()):YLt.assertNever(r);return{status:a.value,value:e.data}}_regex(e,t,a){return this.refinement(t=>e.test(t),{validation:t,code:tBt.invalid_string,...kBt.errToObj(a)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(e){return this._addCheck({kind:"email",...kBt.errToObj(e)})}url(e){return this._addCheck({kind:"url",...kBt.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...kBt.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...kBt.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...kBt.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...kBt.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...kBt.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...kBt.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...kBt.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...kBt.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...kBt.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...kBt.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...kBt.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...kBt.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===e?.precision?null:e?.precision,...kBt.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...kBt.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...kBt.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...kBt.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...kBt.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...kBt.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...kBt.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...kBt.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...kBt.errToObj(t)})}nonempty(e){return this.min(1,kBt.errToObj(e))}trim(){return new e({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new e({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new e({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}},njt.create=e=>new njt({checks:[],typeName:Bjt.ZodString,coerce:e?.coerce??!1,...TBt(e)}),ojt=class e extends UBt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==JLt.number){let t=this._getOrReturnCtx(e);return hBt(t,{code:tBt.invalid_type,expected:JLt.number,received:t.parsedType}),gBt}let t,a=new fBt;for(let r of this._def.checks)"int"===r.kind?YLt.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.invalid_type,expected:"integer",received:"float",message:r.message}),a.dirty()):"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),a.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),a.dirty()):"multipleOf"===r.kind?0!==IBt(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.not_multiple_of,multipleOf:r.value,message:r.message}),a.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.not_finite,message:r.message}),a.dirty()):YLt.assertNever(r);return{status:a.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,kBt.toString(t))}gt(e,t){return this.setLimit("min",e,!1,kBt.toString(t))}lte(e,t){return this.setLimit("max",e,!0,kBt.toString(t))}lt(e,t){return this.setLimit("max",e,!1,kBt.toString(t))}setLimit(t,a,r,n){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:a,inclusive:r,message:kBt.toString(n)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(e){return this._addCheck({kind:"int",message:kBt.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:kBt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:kBt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:kBt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:kBt.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:kBt.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:kBt.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:-(2**53-1),message:kBt.toString(e)})._addCheck({kind:"max",inclusive:!0,value:2**53-1,message:kBt.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&YLt.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let a of this._def.checks){if("finite"===a.kind||"int"===a.kind||"multipleOf"===a.kind)return!0;"min"===a.kind?(null===t||a.value>t)&&(t=a.value):"max"===a.kind&&(null===e||a.value<e)&&(e=a.value)}return Number.isFinite(t)&&Number.isFinite(e)}},ojt.create=e=>new ojt({checks:[],typeName:Bjt.ZodNumber,coerce:e?.coerce||!1,...TBt(e)}),ijt=class e extends UBt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==JLt.bigint)return this._getInvalidInput(e);let t,a=new fBt;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),a.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),a.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.not_multiple_of,multipleOf:r.value,message:r.message}),a.dirty()):YLt.assertNever(r);return{status:a.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return hBt(t,{code:tBt.invalid_type,expected:JLt.bigint,received:t.parsedType}),gBt}gte(e,t){return this.setLimit("min",e,!0,kBt.toString(t))}gt(e,t){return this.setLimit("min",e,!1,kBt.toString(t))}lte(e,t){return this.setLimit("max",e,!0,kBt.toString(t))}lt(e,t){return this.setLimit("max",e,!1,kBt.toString(t))}setLimit(t,a,r,n){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:a,inclusive:r,message:kBt.toString(n)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:kBt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:kBt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:kBt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:kBt.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:kBt.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}},ijt.create=e=>new ijt({checks:[],typeName:Bjt.ZodBigInt,coerce:e?.coerce??!1,...TBt(e)}),sjt=class extends UBt{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==JLt.boolean){let t=this._getOrReturnCtx(e);return hBt(t,{code:tBt.invalid_type,expected:JLt.boolean,received:t.parsedType}),gBt}return bBt(e.data)}},sjt.create=e=>new sjt({typeName:Bjt.ZodBoolean,coerce:e?.coerce||!1,...TBt(e)}),ljt=class e extends UBt{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==JLt.date){let t=this._getOrReturnCtx(e);return hBt(t,{code:tBt.invalid_type,expected:JLt.date,received:t.parsedType}),gBt}if(Number.isNaN(e.data.getTime()))return hBt(this._getOrReturnCtx(e),{code:tBt.invalid_date}),gBt;let t,a=new fBt;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),a.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(t=this._getOrReturnCtx(e,t),hBt(t,{code:tBt.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),a.dirty()):YLt.assertNever(r);return{status:a.value,value:new Date(e.data.getTime())}}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:kBt.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:kBt.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null==e?null:new Date(e)}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null==e?null:new Date(e)}},ljt.create=e=>new ljt({checks:[],coerce:e?.coerce||!1,typeName:Bjt.ZodDate,...TBt(e)}),cjt=class extends UBt{_parse(e){if(this._getType(e)!==JLt.symbol){let t=this._getOrReturnCtx(e);return hBt(t,{code:tBt.invalid_type,expected:JLt.symbol,received:t.parsedType}),gBt}return bBt(e.data)}},cjt.create=e=>new cjt({typeName:Bjt.ZodSymbol,...TBt(e)}),ujt=class extends UBt{_parse(e){if(this._getType(e)!==JLt.undefined){let t=this._getOrReturnCtx(e);return hBt(t,{code:tBt.invalid_type,expected:JLt.undefined,received:t.parsedType}),gBt}return bBt(e.data)}},ujt.create=e=>new ujt({typeName:Bjt.ZodUndefined,...TBt(e)}),djt=class extends UBt{_parse(e){if(this._getType(e)!==JLt.null){let t=this._getOrReturnCtx(e);return hBt(t,{code:tBt.invalid_type,expected:JLt.null,received:t.parsedType}),gBt}return bBt(e.data)}},djt.create=e=>new djt({typeName:Bjt.ZodNull,...TBt(e)}),pjt=class extends UBt{constructor(){super(...arguments),this._any=!0}_parse(e){return bBt(e.data)}},pjt.create=e=>new pjt({typeName:Bjt.ZodAny,...TBt(e)}),hjt=class extends UBt{constructor(){super(...arguments),this._unknown=!0}_parse(e){return bBt(e.data)}},hjt.create=e=>new hjt({typeName:Bjt.ZodUnknown,...TBt(e)}),mjt=class extends UBt{_parse(e){let t=this._getOrReturnCtx(e);return hBt(t,{code:tBt.invalid_type,expected:JLt.never,received:t.parsedType}),gBt}},mjt.create=e=>new mjt({typeName:Bjt.ZodNever,...TBt(e)}),fjt=class extends UBt{_parse(e){if(this._getType(e)!==JLt.undefined){let t=this._getOrReturnCtx(e);return hBt(t,{code:tBt.invalid_type,expected:JLt.void,received:t.parsedType}),gBt}return bBt(e.data)}},fjt.create=e=>new fjt({typeName:Bjt.ZodVoid,...TBt(e)}),gjt=class e extends UBt{_parse(e){let{ctx:t,status:a}=this._processInputParams(e),r=this._def;if(t.parsedType!==JLt.array)return hBt(t,{code:tBt.invalid_type,expected:JLt.array,received:t.parsedType}),gBt;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,n=t.data.length<r.exactLength.value;(e||n)&&(hBt(t,{code:e?tBt.too_big:tBt.too_small,minimum:n?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),a.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&(hBt(t,{code:tBt.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),a.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(hBt(t,{code:tBt.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),a.dirty()),t.common.async)return Promise.all([...t.data].map((e,a)=>r.type._parseAsync(new BBt(t,e,t.path,a)))).then(e=>fBt.mergeArray(a,e));let n=[...t.data].map((e,a)=>r.type._parseSync(new BBt(t,e,t.path,a)));return fBt.mergeArray(a,n)}get element(){return this._def.type}min(t,a){return new e({...this._def,minLength:{value:t,message:kBt.toString(a)}})}max(t,a){return new e({...this._def,maxLength:{value:t,message:kBt.toString(a)}})}length(t,a){return new e({...this._def,exactLength:{value:t,message:kBt.toString(a)}})}nonempty(e){return this.min(1,e)}},gjt.create=(e,t)=>new gjt({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Bjt.ZodArray,...TBt(t)}),vjt=class e extends UBt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape();return this._cached={shape:e,keys:YLt.objectKeys(e)},this._cached}_parse(e){if(this._getType(e)!==JLt.object){let t=this._getOrReturnCtx(e);return hBt(t,{code:tBt.invalid_type,expected:JLt.object,received:t.parsedType}),gBt}let{status:t,ctx:a}=this._processInputParams(e),{shape:r,keys:n}=this._getCached(),o=[];if(!(this._def.catchall instanceof mjt&&"strip"===this._def.unknownKeys))for(let e in a.data)n.includes(e)||o.push(e);let i=[];for(let e of n){let t=r[e],n=a.data[e];i.push({key:{status:"valid",value:e},value:t._parse(new BBt(a,n,a.path,e)),alwaysSet:e in a.data})}if(this._def.catchall instanceof mjt){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of o)i.push({key:{status:"valid",value:e},value:{status:"valid",value:a.data[e]}});else if("strict"===e)o.length>0&&(hBt(a,{code:tBt.unrecognized_keys,keys:o}),t.dirty());else if("strip"!==e)throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of o){let r=a.data[t];i.push({key:{status:"valid",value:t},value:e._parse(new BBt(a,r,a.path,t)),alwaysSet:t in a.data})}}return a.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of i){let a=await t.key,r=await t.value;e.push({key:a,value:r,alwaysSet:t.alwaysSet})}return e}).then(e=>fBt.mergeObjectSync(t,e)):fBt.mergeObjectSync(t,i)}get shape(){return this._def.shape()}strict(t){return kBt.errToObj,new e({...this._def,unknownKeys:"strict",...void 0===t?{}:{errorMap:(e,a)=>{let r=this._def.errorMap?.(e,a).message??a.defaultError;return"unrecognized_keys"===e.code?{message:kBt.errToObj(t).message??r}:{message:r}}}})}strip(){return new e({...this._def,unknownKeys:"strip"})}passthrough(){return new e({...this._def,unknownKeys:"passthrough"})}extend(t){return new e({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new e({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Bjt.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(t){return new e({...this._def,catchall:t})}pick(t){let a={};for(let e of YLt.objectKeys(t))t[e]&&this.shape[e]&&(a[e]=this.shape[e]);return new e({...this._def,shape:()=>a})}omit(t){let a={};for(let e of YLt.objectKeys(this.shape))t[e]||(a[e]=this.shape[e]);return new e({...this._def,shape:()=>a})}deepPartial(){return RBt(this)}partial(t){let a={};for(let e of YLt.objectKeys(this.shape)){let r=this.shape[e];t&&!t[e]?a[e]=r:a[e]=r.optional()}return new e({...this._def,shape:()=>a})}required(t){let a={};for(let e of YLt.objectKeys(this.shape))if(t&&!t[e])a[e]=this.shape[e];else{let t=this.shape[e];for(;t instanceof Pjt;)t=t._def.innerType;a[e]=t}return new e({...this._def,shape:()=>a})}keyof(){return LBt(YLt.objectKeys(this.shape))}},vjt.create=(e,t)=>new vjt({shape:()=>e,unknownKeys:"strip",catchall:mjt.create(),typeName:Bjt.ZodObject,...TBt(t)}),vjt.strictCreate=(e,t)=>new vjt({shape:()=>e,unknownKeys:"strict",catchall:mjt.create(),typeName:Bjt.ZodObject,...TBt(t)}),vjt.lazycreate=(e,t)=>new vjt({shape:e,unknownKeys:"strip",catchall:mjt.create(),typeName:Bjt.ZodObject,...TBt(t)}),bjt=class extends UBt{_parse(e){let{ctx:t}=this._processInputParams(e),a=this._def.options;if(t.common.async)return Promise.all(a.map(async e=>{let a={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:a}),ctx:a}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let a of e)if("dirty"===a.result.status)return t.common.issues.push(...a.ctx.common.issues),a.result;let a=e.map(e=>new aBt(e.ctx.common.issues));return hBt(t,{code:tBt.invalid_union,unionErrors:a}),gBt});{let e,r=[];for(let n of a){let a={...t,common:{...t.common,issues:[]},parent:null},o=n._parseSync({data:t.data,path:t.path,parent:a});if("valid"===o.status)return o;"dirty"===o.status&&!e&&(e={result:o,ctx:a}),a.common.issues.length&&r.push(a.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let n=r.map(e=>new aBt(e));return hBt(t,{code:tBt.invalid_union,unionErrors:n}),gBt}}get options(){return this._def.options}},bjt.create=(e,t)=>new bjt({options:e,typeName:Bjt.ZodUnion,...TBt(t)}),yjt=e=>e instanceof Sjt?yjt(e.schema):e instanceof Cjt?yjt(e.innerType()):e instanceof Ajt?[e.value]:e instanceof _jt?e.options:e instanceof Tjt?YLt.objectValues(e.enum):e instanceof $jt?yjt(e._def.innerType):e instanceof ujt?[void 0]:e instanceof djt?[null]:e instanceof Pjt?[void 0,...yjt(e.unwrap())]:e instanceof Mjt?[null,...yjt(e.unwrap())]:e instanceof Rjt||e instanceof Ljt?yjt(e.unwrap()):e instanceof Njt?yjt(e._def.innerType):[],Ojt=class extends UBt{_parse(e){let{status:t,ctx:a}=this._processInputParams(e),r=(e,r)=>{if(yBt(e)||yBt(r))return gBt;let n=DBt(e.value,r.value);return n.valid?((OBt(e)||OBt(r))&&t.dirty(),{status:t.value,value:n.data}):(hBt(a,{code:tBt.invalid_intersection_types}),gBt)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then(([e,t])=>r(e,t)):r(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}},Ojt.create=(e,t,a)=>new Ojt({left:e,right:t,typeName:Bjt.ZodIntersection,...TBt(a)}),xjt=class e extends UBt{_parse(e){let{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==JLt.array)return hBt(a,{code:tBt.invalid_type,expected:JLt.array,received:a.parsedType}),gBt;if(a.data.length<this._def.items.length)return hBt(a,{code:tBt.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),gBt;!this._def.rest&&a.data.length>this._def.items.length&&(hBt(a,{code:tBt.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...a.data].map((e,t)=>{let r=this._def.items[t]||this._def.rest;return r?r._parse(new BBt(a,e,a.path,t)):null}).filter(e=>!!e);return a.common.async?Promise.all(r).then(e=>fBt.mergeArray(t,e)):fBt.mergeArray(t,r)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}},xjt.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new xjt({items:e,typeName:Bjt.ZodTuple,rest:null,...TBt(t)})},wjt=class extends UBt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==JLt.map)return hBt(a,{code:tBt.invalid_type,expected:JLt.map,received:a.parsedType}),gBt;let r=this._def.keyType,n=this._def.valueType,o=[...a.data.entries()].map(([e,t],o)=>({key:r._parse(new BBt(a,e,a.path,[o,"key"])),value:n._parse(new BBt(a,t,a.path,[o,"value"]))}));if(a.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let a of o){let r=await a.key,n=await a.value;if("aborted"===r.status||"aborted"===n.status)return gBt;("dirty"===r.status||"dirty"===n.status)&&t.dirty(),e.set(r.value,n.value)}return{status:t.value,value:e}})}{let e=new Map;for(let a of o){let r=a.key,n=a.value;if("aborted"===r.status||"aborted"===n.status)return gBt;("dirty"===r.status||"dirty"===n.status)&&t.dirty(),e.set(r.value,n.value)}return{status:t.value,value:e}}}},wjt.create=(e,t,a)=>new wjt({valueType:t,keyType:e,typeName:Bjt.ZodMap,...TBt(a)}),kjt=class e extends UBt{_parse(e){let{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==JLt.set)return hBt(a,{code:tBt.invalid_type,expected:JLt.set,received:a.parsedType}),gBt;let r=this._def;null!==r.minSize&&a.data.size<r.minSize.value&&(hBt(a,{code:tBt.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&a.data.size>r.maxSize.value&&(hBt(a,{code:tBt.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let n=this._def.valueType;function o(e){let a=new Set;for(let r of e){if("aborted"===r.status)return gBt;"dirty"===r.status&&t.dirty(),a.add(r.value)}return{status:t.value,value:a}}let i=[...a.data.values()].map((e,t)=>n._parse(new BBt(a,e,a.path,t)));return a.common.async?Promise.all(i).then(e=>o(e)):o(i)}min(t,a){return new e({...this._def,minSize:{value:t,message:kBt.toString(a)}})}max(t,a){return new e({...this._def,maxSize:{value:t,message:kBt.toString(a)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}},kjt.create=(e,t)=>new kjt({valueType:e,minSize:null,maxSize:null,typeName:Bjt.ZodSet,...TBt(t)}),Sjt=class extends UBt{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}},Sjt.create=(e,t)=>new Sjt({getter:e,typeName:Bjt.ZodLazy,...TBt(t)}),Ajt=class extends UBt{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return hBt(t,{received:t.data,code:tBt.invalid_literal,expected:this._def.value}),gBt}return{status:"valid",value:e.data}}get value(){return this._def.value}},Ajt.create=(e,t)=>new Ajt({value:e,typeName:Bjt.ZodLiteral,...TBt(t)}),_jt=class e extends UBt{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),a=this._def.values;return hBt(t,{expected:YLt.joinValues(a),received:t.parsedType,code:tBt.invalid_type}),gBt}if(this._cache||=new Set(this._def.values),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),a=this._def.values;return hBt(t,{received:t.data,code:tBt.invalid_enum_value,options:a}),gBt}return bBt(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(t,a=this._def){return e.create(t,{...this._def,...a})}exclude(t,a=this._def){return e.create(this.options.filter(e=>!t.includes(e)),{...this._def,...a})}},_jt.create=LBt,Tjt=class extends UBt{_parse(e){let t=YLt.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==JLt.string&&a.parsedType!==JLt.number){let e=YLt.objectValues(t);return hBt(a,{expected:YLt.joinValues(e),received:a.parsedType,code:tBt.invalid_type}),gBt}if(this._cache||=new Set(YLt.getValidEnumValues(this._def.values)),!this._cache.has(e.data)){let e=YLt.objectValues(t);return hBt(a,{received:a.data,code:tBt.invalid_enum_value,options:e}),gBt}return bBt(e.data)}get enum(){return this._def.values}},Tjt.create=(e,t)=>new Tjt({values:e,typeName:Bjt.ZodNativeEnum,...TBt(t)}),Ejt=class extends UBt{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==JLt.promise&&!1===t.common.async?(hBt(t,{code:tBt.invalid_type,expected:JLt.promise,received:t.parsedType}),gBt):bBt((t.parsedType===JLt.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}},Ejt.create=(e,t)=>new Ejt({type:e,typeName:Bjt.ZodPromise,...TBt(t)}),Cjt=class extends UBt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Bjt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:a}=this._processInputParams(e),r=this._def.effect||null,n={addIssue:e=>{hBt(a,e),e.fatal?t.abort():t.dirty()},get path(){return a.path}};if(n.addIssue=n.addIssue.bind(n),"preprocess"===r.type){let e=r.transform(a.data,n);if(a.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return gBt;let r=await this._def.schema._parseAsync({data:e,path:a.path,parent:a});return"aborted"===r.status?gBt:"dirty"===r.status||"dirty"===t.value?vBt(r.value):r});{if("aborted"===t.value)return gBt;let r=this._def.schema._parseSync({data:e,path:a.path,parent:a});return"aborted"===r.status?gBt:"dirty"===r.status||"dirty"===t.value?vBt(r.value):r}}if("refinement"===r.type){let e=e=>{let t=r.refinement(e,n);if(a.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===a.common.async){let r=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return"aborted"===r.status?gBt:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(a=>"aborted"===a.status?gBt:("dirty"===a.status&&t.dirty(),e(a.value).then(()=>({status:t.value,value:a.value}))))}if("transform"===r.type){if(!1===a.common.async){let e=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!xBt(e))return gBt;let o=r.transform(e.value,n);if(o instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(e=>xBt(e)?Promise.resolve(r.transform(e.value,n)).then(e=>({status:t.value,value:e})):gBt)}YLt.assertNever(r)}},Cjt.create=(e,t,a)=>new Cjt({schema:e,typeName:Bjt.ZodEffects,effect:t,...TBt(a)}),Cjt.createWithPreprocess=(e,t,a)=>new Cjt({schema:t,effect:{type:"preprocess",transform:e},typeName:Bjt.ZodEffects,...TBt(a)}),Pjt=class extends UBt{_parse(e){return this._getType(e)===JLt.undefined?bBt(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}},Pjt.create=(e,t)=>new Pjt({innerType:e,typeName:Bjt.ZodOptional,...TBt(t)}),Mjt=class extends UBt{_parse(e){return this._getType(e)===JLt.null?bBt(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}},Mjt.create=(e,t)=>new Mjt({innerType:e,typeName:Bjt.ZodNullable,...TBt(t)}),$jt=class extends UBt{_parse(e){let{ctx:t}=this._processInputParams(e),a=t.data;return t.parsedType===JLt.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:t.path,parent:t})}removeDefault(){return this._def.innerType}},$jt.create=(e,t)=>new $jt({innerType:e,typeName:Bjt.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...TBt(t)}),Njt=class extends UBt{_parse(e){let{ctx:t}=this._processInputParams(e),a={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return wBt(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new aBt(a.common.issues)},input:a.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new aBt(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}},Njt.create=(e,t)=>new Njt({innerType:e,typeName:Bjt.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...TBt(t)}),Ijt=class extends UBt{_parse(e){if(this._getType(e)!==JLt.nan){let t=this._getOrReturnCtx(e);return hBt(t,{code:tBt.invalid_type,expected:JLt.nan,received:t.parsedType}),gBt}return{status:"valid",value:e.data}}},Ijt.create=e=>new Ijt({typeName:Bjt.ZodNaN,...TBt(e)}),Rjt=class extends UBt{_parse(e){let{ctx:t}=this._processInputParams(e),a=t.data;return this._def.type._parse({data:a,path:t.path,parent:t})}unwrap(){return this._def.type}},Djt=class e extends UBt{_parse(e){let{status:t,ctx:a}=this._processInputParams(e);if(a.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return"aborted"===e.status?gBt:"dirty"===e.status?(t.dirty(),vBt(e.value)):this._def.out._parseAsync({data:e.value,path:a.path,parent:a})})();{let e=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return"aborted"===e.status?gBt:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:a.path,parent:a})}}static create(t,a){return new e({in:t,out:a,typeName:Bjt.ZodPipeline})}},Ljt=class extends UBt{_parse(e){let t=this._def.innerType._parse(e),a=e=>(xBt(e)&&(e.value=Object.freeze(e.value)),e);return wBt(t)?t.then(e=>a(e)):a(t)}unwrap(){return this._def.innerType}},Ljt.create=(e,t)=>new Ljt({innerType:e,typeName:Bjt.ZodReadonly,...TBt(t)}),vjt.lazycreate,function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(Bjt||={}),njt.create,ojt.create,Ijt.create,ijt.create,sjt.create,ljt.create,cjt.create,ujt.create,djt.create,pjt.create,hjt.create,mjt.create,fjt.create,gjt.create,vjt.create,vjt.strictCreate,bjt.create,Ojt.create,xjt.create,wjt.create,kjt.create,Sjt.create,Ajt.create,_jt.create,Tjt.create,Ejt.create,Cjt.create,Pjt.create,Mjt.create,Cjt.createWithPreprocess,Djt.create}),Ujt=V(()=>{pBt(),SBt(),ABt(),sBt(),jjt(),lBt()}),zjt=V(()=>{Ujt()});function Hjt(e){}function Zjt(e){if("function"==typeof e)throw TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");let t,{onEvent:a=Hjt,onError:r=Hjt,onRetry:n=Hjt,onComment:o}=e,i="",s=!0,l="",c="";function u(e){if(""===e)return void p();if(e.startsWith(":"))return void(o&&o(e.slice(e.startsWith(": ")?2:1)));let t=e.indexOf(":");if(-1!==t){let a=e.slice(0,t),r=" "===e[t+1]?2:1;return void d(a,e.slice(t+r),e)}d(e,"",e)}function d(e,a,o){switch(e){case"event":c=a;break;case"data":l=`${l}${a}\n`;break;case"id":t=a.includes("\0")?void 0:a;break;case"retry":/^\d+$/.test(a)?n(parseInt(a,10)):r(new Vjt(`Invalid \`retry\` value: "${a}"`,{type:"invalid-retry",value:a,line:o}));break;default:r(new Vjt(`Unknown field "${e.length>20?`${e.slice(0,20)}…`:e}"`,{type:"unknown-field",field:e,value:a,line:o}))}}function p(){l.length>0&&a({id:t,event:c||void 0,data:l.endsWith("\n")?l.slice(0,-1):l}),t=void 0,l="",c=""}return{feed:function(e){let t=s?e.replace(/^\xEF\xBB\xBF/,""):e,[a,r]=function(e){let t=[],a="",r=0;for(;r<e.length;){let n=e.indexOf("\r",r),o=e.indexOf("\n",r),i=-1;if(-1!==n&&-1!==o?i=Math.min(n,o):-1===n?-1!==o&&(i=o):i=n===e.length-1?-1:n,-1===i){a=e.slice(r);break}{let a=e.slice(r,i);t.push(a),r=i+1,"\r"===e[r-1]&&"\n"===e[r]&&r++}}return[t,a]}(`${i}${t}`);for(let e of a)u(e);i=r,s=!1},reset:function(e={}){i&&e.consume&&u(i),s=!0,t=void 0,l="",c="",i=""}}}var Vjt,Qjt,qjt=V(()=>{Vjt=class extends Error{constructor(e,t){super(e),this.name="ParseError",this.type=t.type,this.field=t.field,this.value=t.value,this.line=t.line}}}),Fjt=V(()=>{qjt(),Qjt=class extends TransformStream{constructor({onError:e,onRetry:t,onComment:a}={}){let r;super({start(n){r=Zjt({onEvent:e=>{n.enqueue(e)},onError(t){"terminate"===e?n.error(t):"function"==typeof e&&e(t)},onRetry:t,onComment:a})},transform(e){r.feed(e)}})}}}),Wjt=V(()=>{});function Xjt(e=globalThis){return e.window?"runtime/browser":e.navigator?.userAgent?`runtime/${e.navigator.userAgent.toLowerCase()}`:e.process?.versions?.node?`runtime/node.js/${e.process.version.substring(0)}`:e.EdgeRuntime?"runtime/vercel-edge":"runtime/unknown"}function Gjt(e){if(null==e)return{};let t={};if(e instanceof Headers)e.forEach((e,a)=>{t[a.toLowerCase()]=e});else{Array.isArray(e)||(e=Object.entries(e));for(let[a,r]of e)null!=r&&(t[a.toLowerCase()]=r)}return t}function Yjt(e,...t){let a=new Headers(Gjt(e)),r=a.get("user-agent")||"";return a.set("user-agent",[r,...t].filter(Boolean).join(" ")),Object.fromEntries(a.entries())}function Kjt(e){let t=JSON.parse(e);return"object"!=typeof t||!t||!1===SUt.test(e)&&!1===AUt.test(e)?t:function(e){let t=[e];for(;t.length;){let e=t;t=[];for(let a of e){if(Object.prototype.hasOwnProperty.call(a,"__proto__")||Object.prototype.hasOwnProperty.call(a,"constructor")&&Object.prototype.hasOwnProperty.call(a.constructor,"prototype"))throw SyntaxError("Object contains forbidden prototype property");for(let e in a){let r=a[e];r&&"object"==typeof r&&t.push(r)}}}return e}(t)}function Jjt(e){if("object"===e.type||Array.isArray(e.type)&&e.type.includes("object")){e.additionalProperties=!1;let{properties:t}=e;if(null!=t)for(let e of Object.keys(t))t[e]=eUt(t[e])}null!=e.items&&(e.items=Array.isArray(e.items)?e.items.map(eUt):eUt(e.items)),null!=e.anyOf&&(e.anyOf=e.anyOf.map(eUt)),null!=e.allOf&&(e.allOf=e.allOf.map(eUt)),null!=e.oneOf&&(e.oneOf=e.oneOf.map(eUt));let{definitions:t}=e;if(null!=t)for(let e of Object.keys(t))t[e]=eUt(t[e]);return e}function eUt(e){return"boolean"==typeof e?e:Jjt(e)}function tUt(e,t){return dUt(e.type._def,t)}function aUt(e,t,a){let r=a??t.dateStrategy;if(Array.isArray(r))return{anyOf:r.map((a,r)=>aUt(e,t,a))};switch(r){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return PUt(e)}}function rUt(e,t){let a={type:"string"};if(e.checks)for(let r of e.checks)switch(r.kind){case"min":a.minLength="number"==typeof a.minLength?Math.max(a.minLength,r.value):r.value;break;case"max":a.maxLength="number"==typeof a.maxLength?Math.min(a.maxLength,r.value):r.value;break;case"email":switch(t.emailStrategy){case"format:email":oUt(a,"email",r.message,t);break;case"format:idn-email":oUt(a,"idn-email",r.message,t);break;case"pattern:zod":iUt(a,NUt.email,r.message,t)}break;case"url":oUt(a,"uri",r.message,t);break;case"uuid":oUt(a,"uuid",r.message,t);break;case"regex":iUt(a,r.regex,r.message,t);break;case"cuid":iUt(a,NUt.cuid,r.message,t);break;case"cuid2":iUt(a,NUt.cuid2,r.message,t);break;case"startsWith":iUt(a,RegExp(`^${nUt(r.value,t)}`),r.message,t);break;case"endsWith":iUt(a,RegExp(`${nUt(r.value,t)}$`),r.message,t);break;case"datetime":oUt(a,"date-time",r.message,t);break;case"date":oUt(a,"date",r.message,t);break;case"time":oUt(a,"time",r.message,t);break;case"duration":oUt(a,"duration",r.message,t);break;case"length":a.minLength="number"==typeof a.minLength?Math.max(a.minLength,r.value):r.value,a.maxLength="number"==typeof a.maxLength?Math.min(a.maxLength,r.value):r.value;break;case"includes":iUt(a,RegExp(nUt(r.value,t)),r.message,t);break;case"ip":"v6"!==r.version&&oUt(a,"ipv4",r.message,t),"v4"!==r.version&&oUt(a,"ipv6",r.message,t);break;case"base64url":iUt(a,NUt.base64url,r.message,t);break;case"jwt":iUt(a,NUt.jwt,r.message,t);break;case"cidr":"v6"!==r.version&&iUt(a,NUt.ipv4Cidr,r.message,t),"v4"!==r.version&&iUt(a,NUt.ipv6Cidr,r.message,t);break;case"emoji":iUt(a,NUt.emoji(),r.message,t);break;case"ulid":iUt(a,NUt.ulid,r.message,t);break;case"base64":switch(t.base64Strategy){case"format:binary":oUt(a,"binary",r.message,t);break;case"contentEncoding:base64":a.contentEncoding="base64";break;case"pattern:zod":iUt(a,NUt.base64,r.message,t)}break;case"nanoid":iUt(a,NUt.nanoid,r.message,t)}return a}function nUt(e,t){return"escape"===t.patternStrategy?function(e){let t="";for(let a=0;a<e.length;a++)IUt.has(e[a])||(t+="\\"),t+=e[a];return t}(e):e}function oUt(e,t,a,r){e.format||e.anyOf?.some(e=>e.format)?(e.anyOf||=[],e.format&&(e.anyOf.push({format:e.format}),delete e.format),e.anyOf.push({format:t,...a&&r.errorMessages&&{errorMessage:{format:a}}})):e.format=t}function iUt(e,t,a,r){e.pattern||e.allOf?.some(e=>e.pattern)?(e.allOf||=[],e.pattern&&(e.allOf.push({pattern:e.pattern}),delete e.pattern),e.allOf.push({pattern:sUt(t,r),...a&&r.errorMessages&&{errorMessage:{pattern:a}}})):e.pattern=sUt(t,r)}function sUt(e,t){if(!t.applyRegexFlags||!e.flags)return e.source;let a=e.flags.includes("i"),r=e.flags.includes("m"),n=e.flags.includes("s"),o=a?e.source.toLowerCase():e.source,i="",s=!1,l=!1,c=!1;for(let e=0;e<o.length;e++)if(s)i+=o[e],s=!1;else{if(a)if(l){if(o[e].match(/[a-z]/)){c?(i+=o[e],i+=`${o[e-2]}-${o[e]}`.toUpperCase(),c=!1):"-"===o[e+1]&&o[e+2]?.match(/[a-z]/)?(i+=o[e],c=!0):i+=`${o[e]}${o[e].toUpperCase()}`;continue}}else if(o[e].match(/[a-z]/)){i+=`[${o[e]}${o[e].toUpperCase()}]`;continue}if(r){if("^"===o[e]){i+="(^|(?<=[\r\n]))";continue}if("$"===o[e]){i+="($|(?=[\r\n]))";continue}}n&&"."===o[e]?i+=l?`${o[e]}\r\n`:`[${o[e]}\r\n]`:(i+=o[e],"\\"===o[e]?s=!0:l&&"]"===o[e]?l=!1:!l&&"["===o[e]&&(l=!0))}try{new RegExp(i)}catch{return console.warn(`Could not convert regex pattern at ${t.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),e.source}return i}function lUt(e,t){let a={type:"object",additionalProperties:dUt(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??t.allowedAdditionalProperties};if(e.keyType?._def.typeName===Bjt.ZodString&&e.keyType._def.checks?.length){let{type:r,...n}=rUt(e.keyType._def,t);return{...a,propertyNames:n}}if(e.keyType?._def.typeName===Bjt.ZodEnum)return{...a,propertyNames:{enum:e.keyType._def.values}};if(e.keyType?._def.typeName===Bjt.ZodBranded&&e.keyType._def.type._def.typeName===Bjt.ZodString&&e.keyType._def.type._def.checks?.length){let{type:r,...n}=tUt(e.keyType._def,t);return{...a,propertyNames:n}}return a}function cUt(e,t){let a={type:"object",properties:{}},r=[],n=e.shape();for(let e in n){let o=n[e];if(void 0===o||void 0===o._def)continue;let i=uUt(o),s=dUt(o._def,{...t,currentPath:[...t.currentPath,"properties",e],propertyPath:[...t.currentPath,"properties",e]});void 0!==s&&(a.properties[e]=s,i||r.push(e))}r.length&&(a.required=r);let o=function(e,t){if("ZodNever"!==e.catchall._def.typeName)return dUt(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]});switch(e.unknownKeys){case"passthrough":return t.allowedAdditionalProperties;case"strict":return t.rejectedAdditionalProperties;case"strip":return"strict"===t.removeAdditionalStrategy?t.allowedAdditionalProperties:t.rejectedAdditionalProperties}}(e,t);return void 0!==o&&(a.additionalProperties=o),a}function uUt(e){try{return e.isOptional()}catch{return!0}}function dUt(e,t,a=!1){let r=t.seen.get(e);if(t.override){let n=t.override?.call(t,e,t,r,a);if(n!==_Ut)return n}if(r&&!a){let e=HUt(r,t);if(void 0!==e)return e}let n={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,n);let o=UUt(e,e.typeName,t),i="function"==typeof o?dUt(o(),t):o;if(i&&ZUt(e,t,i),t.postProcess){let a=t.postProcess(i,e,t);return n.jsonSchema=i,a}return n.jsonSchema=i,i}function pUt(e,{validate:t}={}){return{[qUt]:!0,_type:void 0,get jsonSchema(){return"function"==typeof e&&(e=e()),e},validate:t}}function hUt(e){return null==e?pUt({properties:{},additionalProperties:!1}):function(e){return"object"==typeof e&&!!e&&qUt in e&&!0===e[qUt]&&"jsonSchema"in e&&"validate"in e}(e)?e:"~standard"in e?"zod"===e["~standard"].vendor?fUt(e):function(e){return pUt(()=>Jjt(e["~standard"].jsonSchema.input({target:"draft-07"})),{validate:async t=>{let a=await e["~standard"].validate(t);return"value"in a?{success:!0,value:a.value}:{success:!1,error:new GLt({value:t,cause:a.issues})}}})}(e):e()}function mUt(e,t){let a=t?.useReferences??!1;return pUt(()=>Jjt(function(e,t){if("_idmap"in e){let a=e,r=d7e({...t,processors:n9e}),n={};for(let e of a._idmap.entries()){let[t,a]=e;p7e(a,r)}let o={};r.external={registry:a,uri:t?.uri,defs:n};for(let e of a._idmap.entries()){let[t,a]=e;h7e(r,a),o[t]=m7e(r,a)}return Object.keys(n).length>0&&(o.__shared={["draft-2020-12"===r.target?"$defs":"definitions"]:n}),{schemas:o}}let a=d7e({...t,processors:n9e});return p7e(e,a),h7e(a,e),m7e(a,e)}(e,{target:"draft-7",io:"input",reused:a?"ref":"inline"})),{validate:async t=>{let a=await x9e(e,t);return a.success?{success:!0,value:a.data}:{success:!1,error:a.error}}})}function fUt(e,t){return function(e){return"_zod"in e}(e)?mUt(e,t):function(e,t){let a=t?.useReferences??!1;return pUt(()=>QUt(e,{$refStrategy:a?"root":"none"}),{validate:async t=>{let a=await e.safeParseAsync(t);return a.success?{success:!0,value:a.data}:{success:!1,error:a.error}}})}(e,t)}async function gUt({value:e,schema:t}){let a=await vUt({value:e,schema:t});if(!a.success)throw GLt.wrap({value:e,cause:a.error});return a.value}async function vUt({value:e,schema:t}){let a=hUt(t);try{if(null==a.validate)return{success:!0,value:e,rawValue:e};let t=await a.validate(e);return t.success?{success:!0,value:t.value,rawValue:e}:{success:!1,error:GLt.wrap({value:e,cause:t.error}),rawValue:e}}catch(t){return{success:!1,error:GLt.wrap({value:e,cause:t}),rawValue:e}}}async function bUt({text:e,schema:t}){try{let a=function(e){let{stackTraceLimit:t}=Error;try{Error.stackTraceLimit=0}catch{return Kjt(e)}try{return Kjt(e)}finally{Error.stackTraceLimit=t}}(e);return null==t?{success:!0,value:a,rawValue:a}:await vUt({value:a,schema:t})}catch(t){return{success:!1,error:VLt.isInstance(t)?t:new VLt({text:e,cause:t}),rawValue:void 0}}}async function yUt(e){return"function"==typeof e&&(e=e()),Promise.resolve(e)}var OUt,xUt,wUt,kUt,SUt,AUt,_Ut,TUt,EUt,CUt,PUt,MUt,$Ut,NUt,IUt,RUt,DUt,LUt,BUt,jUt,UUt,zUt,HUt,ZUt,VUt,QUt,qUt,FUt=V(()=>{nBt(),iBt(),zjt(),Fjt(),Wjt(),({btoa:OUt,atob:xUt}=globalThis),wUt=({prefix:e,size:t=16,alphabet:a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:r="-"}={})=>{let n=()=>{let e=a.length,r=Array(t);for(let n=0;n<t;n++)r[n]=a[Math.random()*e|0];return r.join("")};if(null==e)return n;if(a.includes(r))throw new BLt({argument:"separator",message:`The separator "${r}" must not be part of the alphabet "${a}".`});return()=>`${e}${r}${n()}`},kUt=wUt(),SUt=/"__proto__"\s*:/,AUt=/"constructor"\s*:/,_Ut=Symbol("Let zodToJsonSchema decide on which parser to use"),TUt={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},EUt=e=>"string"==typeof e?{...TUt,name:e}:{...TUt,...e},CUt=(e,t)=>dUt(e.innerType._def,t),PUt=e=>{let t={type:"integer",format:"unix-time"};for(let a of e.checks)switch(a.kind){case"min":t.minimum=a.value;break;case"max":t.maximum=a.value}return t},MUt=e=>(!("type"in e)||"string"!==e.type)&&"allOf"in e,$Ut=void 0,NUt={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(void 0===$Ut&&($Ut=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),$Ut),uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/},IUt=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789"),RUt={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"},DUt=(e,t)=>{let a=(e.options instanceof Map?Array.from(e.options.values()):e.options).map((e,a)=>dUt(e._def,{...t,currentPath:[...t.currentPath,"anyOf",`${a}`]})).filter(e=>!!e&&(!t.strictUnions||"object"==typeof e&&Object.keys(e).length>0));return a.length?{anyOf:a}:void 0},LUt=(e,t)=>{if(t.currentPath.toString()===t.propertyPath?.toString())return dUt(e.innerType._def,t);let a=dUt(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","1"]});return a?{anyOf:[{not:{}},a]}:{}},BUt=(e,t)=>{if("input"===t.pipeStrategy)return dUt(e.in._def,t);if("output"===t.pipeStrategy)return dUt(e.out._def,t);let a=dUt(e.in._def,{...t,currentPath:[...t.currentPath,"allOf","0"]});return{allOf:[a,dUt(e.out._def,{...t,currentPath:[...t.currentPath,"allOf",a?"1":"0"]})].filter(e=>void 0!==e)}},jUt=(e,t)=>dUt(e.innerType._def,t),UUt=(e,t,a)=>{switch(t){case Bjt.ZodString:return rUt(e,a);case Bjt.ZodNumber:return function(e){let t={type:"number"};if(!e.checks)return t;for(let a of e.checks)switch(a.kind){case"int":t.type="integer";break;case"min":a.inclusive?t.minimum=a.value:t.exclusiveMinimum=a.value;break;case"max":a.inclusive?t.maximum=a.value:t.exclusiveMaximum=a.value;break;case"multipleOf":t.multipleOf=a.value}return t}(e);case Bjt.ZodObject:return cUt(e,a);case Bjt.ZodBigInt:return function(e){let t={type:"integer",format:"int64"};if(!e.checks)return t;for(let a of e.checks)switch(a.kind){case"min":a.inclusive?t.minimum=a.value:t.exclusiveMinimum=a.value;break;case"max":a.inclusive?t.maximum=a.value:t.exclusiveMaximum=a.value;break;case"multipleOf":t.multipleOf=a.value}return t}(e);case Bjt.ZodBoolean:return{type:"boolean"};case Bjt.ZodDate:return aUt(e,a);case Bjt.ZodUndefined:return{not:{}};case Bjt.ZodNull:return{type:"null"};case Bjt.ZodArray:return function(e,t){let a={type:"array"};return e.type?._def&&e.type?._def?.typeName!==Bjt.ZodAny&&(a.items=dUt(e.type._def,{...t,currentPath:[...t.currentPath,"items"]})),e.minLength&&(a.minItems=e.minLength.value),e.maxLength&&(a.maxItems=e.maxLength.value),e.exactLength&&(a.minItems=e.exactLength.value,a.maxItems=e.exactLength.value),a}(e,a);case Bjt.ZodUnion:case Bjt.ZodDiscriminatedUnion:return function(e,t){let a=e.options instanceof Map?Array.from(e.options.values()):e.options;if(a.every(e=>e._def.typeName in RUt&&(!e._def.checks||!e._def.checks.length))){let e=a.reduce((e,t)=>{let a=RUt[t._def.typeName];return a&&!e.includes(a)?[...e,a]:e},[]);return{type:e.length>1?e:e[0]}}if(a.every(e=>"ZodLiteral"===e._def.typeName&&!e.description)){let e=a.reduce((e,t)=>{let a=typeof t._def.value;switch(a){case"string":case"number":case"boolean":return[...e,a];case"bigint":return[...e,"integer"];case"object":if(null===t._def.value)return[...e,"null"];default:return e}},[]);if(e.length===a.length){let t=e.filter((e,t,a)=>a.indexOf(e)===t);return{type:t.length>1?t:t[0],enum:a.reduce((e,t)=>e.includes(t._def.value)?e:[...e,t._def.value],[])}}}else if(a.every(e=>"ZodEnum"===e._def.typeName))return{type:"string",enum:a.reduce((e,t)=>[...e,...t._def.values.filter(t=>!e.includes(t))],[])};return DUt(e,t)}(e,a);case Bjt.ZodIntersection:return function(e,t){let a=[dUt(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),dUt(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter(e=>!!e),r=[];return a.forEach(e=>{if(MUt(e))r.push(...e.allOf);else{let t=e;if("additionalProperties"in e&&!1===e.additionalProperties){let{additionalProperties:a,...r}=e;t=r}r.push(t)}}),r.length?{allOf:r}:void 0}(e,a);case Bjt.ZodTuple:return function(e,t){return e.rest?{type:"array",minItems:e.items.length,items:e.items.map((e,a)=>dUt(e._def,{...t,currentPath:[...t.currentPath,"items",`${a}`]})).reduce((e,t)=>void 0===t?e:[...e,t],[]),additionalItems:dUt(e.rest._def,{...t,currentPath:[...t.currentPath,"additionalItems"]})}:{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map((e,a)=>dUt(e._def,{...t,currentPath:[...t.currentPath,"items",`${a}`]})).reduce((e,t)=>void 0===t?e:[...e,t],[])}}(e,a);case Bjt.ZodRecord:return lUt(e,a);case Bjt.ZodLiteral:return function(e){let t=typeof e.value;return"bigint"!==t&&"number"!==t&&"boolean"!==t&&"string"!==t?{type:Array.isArray(e.value)?"array":"object"}:{type:"bigint"===t?"integer":t,const:e.value}}(e);case Bjt.ZodEnum:return function(e){return{type:"string",enum:Array.from(e.values)}}(e);case Bjt.ZodNativeEnum:return function(e){let t=e.values,a=Object.keys(e.values).filter(e=>"number"!=typeof t[t[e]]).map(e=>t[e]),r=Array.from(new Set(a.map(e=>typeof e)));return{type:1===r.length?"string"===r[0]?"string":"number":["string","number"],enum:a}}(e);case Bjt.ZodNullable:return function(e,t){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length))return{type:[RUt[e.innerType._def.typeName],"null"]};let a=dUt(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","0"]});return a&&{anyOf:[a,{type:"null"}]}}(e,a);case Bjt.ZodOptional:return LUt(e,a);case Bjt.ZodMap:return function(e,t){return"record"===t.mapStrategy?lUt(e,t):{type:"array",maxItems:125,items:{type:"array",items:[dUt(e.keyType._def,{...t,currentPath:[...t.currentPath,"items","items","0"]})||{},dUt(e.valueType._def,{...t,currentPath:[...t.currentPath,"items","items","1"]})||{}],minItems:2,maxItems:2}}}(e,a);case Bjt.ZodSet:return function(e,t){let a={type:"array",uniqueItems:!0,items:dUt(e.valueType._def,{...t,currentPath:[...t.currentPath,"items"]})};return e.minSize&&(a.minItems=e.minSize.value),e.maxSize&&(a.maxItems=e.maxSize.value),a}(e,a);case Bjt.ZodLazy:return()=>e.getter()._def;case Bjt.ZodPromise:return function(e,t){return dUt(e.type._def,t)}(e,a);case Bjt.ZodNaN:case Bjt.ZodNever:return{not:{}};case Bjt.ZodEffects:return function(e,t){return"input"===t.effectStrategy?dUt(e.schema._def,t):{}}(e,a);case Bjt.ZodAny:case Bjt.ZodUnknown:return{};case Bjt.ZodDefault:return function(e,t){return{...dUt(e.innerType._def,t),default:e.defaultValue()}}(e,a);case Bjt.ZodBranded:return tUt(e,a);case Bjt.ZodReadonly:return jUt(e,a);case Bjt.ZodCatch:return CUt(e,a);case Bjt.ZodPipeline:return BUt(e,a);case Bjt.ZodFunction:case Bjt.ZodVoid:case Bjt.ZodSymbol:default:return}},zUt=(e,t)=>{let a=0;for(;a<e.length&&a<t.length&&e[a]===t[a];a++);return[(e.length-a).toString(),...t.slice(a)].join("/")},HUt=(e,t)=>{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:zUt(t.currentPath,e.path)};case"none":case"seen":return e.path.length<t.currentPath.length&&e.path.every((e,a)=>t.currentPath[a]===e)?(console.warn(`Recursive reference detected at ${t.currentPath.join("/")}! Defaulting to any`),{}):"seen"===t.$refStrategy?{}:void 0}},ZUt=(e,t,a)=>(e.description&&(a.description=e.description),a),VUt=e=>{let t=EUt(e),a=void 0===t.name?t.basePath:[...t.basePath,t.definitionPath,t.name];return{...t,currentPath:a,propertyPath:void 0,seen:new Map(Object.entries(t.definitions).map(([e,a])=>[a._def,{def:a._def,path:[...t.basePath,t.definitionPath,e],jsonSchema:void 0}]))}},QUt=(e,t)=>{let a=VUt(t),r="object"==typeof t&&t.definitions?Object.entries(t.definitions).reduce((e,[t,r])=>({...e,[t]:dUt(r._def,{...a,currentPath:[...a.basePath,a.definitionPath,t]},!0)??{}}),{}):void 0,n="string"==typeof t?t:"title"===t?.nameStrategy?void 0:t?.name,o=dUt(e._def,void 0===n?a:{...a,currentPath:[...a.basePath,a.definitionPath,n]},!1)??{},i="object"==typeof t&&void 0!==t.name&&"title"===t.nameStrategy?t.name:void 0;void 0!==i&&(o.title=i);let s=void 0===n?r?{...o,[a.definitionPath]:r}:o:{$ref:[..."relative"===a.$refStrategy?[]:a.basePath,a.definitionPath,n].join("/"),[a.definitionPath]:{...r,[n]:o}};return s.$schema="http://json-schema.org/draft-07/schema#",s},qUt=Symbol.for("vercel.ai.schema")});function WUt(e,t){if(void 0===e&&void 0===t)return;if(void 0===e)return t;if(void 0===t)return e;let a={...e};for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)){let n=t[r];if(void 0===n)continue;let o=r in e?e[r]:void 0,i=!("object"!=typeof n||!n||Array.isArray(n)||n instanceof Date||n instanceof RegExp),s=!("object"!=typeof o||!o||Array.isArray(o)||o instanceof Date||o instanceof RegExp);a[r]=i&&s?WUt(o,n):n}return a}function XUt(e){let t=["ROOT"],a=-1,r=null;function n(e,n,o){switch(e){case'"':a=n,t.pop(),t.push(o),t.push("INSIDE_STRING");break;case"f":case"t":case"n":a=n,r=n,t.pop(),t.push(o),t.push("INSIDE_LITERAL");break;case"-":t.pop(),t.push(o),t.push("INSIDE_NUMBER");break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":a=n,t.pop(),t.push(o),t.push("INSIDE_NUMBER");break;case"{":a=n,t.pop(),t.push(o),t.push("INSIDE_OBJECT_START");break;case"[":a=n,t.pop(),t.push(o),t.push("INSIDE_ARRAY_START")}}function o(e,r){switch(e){case",":t.pop(),t.push("INSIDE_OBJECT_AFTER_COMMA");break;case"}":a=r,t.pop()}}function i(e,r){switch(e){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":a=r,t.pop()}}for(let s=0;s<e.length;s++){let l=e[s];switch(t[t.length-1]){case"ROOT":n(l,s,"FINISH");break;case"INSIDE_OBJECT_START":switch(l){case'"':t.pop(),t.push("INSIDE_OBJECT_KEY");break;case"}":a=s,t.pop()}break;case"INSIDE_OBJECT_AFTER_COMMA":if('"'===l)t.pop(),t.push("INSIDE_OBJECT_KEY");break;case"INSIDE_OBJECT_KEY":if('"'===l)t.pop(),t.push("INSIDE_OBJECT_AFTER_KEY");break;case"INSIDE_OBJECT_AFTER_KEY":if(":"===l)t.pop(),t.push("INSIDE_OBJECT_BEFORE_VALUE");break;case"INSIDE_OBJECT_BEFORE_VALUE":n(l,s,"INSIDE_OBJECT_AFTER_VALUE");break;case"INSIDE_OBJECT_AFTER_VALUE":o(l,s);break;case"INSIDE_STRING":switch(l){case'"':t.pop(),a=s;break;case"\\":t.push("INSIDE_STRING_ESCAPE");break;default:a=s}break;case"INSIDE_ARRAY_START":if("]"===l)a=s,t.pop();else a=s,n(l,s,"INSIDE_ARRAY_AFTER_VALUE");break;case"INSIDE_ARRAY_AFTER_VALUE":switch(l){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":a=s,t.pop();break;default:a=s}break;case"INSIDE_ARRAY_AFTER_COMMA":n(l,s,"INSIDE_ARRAY_AFTER_VALUE");break;case"INSIDE_STRING_ESCAPE":t.pop(),a=s;break;case"INSIDE_NUMBER":switch(l){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":a=s;break;case"e":case"E":case"-":case".":break;case",":t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&i(l,s),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&o(l,s);break;case"}":t.pop(),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&o(l,s);break;case"]":t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&i(l,s);break;default:t.pop()}break;case"INSIDE_LITERAL":{let n=e.substring(r,s+1);"false".startsWith(n)||"true".startsWith(n)||"null".startsWith(n)?a=s:(t.pop(),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]?o(l,s):"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&i(l,s));break}}}let s=e.slice(0,a+1);for(let a=t.length-1;a>=0;a--)switch(t[a]){case"INSIDE_STRING":s+='"';break;case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":s+="}";break;case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":s+="]";break;case"INSIDE_LITERAL":{let t=e.substring(r,e.length);"true".startsWith(t)?s+="true".slice(t.length):"false".startsWith(t)?s+="false".slice(t.length):"null".startsWith(t)&&(s+="null".slice(t.length))}}return s}async function GUt(e){if(void 0===e)return{value:void 0,state:"undefined-input"};let t=await bUt({text:e});return t.success?{value:t.value,state:"successful-parse"}:(t=await bUt({text:XUt(e)}),t.success?{value:t.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"})}function YUt(e){return e.type.startsWith("tool-")}function KUt(e){return YUt(e)||function(e){return"dynamic-tool"===e.type}(e)}function JUt(e){return e.type.split("-").slice(1).join("-")}function ezt({lastMessage:e,messageId:t}){return{message:"assistant"===e?.role?e:{id:t,metadata:void 0,role:"assistant",parts:[]},activeTextParts:{},activeReasoningParts:{},partialToolCalls:{}}}function tzt({stream:e,messageMetadataSchema:t,dataPartSchemas:a,runUpdateMessageJob:r,onError:n,onToolCall:o,onData:i}){return e.pipeThrough(new TransformStream({async transform(e,s){await r(async({state:r,write:l})=>{function c(e){let t=r.message.parts.filter(KUt).find(t=>t.toolCallId===e);if(null==t)throw Error(`no tool invocation found for tool call ${e}`);return t}function u(e){let t=r.message.parts.find(t=>YUt(t)&&t.toolCallId===e.toolCallId),a=e,n=t;null==t?r.message.parts.push({type:`tool-${e.toolName}`,toolCallId:e.toolCallId,state:e.state,title:e.title,input:a.input,output:a.output,rawInput:a.rawInput,errorText:a.errorText,providerExecuted:a.providerExecuted,preliminary:a.preliminary,...null==a.providerMetadata?{}:{callProviderMetadata:a.providerMetadata}}):(t.state=e.state,n.input=a.input,n.output=a.output,n.errorText=a.errorText,n.rawInput=a.rawInput,n.preliminary=a.preliminary,void 0!==e.title&&(n.title=e.title),n.providerExecuted=a.providerExecuted??t.providerExecuted,null!=a.providerMetadata&&"input-available"===t.state&&(t.callProviderMetadata=a.providerMetadata))}function d(e){let t=r.message.parts.find(t=>"dynamic-tool"===t.type&&t.toolCallId===e.toolCallId),a=e,n=t;null==t?r.message.parts.push({type:"dynamic-tool",toolName:e.toolName,toolCallId:e.toolCallId,state:e.state,input:a.input,output:a.output,errorText:a.errorText,preliminary:a.preliminary,providerExecuted:a.providerExecuted,title:e.title,...null==a.providerMetadata?{}:{callProviderMetadata:a.providerMetadata}}):(t.state=e.state,n.toolName=e.toolName,n.input=a.input,n.output=a.output,n.errorText=a.errorText,n.rawInput=a.rawInput??n.rawInput,n.preliminary=a.preliminary,void 0!==e.title&&(n.title=e.title),n.providerExecuted=a.providerExecuted??t.providerExecuted,null!=a.providerMetadata&&"input-available"===t.state&&(t.callProviderMetadata=a.providerMetadata))}async function p(e){if(null!=e){let a=null==r.message.metadata?e:WUt(r.message.metadata,e);null!=t&&await gUt({value:a,schema:t}),r.message.metadata=a}}switch(e.type){case"text-start":{let t={type:"text",text:"",providerMetadata:e.providerMetadata,state:"streaming"};r.activeTextParts[e.id]=t,r.message.parts.push(t),l();break}case"text-delta":{let t=r.activeTextParts[e.id];t.text+=e.delta,t.providerMetadata=e.providerMetadata??t.providerMetadata,l();break}case"text-end":{let t=r.activeTextParts[e.id];t.state="done",t.providerMetadata=e.providerMetadata??t.providerMetadata,delete r.activeTextParts[e.id],l();break}case"reasoning-start":{let t={type:"reasoning",text:"",providerMetadata:e.providerMetadata,state:"streaming"};r.activeReasoningParts[e.id]=t,r.message.parts.push(t),l();break}case"reasoning-delta":{let t=r.activeReasoningParts[e.id];t.text+=e.delta,t.providerMetadata=e.providerMetadata??t.providerMetadata,l();break}case"reasoning-end":{let t=r.activeReasoningParts[e.id];t.providerMetadata=e.providerMetadata??t.providerMetadata,t.state="done",delete r.activeReasoningParts[e.id],l();break}case"file":r.message.parts.push({type:"file",mediaType:e.mediaType,url:e.url}),l();break;case"source-url":r.message.parts.push({type:"source-url",sourceId:e.sourceId,url:e.url,title:e.title,providerMetadata:e.providerMetadata}),l();break;case"source-document":r.message.parts.push({type:"source-document",sourceId:e.sourceId,mediaType:e.mediaType,title:e.title,filename:e.filename,providerMetadata:e.providerMetadata}),l();break;case"tool-input-start":{let t=r.message.parts.filter(YUt);r.partialToolCalls[e.toolCallId]={text:"",toolName:e.toolName,index:t.length,dynamic:e.dynamic,title:e.title},e.dynamic?d({toolCallId:e.toolCallId,toolName:e.toolName,state:"input-streaming",input:void 0,providerExecuted:e.providerExecuted,title:e.title}):u({toolCallId:e.toolCallId,toolName:e.toolName,state:"input-streaming",input:void 0,providerExecuted:e.providerExecuted,title:e.title}),l();break}case"tool-input-delta":{let t=r.partialToolCalls[e.toolCallId];t.text+=e.inputTextDelta;let{value:a}=await GUt(t.text);t.dynamic?d({toolCallId:e.toolCallId,toolName:t.toolName,state:"input-streaming",input:a,title:t.title}):u({toolCallId:e.toolCallId,toolName:t.toolName,state:"input-streaming",input:a,title:t.title}),l();break}case"tool-input-available":e.dynamic?d({toolCallId:e.toolCallId,toolName:e.toolName,state:"input-available",input:e.input,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata,title:e.title}):u({toolCallId:e.toolCallId,toolName:e.toolName,state:"input-available",input:e.input,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata,title:e.title}),l(),o&&!e.providerExecuted&&await o({toolCall:e});break;case"tool-input-error":e.dynamic?d({toolCallId:e.toolCallId,toolName:e.toolName,state:"output-error",input:e.input,errorText:e.errorText,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata}):u({toolCallId:e.toolCallId,toolName:e.toolName,state:"output-error",input:void 0,rawInput:e.input,errorText:e.errorText,providerExecuted:e.providerExecuted,providerMetadata:e.providerMetadata}),l();break;case"tool-approval-request":{let t=c(e.toolCallId);t.state="approval-requested",t.approval={id:e.approvalId},l();break}case"tool-output-denied":c(e.toolCallId).state="output-denied",l();break;case"tool-output-available":{let t=c(e.toolCallId);"dynamic-tool"===t.type?d({toolCallId:e.toolCallId,toolName:t.toolName,state:"output-available",input:t.input,output:e.output,preliminary:e.preliminary,providerExecuted:e.providerExecuted,title:t.title}):u({toolCallId:e.toolCallId,toolName:JUt(t),state:"output-available",input:t.input,output:e.output,providerExecuted:e.providerExecuted,preliminary:e.preliminary,title:t.title}),l();break}case"tool-output-error":{let t=c(e.toolCallId);"dynamic-tool"===t.type?d({toolCallId:e.toolCallId,toolName:t.toolName,state:"output-error",input:t.input,errorText:e.errorText,providerExecuted:e.providerExecuted,title:t.title}):u({toolCallId:e.toolCallId,toolName:JUt(t),state:"output-error",input:t.input,rawInput:t.rawInput,errorText:e.errorText,providerExecuted:e.providerExecuted,title:t.title}),l();break}case"start-step":r.message.parts.push({type:"step-start"});break;case"finish-step":r.activeTextParts={},r.activeReasoningParts={};break;case"start":null!=e.messageId&&(r.message.id=e.messageId),await p(e.messageMetadata),(null!=e.messageId||null!=e.messageMetadata)&&l();break;case"finish":null!=e.finishReason&&(r.finishReason=e.finishReason),await p(e.messageMetadata),null!=e.messageMetadata&&l();break;case"message-metadata":await p(e.messageMetadata),null!=e.messageMetadata&&l();break;case"error":n?.(Error(e.errorText));break;default:if(function(e){return e.type.startsWith("data-")}(e)){null!=a?.[e.type]&&await gUt({value:e.data,schema:a[e.type]});let t=e;if(t.transient){i?.(t);break}let n=null==t.id?void 0:r.message.parts.find(e=>t.type===e.type&&t.id===e.id);null==n?r.message.parts.push(t):n.data=t.data,i?.(t),l()}}s.enqueue(e)})}}))}async function azt(e){if(null==e)return[];if(!(globalThis.FileList&&e instanceof globalThis.FileList))throw Error("FileList is not supported in the current environment");return Promise.all(Array.from(e).map(async e=>{let{name:t,type:a}=e;return{type:"file",mediaType:a,filename:t,url:await new Promise((t,a)=>{let r=new FileReader;r.onload=e=>{t(e.target?.result)},r.onerror=e=>a(e),r.readAsDataURL(e)})}}))}function rzt({messages:e}){let t=e[e.length-1];if(!t||"assistant"!==t.role)return!1;let a=t.parts.reduce((e,t,a)=>"step-start"===t.type?a:e,-1),r=t.parts.slice(a+1).filter(KUt).filter(e=>!e.providerExecuted);return r.length>0&&r.every(e=>"output-available"===e.state||"output-error"===e.state)}var nzt,ozt,izt,szt,lzt,czt,uzt,dzt,pzt,hzt,mzt,fzt,gzt,vzt,bzt,yzt,Ozt,xzt,wzt,kzt,Szt,Azt,_zt,Tzt,Ezt,Czt,Pzt,Mzt,$zt,Nzt,Izt,Rzt,Dzt,Lzt,Bzt=V(()=>{FUt(),nBt(),iBt(),nzt=Object.defineProperty,ozt=(e,t)=>{for(var a in t)nzt(e,a,{get:t[a],enumerable:!0})},szt=`vercel.ai.error.${izt="AI_NoObjectGeneratedError"}`,lzt=Symbol.for(szt),uzt=class extends $Lt{constructor({message:e="No object generated.",cause:t,text:a,response:r,usage:n,finishReason:o}){super({name:izt,message:e,cause:t}),this[czt]=!0,this.text=a,this.response=r,this.usage=n,this.finishReason=o}static isInstance(e){return $Lt.hasMarker(e,szt)}},czt=lzt,dzt="6.0.33",pzt=Z9e([N9e(),J9e(Uint8Array),J9e(ArrayBuffer),Y9e(e=>globalThis.Buffer?.isBuffer(e)??!1,{message:"Must be a Buffer"})]),hzt=function(e){return new Xet({type:"lazy",getter:e})}(()=>Z9e([L9e(),N9e(),I9e(),D9e(),Q9e(N9e(),hzt.optional()),U9e(hzt)])),mzt=Q9e(N9e(),Q9e(N9e(),hzt.optional())),fzt=z9e({type:F9e("text"),text:N9e(),providerOptions:mzt.optional()}),gzt=z9e({type:F9e("image"),image:Z9e([pzt,J9e(URL)]),mediaType:N9e().optional(),providerOptions:mzt.optional()}),vzt=z9e({type:F9e("file"),data:Z9e([pzt,J9e(URL)]),filename:N9e().optional(),mediaType:N9e(),providerOptions:mzt.optional()}),bzt=z9e({type:F9e("reasoning"),text:N9e(),providerOptions:mzt.optional()}),yzt=z9e({type:F9e("tool-call"),toolCallId:N9e(),toolName:N9e(),input:B9e(),providerOptions:mzt.optional(),providerExecuted:D9e().optional()}),Ozt=V9e("type",[z9e({type:F9e("text"),value:N9e(),providerOptions:mzt.optional()}),z9e({type:F9e("json"),value:hzt,providerOptions:mzt.optional()}),z9e({type:F9e("execution-denied"),reason:N9e().optional(),providerOptions:mzt.optional()}),z9e({type:F9e("error-text"),value:N9e(),providerOptions:mzt.optional()}),z9e({type:F9e("error-json"),value:hzt,providerOptions:mzt.optional()}),z9e({type:F9e("content"),value:U9e(Z9e([z9e({type:F9e("text"),text:N9e(),providerOptions:mzt.optional()}),z9e({type:F9e("media"),data:N9e(),mediaType:N9e()}),z9e({type:F9e("file-data"),data:N9e(),mediaType:N9e(),filename:N9e().optional(),providerOptions:mzt.optional()}),z9e({type:F9e("file-url"),url:N9e(),providerOptions:mzt.optional()}),z9e({type:F9e("file-id"),fileId:Z9e([N9e(),Q9e(N9e(),N9e())]),providerOptions:mzt.optional()}),z9e({type:F9e("image-data"),data:N9e(),mediaType:N9e(),providerOptions:mzt.optional()}),z9e({type:F9e("image-url"),url:N9e(),providerOptions:mzt.optional()}),z9e({type:F9e("image-file-id"),fileId:Z9e([N9e(),Q9e(N9e(),N9e())]),providerOptions:mzt.optional()}),z9e({type:F9e("custom"),providerOptions:mzt.optional()})]))})]),xzt=z9e({type:F9e("tool-result"),toolCallId:N9e(),toolName:N9e(),output:Ozt,providerOptions:mzt.optional()}),wzt=z9e({type:F9e("tool-approval-request"),approvalId:N9e(),toolCallId:N9e()}),kzt=z9e({type:F9e("tool-approval-response"),approvalId:N9e(),approved:D9e(),reason:N9e().optional()}),Szt=z9e({role:F9e("system"),content:N9e(),providerOptions:mzt.optional()}),Azt=z9e({role:F9e("user"),content:Z9e([N9e(),U9e(Z9e([fzt,gzt,vzt]))]),providerOptions:mzt.optional()}),_zt=z9e({role:F9e("assistant"),content:Z9e([N9e(),U9e(Z9e([fzt,vzt,bzt,yzt,xzt,wzt]))]),providerOptions:mzt.optional()}),Tzt=z9e({role:F9e("tool"),content:U9e(Z9e([xzt,kzt])),providerOptions:mzt.optional()}),Z9e([Szt,Azt,_zt,Tzt]),ozt({},{array:()=>Pzt,choice:()=>Mzt,json:()=>$zt,object:()=>Czt,text:()=>Ezt}),Ezt=()=>({name:"text",responseFormat:Promise.resolve({type:"text"}),parseCompleteOutput:async({text:e})=>e,parsePartialOutput:async({text:e})=>({partial:e}),createElementStreamTransform(){}}),Czt=({schema:e,name:t,description:a})=>{let r=hUt(e);return{name:"object",responseFormat:yUt(r.jsonSchema).then(e=>({type:"json",schema:e,...null!=t&&{name:t},...null!=a&&{description:a}})),async parseCompleteOutput({text:e},t){let a=await bUt({text:e});if(!a.success)throw new uzt({message:"No object generated: could not parse the response.",cause:a.error,text:e,response:t.response,usage:t.usage,finishReason:t.finishReason});let n=await vUt({value:a.value,schema:r});if(!n.success)throw new uzt({message:"No object generated: response did not match schema.",cause:n.error,text:e,response:t.response,usage:t.usage,finishReason:t.finishReason});return n.value},async parsePartialOutput({text:e}){let t=await GUt(e);switch(t.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return{partial:t.value}}},createElementStreamTransform(){}}},Pzt=({element:e,name:t,description:a})=>{let r=hUt(e);return{name:"array",responseFormat:yUt(r.jsonSchema).then(e=>{let{$schema:r,...n}=e;return{type:"json",schema:{$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{elements:{type:"array",items:n}},required:["elements"],additionalProperties:!1},...null!=t&&{name:t},...null!=a&&{description:a}}}),async parseCompleteOutput({text:e},t){let a=await bUt({text:e});if(!a.success)throw new uzt({message:"No object generated: could not parse the response.",cause:a.error,text:e,response:t.response,usage:t.usage,finishReason:t.finishReason});let n=a.value;if("object"!=typeof n||!n||!("elements"in n)||!Array.isArray(n.elements))throw new uzt({message:"No object generated: response did not match schema.",cause:new GLt({value:n,cause:"response must be an object with an elements array"}),text:e,response:t.response,usage:t.usage,finishReason:t.finishReason});for(let a of n.elements){let n=await vUt({value:a,schema:r});if(!n.success)throw new uzt({message:"No object generated: response did not match schema.",cause:n.error,text:e,response:t.response,usage:t.usage,finishReason:t.finishReason})}return n.elements},async parsePartialOutput({text:e}){let t=await GUt(e);switch(t.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":{let e=t.value;if("object"!=typeof e||!e||!("elements"in e)||!Array.isArray(e.elements))return;let a="repaired-parse"===t.state&&e.elements.length>0?e.elements.slice(0,-1):e.elements,n=[];for(let e of a){let t=await vUt({value:e,schema:r});t.success&&n.push(t.value)}return{partial:n}}}},createElementStreamTransform(){let e=0;return new TransformStream({transform({partialOutput:t},a){if(null!=t)for(;e<t.length;e++)a.enqueue(t[e])}})}}},Mzt=({options:e,name:t,description:a})=>({name:"choice",responseFormat:Promise.resolve({type:"json",schema:{$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{result:{type:"string",enum:e}},required:["result"],additionalProperties:!1},...null!=t&&{name:t},...null!=a&&{description:a}}),async parseCompleteOutput({text:t},a){let r=await bUt({text:t});if(!r.success)throw new uzt({message:"No object generated: could not parse the response.",cause:r.error,text:t,response:a.response,usage:a.usage,finishReason:a.finishReason});let n=r.value;if("object"!=typeof n||!n||!("result"in n)||"string"!=typeof n.result||!e.includes(n.result))throw new uzt({message:"No object generated: response did not match schema.",cause:new GLt({value:n,cause:"response must be an object that contains a choice value."}),text:t,response:a.response,usage:a.usage,finishReason:a.finishReason});return n.result},async parsePartialOutput({text:t}){let a=await GUt(t);switch(a.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":{let t=a.value;if("object"!=typeof t||!t||!("result"in t)||"string"!=typeof t.result)return;let r=e.filter(e=>e.startsWith(t.result));return"successful-parse"===a.state?r.includes(t.result)?{partial:t.result}:void 0:1===r.length?{partial:r[0]}:void 0}}},createElementStreamTransform(){}}),$zt=({name:e,description:t}={})=>({name:"json",responseFormat:Promise.resolve({type:"json",...null!=e&&{name:e},...null!=t&&{description:t}}),async parseCompleteOutput({text:e},t){let a=await bUt({text:e});if(!a.success)throw new uzt({message:"No object generated: could not parse the response.",cause:a.error,text:e,response:t.response,usage:t.usage,finishReason:t.finishReason});return a.value},async parsePartialOutput({text:e}){let t=await GUt(e);switch(t.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return void 0===t.value?void 0:{partial:t.value}}},createElementStreamTransform(){}}),wUt({prefix:"aitxt",size:24}),Nzt=function(e){let t;return()=>(t??=e(),t)}(()=>fUt(Z9e([H9e({type:F9e("text-start"),id:N9e(),providerMetadata:mzt.optional()}),H9e({type:F9e("text-delta"),id:N9e(),delta:N9e(),providerMetadata:mzt.optional()}),H9e({type:F9e("text-end"),id:N9e(),providerMetadata:mzt.optional()}),H9e({type:F9e("error"),errorText:N9e()}),H9e({type:F9e("tool-input-start"),toolCallId:N9e(),toolName:N9e(),providerExecuted:D9e().optional(),dynamic:D9e().optional(),title:N9e().optional()}),H9e({type:F9e("tool-input-delta"),toolCallId:N9e(),inputTextDelta:N9e()}),H9e({type:F9e("tool-input-available"),toolCallId:N9e(),toolName:N9e(),input:B9e(),providerExecuted:D9e().optional(),providerMetadata:mzt.optional(),dynamic:D9e().optional(),title:N9e().optional()}),H9e({type:F9e("tool-input-error"),toolCallId:N9e(),toolName:N9e(),input:B9e(),providerExecuted:D9e().optional(),providerMetadata:mzt.optional(),dynamic:D9e().optional(),errorText:N9e(),title:N9e().optional()}),H9e({type:F9e("tool-approval-request"),approvalId:N9e(),toolCallId:N9e()}),H9e({type:F9e("tool-output-available"),toolCallId:N9e(),output:B9e(),providerExecuted:D9e().optional(),dynamic:D9e().optional(),preliminary:D9e().optional()}),H9e({type:F9e("tool-output-error"),toolCallId:N9e(),errorText:N9e(),providerExecuted:D9e().optional(),dynamic:D9e().optional()}),H9e({type:F9e("tool-output-denied"),toolCallId:N9e()}),H9e({type:F9e("reasoning-start"),id:N9e(),providerMetadata:mzt.optional()}),H9e({type:F9e("reasoning-delta"),id:N9e(),delta:N9e(),providerMetadata:mzt.optional()}),H9e({type:F9e("reasoning-end"),id:N9e(),providerMetadata:mzt.optional()}),H9e({type:F9e("source-url"),sourceId:N9e(),url:N9e(),title:N9e().optional(),providerMetadata:mzt.optional()}),H9e({type:F9e("source-document"),sourceId:N9e(),mediaType:N9e(),title:N9e(),filename:N9e().optional(),providerMetadata:mzt.optional()}),H9e({type:F9e("file"),url:N9e(),mediaType:N9e(),providerMetadata:mzt.optional()}),H9e({type:Y9e(e=>"string"==typeof e&&e.startsWith("data-"),{message:'Type must start with "data-"'}),id:N9e().optional(),data:B9e(),transient:D9e().optional()}),H9e({type:F9e("start-step")}),H9e({type:F9e("finish-step")}),H9e({type:F9e("start"),messageId:N9e().optional(),messageMetadata:B9e().optional()}),H9e({type:F9e("finish"),finishReason:q9e(["stop","length","content-filter","tool-calls","error","other"]).optional(),messageMetadata:B9e().optional()}),H9e({type:F9e("abort"),reason:N9e().optional()}),H9e({type:F9e("message-metadata"),messageMetadata:B9e()})]))),wUt({prefix:"aitxt",size:24}),wUt({prefix:"aiobj",size:24}),Izt=class{constructor(){this.queue=[],this.isProcessing=!1}async processQueue(){if(!this.isProcessing){for(this.isProcessing=!0;this.queue.length>0;)await this.queue[0](),this.queue.shift();this.isProcessing=!1}}async run(e){return new Promise((t,a)=>{this.queue.push(async()=>{try{await e(),t()}catch(e){a(e)}}),this.processQueue()})}},wUt({prefix:"aiobj",size:24}),Rzt=class{constructor({api:e="/api/chat",credentials:t,headers:a,body:r,fetch:n,prepareSendMessagesRequest:o,prepareReconnectToStreamRequest:i}){this.api=e,this.credentials=t,this.headers=a,this.body=r,this.fetch=n,this.prepareSendMessagesRequest=o,this.prepareReconnectToStreamRequest=i}async sendMessages({abortSignal:e,...t}){let a=await yUt(this.body),r=await yUt(this.headers),n=await yUt(this.credentials),o={...Gjt(r),...Gjt(t.headers)},i=await(this.prepareSendMessagesRequest?.call(this,{api:this.api,id:t.chatId,messages:t.messages,body:{...a,...t.body},headers:o,credentials:n,requestMetadata:t.metadata,trigger:t.trigger,messageId:t.messageId})),s=i?.api??this.api,l=void 0===i?.headers?o:Gjt(i.headers),c=void 0===i?.body?{...a,...t.body,id:t.chatId,messages:t.messages,trigger:t.trigger,messageId:t.messageId}:i.body,u=i?.credentials??n,d=await(this.fetch??globalThis.fetch)(s,{method:"POST",headers:Yjt({"Content-Type":"application/json",...l},`ai-sdk/${dzt}`,Xjt()),body:JSON.stringify(c),credentials:u,signal:e});if(!d.ok)throw Error(await d.text()??"Failed to fetch the chat response.");if(!d.body)throw Error("The response body is empty.");return this.processResponseStream(d.body)}async reconnectToStream(e){let t=await yUt(this.body),a=await yUt(this.headers),r=await yUt(this.credentials),n={...Gjt(a),...Gjt(e.headers)},o=await(this.prepareReconnectToStreamRequest?.call(this,{api:this.api,id:e.chatId,body:{...t,...e.body},headers:n,credentials:r,requestMetadata:e.metadata})),i=o?.api??`${this.api}/${e.chatId}/stream`,s=void 0===o?.headers?n:Gjt(o.headers),l=o?.credentials??r,c=await(this.fetch??globalThis.fetch)(i,{method:"GET",headers:Yjt(s,`ai-sdk/${dzt}`,Xjt()),credentials:l});if(204===c.status)return null;if(!c.ok)throw Error(await c.text()??"Failed to fetch the chat response.");if(!c.body)throw Error("The response body is empty.");return this.processResponseStream(c.body)}},Dzt=class extends Rzt{constructor(e={}){super(e)}processResponseStream(e){return function({stream:e,schema:t}){return e.pipeThrough(new TextDecoderStream).pipeThrough(new Qjt).pipeThrough(new TransformStream({async transform({data:e},a){"[DONE]"!==e&&a.enqueue(await bUt({text:e,schema:t}))}}))}({stream:e,schema:Nzt}).pipeThrough(new TransformStream({async transform(e,t){if(!e.success)throw e.error;t.enqueue(e.value)}}))}},Lzt=class{constructor({generateId:e=kUt,id:t=e(),transport:a=new Dzt,messageMetadataSchema:r,dataPartSchemas:n,state:o,onError:i,onToolCall:s,onFinish:l,onData:c,sendAutomaticallyWhen:u}){this.activeResponse=void 0,this.jobExecutor=new Izt,this.sendMessage=async(e,t)=>{if(null==e)return void await this.makeRequest({trigger:"submit-message",messageId:this.lastMessage?.id,...t});let a;if(a="text"in e||"files"in e?{parts:[...Array.isArray(e.files)?e.files:await azt(e.files),..."text"in e&&null!=e.text?[{type:"text",text:e.text}]:[]]}:e,null!=e.messageId){let t=this.state.messages.findIndex(t=>t.id===e.messageId);if(-1===t)throw Error(`message with id ${e.messageId} not found`);if("user"!==this.state.messages[t].role)throw Error(`message with id ${e.messageId} is not a user message`);this.state.messages=this.state.messages.slice(0,t+1),this.state.replaceMessage(t,{...a,id:e.messageId,role:a.role??"user",metadata:e.metadata})}else this.state.pushMessage({...a,id:a.id??this.generateId(),role:a.role??"user",metadata:e.metadata});await this.makeRequest({trigger:"submit-message",messageId:e.messageId,...t})},this.regenerate=async({messageId:e,...t}={})=>{let a=null==e?this.state.messages.length-1:this.state.messages.findIndex(t=>t.id===e);if(-1===a)throw Error(`message ${e} not found`);this.state.messages=this.state.messages.slice(0,"assistant"===this.messages[a].role?a:a+1),await this.makeRequest({trigger:"regenerate-message",messageId:e,...t})},this.resumeStream=async(e={})=>{await this.makeRequest({trigger:"resume-stream",...e})},this.clearError=()=>{"error"===this.status&&(this.state.error=void 0,this.setStatus({status:"ready"}))},this.addToolApprovalResponse=async({id:e,approved:t,reason:a})=>this.jobExecutor.run(async()=>{let r=this.state.messages,n=r[r.length-1],o=r=>KUt(r)&&"approval-requested"===r.state&&r.approval.id===e?{...r,state:"approval-responded",approval:{id:e,approved:t,reason:a}}:r;this.state.replaceMessage(r.length-1,{...n,parts:n.parts.map(o)}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(o)),"streaming"!==this.status&&"submitted"!==this.status&&this.sendAutomaticallyWhen?.call(this,{messages:this.state.messages})&&this.makeRequest({trigger:"submit-message",messageId:this.lastMessage?.id})}),this.addToolOutput=async({state:e="output-available",tool:t,toolCallId:a,output:r,errorText:n})=>this.jobExecutor.run(async()=>{let t=this.state.messages,o=t[t.length-1],i=t=>KUt(t)&&t.toolCallId===a?{...t,state:e,output:r,errorText:n}:t;this.state.replaceMessage(t.length-1,{...o,parts:o.parts.map(i)}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(i)),"streaming"!==this.status&&"submitted"!==this.status&&this.sendAutomaticallyWhen?.call(this,{messages:this.state.messages})&&this.makeRequest({trigger:"submit-message",messageId:this.lastMessage?.id})}),this.addToolResult=this.addToolOutput,this.stop=async()=>{"streaming"!==this.status&&"submitted"!==this.status||this.activeResponse?.abortController&&this.activeResponse.abortController.abort()},this.id=t,this.transport=a,this.generateId=e,this.messageMetadataSchema=r,this.dataPartSchemas=n,this.state=o,this.onError=i,this.onToolCall=s,this.onFinish=l,this.onData=c,this.sendAutomaticallyWhen=u}get status(){return this.state.status}setStatus({status:e,error:t}){this.status!==e&&(this.state.status=e,this.state.error=t)}get error(){return this.state.error}get messages(){return this.state.messages}get lastMessage(){return this.state.messages[this.state.messages.length-1]}set messages(e){this.state.messages=e}async makeRequest({trigger:e,metadata:t,headers:a,body:r,messageId:n}){var o;this.setStatus({status:"submitted",error:void 0});let i=this.lastMessage,s=!1,l=!1,c=!1;try{let o,l={state:ezt({lastMessage:this.state.snapshot(i),messageId:this.generateId()}),abortController:new AbortController};if(l.abortController.signal.addEventListener("abort",()=>{s=!0}),this.activeResponse=l,"resume-stream"===e){let e=await this.transport.reconnectToStream({chatId:this.id,metadata:t,headers:a,body:r});if(null==e)return void this.setStatus({status:"ready"});o=e}else o=await this.transport.sendMessages({chatId:this.id,messages:this.state.messages,abortSignal:l.abortController.signal,metadata:t,headers:a,body:r,trigger:e,messageId:n});await async function({stream:e,onError:t}){let a=e.getReader();try{for(;;){let{done:e}=await a.read();if(e)break}}catch(e){t?.(e)}finally{a.releaseLock()}}({stream:tzt({stream:o,onToolCall:this.onToolCall,onData:this.onData,messageMetadataSchema:this.messageMetadataSchema,dataPartSchemas:this.dataPartSchemas,runUpdateMessageJob:e=>this.jobExecutor.run(()=>e({state:l.state,write:()=>{this.setStatus({status:"streaming"}),l.state.message.id===this.lastMessage?.id?this.state.replaceMessage(this.state.messages.length-1,l.state.message):this.state.pushMessage(l.state.message)}})),onError:e=>{throw e}}),onError:e=>{throw e}}),this.setStatus({status:"ready"})}catch(e){if(s||"AbortError"===e.name)return s=!0,this.setStatus({status:"ready"}),null;c=!0,e instanceof TypeError&&(e.message.toLowerCase().includes("fetch")||e.message.toLowerCase().includes("network"))&&(l=!0),this.onError&&e instanceof Error&&this.onError(e),this.setStatus({status:"error",error:e})}finally{try{null==(o=this.onFinish)||o.call(this,{message:this.activeResponse.state.message,messages:this.state.messages,isAbort:s,isDisconnect:l,isError:c,finishReason:this.activeResponse?.state.finishReason})}catch(e){console.error(e)}this.activeResponse=void 0}this.sendAutomaticallyWhen?.call(this,{messages:this.state.messages})&&!c&&await this.makeRequest({trigger:"submit-message",messageId:this.lastMessage?.id,metadata:t,headers:a,body:r})}}});var jzt,Uzt,zzt=V(()=>{jzt=new WeakMap,Uzt=0});function Hzt(e){if("function"==typeof e)try{e=e()}catch{e=""}return e=Array.isArray(e)?function(e){if(!e.length)return"";for(var t="arg",a=0;a<e.length;++a){var r=void 0;null===e[a]||"object"!=typeof e[a]&&"function"!=typeof e[a]?r="string"==typeof e[a]?'"'+e[a]+'"':String(e[a]):jzt.has(e[a])?r=jzt.get(e[a]):(r=Uzt,jzt.set(e[a],Uzt++)),t+="@"+r}return t}(e):String(e||""),e}var Zzt,Vzt=V(()=>{zzt(),Zzt=function(){function e(e){void 0===e&&(e=0),this.items=new Map,this.ttl=e}return e.prototype.serializeKey=function(e){return Hzt(e)},e.prototype.get=function(e){var t=this.serializeKey(e);return this.items.get(t)},e.prototype.set=function(e,t,a){var r=this.serializeKey(e),n=a||this.ttl,o=Date.now(),i={data:t,createdAt:o,expiresAt:n?o+n:1/0};this.dispatchExpire(n,i,r),this.items.set(r,i)},e.prototype.dispatchExpire=function(e,t,a){var r=this;e&&setTimeout(function(){Date.now()>=t.expiresAt&&r.delete(a)},e)},e.prototype.delete=function(e){this.items.delete(e)},e}()});function Qzt(){return void 0===navigator.onLine||navigator.onLine}function qzt(){return!(typeof document<"u"&&void 0!==document.visibilityState)||"hidden"!==document.visibilityState}var Fzt,Wzt,Xzt=V(()=>{Fzt=function(e){return fetch(e).then(function(e){return e.json()})},Wzt={isOnline:Qzt,isDocumentVisible:qzt,fetcher:Fzt}});function Gzt(){for(var e=this,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];var r,n,o=Yzt({},oHt),i=!1,s=!1,l=Gs(),c=l?.proxy||l;if(!c)return console.error("Could not get current instance, check to make sure that `useSwrv` is declared in the top level of the setup function."),null;var u=c?.$isServer||!1;t.length>=1&&(r=t[0]),t.length>=2&&(n=t[1]),t.length>2&&(o=Yzt(Yzt({},o),t[2]));var d=u?o.serverTTL:o.ttl,p="function"==typeof r?r:Za(r);void 0===n&&(n=o.fetcher);var h=null;h||=Ma({data:void 0,error:void 0,isValidating:!0,isLoading:!0,key:null});var m=function(t,a){return Kzt(e,void 0,void 0,function(){var e,r,s,l,c,u,f=this;return Jzt(this,function(g){switch(g.label){case 0:return e=void 0===h.data,(r=p.value)?(s=o.cache.get(r),l=s&&s.data,h.isValidating=!0,h.isLoading=!l,l&&(h.data=l.data,h.error=l.error),!(c=t||n)||!o.isDocumentVisible()&&!e||void 0!==a?.forceRevalidate&&!a?.forceRevalidate||s&&!!!(Date.now()-s.createdAt>=o.dedupingInterval||a?.forceRevalidate)?(h.isValidating=!1,h.isLoading=!1,[2]):(u=function(){return Kzt(f,void 0,void 0,function(){var e,t,n;return Jzt(this,function(s){switch(s.label){case 0:return(e=nHt.get(r))?[3,2]:(t=Array.isArray(r)?r:[r],n=c.apply(void 0,tHt([],eHt(t),!1)),nHt.set(r,n,o.dedupingInterval),[4,iHt(r,n,o.cache,d)]);case 1:return s.sent(),[3,4];case 2:return[4,iHt(r,e.data,o.cache,d)];case 3:s.sent(),s.label=4;case 4:return h.isValidating=!1,h.isLoading=!1,nHt.delete(r),void 0!==h.error&&(!i&&o.shouldRetryOnError&&(!a||a.shouldRetryOnError)&&function(e,t,a){if(a.isDocumentVisible()&&!(void 0!==a.errorRetryCount&&t>a.errorRetryCount)){var r=Math.min(t||0,a.errorRetryCount),n=r*a.errorRetryInterval;setTimeout(function(){e(null,{errorRetryCount:r+1,shouldRetryOnError:!0})},n)}}(m,a?a.errorRetryCount:1,o)),[2]}})})},l&&o.revalidateDebounce?(setTimeout(function(){return Kzt(f,void 0,void 0,function(){return Jzt(this,function(e){switch(e.label){case 0:return i?[3,2]:[4,u()];case 1:e.sent(),e.label=2;case 2:return[2]}})})},o.revalidateDebounce),[3,3]):[3,1])):[2];case 1:return[4,u()];case 2:g.sent(),g.label=3;case 3:return[2]}})})},f=function(){return Kzt(e,void 0,void 0,function(){return Jzt(this,function(e){return[2,m(null,{shouldRetryOnError:!1})]})})},g=null;ts(function(){var t=function(){return Kzt(e,void 0,void 0,function(){return Jzt(this,function(e){switch(e.label){case 0:return!h.error&&o.isOnline()?[4,m()]:[3,2];case 1:return e.sent(),[3,3];case 2:g&&clearTimeout(g),e.label=3;case 3:return o.refreshInterval&&!i&&(g=setTimeout(t,o.refreshInterval)),[2]}})})};o.refreshInterval&&(g=setTimeout(t,o.refreshInterval)),o.revalidateOnFocus&&(document.addEventListener("visibilitychange",f,!1),window.addEventListener("focus",f,!1))}),os(function(){i=!0,g&&clearTimeout(g),o.revalidateOnFocus&&(document.removeEventListener("visibilitychange",f,!1),window.removeEventListener("focus",f,!1));var e=rHt.get(p.value);e&&(e.data=e.data.filter(function(e){return e!==h}))});try{fn(p,function(e){La(p)||(p.value=e),h.key=e,h.isValidating=!!e,function(e,t,a){var r=rHt.get(e);r?r.data.push(t):rHt.set(e,[t],a>0?a+5e3:a)}(p.value,h,d),!u&&!s&&p.value&&m(),s=!1},{immediate:!0})}catch{}return Yzt(Yzt({},function(e){let t=vt(e)?Array(e.length):{};for(let a in e)t[a]=Ka(e,a);return t}(h)),{mutate:function(e,t){return m(e,Yzt(Yzt({},t),{forceRevalidate:!0}))}})}var Yzt,Kzt,Jzt,eHt,tHt,aHt,rHt,nHt,oHt,iHt,sHt,lHt,cHt,uHt=V(()=>{Rc(),Xzt(),Vzt(),Yzt=function(){return Yzt=Object.assign||function(e){for(var t,a=1,r=arguments.length;a<r;a++)for(var n in t=arguments[a])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Yzt.apply(this,arguments)},Kzt=function(e,t,a,r){function n(e){return e instanceof a?e:new a(function(t){t(e)})}return new(a||=Promise)(function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?a(e.value):n(e.value).then(i,s)}l((r=r.apply(e,t||[])).next())})},Jzt=function(e,t){var a,r,n,o,i={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(a)throw TypeError("Generator is already executing.");for(;i;)try{if(a=1,r&&(n=2&o[0]?r.return:o[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,o[1])).done)return n;switch(r=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(n=i.trys,(n=n.length>0&&n[n.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){i.label=o[1];break}if(6===o[0]&&i.label<n[1]){i.label=n[1],n=o;break}if(n&&i.label<n[2]){i.label=n[2],i.ops.push(o);break}n[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{a=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},eHt=function(e,t){var a="function"==typeof Symbol&&e[Symbol.iterator];if(!a)return e;var r,n,o=a.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return i},tHt=function(e,t,a){if(a||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)(r||!(n in t))&&(r||=Array.prototype.slice.call(t,0,n),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))},aHt=new Zzt,rHt=new Zzt,nHt=new Zzt,oHt={cache:aHt,refreshInterval:0,ttl:0,serverTTL:1e3,dedupingInterval:2e3,revalidateOnFocus:!0,revalidateDebounce:0,shouldRetryOnError:!0,errorRetryInterval:5e3,errorRetryCount:5,fetcher:Wzt.fetcher,isOnline:Wzt.isOnline,isDocumentVisible:Wzt.isDocumentVisible},iHt=function(e,t,a,r){return void 0===a&&(a=aHt),void 0===r&&(r=oHt.ttl),Kzt(void 0,void 0,void 0,function(){var n,o,i,s,l,c;return Jzt(this,function(u){switch(u.label){case 0:if(!function(e){return"object"==typeof e&&!!e&&"function"==typeof e.then}(t))return[3,5];u.label=1;case 1:return u.trys.push([1,3,,4]),[4,t];case 2:return n=u.sent(),[3,4];case 3:return i=u.sent(),o=i,[3,4];case 4:return[3,6];case 5:n=t,u.label=6;case 6:if(s={data:n,error:o,isValidating:false},void 0!==n)try{a.set(e,s,r)}catch(e){console.error("swrv(mutate): failed to set cache",e)}return(l=rHt.get(e))&&l.data.length&&(c=l.data.filter(function(t){return t.key===e}),c.forEach(function(e,t){void 0!==s.data&&(e.data=s.data),e.error=s.error,e.isValidating=s.isValidating,e.isLoading=s.isValidating,t!==c.length-1&&delete c[t]}),c=c.filter(Boolean)),[2,s]}})})}}),dHt=V(()=>{uHt(),sHt=Gzt}),pHt=V(()=>{dHt(),Bzt(),Rc(),sHt.default,lHt=class{constructor(e){this.statusRef=Za("ready"),this.errorRef=Za(void 0),this.pushMessage=e=>{this.messagesRef.value=[...this.messagesRef.value,e]},this.popMessage=()=>{this.messagesRef.value=this.messagesRef.value.slice(0,-1)},this.replaceMessage=(e,t)=>{this.messagesRef.value[e]={...t}},this.snapshot=e=>e,this.messagesRef=Za(e??[])}get messages(){return this.messagesRef.value}set messages(e){this.messagesRef.value=e}get status(){return this.statusRef.value}set status(e){this.statusRef.value=e}get error(){return this.errorRef.value}set error(e){this.errorRef.value=e}},cHt=class extends Lzt{constructor({messages:e,...t}){super({...t,state:new lHt(e)})}},sHt.default});function hHt({initialRegistryDocuments:e,registryUrl:t,dashboardUrl:a,platformProxyUrl:r,baseUrl:n,mode:o,isLoggedIn:i,getAccessToken:s,getAgentKey:l,getActiveDocumentJson:c,prefilledMessageRef:u,hideAddApi:p}){let h=Za(u?.value??""),m=Za([]),f=Ma({}),g=Za([]),v=Za(nLt.DEFAULT_PROXY_URL),b=ol(()=>v.value?.trim()||nLt.DEFAULT_PROXY_URL),y=Za(),O=function(){let e=Za(!1);return ts(()=>{e.value="true"===localStorage.getItem(gLt)}),{accepted:e,accept:function(){e.value=!0,localStorage.setItem(gLt,"true")}}}(),x=KNt(),w=GNt({plugins:[wLt({persistAuth:!0})]}),k=ol(()=>d(I,{proxyUrl:b.value,persistAuth:!0})),S=function({registryDocuments:e,workspaceStore:t,baseUrl:a,proxyUrl:r,getAccessToken:n,getAgentKey:o}){let i=new cHt({sendAutomaticallyWhen:rzt,transport:new Dzt({api:`${a}/vector/openapi/chat`,headers:()=>bIt({getAccessToken:n,getAgentKey:o}),body:()=>({registryDocuments:e.value})}),async onToolCall({toolCall:e}){e.dynamic||"execute-request"===e.toolName&&"get"===e.input.method.toLowerCase()&&await rLt({documentSettings:dLt(t),input:e.input,toolCallId:e.toolCallId,chat:i,proxyUrl:r.value})}});return i}({registryDocuments:m,workspaceStore:w,baseUrl:n,proxyUrl:b,getAccessToken:s,getAgentKey:l}),A=yIt({baseUrl:n,getAccessToken:s,getAgentKey:l}),_=ol(()=>"submitted"===S.status||"streaming"===S.status&&!S.lastMessage?.parts.some(e=>"text"===e.type));fn(()=>S.status,()=>{"streaming"===S.status&&(h.value="")}),u&&fn(u,async e=>{e&&(h.value=e,O.accepted.value&&await S.sendMessage({text:h.value}))});let T=l2e();async function E({namespace:e,slug:a,removable:r=!0,tmp:n=!1}){if(m.value.find(t=>t.namespace===e&&t.slug===a))return;let o=`@${e}/${a}`;f[o]=!0;let i=await kLt({namespace:e,slug:a,workspaceStore:w,registryUrl:t,registryDocuments:m,config:k.value,getAccessToken:s,api:A,removable:r});if(f[o]=!1,!i.success)throw n?(localStorage.getItem(OLt)&&localStorage.removeItem(OLt),i.error):(console.warn("[AGENT]: Unable to load document",i.error),gHt(`Unable to load the document @${e}/${a}`,"warn"),i.error)}return e.forEach(({namespace:e,slug:t})=>E({namespace:e,slug:t,removable:!1})),{prompt:h,chat:S,workspaceStore:w,eventBus:x,loading:_,settingsModal:T,config:k,registryUrl:t,dashboardUrl:a,platformProxyUrl:r,baseUrl:n,registryDocuments:m,pendingDocuments:f,proxyUrl:b,proxyUrlRaw:v,mode:o,terms:O,isLoggedIn:i,addDocument:E,addDocumentAsync:async function({namespace:e,slug:a,removable:r=!0}){if(m.value.find(t=>t.namespace===e&&t.slug===a))return;let o=`@${e}/${a}`;f[o]=!0;let i=await gIt.fromUnsafe(()=>fetch(`${n}/vector/registry/embeddings/${e}/${a}`,{method:"GET"}),e=>cIt("FAILED_TO_GET_EMBEDDING_STATUS",e));if(i.success&&i.data.ok){let n=await kLt({namespace:e,slug:a,workspaceStore:w,registryUrl:t,registryDocuments:m,config:k.value,getAccessToken:s,api:A,removable:r});n.success||(console.warn("[AGENT]: Unable to load document",n.error),gHt(`Unable to load the document @${e}/${a}`,"warn"))}else console.warn("[AGENT]: Document could not be embedded"),gHt(`Unable to embed the document @${e}/${a}`,"warn");f[o]=!1},removeDocument:function({namespace:e,slug:t}){m.value=m.value.filter(a=>!(a.namespace===e&&a.slug===t)),w.deleteDocument(xIt(e,t))},getAccessToken:s,getAgentKey:l,api:A,uploadedTmpDocumentUrl:y,curatedDocuments:g,getActiveDocumentJson:c,hideAddApi:p}}function mHt(){let e=hn(fHt);if(!e)throw Error("No state provided.");return e}var fHt,gHt,vHt=V(()=>{dIt(),OIt(),ADt(),sLt(),lLt(),fLt(),vLt(),SLt(),ALt(),_Lt(),Rc(),$4e(),pHt(),v8e(),J(),Bzt(),vIt(),fHt=Symbol("STATE_SYMBOL"),({toast:gHt}=C4e())});var bHt=V(()=>{vHt(),Rc(),$4e()});var yHt=V(()=>{vHt(),Rc()});var OHt,xHt,wHt=V(()=>{vHt(),Rc()}),kHt=V(()=>{OHt=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a}}),SHt=V(()=>{J(),xHt="ask-for-authentication",x({documentName:h(),uniqueIdentifier:h({typeComment:"Needed for legacy support for old clients"})})});function AHt(e,t){return Zo(),qo("div",_Ht,[...t[0]||=[ti('<svg fill="none" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" data-v-e3416cd5><rect height="14.25" rx="7.125" width="14.25" x="0.875" y="0.875" data-v-e3416cd5></rect><rect height="14.25" rx="7.125" stroke="currentColor" stroke-width="1.75" width="14.25" x="0.875" y="0.875" data-v-e3416cd5></rect><g clip-path="url(#clip0_74_840)" data-v-e3416cd5><path d="M11.6037 6.841L7.59117 10.8535C7.49742 10.9472 7.37029 10.9998 7.23774 10.9998C7.10519 10.9998 6.97806 10.9472 6.8843 10.8535L4.64617 8.6035C4.55257 8.50975 4.5 8.38269 4.5 8.25022C4.5 8.11774 4.55257 7.99068 4.64617 7.89694L5.27117 7.27194C5.36488 7.17862 5.49174 7.12623 5.62399 7.12623C5.75623 7.12623 5.88309 7.17862 5.9768 7.27194L7.25024 8.50694L10.274 5.52037C10.3677 5.42696 10.4946 5.37451 10.627 5.37451C10.7593 5.37451 10.8862 5.42696 10.9799 5.52037L11.6034 6.131C11.6502 6.17746 11.6875 6.23274 11.7129 6.29366C11.7383 6.35458 11.7514 6.41993 11.7514 6.48593C11.7514 6.55194 11.7384 6.6173 11.713 6.67824C11.6877 6.73918 11.6505 6.7945 11.6037 6.841Z" fill="currentColor" data-v-e3416cd5></path></g><defs data-v-e3416cd5><clipPath id="clip0_74_840" data-v-e3416cd5><rect height="8" rx="4" width="8" x="4" y="4" data-v-e3416cd5></rect></clipPath></defs></svg> Authorized ',2)]])}var _Ht,THt,EHt=V(()=>{kHt(),Rc(),_Ht={class:"authenticationProvided"},THt=OHt({},[["render",AHt],["__scopeId","data-v-e3416cd5"]])});function CHt(e,t){return Zo(),qo("div",PHt,[...t[0]||=[ti('<svg fill="none" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" data-v-d15ef40b><rect height="14.25" rx="7.125" width="14.25" x="0.875" y="0.875" data-v-d15ef40b></rect><rect height="14.25" rx="7.125" stroke="currentColor" stroke-width="1.5" width="14.25" x="0.875" y="0.875" data-v-d15ef40b></rect><g clip-path="url(#clip0_74_585)" data-v-d15ef40b><path d="M10.75 5.5V10.5C10.75 10.6326 10.6973 10.7598 10.6036 10.8536C10.5098 10.9473 10.3826 11 10.25 11H9C8.86739 11 8.74021 10.9473 8.64645 10.8536C8.55268 10.7598 8.5 10.6326 8.5 10.5V5.5C8.5 5.36739 8.55268 5.24021 8.64645 5.14645C8.74021 5.05268 8.86739 5 9 5H10.25C10.3826 5 10.5098 5.05268 10.6036 5.14645C10.6973 5.24021 10.75 5.36739 10.75 5.5ZM7 5H5.75C5.61739 5 5.49021 5.05268 5.39645 5.14645C5.30268 5.24021 5.25 5.36739 5.25 5.5V10.5C5.25 10.6326 5.30268 10.7598 5.39645 10.8536C5.49021 10.9473 5.61739 11 5.75 11H7C7.13261 11 7.25979 10.9473 7.35355 10.8536C7.44732 10.7598 7.5 10.6326 7.5 10.5V5.5C7.5 5.36739 7.44732 5.24021 7.35355 5.14645C7.25979 5.05268 7.13261 5 7 5Z" fill="currentColor" data-v-d15ef40b></path></g><defs data-v-d15ef40b><clipPath id="clip0_74_585" data-v-d15ef40b><rect height="8" rx="4" width="8" x="4" y="4" data-v-d15ef40b></rect></clipPath></defs></svg> Authentication required ',2)]])}var PHt,MHt,$Ht,NHt,IHt,RHt,DHt,LHt,BHt,jHt=V(()=>{kHt(),Rc(),PHt={class:"authenticationRequired"},MHt=OHt({},[["render",CHt],["__scopeId","data-v-d15ef40b"]])}),UHt=V(()=>{Zat()}),zHt=V(()=>{vHt(),Rc(),LJ(),UHt(),Jpe(),$Ht=Pn({__name:"Auth",props:{options:{},name:{},authStore:{},document:{},eventBus:{},selectedServer:{},environment:{}},setup(e){let{workspaceStore:t}=mHt(),a=ol(()=>mK(e.document?.security)),r=ol(()=>PK(e.document?.components?.securitySchemes??{},e.options.authentication?.securitySchemes,e.authStore,e.name)),n=ol(()=>xK(e.authStore.getAuthSelectedSchemas({type:"document",documentName:e.name}),void 0,a.value,r.value,e.options.authentication?.preferredSecurityScheme)),o=Va(),{focused:i}=function(e,t={}){let{window:a=jpe}=t,r=ol(()=>_pe(e)),n=Va(!1),o=ol(()=>n.value);if(!a||!Mpe(t).value)return{focused:o};let i={passive:!0};return Tpe(r,Zpe,()=>n.value=!0,i),Tpe(r,Vpe,()=>{var e;return n.value=((e=r.value)?.matches)?.call(e,Qpe)??!1},i),{focused:o}}(o);return fn(i,a=>{a&&t.update("x-scalar-active-document",e.name)}),(t,i)=>(Zo(),qo("div",{ref_key:"focusRef",ref:o,tabindex:"0"},[Object.keys(r.value).length?(Zo(),Fo(Fa(mat),{key:0,authStore:e.authStore,documentSlug:e.name,environment:e.environment,eventBus:e.eventBus,isReadOnly:"",isStatic:"",layout:"reference",meta:{type:"document"},persistAuth:e.options.persistAuth,proxyUrl:e.options.proxyUrl??"",securityRequirements:a.value,securitySchemes:r.value,selectedSecurity:n.value,server:e.selectedServer,title:"Authentication"},null,8,["authStore","documentSlug","environment","eventBus","persistAuth","proxyUrl","securityRequirements","securitySchemes","selectedSecurity","server"])):ai("",!0)],512))}})}),HHt=V(()=>{zHt(),NHt=$Ht}),ZHt=V(()=>{SHt(),vHt(),EHt(),jHt(),HHt(),Rc(),LJ(),rJ(),lce(),ZS(),IHt={class:"toggleButton"},RHt={class:"authContent"},DHt={class:"authContentInner"},LHt=Pn({__name:"AskForAuthentication",props:{messagePart:{}},setup(e){let{workspaceStore:t,eventBus:a,config:r,chat:n}=mHt(),o=ol(()=>e.messagePart.value.input?.documentName),i=ol(()=>{if(!o.value)return;let e=t.workspace.documents[o.value];return eK(e)?e:void 0}),s=ol(()=>{if(i.value)return rK(t,i.value).environment}),l=ol(()=>{if(!i.value)return;let e=bJ(i.value.servers,{documentUrl:i.value["x-scalar-original-source-url"]});return yJ(i.value,null,null,e)}),c=ol(()=>o.value&&s.value&&l.value);async function u(){await n.addToolOutput({toolCallId:e.messagePart.value.toolCallId,output:"Authentication provided.",tool:xHt,state:"output-available"})}return(n,d)=>(Zo(),qo("div",{class:tt(["askForAuthentication",{open:c.value}])},[Go("div",IHt,["output-available"===e.messagePart.value.state?(Zo(),Fo(THt,{key:0})):ai("",!0),"input-available"===e.messagePart.value.state?(Zo(),Fo(MHt,{key:1})):ai("",!0),"input-available"===e.messagePart.value.state?(Zo(),Fo(Fa(tce),{key:2,class:"authorizeButton",size:"xs",onClick:u},{default:cn(()=>[d[0]||=ei(" Authorize ",-1),qs(Fa(Dm),{weight:"bold"})]),_:1})):ai("",!0)]),Go("div",RHt,[Go("div",DHt,[o.value&&i.value&&s.value&&l.value?(Zo(),Fo(NHt,{key:0,authStore:Fa(t).auth,document:i.value,environment:s.value,eventBus:Fa(a),name:o.value,options:Fa(r),selectedServer:l.value},null,8,["authStore","document","environment","eventBus","name","options","selectedServer"])):ai("",!0)])])],2))}})}),VHt=V(()=>{kHt(),ZHt(),BHt=OHt(LHt,[["__scopeId","data-v-19cedfcd"]])});function QHt(e,t){return Zo(),qo("div",qHt,[...t[0]||=[ti('<svg fill="none" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" data-v-d08225db><rect height="14.25" rx="7.125" width="14.25" x="0.875" y="0.875" data-v-d08225db></rect><rect height="14.25" rx="7.125" stroke="currentColor" stroke-width="1.5" width="14.25" x="0.875" y="0.875" data-v-d08225db></rect><g clip-path="url(#clip0_74_585)" data-v-d08225db><path d="M10.75 5.5V10.5C10.75 10.6326 10.6973 10.7598 10.6036 10.8536C10.5098 10.9473 10.3826 11 10.25 11H9C8.86739 11 8.74021 10.9473 8.64645 10.8536C8.55268 10.7598 8.5 10.6326 8.5 10.5V5.5C8.5 5.36739 8.55268 5.24021 8.64645 5.14645C8.74021 5.05268 8.86739 5 9 5H10.25C10.3826 5 10.5098 5.05268 10.6036 5.14645C10.6973 5.24021 10.75 5.36739 10.75 5.5ZM7 5H5.75C5.61739 5 5.49021 5.05268 5.39645 5.14645C5.30268 5.24021 5.25 5.36739 5.25 5.5V10.5C5.25 10.6326 5.30268 10.7598 5.39645 10.8536C5.49021 10.9473 5.61739 11 5.75 11H7C7.13261 11 7.25979 10.9473 7.35355 10.8536C7.44732 10.7598 7.5 10.6326 7.5 10.5V5.5C7.5 5.36739 7.44732 5.24021 7.35355 5.14645C7.25979 5.05268 7.13261 5 7 5Z" fill="currentColor" data-v-d08225db></path></g><defs data-v-d08225db><clipPath id="clip0_74_585" data-v-d08225db><rect height="8" rx="4" width="8" x="4" y="4" data-v-d08225db></rect></clipPath></defs></svg> Accept Request to Continue ',2)]])}var qHt,FHt,WHt=V(()=>{kHt(),Rc(),qHt={class:"autosendPaused"},FHt=OHt({},[["render",QHt],["__scopeId","data-v-d08225db"]])});function XHt(e,t){return Zo(),qo("div",GHt,[...t[0]||=[Go("div",{class:"playIcon"},[Go("svg",{fill:"currentColor",height:"32",viewBox:"0 0 256 256",width:"32",xmlns:"http://www.w3.org/2000/svg"},[Go("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"})])],-1),ei(" Building Request... ",-1)]])}var GHt,YHt,KHt=V(()=>{kHt(),Rc(),GHt={class:"buildingRequest"},YHt=OHt({},[["render",XHt],["__scopeId","data-v-5749c429"]])});function JHt(e,t){return Zo(),qo("div",eZt,[...t[0]||=[ti('<svg fill="none" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" data-v-bb311586><rect height="14.25" rx="7.125" width="14.25" x="0.875" y="0.875" data-v-bb311586></rect><rect height="14.25" rx="7.125" stroke="var(--scalar-color-green)" stroke-width="1.75" width="14.25" x="0.875" y="0.875" data-v-bb311586></rect><g clip-path="url(#clip0_74_840)" data-v-bb311586><path d="M11.6037 6.841L7.59117 10.8535C7.49742 10.9472 7.37029 10.9998 7.23774 10.9998C7.10519 10.9998 6.97806 10.9472 6.8843 10.8535L4.64617 8.6035C4.55257 8.50975 4.5 8.38269 4.5 8.25022C4.5 8.11774 4.55257 7.99068 4.64617 7.89694L5.27117 7.27194C5.36488 7.17862 5.49174 7.12623 5.62399 7.12623C5.75623 7.12623 5.88309 7.17862 5.9768 7.27194L7.25024 8.50694L10.274 5.52037C10.3677 5.42696 10.4946 5.37451 10.627 5.37451C10.7593 5.37451 10.8862 5.42696 10.9799 5.52037L11.6034 6.131C11.6502 6.17746 11.6875 6.23274 11.7129 6.29366C11.7383 6.35458 11.7514 6.41993 11.7514 6.48593C11.7514 6.55194 11.7384 6.6173 11.713 6.67824C11.6877 6.73918 11.6505 6.7945 11.6037 6.841Z" fill="var(--scalar-color-green)" data-v-bb311586></path></g><defs data-v-bb311586><clipPath id="clip0_74_840" data-v-bb311586><rect height="8" rx="4" width="8" x="4" y="4" data-v-bb311586></rect></clipPath></defs></svg> Request Approved ',2)]])}var eZt,tZt,aZt=V(()=>{kHt(),Rc(),eZt={class:"requestApproved"},tZt=OHt({},[["render",JHt],["__scopeId","data-v-bb311586"]])});function rZt(e,t){return Zo(),qo("div",nZt,[...t[0]||=[Go("i",{class:"requestFailedIcon"},[Go("svg",{fill:"currentColor",height:"100%",viewBox:"0 0 256 256",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[Go("path",{d:"M216,48V208a16,16,0,0,1-16,16H160a16,16,0,0,1-16-16V48a16,16,0,0,1,16-16h40A16,16,0,0,1,216,48ZM96,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16H96a16,16,0,0,0,16-16V48A16,16,0,0,0,96,32Z"})])],-1),ei(" Request Failed ",-1)]])}var nZt,oZt,iZt=V(()=>{kHt(),Rc(),nZt={class:"requestFailed"},oZt=OHt({},[["render",rZt],["__scopeId","data-v-bc27e533"]])});function sZt(e,t){return Zo(),qo("div",lZt,[...t[0]||=[Go("svg",{fill:"currentColor",height:"16",viewBox:"0 0 256 256",width:"16",xmlns:"http://www.w3.org/2000/svg"},[Go("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l7.81,8.59A108,108,0,0,0,31.85,177.23L21,209.66A20,20,0,0,0,46.34,235l32.43-10.81a108.08,108.08,0,0,0,112.55-8.66l7.8,8.58a12,12,0,0,0,17.76-16.14ZM128,212a83.91,83.91,0,0,1-42-11.27,12,12,0,0,0-9.82-1l-29.79,9.93,9.93-29.79a12,12,0,0,0-1-9.82,84,84,0,0,1,7.94-95.49l111.84,123A83.83,83.83,0,0,1,128,212Zm108-84a107.22,107.22,0,0,1-8.65,42.4A12,12,0,0,1,205.28,161a84.07,84.07,0,0,0-102.77-113,12,12,0,0,1-7.27-22.87A108.08,108.08,0,0,1,236,128Z"})],-1),ei(" Request Rejected ",-1)]])}var lZt,cZt,uZt=V(()=>{kHt(),Rc(),lZt={class:"requestRejected"},cZt=OHt({},[["render",sZt],["__scopeId","data-v-9803a54c"]])});function dZt(e,t){return Zo(),qo("div",pZt,[...t[0]||=[ti('<svg fill="none" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg" data-v-acc2c0d8><rect height="14.25" rx="7.125" width="14.25" x="0.875" y="0.875" data-v-acc2c0d8></rect><rect height="14.25" rx="7.125" stroke="currentColor" stroke-width="1.75" width="14.25" x="0.875" y="0.875" data-v-acc2c0d8></rect><g clip-path="url(#clip0_74_840)" data-v-acc2c0d8><path d="M11.6037 6.841L7.59117 10.8535C7.49742 10.9472 7.37029 10.9998 7.23774 10.9998C7.10519 10.9998 6.97806 10.9472 6.8843 10.8535L4.64617 8.6035C4.55257 8.50975 4.5 8.38269 4.5 8.25022C4.5 8.11774 4.55257 7.99068 4.64617 7.89694L5.27117 7.27194C5.36488 7.17862 5.49174 7.12623 5.62399 7.12623C5.75623 7.12623 5.88309 7.17862 5.9768 7.27194L7.25024 8.50694L10.274 5.52037C10.3677 5.42696 10.4946 5.37451 10.627 5.37451C10.7593 5.37451 10.8862 5.42696 10.9799 5.52037L11.6034 6.131C11.6502 6.17746 11.6875 6.23274 11.7129 6.29366C11.7383 6.35458 11.7514 6.41993 11.7514 6.48593C11.7514 6.55194 11.7384 6.6173 11.713 6.67824C11.6877 6.73918 11.6505 6.7945 11.6037 6.841Z" fill="currentColor" data-v-acc2c0d8></path></g><defs data-v-acc2c0d8><clipPath id="clip0_74_840" data-v-acc2c0d8><rect height="8" rx="4" width="8" x="4" y="4" data-v-acc2c0d8></rect></clipPath></defs></svg> Request Succeeded ',2)]])}var pZt,hZt,mZt=V(()=>{kHt(),Rc(),pZt={class:"requestSuccess"},hZt=OHt({},[["render",dZt],["__scopeId","data-v-acc2c0d8"]])});var fZt,gZt=V(()=>{fZt={"application/epub+zip":{extension:".epub"},"application/gzip":{extension:".gz"},"application/java-archive":{extension:".jar"},"application/javascript":{extension:".js",raw:!0},"application/json":{extension:".json",raw:!0,language:"json"},"application/ld+json":{extension:".jsonld",raw:!0,language:"json"},"application/problem+json":{extension:".json",raw:!0,language:"json"},"application/vnd.api+json":{extension:".json",raw:!0,language:"json"},"application/dns-json":{extension:".json",raw:!0,language:"json"},"application/msword":{extension:".doc"},"application/octet-stream":{extension:".bin"},"application/ogg":{extension:".ogx"},"application/pdf":{extension:".pdf",preview:"object"},"application/rtf":{extension:".rtf",raw:!0},"application/vnd.amazon.ebook":{extension:".azw"},"application/vnd.apple.installer+xml":{extension:".mpkg",raw:!0,language:"xml"},"application/vnd.mozilla.xul+xml":{extension:".xul",raw:!0,language:"xml"},"application/vnd.ms-excel":{extension:".xls"},"application/vnd.ms-fontobject":{extension:".eot"},"application/vnd.ms-powerpoint":{extension:".ppt"},"application/vnd.oasis.opendocument.presentation":{extension:".odp"},"application/vnd.oasis.opendocument.spreadsheet":{extension:".ods"},"application/vnd.oasis.opendocument.text":{extension:".odt"},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{extension:".pptx"},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{extension:".xlsx"},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{extension:".docx"},"application/vnd.rar":{extension:".rar"},"application/vnd.visio":{extension:".vsd"},"application/x-7z-compressed":{extension:".7z"},"application/x-abiword":{extension:".abw"},"application/x-bzip":{extension:".bz"},"application/x-bzip2":{extension:".bz2"},"application/x-cdf":{extension:".cda"},"application/x-csh":{extension:".csh"},"application/x-freearc":{extension:".arc"},"application/x-httpd-php":{extension:".php",raw:!0},"application/x-sh":{extension:".sh",raw:!0},"application/x-tar":{extension:".tar"},"application/xhtml+xml":{extension:".xhtml",raw:!0,language:"html"},"application/xml":{extension:".xml",raw:!0,language:"xml"},"application/yaml":{extension:".yaml",raw:!0,language:"yaml"},"application/zip":{extension:".zip"},"audio/aac":{extension:".aac"},"audio/midi":{extension:".midi"},"audio/mpeg":{extension:".mp3",preview:"audio"},"audio/ogg":{extension:".oga"},"audio/wav":{extension:".wav"},"audio/webm":{extension:".weba"},"font/otf":{extension:".otf"},"font/ttf":{extension:".ttf"},"font/woff":{extension:".woff"},"font/woff2":{extension:".woff2"},"image/apng":{extension:".apng",preview:"image",alpha:!0},"image/avif":{extension:".avif",preview:"image"},"image/bmp":{extension:".bmp",preview:"image"},"image/gif":{extension:".gif",preview:"image",alpha:!0},"image/jpeg":{extension:".jpg",preview:"image"},"image/png":{extension:".png",preview:"image",alpha:!0},"image/svg+xml":{extension:".svg",raw:!0,language:"xml",preview:"image",alpha:!0},"image/tiff":{extension:".tiff"},"image/vnd.microsoft.icon":{extension:".ico",preview:"image"},"image/webp":{extension:".webp",preview:"image",alpha:!0},"text/calendar":{extension:".ics",raw:!0},"text/css":{extension:".css",raw:!0,language:"css"},"text/csv":{extension:".csv",raw:!0},"text/html":{extension:".html",raw:!0,language:"html",preview:"object"},"text/javascript":{extension:".js",raw:!0},"text/plain":{extension:".txt",raw:!0},"text/xml":{extension:".xml",raw:!0,language:"xml"},"text/yaml":{extension:".yaml",raw:!0,language:"yaml"},"video/3gpp":{extension:".3gp"},"audio/3gpp":{extension:".3gp"},"video/3gpp2":{extension:".3g2"},"audio/3gpp2":{extension:".3g2"},"video/mp2t":{extension:".ts"},"video/mp4":{extension:".mp4",preview:"video"},"video/mpeg":{extension:".mpeg"},"video/ogg":{extension:".ogv"},"video/webm":{extension:".webm",preview:"video"},"video/x-msvideo":{extension:".avi"}}});function vZt(e){let t="";if(e){let a=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1];a&&(t=bZt(a.trim()))}return t}var bZt,yZt,OZt,xZt=V(()=>{gA(),bZt=e=>{try{return decodeURIComponent(e)}catch{return e}},yZt=e=>e instanceof Blob,OZt=e=>e?Object.keys(e).map(t=>({name:t,value:e[t]??""})):[]});function wZt(e,t){return Zo(),qo("div",kZt,[Go("div",SZt,[Jn(e.$slots,"default")])])}var kZt,SZt,AZt,_Zt,TZt,EZt,CZt,PZt,MZt,$Zt,NZt,IZt,RZt,DZt,LZt,BZt,jZt=V(()=>{kHt(),Rc(),kZt={class:"flex justify-center px-2 py-3"},SZt={class:"text-c-3 p-2 text-sm"},AZt=OHt({},[["render",wZt]])}),UZt=V(()=>{jZt(),Rc(),_Zt=["src"],TZt=["src","type"],EZt=["src","type"],CZt=["data","type"],PZt=Pn({__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1}},setup(e){let t=Za(!1);return fn(()=>e.src,()=>{t.value=!1}),(a,r)=>!t.value&&e.src?(Zo(),qo("div",{key:0,class:tt(["flex justify-center overflow-auto rounded-b",{"bg-preview p-2":e.alpha}])},["image"===e.mode?(Zo(),qo("img",{key:0,class:tt(["h-full max-w-full",{rounded:e.alpha}]),src:e.src,onError:r[0]||=e=>t.value=!0},null,42,_Zt)):"video"===e.mode?(Zo(),qo("video",{key:1,autoplay:"",controls:"",width:"100%",onError:r[1]||=e=>t.value=!0},[Go("source",{src:e.src,type:e.type},null,8,TZt)],32)):"audio"===e.mode?(Zo(),qo("audio",{key:2,class:"my-12",controls:"",onError:r[2]||=e=>t.value=!0},[Go("source",{src:e.src,type:e.type},null,8,EZt)],32)):(Zo(),qo("object",{key:3,class:"aspect-[4/3] w-full",data:e.src,type:e.type,onError:r[3]||=e=>t.value=!0},null,40,CZt))],2)):(Zo(),Fo(AZt,{key:1},{default:cn(()=>[...r[4]||=[ei("Preview unavailable",-1)]]),_:1}))}})}),zZt=V(()=>{kHt(),UZt(),MZt=OHt(PZt,[["__scopeId","data-v-92f84612"]])}),HZt=V(()=>{Rc(),D1e(),$Zt=Pn({__name:"ResponseBodyRaw",props:{content:{},language:{}},setup(e){let t=e;return(a,r)=>(Zo(),Fo(Fa(f1e),{class:"codeBlock",content:t.content,lang:e.language},null,8,["content","lang"]))}})}),ZZt=V(()=>{HZt(),NZt=$Zt}),VZt=V(()=>{jZt(),zZt(),ZZt(),Rc(),IZt=Pn({__name:"ResponseBody",props:{data:{},responseBody:{},mediaConfig:{},display:{}},setup:e=>(fn(()=>e.display,e=>console.log(e)),(t,a)=>(Zo(),qo(Ls,null,[e.mediaConfig?.raw&&"raw"===e.display&&e.mediaConfig.language?(Zo(),Fo(NZt,{key:e.responseBody.dataUrl,content:e.data,language:e.mediaConfig.language},null,8,["content","language"])):ai("",!0),e.mediaConfig?.preview&&"preview"===e.display?(Zo(),Fo(MZt,{key:e.responseBody.dataUrl,alpha:e.mediaConfig.alpha,mode:e.mediaConfig.preview,src:e.responseBody.dataUrl,type:e.responseBody.mimeType?.essence??""},null,8,["alpha","mode","src","type"])):ai("",!0),e.mediaConfig?.raw||e.mediaConfig?.preview?ai("",!0):(Zo(),Fo(AZt,{key:2},{default:cn(()=>[...a[0]||=[ei(" Binary file ",-1)]]),_:1}))],64)))})}),QZt=V(()=>{VZt(),RZt=IZt}),qZt=V(()=>{Rc(),DZt={class:"text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5"},LZt=Pn({__name:"ResponseBodyToggle",props:{modelValue:{}},emits:["toggle"],setup(e,{emit:t}){let a=t;return(t,r)=>(Zo(),qo("div",DZt,[Go("button",{class:tt(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":"preview"===e.modelValue}]),type:"button",onClick:r[0]||=Ac(e=>a("toggle","preview"),["stop"])}," Preview ",2),Go("button",{class:tt(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":"raw"===e.modelValue}]),type:"button",onClick:r[1]||=Ac(e=>a("toggle","raw"),["stop"])}," Raw ",2)]))}})}),FZt=V(()=>{qZt(),BZt=LZt});function WZt(e,t){return Zo(),qo("div",XZt,[...t[0]||=[Go("div",{class:"playIcon"},[Go("svg",{fill:"currentColor",height:"32",viewBox:"0 0 256 256",width:"32",xmlns:"http://www.w3.org/2000/svg"},[Go("path",{d:"M240,128a15.74,15.74,0,0,1-7.6,13.51L88.32,229.65a16,16,0,0,1-16.2.3A15.86,15.86,0,0,1,64,216.13V39.87a15.86,15.86,0,0,1,8.12-13.82,16,16,0,0,1,16.2.3L232.4,114.49A15.74,15.74,0,0,1,240,128Z"})])],-1),ei(" Sending Request to Endpoint ",-1)]])}var XZt,GZt,YZt,KZt,JZt,eVt,tVt,aVt,rVt,nVt,oVt,iVt=V(()=>{kHt(),Rc(),XZt={class:"sendingRequest"},GZt=OHt({},[["render",WZt],["__scopeId","data-v-65dc6dfb"]])}),sVt=V(()=>{WHt(),KHt(),aZt(),iZt(),uZt(),mZt(),gZt(),xZt(),QZt(),FZt(),iVt(),Rc(),ZS(),D1e(),YZt={key:1,class:"autosendContainer"},KZt={key:2,class:"autosendContainer"},JZt={class:"requestContent"},eVt={class:"requestContentInner"},tVt={key:0,class:"code"},aVt={key:1,class:"code"},rVt={class:"requestHeaderContainer"},nVt=Pn({__name:"RequestPreview",props:{request:{},response:{},state:{}},setup(e){let t=ol(()=>e.response?.success?{data:e.response.data.responseBody,headers:e.response.data.headers}:"REQUEST_NOT_OK"===e.response?.error?.code?{data:e.response.error.detail.responseBody,headers:e.response.error.detail.headers}:void 0),a=Za(!1),r=ol(()=>"requestFailed"===e.state||"requiresApproval"===e.state||a.value),n=ol(()=>function({data:e,headers:t}){let a=OZt(t),r=a.find(e=>"content-type"===e.name.toLowerCase()),n=r?.value?iA(r.value):void 0;return{mimeType:n,attachmentFilename:vZt(a.find(e=>"content-disposition"===e.name.toLowerCase())?.value??""),dataUrl:yZt(e)?URL.createObjectURL(e):"string"==typeof e?URL.createObjectURL(new Blob([e],{type:n?n.toString():void 0})):e instanceof Object&&Object.keys(e).length?URL.createObjectURL(new Blob([JSON.stringify(e)],{type:n?n.toString():void 0})):""}}({data:t.value?.data,headers:t.value?.headers})),o=ol(()=>function(e){let t=fZt[e];return t||(e.endsWith("+json")?{extension:".json",raw:!0,language:"json"}:void 0)}(n.value.mimeType?.essence??"")),i=Za();function s(e){i.value=e}let l=ol(()=>i.value?i.value:o.value?.raw&&!o.value.preview?"raw":o.value?.preview?"preview":"raw");return(i,c)=>(Zo(),qo("div",{class:tt(["requestPreview",{open:r.value,succeeded:"requestSucceeded"===e.state}])},["approved"===e.state?(Zo(),Fo(tZt,{key:0})):"buildingRequest"===e.state?(Zo(),qo("div",YZt,[qs(YHt)])):"requiresApproval"===e.state?(Zo(),qo("div",KZt,[qs(FHt)])):"sendingRequest"===e.state?(Zo(),qo("button",{key:3,class:"toggleButton",type:"button",onClick:c[0]||=e=>a.value=!a.value},[qs(GZt),r.value?(Zo(),Fo(Fa(jf),{key:0})):(Zo(),Fo(Fa(Ff),{key:1}))])):"requestSucceeded"===e.state?(Zo(),qo("button",{key:4,class:"toggleButton",type:"button",onClick:c[1]||=e=>a.value=!a.value},[qs(hZt),r.value?(Zo(),Fo(Fa(jf),{key:0})):(Zo(),Fo(Fa(Ff),{key:1}))])):"rejected"===e.state?(Zo(),qo("button",{key:5,class:"toggleButton",type:"button",onClick:c[2]||=e=>a.value=!a.value},[qs(cZt),r.value?(Zo(),Fo(Fa(jf),{key:0})):(Zo(),Fo(Fa(Ff),{key:1}))])):"requestFailed"===e.state?(Zo(),Fo(oZt,{key:6})):ai("",!0),Go("div",JZt,[Go("div",eVt,[e.request?(Zo(),qo("div",tVt,[c[4]||=Go("div",{class:"requestHeaderContainer"},[Go("h1",null,"Request")],-1),qs(Fa(f1e),{class:"codeBlock",content:JSON.stringify(e.request,null,2),lang:"json"},null,8,["content"])])):ai("",!0),t.value?(Zo(),qo("div",aVt,[Go("div",rVt,[c[5]||=Go("h1",null,"Response",-1),o.value?.raw&&o.value.preview?(Zo(),Fo(BZt,{key:0,modelValue:l.value,"onUpdate:modelValue":c[3]||=e=>l.value=e,onToggle:s},null,8,["modelValue"])):ai("",!0)]),qs(RZt,{data:t.value.data,display:l.value,mediaConfig:o.value,responseBody:n.value},null,8,["data","display","mediaConfig","responseBody"])])):ai("",!0)])])],2))}})}),lVt=V(()=>{kHt(),sVt(),oVt=OHt(nVt,[["__scopeId","data-v-7595724d"]])});function cVt(e){return"tool-execute-request"===e.type&&"input-available"===e.state&&"get"!==e.input?.method?.toLowerCase()}var uVt,dVt,pVt,hVt=V(()=>{_Dt(),sLt(),fLt(),vHt(),Rc()}),mVt=V(()=>{vHt(),lVt(),hVt(),Rc(),uVt={class:"executeRequestTool"},dVt=Pn({__name:"ExecuteRequestTool",props:{messagePart:{}},setup(e){let t=mHt(),a=ol(()=>"input-streaming"===e.messagePart.value.state?"buildingRequest":"approval-responded"===e.messagePart.value.state&&"submitted"===t.chat.status?"sendingRequest":cVt(e.messagePart.value)?"requiresApproval":"output-available"===e.messagePart.value.state?e.messagePart.value.output.success?"requestSucceeded":"requestFailed":"output-error"===e.messagePart.value.state?"rejected":null);return(t,r)=>(Zo(),qo("div",uVt,[a.value?(Zo(),Fo(oVt,{key:0,request:e.messagePart.value.input,response:e.messagePart.value.output,state:a.value},null,8,["request","response","state"])):ai("",!0)]))}})}),fVt=V(()=>{kHt(),mVt(),pVt=OHt(dVt,[["__scopeId","data-v-3e825a81"]])});function gVt(e,t){return Zo(),qo("div",vVt,[...t[0]||=[Go("div",{class:"playIcon"},null,-1),ei(" Loading APIs... ",-1)]])}var vVt,bVt,yVt,OVt,xVt,wVt,kVt,SVt,AVt=V(()=>{kHt(),Rc(),vVt={class:"loadingApiSpecs"},bVt=OHt({},[["render",gVt],["__scopeId","data-v-9d9724d2"]])}),_Vt=V(()=>{AVt(),Rc(),yVt={key:0},OVt=Pn({__name:"GetOpenAPISpecsSummary",props:{messagePart:{},message:{}},setup(e){let t=Za(!1);return fn(()=>e.message,()=>{let a=e.message.parts;t.value=!!a[a.findIndex(t=>"toolCallId"in t&&t.toolCallId===e.messagePart.value.toolCallId)+1]}),(e,a)=>t.value?ai("",!0):(Zo(),qo("div",yVt,[qs(bVt)]))}})}),TVt=V(()=>{_Vt(),xVt=OVt}),EVt=V(()=>{Rc(),wVt={class:"contextItemText"},kVt=Pn({__name:"ContextItem",props:{loading:{type:Boolean}},setup:e=>(t,a)=>(Zo(),qo("div",{class:tt(["contextItem",{shimmer:e.loading}])},[Go("span",wVt,[Jn(t.$slots,"default",{},void 0,!0)])],2))})}),CVt=V(()=>{kHt(),EVt(),SVt=OHt(kVt,[["__scopeId","data-v-e6786ce3"]])});function PVt(e,t){return Zo(),qo("div",MVt,[...t[0]||=[Go("div",{class:"playIcon"},null,-1),ei(" Retrieving relevant information... ",-1)]])}var MVt,$Vt,NVt,IVt,RVt,DVt,LVt,BVt,jVt,UVt,zVt,HVt=V(()=>{kHt(),Rc(),MVt={class:"sendingRequest"},$Vt=OHt({},[["render",PVt],["__scopeId","data-v-6e0ac42c"]])}),ZVt=V(()=>{fLt(),vHt(),CVt(),HVt(),Rc(),IJe(),NVt={key:0},IVt={key:1,class:"operations"},RVt={class:"overflowPopover"},DVt=Pn({__name:"SearchOpenAPIOperationsTool",props:{messagePart:{},message:{}},setup(e){let t=Za(!1);fn(()=>e.message,()=>{let a=e.message.parts;t.value=!!a[a.findIndex(t=>"toolCallId"in t&&t.toolCallId===e.messagePart.value.toolCallId)+1]});let a=ol(()=>{if(e.messagePart.value.output)return e.messagePart.value.output.flatMap(e=>{let t=e.info?.title;return function(e){return Object.values(e.paths??{}).flatMap(e=>Object.values(e??{}))}(e).map(e=>`${t?`${t} - `:""}${e.summary??""}`).filter(Boolean)})}),r=ol(()=>a.value?.slice(0,5)),n=ol(()=>a.value?.slice(5)??[]),o=mHt();return(i,s)=>(Zo(),qo(Ls,null,["input-available"===e.messagePart.value.state&&"streaming"===Fa(o).chat.status?(Zo(),qo("div",NVt,[qs($Vt)])):ai("",!0),a.value?(Zo(),qo("div",IVt,[(Zo(!0),qo(Ls,null,Yn(r.value,e=>(Zo(),Fo(SVt,{key:e,loading:!t.value},{default:cn(()=>[ei(Kt(e),1)]),_:2},1032,["loading"]))),128)),n.value.length?(Zo(),Fo(Fa(sKe),{key:0,placement:"bottom-start"},{popover:cn(()=>[Go("div",RVt,[(Zo(!0),qo(Ls,null,Yn(n.value,e=>(Zo(),Fo(SVt,{key:e,loading:!t.value},{default:cn(()=>[ei(Kt(e),1)]),_:2},1032,["loading"]))),128))])]),default:cn(()=>[qs(SVt,{loading:!t.value},{default:cn(()=>[ei(" +"+Kt(n.value.length),1)]),_:1},8,["loading"])]),_:1})):ai("",!0)])):ai("",!0)],64))}})}),VVt=V(()=>{kHt(),ZVt(),LVt=OHt(DVt,[["__scopeId","data-v-cbff70ed"]])}),QVt=V(()=>{Rc(),MJe(),BVt=Pn({__name:"Text",props:{messagePart:{}},setup:e=>(t,a)=>(Zo(),Fo(Fa(aKe),{value:e.messagePart.value.text},null,8,["value"]))})}),qVt=V(()=>{QVt(),jVt=BVt}),FVt=V(()=>{UVt={LIMIT_REACHED:"LIMIT_REACHED"}}),WVt=V(()=>{zVt=1e4});function XVt(){let{api:e}=mHt(),t=Za(""),a=function(e,t=200,a={}){return fpe(gpe(t,a),e)}(async t=>{let a=await e.search(t);a.success&&(n.value=a.data.results)},200),r=ol({get:()=>t.value,set:e=>{a(e),t.value=e}}),n=Za([]);return a(""),{query:r,results:n}}var GVt,YVt,KVt,JVt,eQt,tQt,aQt,rQt,nQt,oQt,iQt,sQt,lQt,cQt,uQt,dQt,pQt,hQt,mQt,fQt=V(()=>{vHt(),Rc(),Jpe()}),gQt=V(()=>{vHt(),fQt(),Rc(),v8e(),Qle(),R8e(),GVt={key:0,class:"catalog custom-scroll"},YVt=["onClick"],KVt={class:"left"},JVt=["src"],eQt={class:"right"},tQt={class:"item-top"},aQt={class:"version"},rQt={class:"description"},nQt=Pn({__name:"Catalog",props:{modal:{}},setup(e){let t=XVt(),a=mHt(),r=ol(()=>t.results.value.filter(e=>!a.registryDocuments.value.some(t=>t.namespace===e.namespace&&t.slug===e.slug)).map(e=>({...e,label:e.title,id:e.id})));return(n,o)=>(Zo(),Fo(Fa(p2e),{class:"catalogModal",state:e.modal},{default:cn(()=>[qs(Fa(F2e),{autofocus:"",class:"searchInput",modelValue:Fa(t).query.value,"onUpdate:modelValue":o[0]||=e=>Fa(t).query.value=e??""},null,8,["modelValue"]),r.value.length?(Zo(),qo("div",GVt,[(Zo(!0),qo(Ls,null,Yn(r.value,t=>(Zo(),qo("button",{key:t.id,class:"item",type:"button",onClick:()=>{Fa(a).addDocument(t),e.modal.hide()}},[Go("div",KVt,[t.logoUrl?(Zo(),qo("img",{key:0,class:"logo",src:t.logoUrl},null,8,JVt)):(Zo(),Fo(Fa(Ple),{key:1,class:"logo",logo:"Openapi"}))]),Go("div",eQt,[Go("div",tQt,[Go("span",null,Kt(t.title),1),Go("span",aQt,"v"+Kt(t.currentVersion),1)]),Go("span",rQt," @"+Kt(t.namespace)+"/"+Kt(t.slug),1)])],8,YVt))),128))])):ai("",!0)]),_:1},8,["state"]))}})}),vQt=V(()=>{kHt(),gQt(),oQt=OHt(nQt,[["__scopeId","data-v-18b2aea2"]])}),bQt=V(()=>{vQt(),Rc(),v8e(),ZS(),khe(),iQt={class:"dropdown-item"},sQt={class:"dropdown-item"},lQt=Pn({__name:"ActionsDropdown",emits:["uploadApi"],setup(e){let t=l2e();return(e,a)=>(Zo(),qo(Ls,null,[qs(Fa(Xpe),{offset:{crossAxis:-5,mainAxis:5}},{items:cn(()=>[qs(Fa(che),{onClick:a[0]||=t=>e.$emit("uploadApi")},{default:cn(()=>[Go("div",iQt,[qs(Fa(Zx)),a[2]||=ei(" Upload API ",-1)])]),_:1}),qs(Fa(che),{onClick:a[1]||=e=>Fa(t).show()},{default:cn(()=>[Go("div",sQt,[qs(Fa(jy)),a[3]||=ei(" Search Catalog ",-1)])]),_:1})]),default:cn(()=>[Jn(e.$slots,"default",{},void 0,!0)]),_:3}),Fa(t).open?(Zo(),Fo(oQt,{key:0,modal:Fa(t)},null,8,["modal"])):ai("",!0)],64))}})}),yQt=V(()=>{kHt(),bQt(),cQt=OHt(lQt,[["__scopeId","data-v-e2c3bd19"]])}),OQt=V(()=>{Rc(),ZS(),uQt={class:"approvalSection"},dQt={class:"approvalText flex items-center gap-1.5"},pQt={class:"approveContainer"},hQt=Pn({__name:"ApprovalSection",emits:["approve","reject"],setup(e,{emit:t}){let a=t;return(e,t)=>(Zo(),qo("div",uQt,[Go("strong",dQt,[qs(Fa(Jb),{class:"text-blue size-4",weight:"bold"}),t[2]||=ei(" One or more requests require approval. ",-1)]),Go("div",pQt,[Go("button",{type:"button",class:"actionButton rejectButton",onClick:t[0]||=e=>a("reject")}," Reject "),Go("button",{type:"button",class:"actionButton approveButton",onClick:t[1]||=e=>a("approve")}," Approve ")])]))}})}),xQt=V(()=>{kHt(),OQt(),mQt=OHt(hQt,[["__scopeId","data-v-a7e6c699"]])});function wQt(){let{chat:e}=mHt();return ol(()=>{if(!e.error)return;let t=function(e){try{return JSON.parse(e)}catch{return}}(e.error.message);return t&&o(kQt,t)?d(kQt,t):{message:e.error.message,code:"UNKNOWN_ERROR"}})}var kQt,SQt,AQt,_Qt,TQt=V(()=>{fLt(),vHt(),Rc(),J(),kQt=x({message:h(),code:h(),status:S(p())})}),EQt=V(()=>{FVt(),Rc(),ZS(),SQt={key:0,class:"error gap-1.5"},AQt=Pn({__name:"ErrorMessage",props:{error:{}},setup(e){let t=[UVt.LIMIT_REACHED];return(a,r)=>t.includes(e.error.code)?ai("",!0):(Zo(),qo("div",SQt,[qs(Fa(Jb),{class:"text-red size-4",weight:"bold"}),ei(" "+Kt(e.error.message),1)]))}})}),CQt=V(()=>{kHt(),EQt(),_Qt=OHt(AQt,[["__scopeId","data-v-63a481da"]])});function PQt(){let{dashboardUrl:e,mode:t,uploadedTmpDocumentUrl:a}=mHt(),r=ol(()=>"full"===t?e:a.value?`${e}/register?flow=oss-agent&docUrl=${a.value}`:e);return{signupLink:r,navigateToSignup:function(){window.location.assign(r.value)}}}var MQt,$Qt,NQt,IQt,RQt,DQt,LQt,BQt,jQt,UQt,zQt,HQt,ZQt,VQt,QQt,qQt,FQt,WQt,XQt,GQt,YQt,KQt,JQt,eqt,tqt,aqt,rqt,nqt,oqt,iqt,sqt,lqt,cqt,uqt,dqt,pqt,hqt=V(()=>{vHt(),Rc()}),mqt=V(()=>{lLt(),hqt(),Rc(),ZS(),MQt={class:"freeMessagesInfoSection"},$Qt={class:"infoText flex items-center gap-1.5"},NQt=["href"],IQt={class:"actionsContainer"},RQt=["href"],DQt=Pn({__name:"FreeMessagesInfoSection",setup(e){let t=Za(!1),{signupLink:a}=PQt();function r(){t.value=!0}return(e,n)=>un((Zo(),qo("div",MQt,[Go("strong",$Qt,[qs(Fa(Jb),{class:"text-blue size-4",weight:"bold"}),Go("a",{class:"underline",href:Fa(a),target:"_blank"},"Sign up for Agent Scalar",8,NQt),n[0]||=ei(" to continue without hitting limits. ",-1)]),Go("div",IQt,[Go("a",{class:"actionButton upgradeButton",href:Fa(nLt).AGENT_SCALAR_DOCUMENTATION,target:"_blank",type:"button"}," Read more ",8,RQt),Go("button",{"aria-label":"Close",class:"closeButton",type:"button",onClick:r},[qs(Fa(Cw),{class:"size-4",weight:"bold"})])])],512)),[[ac,!t.value]])}})}),fqt=V(()=>{kHt(),mqt(),LQt=OHt(DQt,[["__scopeId","data-v-913a3815"]])}),gqt=V(()=>{hqt(),Rc(),ZS(),BQt={class:"paymentSection"},jQt={class:"approvalText flex items-center gap-1.5"},UQt={class:"paymentContainer"},zQt=Pn({__name:"PaymentSection",setup(e){let{navigateToSignup:t}=PQt();return(e,a)=>(Zo(),qo("div",BQt,[Go("strong",jQt,[qs(Fa(Jb),{class:"text-blue size-4",weight:"bold"}),a[1]||=ei(" You've used up your complimentary Scalar Credits. Sign up to get free Credits. ",-1)]),Go("div",UQt,[Go("button",{class:"actionButton approveButton",type:"button",onClick:a[0]||=(...e)=>Fa(t)&&Fa(t)(...e)}," Sign up "),a[2]||=ti('<div class="paymentInfo" data-v-8f005a5c><h3 data-v-8f005a5c>$0 <span data-v-8f005a5c>/ month</span></h3><div class="paymentInfoSection" data-v-8f005a5c><div class="paymentInfoItem" data-v-8f005a5c><span data-v-8f005a5c>Credits</span><span data-v-8f005a5c>100</span></div><div class="paymentInfoItem" data-v-8f005a5c><span data-v-8f005a5c>MCP Servers</span><span data-v-8f005a5c>Unlimited</span></div><div class="paymentInfoItem" data-v-8f005a5c><span data-v-8f005a5c>Base monthly total</span><span data-v-8f005a5c>$0.00</span></div></div><div class="paymentInfoSection" data-v-8f005a5c><div class="paymentInfoItem" data-v-8f005a5c><span data-v-8f005a5c>Additional Credits</span><span data-v-8f005a5c>+ $0.02 per Credit</span></div></div></div>',1)])]))}})}),vqt=V(()=>{kHt(),gqt(),HQt=OHt(zQt,[["__scopeId","data-v-8f005a5c"]])}),bqt=V(()=>{r0e(),iE(),Rc(),ZQt={class:"flex items-center flex-1 relative"},VQt={key:0,class:"select-none whitespace-nowrap text-transparent"},QQt=["aria-readonly","readonly"],qQt={key:1,class:"absolute flex items-center inset-0 select-none overflow-hidden whitespace-nowrap"},FQt={key:0,class:"text-c-2"},WQt={class:"text-transparent"},XQt={key:1,class:"text-c-2"},GQt=Pn({inheritAttrs:!1,__name:"ScalarTextInput",props:io({readonly:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:io(["click"],["update:modelValue"]),setup(e,{emit:t}){let a=t,r=wo(e,"modelValue"),n=Za(),{stylingAttrsCx:o,otherAttrs:i}=aE();function s(t){a("click",t),e.readonly?n.value?.select():n.value?.focus()}return ts(()=>{"autofocus"in i.value&&n.value?.focus()}),(t,a)=>(Zo(),Fo(Fa(tJe),ii({is:"div"},Fa(o)("cursor-text text-c-1",e.readonly?"":"focus-within:bg-b-1"),{onClick:s}),{default:cn(()=>[Go("div",ZQt,[t.$slots.prefix?(Zo(),qo("div",VQt,[Jn(t.$slots,"prefix")])):ai("",!0),un(Go("input",ii({ref_key:"input",ref:n,"onUpdate:modelValue":a[0]||=e=>r.value=e,"aria-readonly":e.readonly||void 0,class:"z-1 min-w-0 flex-1 rounded-none border-none bg-transparent placeholder:font-[inherit] focus-within:outline-none",readonly:e.readonly},Fa(i)),null,16,QQt),[[wc,r.value]]),t.$slots.prefix||t.$slots.suffix?(Zo(),qo("div",qQt,[t.$slots.prefix?(Zo(),qo("span",FQt,[Jn(t.$slots,"prefix")])):ai("",!0),Go("span",WQt,Kt(r.value||t.$attrs.placeholder),1),t.$slots.suffix?(Zo(),qo("span",XQt,[Jn(t.$slots,"suffix")])):ai("",!0)])):ai("",!0)]),Jn(t.$slots,"aside")]),_:3},16))}})}),yqt=V(()=>{bqt(),YQt=GQt}),Oqt=V(()=>{r1e(),o1e(),yqt(),Rc(),Jpe(),KQt=Pn({__name:"ScalarTextInputCopy",props:io({duration:{default:1500},editable:{type:Boolean},immediate:{type:Boolean}},{modelValue:{},modelModifiers:{},copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:modelValue","update:copied"],setup(e){ts(()=>{e.immediate&&t.value&&r(t.value)});let t=wo(e,"modelValue"),a=wo(e,"copied"),{copy:r,copied:n}=Npe({legacy:!0,copiedDuring:e.duration});return fn(n,e=>a.value=e),(o,i)=>(Zo(),Fo(YQt,{modelValue:t.value,"onUpdate:modelValue":i[1]||=e=>t.value=e,readonly:!e.editable,onClick:i[2]||=e=>t.value&&Fa(r)(t.value)},{aside:cn(()=>[qs(Fa(z0e),{class:"z-1",copied:a.value||Fa(n),placement:"left",onClick:i[0]||=Ac(e=>t.value&&Fa(r)(t.value),["stop"])},Kn({backdrop:cn(()=>[qs(Fa(R0e),{class:"bg-b-1.5"})]),_:2},[o.$slots.copy?{name:"copy",fn:cn(()=>[Jn(o.$slots,"copy")]),key:"0"}:void 0,o.$slots.copied?{name:"copied",fn:cn(()=>[Jn(o.$slots,"copied")]),key:"1"}:void 0]),1032,["copied"])]),_:3},8,["modelValue","readonly"]))}})}),xqt=V(()=>{Oqt(),JQt=KQt}),wqt=V(()=>{yqt(),xqt()}),kqt=V(()=>{vHt(),fQt(),Rc(),ZS(),IJe(),wqt(),eqt=["onClick"],tqt=["src"],aqt={key:1,class:"searchResultsEmpty"},rqt=Pn({__name:"SearchPopover",setup(e){let t=mHt(),a=XVt(),r=ol(()=>a.results.value.filter(e=>!t.registryDocuments.value.some(t=>t.namespace===e.namespace&&t.slug===e.slug)).map(e=>({...e,label:e.title,id:e.id})));return(e,n)=>(Zo(),Fo(Fa(sKe),{offset:0,placement:"top-start",resize:"",style:{width:"220px"}},{popover:cn(({close:e})=>[qs(Fa(YQt),{autofocus:"",class:"searchInput",modelValue:Fa(a).query.value,placeholder:"Add an API","onUpdate:modelValue":n[0]||=e=>Fa(a).query.value=e??""},{prefix:cn(()=>[qs(Fa(jy),{class:"searchIcon"})]),_:1},8,["modelValue"]),r.value.length?(Zo(!0),qo(Ls,{key:0},Yn(r.value,a=>(Zo(),qo("button",{key:a.id,class:"searchItem",type:"button",onClick:()=>{Fa(t).addDocument(a),e()}},[a.logoUrl?(Zo(),qo("img",{key:0,class:"searchItemLogo",src:a.logoUrl},null,8,tqt)):ai("",!0),Go("span",null,Kt(a.title),1)],8,eqt))),128)):(Zo(),qo("span",aqt," No APIs found "))]),default:cn(()=>[Jn(e.$slots,"default",{},void 0,!0)]),_:3}))}})}),Sqt=V(()=>{kHt(),kqt(),nqt=OHt(rqt,[["__scopeId","data-v-3e0405c7"]])}),Aqt=V(()=>{Rc(),ZS(),R4e(),oqt={key:0,class:"flex items-center gap-1.5"},iqt={key:0,class:"uploadText"},sqt={key:1,class:"uploadText"},lqt={key:2,class:"uploadText"},cqt={key:1,class:"uploadText flex items-center gap-1.5"},uqt={key:2,class:"uploadText flex items-center gap-1.5"},dqt=Pn({__name:"UploadSection",props:{uploadState:{}},setup(e){let t=N4e(),a=ol(()=>["uploading","processing","loading"].includes(e.uploadState.type));return(r,n)=>(Zo(),qo("div",{class:tt(["uploadSection",{error:"error"===e.uploadState.type,done:"done"===e.uploadState.type}])},[a.value?(Zo(),qo("div",oqt,[qs(Fa(Yle),{class:"text-blue",loader:{...Fa(t),isLoading:!0},size:"lg"},null,8,["loader"]),"loading"===e.uploadState.type?(Zo(),qo("strong",iqt," Loading OpenAPI document… ")):"processing"===e.uploadState.type?(Zo(),qo("strong",sqt," Processing OpenAPI document… ")):(Zo(),qo("strong",lqt," Uploading OpenAPI document… "))])):ai("",!0),"done"===e.uploadState.type?(Zo(),qo("strong",cqt,[qs(Fa(cg),{class:"icon text-green"}),n[0]||=ei(" Your OpenAPI document has been processed successfully. ",-1)])):ai("",!0),"error"===e.uploadState.type?(Zo(),qo("strong",uqt,[qs(Fa(Lw),{class:"icon text-red"}),ei(" "+Kt(e.uploadState.error),1)])):ai("",!0)],2))}})}),_qt=V(()=>{kHt(),Aqt(),pqt=OHt(dqt,[["__scopeId","data-v-1e830c40"]])});function Tqt(e){return e.type.startsWith("tool")&&"input-available"===e.state}var Eqt,Cqt,Pqt,Mqt,$qt,Nqt,Iqt,Rqt,Dqt,Lqt,Bqt,jqt,Uqt,zqt,Hqt,Zqt,Vqt,Qqt,qqt,Fqt,Wqt,Xqt,Gqt,Yqt=V(()=>{vHt(),Rc()}),Kqt=V(()=>{FVt(),WVt(),SLt(),vHt(),hVt(),yQt(),xQt(),TQt(),CQt(),fqt(),vqt(),Sqt(),_qt(),Yqt(),Rc(),ZS(),jJe(),R4e(),Pfe(),Eqt={class:"actionContainer"},Cqt=["disabled"],Pqt={class:"inputActionsContainer"},Mqt={class:"inputActionsLeft"},$qt={class:"addAPIButton",type:"button"},Nqt={class:"addAPIButton",type:"button"},Iqt=["src"],Rqt=["onClick"],Dqt={class:"inputActionsRight"},Lqt={class:"sendCheckboxContinue"},Bqt={key:0,class:"relative flex items-center gap-1.5"},jqt={class:"termsAgree",for:"agentTermsAgree"},Uqt={key:5,class:"addMoreContext"},zqt={class:"ml-auto flex items-center gap-1"},Hqt=["onClick"],Zqt=["alt","src"],Vqt=Pn({__name:"PromptForm",emits:["submit","uploadApi"],setup(e,{expose:t,emit:a}){let r=a;t({focusPrompt:function(){n.value?.focus()}});let n=Nn("agentPrompt"),o=mHt(),i=ol(()=>o.prompt.value.trim().length>0),s=ol(()=>o.prompt.value.trim().length>zVt),l=ol(()=>o.chat.messages.length>1&&!o.getAgentKey?.()&&b?.value?.code!==UVt.LIMIT_REACHED);function c(e){o.loading.value||"Enter"===e.key&&!e.shiftKey&&(e.preventDefault(),v(),window.scrollTo(0,document.body.scrollHeight))}fn(o.prompt,()=>{if(n?.value){if(!o.prompt.value.length)return void(n.value.style.height="0px");n.value.style.height="auto",n.value.style.height=n.value.scrollHeight+"px"}}),fn(()=>o.chat.status,e=>{("ready"===e||"error"===e)&&n.value?.focus()});let{approvalRequiredParts:u,respondToRequestApprovals:d}=function(){let e=mHt(),t=ol(()=>e.chat.messages.filter(e=>e.parts.some(cVt)).flatMap(e=>e.parts).filter(cVt));return{approvalRequiredParts:t,respondToRequestApprovals:async function(a){let r=t.value.map(async t=>{if(!a)return await e.chat.addToolOutput({tool:wIt,toolCallId:t.toolCallId,state:"output-error",errorText:"The user denied the request."});await rLt({documentSettings:dLt(e.workspaceStore),proxyUrl:e.proxyUrl.value,input:t.input,toolCallId:t.toolCallId,chat:e.chat})});await Promise.all(r)}}}(),{pendingClientToolParts:p}=function(){let e=mHt();return{pendingClientToolParts:ol(()=>e.chat.messages.filter(e=>e.parts.some(Tqt)).flatMap(e=>e.parts).filter(Tqt))}}(),h=bLt();function m(){o.terms.accept(),"preview"===o.mode&&o.getActiveDocumentJson&&h.uploadTempDocument(o.getActiveDocumentJson(),!0)}let f=ol(()=>Object.values(o.pendingDocuments).some(Boolean)),g=ol(()=>{let e=s.value,t=!i.value,a=u.value.length>0,r=p.value.length>0,n="preview"===o.mode,l=n&&!o.terms.accepted.value,c=n&&!!h.uploadState.value,d=f.value;return e||t||a||r||l||c||d});function v(){g.value||r("submit")}let b=wQt();return(e,t)=>(Zo(),qo("div",Eqt,[Fa(h).uploadState.value||f.value?(Zo(),Fo(pqt,{key:0,uploadState:Fa(h).uploadState.value??{type:"loading"}},null,8,["uploadState"])):ai("",!0),Fa(b)?(Zo(),Fo(_Qt,{key:1,error:Fa(b)},null,8,["error"])):ai("",!0),Fa(u).length?(Zo(),Fo(mQt,{key:2,onApprove:t[0]||=e=>Fa(d)(!0),onReject:t[1]||=e=>Fa(d)(!1)})):ai("",!0),Fa(b)?.code===Fa(UVt).LIMIT_REACHED?(Zo(),Fo(HQt,{key:3})):ai("",!0),l.value?(Zo(),Fo(LQt,{key:4})):ai("",!0),Go("form",{class:"promptForm",onSubmit:Ac(v,["prevent"])},[t[6]||=Go("label",{class:"agentLabel",for:"agentTextarea"}," Type a Request To get Started ",-1),un(Go("textarea",{id:"agentTextarea",ref:"agentPrompt","onUpdate:modelValue":t[2]||=e=>Fa(o).prompt.value=e,class:"prompt custom-scroll",disabled:Fa(o).loading.value,name:"prompt",placeholder:"Ask me anything…",onKeydown:c},null,40,Cqt),[[bc,Fa(o).prompt.value]]),Go("div",Pqt,[Go("div",Mqt,[Fa(o).hideAddApi?ai("",!0):(Zo(),qo(Ls,{key:0},[Fa(o).isLoggedIn?.value?(Zo(),Fo(cQt,{key:1,onUploadApi:t[3]||=t=>e.$emit("uploadApi")},{default:cn(()=>[Go("button",Nqt,[qs(Fa(NO),{class:"size-4",weight:"bold"})])]),_:1})):(Zo(),Fo(nqt,{key:0},{default:cn(()=>[Go("button",$qt,[qs(Fa(NO),{class:"size-4",weight:"bold"})])]),_:1}))],64)),(Zo(!0),qo(Ls,null,Yn(Fa(o).registryDocuments.value,e=>(Zo(),qo("div",{key:e.id,class:"apiPill"},[e.logoUrl?(Zo(),qo("img",{key:0,class:"apiPillLogo",src:e.logoUrl},null,8,Iqt)):ai("",!0),ei(" "+Kt(e.title)+" ",1),e.removable?(Zo(),qo("button",{key:1,class:"apiPillRemove",type:"button",onClick:t=>Fa(o).removeDocument(e)},[qs(Fa(Cw),{class:"size-4",weight:"bold"})],8,Rqt)):ai("",!0)]))),128))]),Go("div",Dqt,[Fa(o).loading.value?ai("",!0):(Zo(),Fo(Fa(xfe),{key:0,content:"Settings"},{default:cn(()=>[qs(Fa(wKe),{class:"settingsButton h-7 w-7 p-1.5",icon:Fa(ky),label:"Scalar",size:"md",weight:"bold",onClick:t[4]||=e=>Fa(o).settingsModal.show()},null,8,["icon"])]),_:1})),Go("div",Lqt,[Fa(o).terms.accepted.value||"preview"!==Fa(o).mode?ai("",!0):(Zo(),qo("div",Bqt,[Go("input",{id:"agentTermsAgree",class:"sr-only",type:"checkbox",onChange:m},null,32),Go("label",jqt,[qs(Fa(cg),{class:"termsAgreeIcon",weight:"bold"}),t[5]||=ei(" Agree to Terms & Conditions ",-1)])])),Fa(o).loading.value?(Zo(),Fo(Fa(Yle),{key:2,class:"loader h-7 w-7",loader:{isLoading:Fa(o).loading.value,isValid:!1,clear:async()=>{},invalidate:async()=>{},isInvalid:!1,isActive:!1,validate:async()=>{},start:()=>{}},size:"2xl"},null,8,["loader"])):(Zo(),Fo(Fa(wKe),{key:1,class:"sendButton h-7 w-7 p-1.5",disabled:g.value,icon:Fa(Vm),label:"Scalar",size:"md",type:"submit",weight:"bold"},null,8,["disabled","icon"]))])])])],32),Fa(o).chat.messages.length<=1&&!Fa(o).hideAddApi?(Zo(),qo("div",Uqt,[t[7]||=Go("span",null,"Load additional APIs",-1),Go("div",zqt,[(Zo(!0),qo(Ls,null,Yn(Fa(o).curatedDocuments.value,e=>(Zo(),qo("button",{key:e.id,class:"addAPIContext",type:"button",onClick:t=>Fa(o).addDocument(e)},[e.logoUrl?(Zo(),qo("img",{key:0,alt:e.title,class:"size-4",src:e.logoUrl},null,8,Zqt)):ai("",!0)],8,Hqt))),128))])])):ai("",!0)]))}})}),Jqt=V(()=>{kHt(),Kqt(),Qqt=OHt(Vqt,[["__scopeId","data-v-109c99b0"]])}),eFt=V(()=>{vHt(),VHt(),fVt(),TVt(),VVt(),qVt(),Jqt(),Rc(),qqt={class:"chat"},Fqt={key:0},Wqt={class:"formContainer"},Xqt=Pn({__name:"Chat",emits:["submit","uploadApi"],setup(e,{emit:t}){let a=t,r=mHt();return(e,t)=>(Zo(),qo(Ls,null,[Go("div",qqt,[(Zo(!0),qo(Ls,null,Yn(Fa(r).chat.messages,e=>(Zo(),qo(Ls,{key:e.id},["user"===e.role?(Zo(!0),qo(Ls,{key:0},Yn(e.parts,(t,a)=>(Zo(),qo("div",{key:`${e.id}-${a}`,class:"userMessage"},["text"===t.type?(Zo(),qo("p",Fqt,Kt(t.text),1)):ai("",!0)]))),128)):ai("",!0),"assistant"===e.role?(Zo(!0),qo(Ls,{key:1},Yn(e.parts,(t,a)=>(Zo(),qo("div",{key:`${e.id}-${a}`},["text"===t.type?(Zo(),Fo(jVt,{key:0,messagePart:Ya(t)},null,8,["messagePart"])):ai("",!0),t.type===`tool-${Fa("execute-request")}`?(Zo(),Fo(pVt,{key:1,messagePart:Ya(t)},null,8,["messagePart"])):ai("",!0),t.type===`tool-${Fa("search-openapi-operations")}`?(Zo(),Fo(LVt,{key:2,message:Ma(e),messagePart:Ya(t)},null,8,["message","messagePart"])):ai("",!0),t.type===`tool-${Fa("summarize-openapi-specs")}`?(Zo(),Fo(xVt,{key:3,message:Ma(e),messagePart:Ya(t)},null,8,["message","messagePart"])):ai("",!0),t.type===`tool-${Fa("ask-for-authentication")}`?(Zo(),Fo(BHt,{key:4,message:Ma(e),messagePart:Ya(t)},null,8,["message","messagePart"])):ai("",!0)]))),128)):ai("",!0)],64))),128)),t[2]||=Go("div",{class:"spacer"},null,-1)]),Go("div",Wqt,[qs(Qqt,{onSubmit:t[0]||=e=>a("submit"),onUploadApi:t[1]||=e=>a("uploadApi")})])],64))}})}),tFt=V(()=>{kHt(),eFt(),Gqt=OHt(Xqt,[["__scopeId","data-v-8e43ed7a"]])});function aFt(e,t){return Zo(),qo("svg",rFt,[...t[0]||=[Go("path",{"clip-rule":"evenodd",d:"M31.0667 0C40.2667 0 48.3333 6.13333 52.6 14.9333H57.2667C59.6 14.9333 61.5333 16.8 61.5333 19.1333V32.2C61.5333 33.4667 60.8667 34.6 60 35.3333L63.3333 45.4V45.4667C63.5639 46.207 63.6166 46.9912 63.4874 47.7557C63.3582 48.5202 63.0505 49.2435 62.5895 49.8669C62.1284 50.4903 61.5269 50.9962 60.8338 51.3437C60.1406 51.6911 59.3754 51.8703 58.6 51.8667H54.3333C53.9895 52.4222 53.5082 52.8797 52.936 53.195C52.3638 53.5103 51.72 53.6728 51.0667 53.6667H47.0667C46.5764 53.6755 46.0892 53.5877 45.6328 53.4082C45.1765 53.2287 44.76 52.961 44.4071 52.6205C44.0542 52.28 43.7719 51.8733 43.5762 51.4237C43.3805 50.9741 43.2753 50.4903 43.2667 50C43.2667 47.9333 44.9333 46.2667 47 46.2667H51.0667C52.4667 46.2667 53.7333 46.9333 54.3333 48.0667H58.6C59.3333 48.0667 59.9333 47.4 59.6667 46.6L56.3333 36.3333H51.3333C49.9333 36.3333 48.6 35.6667 47.8 34.5333V34.4667L46.8 32.9333C46.7585 32.8643 46.6999 32.8072 46.6298 32.7675C46.5597 32.7279 46.4805 32.707 46.4 32.707C46.3195 32.707 46.2403 32.7279 46.1702 32.7675C46.1001 32.8072 46.0415 32.8643 46 32.9333L45.4667 34C45.1162 34.7065 44.5739 35.3 43.9019 35.7126C43.2299 36.1253 42.4552 36.3404 41.6667 36.3333H24.9333C23.4 36.3333 21.9333 35.7333 20.8667 34.6667H20.8L19.8667 33.6667C19.6667 33.4667 19.4667 33.3333 19.2 33.3333L17.4667 33.1333C17.3333 38.8667 13.4667 43.4667 8.73333 43.4667C3.93333 43.4667 0 38.6667 0 32.9333C0 32.2667 0 31.6667 0.133333 31.1333V31C0.8 26.8 3.46667 23.4667 6.93333 22.6C9.46667 9.93333 19.3333 0 31.0667 0ZM3.93333 31.5333C4.46667 28 6.93333 26.2 8.73333 26.2C10.7333 26.2 13.6 28.4 13.6 32.8667C13.6 34.4667 13.2667 35.7333 12.7333 36.7333C11.7333 38.7333 10.0667 39.6667 8.73333 39.6667C7.67025 39.6269 6.66506 39.1722 5.93333 38.4C5.8414 38.3142 5.75246 38.2253 5.66667 38.1333C5.19113 37.6008 4.80806 36.9924 4.53333 36.3333C4.0607 35.2169 3.83335 34.0119 3.86667 32.8V31.6667L3.93333 31.6V31.5333ZM24.3333 20.6667C24.3333 19.6667 25.2 18.8 26.2667 18.8H55.8667C56.9333 18.8 57.8 19.6667 57.7333 20.7333V30.7333C57.6667 31.8 56.8 32.6667 55.7333 32.6667H53.4C53.0667 32.6667 52.7333 32.6667 52.4 32.5333C51.5333 32.3333 50.7333 31.8667 50.4 31.3333L47.9333 27.6C47.7363 27.2901 47.4602 27.0383 47.1336 26.8706C46.8069 26.7028 46.4414 26.6251 46.0747 26.6455C45.7081 26.6658 45.3535 26.7835 45.0474 26.9865C44.7413 27.1894 44.4948 27.4702 44.3333 27.8L42.6667 31C42.4199 31.4974 42.04 31.9165 41.5692 32.2107C41.0984 32.505 40.5552 32.6628 40 32.6667L26.2 32.8C25.1333 32.8 24.2667 31.9333 24.2667 30.8667V20.6667H24.3333ZM11 22.2C13.5333 11.5333 22 3.86667 31 3.86667C37.9333 3.86667 44.4 8.2 48.3333 15H24.3333C21.4667 15 18.6 16 16.3333 17.8L16.2667 17.8667L10.9333 22.2H11Z",fill:"currentColor","fill-rule":"evenodd"},null,-1)]])}var rFt,nFt,oFt,iFt,sFt,lFt,cFt,uFt,dFt,pFt,hFt,mFt,fFt,gFt,vFt,bFt,yFt,OFt,xFt,wFt,kFt,SFt,AFt,_Ft,TFt,EFt,CFt,PFt,MFt,$Ft,NFt,IFt=V(()=>{kHt(),Rc(),rFt={fill:"none",height:"54",viewBox:"0 0 64 54",width:"64",xmlns:"http://www.w3.org/2000/svg"},nFt=OHt({},[["render",aFt]])}),RFt=V(()=>{lLt(),vHt(),Jqt(),IFt(),Rc(),oFt={class:"startContainer"},iFt={class:"disclaimerText"},sFt=["href"],lFt=["href"],cFt=Pn({__name:"Start",emits:["submit","uploadApi"],setup(e,{emit:t}){let a=t,{mode:r}=mHt();return(e,t)=>(Zo(),qo("div",oFt,[qs(nFt,{class:"agentLogo"}),t[4]||=Go("h1",{class:"heading"},"How can I help you today?",-1),qs(Qqt,{ref:"promptFormField",onSubmit:t[0]||=e=>a("submit"),onUploadApi:t[1]||=e=>a("uploadApi")},null,512),Go("p",iFt,["preview"===Fa(r)?(Zo(),qo(Ls,{key:0},[ei(" By messaging Agent Scalar your OpenAPI document will be temporarily uploaded to Scalar's servers. You must agree to our ")],64)):(Zo(),qo(Ls,{key:1},[ei("By messaging Agent Scalar you agree to our ")],64)),Go("a",{class:"disclaimerLink",href:Fa(nLt).TERMS_AND_CONDITIONS,target:"_blank"},"Terms",8,sFt),t[2]||=ei(" and ",-1),Go("a",{class:"disclaimerLink",href:Fa(nLt).PRIVACY_POLICY,target:"_blank"},"Privacy Policy",8,lFt),t[3]||=ei(". ",-1)])]))}})}),DFt=V(()=>{kHt(),RFt(),uFt=OHt(cFt,[["__scopeId","data-v-56f7e8dd"]])}),LFt=V(()=>{vHt(),tFt(),DFt(),Rc(),dFt={class:"wrapper"},pFt=Pn({__name:"Layout",emits:["submit","uploadApi"],setup(e,{emit:t}){let a=t,{chat:r}=mHt();return(e,t)=>(Zo(),qo("div",dFt,[Fa(r).messages.length&&(Fa(r).messages.length>1||"submitted"!==Fa(r).status)?(Zo(),Fo(Gqt,{key:0,onSubmit:t[0]||=e=>a("submit"),onUploadApi:t[1]||=e=>a("uploadApi")})):(Zo(),Fo(uFt,{key:1,onSubmit:t[2]||=e=>a("submit"),onUploadApi:t[3]||=e=>a("uploadApi")}))]))}})}),BFt=V(()=>{kHt(),LFt(),hFt=OHt(pFt,[["__scopeId","data-v-f1eee0af"]])}),jFt=V(()=>{Rc(),lce(),ZS(),n0e(),mFt={class:"overflow-x-auto"},fFt={key:1,class:"text-c-1 flex h-auto w-full items-center gap-0.75 rounded-b-lg px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"},gFt={class:"overflow-x-auto"},vFt=Pn({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){let r=a,n=ol(()=>e.servers.map(e=>({id:e.url,label:e.url}))),o=ol(()=>e.selectedServer?.url?.replace(/\/$/,"")||""),i=ol(()=>n.value.find(t=>t.id===e.selectedServer?.url));return t({servers:e.servers,serverUrlWithoutTrailingSlash:o,serverOptions:n,selectedServer:e.selectedServer}),(t,a)=>n.value.length>1?(Zo(),Fo(Fa(GKe),{key:0,ref:"elem",class:"group",modelValue:i.value,options:n.value,placement:"bottom-start",resize:"",target:e.target,"onUpdate:modelValue":a[0]||=e=>r("update:modelValue",e.id)},{default:cn(()=>[qs(Fa(tce),{class:"bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none rounded-b-xl px-3 py-1.5 text-base font-normal whitespace-nowrap -outline-offset-1",variant:"ghost"},{default:cn(()=>[a[1]||=Go("span",{class:"sr-only"},"Server:",-1),Go("span",mFt,Kt(o.value||"Select a server"),1),qs(Fa(jf),{class:"text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["modelValue","options","target"])):(Zo(),qo("div",fFt,[a[2]||=Go("span",{class:"sr-only"},"Server:",-1),Go("span",gFt,Kt(o.value),1)]))}})}),UFt=V(()=>{jFt(),bFt=vFt}),zFt=V(()=>{Tpt()}),HFt=V(()=>{UFt(),Rc(),MJe(),zFt(),yFt=["id"],OFt=Pn({__name:"ServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=Mn(),a=t=>{e.eventBus.emit("server:update:selected",{url:e.selectedServer?.url===t?"":t,meta:{type:"document"}})},r=(t,a)=>{let r=e.servers.findIndex(t=>t.url===e.selectedServer?.url);-1!==r&&e.eventBus.emit("server:update:variables",{index:r,key:t,value:a,meta:{type:"document"}})};return(n,o)=>(Zo(),qo(Ls,null,[o[0]||=Go("label",{class:"bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium"}," Server ",-1),Go("div",{id:Fa(t),class:tt(["border",{"rounded-b-xl":!e.selectedServer?.description&&!e.selectedServer?.variables}])},[e.servers.length?(Zo(),Fo(bFt,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:Fa(t),"onUpdate:modelValue":a},null,8,["selectedServer","servers","target"])):ai("",!0)],10,yFt),qs(Fa(cdt),{layout:"reference",variables:e.selectedServer?.variables,"onUpdate:variable":r},null,8,["variables"]),e.selectedServer?.description?(Zo(),Fo(Fa(aKe),{key:0,class:"text-c-3 rounded-b-xl border-x border-b px-3 py-1.5",value:e.selectedServer.description},null,8,["value"])):ai("",!0)],64))}})}),ZFt=V(()=>{HFt(),xFt=OFt}),VFt=V(()=>{vHt(),HHt(),ZFt(),Rc(),LJ(),wFt={class:"docSettings"},kFt=Pn({__name:"DocSettings",props:{document:{},name:{}},setup(e){let{workspaceStore:t,config:a,eventBus:r}=mHt(),n=ol(()=>rK(t,e.document).environment),o=ol(()=>{let t=bJ(e.document.servers,{documentUrl:e.document["x-scalar-original-source-url"]});return yJ(e.document,null,null,t)}),i=ol(()=>e.document.components?.securitySchemes??{});return(s,l)=>(Zo(),qo("div",wFt,[Go("div",null,[qs(NHt,{authStore:Fa(t).auth,document:e.document,environment:n.value,eventBus:Fa(r),name:e.name,options:Fa(a),securitySchemes:i.value,selectedServer:o.value},null,8,["authStore","document","environment","eventBus","name","options","securitySchemes","selectedServer"])]),Go("div",null,[qs(xFt,{eventBus:Fa(r),selectedServer:o.value,servers:e.document.servers??[]},null,8,["eventBus","selectedServer","servers"])])]))}})}),QFt=V(()=>{kHt(),VFt(),SFt=OHt(kFt,[["__scopeId","data-v-01a25619"]])}),qFt=V(()=>{lLt(),vHt(),QFt(),Rc(),v8e(),rJ(),ZS(),wqt(),AFt={class:"settingsHeading"},_Ft={class:"documentList"},TFt=["onClick"],EFt={key:0},CFt={key:1,class:"noDocuments"},PFt={class:"proxyUrlContainer"},MFt=["href"],$Ft=Pn({__name:"Settings",props:{modalState:{}},setup(e){let{workspaceStore:t,proxyUrlRaw:a}=mHt();function r(e){t.update("x-scalar-active-document",e)}return(n,o)=>(Zo(),Fo(Fa(p2e),{class:"settingsModal",state:e.modalState},{default:cn(()=>[Go("div",AFt,[o[1]||=Go("h1",null,"Settings",-1),qs(Fa(bht),{class:"colorToggle ml-auto"})]),Go("div",_Ft,[Object.entries(Fa(t).workspace.documents).length?(Zo(!0),qo(Ls,{key:0},Yn(Object.entries(Fa(t).workspace.documents),([e,a])=>(Zo(),qo("div",{key:e,class:"document"},[Go("button",{class:tt(["documentName",{documentNameActive:Fa(t).workspace.activeDocument===a}]),type:"button",onClick:t=>r(e)},[ei(" @"+Kt(e)+" ",1),Fa(t).workspace.activeDocument===a?(Zo(),Fo(Fa(jf),{key:0})):(Zo(),Fo(Fa(Ff),{key:1}))],10,TFt),Fa(t).workspace.activeDocument===a&&Fa(eK)(a)?(Zo(),qo("div",EFt,[qs(SFt,{document:a,name:e},null,8,["document","name"])])):ai("",!0)]))),128)):(Zo(),qo("div",CFt," There's no API definition loaded. Use the + button to load APIs. "))]),Go("div",PFt,[o[3]||=Go("label",{for:"proxyUrl"},"CORS Proxy",-1),Go("p",null,[o[2]||=ei(" All requests will be sent through the specified proxy URL to help avoid CORS (Cross-Origin Resource Sharing) issues. ",-1),Go("a",{class:"underline",href:Fa(nLt).PROXY_SOURCE_CODE,target:"_blank"}," Read more ",8,MFt)]),qs(Fa(YQt),{id:"proxyUrl",modelValue:Fa(a),"onUpdate:modelValue":o[0]||=e=>Ha(a)?a.value=e:null,label:"Proxy URL",placeholder:Fa(nLt).DEFAULT_PROXY_URL},null,8,["modelValue","placeholder"])])]),_:1},8,["state"]))}})}),FFt=V(()=>{kHt(),qFt(),NFt=OHt($Ft,[["__scopeId","data-v-dd2544e6"]])});var WFt,XFt=V(()=>{Rc(),VNt(),WFt=(e,t,a)=>async r=>{let n=await(a[e]?.onBeforeExecute?.(r))??r;return await t(n),await(a[e]?.onAfterExecute?.(n)),n}});function GFt({eventBus:e,isSidebarOpen:t,requestBodyCompositionSelection:a,sidebarState:r,modalState:n,store:o}){(function({eventBus:e,store:t,hooks:a}){let r=ol(()=>ZNt(t.value)),n=({collectionType:e})=>"document"===e?r.value.active():r.value.workspace();e.on("workspace:update:active-proxy",e=>WFt("workspace:update:active-proxy",r.value.workspace().workspace.updateActiveProxy,a)(e)),e.on("workspace:update:color-mode",e=>WFt("workspace:update:color-mode",r.value.workspace().workspace.updateColorMode,a)(e)),e.on("workspace:update:theme",e=>WFt("workspace:update:theme",r.value.workspace().workspace.updateTheme,a)(e)),e.on("workspace:update:selected-client",e=>WFt("workspace:update:selected-client",r.value.workspace().workspace.updateSelectedClient,a)(e)),e.on("workspace:update:active-environment",e=>WFt("workspace:update:active-environment",r.value.workspace().workspace.updateActiveEnvironment,a)(e)),e.on("document:update:extension",e=>WFt("document:update:extension",r.value.active().document.updateDocumentExtension,a)(e)),e.on("document:update:icon",e=>WFt("document:update:icon",r.value.active().document.updateDocumentIcon,a)(e)),e.on("document:update:info",e=>WFt("document:update:info",r.value.active().document.updateDocumentInfo,a)(e)),e.on("document:update:watch-mode",e=>WFt("document:update:watch-mode",r.value.active().document.updateWatchMode,a)(e)),e.on("document:create:empty-document",e=>WFt("document:create:empty-document",r.value.active().document.createEmptyDocument,a)(e)),e.on("document:delete:document",e=>WFt("document:delete:document",r.value.active().document.deleteDocument,a)(e)),e.on("environment:upsert:environment",e=>WFt("environment:upsert:environment",n(e).environment.upsertEnvironment,a)(e)),e.on("environment:delete:environment",e=>WFt("environment:delete:environment",n(e).environment.deleteEnvironment,a)(e)),e.on("environment:upsert:environment-variable",e=>WFt("environment:upsert:environment-variable",n(e).environment.upsertEnvironmentVariable,a)(e)),e.on("environment:delete:environment-variable",e=>WFt("environment:delete:environment-variable",n(e).environment.deleteEnvironmentVariable,a)(e)),e.on("cookie:upsert:cookie",async e=>{await WFt("cookie:upsert:cookie",n(e).cookie.upsertCookie,a)(e)}),e.on("cookie:delete:cookie",async e=>{await WFt("cookie:delete:cookie",n(e).cookie.deleteCookie,a)(e)}),e.on("auth:delete:security-scheme",e=>WFt("auth:delete:security-scheme",r.value.active().auth.deleteSecurityScheme,a)(e)),e.on("auth:update:active-index",e=>WFt("auth:update:active-index",r.value.active().auth.updateSelectedAuthTab,a)(e)),e.on("auth:update:security-scheme",e=>WFt("auth:update:security-scheme",r.value.active().auth.updateSecurityScheme,a)(e)),e.on("auth:update:selected-scopes",e=>WFt("auth:update:selected-scopes",r.value.active().auth.updateSelectedScopes,a)(e)),e.on("auth:upsert:scopes",e=>WFt("auth:upsert:scopes",r.value.active().auth.upsertScope,a)(e)),e.on("auth:delete:scopes",e=>WFt("auth:delete:scopes",r.value.active().auth.deleteScope,a)(e)),e.on("auth:update:selected-security-schemes",e=>WFt("auth:update:selected-security-schemes",r.value.active().auth.updateSelectedSecuritySchemes,a)(e)),e.on("auth:clear:selected-security-schemes",e=>WFt("auth:clear:selected-security-schemes",r.value.active().auth.clearSelectedSecuritySchemes,a)(e)),e.on("auth:update:security-scheme-secrets",e=>WFt("auth:update:security-scheme-secrets",r.value.active().auth.updateSecuritySchemeSecrets,a)(e)),e.on("auth:clear:security-scheme-secrets",e=>WFt("auth:clear:security-scheme-secrets",r.value.active().auth.clearSecuritySchemeSecrets,a)(e)),e.on("server:initialize:servers",e=>WFt("server:initialize:servers",r.value.active().server.initializeServers,a)(e)),e.on("server:add:server",e=>WFt("server:add:server",r.value.active().server.addServer,a)(e)),e.on("server:update:server",e=>WFt("server:update:server",r.value.active().server.updateServer,a)(e)),e.on("server:delete:server",e=>WFt("server:delete:server",r.value.active().server.deleteServer,a)(e)),e.on("server:clear:servers",e=>WFt("server:clear:servers",r.value.active().server.clearServers,a)(e)),e.on("server:update:variables",e=>WFt("server:update:variables",r.value.active().server.updateServerVariables,a)(e)),e.on("server:update:selected",e=>WFt("server:update:selected",r.value.active().server.updateSelectedServer,a)(e)),e.on("asyncapi-server:update:selected",e=>WFt("asyncapi-server:update:selected",r.value.active().server.updateSelectedAsyncApiServer,a)(e)),e.on("asyncapi-server:update:variables",e=>WFt("asyncapi-server:update:variables",r.value.active().server.updateAsyncApiServerVariables,a)(e)),e.on("operation:create:operation",e=>WFt("operation:create:operation",r.value.active().operation.createOperation,a)(e)),e.on("operation:update:pathMethod",e=>WFt("operation:update:pathMethod",r.value.active().operation.updateOperationPathMethod,a)(e)),e.on("operation:update:meta",e=>WFt("operation:update:meta",r.value.active().operation.updateOperationMeta,a)(e)),e.on("operation:delete:operation",e=>WFt("operation:delete:operation",r.value.active().operation.deleteOperation,a)(e)),e.on("operation:create:draft-example",e=>WFt("operation:create:draft-example",r.value.active().operation.createOperationDraftExample,a)(e)),e.on("operation:delete:example",e=>WFt("operation:delete:example",r.value.active().operation.deleteOperationExample,a)(e)),e.on("operation:rename:example",e=>WFt("operation:rename:example",r.value.active().operation.renameOperationExample,a)(e)),e.on("operation:upsert:parameter",e=>WFt("operation:upsert:parameter",r.value.active().operation.upsertOperationParameter,a)(e)),e.on("operation:update:extra-parameters",e=>WFt("operation:update:extra-parameters",r.value.active().operation.updateOperationExtraParameters,a)(e)),e.on("operation:delete:parameter",e=>WFt("operation:delete:parameter",r.value.active().operation.deleteOperationParameter,a)(e)),e.on("operation:delete-all:parameters",e=>WFt("operation:delete-all:parameters",r.value.active().operation.deleteAllOperationParameters,a)(e)),e.on("operation:update:extension",e=>WFt("operation:update:extension",r.value.active().operation.updateOperationExtension,a)(e)),e.on("operation:update:requestBody:contentType",e=>WFt("operation:update:requestBody:contentType",r.value.active().operation.updateOperationRequestBodyContentType,a)(e)),e.on("operation:update:requestBody:value",e=>WFt("operation:update:requestBody:value",r.value.active().operation.updateOperationRequestBodyExample,a)(e)),e.on("operation:update:requestBody:formValue",e=>WFt("operation:update:requestBody:formValue",r.value.active().operation.updateOperationRequestBodyFormValue,a)(e)),e.on("operation:reload:history",e=>WFt("operation:reload:history",r.value.active().operation.reloadOperationHistory,a)(e)),e.on("tag:create:tag",e=>WFt("tag:create:tag",r.value.active().tag.createTag,a)(e)),e.on("tag:edit:tag",e=>WFt("tag:edit:tag",r.value.active().tag.editTag,a)(e)),e.on("tag:delete:tag",e=>WFt("tag:delete:tag",r.value.active().tag.deleteTag,a)(e)),e.on("tabs:add:tab",e=>WFt("tabs:add:tab",r.value.workspace().tabs.addTab,a)(e)),e.on("tabs:close:tab",e=>WFt("tabs:close:tab",r.value.workspace().tabs.closeTab,a)(e)),e.on("tabs:close:other-tabs",e=>WFt("tabs:close:other-tabs",r.value.workspace().tabs.closeOtherTabs,a)(e)),e.on("tabs:focus:tab",e=>WFt("tabs:focus:tab",r.value.workspace().tabs.focusTab,a)(e)),e.on("tabs:focus:tab-last",e=>WFt("tabs:focus:tab-last",r.value.workspace().tabs.focusLastTab,a)(e)),e.on("tabs:navigate:previous",e=>WFt("tabs:navigate:previous",r.value.workspace().tabs.navigatePreviousTab,a)(e)),e.on("tabs:navigate:next",e=>WFt("tabs:navigate:next",r.value.workspace().tabs.navigateNextTab,a)(e)),e.on("tabs:update:tabs",e=>WFt("tabs:update:tabs",r.value.workspace().tabs.updateTabs,a)(e)),e.on("hooks:on:request:complete",e=>WFt("hooks:on:request:complete",r.value.active().operation.addResponseToHistory,a)(e))})({eventBus:e,store:Za(o),hooks:{}}),e.on("scroll-to:nav-item",({id:e})=>r.handleSelectItem(e)),e.on("ui:toggle:sidebar",()=>t.value=!t.value),e.on("ui:close:client-modal",()=>n.hide()),e.on("ui:open:client-modal",e=>{if(a.value=e&&"requestBodyCompositionSelection"in e&&e.requestBodyCompositionSelection?e.requestBodyCompositionSelection:YFt,e){if("id"in e&&e.id){let t=e.id;if("exampleName"in e&&e.exampleName){let a=r.state.getEntryById(e.id);if(a&&"children"in a&&a.children){let r=a.children.find(t=>"example"===t.type&&t.name===e.exampleName);r&&(t=r.id)}}r.handleSelectItem(t)}else if("method"in e&&"path"in e){let t=o.workspace.activeDocument;r.handleSelectItem(r.getEntryByLocation({document:eK(t)?t["x-scalar-navigation"]?.id??"":"",path:e.path,method:e.method,example:e.exampleName})?.id??"")}n.show()}else n.show()})}var YFt,KFt,JFt,eWt,tWt,aWt,rWt,nWt,oWt,iWt,sWt,lWt,cWt,uWt,dWt,pWt,hWt,mWt,fWt,gWt,vWt,bWt=V(()=>{XFt(),Rc(),rJ(),YFt={}}),yWt=V(()=>{UJ(),uJ(),KFt=e=>{if(!0===e)return[];if(!e||Array.isArray(e)&&0===e.length)return TJ;let t=new Set(TJ);if(Array.isArray(e))for(let a of e){let e=_J[a];if(e)for(let r of e)t.delete(`${a}/${r}`);else if(a.includes("/"))t.delete(a);else for(let e of fK(_J))t.delete(`${e}/${a}`)}else if("object"==typeof e)for(let[a,r]of Object.entries(e))if(!0===r){let e=_J[a];if(e)for(let r of e)t.delete(`${a}/${r}`)}else if(Array.isArray(r))for(let e of r)t.delete(e),t.delete(`${a}/${e}`);return Array.from(t)}}),OWt=V(()=>{rJ(),iJ(),oJ(),yMt(),JFt=e=>"example"===e.type,eWt=e=>{let t=e.store.workspace.documents[e.documentSlug??""];return eK(t)?t:void 0},tWt=(e,t)=>{if("default"!==t||void 0!==e.workspace.documents[t])return t;let a=e.workspace["x-scalar-active-document"];return a&&eK(e.workspace.documents[a])?a:Object.entries(e.workspace.documents).find(([,e])=>eK(e))?.[0]},aWt=(e,t)=>{let a=eWt(e);if(a)return"default"===t?Object.keys(a.paths??{})[0]:t},rWt=(e,t,a)=>{let r=eWt(e);if(r&&t){if("default"===a){let e=oK(r.paths?.[t]);return e?Object.keys(e).filter(nK)[0]:void 0}return nK(a)?a:void 0}},nWt=(e,t,a)=>{if(!eWt(e)||"operation"!==t?.type)return"default";let r=t.children?.filter(JFt)??[],n=r.find(e=>e.name===a);return n?n.name:"default"===a?r[0]?.name??"default":"default"},oWt=(e,t)=>{let a=tWt(e,t.documentSlug),r={store:e,documentSlug:a},n=aWt(r,t.path),o=rWt(r,n,t.method),i=eWt(r)?.["x-scalar-navigation"];if(!i)return{documentSlug:a,path:n,method:o,example:"default"};let s=jEt(i).get(`${n}|${o}`)?.find(e=>"operation"===e.type);return{documentSlug:a,path:n,method:o,example:nWt(r,s,t.example)}}}),xWt=V(()=>{wE(),iWt=({document:e,path:t,method:a,example:r})=>JSON.stringify([e,t,a,r].filter(bE))}),wWt=V(()=>{xWt(),Rc(),rJ(),yMt(),sWt=({workspaceStore:e,documentSlug:t,path:a,method:r,exampleName:n,route:o})=>{let i=ol(()=>{let a=e?.workspace.documents[Wa(t)??""];return eK(a)?a["x-scalar-navigation"]?.children??[]:[]}),s=Ukt(i),l=ol(()=>jkt({items:i.value,nestedKey:"children",filter:e=>"operation"===e.type||"example"===e.type,getId:e=>{let a=DEt("operation",e);return iWt({document:Wa(t)??"",path:a?.path,method:a?.method,example:"example"===e.type?e.name:void 0})}})),c=e=>l.value.get(iWt({document:e.document,path:e.path,method:e.method,example:e.example}))||l.value.get(iWt({document:e.document,path:e.path,method:e.method}));return fn([t,a,r,n],([e,t,a,r])=>{if(!e)return void s.setSelected(null);let n=c({document:e,path:t,method:a,example:r});n&&(s.setSelected(n.id),s.setExpanded(n.id,!0))},{immediate:!0}),{handleSelectItem:e=>{let a=s.getEntryById(e);if(a){if("operation"===a.type||"example"===a.type){if(s.isSelected(e))return void s.setExpanded(e,!s.isExpanded(e));let r=DEt("operation",a),n=zkt("example",a);return n?(s.setSelected(n.id),s.setExpanded(n.id,!0)):s.setSelected(e),r?o({documentSlug:Wa(t),path:r.path,method:r.method,example:n?.name??"default"}):void 0}s.setExpanded(e,!s.isExpanded(e))}else console.warn(`Could not find sidebar entry with id ${e} to select`)},state:s,getEntryByLocation:c}}}),kWt=V(()=>{pfe(),cWt={web:lWt={Enter:{event:"operation:send:request:hotkey",modifiers:["default"]},b:{event:"ui:toggle:sidebar",modifiers:["default"]},k:{event:"ui:open:command-palette",modifiers:["default"]},l:{event:"ui:focus:address-bar",modifiers:["default"]},j:{event:"ui:focus:search",modifiers:["default"]},i:{event:"ui:open:settings",modifiers:["default"]},s:{event:"ui:save:local-document",modifiers:["default"]}},modal:{...lWt,Escape:{event:"ui:close:client-modal",modifiers:[]},l:{event:"ui:focus:send-button",modifiers:["default"]}},desktop:{...lWt,n:{event:"ui:open:command-palette",modifiers:["default"]},t:{event:"tabs:add:tab",modifiers:["default"]},w:{event:"tabs:close:tab",modifiers:["default"]},ArrowLeft:{event:"tabs:navigate:previous",modifiers:["default","altKey"]},ArrowRight:{event:"tabs:navigate:next",modifiers:["default","altKey"]},1:{event:"tabs:focus:tab",modifiers:["default"]},2:{event:"tabs:focus:tab",modifiers:["default"]},3:{event:"tabs:focus:tab",modifiers:["default"]},4:{event:"tabs:focus:tab",modifiers:["default"]},5:{event:"tabs:focus:tab",modifiers:["default"]},6:{event:"tabs:focus:tab",modifiers:["default"]},7:{event:"tabs:focus:tab",modifiers:["default"]},8:{event:"tabs:focus:tab",modifiers:["default"]},9:{event:"tabs:focus:tab-last",modifiers:["default"]}}},uWt=new Set(["Escape","ArrowDown","ArrowUp","Enter"]),dWt=(e,t)=>t.length>0&&t.map(e=>"default"===e?cfe()?"metaKey":"ctrlKey":e).every(t=>!0===e[t]),pWt=(e,t)=>{if(!(e.target instanceof HTMLElement))return!1;let a=e.target;return"INPUT"===a.tagName?!uWt.has(t):"TEXTAREA"===a.tagName||"true"===a.contentEditable||a.hasAttribute("contenteditable")},hWt=(e,t,a)=>{let r=" "===e.key?"Space":e.key,n=cWt[a][r];if(!n)return;let o={event:e};"Escape"!==r?dWt(e,n.modifiers)?t.emit(n.event,o,{skipUnpackProxy:!0}):n.modifiers.length>0||pWt(e,r)||t.emit(n.event,o,{skipUnpackProxy:!0}):t.emit(n.event,o,{skipUnpackProxy:!0})}}),SWt=V(()=>{kWt(),Rc(),mWt=(e,t,a)=>{let r=r=>{Wa(a)||hWt(r,e,t)};ts(()=>window.addEventListener("keydown",r)),ns(()=>window.removeEventListener("keydown",r))}}),AWt=V(()=>{Rc(),fWt="scalar-dragging",gWt=Pn({__name:"Resize",props:{width:{}},emits:["update:width"],setup(e,{emit:t}){let a=t,r=Za(!1),n=t=>{t.preventDefault();let n=t.clientX,o=e.width,i=e=>{r.value=!0,document.body.classList.add(fWt);let t=o+e.clientX-n;t>420&&(t=420+.2*(t-420)),t<240&&(t=240),a("update:width",t)},s=()=>{r.value=!1,document.body.classList.remove(fWt),document.documentElement.removeEventListener("mousemove",i,!1),document.documentElement.removeEventListener("mouseup",s,!1),e.width>420?a("update:width",360):e.width<240&&a("update:width",240)};document.documentElement.addEventListener("mousemove",i,!1),document.documentElement.addEventListener("mouseup",s,!1)};return(t,a)=>(Zo(),qo("div",{class:"relative",style:Je({width:`${e.width}px`})},[Jn(t.$slots,"default",{},void 0,!0),Go("div",{class:"resizer",onMousedown:n},null,32)],4))}})}),_Wt=V(()=>{_m(),AWt(),vWt=km(gWt,[["__scopeId","data-v-e2c54c18"]])});var TWt=V(()=>{Fme()});function EWt(e){let t=[];function a(e,r){e.forEach(e=>{(function(e,t,a){if("operation"===e.type){let r=EE(iK(a?.paths?.[e.path],e.method))??{};return void t.push({type:"operation",title:e.title,id:e.id,description:r.description||"",method:e.method,path:e.path,operationId:r.operationId,entry:e,documentName:a?.info.title??""})}if("tag"===e.type&&!1===e.isGroup)return void t.push({id:e.id,title:e.title,description:e.description||"",type:"tag",entry:e,documentName:a?.info.title??""});if("tag"===e.type&&!0===e.isGroup)return void t.push({id:e.id,title:e.title,description:"Tag Group",type:"tag",entry:e,documentName:a?.info.title??""});if("text"===e.type)t.push({id:e.id,type:"heading",title:e.title??"",description:"Heading",entry:e,documentName:a?.info.title??""})})(e,t,r),"children"in e&&e.children&&a(e.children,r)})}return e?.forEach(e=>a(e["x-scalar-navigation"]?.children??[],e)),t}var CWt,PWt,MWt,$Wt,NWt,IWt,RWt,DWt,LWt,BWt,jWt,UWt,zWt,HWt,ZWt,VWt,QWt,qWt,FWt,WWt,XWt,GWt,YWt,KWt,JWt,eXt,tXt,aXt,rXt,nXt,oXt,iXt,sXt,lXt,cXt,uXt,dXt,pXt,hXt,mXt,fXt,gXt,vXt,bXt,yXt,OXt,xXt,wXt,kXt,SXt,AXt,_Xt,TXt,EXt,CXt,PXt,MXt,$Xt,NXt,IXt,RXt,DXt,LXt,BXt,jXt,UXt,zXt,HXt,ZXt,VXt,QXt=V(()=>{jE(),iJ()}),qXt=V(()=>{TWt(),QXt(),Rc(),CWt=e=>{let t=ol(()=>{let t=new Lme([],{keys:[{name:"title",weight:.7},{name:"description",weight:.3},{name:"operationId",weight:.6},{name:"path",weight:.5},{name:"tag",weight:.4},{name:"method",weight:.3},{name:"documentName",weight:.3}],threshold:.3,distance:100,includeScore:!0,includeMatches:!0,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0});return t.setCollection(EWt(Wa(e))),t}),a=Za("");return{results:ol(()=>0===a.value.length?null:t.value.search(a.value,{limit:25}).flatMap(e=>"operation"===e.item.entry.type?e.item.entry:[])),query:a}}}),FXt=V(()=>{iE(),Rc(),PWt=Pn({inheritAttrs:!1,__name:"ScalarHeaderButton",props:{is:{default:"button"},cta:{type:Boolean}},setup(e){let t=XT({base:"group/button flex items-center rounded px-3 py-2 text-base/4 no-underline",variants:{cta:{true:"font-bold bg-b-header-cta text-sm/4 text-c-header-cta hover:bg-h-header-cta",false:"text-c-header-2 hover:text-c-header-1"}}}),{cx:a}=aE();return(r,n)=>(Zo(),Fo(Wn(e.is),ii({type:"button"===e.is?"button":void 0},Fa(a)(Fa(t)({cta:e.cta}))),{default:cn(()=>[Jn(r.$slots,"default")]),_:3},16,["type"]))}})}),WXt=V(()=>{FXt(),MWt=PWt}),XXt=V(()=>{WXt(),Hle(),Rc(),ZS(),$Wt={class:"h-5 w-auto"},NWt={key:0,class:"ml-1 truncate text-sm font-medium"},IWt={class:"sr-only"},RWt=Pn({__name:"ScalarMenuButton",props:{open:{type:Boolean}},setup:e=>(t,a)=>(Zo(),Fo(Fa(MWt),{class:"gap-0.75 px-2 py-1.5 text-c-header-1 hover:bg-b-header-2"},{default:cn(()=>[Go("div",$Wt,[Jn(t.$slots,"logo",{},()=>[qs(Fa(Ple),{icon:"Logo"})])]),t.$slots.title?(Zo(),qo("span",NWt,[Jn(t.$slots,"title")])):ai("",!0),Go("span",IWt,[Jn(t.$slots,"label",{},()=>[ei(Kt(e.open?"Close Menu":"Open Menu"),1)])]),qs(Fa(jf),{class:tt(["shrink-0 text-c-header-2 group-hover/button:text-c-header-1 size-3.5",e.open?"rotate-180":""]),weight:"bold"},null,8,["class"])]),_:3}))})}),GXt=V(()=>{XXt(),DWt=RWt}),YXt=V(()=>{rhe(),Vle(),iE(),Rc(),LWt={key:1,class:"size-3"},BWt=Pn({inheritAttrs:!1,__name:"ScalarMenuLink",props:{is:{default:"a"},icon:{type:[Object,Function]},strong:{type:Boolean},submenu:{type:Boolean}},setup(t){let{cx:a}=aE();return(r,n)=>(Zo(),Fo(Fa(Ype),ii(Fa(a)("flex items-center"),{is:t.submenu?Fa(e.DropdownMenu).SubTrigger:Fa(e.DropdownMenu).Item,as:t.is}),{default:cn(()=>[t.icon?(Zo(),Fo(Fa($le),{key:0,class:tt([t.strong?"text-c-1":"text-c-2","string"==typeof t.icon?"size-3":"size-3.5 -mx-px"]),icon:t.icon,thickness:t.strong?"2.5":"2",weight:t.strong?"bold":"regular"},null,8,["class","icon","thickness","weight"])):(Zo(),qo("div",LWt)),Go("div",{class:tt(["flex items-center flex-1 min-w-0 truncate",t.strong?"font-medium":"font-normal"])},[Jn(r.$slots,"default")],2)]),_:3},16,["is","as"]))}})}),KXt=V(()=>{YXt(),jWt=BWt}),JXt=V(()=>{KXt(),iE(),Rc(),UWt=Pn({inheritAttrs:!1,__name:"ScalarMenuProduct",props:{is:{default:"a"},selected:{type:Boolean},icon:{type:[Object,Function]}},setup(e){let{cx:t}=aE(),a=XT({base:"gap-1.5",variants:{selected:{true:"pointer-events-none bg-b-2 dark:bg-b-3",false:"cursor-pointer hover:bg-b-2 dark:hover:bg-b-3"}}});return(r,n)=>(Zo(),Fo(Fa(jWt),ii({is:e.is,icon:e.icon,strong:"",target:"_blank"},Fa(t)(Fa(a)({selected:e.selected}))),{default:cn(()=>[Jn(r.$slots,"default")]),_:3},16,["is","icon"]))}})}),eGt=V(()=>{JXt(),zWt=UWt}),tGt=V(()=>{eGt(),iE(),Rc(),ZS(),HWt=Pn({inheritAttrs:!1,__name:"ScalarMenuProducts",props:{selected:{},showDocs:{type:Boolean},hrefs:{}},emits:["open"],setup(e){let{cx:t}=aE();return(a,r)=>(Zo(),qo("div",at(Ko(Fa(t)("flex flex-col"))),[qs(zWt,{href:e.hrefs?.dashboard??"https://dashboard.scalar.com",icon:Fa(Qb),selected:"dashboard"===e.selected,onClick:r[0]||=e=>a.$emit("open",e,"dashboard")},{default:cn(()=>[...r[4]||=[ei(" Dashboard ",-1)]]),_:1},8,["href","icon","selected"]),e.showDocs||"docs"===e.selected?(Zo(),Fo(zWt,{key:0,href:e.hrefs?.docs??"https://docs.scalar.com",icon:Fa(sf),selected:"docs"===e.selected,onClick:r[1]||=e=>a.$emit("open",e,"docs")},{default:cn(()=>[...r[5]||=[ei(" Docs ",-1)]]),_:1},8,["href","icon","selected"])):ai("",!0),qs(zWt,{href:e.hrefs?.editor??"https://editor.scalar.com",icon:Fa(tO),selected:"editor"===e.selected,onClick:r[2]||=e=>a.$emit("open",e,"editor")},{default:cn(()=>[...r[6]||=[ei(" Editor ",-1)]]),_:1},8,["href","icon","selected"]),qs(zWt,{href:e.hrefs?.client??"https://client.scalar.com",icon:Fa(Km),selected:"client"===e.selected,onClick:r[3]||=e=>a.$emit("open",e,"client")},{default:cn(()=>[...r[7]||=[ei(" Client ",-1)]]),_:1},8,["href","icon","selected"])],16))}})}),aGt=V(()=>{tGt(),ZWt=HWt}),rGt=V(()=>{Ohe(),Rc(),VWt=Pn({inheritAttrs:!1,__name:"ScalarMenuSection",setup:e=>(e,t)=>(Zo(),qo(Ls,null,[qs(Fa(she)),Jn(e.$slots,"default")],64))})}),nGt=V(()=>{rGt(),QWt=VWt}),oGt=V(()=>{KXt(),nGt(),Rc(),ZS(),qWt=Pn({__name:"ScalarMenuResources",setup:e=>(e,t)=>(Zo(),Fo(QWt,null,{title:cn(()=>[...t[0]||=[ei("Resources",-1)]]),default:cn(()=>[qs(jWt,{href:"mailto:support@scalar.com",icon:Fa(zg),target:"_blank"},{default:cn(()=>[...t[1]||=[ei(" Sales & Support ",-1)]]),_:1},8,["icon"]),qs(jWt,{href:"https://scalar.com/terms-and-conditions",icon:Fa(Tv),target:"_blank"},{default:cn(()=>[...t[2]||=[ei(" Terms & Conditions ",-1)]]),_:1},8,["icon"]),qs(jWt,{href:"https://scalar.com/privacy-policy",icon:Fa(kf),target:"_blank"},{default:cn(()=>[...t[3]||=[ei(" Privacy Policy ",-1)]]),_:1},8,["icon"])]),_:1}))})}),iGt=V(()=>{oGt(),FWt=qWt}),sGt=V(()=>{upe(),GXt(),aGt(),iGt(),Rc(),WWt=Pn({inheritAttrs:!1,__name:"ScalarMenu",setup(t){let a=Za(!1);function r(){a.value=!1}return(t,n)=>(Zo(),Fo(Fa(e.DropdownMenu).Root,{open:a.value,"onUpdate:open":n[0]||=e=>a.value=e},{default:cn(()=>[qs(Fa(e.DropdownMenu).Trigger,{asChild:""},{default:cn(()=>[Jn(t.$slots,"button",{open:a.value},()=>[qs(DWt,{class:"min-w-0",open:a.value},Kn({_:2},[t.$slots.logo?{name:"logo",fn:cn(()=>[Jn(t.$slots,"logo")]),key:"0"}:void 0,t.$slots.title?{name:"title",fn:cn(()=>[Jn(t.$slots,"title")]),key:"1"}:void 0,t.$slots.label?{name:"label",fn:cn(()=>[Jn(t.$slots,"label")]),key:"2"}:void 0]),1032,["open"])])]),_:3}),qs(Fa(e.DropdownMenu).Content,ii({align:"start",as:Fa(Gde),class:"max-h-radix-popper z-context",sideOffset:5},t.$attrs),{default:cn(()=>[Jn(t.$slots,"products",{close:r},()=>[qs(ZWt)]),Jn(t.$slots,"profile",{close:r}),Jn(t.$slots,"sections",{close:r},()=>[qs(FWt)])]),_:3},16,["as"])]),_:3},8,["open"]))}})}),lGt=V(()=>{sGt(),XWt=WWt}),cGt=V(()=>{KXt(),nGt(),Rc(),ZS(),GWt=Pn({__name:"ScalarMenuSupport",setup:e=>(e,t)=>(Zo(),Fo(QWt,null,{title:cn(()=>[...t[0]||=[ei("Resources",-1)]]),default:cn(()=>[qs(jWt,{href:"https://discord.gg/scalar",icon:Fa(Ng),target:"_blank"},{default:cn(()=>[...t[1]||=[ei(" Discord ",-1)]]),_:1},8,["icon"]),qs(jWt,{href:"https://github.com/scalar/scalar",icon:Fa(hb),target:"_blank"},{default:cn(()=>[...t[2]||=[ei(" GitHub ",-1)]]),_:1},8,["icon"])]),_:1}))})}),uGt=V(()=>{cGt(),YWt=GWt}),dGt=V(()=>{Ice(),upe(),rhe(),KXt(),Rc(),ZS(),KWt={class:"flex h-full items-center gap-1 flex-1 truncate"},JWt=Pn({inheritAttrs:!1,__name:"ScalarMenuWorkspacePicker",props:io({workspaceOptions:{}},{modelValue:{},modelModifiers:{}}),emits:io(["createWorkspace"],["update:modelValue"]),setup(t,{emit:a}){let r=a,n=wo(t,"modelValue");return(a,o)=>(Zo(),Fo(Fa(e.DropdownMenu).Sub,null,{default:cn(()=>[qs(jWt,ii({icon:Fa(rx),submenu:""},a.$attrs),{default:cn(()=>[o[2]||=Go("div",null,"Change workspace",-1),qs(Fa(Ff),{class:"ml-auto text-c-2 -mr-px size-3",weight:"bold"})]),_:1},16,["icon"]),qs(Fa(e.DropdownMenu).Portal,null,{default:cn(()=>[qs(Fa(e.DropdownMenu).SubContent,{as:Fa(Gde),class:"max-h-radix-popper z-context-plus",sideOffset:3},{default:cn(()=>[qs(Fa(e.DropdownMenu).RadioGroup,{modelValue:n.value,"onUpdate:modelValue":o[0]||=e=>n.value=e,class:"contents"},{default:cn(()=>[(Zo(!0),qo(Ls,null,Yn(t.workspaceOptions,(a,r)=>(Zo(),qo(Ls,{key:r},[a.label?(Zo(),Fo(Fa(e.DropdownMenu).Label,{key:0,class:"px-3 py-1.5 text-xs font-medium text-c-3 select-none"},{default:cn(()=>[ei(Kt(a.label),1)]),_:2},1024)):ai("",!0),(Zo(!0),qo(Ls,null,Yn(a.options,t=>(Zo(),Fo(Fa(e.DropdownMenu).RadioItem,{key:t.id,as:Fa(Ype),class:"group/item flex items-center",value:t.id},{default:cn(()=>[Go("div",KWt,Kt(t.label),1),qs(Fa(pce),{class:"ml-auto",selected:t.id===n.value},null,8,["selected"])]),_:2},1032,["as","value"]))),128)),r<t.workspaceOptions.length-1?(Zo(),Fo(Fa(e.DropdownMenu).Separator,{key:1,class:"h-px bg-b-3 my-1.5"})):ai("",!0)],64))),128))]),_:1},8,["modelValue"]),qs(Fa(e.DropdownMenu).Item,{as:Fa(Ype),class:"flex items-center",onClick:o[1]||=e=>r("createWorkspace")},{default:cn(()=>[qs(Fa(NO),{class:"bg-b-3 -ml-0.75 rounded p-1 size-5 text-c-3",weight:"bold"}),o[3]||=ei(" Create workspace ",-1)]),_:1},8,["as"])]),_:1},8,["as"])]),_:1})]),_:1}))}})}),pGt=V(()=>{dGt(),eXt=JWt}),hGt=V(()=>{aGt(),KXt(),nGt(),iGt(),lGt(),uGt(),pGt()}),mGt=V(()=>{Rc(),ZS(),hGt(),tXt=Pn({__name:"SidebarMenu",props:{activeWorkspace:{},workspaces:{}},emits:["create:workspace","select:workspace","navigate:to:settings"],setup(e,{emit:t}){let a=t;return(t,r)=>(Zo(),Fo(Fa(XWt),null,{products:cn(()=>[qs(Fa(ZWt),{selected:"client"})]),sections:cn(({close:n})=>[qs(Fa(QWt),null,{default:cn(()=>[Jn(t.$slots,"sidebarMenuActions",{},()=>[qs(Fa(eXt),{modelValue:e.activeWorkspace.id,workspaceOptions:e.workspaces,onCreateWorkspace:r[0]||=e=>a("create:workspace"),"onUpdate:modelValue":r[1]||=e=>a("select:workspace",e)},null,8,["modelValue","workspaceOptions"]),qs(Fa(jWt),{is:"button",icon:Fa(Zv),onClick:()=>{n(),a("navigate:to:settings")}},{default:cn(()=>[...r[2]||=[ei(" Settings ",-1)]]),_:1},8,["icon","onClick"])])]),_:2},1024),qs(Fa(FWt)),qs(Fa(YWt))]),_:3}))}})}),fGt=V(()=>{mGt(),aXt=tXt}),gGt=V(()=>{_Wt(),qXt(),fGt(),Rc(),ZS(),jJe(),ift(),nSt(),rJ(),rXt={key:1},nXt=Pn({__name:"Sidebar",props:io({sidebarState:{},layout:{},activeWorkspace:{},workspaces:{},documents:{},isDroppable:{type:[Boolean,Function]}},{sidebarWidth:{required:!0,default:288},sidebarWidthModifiers:{}}),emits:io(["selectItem","select:workspace","create:workspace","reorder","navigate:to:settings"],["update:sidebarWidth"]),setup(e,{emit:t}){let a=t,r=ao(),n=Za(!1),o=wo(e,"sidebarWidth"),i=e=>"example"===e.type&&"draft"===e.title,{query:s,results:l}=CWt(()=>e.documents.filter(eK)),c=ol(()=>l.value??e.sidebarState.items.value),u=e=>{a("selectItem",e),s.value="",n.value=!1};return(t,l)=>(Zo(),Fo(Fa(vWt),{width:o.value,"onUpdate:width":l[6]||=e=>o.value=e,class:"flex flex-col"},{default:cn(()=>[qs(Fa(Bkt),{class:"flex w-auto flex-1",indent:20,isDraggable:"modal"!==e.layout,isDroppable:e.isDroppable,isExpanded:e.sidebarState.isExpanded,isSelected:e.sidebarState.isSelected,items:c.value,layout:"client",options:{hideOperationDefaultExamples:"modal"===e.layout},onReorder:l[5]||=(e,t)=>a("reorder",e,t),onSelectItem:u},Kn({header:cn(()=>[l[7]||=Go("div",{class:"mac:h-12 mac:app-drag-region h-2"},null,-1),Go("div",{class:tt(["bg-sidebar-b-1 z-1 flex flex-col gap-1.5 px-3 pb-1.5",{"max-md:pt-12":"desktop"===e.layout,"max-md:pt-2 max-md:pl-4!":"modal"===e.layout,"pt-1 max-md:pt-2 max-md:pl-14":"web"===e.layout}])},["web"===e.layout?ai("",!0):(Zo(),qo("div",{key:0,class:tt(["flex items-center justify-between",{"max-md:pl-10":"desktop"===e.layout}])},["modal"===e.layout?"modal"===e.layout?(Zo(),qo("div",rXt)):ai("",!0):(Zo(),Fo(aXt,{key:0,activeWorkspace:e.activeWorkspace,workspaces:e.workspaces,"onCreate:workspace":l[0]||=e=>a("create:workspace"),"onNavigate:to:settings":l[1]||=e=>a("navigate:to:settings"),"onSelect:workspace":l[2]||=e=>a("select:workspace",e)},{sidebarMenuActions:cn(()=>[Jn(t.$slots,"sidebarMenuActions")]),_:3},8,["activeWorkspace","workspaces"])),qs(Fa(wKe),{class:"hover:bg-b-2 active:text-c-1 size-8 rounded p-2",icon:Fa(jy),label:"Search",size:"sm",onClick:l[3]||=e=>n.value=!n.value},null,8,["icon"])],2)),n.value||"web"===e.layout?(Zo(),Fo(Fa(cmt),{key:1,modelValue:Fa(s),"onUpdate:modelValue":l[4]||=e=>Ha(s)?s.value=e:null,autofocus:"web"!==e.layout},null,8,["modelValue","autofocus"])):ai("",!0)],2)]),spacer:cn(()=>[l[8]||=Go("div",{class:"flex-1"},null,-1)]),icon:cn(e=>[r.icon||i(e.item)?(Zo(),qo(Ls,{key:0},[i(e.item)?(Zo(),Fo(Fa(dv),{key:0})):ai("",!0),Jn(t.$slots,"icon",at(Ko(e)))],64)):ai("",!0)]),before:cn(()=>[Jn(t.$slots,"workspaceButton")]),footer:cn(()=>[Jn(t.$slots,"footer")]),_:2},[r.decorator?{name:"decorator",fn:cn(e=>[Jn(t.$slots,"decorator",at(Ko(e)))]),key:"0"}:void 0,r.empty?{name:"empty",fn:cn(e=>[Jn(t.$slots,"empty",at(Ko(e)))]),key:"1"}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","items","options"])]),_:3},8,["width"]))}})}),vGt=V(()=>{gGt(),oXt=nXt}),bGt=V(()=>{Rc(),iXt=["aria-pressed"],sXt={class:"sr-only"},lXt={class:"size-4",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},cXt={"clip-path":"url(#mask)"},uXt=Pn({__name:"SidebarToggle",props:{modelValue:{type:Boolean,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=wo(e,"modelValue");return(e,a)=>(Zo(),qo("button",{"aria-pressed":t.value,class:"scalar-sidebar-toggle text-c-3 hover:bg-b-2 active:text-c-1 rounded p-2",type:"button",onClick:a[0]||=e=>t.value=!t.value},[Go("span",sXt,Kt(t.value?"Hide":"Show")+" sidebar",1),(Zo(),qo("svg",lXt,[a[1]||=Go("defs",null,[Go("clipPath",{id:"mask"},[Go("path",{"clip-rule":"evenodd",d:"M9 3.2H4c-1.7 0-3 1.3-3 3v11.5c0 1.7 1.3 3 3 3h5V3.2z"})])],-1),Go("g",cXt,[Go("path",{class:tt(["transition-transform duration-300",t.value?"translate-x-0":"-translate-x-1/2"]),d:"M1 3.2h8v17.5H1z",fill:"currentColor"},null,2)]),a[2]||=Go("path",{d:"M20 20.8H4c-1.7 0-3-1.3-3-3V6.2c0-1.7 1.3-3 3-3h16c1.7 0 3 1.3 3 3v11.5c0 1.7-1.3 3-3 3zM9 3.2v17.5",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},null,-1)]))],8,iXt))}})}),yGt=V(()=>{bGt(),dXt=uXt}),OGt=V(()=>{hXt=(pXt=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"]).join(","),mXt=typeof Element>"u",fXt=mXt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,gXt=!mXt&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},vXt=function(e,t){void 0===t&&(t=!0);var a=e?.getAttribute?.call(e,"inert");return""===a||"true"===a||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):vXt(e.parentNode))},bXt=function(e){var t=e?.getAttribute?.call(e,"contenteditable");return""===t||"true"===t},yXt=function(e,t,a){if(vXt(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(hXt));return t&&fXt.call(e,hXt)&&r.unshift(e),r=r.filter(a)},OXt=function(e,t,a){for(var r=[],n=Array.from(e);n.length;){var o=n.shift();if(!vXt(o,!1))if("SLOT"===o.tagName){var i=o.assignedElements(),s=OXt(i.length?i:o.children,!0,a);a.flatten?r.push.apply(r,s):r.push({scopeParent:o,candidates:s})}else{fXt.call(o,hXt)&&a.filter(o)&&(t||!e.includes(o))&&r.push(o);var l=o.shadowRoot||"function"==typeof a.getShadowRoot&&a.getShadowRoot(o),c=!vXt(l,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(o));if(l&&c){var u=OXt(!0===l?o.children:l.children,!0,a);a.flatten?r.push.apply(r,u):r.push({scopeParent:o,candidates:u})}else n.unshift.apply(n,o.children)}}return r},xXt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},wXt=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||bXt(e))&&!xXt(e)?0:e.tabIndex},kXt=function(e,t){var a=wXt(e);return a<0&&t&&!xXt(e)?0:a},SXt=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},AXt=function(e){return"INPUT"===e.tagName},_Xt=function(e){return AXt(e)&&"hidden"===e.type},TXt=function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})},EXt=function(e,t){for(var a=0;a<e.length;a++)if(e[a].checked&&e[a].form===t)return e[a]},CXt=function(e){if(!e.name)return!0;var t,a=e.form||gXt(e),r=function(e){return a.querySelectorAll('input[type="radio"][name="'+e+'"]')};if(typeof window<"u"&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var n=EXt(t,e.form);return!n||n===e},PXt=function(e){return AXt(e)&&"radio"===e.type},MXt=function(e){return PXt(e)&&!CXt(e)},$Xt=function(e){var t,a,r,n=e&&gXt(e),o=n?.host,i=!1;if(n&&n!==e)for(i=!!(null!=(t=o)&&null!=(a=t.ownerDocument)&&a.contains(o)||null!=e&&null!=(r=e.ownerDocument)&&r.contains(e));!i&&o;){var s,l;n=gXt(o),o=n?.host,i=!(null==(s=o)||null==(l=s.ownerDocument)||!l.contains(o))}return i},NXt=function(e){var t=e.getBoundingClientRect(),a=t.width,r=t.height;return 0===a&&0===r},IXt=function(e,t){var a=t.displayCheck,r=t.getShadowRoot;if("full-native"===a&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var n=fXt.call(e,"details>summary:first-of-type")?e.parentElement:e;if(fXt.call(n,"details:not([open]) *"))return!0;if(a&&"full"!==a&&"full-native"!==a&&"legacy-full"!==a){if("non-zero-area"===a)return NXt(e)}else{if("function"==typeof r){for(var o=e;e;){var i=e.parentElement,s=gXt(e);if(i&&!i.shadowRoot&&!0===r(i))return NXt(e);e=e.assignedSlot?e.assignedSlot:i||s===e.ownerDocument?i:s.host}e=o}if($Xt(e))return!e.getClientRects().length;if("legacy-full"!==a)return!0}return!1},RXt=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var a=0;a<t.children.length;a++){var r=t.children.item(a);if("LEGEND"===r.tagName)return!!fXt.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1},DXt=function(e,t){return!(t.disabled||_Xt(t)||IXt(t,e)||TXt(t)||RXt(t))},LXt=function(e,t){return!(MXt(t)||wXt(t)<0||!DXt(e,t))},BXt=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},jXt=function(e){var t=[],a=[];return e.forEach(function(e,r){var n=!!e.scopeParent,o=n?e.scopeParent:e,i=kXt(o,n),s=n?jXt(e.candidates):o;0===i?n?t.push.apply(t,s):t.push(o):a.push({documentOrder:r,tabIndex:i,item:e,isScope:n,content:s})}),a.sort(SXt).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},UXt=function(e,t){t||={};var a=t.getShadowRoot?OXt([e],t.includeContainer,{filter:LXt.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:BXt}):yXt(e,t.includeContainer,LXt.bind(null,t));return jXt(a)},zXt=function(e,t){return t||={},t.getShadowRoot?OXt([e],t.includeContainer,{filter:DXt.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):yXt(e,t.includeContainer,DXt.bind(null,t))},HXt=function(e,t){if(t||={},!e)throw Error("No node provided");return!1!==fXt.call(e,hXt)&&LXt(t,e)},ZXt=pXt.concat("iframe:not([inert]):not([inert] *)").join(","),VXt=function(e,t){if(t||={},!e)throw Error("No node provided");return!1!==fXt.call(e,ZXt)&&DXt(t,e)}});function xGt(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=Array(t);a<t;a++)r[a]=e[a];return r}function wGt(e,t){var a=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=TGt(e))||t){a&&(e=a);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){a=a.call(e)},n:function(){var e=a.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==a.return||a.return()}finally{if(s)throw o}}}}function kGt(e,t,a){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,t);if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function SGt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function AGt(e){for(var t=1;t<arguments.length;t++){var a=null==arguments[t]?{}:arguments[t];t%2?SGt(Object(a),!0).forEach(function(t){kGt(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):SGt(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function _Gt(e){return function(e){if(Array.isArray(e))return xGt(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||TGt(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function TGt(e,t){if(e){if("string"==typeof e)return xGt(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?xGt(e,t):void 0}}var EGt,CGt,PGt,MGt,$Gt,NGt,IGt,RGt,DGt,LGt,BGt,jGt=V(()=>{OGt(),EGt={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){t!==EGt.getActiveTrap(e)&&EGt.pauseTrap(e);var a=e.indexOf(t);-1===a||e.splice(a,1),e.push(t)},deactivateTrap:function(e,t){var a=e.indexOf(t);-1!==a&&e.splice(a,1),EGt.unpauseTrap(e)},pauseTrap:function(e){EGt.getActiveTrap(e)?._setPausedState(!0)},unpauseTrap:function(e){var t=EGt.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},CGt=function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select},PGt=function(e){return"Escape"===e?.key||"Esc"===e?.key||27===e?.keyCode},MGt=function(e){return"Tab"===e?.key||9===e?.keyCode},$Gt=function(e){return MGt(e)&&!e.shiftKey},NGt=function(e){return MGt(e)&&e.shiftKey},IGt=function(e){return setTimeout(e,0)},RGt=function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),r=1;r<t;r++)a[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,a):e},DGt=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},LGt=[],BGt=function(e,t){var a,r=t?.document||document,n=t?.trapStack||LGt,o=AGt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:$Gt,isKeyBackward:NGt},t),i={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},s=function(e,t,a){return e&&void 0!==e[t]?e[t]:o[a||t]},l=function(e,t){var a="function"==typeof t?.composedPath?t.composedPath():void 0;return i.containerGroups.findIndex(function(t){var r=t.container,n=t.tabbableNodes;return r.contains(e)||a?.includes(r)||n.find(function(t){return t===e})})},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t.hasFallback,n=void 0!==a&&a,i=t.params,s=void 0===i?[]:i,l=o[e];if("function"==typeof l&&(l=l.apply(void 0,_Gt(s))),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw Error(`\`${e}\` was specified but was not a node, or did not return a node`)}var c=l;if("string"==typeof l){try{c=r.querySelector(l)}catch(t){throw Error(`\`${e}\` appears to be an invalid selector; error="${t.message}"`)}if(!c&&!n)throw Error(`\`${e}\` as selector refers to no known node`)}return c},u=function(){var e=c("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!VXt(e,o.tabbableOptions))if(l(r.activeElement)>=0)e=r.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}else null===e&&(e=c("fallbackFocus"));if(!e)throw Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(i.containerGroups=i.containers.map(function(e){var t=UXt(e,o.tabbableOptions),a=zXt(e,o.tabbableOptions),r=t.length>0?t[0]:void 0,n=t.length>0?t[t.length-1]:void 0,i=a.find(function(e){return HXt(e)}),s=a.slice().reverse().find(function(e){return HXt(e)});return{container:e,tabbableNodes:t,focusableNodes:a,posTabIndexesFound:!!t.find(function(e){return wXt(e)>0}),firstTabbableNode:r,lastTabbableNode:n,firstDomTabbableNode:i,lastDomTabbableNode:s,nextTabbableNode:function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t.indexOf(e);return n<0?r?a.slice(a.indexOf(e)+1).find(function(e){return HXt(e)}):a.slice(0,a.indexOf(e)).reverse().find(function(e){return HXt(e)}):t[n+(r?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!c("fallbackFocus"))throw Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(e){return e.posTabIndexesFound})&&i.containerGroups.length>1)throw Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},p=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?p(t.shadowRoot):t},h=function(e){if(!1!==e&&e!==p(document)){if(!e||!e.focus)return void h(u());e.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=e,CGt(e)&&e.select()}},m=function(e){var t=c("setReturnFocus",{params:[e]});return t||!1!==t&&e},f=function(e){var t=e.target,a=e.event,r=e.isBackward,n=void 0!==r&&r;t||=DGt(a),d();var s=null;if(i.tabbableGroups.length>0){var u=l(t,a),p=u>=0?i.containerGroups[u]:void 0;if(u<0)s=n?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(n){var h=i.tabbableGroups.findIndex(function(e){var a=e.firstTabbableNode;return t===a});if(h<0&&(p.container===t||VXt(t,o.tabbableOptions)&&!HXt(t,o.tabbableOptions)&&!p.nextTabbableNode(t,!1))&&(h=u),h>=0){var m=0===h?i.tabbableGroups.length-1:h-1,f=i.tabbableGroups[m];s=wXt(t)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else MGt(a)||(s=p.nextTabbableNode(t,!1))}else{var g=i.tabbableGroups.findIndex(function(e){var a=e.lastTabbableNode;return t===a});if(g<0&&(p.container===t||VXt(t,o.tabbableOptions)&&!HXt(t,o.tabbableOptions)&&!p.nextTabbableNode(t))&&(g=u),g>=0){var v=g===i.tabbableGroups.length-1?0:g+1,b=i.tabbableGroups[v];s=wXt(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode}else MGt(a)||(s=p.nextTabbableNode(t))}}else s=c("fallbackFocus");return s},g=function(e){if(!(l(DGt(e),e)>=0)){if(RGt(o.clickOutsideDeactivates,e))return void a.deactivate({returnFocus:o.returnFocusOnDeactivate});RGt(o.allowOutsideClick,e)||e.preventDefault()}},v=function(e){var t=DGt(e),a=l(t,e)>=0;if(a||t instanceof Document)a&&(i.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var r,n=!0;if(i.mostRecentlyFocusedNode)if(wXt(i.mostRecentlyFocusedNode)>0){var s=l(i.mostRecentlyFocusedNode),c=i.containerGroups[s].tabbableNodes;if(c.length>0){var d=c.findIndex(function(e){return e===i.mostRecentlyFocusedNode});d>=0&&(o.isKeyForward(i.recentNavEvent)?d+1<c.length&&(r=c[d+1],n=!1):d-1>=0&&(r=c[d-1],n=!1))}}else i.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return wXt(e)>0})})||(n=!1);else n=!1;n&&(r=f({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),h(r||i.mostRecentlyFocusedNode||u())}i.recentNavEvent=void 0},b=function(e){(o.isKeyForward(e)||o.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i.recentNavEvent=e;var a=f({event:e,isBackward:t});a&&(MGt(e)&&e.preventDefault(),h(a))}(e,o.isKeyBackward(e))},y=function(e){PGt(e)&&!1!==RGt(o.escapeDeactivates,e)&&(e.preventDefault(),a.deactivate())},O=function(e){l(DGt(e),e)>=0||RGt(o.clickOutsideDeactivates,e)||RGt(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},x=function(){if(i.active)return EGt.activateTrap(n,a),i.delayInitialFocusTimer=o.delayInitialFocus?IGt(function(){h(u())}):h(u()),r.addEventListener("focusin",v,!0),r.addEventListener("mousedown",g,{capture:!0,passive:!1}),r.addEventListener("touchstart",g,{capture:!0,passive:!1}),r.addEventListener("click",O,{capture:!0,passive:!1}),r.addEventListener("keydown",b,{capture:!0,passive:!1}),r.addEventListener("keydown",y),a},w=function(){if(i.active)return r.removeEventListener("focusin",v,!0),r.removeEventListener("mousedown",g,!0),r.removeEventListener("touchstart",g,!0),r.removeEventListener("click",O,!0),r.removeEventListener("keydown",b,!0),r.removeEventListener("keydown",y),a},k=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===i.mostRecentlyFocusedNode})})&&h(u())}):void 0,S=function(){k&&(k.disconnect(),i.active&&!i.paused&&i.containers.map(function(e){k.observe(e,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(e){if(i.active)return this;var t,l=s(e,"onActivate"),c=s(e,"onPostActivate"),u=s(e,"checkCanFocusTrap"),h=EGt.getActiveTrap(n),m=!1;h&&!h.paused&&(null==(t=h._setSubtreeIsolation)||t.call(h,!1),m=!0);try{u||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=p(r),l?.();var f=function(){u&&d(),x(),S(),o.isolateSubtrees&&a._setSubtreeIsolation(!0),c?.()};if(u)return u(i.containers.concat()).then(f,f),this;f()}catch(e){var g;if(h===EGt.getActiveTrap(n)&&m)null==(g=h._setSubtreeIsolation)||g.call(h,!0);throw e}return this},deactivate:function(e){if(!i.active)return this;var t=AGt({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,i.paused||a._setSubtreeIsolation(!1),i.alreadySilent.clear(),w(),i.active=!1,i.paused=!1,S(),EGt.deactivateTrap(n,a);var r=s(t,"onDeactivate"),l=s(t,"onPostDeactivate"),c=s(t,"checkCanReturnFocus"),u=s(t,"returnFocus","returnFocusOnDeactivate");r?.();var d=function(){IGt(function(){u&&h(m(i.nodeFocusedBeforeActivation)),l?.()})};return u&&c?(c(m(i.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return i.active&&(i.manuallyPaused=!1,n[n.length-1]===this)?this._setPausedState(!1,e):this},updateContainerElements:function(e){return i.containers=[].concat(e).filter(Boolean).map(function(e){return"string"==typeof e?r.querySelector(e):e}),o.isolateSubtrees&&function(e){i.active&&!i.paused&&a._setSubtreeIsolation(!1),i.adjacentElements.clear(),i.alreadySilent.clear();var t,r=new Set,n=new Set,o=wGt(e);try{for(o.s();!(t=o.n()).done;){var s=t.value;r.add(s);for(var l=typeof ShadowRoot<"u"&&s.getRootNode()instanceof ShadowRoot,c=s;c;){r.add(c);var u=c.parentElement,d=[];u?d=u.children:!u&&l&&(d=c.getRootNode().children,u=c.getRootNode().host,l=typeof ShadowRoot<"u"&&u.getRootNode()instanceof ShadowRoot);var p,h=wGt(d);try{for(h.s();!(p=h.n()).done;){var m=p.value;n.add(m)}}catch(e){h.e(e)}finally{h.f()}c=u}}}catch(e){o.e(e)}finally{o.f()}r.forEach(function(e){n.delete(e)}),i.adjacentElements=n}(i.containers),i.active&&(d(),o.isolateSubtrees&&!i.paused&&a._setSubtreeIsolation(!0)),S(),this}},Object.defineProperties(a,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(e,t){if(i.paused===e)return this;if(i.paused=e,e){var r=s(t,"onPause"),n=s(t,"onPostPause");r?.(),w(),S(),a._setSubtreeIsolation(!1),n?.()}else{var o=s(t,"onUnpause"),l=s(t,"onPostUnpause");o?.(),a._setSubtreeIsolation(!0),d(),x(),S(),l?.()}return this}},_setSubtreeIsolation:{value:function(e){o.isolateSubtrees&&i.adjacentElements.forEach(function(t){if(e)if("aria-hidden"===o.isolateSubtrees)("true"===t.ariaHidden||"true"===t.getAttribute("aria-hidden")?.toLowerCase())&&i.alreadySilent.add(t),t.setAttribute("aria-hidden","true");else(t.inert||t.hasAttribute("inert"))&&i.alreadySilent.add(t),t.setAttribute("inert",!0);else if(!i.alreadySilent.has(t))if("aria-hidden"===o.isolateSubtrees)t.removeAttribute("aria-hidden");else t.removeAttribute("inert")})}}}),a.updateContainerElements(e),a}});var UGt,zGt,HGt,ZGt,VGt,QGt,qGt,FGt,WGt,XGt,GGt,YGt,KGt,JGt,eYt,tYt,aYt,rYt,nYt,oYt,iYt=V(()=>{Jpe(),Ape(),jGt(),Rc()}),sYt=V(()=>{Rc(),Ehe(),iYt(),UGt={class:"scalar scalar-app z-overlay relative"},zGt=Pn({__name:"ModalClientContainer",props:{modalState:{}},emits:["open","close"],setup(e,{emit:t}){let a=e,r=t,n=Za(null),{activate:o,deactivate:i}=function(e,t={}){let a,{immediate:r,...n}=t,o=Va(!1),i=Va(!1),s=e=>a&&a.activate(e),l=e=>a&&a.deactivate(e);return fn(ol(()=>vpe(Wa(e)).map(e=>{let t=Wa(e);return"string"==typeof t?t:_pe(t)}).filter(ype)),e=>{if(e.length)if(a){let t=a?.active;a?.updateContainerElements(e),!t&&r&&s()}else a=BGt(e,{...n,onActivate(){o.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){o.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&s()},{flush:"post"}),hpe(()=>l()),{hasFocus:o,isPaused:i,activate:s,deactivate:l,pause:()=>{a&&(a.pause(),i.value=!0)},unpause:()=>{a&&(a.unpause(),i.value=!1)}}}(n,{allowOutsideClick:!0,fallbackFocus:()=>n.value});return es(()=>kht()),fn(()=>a.modalState.open,async e=>{e?(await en(),o(),r("open")):(i(),r("close"))},{immediate:!1}),ns(()=>{i()}),(t,a)=>(Zo(),qo("div",UGt,[Go("div",{class:tt(["scalar-container",{"scalar-client--open":e.modalState.open}])},[Go("div",ii({ref_key:"client",ref:n,"aria-label":"API Client","aria-modal":"true"},t.$attrs,{class:"scalar-app-layout scalar-client",role:"dialog",tabindex:"-1"}),[qs(Fa(yhe),null,{default:cn(()=>[Jn(t.$slots,"default",{},void 0,!0)]),_:3})],16),Go("div",{class:"scalar-app-exit",onClick:a[0]||=t=>e.modalState.hide()})],2)]))}})}),lYt=V(()=>{_m(),sYt(),HGt=km(zGt,[["__scopeId","data-v-77897d1c"]])}),cYt=V(()=>{m0e(),cht(),yWt(),Rc(),LJ(),qA(),ZGt={key:1,class:"flex h-full w-full items-center justify-center"},VGt=Pn({__name:"Operation",props:{documentSlug:{},document:{},eventBus:{},layout:{},path:{},method:{},exampleName:{},environment:{},workspaceStore:{},plugins:{},options:{},requestBodyCompositionSelection:{}},setup(e){let t=ol(()=>{if(!(e.path&&e.method&&e.exampleName&&e.document))return null;let t=OJ(e.workspaceStore,e.documentSlug,{path:e.path,method:e.method,exampleName:e.exampleName},{baseServerUrl:Wa(e.options)?.baseServerURL,fallbackDocument:e.document,isElectron:AA(),layout:"web"===e.layout?"web":"other",servers:Wa(e.options)?.servers,appVersion:kJe,authentication:Wa(e.options)?.authentication});return t.ok?t.data:null}),a=ol(()=>t.value?.operation??null),r=ol(()=>t.value?.cookies.workspace??[]),n=ol(()=>t.value?.cookies.document??[]),o=ol(()=>t.value?.servers.list??[]),i=ol(()=>t.value?.servers.selected??null),s=ol(()=>t.value?.servers.meta??{type:"document"}),l=ol(()=>t.value?.security.schemes??{}),c=ol(()=>t.value?.security.selected??{selectedIndex:-1,selectedSchemes:[]}),u=ol(()=>t.value?.security.selectedSchemes??[]),d=ol(()=>t.value?.security.requirements??[]),p=ol(()=>t.value?.security.meta??{type:"document"}),h=ol(()=>t.value?.headers.default??{}),m=ol(()=>Array.from(new Set(Object.keys({...e.document?.["x-scalar-environments"],...e.workspaceStore.workspace["x-scalar-environments"]})))),f=ol(()=>KFt(Wa(e.options)?.hiddenClients));return(t,g)=>e.path&&e.method&&e.exampleName&&a.value&&e.document?(Zo(),Fo(Fa(eht),{key:0,activeEnvironment:e.workspaceStore.workspace["x-scalar-active-environment"],appVersion:Fa(kJe),authMeta:p.value,defaultHeaders:h.value,document:e.document,documentCookies:n.value,documentSecurity:e.document?.security??[],documentSlug:e.documentSlug,documentUrl:e.document?.["x-scalar-original-source-url"],environment:e.environment,environments:m.value,eventBus:e.eventBus,exampleKey:e.exampleName,hideClientButton:Wa(e.options)?.hideClientButton??!1,history:e.workspaceStore.history.getHistory(e.documentSlug,e.path,e.method),httpClients:f.value,layout:e.layout,method:e.method,operation:a.value,options:e.options,path:e.path,plugins:e.plugins,proxyUrl:Fa(hK)(e.workspaceStore.workspace["x-scalar-active-proxy"],"web"===e.layout?"web":"other")??"",requestBodyCompositionSelection:e.requestBodyCompositionSelection,securityRequirements:d.value,securitySchemes:l.value,selectedClient:e.workspaceStore.workspace["x-scalar-default-client"],selectedSecurity:c.value,selectedSecuritySchemes:u.value,server:i.value,serverMeta:s.value,servers:o.value,workspaceCookies:r.value},null,8,"activeEnvironment.appVersion.authMeta.defaultHeaders.document.documentCookies.documentSecurity.documentSlug.documentUrl.environment.environments.eventBus.exampleKey.hideClientButton.history.httpClients.layout.method.operation.options.path.plugins.proxyUrl.requestBodyCompositionSelection.securityRequirements.securitySchemes.selectedClient.selectedSecurity.selectedSecuritySchemes.server.serverMeta.servers.workspaceCookies".split("."))):(Zo(),qo("div",ZGt,[...g[0]||=[Go("span",{class:"text-c-3"},"Select an operation to view details",-1)]]))}})}),uYt=V(()=>{cYt(),QGt=VGt}),dYt=V(()=>{Rc(),qGt=e=>{let t=Za(""),a=Za(!1),r=()=>{let a=Wa(e);a&&(t.value=a.style.overflow,a.style.overflow="hidden")},n=()=>{let a=Wa(e);a&&(""===t.value?a.style.removeProperty("overflow"):a.style.overflow=t.value)},o=ol({get:()=>a.value,set:e=>{a.value=e,e?r():n()}});return ns(()=>{a.value&&n()}),o}}),pYt=V(()=>{SWt(),vGt(),yGt(),lYt(),bWt(),uYt(),dYt(),Rc(),LJ(),$4e(),FGt={key:0,class:"relative flex h-full min-h-0 w-full flex-1"},WGt={key:1,class:"flex h-full w-full items-center justify-center"},XGt=Pn({__name:"Modal",props:{workspaceStore:{},document:{},path:{},eventBus:{},method:{},exampleName:{},requestBodyCompositionSelection:{},modalState:{},sidebarState:{},plugins:{},options:{}},setup(e,{expose:t}){let a={label:"default",id:"default"},r=Za(!1);GFt({eventBus:e.eventBus,isSidebarOpen:r,requestBodyCompositionSelection:e.requestBodyCompositionSelection,sidebarState:e.sidebarState,modalState:e.modalState,store:e.workspaceStore}),mWt(e.eventBus,"modal",()=>!e.modalState.open);let n=()=>{e.eventBus.emit("operation:cancel:request")},o=qGt(()=>typeof window<"u"?window.document.body:null);fn(()=>e.modalState.open,e=>{o.value=e,e||n()}),ns(()=>n());let i=ol(()=>e.workspaceStore?.workspace?.["x-scalar-sidebar-width"]??288),s=t=>e.workspaceStore?.update("x-scalar-sidebar-width",t),l=ol(()=>rK(e.workspaceStore,e.document.value).environment);return t({sidebarWidth:i,environment:l}),(t,n)=>(Zo(),Fo(HGt,{modalState:e.modalState},{default:cn(()=>[qs(Fa(M4e)),e.document.value&&e.path?.value&&e.method?.value?(Zo(),qo("main",FGt,[qs(Fa(dXt),{modelValue:r.value,"onUpdate:modelValue":n[0]||=e=>r.value=e,class:"absolute top-2 left-4 z-10 max-md:top-4"},null,8,["modelValue"]),un(qs(Fa(oXt),{sidebarWidth:i.value,"onUpdate:sidebarWidth":[n[1]||=e=>i.value=e,s],activeWorkspace:a,class:"h-full max-md:absolute! max-md:z-5 max-md:w-full!",documents:[e.document.value],eventBus:e.eventBus,isDroppable:()=>!1,layout:"modal",sidebarState:e.sidebarState.state,workspaces:[],onSelectItem:e.sidebarState.handleSelectItem},null,8,["sidebarWidth","documents","eventBus","sidebarState","onSelectItem"]),[[ac,r.value]]),qs(QGt,{activeWorkspace:a,class:"flex-1",document:e.document.value,documentSlug:e.document.value["x-scalar-navigation"]?.id??"",environment:l.value,eventBus:e.eventBus,exampleName:e.exampleName?.value,layout:"modal",method:e.method?.value,options:e.options,path:e.path?.value,plugins:e.plugins,requestBodyCompositionSelection:e.requestBodyCompositionSelection.value,workspaceStore:e.workspaceStore},null,8,["document","documentSlug","environment","eventBus","exampleName","method","options","path","plugins","requestBodyCompositionSelection","workspaceStore"])])):(Zo(),qo("div",WGt,[...n[2]||=[Go("span",{class:"text-c-3"},"No document selected",-1)]]))]),_:1},8,["modalState"]))}})}),hYt=V(()=>{pYt(),GGt=XGt}),mYt=V(()=>{OWt(),wWt(),hYt(),Rc(),v8e(),sut(),aIt(),rJ(),YGt=0,KGt=({el:e,eventBus:t=KNt({debug:!1}),mountOnInitialize:a=!0,plugins:r=[],workspaceStore:n,options:o={}})=>{let i=Za({}),s=Ha(o)?o:Za(Wa(o)),l={path:"default",method:"default",example:"default",documentSlug:n.workspace["x-scalar-active-document"]||"default"},c=Ma({...l}),u=e=>{Object.assign(c,l,e)},d=ol(()=>oWt(n,c)),p=ol(()=>d.value.documentSlug),h=ol(()=>d.value.path),m=ol(()=>d.value.method),f=ol(()=>d.value.example),g=ol(()=>{let e=n.workspace.documents[p.value??""];return eK(e)?e:null}),v=sWt({workspaceStore:n,documentSlug:p,path:h,method:m,exampleName:f,route:u}),b=l2e(),y=$c(GGt,{document:g,eventBus:t,exampleName:f,method:m,modalState:b,path:h,plugins:r,requestBodyCompositionSelection:i,sidebarState:v,workspaceStore:n,options:s}),O=[];for(let e of r)e.lifecycle?.onInit?.(),O.push(unt(t,e));y.onUnmount(()=>{for(let e of O)e();for(let e of r)e.lifecycle?.onDestroy?.()}),fn(()=>b.open,e=>e?null:void(i.value={})),fn(()=>Wa(s).proxyUrl,e=>n.update("x-scalar-active-proxy",e),{immediate:!0}),y.config.idPrefix="scalar-client-"+YGt++;let x=(t=e)=>{t?y.mount(t):console.error("[@scalar/api-client] Could not create the API client Modal.","Invalid HTML element provided.","Read more: https://github.com/scalar/scalar/tree/main/packages/api-client")};return a&&x(),{app:y,open:e=>{b.open=!0,e&&u(e)},mount:x,route:u,modalState:b,updateOptions:(e,t=!1)=>{s.value=t?e:{...s.value,...e}}}}}),fYt=Q({createApiClientModal:()=>KGt,initializeModalEvents:()=>GFt,mapHiddenClientsConfig:()=>KFt}),gYt=V(()=>{bWt(),yWt(),mYt()}),vYt=V(()=>{SLt(),vHt(),bHt(),yHt(),wHt(),BFt(),FFt(),Rc(),gYt(),JGt={ref:"clientModal"},eYt=Pn({__name:"Chat",emits:["uploadApi"],setup(e){let{chat:t,prompt:a,settingsModal:r,eventBus:n,workspaceStore:o,config:i,mode:s,addDocument:l}=mHt(),c=Nn("clientModal"),u=Za(null);async function p(){await t.sendMessage({text:a.value})}return ts(async()=>{let e=function(){let e=localStorage.getItem(OLt);if(e)return d(xLt,JSON.parse(e))}();"preview"===s&&e&&await l({namespace:e.namespace,slug:e.slug,removable:!1,tmp:!0}),c.value&&(u.value=KGt({el:c.value,options:i,eventBus:n,workspaceStore:o}))}),ns(()=>{u.value?.app.unmount()}),function(){let e=mHt();fn([()=>e.chat.status,()=>function(e){let t=e?.parts.at(-1);if(t&&"text"===t.type)return t.text}(e.chat.lastMessage)],async()=>{await en(),window.scrollTo(0,document.body.scrollHeight)})}(),function(){let{api:e,addDocument:t,mode:a,getAgentKey:r}=mHt(),{toast:n}=C4e();ts(async()=>{if("full"!==a||!r)return;let o=await e.getKeyDocuments();o.success?o.data.documents.forEach(({namespace:e,slug:a})=>t({namespace:e,slug:a,removable:!1})):n("Failed to fetch your OpenAPI document. The Agent key may be invalid.","error")})}(),function(){let{api:e,curatedDocuments:t}=mHt();ts(async()=>{let a=await e.getCuratedDocuments();a.success&&(t.value=a.data.results)})}(),(e,t)=>(Zo(),qo(Ls,null,[Go("div",JGt,null,512),qs(hFt,{onSubmit:p,onUploadApi:t[0]||=t=>e.$emit("uploadApi")}),qs(NFt,{modalState:Fa(r)},null,8,["modalState"])],64))}})}),bYt=V(()=>{vYt(),tYt=eYt}),yYt=V(()=>{vHt(),bYt(),Rc(),aYt=Pn({__name:"App",props:{registryDocuments:{},registryUrl:{},dashboardUrl:{},platformProxyUrl:{},baseUrl:{},mode:{default:"full"},getAccessToken:{type:Function},getAgentKey:{type:Function},getActiveDocumentJson:{type:Function},isLoggedIn:{},prefilledMessage:{},hideAddApi:{type:Boolean}},emits:["uploadApi"],setup(e,{expose:t}){let a=hHt({getActiveDocumentJson:e.getActiveDocumentJson,initialRegistryDocuments:e.registryDocuments,prefilledMessageRef:e.prefilledMessage,platformProxyUrl:e.platformProxyUrl,registryUrl:e.registryUrl,baseUrl:e.baseUrl,mode:e.mode,getAccessToken:e.getAccessToken,getAgentKey:e.getAgentKey,isLoggedIn:e.isLoggedIn,dashboardUrl:e.dashboardUrl,hideAddApi:e.hideAddApi});return pn(fHt,a),t({addDocumentAsync:a.addDocumentAsync}),(e,t)=>(Zo(),Fo(tYt,{onUploadApi:t[0]||=t=>e.$emit("uploadApi")}))}})}),OYt=V(()=>{yYt(),rYt=aYt}),xYt=V(()=>{OYt()}),wYt=V(()=>{Rc(),xYt(),nYt=Pn({__name:"AgentScalarChatInterface",props:{agentScalarConfiguration:{},externalUrls:{},workspaceStore:{},prefilledMessage:{}},setup:e=>(t,a)=>(Zo(),Fo(Fa(rYt),{baseUrl:e.externalUrls.apiBaseUrl,dashboardUrl:e.externalUrls.dashboardUrl,getActiveDocumentJson:()=>e.workspaceStore.exportActiveDocument("json"),getAgentKey:e.agentScalarConfiguration?.key?()=>e.agentScalarConfiguration?.key??"":void 0,hideAddApi:e.agentScalarConfiguration?.hideAddApi,mode:e.agentScalarConfiguration?.key?"full":"preview",platformProxyUrl:e.externalUrls.proxyUrl,prefilledMessage:e.prefilledMessage,registryDocuments:[],registryUrl:e.externalUrls.registryUrl},null,8,["baseUrl","dashboardUrl","getActiveDocumentJson","getAgentKey","hideAddApi","mode","platformProxyUrl","prefilledMessage","registryUrl"]))})}),kYt=Q({default:()=>oYt}),SYt=V(()=>{wYt(),wYt(),oYt=nYt});Rc(),jJe(),ZS();var AYt={class:"agent-scalar-container custom-scroll custom-scroll-self-contain-overflow overflow-auto px-6"},_Yt=Pn({__name:"AgentScalarDrawer",props:{agentScalarConfiguration:{},externalUrls:{},workspaceStore:{}},setup(e){let t=sIt(),a=jn(async()=>Promise.resolve().then(()=>(SYt(),kYt)));return(r,n)=>(Zo(),qo(Ls,null,[qs(Gl,{enterActiveClass:"transition-opacity duration-500",enterFromClass:"opacity-0",enterToClass:"opacity-100",leaveActiveClass:"transition-opacity duration-200",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},{default:cn(()=>[un(Go("div",{class:"agent-scalar-overlay bg-backdrop fixed inset-0 z-10 ease-[cubic-bezier(0.77,0,0.175,1)]",onClick:n[0]||=e=>Fa(t)?.closeAgent()},null,512),[[ac,Fa(t)?.showAgent.value]])]),_:1}),qs(Gl,{enterActiveClass:"transition-transform duration-300",enterFromClass:"-translate-x-full",enterToClass:"translate-x-0",leaveActiveClass:"transition-transform duration-200",leaveFromClass:"translate-x-0",leaveToClass:"-translate-x-full"},{default:cn(()=>[un(Go("div",{class:"agent-scalar left-refs-w-sidebar bg-b-1 fixed inset-y-0 right-12 z-10 grid border-r shadow-lg",onKeydown:n[2]||=Tc(e=>Fa(t)?.closeAgent(),["escape"])},[Go("div",AYt,[qs(Fa(a),{agentScalarConfiguration:e.agentScalarConfiguration,externalUrls:e.externalUrls,prefilledMessage:Fa(t)?.prefilledMessage,workspaceStore:e.workspaceStore},null,8,["agentScalarConfiguration","externalUrls","prefilledMessage","workspaceStore"])]),qs(Fa(wKe),{class:"agent-scalar-exit-button absolute top-2 right-2",icon:Fa(Cw),label:"Close Client",weight:"bold",onClick:n[1]||=e=>Fa(t)?.closeAgent()},null,8,["icon"])],544),[[ac,Fa(t)?.showAgent.value]])]),_:1})],64))}}),TYt=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a},EYt=TYt(_Yt,[["__scopeId","data-v-34fa4e92"]]);async function CYt(e,t){let a=JSON.stringify({document:e}),r=`${t.apiBaseUrl}/core/share/upload/apis`,n=await fetch(CW(t.proxyUrl,r),{method:"POST",headers:{"Content-Type":"application/json"},body:a});if(!n.ok)throw Error(` Failed to generate temporary link, server responded with ${n.status}`);let o=await n.json();if(!function(e){return!!e&&"object"==typeof e&&"url"in e&&"string"==typeof e.url}(o))throw Error("Failed to generate temporary link, invalid response from server");return o.url}$K(),Rc(),R4e(),ZS(),sht(),$4e();var PYt={class:"scalar-mcp-layer"},MYt=["href","target"],$Yt=["href","target"],NYt=TYt(Pn({__name:"OpenMCPButton",props:io({config:{},externalUrls:{},url:{},workspace:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){let t=e,{copyToClipboard:a}=Xpt(),{toast:r}=C4e(),n=N4e(),o=t.config?.name||t.config?.url,i=btoa(JSON.stringify(t.config??{})),s=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(t.config?.name??"")}&config=${i}`,l=`vscode:mcp/install?${encodeURIComponent(JSON.stringify(t.config??{}))}`,c=wo(e,"url");async function u(){if(n.isLoading||!t.workspace)return;if(c.value&&function(e){try{return!!new URL(e)}catch{return!1}}(c.value))return void d(c.value);n.start();let e=t.workspace.exportActiveDocument("json");if(!e)return r("Unable to export active document","error"),void await n.invalidate();try{c.value=await CYt(e,t.externalUrls),await n.validate(),d(c.value),await en(),await n.clear()}catch(e){r(e instanceof Error?e.message:"An unknown error occurred","error"),await n.invalidate()}}function d(e){let a=new URL(`${t.externalUrls.dashboardUrl}/register`);a.searchParams.set("url",e),a.searchParams.set("createMcp","true"),window.open(a.toString(),"_blank")}return(t,r)=>(Zo(),qo("div",PYt,[Go("a",{class:"scalar-mcp-layer-link",href:Fa(o)?l:void 0,target:Fa(o)?"_blank":void 0,onClick:r[0]||=e=>{Fa(o)||(e.preventDefault(),u())}},[r[3]||=Go("svg",{class:"mcp-logo",fill:"currentColor",height:"800",viewBox:"0 0 32 32",width:"800",xmlns:"http://www.w3.org/2000/svg"},[Go("path",{d:"M30.865 3.448 24.282.281a1.99 1.99 0 0 0-2.276.385L9.397 12.171 3.902 8.004a1.33 1.33 0 0 0-1.703.073L.439 9.681a1.33 1.33 0 0 0-.005 1.969L5.2 15.999.434 20.348a1.33 1.33 0 0 0 .005 1.969l1.76 1.604a1.33 1.33 0 0 0 1.703.073l5.495-4.172 12.615 11.51a1.98 1.98 0 0 0 2.271.385l6.589-3.172a1.99 1.99 0 0 0 1.13-1.802V5.248c0-.766-.443-1.469-1.135-1.802zm-6.86 19.818L14.432 16l9.573-7.266z"})],-1),r[4]||=ei(" VS Code ",-1),qs(Fa(Km),{class:"mcp-nav ml-auto size-4"})],8,MYt),Go("a",{class:"scalar-mcp-layer-link",href:Fa(o)?s:void 0,target:Fa(o)?"_blank":void 0,onClick:r[1]||=e=>{Fa(o)||(e.preventDefault(),u())}},[r[5]||=Go("svg",{class:"mcp-logo",viewBox:"0 0 466.73 532.09",xmlns:"http://www.w3.org/2000/svg"},[Go("path",{d:"M457.43 125.94 244.42 2.96a22.13 22.13 0 0 0-22.12 0L9.3 125.94C3.55 129.26 0 135.4 0 142.05v247.99c0 6.65 3.55 12.79 9.3 16.11l213.01 122.98a22.13 22.13 0 0 0 22.12 0l213.01-122.98c5.75-3.32 9.3-9.46 9.3-16.11V142.05c0-6.65-3.55-12.79-9.3-16.11zm-13.38 26.05L238.42 508.15c-1.39 2.4-5.06 1.42-5.06-1.36V273.58c0-4.66-2.49-8.97-6.53-11.31L24.87 145.67c-2.4-1.39-1.42-5.06 1.36-5.06h411.26c5.84 0 9.49 6.33 6.57 11.39h-.01Z",style:{fill:"currentColor"}})],-1),r[6]||=ei(" Cursor ",-1),qs(Fa(Km),{class:"mcp-nav ml-auto size-4"})],8,$Yt),Fa(o)?(Zo(),qo("div",{key:1,class:"scalar-mcp-layer-link",onClick:r[2]||=t=>Fa(a)(e.config?.url??"")},[...r[9]||=[ei(" Connect MCP ",-1),Go("svg",{class:"mcp-logo ml-auto",fill:"none",height:"173",viewBox:"0 0 156 173",width:"156",xmlns:"http://www.w3.org/2000/svg"},[Go("path",{d:"m6 80.912 67.882-67.883c9.373-9.372 24.569-9.372 33.941 0s9.373 24.569 0 33.942L56.558 98.236",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),Go("path",{d:"m57.265 97.529 50.558-50.558c9.373-9.373 24.569-9.373 33.942 0l.353.353c9.373 9.373 9.373 24.569 0 33.941L80.725 142.66a8 8 0 0 0 0 11.313l12.606 12.607",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),Go("path",{d:"M90.853 30 40.648 80.205c-9.372 9.372-9.372 24.568 0 33.941 9.373 9.372 24.569 9.372 33.941 0l50.205-50.205",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"})],-1)]])):(Zo(),qo("div",{key:0,class:"scalar-mcp-layer-link",onClick:u},[r[7]||=Go("svg",{class:"mcp-logo",fill:"none",height:"173",viewBox:"0 0 156 173",width:"156",xmlns:"http://www.w3.org/2000/svg"},[Go("path",{d:"m6 80.912 67.882-67.883c9.373-9.372 24.569-9.372 33.941 0s9.373 24.569 0 33.942L56.558 98.236",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),Go("path",{d:"m57.265 97.529 50.558-50.558c9.373-9.373 24.569-9.373 33.942 0l.353.353c9.373 9.373 9.373 24.569 0 33.941L80.725 142.66a8 8 0 0 0 0 11.313l12.606 12.607",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"}),Go("path",{d:"M90.853 30 40.648 80.205c-9.372 9.372-9.372 24.568 0 33.941 9.373 9.372 24.569 9.372 33.941 0l50.205-50.205",stroke:"currentColor","stroke-linecap":"round","stroke-width":"12"})],-1),r[8]||=ei(" Generate MCP ",-1),qs(Fa(Km),{class:"mcp-nav ml-auto size-4"})]))]))}}),[["__scopeId","data-v-d469cd5e"]]);Rc();var IYt={class:"references-classic-header-container"},RYt={class:"references-classic-header"},DYt={class:"references-classic-header-content"};var LYt=TYt({},[["render",function(e,t){return Zo(),qo("div",IYt,[Go("div",RYt,[Go("div",DYt,[Jn(e.$slots,"default",{},void 0,!0)]),Jn(e.$slots,"dark-mode-toggle",{},void 0,!0)])])}],["__scopeId","data-v-8a3822ca"]]);Rc(),lce(),n0e(),ZS();var BYt={class:"min-w-0 flex-1 truncate"},jYt=Pn({inheritAttrs:!1,__name:"ExamplePicker",props:io({examples:{default:()=>({})}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=wo(e,"modelValue"),a=ol(()=>Object.entries(e.examples).map(([e,t])=>({id:e,label:t?.summary??e}))),r=ol({get:()=>a.value.find(({id:e})=>e===t.value),set:e=>t.value=e?.id??""});return(e,t)=>(Zo(),Fo(Fa(GKe),{modelValue:r.value,"onUpdate:modelValue":t[0]||=e=>r.value=e,class:"w-fit min-w-32",options:a.value,placement:"bottom-start",teleport:""},{default:cn(()=>[qs(Fa(tce),ii({class:"text-c-2 hover:text-c-1 flex h-full w-fit min-w-0 gap-1.5 px-1.5 py-0.75 text-base font-normal","data-testid":"example-picker",variant:"ghost"},e.$attrs),{default:cn(()=>[Go("div",BYt,Kt(r.value?.label??"Select an example"),1),qs(Fa(jf),{class:"ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1},16)]),_:1},8,["modelValue","options"]))}});Rc(),fpt(),lft();var UYt=Pn({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,a=ol(()=>Wut(String(t.method||""))),r=ol(()=>Omt(t.method));return(t,n)=>(Zo(),Fo(Wn(e.as??"span"),{class:"uppercase",style:Je({[e.property||"color"]:a.value.colorVar})},{default:cn(()=>[Jn(t.$slots,"default"),ei(" "+Kt(e.short?a.value.short:r.value),1)]),_:3},8,["style"]))}}),zYt=(e,t)=>{let a=t.toLowerCase();return e.label.toLowerCase().includes(a)||e.clientKey.toLowerCase().includes(a)||e.lang.toLowerCase().includes(a)},HYt=(e,t)=>{let a=t.toLowerCase();return e.label.toLowerCase().includes(a)||e.key.toLowerCase().includes(a)},ZYt=(e,t,a)=>{if(""===e)return t;let r=e.toLowerCase(),n=a?a.filter(e=>e.label&&e.options.length>0).length:0;if(a&&n>1){let e=[];for(let t of a)HYt(t,r)?e.push(...t.options):e.push(...t.options.filter(e=>zYt(e,r)));return e}return t.filter(e=>zYt(e,r))};Rc();var VYt=Symbol();iE(),Rc();var QYt=Pn({inheritAttrs:!1,__name:"ScalarCard",props:{label:{}},setup(e){let{id:t}=(()=>{let e=Za();return pn(VYt,e),{id:e}})(),a=ol(()=>e.label?{"aria-label":e.label}:t.value?{"aria-labelledby":t.value}:{}),{cx:r}=aE();return(e,t)=>(Zo(),qo("div",ii({role:"group"},{...a.value,...Fa(r)("scalar-card bg-b-2 flex flex-col divide-y rounded-xl border")}),[Jn(e.$slots,"default")],16))}});iE(),Rc();var qYt=Pn({inheritAttrs:!1,__name:"ScalarCardSection",setup(e){let{cx:t}=aE();return(e,a)=>(Zo(),qo("div",at(Ko(Fa(t)("scalar-card-content flex overflow-auto first:rounded-t-[inherit] last:rounded-b-[inherit]"))),[Jn(e.$slots,"default")],16))}});iE(),Rc();var FYt=Pn({inheritAttrs:!1,__name:"ScalarCardFooter",setup(e){let{cx:t}=aE();return(e,a)=>(Zo(),Fo(qYt,at(Ko(Fa(t)("scalar-card-footer"))),{default:cn(()=>[Jn(e.$slots,"default")]),_:3},16))}});iE(),Rc();var WYt=["id"],XYt={key:0,class:"flex"},GYt=Pn({inheritAttrs:!1,__name:"ScalarCardHeader",setup(e){let{cx:t}=aE(),a=Mn();return(e=>{let t=hn(VYt,void 0);t&&(t.value=e)})(a),(e,r)=>(Zo(),Fo(qYt,at(Ko(Fa(t)("scalar-card-header leading-[22px] font-medium py-[6.75px] px-3 shrink-0"))),{default:cn(()=>[Go("div",{id:Fa(a),class:"scalar-card-header-title min-w-0 flex-1 truncate"},[Jn(e.$slots,"default")],8,WYt),e.$slots.actions?(Zo(),qo("div",XYt,[Jn(e.$slots,"actions")])):ai("",!0)]),_:3},16))}}),YYt=e=>{if(!e)return()=>null;let t=e.getBoundingClientRect().top,a=null,r=new MutationObserver(r=>{r.some(e=>"childList"===e.type||"attributes"===e.type&&("style"===e.attributeName||"class"===e.attributeName))&&(null!==a&&cancelAnimationFrame(a),a=requestAnimationFrame(()=>{let r=e.getBoundingClientRect().top;if(r!==t){let e=r-t;window.scrollBy(0,e)}a=null}))});return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"],characterData:!1}),()=>{null!==a&&cancelAnimationFrame(a),r.disconnect()}};J0e(),l0e(),c0e(),p0e(),h0e(),t1e(),Rc(),lce(),ZS(),lpe(),jE(),D1e(),put();var KYt=["innerHTML"],JYt={key:1,class:"text-c-2 flex h-full w-fit items-center px-0.5 py-0 text-base font-normal","data-testid":"client-picker"},eKt=["id"],tKt={key:0,class:"request-card-footer-addon"},aKt={class:"request-header"},rKt=Pn({__name:"OperationCodeSample",props:io({integration:{},clientOptions:{},selectedClient:{},selectedServer:{default:null},selectedContentType:{},selectedExample:{},eventBus:{},securitySchemes:{default:()=>[]},method:{},path:{},operation:{},fallback:{type:Boolean},generateLabel:{type:Function},isWebhook:{type:Boolean},globalCookies:{},requestBodyCompositionSelection:{}},{selectedExample:{default:""},selectedExampleModifiers:{}}),emits:["update:selectedExample"],setup(e){let t=ol(()=>{let t=EE(e.operation.requestBody)?.content??{},a=e.selectedContentType||Object.keys(t)[0];return a?t[a]?.examples??{}:{}}),a=wo(e,"selectedExample");es(()=>{a.value||=Object.keys(t.value)[0]??""}),fn(()=>e.selectedContentType,()=>{Object.keys(t.value).includes(a.value)||(a.value=Object.keys(t.value)[0]??"")});let r=ol(()=>vJe(e.operation)),n=ol(()=>xJe(r.value.samples,e.clientOptions,r.value.label)),o=ol(()=>n.value.reduce((e,t)=>e+t.options.length,0)),i=Za(dJe(n.value,e.selectedClient));fn([()=>e.selectedClient,n],([e])=>{let t=dJe(n.value,e);t&&(i.value=t)});let s=ol(()=>{if(!e.isWebhook)return null;try{return P0e({operation:e.operation,method:e.method,path:e.path,example:a.value,requestBodyCompositionSelection:e.requestBodyCompositionSelection,defaultDisabledParameters:!1})}catch(e){return console.error("[webhookHar]",e),null}}),l=ol(()=>e.isWebhook?s.value?.postData?.text??"":N0e({defaultDisabledParameters:!1,includeDefaultHeaders:"client"===e.integration,clientId:i.value?.id,customCodeSamples:r.value.samples,operation:e.operation,method:e.method,path:e.path,contentType:e.selectedContentType,server:e.selectedServer,securitySchemes:e.securitySchemes,example:a.value,globalCookies:e.globalCookies,requestBodyCompositionSelection:e.requestBodyCompositionSelection})),c=ol(()=>e.isWebhook?u.value:i.value?.lang),u=ol(()=>{if(!s.value?.postData)return"json";let e=s.value.postData.mimeType;return e?.includes("json")?"json":e?.includes("xml")?"xml":e?.includes("yaml")||e?.includes("yml")?"yaml":e?.includes("text/plain")?"text":"json"}),d=ol(()=>wJe(e.securitySchemes)),p=Za(null),h=t=>{if(p.value){let e=YYt(p.value.$el);setTimeout(()=>{e()},300)}i.value=t,t&&e.eventBus.emit("workspace:update:selected-client",t.id)},m=ol(()=>(l.value.length??0)>2e4),f=Mn();return(r,s)=>l.value?(Zo(),Fo(Fa(QYt),{key:0,ref_key:"elem",ref:p,class:"request-card dark-mode"},{default:cn(()=>[qs(Fa(GYt),{class:"pr-2.5"},Kn({default:cn(()=>[s[2]||=Go("span",{class:"sr-only"},"Request Example for",-1),qs(UYt,{as:"span",class:"request-method",method:e.method},null,8,["method"]),e.generateLabel?(Zo(),qo("span",{key:0,innerHTML:e.generateLabel()},null,8,KYt)):ai("",!0),Jn(r.$slots,"header",{},void 0,!0)]),_:2},[!e.isWebhook&&o.value?{name:"actions",fn:cn(()=>[o.value>1?(Zo(),Fo(Fa(Vde),{key:0,class:"max-h-80",filterFn:Fa(ZYt),modelValue:i.value,options:n.value,placement:"bottom-end",teleport:"","onUpdate:modelValue":s[0]||=e=>h(e)},{default:cn(()=>[qs(Fa(tce),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-0.5 py-0 text-base font-normal","data-testid":"client-picker",variant:"ghost"},{default:cn(()=>[ei(Kt(i.value?.title)+" ",1),qs(Fa(jf),{class:"ui-open:rotate-180 mt-px size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["filterFn","modelValue","options"])):(Zo(),qo("span",JYt,Kt(i.value?.title),1))]),key:"0"}:void 0]),1024),qs(Fa(qYt),{class:"request-editor-section custom-scroll p-0"},{default:cn(()=>[Go("div",{id:`${Fa(f)}-example`,class:"code-snippet"},[m.value?(Zo(),Fo(Fa(jct),{key:1,containerClass:"custom-scroll scalar-code-block border rounded-b flex flex-1 max-h-screen",contentClass:"language-plaintext whitespace-pre font-code text-base p-2",lineHeight:20,text:l.value},null,8,["text"])):(Zo(),Fo(Fa(f1e),{key:0,class:"bg-b-2 h-full",content:l.value,hideCredentials:d.value,lang:c.value,lineNumbers:""},null,8,["content","hideCredentials","lang"]))],8,eKt)]),_:1}),Object.keys(t.value).length>1||r.$slots.footer?(Zo(),Fo(Fa(FYt),{key:0,class:"request-card-footer bg-b-3"},{default:cn(()=>[Object.keys(t.value).length>1?(Zo(),qo("div",tKt,[Object.keys(t.value).length?(Zo(),Fo(jYt,{key:0,modelValue:a.value,"onUpdate:modelValue":s[1]||=e=>a.value=e,examples:t.value},null,8,["modelValue","examples"])):ai("",!0)])):ai("",!0),Jn(r.$slots,"footer",{exampleName:a.value},void 0,!0)]),_:3})):ai("",!0)]),_:3},512)):e.fallback?(Zo(),Fo(Fa(QYt),{key:1,class:"request-card dark-mode"},{default:cn(()=>[qs(Fa(qYt),{class:"request-card-simple"},{default:cn(()=>[Go("div",aKt,[qs(UYt,{as:"span",class:"request-method",method:e.method},null,8,["method"]),Jn(r.$slots,"header",{},void 0,!0)]),Jn(r.$slots,"footer",{exampleName:a.value},void 0,!0)]),_:3})]),_:3})):ai("",!0)}});_m();var nKt=km(rKt,[["__scopeId","data-v-70ede25b"]]);Rc(),lce(),n0e(),ZS();var oKt={class:"overflow-x-auto"},iKt={key:1,class:"text-c-1 flex h-auto w-full items-center gap-0.75 !rounded-b-xl px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"},sKt={class:"overflow-x-auto"},lKt=Pn({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){let r=a,n=ol(()=>e.servers.map(e=>({id:e.name,label:e.url}))),o=ol(()=>e.selectedServer?.url?.replace(/\/$/,"")||""),i=ol(()=>n.value.find(t=>t.id===e.selectedServer?.name));return t({servers:e.servers,serverUrlWithoutTrailingSlash:o,serverOptions:n,selectedServer:e.selectedServer}),(t,a)=>n.value.length>1?(Zo(),Fo(Fa(GKe),{key:0,ref:"elem",class:"group",modelValue:i.value,options:n.value,placement:"bottom-start",resize:"",target:e.target,"onUpdate:modelValue":a[0]||=e=>r("update:modelValue",e.id)},{default:cn(()=>[qs(Fa(tce),{class:"bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base/5.25 font-normal whitespace-nowrap -outline-offset-1",variant:"ghost"},{default:cn(()=>[a[1]||=Go("span",{class:"sr-only"},"Server:",-1),Go("span",oKt,Kt(o.value||"Select a server"),1),qs(Fa(jf),{class:"text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["modelValue","options","target"])):(Zo(),qo("div",iKt,[a[2]||=Go("span",{class:"sr-only"},"Server:",-1),Go("span",sKt,Kt(o.value),1)]))}});Rc(),zFt(),MJe(),jE();var cKt=["id"],uKt=Pn({__name:"AsyncApiServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=Mn(),a=ol(()=>{let t=e.selectedServer?.server.variables;if(t)return Object.fromEntries(Object.entries(t).map(([e,t])=>{let a=EE(t);return[e,{default:a.default??"",enum:a.enum,description:a.description}]}))}),r=t=>{e.eventBus.emit("asyncapi-server:update:selected",{name:t})},n=(t,a)=>{e.selectedServer&&e.eventBus.emit("asyncapi-server:update:variables",{name:e.selectedServer.name,key:t,value:a})};return(o,i)=>(Zo(),qo(Ls,null,[i[0]||=Go("label",{class:"bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium"}," Server ",-1),Go("div",{id:Fa(t),class:tt(["border",{"rounded-b-xl":!e.selectedServer?.description&&!a.value}])},[e.servers.length?(Zo(),Fo(lKt,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:Fa(t),"onUpdate:modelValue":r},null,8,["selectedServer","servers","target"])):ai("",!0)],10,cKt),qs(Fa(cdt),{layout:"reference",variables:a.value,"onUpdate:variable":n},null,8,["variables"]),e.selectedServer?.description?(Zo(),Fo(Fa(aKe),{key:0,class:"text-c-3 rounded-b-xl border-x border-b px-3 py-1.5",value:e.selectedServer.description},null,8,["value"])):ai("",!0)],64))}}),dKt=["shell/curl","ruby/native","node/undici","php/guzzle","python/python3"],pKt=(e,t=dKt)=>!(!e||!t.includes(e));Rc(),Am(),lpe(),Qle();var hKt={class:"client-libraries-text"},mKt={"aria-hidden":"true",class:"client-libraries-icon__more"},fKt={key:1,class:"client-libraries-icon",height:"50",role:"presentation",viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},gKt={key:0,class:"client-libraries-text client-libraries-text-more"},vKt=TYt(Pn({__name:"ClientDropdown",props:{clientOptions:{},selectedClient:{},featuredClients:{},eventBus:{}},setup(e){let t=Za(),a=e=>`programming-language-${"js"===e?"javascript":e}`,r=a=>{if(!t.value)return;let r=YYt(t.value);setTimeout(()=>{r()},300),"custom"!==a.clientKey&&e.eventBus.emit("workspace:update:selected-client",a.id)},n=ol(()=>e.selectedClient?.split("/")[0]);return(o,i)=>(Zo(),qo("div",{ref_key:"containerRef",ref:t,class:"client-libraries-content"},[(Zo(!0),qo(Ls,null,Yn(e.featuredClients,t=>(Zo(),Fo(Fa(rm),{key:t.clientKey,class:tt(["client-libraries rendered-code-sdks",{"client-libraries__active":t.id===e.selectedClient}])},{default:cn(()=>[Go("div",{class:tt(`client-libraries-icon__${t.targetKey}`)},[qs(Fa(Ple),{class:"client-libraries-icon",icon:a(t.targetKey)},null,8,["icon"])],2),Go("span",hKt,Kt(t.targetTitle),1)]),_:2},1032,["class"]))),128)),qs(Fa(Vde),{filterFn:Fa(ZYt),modelValue:Fa(dJe)(e.clientOptions,e.selectedClient),options:e.clientOptions,placement:"bottom-end",teleport:"","onUpdate:modelValue":i[0]||=e=>r(e)},{default:cn(()=>[Go("button",{class:tt(["client-libraries client-libraries__select",{"client-libraries__active":e.selectedClient&&!Fa(pKt)(e.selectedClient)}]),type:"button"},[Go("div",mKt,[e.selectedClient&&!Fa(pKt)(e.selectedClient)?(Zo(),qo("div",{key:0,class:tt(`client-libraries-icon__${n.value}`)},[n.value?(Zo(),Fo(Fa(Ple),{key:0,class:"client-libraries-icon",icon:a(n.value)},null,8,["icon"])):ai("",!0)],2)):(Zo(),qo("svg",fKt,[...i[1]||=[Go("g",{fill:"currentColor","fill-rule":"nonzero"},[Go("path",{d:"M10.71 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M21.13 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0M31.55 25.3a3.87 3.87 0 1 0 7.74 0 3.87 3.87 0 0 0-7.74 0"})],-1)]]))]),e.clientOptions.length?(Zo(),qo("span",gKt," More ")):ai("",!0),i[2]||=Go("span",{class:"sr-only"},"Select from all clients",-1)],2)]),_:1},8,["filterFn","modelValue","options"])],512))}}),[["__scopeId","data-v-c2617b43"]]);Rc(),Am();var bKt={key:0,ref:"wrapper-ref"},yKt=["id"],OKt=["id"],xKt=TYt(Pn({__name:"ClientSelector",props:{clientOptions:{},selectedClient:{default:()=>lJe},eventBus:{}},setup(e,{expose:t}){let a=Mn(),r=Mn(),n=e=>!!e?.startsWith("custom/"),o=Za(n(e.selectedClient)?lJe:e.selectedClient);fn(()=>e.selectedClient,e=>{n(e)||(o.value=e)});let i=ol(()=>e.clientOptions.flatMap(e=>e.options.find(e=>e.id===o.value)??[])[0]),s=ol(()=>((e,t=dKt)=>{let a=new Map;for(let t of e)for(let e of t.options)a.set(e.id,e);return t.flatMap(e=>a.get(e)??[])})(e.clientOptions)),l=ol(()=>s.value.findIndex(e=>o.value===e.id)),c=Nn("wrapper-ref"),u=t=>{let a=s.value[t];!a||!c.value||e.eventBus.emit("workspace:update:selected-client",a.id)};return t({selectedClientOption:i}),(t,n)=>e.clientOptions.length?(Zo(),qo("div",bKt,[qs(Fa(tm),{manual:"",selectedIndex:l.value,onChange:u},{default:cn(()=>[Go("div",{id:Fa(a),class:"client-libraries-heading"}," Client Libraries ",8,yKt),qs(Fa(am),{"aria-labelledby":Fa(a),class:"client-libraries-list"},{default:cn(()=>[qs(vKt,{clientOptions:e.clientOptions,eventBus:e.eventBus,featuredClients:s.value,morePanel:Fa(r),selectedClient:o.value},null,8,["clientOptions","eventBus","featuredClients","morePanel","selectedClient"])]),_:1},8,["aria-labelledby"]),qs(Fa(nm),null,{default:cn(()=>[Fa(pKt)(o.value)?(Zo(!0),qo(Ls,{key:0},Yn(s.value,e=>(Zo(),Fo(Fa(om),{key:e.id,class:"selected-client card-footer -outline-offset-2"},{default:cn(()=>[ei(Kt(e.title),1)]),_:2},1024))),128)):(Zo(),qo("div",{key:1,id:Fa(r),class:"selected-client card-footer -outline-offset-2",role:"tabpanel",tabindex:"0"},Kt(i.value?.title),9,OKt))]),_:1})]),_:1},8,["selectedIndex"])],512)):ai("",!0)}}),[["__scopeId","data-v-0769d07b"]]);Rc();var wKt=TYt(Pn({__name:"Badge",props:{color:{}},setup(e){let t=ol(()=>e.color?{"--badge-background-color":e.color,"--badge-text-color":`color-mix(in srgb, ${e.color}, black 40%)`}:{});return(e,a)=>(Zo(),qo("div",{class:"badge",style:Je(t.value)},[Jn(e.$slots,"default",{},void 0,!0)],4))}}),[["__scopeId","data-v-fb946bb8"]]);Rc();var kKt=["href"],SKt=TYt(Pn({__name:"DownloadLink",props:{documentDownloadType:{},eventBus:{},documentUrl:{},documentType:{default:"openapi"}},setup(e){let t=ol(()=>"asyncapi"===e.documentType?"Download AsyncAPI Document":"Download OpenAPI Document"),a=t=>{e.eventBus.emit("ui:download:document",{format:t})};return(r,n)=>["yaml","json","both"].includes(e.documentDownloadType)||"direct"===e.documentDownloadType&&e.documentUrl?(Zo(),qo("div",{key:0,class:tt(["download-container group",{"download-both":"both"===e.documentDownloadType}])},["direct"===e.documentDownloadType&&e.documentUrl?(Zo(),qo("a",{key:0,class:"download-link download-button",href:e.documentUrl},[Go("span",null,Kt(t.value),1)],8,kKt)):ai("",!0),"json"===e.documentDownloadType||"both"===e.documentDownloadType?(Zo(),qo("button",{key:1,class:"download-button",type:"button",onClick:n[0]||=Ac(()=>a("json"),["prevent"])},[Go("span",null,Kt(t.value),1),qs(wKt,{class:"extension hidden group-hover:flex"},{default:cn(()=>[...n[2]||=[ei("json",-1)]]),_:1})])):ai("",!0),"yaml"===e.documentDownloadType||"both"===e.documentDownloadType?(Zo(),qo("button",{key:2,class:"download-button",type:"button",onClick:n[1]||=Ac(()=>a("yaml"),["prevent"])},[Go("span",null,Kt(t.value),1),qs(wKt,{class:"extension hidden group-hover:flex"},{default:cn(()=>[...n[3]||=[ei("yaml",-1)]]),_:1})])):ai("",!0)],2)):ai("",!0)}}),[["__scopeId","data-v-b258a15f"]]);Rc();var AKt=TYt(Pn({__name:"IntroductionCard",props:{row:{type:Boolean}},setup:e=>(t,a)=>(Zo(),qo("div",{class:tt(["introduction-card",{"introduction-card-row":e.row}])},[Jn(t.$slots,"default",{},void 0,!0)],2))}),[["__scopeId","data-v-5764c94a"]]);Jpe(),Rc();var _Kt=(e,t,a)=>{ts(()=>{let r={rootMargin:a?.immediate?"0px 0px 0px 0px":"-49% 0px -49% 0px",threshold:0};e.value&&Ipe(e,([e])=>{e?.isIntersecting?t():a?.onExit?.()},r)})};Rc();var TKt=TYt(Pn({__name:"Section",emits:["intersecting"],setup(e,{emit:t}){let a=t,r=Nn("section");return _Kt(r,()=>a("intersecting")),(e,t)=>(Zo(),qo("section",{ref_key:"section",ref:r,class:"section"},[Jn(e.$slots,"default",{},void 0,!0)],512))}}),[["__scopeId","data-v-be4443e9"]]);Rc(),Am(),ZS(),Jpe();var EKt={class:"section-accordion-button-content"},CKt={key:0,class:"section-accordion-button-actions"},PKt={key:0,class:"section-accordion-description"},MKt={class:"section-accordion-content-card"},$Kt=TYt(Pn({__name:"SectionAccordion",props:{transparent:{type:Boolean},modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){let a=t,r=Za(),n=function(e,t={}){let a,{delayEnter:r=0,delayLeave:n=0,triggerOnRemoval:o=!1,window:i=jpe}=t,s=Va(!1),l=e=>{let t=e?r:n;a&&=void clearTimeout(a),t?a=setTimeout(()=>s.value=e,t):s.value=e};return i?(Tpe(e,"mouseenter",()=>l(!0),{passive:!0}),Tpe(e,"mouseleave",()=>l(!1),{passive:!0}),o&&Ppe(ol(()=>_pe(e)),()=>l(!1)),s):s}(r);return(t,o)=>(Zo(),Fo(Fa(Yp),{as:"section",class:tt(["section-accordion",{"section-accordion-transparent":e.transparent}])},{default:cn(()=>[qs(Fa(Kp),{ref_key:"button",ref:r,class:"section-accordion-button",onClick:o[0]||=()=>a("update:modelValue",!e.modelValue)},{default:cn(()=>[Go("div",EKt,[Jn(t.$slots,"title",{},void 0,!0)]),t.$slots.actions?(Zo(),qo("div",CKt,[Jn(t.$slots,"actions",{active:Fa(n)||e.modelValue},void 0,!0)])):ai("",!0),qs(Fa(Ff),{class:tt(["section-accordion-chevron size-4.5 transition-transform",{"rotate-90":e.modelValue}])},null,8,["class"])]),_:3},512),e.modelValue?(Zo(),Fo(Fa(Jp),{key:0,class:"section-accordion-content",static:""},{default:cn(()=>[t.$slots.description?(Zo(),qo("div",PKt,[Jn(t.$slots,"description",{},void 0,!0)])):ai("",!0),Go("div",MKt,[Jn(t.$slots,"default",{},void 0,!0)])]),_:3})):ai("",!0)]),_:3},8,["class"]))}}),[["__scopeId","data-v-ff689b94"]]);Rc();var NKt={class:"section-column"};var IKt=TYt({},[["render",function(e,t){return Zo(),qo("div",NKt,[Jn(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-699c28e3"]]);Rc();var RKt={class:"section-columns"};var DKt=TYt({},[["render",function(e,t){return Zo(),qo("div",RKt,[Jn(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-8b9602bf"]]);Rc();var LKt={key:1,class:"section-container"},BKt=TYt(Pn({__name:"SectionContainer",props:{omit:{type:Boolean}},setup:e=>(t,a)=>e.omit?Jn(t.$slots,"default",{key:0},void 0,!0):(Zo(),qo("div",LKt,[Jn(t.$slots,"default",{},void 0,!0)]))}),[["__scopeId","data-v-20a1472a"]]);Rc(),Am(),ZS();var jKt={class:"section-accordion-wrapper"},UKt={class:"section-accordion-title"},zKt=TYt(Pn({__name:"SectionContainerAccordion",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){let a=t;return(t,r)=>(Zo(),qo("section",jKt,[qs(Fa(Yp),{as:"div",class:"section-accordion"},{default:cn(()=>[qs(Fa(Kp),{class:"section-accordion-button",onClick:r[0]||=t=>a("update:modelValue",!e.modelValue)},{default:cn(()=>[qs(Fa(Ff),{class:tt(["section-accordion-chevron size-5 transition-transform",{"rotate-90":e.modelValue}])},null,8,["class"]),Go("div",UKt,[Jn(t.$slots,"title",{},void 0,!0)])]),_:3}),e.modelValue?(Zo(),Fo(Fa(Jp),{key:0,class:"section-accordion-content",static:""},{default:cn(()=>[Jn(t.$slots,"default",{},void 0,!0)]),_:3})):ai("",!0)]),_:3})]))}}),[["__scopeId","data-v-9419dd23"]]);Rc();var HKt=TYt(Pn({__name:"LoadingSkeleton",props:{lines:{default:1}},setup:e=>(t,a)=>(Zo(!0),qo(Ls,null,Yn([...Array(e.lines).keys()],t=>(Zo(),qo("div",{key:t,class:tt(["loading",{"single-line":1===e.lines}])},null,2))),128))}),[["__scopeId","data-v-8e0226d7"]]);Rc();var ZKt={class:"section-content"},VKt=TYt(Pn({__name:"SectionContent",props:{loading:{type:Boolean,default:!1}},setup:e=>(t,a)=>(Zo(),qo("div",ZKt,[e.loading?(Zo(),Fo(HKt,{key:1,lines:8})):Jn(t.$slots,"default",{key:0},void 0,!0)]))}),[["__scopeId","data-v-9735459e"]]);Rc();var QKt={class:"section-header-wrapper xl:gap-12"},qKt=TYt(Pn({__name:"SectionHeader",props:{loading:{type:Boolean},tight:{type:Boolean},removeMargin:{type:Boolean,default:!1}},setup:e=>(t,a)=>(Zo(),qo("div",QKt,[e.loading?(Zo(),Fo(HKt,{key:0})):(Zo(),qo("div",{key:1,class:tt(["section-header",{tight:e.tight,"mb-3":!e.removeMargin}])},[Jn(t.$slots,"default",{},void 0,!0)],2)),t.$slots.links?Jn(t.$slots,"links",{key:2},void 0,!0):ai("",!0)]))}),[["__scopeId","data-v-8a5913a9"]]);Rc();var FKt=TYt(Pn({__name:"SectionHeaderTag",props:{level:{default:1}},setup:e=>(t,a)=>(Zo(),Fo(Wn(`h${e.level}`),{class:"section-header-label"},{default:cn(()=>[Jn(t.$slots,"default",{},void 0,!0)]),_:3}))}),[["__scopeId","data-v-f1ac6c38"]]);Rc();var WKt={key:0,class:"screenreader-only"},XKt=TYt(Pn({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},setup:e=>(e,t)=>e.$props.if?(Zo(),qo("span",WKt,[Jn(e.$slots,"default",{},void 0,!0)])):Jn(e.$slots,"default",{key:1},void 0,!0)}),[["__scopeId","data-v-df2e1026"]]);Rc(),lce(),ZS(),iE();var GKt=["id"],YKt={class:"relative"},KKt=Pn({__name:"Anchor",emits:["copyAnchorUrl"],setup(e,{emit:t}){let a=t,r=Mn(),{cx:n}=aE();return(e,t)=>(Zo(),qo("span",at(Ko(Fa(n)("group/heading wrap-break-word relative"))),[Go("span",{id:Fa(r),class:"contents"},[Jn(e.$slots,"default")],8,GKt),Go("span",YKt,[t[2]||=Go("span",null,"​",-1),qs(Fa(tce),{"aria-describedby":Fa(r),class:"absolute top-1/2 left-0 inline-block h-fit -translate-y-1/2 px-1.5 py-1 opacity-0 group-hover/heading:opacity-100 group-has-focus-visible/heading:opacity-100",variant:"ghost",onClick:t[0]||=Ac(()=>a("copyAnchorUrl"),["stop"])},{default:cn(()=>[qs(Fa(Lb),{"aria-hidden":"true",class:"size-4.5"}),qs(XKt,null,{default:cn(()=>[...t[1]||=[ei("Copy link",-1)]]),_:1})]),_:1},8,["aria-describedby"])])],16))}});Rc(),ZS();var JKt=["id"],eJt={class:"sr-only"},tJt=Pn({__name:"WithBreadcrumb",props:{breadcrumb:{},eventBus:{}},setup:e=>(t,a)=>e.breadcrumb&&e.breadcrumb.length>0?(Zo(),qo("div",{key:0,id:e.breadcrumb.join("."),class:"relative scroll-mt-24"},[Jn(t.$slots,"default"),Go("button",{class:"text-c-3 hover:text-c-1 absolute -top-2 -left-4.5 flex h-[calc(100%+16px)] w-4.5 cursor-pointer items-center justify-center pr-1.5 opacity-0 group-hover:opacity-100 focus-visible:opacity-100",type:"button",onClick:a[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.breadcrumb.join(".")})},[qs(Fa(sy),{class:"size-3",weight:"bold"}),Go("span",eJt,[Jn(t.$slots,"sr-label",{},()=>[a[1]||=ei("Copy link to ",-1),Jn(t.$slots,"default")])])])],8,JKt)):Jn(t.$slots,"default",{key:1})});Rc(),ZS();var aJt=["aria-label"],rJt=["id","aria-controls","aria-expanded"],nJt=TYt(Pn({__name:"CompactSection",props:{id:{},label:{},modelValue:{type:Boolean}},emits:["update:modelValue","copyAnchorUrl"],setup(e,{emit:t}){let a=t;return(t,r)=>(Zo(),qo("section",{"aria-label":e.label,class:"collapsible-section"},[Go("button",{id:e.id,"aria-controls":e.id,"aria-expanded":e.modelValue,class:tt(["collapsible-section-trigger",{"collapsible-section-trigger-open":e.modelValue}]),type:"button",onClick:r[1]||=t=>a("update:modelValue",!e.modelValue)},[qs(Fa(Ff),{class:tt(["size-3 transition-transform duration-100",{"rotate-90":e.modelValue}]),weight:"bold"},null,8,["class"]),qs(Fa(KKt),{class:"collapsible-section-header",onCopyAnchorUrl:r[0]||=()=>a("copyAnchorUrl")},{default:cn(()=>[Jn(t.$slots,"heading",{},void 0,!0)]),_:3})],10,rJt),e.modelValue?(Zo(),Fo(TKt,{key:0,class:"collapsible-section-content",label:e.label},{default:cn(()=>[Jn(t.$slots,"default",{},void 0,!0)]),_:3},8,["label"])):ai("",!0)],8,aJt))}}),[["__scopeId","data-v-999a158a"]]),oJt=e=>e?Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith("x-"))):{},iJt=({plugins:e=[]})=>{let t=new Map;return e.forEach(e=>{let a=e();t.set(a.name,a)}),{getSpecificationExtensions:e=>{let a=[];for(let r of t.values())for(let t of r.extensions)t.name===e&&a.push(t);return a},getViewComponents:e=>{let a=[];for(let r of t.values()){let t=r.views?.[e];t&&a.push(...t)}return a},notifyInit:e=>{for(let a of t.values())a.hooks?.onInit?.({config:e})},notifyConfigChange:e=>{for(let a of t.values())a.hooks?.onConfigChange?.({config:e})},notifyDestroy:()=>{for(let e of t.values())e.hooks?.onDestroy?.()},getApiClientPlugins:()=>{let e=[];for(let a of t.values())a.apiClientPlugins&&e.push(...a.apiClientPlugins);return e}}};Rc();var sJt=Symbol(),lJt=()=>hn(sJt)||iJt({});cLt(),Iat(),Zq();var cJt=iLt(),uJt=()=>{let e=oLt.SELECTED_CLIENT;return{get:()=>cJt.getItem(e),set:t=>{cJt.setItem(e,t)}}},dJt=()=>{let e=e=>`${oLt.AUTH}-${e}`;return{getAuth:t=>xz($tt,JSON.parse(cJt.getItem(e(t))??"{}")),setAuth:(t,a)=>{cJt.setItem(e(t),JSON.stringify(a))}}};eIt();var pJt=({debounceDelay:e=500,maxWait:t=1e4,persistAuth:a=!1})=>{let{execute:r}=YNt({delay:e,maxWait:t}),n=dJt(),o=uJt();return{hooks:{onWorkspaceStateChanges(e){if("meta"===e.type){let t=e.value["x-scalar-default-client"];return void(void 0!==t&&r("x-scalar-default-client",()=>o.set(t)))}("function"==typeof a?a():a)&&"auth"===e.type&&r(`auth-${e.documentName}`,()=>n.setAuth(e.documentName,e.value))}}}};Rc(),j1e();var hJt={key:0,class:"text-base"},mJt=Pn({__name:"SpecificationExtension",props:{value:{}},setup(e){let{getSpecificationExtensions:t}=lJt();let a=ol(()=>function(e){return Object.keys(e??{}).filter(e=>e.startsWith("x-"))}(e.value)),r=ol(()=>function(e){return e.flatMap(e=>t(e)).filter(e=>e.component)}(a.value));return(t,a)=>"object"==typeof e.value&&r.value.length?(Zo(),qo("div",hJt,[(Zo(!0),qo(Ls,null,Yn(r.value,t=>(Zo(),Fo(Fa(y1e),null,{default:cn(()=>[t.renderer?(Zo(),Fo(Wn(t.renderer),ii({key:0,ref_for:!0},{[t.name]:e.value?.[t.name],component:t.component}),null,16)):(Zo(),Fo(Wn(t.component),ii({key:1,ref_for:!0},{[t.name]:e.value?.[t.name]}),null,16))]),_:2},1024))),256))])):ai("",!0)}});Rc(),MJe();var fJt=["id"],gJt=Pn({__name:"InfoMarkdownSection",props:{id:{},content:{},transformHeading:{type:Function},eventBus:{}},setup(e){let t=Nn("element");return _Kt(t,()=>e.id?e.eventBus?.emit("intersecting:nav-item",{id:e.id}):void 0),(a,r)=>(Zo(),qo("div",{id:e.id,ref_key:"element",ref:t,class:"introduction-description-heading scroll-mt-16"},[qs(Fa(aKe),{transform:e.transformHeading,transformType:"heading",value:e.content,withImages:""},null,8,["transform","value"])],8,fJt))}});Rc(),iPt();var vJt={key:0,class:"introduction-description mt-6 flex flex-col"},bJt=TYt(Pn({__name:"InfoDescription",props:{eventBus:{},headingSlugGenerator:{type:Function},description:{}},setup(e){let t=ol(()=>{if(!e.description)return[];let{slug:t}=nPt();return fXe(e.description).map(a=>{let r=function(e,t=1){let a=hXe(e),r=[];return wIe(a,"heading",e=>{let a=mXe(e);a&&r.push({depth:e.depth??t,value:a})}),r}(a)[0];return{id:r?e.headingSlugGenerator({...r,slug:t(r.value)}):void 0,content:a}})}),a=t=>{if(!ZYe(t))return t;let{slug:a}=nPt(),r=mXe(t);return t.data={hProperties:{id:e.headingSlugGenerator({depth:t.depth,value:r,slug:a(r)})}},t};return(r,n)=>e.description?(Zo(),qo("div",vJt,[(Zo(!0),qo(Ls,null,Yn(t.value,t=>(Zo(),Fo(gJt,{id:t.id,key:t.id,content:t.content,eventBus:e.eventBus,transformHeading:a},null,8,["id","content","eventBus"]))),128))])):ai("",!0)}}),[["__scopeId","data-v-0370764f"]]);Rc();var yJt=TYt(Pn({__name:"LinkList",setup(e){let t=Za(),a=Za(!1),r=()=>{if(!t.value)return;let{scrollWidth:e,clientWidth:r}=t.value;a.value=e>r},n=null;return ts(()=>{r(),window.addEventListener("resize",r),t.value&&(n=new MutationObserver(()=>{r()}),n.observe(t.value,{childList:!0,subtree:!0}))}),os(()=>{window.removeEventListener("resize",r),n&&=(n.disconnect(),null)}),(e,r)=>(Zo(),qo("div",{ref_key:"containerRef",ref:t,class:tt([{"icons-only":a.value},"custom-scroll mb-3 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-x-auto text-base whitespace-nowrap xl:mb-1.5"])},[Jn(e.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-b59b0acf"]]);Rc(),ZS();var OJt={key:0,class:"group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"},xJt=["href"],wJt={key:0,class:"ml-1 empty:hidden"},kJt={key:1,class:"ml-1 empty:hidden"},SJt=Pn({__name:"ExternalDocs",props:{value:{}},setup:e=>(t,a)=>e.value?(Zo(),qo("div",OJt,[Go("a",{href:e.value.url,class:"text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none",target:"_blank",rel:"noopener noreferrer"},[qs(Fa(sf),{weight:"bold",class:"size-3 text-current"}),e.value.description?(Zo(),qo("span",wJt,Kt(e.value.description),1)):(Zo(),qo("span",kJt,Kt(e.value.url),1))],8,xJt)])):ai("",!0)});Rc(),ZS(),iE();var AJt={key:0,class:"group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"},_Jt=["href"],TJt={class:"ml-1 empty:hidden"},EJt=["href"],CJt={class:"ml-1 empty:hidden"},PJt=Pn({__name:"Contact",props:{value:{}},setup(e){let t=XT({base:"text-c-1 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 group-last:mr-0 xl:border-none",variants:{link:{true:"no-underline hover:bg-b-2"}}});return(a,r)=>e.value?(Zo(),qo("div",AJt,[e.value.email?(Zo(),qo("a",{key:0,class:tt(Fa(t)({link:!0})),href:`mailto:${e.value.email}`},[qs(Fa(zg),{weight:"bold",class:"size-3 text-current"}),Go("span",TJt,Kt(e.value.name),1)],10,_Jt)):ai("",!0),e.value.url?(Zo(),qo("a",{key:1,class:tt(Fa(t)({link:!0})),href:e.value.url,rel:"noopener noreferrer",target:"_blank"},[qs(Fa(sy),{weight:"bold",class:"size-3 text-current"}),Go("span",CJt,Kt(e.value.email?"":e.value.name),1)],10,EJt)):!e.value.email&&e.value.name?(Zo(),qo("span",{key:2,class:tt(Fa(t)({link:!1}))},Kt(e.value.name),3)):ai("",!0)])):ai("",!0)}});Rc(),ZS();var MJt={class:"group flex h-fit items-center last:border-r-0 xl:border-r xl:first:ml-auto"},$Jt=["href"],NJt={class:"ml-1 empty:hidden"},IJt={class:"ml-1 empty:hidden"},RJt=Pn({__name:"License",props:{value:{}},setup:e=>(t,a)=>(Zo(),qo("div",MJt,[e.value?.url?(Zo(),qo("a",{key:0,class:"text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none",href:e.value.url,rel:"noopener noreferrer",target:"_blank"},[qs(Fa(Rv),{class:"size-3 text-current",weight:"bold"}),Go("span",NJt,Kt(e.value?.name||"identifier"in e.value&&e.value.identifier||e.value.url),1)],8,$Jt)):(Zo(),qo(Ls,{key:1},[qs(Fa(Rv),{class:"size-3 text-current",weight:"bold"}),Go("span",IJt,Kt(e.value?.name),1)],64))]))});Rc(),ZS();var DJt={key:0,class:"group flex items-center last:border-r-0 xl:border-r xl:first:ml-auto"},LJt=["href"],BJt=Pn({__name:"TermsOfService",props:{value:{}},setup:e=>(t,a)=>e.value?(Zo(),qo("div",DJt,[Go("a",{class:"text-c-1 hover:bg-b-2 mr-2 flex min-h-7 min-w-7 items-center rounded-lg border px-2 py-1 no-underline group-last:mr-0 xl:border-none",href:e.value,target:"_blank",rel:"noopener noreferrer"},[qs(Fa(zO),{weight:"bold",class:"size-3 text-current"}),a[0]||=Go("span",{class:"ml-1 empty:hidden"},"Terms of Service",-1)],8,LJt)])):ai("",!0)});Rc(),jE();var jJt=Pn({__name:"InfoLinks",props:{info:{},externalDocs:{}},setup(e){let t=ol(()=>!!(e.externalDocs||e.info.contact||e.info.license||e.info.termsOfService));return(a,r)=>t.value?(Zo(),Fo(Fa(yJt),{key:0},{default:cn(()=>[e.externalDocs?(Zo(),Fo(Fa(SJt),{key:0,value:e.externalDocs},null,8,["value"])):ai("",!0),e.info.contact?(Zo(),Fo(Fa(PJt),{key:1,value:e.info.contact},null,8,["value"])):ai("",!0),e.info.license?(Zo(),Fo(Fa(RJt),{key:2,value:Fa(EE)(e.info.license)},null,8,["value"])):ai("",!0),e.info.termsOfService?(Zo(),Fo(Fa(BJt),{key:3,value:e.info.termsOfService},null,8,["value"])):ai("",!0)]),_:1})):ai("",!0)}});Rc();var UJt=Pn({__name:"InfoVersion",props:{version:{}},setup(e){let t=ol(()=>{if(null==e.version)return e.version;let t=String(e.version);return/^\d/.test(t)?`v${t}`:t});return(e,a)=>t.value?(Zo(),Fo(Fa(wKt),{key:0},{default:cn(()=>[ei(Kt(t.value),1)]),_:1})):ai("",!0)}});Rc();var zJt=Pn({__name:"SpecificationVersion",props:{documentType:{default:"openapi"},version:{}},setup(e){let t=ol(()=>"asyncapi"===e.documentType?"AsyncAPI":"OpenAPI");return(a,r)=>e.version?(Zo(),Fo(Fa(wKt),{key:0},{default:cn(()=>[ei(Kt(t.value)+" "+Kt(e.version),1)]),_:1})):ai("",!0)}});Rc();var HJt={class:"flex gap-1.5"},ZJt={class:"sticky-cards"},VJt=TYt(Pn({__name:"IntroductionLayout",props:{id:{},documentType:{},specificationVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},headingSlugGenerator:{type:Function},eventBus:{}},setup:e=>(t,a)=>(Zo(),Fo(Fa(BKt),null,{default:cn(()=>[qs(Fa(TKt),{id:e.id,"aria-label":"Introduction",class:"introduction-section z-1 gap-12",onIntersecting:a[0]||=()=>e.id&&e.eventBus?.emit("intersecting:nav-item",{id:e.id})},{default:cn(()=>[qs(Fa(VKt),{loading:!e.info},{default:cn(()=>[Go("div",HJt,[e.info?(Zo(),Fo(UJt,{key:0,version:e.info?.version},null,8,["version"])):ai("",!0),qs(zJt,{documentType:e.documentType,version:e.specificationVersion},null,8,["documentType","version"])]),qs(Fa(qKt),{loading:!e.info?.title,tight:""},{links:cn(()=>[e.info?(Zo(),Fo(jJt,{key:0,externalDocs:e.externalDocs,info:e.info},null,8,["externalDocs","info"])):ai("",!0)]),default:cn(()=>[qs(Fa(FKt),{level:1},{default:cn(()=>[ei(Kt(e.info?.title),1)]),_:1})]),_:1},8,["loading"]),qs(Fa(DKt),null,{default:cn(()=>[qs(Fa(IKt),null,{default:cn(()=>[Jn(t.$slots,"download-link",{},void 0,!0),qs(bJt,{description:e.info?.description,eventBus:e.eventBus,headingSlugGenerator:e.headingSlugGenerator},null,8,["description","eventBus","headingSlugGenerator"])]),_:3}),t.$slots.aside?(Zo(),Fo(Fa(IKt),{key:0},{default:cn(()=>[Go("div",ZJt,[Jn(t.$slots,"aside",{},void 0,!0)])]),_:3})):ai("",!0)]),_:3}),qs(Fa(mJt),{value:e.documentExtensions},null,8,["value"]),qs(Fa(mJt),{value:e.infoExtensions},null,8,["value"])]),_:3},8,["loading"]),Jn(t.$slots,"after",{},void 0,!0)]),_:3},8,["id"])]),_:3}))}),[["__scopeId","data-v-bd137508"]]);Rc();var QJt=Pn({__name:"InfoBlock",props:{id:{},specificationVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},eventBus:{},headingSlugGenerator:{type:Function},layout:{},documentDownloadType:{default:"both"},documentUrl:{},documentType:{}},setup(e){let t=ol(()=>"classic"===e.layout?"after":"aside");return(a,r)=>(Zo(),Fo(VJt,{id:e.id,documentExtensions:e.documentExtensions,documentType:e.documentType,eventBus:e.eventBus,externalDocs:e.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.info,infoExtensions:e.infoExtensions,specificationVersion:e.specificationVersion},{[t.value]:cn(()=>[qs(AKt,{row:"classic"===e.layout},{default:cn(()=>[Jn(a.$slots,"selectors")]),_:3},8,["row"])]),"download-link":cn(()=>[qs(SKt,{documentDownloadType:e.documentDownloadType,documentType:e.documentType,documentUrl:e.documentUrl,eventBus:e.eventBus},null,8,["documentDownloadType","documentType","documentUrl","eventBus"])]),_:2},1032,["id","documentExtensions","documentType","eventBus","externalDocs","headingSlugGenerator","info","infoExtensions","specificationVersion"]))}});Rc();var qJt={class:"introduction-card-item"};var FJt=TYt({},[["render",function(e,t){return Zo(),qo("div",qJt,[Jn(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-dfab866f"]]),WJt={c:"programming-language-c",clojure:"programming-language-clojure",csharp:"programming-language-csharp","c#":"programming-language-csharp",cs:"programming-language-csharp",css:"programming-language-css3",css3:"programming-language-css3",dart:"programming-language-dart",fsharp:"programming-language-fsharp","f#":"programming-language-fsharp",go:"programming-language-go",golang:"programming-language-go",html:"programming-language-html5",html5:"programming-language-html5",http:"programming-language-http",java:"programming-language-java",javascript:"programming-language-javascript",js:"programming-language-javascript",json:"programming-language-json",kotlin:"programming-language-kotlin",node:"programming-language-node","node.js":"programming-language-node",nodejs:"programming-language-node",objc:"programming-language-objc","objective-c":"programming-language-objc",ocaml:"programming-language-ocaml",php:"programming-language-php",powershell:"programming-language-powershell",python:"programming-language-python",py:"programming-language-python",r:"programming-language-r",ruby:"programming-language-ruby",rb:"programming-language-ruby",rust:"programming-language-rust",rs:"programming-language-rust",scala:"programming-language-scala",shell:"programming-language-shell",bash:"programming-language-shell",sh:"programming-language-shell",curl:"programming-language-shell",swift:"programming-language-swift",typescript:"programming-language-typescript",ts:"programming-language-typescript"},XJt=e=>WJt[e.trim().toLowerCase()],GJt=e=>{let t=Math.max(0,...[...e.matchAll(/`+/g)].map(e=>e[0].length)),a="`".repeat(Math.max(3,t+1));return`${a}\n${e}\n${a}`},YJt=e=>Array.isArray(e)?e.flatMap(e=>{if("string"!=typeof e?.lang)return[];let t="string"==typeof e.description&&e.description.trim()?e.description:"",a="string"==typeof e.source?e.source.trim():"";if(!t&&!a)return[];let r=[t,a&&GJt(a)].filter(Boolean).join("\n\n");return[{lang:e.lang,description:r}]}):[];Rc(),lpe(),Qle(),MJe();var KJt={key:0},JJt=["id"],e0t={class:"client-libraries-content"},t0t=["aria-labelledby"],a0t=["id","aria-selected","tabindex","onClick","onKeydown"],r0t={class:"client-libraries-text"},n0t={"aria-hidden":"true",class:"client-libraries-measure-clip"},o0t={class:"client-libraries-text"},i0t={class:"client-libraries"},s0t=["aria-labelledby"],l0t=TYt(Pn({__name:"SdkInstallationInstructions",props:{xScalarSdkInstallation:{},selectedClient:{},eventBus:{}},setup(e){let t=Mn(),a=Mn(),r=`${a}-panel`,n=ol(()=>YJt(e.xScalarSdkInstallation).map(e=>({...e,icon:XJt(e.lang)}))),o=Za(0),i=ol(()=>n.value[o.value]),s=ol(()=>w6(n.value.map(e=>({lang:e.lang,source:""})))),l=t=>{o.value=t;let a=s.value[t];a&&e.eventBus?.emit("workspace:update:selected-client",a)};fn([()=>e.selectedClient,s],([e,t])=>{let a=e?t.findIndex(t=>t===e):-1;a>=0?o.value=a:o.value>t.length-1&&(o.value=0)},{immediate:!0}),fn(()=>n.value.map(e=>e.lang).join("\n"),()=>{en(f)});let c,u=Za(),d=Za(),p=Za(0),h=Za([]),m=Za(0),f=()=>{let e=d.value,t=u.value;if(!e||!t)return;let a=Array.from(e.children).map(e=>e.offsetWidth);h.value=a.slice(0,n.value.length),m.value=a[n.value.length]??0,p.value=t.clientWidth},g=ol(()=>!h.value.length||p.value<=0?n.value.length:((e,t,a)=>{let r=e.length;if(t<=0)return r;let n=a=>{let r=0,n=0;for(let o of e){if(r+o>t-a)break;r+=o,n++}return n};return n(0)>=r?r:Math.max(1,n(a))})(h.value,p.value,m.value)),v=ol(()=>n.value.slice(0,g.value)),b=ol(()=>o.value>=g.value),y=ol(()=>n.value.slice(g.value).map((e,t)=>({id:String(g.value+t),label:e.lang}))),O=ol(()=>y.value.find(e=>e.id===String(o.value))),x=e=>{e&&l(Number(e.id))},w=ol(()=>b.value?t:`${a}-tab-${o.value}`),k=ol(()=>b.value?-1:o.value),S=(e,t)=>{let a=g.value-1,r=t;switch(e.key){case"ArrowRight":case"ArrowDown":r=t>=a?0:t+1;break;case"ArrowLeft":case"ArrowUp":r=t<=0?a:t-1;break;case"Home":r=0;break;case"End":r=a;break;default:return}e.preventDefault(),l(r),(e=>{en(()=>{u.value?.querySelectorAll('[role="tab"]')[e]?.focus()})})(r)},A=0,_=()=>{typeof requestAnimationFrame>"u"?f():(cancelAnimationFrame(A),A=requestAnimationFrame(f))};return ts(()=>{typeof ResizeObserver<"u"&&(c=new ResizeObserver(_),u.value&&c.observe(u.value),d.value&&c.observe(d.value)),f()}),ns(()=>{c?.disconnect(),typeof cancelAnimationFrame<"u"&&cancelAnimationFrame(A)}),(e,s)=>n.value.length?(Zo(),qo("div",KJt,[Go("div",{id:Fa(t),class:"client-libraries-heading"}," Client Libraries ",8,JJt),Go("div",e0t,[Go("div",{ref_key:"tabsRef",ref:u,"aria-labelledby":Fa(t),class:"client-libraries-row",role:"tablist"},[(Zo(!0),qo(Ls,null,Yn(v.value,(e,t)=>(Zo(),qo("button",{id:`${Fa(a)}-tab-${t}`,key:t,"aria-controls":r,"aria-selected":t===o.value,class:tt(["client-libraries",{"client-libraries__active":t===o.value}]),role:"tab",tabindex:t===k.value?0:-1,type:"button",onClick:e=>l(t),onKeydown:e=>S(e,t)},[e.icon?(Zo(),Fo(Fa(Ple),{key:0,class:"client-libraries-icon",icon:e.icon},null,8,["icon"])):ai("",!0),Go("span",r0t,Kt(e.lang),1)],42,a0t))),128)),g.value<n.value.length?(Zo(),Fo(Fa(Vde),{key:0,modelValue:O.value,options:y.value,placement:"bottom-end",teleport:"","onUpdate:modelValue":x},{default:cn(()=>[Go("button",{class:tt(["client-libraries client-libraries-more",{"client-libraries__active":b.value}]),type:"button"},[qs(Fa(Ple),{class:"client-libraries-icon",icon:b.value&&i.value?.icon?i.value.icon:"Ellipses"},null,8,["icon"]),s[0]||=Go("span",{class:"client-libraries-text"},"More",-1)],2)]),_:1},8,["modelValue","options"])):ai("",!0)],8,t0t),Go("div",n0t,[Go("div",{ref_key:"measureRef",ref:d,class:"client-libraries-row client-libraries-row--measure"},[(Zo(!0),qo(Ls,null,Yn(n.value,(e,t)=>(Zo(),qo("span",{key:t,class:"client-libraries"},[e.icon?(Zo(),Fo(Fa(Ple),{key:0,class:"client-libraries-icon",icon:e.icon},null,8,["icon"])):ai("",!0),Go("span",o0t,Kt(e.lang),1)]))),128)),Go("span",i0t,[qs(Fa(Ple),{class:"client-libraries-icon",icon:"Ellipses"}),s[1]||=Go("span",{class:"client-libraries-text"},"More",-1)])],512)])]),i.value?.description?(Zo(),qo("div",{key:0,id:r,"aria-labelledby":w.value,class:"selected-client",role:"tabpanel",tabindex:"0"},[qs(Fa(aKe),{value:i.value.description},null,8,["value"])],8,s0t)):ai("",!0)])):ai("",!0)}}),[["__scopeId","data-v-4bb21500"]]);Rc(),lce(),n0e(),ZS();var c0t={class:"overflow-x-auto"},u0t={key:1,class:"text-c-1 flex h-auto w-full items-center gap-0.75 !rounded-b-xl px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"},d0t={class:"overflow-x-auto"},p0t=Pn({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){let r=a,n=ol(()=>e.servers.map(e=>({id:e.url,label:e.url}))),o=ol(()=>e.selectedServer?.url?.replace(/\/$/,"")||""),i=ol(()=>n.value.find(t=>t.id===e.selectedServer?.url));return t({servers:e.servers,serverUrlWithoutTrailingSlash:o,serverOptions:n,selectedServer:e.selectedServer}),(t,a)=>n.value.length>1?(Zo(),Fo(Fa(GKe),{key:0,ref:"elem",class:"group",modelValue:i.value,options:n.value,placement:"bottom-start",resize:"",target:e.target,"onUpdate:modelValue":a[0]||=e=>r("update:modelValue",e.id)},{default:cn(()=>[qs(Fa(tce),{class:"bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base/5.25 font-normal whitespace-nowrap -outline-offset-1",variant:"ghost"},{default:cn(()=>[a[1]||=Go("span",{class:"sr-only"},"Server:",-1),Go("span",c0t,Kt(o.value||"Select a server"),1),qs(Fa(jf),{class:"text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["modelValue","options","target"])):(Zo(),qo("div",u0t,[a[2]||=Go("span",{class:"sr-only"},"Server:",-1),Go("span",d0t,Kt(o.value),1)]))}});Rc(),zFt(),MJe();var h0t=["id"],m0t=Pn({__name:"ServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=Mn(),a=t=>{e.eventBus.emit("server:update:selected",{url:e.selectedServer?.url===t?"":t,meta:{type:"document"}})},r=(t,a)=>{let r=e.servers.findIndex(t=>t.url===e.selectedServer?.url);-1!==r&&e.eventBus.emit("server:update:variables",{index:r,key:t,value:a,meta:{type:"document"}})};return(n,o)=>(Zo(),qo(Ls,null,[o[0]||=Go("label",{class:"bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium"}," Server ",-1),Go("div",{id:Fa(t),class:tt(["border",{"rounded-b-xl":!e.selectedServer?.description&&!e.selectedServer?.variables}])},[e.servers.length?(Zo(),Fo(p0t,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:Fa(t),"onUpdate:modelValue":a},null,8,["selectedServer","servers","target"])):ai("",!0)],10,h0t),qs(Fa(cdt),{layout:"reference",variables:e.selectedServer?.variables,"onUpdate:variable":r},null,8,["variables"]),e.selectedServer?.description?(Zo(),Fo(Fa(aKe),{key:0,class:"text-c-3 rounded-b-xl border-x border-b px-3 py-1.5",value:e.selectedServer.description},null,8,["value"])):ai("",!0)],64))}}),f0t=e=>{if("object"!=typeof e||!e||Array.isArray(e)||"oneOf"in e||"anyOf"in e||"allOf"in e||"not"in e)return!1;let t="type"in e;if(t&&Array.isArray(e.type))return e.type.includes("object");let a=t&&"object"===e.type;return!!a||!(t&&!a)&&("properties"in e||"additionalProperties"in e||"patternProperties"in e)},g0t=e=>{if(!f0t(e))return!1;let t=0===Object.keys(e.properties??{}).length,a=void 0===e.additionalProperties||!1===e.additionalProperties,r=0===Object.keys(e.patternProperties??{}).length;return t&&a&&r},v0t=Symbol("schema-ancestors"),b0t=e=>{if(e&&"object"==typeof e)return"$ref"in e&&"string"==typeof e.$ref?e.$ref:e};Rc(),Upt(),KK();var y0t={key:0,class:"schema-type"},O0t=["title"],x0t=TYt(Pn({__name:"SchemaHeading",props:{value:{},name:{}},setup(e){let t=ol(()=>"type"in e.value?e.value.type:e.value.enum?"enum":IY(e.value)&&e.value.items?"array":f0t(e.value)&&(e.value.properties||e.value.additionalProperties)?"object":"unknown");return(a,r)=>"object"==typeof e.value?(Zo(),qo("span",y0t,[Go("span",{class:"schema-type-icon",title:"type"in e.value&&"string"==typeof e.value.type?e.value.type:"type"in e.value&&Array.isArray(e.value.type)?e.value.type.join(" | "):"unknown type"},[Fa(f0t)(e.value)?(Zo(),qo(Ls,{key:0},[ei(" {} ")],64)):ai("",!0),Fa(IY)(e.value)?(Zo(),qo(Ls,{key:1},[ei(" [] ")],64)):ai("",!0),e.value.enum?(Zo(),qo(Ls,{key:2},[ei(" enum ")],64)):ai("",!0)],8,O0t),e.name?(Zo(),Fo(Fa(Mdt),{key:0,text:e.name,preset:"property"},null,8,["text"])):(Zo(),qo(Ls,{key:1},[ei(Kt(t.value),1)],64))])):ai("",!0)}}),[["__scopeId","data-v-78e7c684"]]);uW();var w0t=(e,t)=>e.reduce((e,a)=>{let r=t?.[a];return r&&(e[a]=r),e},{}),k0t=(e,t,{hideReadOnly:a=!1,hideWriteOnly:r=!1,orderSchemaPropertiesBy:n="alpha",orderRequiredPropertiesFirst:o=!0}={})=>{if(!f0t(e)||!e.properties)return[];let i=Object.keys(e.properties),s=new Set(e.required||[]);return i.sort((a,r)=>{let i=a===t?.propertyName,l=r===t?.propertyName,c=s.has(a),u=s.has(r);if(i&&!l)return-1;if(!i&&l)return 1;let d=e.properties?.[a],p=e.properties?.[r],h=d&&"object"==typeof d&&"x-order"in d?d["x-order"]:void 0,m=p&&"object"==typeof p&&"x-order"in p?p["x-order"]:void 0;if(void 0!==h&&void 0!==m)return Number(h)-Number(m);if(void 0!==h&&void 0===m)return-1;if(void 0===h&&void 0!==m)return 1;if(o){if(c&&!u)return-1;if(!c&&u)return 1}return"alpha"===n?a.localeCompare(r):0}).filter(t=>{let n=e.properties&&jQ.schema(e.properties[t]);return!(a&&!0===n?.readOnly||r&&!0===n?.writeOnly)})};VS();var S0t=e=>{if(!e)return null;let t=e.match(Bw.REF_NAME);return t?t[1]:null},A0t=["oneOf","anyOf","allOf","not"];jE(),KK();var _0t=["allOf","oneOf","anyOf"],T0t=e=>"type"in e&&e.type?Array.isArray(e.type)?e.type.includes("object"):"object"===e.type:"properties"in e,E0t=e=>"$ref"in e||"discriminator"in e||_0t.some(t=>t in e),C0t=e=>{if(!e||!IY(e)||"object"!=typeof e.items)return!1;if("$ref"in e.items)return!0;let t=EE(e.items);return!!t&&(!(!E0t(t)&&!T0t(t))||(e=>{if(!IY(e)||"object"!=typeof e.items)return!1;if("$ref"in e.items)return!0;let t=EE(e.items);return!!t&&(T0t(t)||E0t(t)||IY(t))})(t))};KK();wE(),uW(),KK();var P0t=(e,t)=>{if(!e)return[];let a=((e,t)=>{if(e.oneOf||e.anyOf||!t?.components?.schemas)return null;let a=Object.values(e.discriminator?.mapping??{}).filter(e=>"string"==typeof e).map(e=>{let a=(e=>e.startsWith("#/")||e.includes("/")?e:`#/components/schemas/${e}`)(e),r=S0t(a),n=r?jQ.schema(t.components?.schemas?.[r]):void 0;if(n)return{$ref:a,"$ref-value":n}}).filter(bE);return 0===a.length?null:{...jQ.schema(e),oneOf:a}})(e,t);return A0t.map(t=>"oneOf"===t&&a?{composition:t,value:a}:((e,t)=>{if(!e||!IY(e))return!1;let a=e.items;return!(!a||"object"!=typeof a||!(t in a)||C0t(e))})(e,t)&&IY(e)&&e.items?{composition:t,value:jQ.schema(e.items)}:!e[t]||IY(e)&&e.items&&"object"==typeof e.items&&t in e.items?null:{composition:t,value:jQ.schema(e)}).filter(bE)};uW(),KK();KK();var M0t={integer:{_default:"Integer numbers.",int32:"Signed 32-bit integers (commonly used integer type).",int64:"Signed 64-bit integers (long type)."},string:{date:"full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21","date-time":"the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z",password:"a hint to UIs to mask the input",base64:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",byte:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",binary:"binary data, used to describe files"}};uW();var $0t=Symbol();uW(),KK();var N0t=(e,t=!1)=>{if(!e.items)return"array";let a=(e=>e?`array ${e.includes(" | ")?`(${e})`:e}[]`:"array")(I0t(jQ.schema(e.items)));return t?a:e.nullable?`${a} | null`:a},I0t=e=>{if(!e)return"";let t=jQ.schema(e);if(void 0!==t.const)return"const";if("type"in t&&Array.isArray(t.type)){if(t.type.includes("array")&&t.items){let e=N0t(t,!0),a=t.type.filter(e=>"array"!==e);return a.length>0?`${e} | ${a.join(" | ")}`:e}return t.type.join(" | ")}return IY(t)?N0t(t,!1):"type"in t&&t.type&&t.contentEncoding?`${t.type} • ${t.contentEncoding}`:"type"in t?t.type:""};uJ(),jE(),uW(),KK();var R0t=(e,t,a=new Set)=>{if(!e?.allOf?.length||!Array.isArray(e.allOf))return t||{};let r={},{allOf:n,...o}=e;for(let t of e.allOf){if(!t||"object"!=typeof t)continue;let e=jQ.schema(t);e.allOf?D0t(r,R0t(e,void 0,a),!1,a):D0t(r,e,!1,a)}return Object.keys(o).length>0&&D0t(r,o,!0,a),t&&"object"==typeof t&&(t.allOf?D0t(r,R0t(t,void 0,a),!0,a):D0t(r,t,!0,a)),r},D0t=(e,t,a=!1,r=new Set)=>{let n=fK(t);if(0!==n.length)for(let o of n){let n=EE(t[o]);if(void 0!==n)if("required"===o)Array.isArray(n)&&n.length>0&&(e.required?.length?e.required=[...new Set([...e.required,...n])]:e.required=n.slice());else if("properties"===o)n&&"object"==typeof n&&(e.properties||={},L0t(e.properties,n,r));else if("items"===o){let a=jQ.schema(n);if(a)if(IY(t))if(e.items||={},a.allOf){let t=R0t(a,void 0,r);Object.assign(e.items,t)}else B0t(EE(e.items),a,r);else if(a.allOf){let t=R0t(a,void 0,r);"properties"in t&&("properties"in e||(e.properties={}),"properties"in e&&L0t(e.properties,t.properties,r))}else"items"in e||(e.items=a)}else if("enum"===o)Array.isArray(n)&&n.length>0&&(e.enum=[...new Set([...e.enum||[],...n])]);else if("oneOf"===o||"anyOf"===o){if(Array.isArray(n)){"properties"in e||(e.properties={});for(let t of n){let a=jQ.schema(t);a&&"properties"in a&&"properties"in e&&L0t(e.properties,a.properties,r)}}}else{if("allOf"===o)continue;(a||void 0===e[o])&&(e[o]=n)}}},L0t=(e,t,a=new Set)=>{let r=Object.keys(t??{});if(t&&e&&0!==r.length)for(let n of r){let r=jQ.schema(t[n]);if(!r){delete e[n];continue}if("object"!=typeof r){e[n]=r;continue}if(!e[n]){r.allOf?e[n]=R0t(r,void 0,a):IY(r)&&jQ.schema(r.items)?.allOf?e[n]={...r,items:R0t(jQ.schema(r.items),void 0,a)}:t[n]&&(e[n]=t[n]);continue}let o=jQ.schema(e[n]),i=r.$ref;if("string"==typeof i&&a.has(i)){e[n]=o;continue}let s="string"==typeof i?new Set(a).add(i):a;if(r.allOf)e[n]=R0t({allOf:[o,...r.allOf]},void 0,s);else if(IY(r)&&IY(o)&&r.items){let t=jQ.schema(o.items);e[n]={...o,type:"array",items:t?j0t(t,jQ.schema(r.items),s):jQ.schema(r.items)}}else if("properties"in o&&"properties"in r){let t={...o,...r};t.properties={...o.properties},L0t(t.properties,r.properties,s),e[n]=t}else e[n]={...r,...o}}},B0t=(e,t,a=new Set)=>{if(t.allOf||e.allOf){let r=[];if(e.allOf)for(let t of e.allOf)r.push(jQ.schema(t));else r.push(e);if(t.allOf)for(let e of t.allOf)r.push(jQ.schema(e));else r.push(t);let n=R0t({allOf:r},void 0,a);return void Object.assign(e,n)}Object.assign(e,t),"properties"in e&&"properties"in t&&L0t(e.properties,t.properties,a)},j0t=(e,t,a=new Set)=>{let r=t.$ref;return"string"==typeof r?a.has(r)?e:U0t(e,t,new Set(a).add(r)):U0t(e,t,a)},U0t=(e,t,a=new Set)=>{if(e.allOf||t.allOf){let r=[];if(e.allOf)for(let t of e.allOf)r.push(jQ.schema(t));else r.push(e);if(t.allOf)for(let e of t.allOf)r.push(jQ.schema(e));else r.push(t);return R0t({allOf:r},void 0,a)}let r={...e,...t};return"properties"in e&&"properties"in t&&(r.properties={...e.properties},L0t(r.properties,t.properties,a)),r};uW();var z0t=e=>{if(!e)return null;let t=jQ.schema(e),a="$ref"in e?S0t(e.$ref)??null:null;return t.title?{schemaKey:a,label:t.title}:t.name?{schemaKey:a,label:t.name}:"$ref"in e&&a?{schemaKey:a,label:a}:null};Rc(),n0e(),wE(),ZS(),uW();var H0t={class:"property-rule"},Z0t={class:"composition-selector bg-b-1.5 hover:bg-b-2 flex w-full cursor-pointer items-center gap-1 rounded-t-lg border px-2.5 py-2.5 pr-3 text-left",type:"button"},V0t={class:"text-c-2"},Q0t={key:0,class:"text-red"},q0t={class:"composition-panel"},F0t=Pn({__name:"SchemaComposition",props:{composition:{},discriminator:{},name:{},schema:{},level:{},compact:{type:Boolean,default:!1},hideHeading:{type:Boolean,default:!1},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){let t=e,a=ol(()=>[t.schema[t.composition]].flat().map(e=>({value:jQ.schema(e),original:e})).filter(e=>bE(e.value))),r=ol(()=>a.value.map((e,t)=>{let a=jQ.schema(e.original),r=(z0t(a)?.label??I0t(a))||"Schema";return{id:String(t),label:r}})),n=ol(()=>t.compositionPath?.length?[...t.compositionPath,t.composition].join("."):""),o=hn($0t,void 0),i=ol(()=>{if("requestBody"!==t.schemaContext||!o?.value||!n.value)return 0;let e=o.value[n.value];return"number"!=typeof e||Number.isNaN(e)?0:Math.max(0,Math.min(e,r.value.length-1))}),s=Za();fn([r,i],([e,t])=>{(!s.value||!e.some(e=>e.id===s.value?.id))&&(s.value=e[t]??e[0])},{immediate:!0});let l=e=>e.replace(/([A-Z])/g," $1").replace(/^./,e=>e.toUpperCase()).toLowerCase().replace(/^(\w)/,e=>e.toUpperCase()),c=ol(()=>a.value[Number(s.value?.id??"0")]?.value),u=ol(()=>b0t(a.value[Number(s.value?.id??"0")]?.original)),d=Za(!!t.options.expandAllSchemaProperties);return o&&"requestBody"===t.schemaContext&&n.value&&fn(s,e=>{let t=e?Number(e.id):0;Number.isNaN(t)||(o.value={...o.value,[n.value]:t})},{immediate:!0}),(a,n)=>(Zo(),qo("div",H0t,["allOf"===t.composition?(Zo(),Fo(Z1t,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:Fa(R0t)(e.schema),schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"])):(Zo(),qo(Ls,{key:1},[qs(Fa(GKe),{modelValue:s.value,"onUpdate:modelValue":n[0]||=e=>s.value=e,options:r.value,resize:""},{default:cn(()=>[Go("button",Z0t,[Go("span",V0t,Kt(l(t.composition)),1),Go("span",{class:tt(["composition-selector-label text-c-1",{"line-through":c.value?.deprecated}])},Kt(s.value?.label||"Schema"),3),c.value?.deprecated?(Zo(),qo("div",Q0t," deprecated ")):ai("",!0),qs(Fa(jf))])]),_:1},8,["modelValue","options"]),Go("div",q0t,[!d.value&&e.level>2?(Zo(),qo("button",{key:0,class:"bg-b-1 hover:bg-b-2 text-c-1 flex w-full items-center justify-center gap-2 rounded-b-lg border border-t-0 px-2 py-2 text-sm font-medium transition-colors",type:"button",onClick:n[1]||=e=>d.value=!0},[n[2]||=ei(" Show Schema Details ",-1),qs(Fa(jf),{class:"h-3 w-3"})])):(Zo(),Fo(Z1t,{key:s.value?.id??"0",breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,cycleKey:u.value,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:c.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","cycleKey","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"]))])],64))]))}});Rc(),MJe(),Upt();var W0t={class:"property-enum-value"},X0t={class:"property-enum-value-content"},G0t={class:"property-enum-value-label"},Y0t={key:0,class:"property-enum-value-description"},K0t=TYt(Pn({__name:"SchemaEnumPropertyItem",props:{label:{},description:{}},setup:e=>(t,a)=>(Zo(),qo("li",W0t,[Go("div",X0t,[Go("span",G0t,[qs(Fa(Mdt),{text:e.label,preset:"property"},null,8,["text"])]),e.description?(Zo(),qo("span",Y0t,[qs(Fa(aKe),{value:e.description},null,8,["value"])])):ai("",!0)])]))}),[["__scopeId","data-v-4375ecfd"]]);Rc(),lce(),ZS(),uW(),KK();var J0t={key:0,class:"property-enum"},e1t={key:0,class:"property-enum-property-names"},t1t={key:1,class:"property-enum-property-names"},a1t={class:"property-enum-values"},r1t={key:1},n1t=TYt(Pn({__name:"SchemaEnums",props:{value:{},propertyNames:{type:Boolean}},setup(e){let t=ol(()=>e.value&&(e.value.enum||IY(e.value)&&jQ.schema(e.value.items)?.enum)||[]),a=ol(()=>t.value.length>9),r=ol(()=>a.value?5:t.value.length),n=ol(()=>t.value.slice(0,r.value)),o=ol(()=>t.value.slice(r.value)),i=(t,a)=>{let r=e.value?.["x-enumDescriptions"]??e.value?.["x-enum-descriptions"];if(r){if(Array.isArray(r))return r[a];if("object"==typeof r&&r)return r[String(t)]}},s=(t,a)=>{let r=e.value?.["x-enum-varnames"]??e.value?.["x-enumNames"],n=Array.isArray(r)?r[a]:void 0;return n?`${t} = ${n}`:String(t)},l=Za(!1),c=()=>{l.value=!l.value};return(u,d)=>t.value.length>0?(Zo(),qo("div",J0t,[e.propertyNames?(Zo(),qo("div",e1t," property names ")):(Zo(),qo("div",t1t," values ")),Go("ul",a1t,[(Zo(!0),qo(Ls,null,Yn(n.value,(e,t)=>(Zo(),Fo(K0t,{key:String(e),description:i(e,t),label:s(e,t)},null,8,["description","label"]))),128)),a.value&&l.value?(Zo(!0),qo(Ls,{key:0},Yn(o.value,(e,t)=>(Zo(),Fo(K0t,{key:String(e),description:i(e,r.value+t),label:s(e,r.value+t)},null,8,["description","label"]))),128)):ai("",!0),a.value?(Zo(),qo("li",r1t,[qs(Fa(tce),{class:"enum-toggle-button my-2 flex h-fit gap-1 rounded-full border py-1.5 pr-2.5 pl-2 leading-none",variant:"ghost",onClick:c},{default:cn(()=>[qs(Fa(NO),{class:tt({"rotate-45":l.value}),weight:"bold"},null,8,["class"]),ei(" "+Kt(l.value?"Hide values":"Show all values"),1)]),_:1})])):ai("",!0)])])):ai("",!0)}}),[["__scopeId","data-v-fa093e1b"]]);Rc();var o1t={class:"text-c-3 hover:text-c-1 underline",type:"button"};var i1t=TYt({},[["render",function(e,t){return Zo(),qo("button",o1t,[Jn(e.$slots,"default")])}]]);Rc();var s1t=Pn({__name:"RenderString",props:{value:{}},setup(e){let t=ol(()=>""===e.value?"''":null===e.value?"null":void 0===e.value?"undefined":e.value);return(e,a)=>Kt(t.value)}});function l1t(e){return Array.isArray(e)?`[${e.map(e=>"string"==typeof e?`"${e.toString().trim()}"`:"object"==typeof e?JSON.stringify(e):void 0===e?"undefined":null===e?"null":e).join(", ")}]`:null===e?"null":"object"==typeof e?JSON.stringify(e):void 0===e?"undefined":"string"==typeof e?e.trim():e.toString().trim()}Rc(),Qle(),sht();var c1t={key:0,class:"property-default"},u1t={class:"property-default-value-list"},d1t=TYt(Pn({__name:"SchemaPropertyDefault",props:{value:{}},setup(e){let{copyToClipboard:t}=Xpt();return(a,r)=>void 0===e.value?ai("",!0):(Zo(),qo("div",c1t,[r[1]||=Go("button",{class:"property-default-label",type:"button"},[Go("span",null,"Default")],-1),Go("div",u1t,[Go("button",{class:"property-default-value group",type:"button",onClick:r[0]||=a=>Fa(t)(Fa(l1t)(e.value))},[Go("span",null,Kt(Fa(l1t)(e.value)),1),qs(Fa(Ple),{class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})])])]))}}),[["__scopeId","data-v-5f65dcf4"]]);Rc();var p1t={key:0,class:"property-detail-prefix"},h1t={key:1,class:"property-detail-value"},m1t={key:2,class:"property-detail-value"},f1t=TYt(Pn({__name:"SchemaPropertyDetail",props:{truncate:{type:Boolean},code:{type:Boolean}},setup:e=>(t,a)=>(Zo(),qo("span",{class:tt(["property-detail",{"property-detail-truncate":e.truncate}])},[t.$slots.prefix?(Zo(),qo("div",p1t,[Jn(t.$slots,"prefix",{},void 0,!0),a[0]||=ei("  ",-1)])):ai("",!0),e.code?(Zo(),qo("code",h1t,[Jn(t.$slots,"default",{},void 0,!0)])):(Zo(),qo("span",m1t,[Jn(t.$slots,"default",{},void 0,!0)]))],2))}),[["__scopeId","data-v-1295f965"]]);function g1t(e){let t=e.trim();return""===t?e:t}function v1t(e){return Array.isArray(e)?`[${e.map(e=>"string"==typeof e?`"${g1t(e)}"`:"object"==typeof e?JSON.stringify(e):void 0===e?"undefined":null===e?"null":e).join(", ")}]`:null===e?"null":"object"==typeof e?JSON.stringify(e):void 0===e?"undefined":g1t("string"==typeof e?e:e.toString())}Rc(),Qle(),UE(),sht();var b1t={key:0,class:"property-example"},y1t={class:"property-example-value-list"},O1t={key:1,class:"property-example"},x1t={class:"property-example-value-list"},w1t=["onClick"],k1t=TYt(Pn({__name:"SchemaPropertyExamples",props:{examples:{},example:{}},setup(e){let{copyToClipboard:t}=Xpt(),a=ol(()=>void 0!==e.example),r=ol(()=>e.examples&&"object"==typeof e.examples?e.examples:{}),n=ol(()=>Object.keys(r.value).length>0),o=ol(()=>1===Object.keys(r.value).length?"Example":"Examples");function i(e){if(CE(e)){if("value"in e)return e.value;if("externalValue"in e)return e.externalValue}return e}return(s,l)=>(Zo(),qo(Ls,null,[a.value?(Zo(),qo("div",b1t,[qs(i1t,{class:"decoration-dotted"},{default:cn(()=>[...l[1]||=[ei("Example",-1)]]),_:1}),Go("div",y1t,[Go("button",{class:"property-example-value group",type:"button",onClick:l[0]||=a=>Fa(t)(Fa(v1t)(e.example))},[Go("span",null,Kt(Fa(v1t)(e.example)),1),qs(Fa(Ple),{class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})])])])):ai("",!0),n.value?(Zo(),qo("div",O1t,[qs(i1t,{class:"decoration-dotted"},{default:cn(()=>[ei(Kt(o.value),1)]),_:1}),Go("div",x1t,[(Zo(!0),qo(Ls,null,Yn(r.value,(e,a)=>(Zo(),qo("button",{key:a,class:"property-example-value group",type:"button",onClick:a=>Fa(t)(Fa(v1t)(i(e)))},[Go("span",null,Kt(Fa(v1t)(i(e))),1),qs(Fa(Ple),{class:"text-c-3 group-hover:text-c-1 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})],8,w1t))),128))])])):ai("",!0)],64))}}),[["__scopeId","data-v-6952a15a"]]);Rc(),wE(),uW(),KK();var S1t={class:"property-heading"},A1t={key:1,class:"property-discriminator"},_1t={key:3,class:"property-additional"},T1t={key:4,class:"property-deprecated"},E1t={key:5,class:"property-const"},C1t={key:7,class:"property-write-only"},P1t={key:8,class:"property-read-only"},M1t={key:9,class:"property-required"},$1t=TYt(Pn({__name:"SchemaPropertyHeading",props:{value:{},enum:{type:Boolean},isDiscriminator:{type:Boolean,default:!1},required:{type:Boolean,default:!1},additional:{type:Boolean},withExamples:{type:Boolean,default:!0},hideModelNames:{type:Boolean,default:!1},modelName:{},eventBus:{default:null}},setup(e){let t=e,a=Ya(t,"value"),r=ol(()=>{if(!a.value)return;let e=a.value;if(void 0!==e.const)return e.const;if(1===e.enum?.length)return e.enum[0];if(IY(e)&&e.items){let t=jQ.schema(e.items);if(bE(t.const))return t.const;if(1===t.enum?.length)return t.enum[0]}}),n=ol(()=>{if(!a.value)return[];let e=a.value,t=[];return IY(e)&&((e.minItems||e.maxItems)&&t.push({key:"array-range",value:`${e.minItems||""}…${e.maxItems||""}`}),e.uniqueItems&&t.push({key:"unique-items",value:"unique!"})),RY(e)&&(e.minLength&&t.push({key:"min-length",prefix:"min length: ",value:e.minLength}),e.maxLength&&t.push({key:"max-length",prefix:"max length: ",value:e.maxLength}),e.pattern&&t.push({key:"pattern",value:e.pattern,code:!0,truncate:!0})),(RY(e)||DY(e))&&e.format&&t.push({key:"format",value:e.format,truncate:!0}),DY(e)&&(bE(e.exclusiveMinimum)&&t.push({key:"exclusive-minimum",prefix:"greater than: ",value:e.exclusiveMinimum}),bE(e.minimum)&&t.push({key:"minimum",prefix:"min: ",value:e.minimum}),bE(e.exclusiveMaximum)&&t.push({key:"exclusive-maximum",prefix:"less than: ",value:e.exclusiveMaximum}),bE(e.maximum)&&t.push({key:"maximum",prefix:"max: ",value:e.maximum}),bE(e.multipleOf)&&t.push({key:"multiple-of",prefix:"multiple of: ",value:e.multipleOf})),t}),o=ol(()=>{if(!t.value||t.hideModelNames)return null;if(t.modelName)return{schemaKey:t.modelName,label:t.modelName};let e=z0t(t.value);if(e)return{schemaKey:e.schemaKey,label:e.label};if(IY(t.value)&&t.value.items){let e=z0t(t.value.items);return e?{schemaKey:e.schemaKey,label:`${e.label}[]`}:null}return null}),i=ol(()=>!(!t.value||!("type"in t.value))&&("array"===t.value.type||!r.value)),s=ol(()=>t.value?I0t(t.value):""),l=ol(()=>{if(t.value&&"example"in t.value&&void 0!==t.value.example)return t.value.example;if(t.value&&IY(t.value)){let e=jQ.schema(t.value.items);if(e&&"example"in e&&void 0!==e.example)return e.example}});return(e,a)=>(Zo(),qo("div",S1t,[e.$slots.name?(Zo(),qo("div",{key:0,class:tt(["property-name",{deprecated:t.value?.deprecated}])},[Jn(e.$slots,"name",{},void 0,!0)],2)):ai("",!0),t.isDiscriminator?(Zo(),qo("div",A1t," Discriminator ")):ai("",!0),t.value?(Zo(),qo(Ls,{key:2},[i.value?(Zo(),Fo(f1t,{key:0,truncate:""},{default:cn(()=>[qs(XKt,null,{default:cn(()=>[...a[1]||=[ei("Type: ",-1)]]),_:1}),ei(Kt(s.value),1),o.value?(Zo(),qo(Ls,{key:0},[a[2]||=ei(" · ",-1),t.eventBus&&o.value.schemaKey?(Zo(),Fo(i1t,{key:0,onClick:a[0]||=e=>t.eventBus.emit("scroll-to:model-by-name",{name:o.value.schemaKey})},{default:cn(()=>[ei(Kt(o.value.label),1)]),_:1})):(Zo(),qo(Ls,{key:1},[ei(Kt(o.value.label),1)],64))],64)):ai("",!0)]),_:1})):ai("",!0),(Zo(!0),qo(Ls,null,Yn(n.value,e=>(Zo(),Fo(f1t,{key:e.key,code:e.code,truncate:e.truncate},Kn({default:cn(()=>["format"===e.key?(Zo(),Fo(XKt,{key:0},{default:cn(()=>[...a[3]||=[ei("Format:",-1)]]),_:1})):"pattern"===e.key?(Zo(),Fo(XKt,{key:1},{default:cn(()=>[...a[4]||=[ei(" Pattern: ",-1)]]),_:1})):ai("",!0),ei(" "+Kt(e.value),1)]),_:2},[e.prefix?{name:"prefix",fn:cn(()=>[ei(Kt(e.prefix),1)]),key:"0"}:void 0]),1032,["code","truncate"]))),128)),t.enum?(Zo(),Fo(f1t,{key:1},{default:cn(()=>[...a[5]||=[ei("enum",-1)]]),_:1})):ai("",!0)],64)):ai("",!0),t.additional?(Zo(),qo("div",_1t,[t.value?.["x-additionalPropertiesName"]?(Zo(),qo(Ls,{key:0},[ei(Kt(t.value["x-additionalPropertiesName"]),1)],64)):(Zo(),qo(Ls,{key:1},[ei("additional properties")],64))])):ai("",!0),t.value?.deprecated?(Zo(),qo("div",T1t,[qs(Fa(wKt),null,{default:cn(()=>[...a[6]||=[ei("deprecated",-1)]]),_:1})])):ai("",!0),void 0===r.value?(Zo(),qo(Ls,{key:6},[!0===t.value?.nullable?(Zo(),Fo(f1t,{key:0},{default:cn(()=>[...a[8]||=[ei(" nullable ",-1)]]),_:1})):ai("",!0)],64)):(Zo(),qo("div",E1t,[qs(f1t,{truncate:""},{prefix:cn(()=>[...a[7]||=[ei("const: ",-1)]]),default:cn(()=>[qs(s1t,{value:r.value},null,8,["value"])]),_:1})])),t.value?.writeOnly?(Zo(),qo("div",C1t," write-only ")):t.value?.readOnly?(Zo(),qo("div",P1t," read-only ")):ai("",!0),t.required?(Zo(),qo("div",M1t," required ")):ai("",!0),qs(d1t,{value:t.value?.default},null,8,["value"]),t.withExamples?(Zo(),Fo(k1t,{key:10,example:l.value,examples:t.value?.examples},null,8,["example","examples"])):ai("",!0)]))}}),[["__scopeId","data-v-e4c4fffd"]]);Rc(),MJe(),Upt(),uW(),KK();var N1t={key:0,class:"property-name-pattern-properties"},I1t={key:1,class:"property-name-additional-properties"},R1t={key:1,class:"property-description"},D1t={key:4,class:"children"},L1t={key:5,class:"children"},B1t=TYt(Pn({__name:"SchemaProperty",props:{is:{},schema:{},noncollapsible:{type:Boolean},level:{default:0},name:{},required:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},discriminator:{},description:{},hideModelNames:{type:Boolean,default:!1},hideHeading:{type:Boolean},modelName:{},variant:{},breadcrumb:{},eventBus:{},options:{},propertyNamesEnum:{},schemaContext:{},compositionPath:{},compositionPathSegment:{},cycleKey:{}},setup(e){let t=e,a=ol(()=>function(e){if(!e||"object"!=typeof e)return e;let t=A0t.find(t=>t in e&&"not"!==t);if(!t)return{...e};let a=e[t];if(!Array.isArray(a))return{...e};let{[t]:r,nullable:n,...o}=e,i=Object.keys(o).length>0,{filteredSchemas:s,hasNullSchema:l}=a.reduce((e,t)=>{let a=jQ.schema(t);return"type"in a&&"null"===a.type?e.hasNullSchema=!0:e.filteredSchemas.push(a),e},{filteredSchemas:[],hasNullSchema:!1}),c=l||!0===n;if(1===s.length){let e={...o,...s[0]};return c&&(e.nullable=!0),e}if(("oneOf"===t||"anyOf"===t)&&(i||s.some(e=>e.allOf))){let a=s.map(e=>{let t=jQ.schema(e);if(1===t.allOf?.length){let{allOf:e,...a}=t;return{...o,...a,...jQ.schema(e[0])}}return{...o,...t}}),r={[t]:a};return"string"==typeof e.description&&(r.description=e.description),c&&(r.nullable=!0),r}if(s.length!==a.length){let a={...e,[t]:s};return c&&(a.nullable=!0),a}return{...e}}(t.schema)),r=ol(()=>t.breadcrumb&&t.name?[...t.breadcrumb,t.name]:void 0),n=ol(()=>t.compositionPathSegment?[...t.compositionPath??[],t.compositionPathSegment]:t.compositionPath??[]),o=ol(()=>[...n.value,"items"]),i=ol(()=>t.level<=2),s=ol(()=>C0t(a.value)),l=ol(()=>d.value.length>0),c=ol(()=>{let e=a.value;return!!e&&(f0t(e)&&("properties"in e||"additionalProperties"in e))}),u=ol(()=>{let e=a.value;return!(!e||!IY(e)||"object"!=typeof e.items)&&s.value}),d=ol(()=>(e=>{if(!e)return[];if(e.enum)return e.enum;if(IY(e)&&"object"==typeof e.items){let t=jQ.schema(e.items);if(t&&"enum"in t&&t.enum)return t.enum}return[]})(a.value)),p=ol(()=>(e=>{if(!LY(e))return null;let t=Array.isArray(e.type)?e.type[0]:e.type;if(!t)return null;let a=M0t[t];return a?a["format"in e&&e.format||"contentEncoding"in e&&e.contentEncoding||"_default"]??null:null})(a.value)),h=ol(()=>((e,t)=>!e||e.allOf?null:t&&e.description&&(e.oneOf||e.anyOf)?t===e.description?t:`${t}\n\n${e.description}`:t||e.description||null)(a.value,t.description)),m=ol(()=>{let e=a.value;if(!e||!h.value||!("description"in e))return e;let{description:t,...r}=e;return r}),f=ol(()=>((e,t,a=!1)=>!(!t&&!a)||!!e&&(!0===e.deprecated||void 0!==e.const||1===e.enum?.length||"type"in e&&void 0!==e.type||"nullable"in e&&!0===e.nullable||!0===e.writeOnly||!0===e.readOnly))(a.value,t.name,t.required)),g=ol(()=>P0t(a.value,t.options.document)),v=ol(()=>{let e=a.value;if(e&&IY(e)&&"object"==typeof e.items)return jQ.schema(e.items)}),b=ol(()=>{let e=a.value;if(e&&IY(e))return b0t(e.items)}),y=ol(()=>!(!t.name||t.discriminator?.propertyName!==t.name));return(t,s)=>(Zo(),Fo(Wn(e.is??"li"),{class:tt(["property",[`property--level-${e.level}`,{"property--compact":e.compact,"property--deprecated":a.value?.deprecated}]])},{default:cn(()=>[f.value?(Zo(),Fo($1t,{key:0,class:"group",enum:l.value,eventBus:e.eventBus,hideModelNames:e.hideModelNames,isDiscriminator:y.value,modelName:e.modelName,required:e.required,value:a.value},Kn({_:2},[e.name?{name:"name",fn:cn(()=>[qs(Fa(tJt),{breadcrumb:i.value?r.value:void 0,eventBus:e.eventBus},{default:cn(()=>["patternProperties"===e.variant?(Zo(),qo("span",N1t,[qs(Fa(Mdt),{preset:"property",text:e.name},null,8,["text"])])):"additionalProperties"===e.variant?(Zo(),qo("span",I1t,[qs(Fa(Mdt),{preset:"property",text:e.name},null,8,["text"])])):(Zo(),Fo(Fa(Mdt),{key:2,preset:"property",text:e.name},null,8,["text"]))]),_:1},8,["breadcrumb","eventBus"])]),key:"0"}:void 0,void 0===a.value?.example?void 0:{name:"example",fn:cn(()=>[ei(" Example: "+Kt(a.value.example),1)]),key:"1"}]),1032,["enum","eventBus","hideModelNames","isDiscriminator","modelName","required","value"])):ai("",!0),h.value||p.value?(Zo(),qo("div",R1t,[qs(Fa(aKe),{value:h.value||p.value||""},null,8,["value"])])):ai("",!0),e.propertyNamesEnum&&e.propertyNamesEnum.length>0?(Zo(),Fo(n1t,{key:2,propertyNames:"",value:{enum:e.propertyNamesEnum}},null,8,["value"])):ai("",!0),d.value.length>0?(Zo(),Fo(n1t,{key:3,value:a.value},null,8,["value"])):ai("",!0),c.value?(Zo(),qo("div",D1t,[qs(Z1t,{breadcrumb:r.value,compact:e.compact,compositionPath:n.value,cycleKey:e.cycleKey,eventBus:e.eventBus,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:m.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","cycleKey","eventBus","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"])])):ai("",!0),u.value&&v.value?(Zo(),qo("div",L1t,[qs(Z1t,{compact:e.compact,compositionPath:o.value,cycleKey:b.value,eventBus:e.eventBus,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:Fa(jQ).schema(v.value),schemaContext:e.schemaContext},null,8,["compact","compositionPath","cycleKey","eventBus","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"])])):ai("",!0),(Zo(!0),qo(Ls,null,Yn(g.value,t=>(Zo(),Fo(F0t,{key:t.composition,breadcrumb:e.breadcrumb,compact:e.compact,composition:t.composition,compositionPath:n.value,discriminator:e.schema?.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:t.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","composition","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"]))),128)),qs(Fa(mJt),{value:a.value},null,8,["value"])]),_:1},8,["class"]))}}),[["__scopeId","data-v-471bb5bb"]]);Rc(),uW();var j1t=Pn({__name:"SchemaObjectProperties",props:{schema:{},discriminator:{},compact:{type:Boolean},hideHeading:{type:Boolean},level:{},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){let t=ol(()=>k0t(e.schema,e.discriminator,e.options)),a=(e,t)=>{let a="boolean"==typeof e?e:jQ.schema(e);if("object"==typeof a&&"string"==typeof a["x-additionalPropertiesName"]&&a["x-additionalPropertiesName"].trim().length>0)return`${a["x-additionalPropertiesName"].trim()}`;if(t){let e=jQ.schema(t);if(e?.title)return e.title}return"propertyName"},r=ol(()=>{if(f0t(e.schema)&&e.schema.additionalProperties)return(e=>{if(!e)return;let t=jQ.schema(e);return t&&"enum"in t&&Array.isArray(t.enum)&&t.enum.length>0?t.enum:void 0})(e.schema.propertyNames)}),n=e=>{if(e)return jQ.schema(e)},o=e=>{if(e)return"string"==typeof e.description?e.description:void 0},i=e=>{let t="boolean"==typeof e?e:jQ.schema(e);return!0===t||"object"==typeof t&&0===Object.keys(t).length||"object"!=typeof t||!("type"in t)?{type:"anything",..."object"==typeof t?t:{}}:t};return(s,l)=>(Zo(),qo(Ls,null,[Fa(f0t)(e.schema)&&e.schema.properties?(Zo(!0),qo(Ls,{key:0},Yn(t.value,t=>(Zo(),Fo(B1t,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:t,cycleKey:Fa(b0t)(e.schema.properties[t]),description:o(e.schema.properties[t]),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:t,options:e.options,required:e.schema.required?.includes(t),schema:n(e.schema.properties[t]),schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","description","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","required","schema","schemaContext"]))),128)):ai("",!0),Fa(f0t)(e.schema)&&e.schema.patternProperties?(Zo(!0),qo(Ls,{key:1},Yn(Object.entries(e.schema.patternProperties),([t,a])=>(Zo(),Fo(B1t,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:t,cycleKey:Fa(b0t)(a),description:o(a),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:t,options:e.options,schema:n(a),schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","description","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"]))),128)):ai("",!0),Fa(f0t)(e.schema)&&e.schema.additionalProperties?(Zo(),Fo(B1t,{key:2,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:a(e.schema.additionalProperties,e.schema.propertyNames),cycleKey:Fa(b0t)(e.schema.additionalProperties),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:a(e.schema.additionalProperties,e.schema.propertyNames),noncollapsible:"",options:e.options,propertyNamesEnum:r.value,schema:i(e.schema.additionalProperties),schemaContext:e.schemaContext,variant:"additionalProperties"},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","propertyNamesEnum","schema","schemaContext"])):ai("",!0)],64))}});Rc(),Am(),Qle(),MJe();var U1t={key:0,class:"schema-card-description"},z1t={key:1,class:"pt-2"},H1t={key:0,class:"schema-properties"},Z1t=TYt(Pn({__name:"Schema",props:{schema:{},level:{default:0},name:{},compact:{type:Boolean},noncollapsible:{type:Boolean,default:!1},hideHeading:{type:Boolean},hideDescription:{type:Boolean,default:!1},additionalProperties:{type:Boolean},hideModelNames:{type:Boolean,default:!1},discriminator:{},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{},cycleKey:{}},setup(e){let t=hn(v0t,void 0),a=ol(()=>null!=e.cycleKey&&!!t?.has(e.cycleKey)),r=new Set(t??[]);null!=e.cycleKey&&r.add(e.cycleKey),pn(v0t,r);let n=ol(()=>!!e.options.expandAllSchemaProperties&&!a.value),o=ol(()=>!e.noncollapsible&&e.level>0),i=ol(()=>e.noncollapsible||n.value),s=ol(()=>e.hideDescription?null:e.schema?.allOf&&e.schema.allOf.length>0&&"Request Body"===e.name?e.schema.description||e.schema.allOf[0]?.description||null:e.schema?.description&&"string"==typeof e.schema.description&&!e.schema.enum&&("properties"in e.schema||"patternProperties"in e.schema||"additionalProperties"in e.schema)?e.schema.description:null),l=t=>{e.noncollapsible&&t.stopPropagation()};return(t,a)=>"object"==typeof e.schema&&Object.keys(e.schema).length?(Zo(),Fo(Fa(Yp),{key:0,defaultOpen:i.value},{default:cn(({open:t})=>[Go("div",{class:tt(["schema-card",[`schema-card--level-${e.level}`,{"schema-card--compact":e.compact,"schema-card--open":t},{"border-t":e.additionalProperties&&t}]])},[s.value?(Zo(),qo("div",U1t,[qs(Fa(aKe),{value:s.value},null,8,["value"])])):ai("",!0),Fa(g0t)(e.schema)?(Zo(),qo("div",z1t," Empty object ")):ai("",!0),Go("div",{class:tt(["schema-properties",{"schema-properties-open":t}])},[e.additionalProperties?un((Zo(),qo("div",H1t,[qs(Fa(Kp),{as:"button",class:"schema-card-title schema-card-title--compact",onClickCapture:l},{default:cn(()=>[qs(Fa(Ple),{class:"schema-card-title-icon",icon:"Add",size:"sm"}),a[0]||=ei(" Show additional properties ",-1),e.name?(Zo(),Fo(XKt,{key:0},{default:cn(()=>[ei("for "+Kt(e.name),1)]),_:1})):ai("",!0)]),_:1})],512)),[[ac,!t]]):o.value?un((Zo(),Fo(Fa(Kp),{key:1,as:e.noncollapsible?"div":"button",class:tt(["schema-card-title",{"schema-card-title--compact":e.compact}]),style:Je({top:`calc(var(--refs-viewport-offset) +  calc(var(--schema-title-height) * ${e.level}))`}),onClickCapture:l},{default:cn(()=>[e.compact?(Zo(),qo(Ls,{key:0},[qs(Fa(Ple),{class:tt(["schema-card-title-icon",{"schema-card-title-icon--open":t}]),icon:"Add",size:"sm"},null,8,["class"]),t?(Zo(),qo(Ls,{key:0},[ei(" Hide "+Kt(e.schema?.title??"Child Attributes"),1)],64)):(Zo(),qo(Ls,{key:1},[ei(" Show "+Kt(e.schema?.title??"Child Attributes"),1)],64)),e.name?(Zo(),Fo(XKt,{key:2},{default:cn(()=>[ei("for "+Kt(e.name),1)]),_:1})):ai("",!0)],64)):(Zo(),qo(Ls,{key:1},[qs(Fa(Ple),{class:tt(["schema-card-title-icon",{"schema-card-title-icon--open":t}]),icon:"Add",size:"sm"},null,8,["class"]),qs(x0t,{name:e.schema?.title??e.name,value:e.schema},null,8,["name","value"])],64))]),_:2},1032,["as","class","style"])),[[ac,!(e.hideHeading||e.noncollapsible&&e.compact)]]):ai("",!0),!e.additionalProperties||t?(Zo(),Fo(Fa(Jp),{key:2,as:"ul",static:!o.value},{default:cn(()=>[Fa(f0t)(e.schema)?(Zo(),Fo(j1t,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,options:e.options,schema:e.schema,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","options","schema","schemaContext"])):(Zo(),qo(Ls,{key:1},[e.schema?(Zo(),Fo(B1t,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,options:e.options,schema:e.schema,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","eventBus","hideHeading","hideModelNames","level","options","schema","schemaContext"])):ai("",!0)],64))]),_:1},8,["static"])):ai("",!0)],2)],2)]),_:1},8,["defaultOpen"])):ai("",!0)}}),[["__scopeId","data-v-dc6746ff"]]);Rc(),uW();var V1t={key:0,class:"properties"},Q1t={key:1},q1t=TYt(Pn({__name:"ClassicLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},options:{}},setup:e=>(t,a)=>(Zo(),Fo(Fa($Kt),{"aria-label":e.schema.title??e.name,modelValue:!e.isCollapsed,"onUpdate:modelValue":a[1]||=t=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:t})},{title:cn(()=>[qs(Fa(KKt),{class:"reference-models-anchor",eventBus:e.eventBus,onCopyAnchorUrl:a[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id})},{default:cn(()=>[qs(Fa(FKt),{level:3},{default:cn(()=>[qs(Fa(x0t),{class:"reference-models-label",name:e.schema.title??e.name,value:e.schema},null,8,["name","value"])]),_:1})]),_:1},8,["eventBus"])]),default:cn(()=>["properties"in e.schema?(Zo(),qo("div",V1t,[(Zo(!0),qo(Ls,null,Yn(Object.entries(e.schema.properties??{}),([t,a])=>(Zo(),Fo(Fa(B1t),{key:t,eventBus:e.eventBus,hideModelNames:e.options.hideModels,name:t,options:{...e.options,document:e.document},required:e.schema.required?.includes(t),schema:Fa(jQ).schema(a)},null,8,["eventBus","hideModelNames","name","options","required","schema"]))),128))])):(Zo(),qo("div",Q1t,[qs(Fa(B1t),{eventBus:e.eventBus,hideModelNames:e.options.hideModels,options:{...e.options,document:e.document},schema:e.schema},null,8,["eventBus","hideModelNames","options","schema"])]))]),_:1},8,["aria-label","modelValue"]))}),[["__scopeId","data-v-f3ae088e"]]);Rc(),j1e();var F1t=Pn({__name:"ModernLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},options:{}},setup:e=>(t,a)=>(Zo(),Fo(Fa(nJt),{id:e.id,key:e.name,label:e.name,modelValue:!e.isCollapsed,onCopyAnchorUrl:a[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}),"onUpdate:modelValue":a[1]||=t=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:t})},{heading:cn(()=>[qs(Fa(FKt),{level:3},{default:cn(()=>[qs(Fa(x0t),{name:e.schema.title??e.name,value:e.schema},null,8,["name","value"])]),_:1})]),default:cn(()=>[qs(Fa(y1e),null,{default:cn(()=>[qs(Fa(Z1t),{eventBus:e.eventBus,hideModelNames:e.options.hideModels,hideHeading:"",level:1,noncollapsible:"",options:{...e.options,document:e.document},schema:e.schema},null,8,["eventBus","hideModelNames","options","schema"])]),_:1})]),_:1},8,["id","label","modelValue"]))});Rc();var W1t=Pn({__name:"Model",props:{id:{},name:{},options:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{}},setup(e){let t=Nn("section");return _Kt(t,()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id})),(a,r)=>e.schema?(Zo(),qo("div",{key:0,ref_key:"section",ref:t},["classic"===e.options.layout?(Zo(),Fo(q1t,{key:0,id:e.id,document:e.document,eventBus:e.eventBus,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema},null,8,["id","document","eventBus","isCollapsed","name","options","schema"])):(Zo(),Fo(F1t,{key:1,id:e.id,document:e.document,eventBus:e.eventBus,isCollapsed:e.isCollapsed,name:e.name,options:e.options,schema:e.schema},null,8,["id","document","eventBus","isCollapsed","name","options","schema"]))],512)):ai("",!0)}});Rc(),ZS();var X1t={class:"show-more",type:"button"},G1t=TYt(Pn({__name:"ShowMoreButton",setup:e=>(e,t)=>(Zo(),qo("button",X1t,[t[0]||=ei(" Show More ",-1),qs(Fa(jf),{class:"text-c-2 mt-0.25 size-3",weight:"bold"})]))}),[["__scopeId","data-v-d1c2b649"]]);Rc(),W();var Y1t=Pn({__name:"ModelTag",props:{id:{},isCollapsed:{type:Boolean},eventBus:{},layout:{},modelsSectionLabel:{default:()=>t}},setup:e=>(t,a)=>"modern"===e.layout?(Zo(),Fo(BKt,{key:0},{default:cn(()=>[qs(Fa(TKt),{id:e.id,"aria-label":e.modelsSectionLabel,onIntersecting:a[1]||=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id})},{default:cn(()=>[qs(Fa(qKt),null,{default:cn(()=>[qs(FKt,{level:2},{default:cn(()=>[ei(Kt(e.modelsSectionLabel),1)]),_:1})]),_:1}),e.isCollapsed?(Zo(),Fo(G1t,{key:1,id:e.id,class:"top-0",onClick:a[0]||=()=>e.eventBus.emit("toggle:nav-item",{id:e.id,open:!0})},null,8,["id"])):Jn(t.$slots,"default",{key:0})]),_:3},8,["id","aria-label"])]),_:3})):(Zo(),Fo(zKt,{key:1,"aria-label":e.modelsSectionLabel,class:"pb-12",modelValue:!e.isCollapsed,"onUpdate:modelValue":a[2]||=()=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:e.isCollapsed})},{title:cn(()=>[qs(Fa(qKt),{level:2},{default:cn(()=>[ei(Kt(e.modelsSectionLabel),1)]),_:1})]),default:cn(()=>[Jn(t.$slots,"default")]),_:3},8,["aria-label","modelValue"]))});Rc(),MJe();var K1t=TYt(Pn({__name:"ClassicLayout",props:{tag:{},isCollapsed:{type:Boolean},eventBus:{}},setup:e=>(t,a)=>(Zo(),Fo(Fa(zKt),{"aria-label":e.tag.title,class:tt(["tag-section",{"tag-section-group":e.tag.isGroup}]),modelValue:!e.isCollapsed,"onUpdate:modelValue":a[1]||=t=>e.eventBus?.emit("toggle:nav-item",{id:e.tag.id,open:t})},{title:cn(()=>[qs(Fa(qKt),{class:tt(["tag-name",{"tag-group-name":e.tag.isGroup}])},{default:cn(()=>[qs(Fa(KKt),{onCopyAnchorUrl:a[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.tag.id})},{default:cn(()=>[qs(Fa(FKt),{level:2},{default:cn(()=>[ei(Kt(e.tag.title),1)]),_:1})]),_:1})]),_:1},8,["class"]),qs(Fa(aKe),{class:"tag-description",value:e.tag?.description,withImages:""},null,8,["value"])]),default:cn(()=>[Jn(t.$slots,"default",{},void 0,!0)]),_:3},8,["aria-label","class","modelValue"]))}),[["__scopeId","data-v-ee09ae3d"]]);Rc(),fpt(),lft();var J1t=Pn({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,a=ol(()=>Wut(String(t.method||""))),r=ol(()=>Omt(t.method));return(t,n)=>(Zo(),Fo(Wn(e.as??"span"),{class:"uppercase",style:Je({[e.property||"color"]:a.value.colorVar})},{default:cn(()=>[Jn(t.$slots,"default"),ei(" "+Kt(e.short?a.value.short:r.value),1)]),_:3},8,["style"]))}});Rc(),fpt(),ZS();var e2t=TYt(Pn({__name:"OperationsListItem",props:{operation:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let t=ol(()=>"path"in e.operation?e.operation.path:e.operation.title),a=e=>"webhook"===e.type;return(r,n)=>(Zo(),qo("li",{key:e.operation.id,class:"contents"},[e.isCollapsed?(Zo(),Fo(Fa(FKt),{key:0,class:"sr-only",level:3},{default:cn(()=>[ei(Kt(e.operation.title)+" (Hidden) ",1)]),_:1})):ai("",!0),Go("a",{class:"endpoint",onClick:n[0]||=Ac(()=>e.eventBus?.emit("scroll-to:nav-item",{id:e.operation.id}),["prevent"])},[qs(Fa(J1t),{class:"endpoint-method items-center justify-end gap-2",method:e.operation.method},{default:cn(()=>[a(e.operation)?(Zo(),Fo(Fa(xw),{key:0,class:"size-3.5",style:Je({color:Fa(Wut)(e.operation.method).colorVar})},null,8,["style"])):ai("",!0)]),_:1},8,["method"]),Go("span",{class:tt(["endpoint-path",{deprecated:e.operation.isDeprecated}])},Kt(t.value),3)])]))}}),[["__scopeId","data-v-ad8530a6"]]);Rc();var t2t=["aria-label"],a2t=TYt(Pn({__name:"OperationsList",props:{tag:{},eventBus:{}},setup(e){let t=ol(()=>e.tag.children?.filter(e=>"operation"===e.type||"webhook"===e.type)??[]);return(a,r)=>e.tag.children&&e.tag.children?.length>0?(Zo(),Fo(Fa(QYt),{key:0,class:"endpoints-card"},{default:cn(()=>[qs(Fa(GYt),{muted:""},{default:cn(()=>[qs(XKt,null,{default:cn(()=>[ei(Kt(e.tag.title),1)]),_:1}),ei(" "+Kt(e.tag.isWebhooks?"Webhooks":"Operations"),1)]),_:1}),qs(Fa(qYt),{class:"custom-scroll max-h-[60vh]"},{default:cn(()=>[Go("ul",{"aria-label":`${e.tag.title} endpoints`,class:"endpoints"},[(Zo(!0),qo(Ls,null,Yn(t.value,t=>(Zo(),Fo(e2t,{key:t.id,eventBus:e.eventBus,operation:t},null,8,["eventBus","operation"]))),128))],8,t2t)]),_:1})]),_:1})):ai("",!0)}}),[["__scopeId","data-v-b8cb97c7"]]);Rc(),MJe();var r2t=Pn({__name:"TagSection",props:{tag:{},headerId:{},isCollapsed:{type:Boolean},isLoading:{type:Boolean},eventBus:{}},setup:e=>(t,a)=>e.tag?(Zo(),Fo(Fa(TKt),{key:0,id:e.tag.id,role:"none",onIntersecting:a[1]||=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.tag.id})},{default:cn(()=>[un(qs(Fa(qKt),null,{default:cn(()=>[qs(Fa(KKt),{onCopyAnchorUrl:a[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.tag.id})},{default:cn(()=>[qs(Fa(FKt),{id:e.headerId,level:2},{default:cn(()=>[ei(Kt(e.tag.title)+" ",1),e.isCollapsed?(Zo(),Fo(XKt,{key:0},{default:cn(()=>[...a[2]||=[ei(" (Collapsed)",-1)]]),_:1})):ai("",!0)]),_:1},8,["id"])]),_:1})]),_:1},512),[[ac,!e.isLoading]]),qs(Fa(VKt),{loading:e.isLoading},{default:cn(()=>[qs(Fa(DKt),null,{default:cn(()=>[qs(Fa(IKt),null,{default:cn(()=>[qs(Fa(aKe),{clamp:e.isCollapsed?7:void 0,value:e.tag?.description??"",withImages:""},null,8,["clamp","value"])]),_:1}),qs(Fa(IKt),null,{default:cn(()=>[qs(Fa(a2t),{eventBus:e.eventBus,tag:e.tag},null,8,["eventBus","tag"])]),_:1})]),_:1})]),_:1},8,["loading"]),qs(Fa(mJt),{value:e.tag.xKeys},null,8,["value"])]),_:1},8,["id"])):ai("",!0)});Rc();var n2t={key:2,class:"contents divide-y"},o2t=TYt(Pn({__name:"ModernLayout",props:{tag:{},moreThanOneTag:{type:Boolean},isLoading:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let t=Mn(),a=ol(()=>e.moreThanOneTag||"default"!==e.tag?.title||""!==e.tag?.description),r=ol(()=>(e.tag?.children?.length??0)>0);return(n,o)=>(Zo(),Fo(Fa(BKt),{"aria-labelledby":Fa(t),class:"tag-section-container",role:"region"},{default:cn(()=>[a.value?(Zo(),Fo(r2t,{key:0,eventBus:e.eventBus,headerId:Fa(t),isCollapsed:e.isCollapsed,isLoading:e.isLoading,tag:e.tag},null,8,["eventBus","headerId","isCollapsed","isLoading","tag"])):ai("",!0),e.isCollapsed&&e.moreThanOneTag&&r.value?(Zo(),Fo(G1t,{key:1,id:e.tag.id,"aria-label":`Show all ${e.tag.title} endpoints`,onClick:o[0]||=()=>e.eventBus?.emit("toggle:nav-item",{id:e.tag.id,open:!0})},null,8,["id","aria-label"])):ai("",!0),e.isCollapsed&&e.moreThanOneTag?ai("",!0):(Zo(),qo("div",n2t,[Jn(n.$slots,"default",{},void 0,!0)]))]),_:3},8,["aria-labelledby"]))}}),[["__scopeId","data-v-8f1a275c"]]);Rc();var i2t=Pn({__name:"Tag",props:{tag:{},layout:{},moreThanOneTag:{type:Boolean},isLoading:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{}},setup:e=>(t,a)=>"classic"===e.layout?(Zo(),Fo(K1t,{key:0,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,tag:e.tag},{default:cn(()=>[Jn(t.$slots,"default")]),_:3},8,["eventBus","isCollapsed","layout","tag"])):(Zo(),Fo(o2t,{key:1,eventBus:e.eventBus,isCollapsed:e.isCollapsed,isLoading:e.isLoading,layout:e.layout,moreThanOneTag:e.moreThanOneTag,tag:e.tag},{default:cn(()=>[Jn(t.$slots,"default")]),_:3},8,["eventBus","isCollapsed","isLoading","layout","moreThanOneTag","tag"]))}),s2t=e=>e.replace(/^\/+|\/+$/g,""),l2t=e=>e.startsWith("#"),c2t=e=>e.replace(/^#+/,"").replace(/\/+$/g,""),u2t=(e,t)=>t?`${t}${e?"/":""}${e}`:e,d2t=(e,t)=>e===t?"":e.startsWith(`${t}/`)?e.slice(t.length+1):null,p2t=e=>e?`/${e.split("/").map(e=>encodeURIComponent(e)).join("/")}`:"",h2t=(e,t,a)=>"string"==typeof t?l2t(t)?((e,t,a)=>{let r="string"==typeof e?new URL(e):e,n=d2t(decodeURIComponent(r.hash.slice(1)),c2t(t));return null===n?a??"":u2t(n,a)})(e,t,a):((e,t,a)=>{let r="string"==typeof e?new URL(e):e,n=p2t(s2t(t));if(r.pathname.startsWith(n)){let e=r.pathname.slice(n.length);return u2t(decodeURIComponent(e.startsWith("/")?e.slice(1):e),a)}return a??""})(e,t,a):((e,t)=>{let a="string"==typeof e?new URL(e):e;return u2t(decodeURIComponent(a.hash.slice(1)),t)})(e,a),m2t=(e,t,a)=>{if(typeof window>"u")return;let r=a?e:(e=>{let t=e.endsWith("/"),a=e.split("/").filter(Boolean).slice(1).join("/");return t&&a?`${a}/`:a})(e),n=new URL(window.location.href);return"string"==typeof t?l2t(t)?n.hash=[c2t(t),r].filter(Boolean).join("/"):n.pathname=`${s2t(t)}/${r}`:n.hash=r,n},f2t=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),g2t=e=>({value:decodeURIComponent(e.hash.slice(1)),write:t=>{e.hash=t}}),v2t=(e,t)=>{for(let{match:a,replace:r}of t){let t=e.replace(a,r);if(t!==e)return t}return e},b2t="(?:(?:tag-group/[^/]+/)?tag/[^/]+/)?",y2t=(e,t,a,r,n)=>{if(!a)return null;let o=new URL("string"==typeof e?e:e.toString()),i=(({modelsSectionSlug:e,documentSlug:t,isMultiDocument:a})=>{let r=f2t(t),n=a?`${r}/${b2t}`:`(?:${r}/${b2t})?`,o=t=>({match:RegExp(`^(${n})${f2t(t)}/`),replace:(t,a)=>`${a}${e}/`}),i=[o("model")];return"models"!==e&&i.push(o("models")),i})({modelsSectionSlug:t,documentSlug:a,isMultiDocument:r}),s=!1;for(let e of((e,t)=>{if("string"!=typeof t)return[g2t(e)];if(l2t(t)){let a=c2t(t);return[{value:d2t(decodeURIComponent(e.hash.slice(1)),a)??"",write:t=>{e.hash=[a,t].filter(Boolean).join("/")}},g2t(e)]}let a=s2t(t),r=d2t(e.pathname,p2t(a));return[{value:null===r?"":decodeURIComponent(r),write:t=>{e.pathname=a?`/${a}/${t}`:`/${t}`}},g2t(e)]})(o,n)){let t=v2t(e.value,i);t!==e.value&&(e.write(t),s=!0)}return s?o:null};Jpe(),YNe(),Rc();var O2t=Ma(new Set),x2t=Ma(new Set),w2t=Ma(new Set),k2t=Za(!1),S2t=Za(!1),A2t=Ma(new Set),_2t=new Set,T2t=Ma(new Map),E2t=(e,t)=>{!Number.isFinite(t)||t<=0||T2t.set(e,Math.round(t))},C2t=()=>{let e=PNe();return A2t.add(e),()=>setTimeout(()=>A2t.delete(e),100)},P2t=ol(()=>0===A2t.size),M2t=()=>{if(typeof window>"u"||k2t.value)return;k2t.value=!0;let e=async()=>{let e=[...O2t],t=[...x2t];if(0===e.length&&0===t.length)return _2t.forEach(e=>e()),_2t.clear(),k2t.value=!1,void(S2t.value=!0);for(let t of e)w2t.add(t),O2t.delete(t);for(let e of t)w2t.add(e),x2t.delete(e);await en(),_2t.forEach(e=>e()),_2t.clear(),k2t.value=!1,S2t.value=!0};window.requestIdleCallback?window.requestIdleCallback(e,{timeout:1500}):en(e)};!function(e,t,a={}){let{debounce:r=0,maxWait:n,...o}=a;(function(e,t,a={}){let{eventFilter:r=Spe,...n}=a;fn(e,fpe(r,t),n)})(e,t,{...o,eventFilter:gpe(r,{maxWait:n})})}([()=>x2t.size,()=>O2t.size,()=>k2t.value],()=>{(x2t.size>0||O2t.size>0)&&!k2t.value&&M2t()},{debounce:300,maxWait:1500});var $2t=e=>{e&&!O2t.has(e)&&O2t.add(e)},N2t=(e,t=!1)=>{!e||w2t.has(e)||(t?$2t(e):(e=>{e&&!w2t.has(e)&&!O2t.has(e)&&x2t.add(e)})(e),k2t.value||M2t())};function I2t(e){return ns(()=>{(e=>{O2t.delete(e),x2t.delete(e),w2t.delete(e),T2t.delete(e)})(e)}),{isReady:ol(()=>typeof window>"u"||O2t.has(e)||w2t.has(e))}}var R2t=(e,t,a)=>{let r=a(e),n=!w2t.has(e)||r?.children?.some(e=>!w2t.has(e.id))?L2t(e):void 0;(e=>{e&&_2t.add(e)})(n);let o=C2t(),{rawId:i}=(e=>{let t=e.match(/(.*)(\.body\.|\.path\.|\.query\.|\.header\.)(.*)/);return t&&"string"==typeof t[1]&&"string"==typeof t[2]?{rawId:t[1],params:t[2].slice(1)+t[3]}:{rawId:e,params:""}})(e);if($2t(e),$2t(i),r?.children&&r.children.slice(0,2).forEach(e=>$2t(e.id)),r?.parent){let t=a(r.parent.id),n=t?.children?.findIndex(t=>t.id===e);void 0!==n&&n>=0&&t?.children?.slice(n,n+2).forEach(e=>$2t(e.id))}t(i,!0);let s=e=>{let r=a(e)?.parent;r&&($2t(r.id),t(r.id,!0),s(r.id))};s(i),en(()=>{D2t(e,Date.now()+3e3,o,n)})},D2t=(e,t,a,r)=>{let n=document.getElementById(e);n?(n.scrollIntoView({block:"start"}),a()):Date.now()<t?requestAnimationFrame(()=>D2t(e,t,a,r)):(a(),r?.())},L2t=e=>{let t=!1,a=r=>{let n=document.getElementById(e);n&&n.scrollIntoView({block:"start"}),r||requestAnimationFrame(()=>a(t))};return a(!1),()=>{t=!0}};Rc(),Jpe();var B2t=["id","data-placeholder"],j2t=Pn({__name:"Lazy",props:{id:{},expanded:{type:Boolean,default:!1}},setup(e){let{isReady:t}=I2t(e.id),a=Za(null),r=Za((e=>T2t.get(e))(e.id)??760),n=null,o=ol(()=>t.value||e.expanded);return ts(()=>{if(!(typeof window>"u")){if(!("IntersectionObserver"in window))return void N2t(e.id,!0);Ipe(a,([a])=>{a?.isIntersecting&&!t.value&&N2t(e.id,!0)},{rootMargin:"1200px 0px"})}}),fn(()=>o.value,(t,n)=>{if(n&&!t&&a.value){let t=a.value.offsetHeight;Number.isFinite(t)&&t>0&&(r.value=t,E2t(e.id,t))}},{flush:"pre"}),fn(()=>o.value,t=>{if(!t)return n?.disconnect(),void(n=null);en(()=>{if(!a.value||typeof ResizeObserver>"u")return;n||=new ResizeObserver(()=>{if(!a.value)return;let t=a.value.offsetHeight;Number.isFinite(t)&&t>0&&(r.value=t,E2t(e.id,t))}),n.observe(a.value);let t=a.value.offsetHeight;Number.isFinite(t)&&t>0&&(r.value=t,E2t(e.id,t))})},{immediate:!0}),ns(()=>{n?.disconnect()}),(t,n)=>(Zo(),qo("div",{id:o.value?void 0:e.id,ref_key:"lazyContainerRef",ref:a,"data-placeholder":!o.value,"data-testid":"lazy-container",style:Je({height:o.value?void 0:`${r.value}px`})},[o.value?Jn(t.$slots,"default",{key:0}):ai("",!0)],12,B2t))}});UE(),jE();var U2t=(e,t)=>{if(!e.components)return;let a=EE(e.components,TE).schemas?.[t];if(void 0===a)return;let r=EE(a),n=CE(r)&&"schemaFormat"in r?EE(r.schema):r;return(e=>CE(e))(n)?n:void 0};Rc(),lce(),n0e(),ZS(),iE();var z2t=Pn({inheritAttrs:!1,__name:"ContentTypeSelect",props:io({content:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=wo(e,"modelValue"),a=ol(()=>Object.keys(e.content??{})),r=ol({get:()=>n.value.find(e=>e.id===t.value),set:e=>{e&&(t.value=e.id)}}),n=ol(()=>a.value.map(e=>({id:e,label:e}))),o=XT({base:"font-normal text-c-2 bg-b-1 py-1 flex items-center gap-1 rounded-full text-xs leading-none border",variants:{dropdown:{true:"hover:text-c-1 pl-2 pr-1.5 font-medium cursor-pointer",false:"px-2"}}});return(e,i)=>a.value.length>1?(Zo(),Fo(Fa(GKe),{key:0,modelValue:r.value,"onUpdate:modelValue":i[1]||=e=>r.value=e,options:n.value,placement:"bottom-end",teleport:"",onClick:i[2]||=Ac(()=>{},["stop"])},{default:cn(({open:a})=>[qs(Fa(tce),ii({class:["h-fit",Fa(o)({dropdown:!0})],variant:"ghost"},e.$attrs,{onClick:i[0]||=Ac(()=>{},["stop"])}),{default:cn(()=>[qs(XKt,null,{default:cn(()=>[...i[3]||=[ei("Selected Content Type:",-1)]]),_:1}),Go("span",null,Kt(t.value),1),qs(Fa(jf),{class:tt(["size-2.75 transition-transform duration-100",{"rotate-180":a}]),weight:"bold"},null,8,["class"])]),_:2},1040,["class"])]),_:1},8,["modelValue","options"])):(Zo(),qo("div",ii({key:1,class:["selected-content-type",Fa(o)({dropdown:!1})]},e.$attrs,{tabindex:"0"}),[Go("span",null,Kt(t.value),1)],16))}});Rc(),jE();var H2t=Pn({__name:"Header",props:{header:{},name:{},breadcrumb:{},eventBus:{},document:{},orderSchemaPropertiesBy:{},orderRequiredPropertiesFirst:{type:Boolean},expandAllSchemaProperties:{type:Boolean}},setup:e=>(t,a)=>"schema"in e.header&&e.header.schema?(Zo(),Fo(B1t,{key:0,breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,description:e.header.description,eventBus:e.eventBus,name:e.name,options:{orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy,expandAllSchemaProperties:e.expandAllSchemaProperties,document:e.document},schema:Fa(EE)(e.header.schema)},null,8,["breadcrumb","description","eventBus","name","options","schema"])):ai("",!0)});Rc(),Am(),Qle(),jE();var Z2t=TYt(Pn({__name:"Headers",props:{headers:{},breadcrumb:{},eventBus:{},document:{},orderRequiredPropertiesFirst:{type:Boolean},orderSchemaPropertiesBy:{},expandAllSchemaProperties:{type:Boolean}},setup:e=>(t,a)=>(Zo(),Fo(Fa(Yp),null,{default:cn(({open:t})=>[Go("div",{class:tt(["headers-card headers-card--compact",[{"headers-card--open":t}]])},[Go("div",{class:tt(["headers-properties",{"headers-properties-open":t}])},[qs(Fa(Kp),{class:"headers-card-title headers-card-title--compact",style:{top:"calc(var(--refs-viewport-offset)))"}},{default:cn(()=>[qs(Fa(Ple),{class:tt(["headers-card-title-icon",{"headers-card-title-icon--open":t}]),icon:"Add",size:"sm"},null,8,["class"]),t?(Zo(),qo(Ls,{key:0},[ei(" Hide Headers ")],64)):(Zo(),qo(Ls,{key:1},[ei(" Show Headers ")],64))]),_:2},1024),qs(Fa(Jp),null,{default:cn(()=>[(Zo(!0),qo(Ls,null,Yn(e.headers,(t,a)=>(Zo(),Fo(H2t,{key:a,breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,document:e.document,eventBus:e.eventBus,header:Fa(EE)(t),name:a,orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy,expandAllSchemaProperties:e.expandAllSchemaProperties},null,8,["breadcrumb","document","eventBus","header","name","orderRequiredPropertiesFirst","orderSchemaPropertiesBy","expandAllSchemaProperties"]))),128))]),_:1})],2)],2)]),_:1}))}),[["__scopeId","data-v-4a9699e9"]]);UE();var V2t=e=>void 0!==e;Rc(),Am(),MJe(),Upt(),ZS(),jE();var Q2t={class:"parameter-item group/parameter-item"},q2t={class:"parameter-item-name min-w-0"},F2t={key:1,class:"flex-1"},W2t=TYt(Pn({__name:"ParameterListItem",props:{parameter:{},name:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},document:{},options:{}},setup(e){let t=Za(!1),a=ol(()=>"schema"in e.parameter&&e.parameter.schema?EE(e.parameter.schema):null),r=ol(()=>"content"in e.parameter&&e.parameter.content&&0!==Object.keys(e.parameter.content).length?e.parameter.content:null),n=Za(Object.keys(r.value||{})[0]??""),o=ol(()=>"headers"in e.parameter&&e.parameter.headers?e.parameter.headers:null),i=ol(()=>r.value?r.value?.[n.value]?.schema:"schema"in e.parameter&&e.parameter.schema?e.parameter.schema:null),s=ol(()=>{let e=i.value;return e&&"$ref"in e?S0t(e.$ref):null}),l=ol(()=>{let t=i.value,o=r.value?EE(t):a.value,s="deprecated"in e.parameter?e.parameter.deprecated:a.value?.deprecated,l=(({parameter:e,schemaExamples:t,contentExamples:a})=>{let r="examples"in e&&PE(e.examples)?e.examples:{},n=Object.values({...r,...PE(a)?a:{}}).filter(V2t),o=0===n.length&&"example"in e&&void 0!==e.example?[e.example]:[],i=(t??o).filter(V2t);return[...n,...i]})({parameter:e.parameter,schemaExamples:a.value?.examples,contentExamples:r.value?.[n.value]?.examples});return{...o,deprecated:s,examples:l}}),c=ol(()=>!!(r.value||o.value||a.value||t.value));return(a,i)=>(Zo(),qo("li",Q2t,[qs(Fa(Yp),null,{default:cn(({open:a})=>[e.collapsableItems?(Zo(),Fo(Wn(c.value?Fa(Kp):"div"),{key:0,class:tt(["parameter-item-trigger",{"parameter-item-trigger-open":a}])},{default:cn(()=>[Go("div",q2t,[c.value?(Zo(),Fo(Fa(Ff),{key:0,class:tt(["parameter-item-icon size-3 transition-transform duration-100",{"rotate-90":a}]),weight:"bold"},null,8,["class"])):ai("",!0),Go("div",null,[qs(Fa(Mdt),{preset:"property",text:e.name},null,8,["text"])])]),!a&&e.parameter.description?(Zo(),Fo(Fa(oKe),{key:0,truncated:t.value,"onUpdate:truncated":i[0]||=e=>t.value=e,class:"parameter-item-description-summary min-w-0 flex-1",controlled:"",value:e.parameter.description},null,8,["truncated","value"])):(Zo(),qo("div",F2t))]),_:2},1032,["class"])):ai("",!0),qs(Fa(Jp),{class:"parameter-item-container parameter-item-container-markdown",static:!e.collapsableItems},{default:cn(()=>[e.collapsableItems&&e.parameter.description?(Zo(),Fo(Fa(aKe),{key:0,class:"parameter-item-description",value:e.parameter.description},null,8,["value"])):ai("",!0),o.value?(Zo(),Fo(Z2t,{key:1,breadcrumb:e.breadcrumb,document:e.document,eventBus:e.eventBus,expandAllSchemaProperties:e.options.expandAllSchemaProperties,headers:o.value,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},null,8,["breadcrumb","document","eventBus","expandAllSchemaProperties","headers","orderRequiredPropertiesFirst","orderSchemaPropertiesBy"])):ai("",!0),qs(B1t,{is:"div",breadcrumb:e.breadcrumb,compact:"",description:e.collapsableItems?"":e.parameter.description,eventBus:e.eventBus,hideWriteOnly:!0,modelName:s.value,name:e.collapsableItems?"":e.name,noncollapsible:!0,options:{hideWriteOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,document:e.document},required:"required"in e.parameter&&e.parameter.required,schema:l.value},null,8,["breadcrumb","description","eventBus","modelName","name","options","required","schema"])]),_:1},8,["static"]),c.value&&r.value?(Zo(),qo("div",{key:1,class:tt(["absolute top-[calc(10px+0.5lh)] right-0 z-0 flex -translate-y-1/2 items-center text-base",{"opacity-0 group-focus-within/parameter-item:opacity-100 group-hover/parameter-item:opacity-100":!a}])},[i[2]||=Go("div",{class:"from-b-1 absolute inset-y-0 -left-6 -z-1 w-8 bg-linear-to-l from-40% to-transparent"},null,-1),qs(z2t,{modelValue:n.value,"onUpdate:modelValue":i[1]||=e=>n.value=e,content:r.value},null,8,["modelValue","content"])],2)):ai("",!0)]),_:1})]))}}),[["__scopeId","data-v-94968dbd"]]);Rc();var X2t={key:0,class:"mt-6"},G2t=["id"],Y2t=["aria-labelledby"],K2t=Pn({__name:"ParameterList",props:{parameters:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},document:{},options:{}},setup(e){let t=Mn();return(a,r)=>e.parameters?.length?(Zo(),qo("div",X2t,[Go("div",{id:Fa(t),class:"text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium"},[Jn(a.$slots,"title")],8,G2t),Go("ul",{"aria-labelledby":Fa(t),class:"mb-3 list-none p-0 text-sm"},[(Zo(!0),qo(Ls,null,Yn(e.parameters,t=>(Zo(),Fo(W2t,{key:t.name,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,document:e.document,eventBus:e.eventBus,name:t.name,options:e.options,parameter:t},null,8,["breadcrumb","collapsableItems","document","eventBus","name","options","parameter"]))),128))],8,Y2t)])):ai("",!0)}});jE();Rc(),MJe(),jE();var J2t=TYt(Pn({__name:"Channel",props:{channel:{},document:{},layout:{},isCollapsed:{type:Boolean},eventBus:{},options:{}},setup(e){let t=Mn(),a=ol(()=>{let t=e.document.channels?.[e.channel.channelName];return t?EE(t,TE):void 0}),r=ol(()=>a.value?.description??""),n=ol(()=>a.value?.title?.trim()||e.channel.channelAddress),o=ol(()=>(e=>e?Object.entries(e).map(([e,t])=>{let a=EE(t)??{},r={type:"string"};a.enum&&(r.enum=a.enum),void 0!==a.default&&(r.default=a.default),a.examples&&(r.examples=a.examples);let n={name:e,in:"path",required:!0,schema:r};return a.description&&(n.description=a.description),n}):[])(a.value?.parameters)),i=ol(()=>({hideModels:e.options?.hideModels??!1,orderRequiredPropertiesFirst:e.options?.orderRequiredPropertiesFirst??!1,orderSchemaPropertiesBy:e.options?.orderSchemaPropertiesBy??"preserve",expandAllSchemaProperties:e.options?.expandAllSchemaProperties??!1}));return(a,s)=>"classic"===e.layout?(Zo(),Fo(Fa(zKt),{key:0,"aria-label":n.value,class:"channel-section",modelValue:!e.isCollapsed,"onUpdate:modelValue":s[1]||=t=>e.eventBus?.emit("toggle:nav-item",{id:e.channel.id,open:t})},{title:cn(()=>[qs(Fa(qKt),{class:"channel-name"},{default:cn(()=>[qs(Fa(KKt),{onCopyAnchorUrl:s[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.channel.id})},{default:cn(()=>[qs(Fa(FKt),{level:2},{default:cn(()=>[ei(Kt(n.value),1)]),_:1})]),_:1})]),_:1}),qs(Fa(aKe),{class:"channel-description",value:r.value,withImages:""},null,8,["value"])]),default:cn(()=>[o.value.length?(Zo(),Fo(K2t,{key:0,eventBus:e.eventBus,options:i.value,parameters:o.value},{title:cn(()=>[...s[4]||=[ei("Parameters",-1)]]),_:1},8,["eventBus","options","parameters"])):ai("",!0)]),_:1},8,["aria-label","modelValue"])):(Zo(),Fo(Fa(BKt),{key:1,"aria-labelledby":Fa(t),role:"region"},{default:cn(()=>[qs(Fa(TKt),{id:e.channel.id,role:"none",onIntersecting:s[3]||=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.channel.id})},{default:cn(()=>[qs(Fa(qKt),null,{default:cn(()=>[qs(Fa(KKt),{onCopyAnchorUrl:s[2]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.channel.id})},{default:cn(()=>[qs(Fa(FKt),{id:Fa(t),level:2},{default:cn(()=>[ei(Kt(n.value),1)]),_:1},8,["id"])]),_:1})]),_:1}),qs(Fa(VKt),null,{default:cn(()=>[qs(Fa(aKe),{value:r.value,withImages:""},null,8,["value"]),o.value.length?(Zo(),Fo(K2t,{key:0,eventBus:e.eventBus,options:i.value,parameters:o.value},{title:cn(()=>[...s[5]||=[ei("Parameters",-1)]]),_:1},8,["eventBus","options","parameters"])):ai("",!0)]),_:1})]),_:1},8,["id"])]),_:1},8,["aria-labelledby"]))}}),[["__scopeId","data-v-cb522e2e"]]);Rc(),jE();var e8t=Pn({__name:"AsyncApiTraversedEntry",props:{entries:{},document:{},expandedItems:{},options:{},eventBus:{},level:{default:0}},setup(e){let t=e=>"tag"===e.type&&!0===e.isGroup,a=e=>"tag"===e.type&&!t(e),r=e=>"asyncapi-channel"===e.type,n=e=>"models"===e.type,o=e=>"model"===e.type,i=ol(()=>e.document.components?EE(e.document.components,TE).schemas:void 0),s=t=>U2t(e.document,t);return(l,c)=>{let u=Fn("AsyncApiTraversedEntry",!0);return Zo(!0),qo(Ls,null,Yn(e.entries,l=>(Zo(),Fo(j2t,{id:l.id,key:`${l.id}-${e.options.layout}`,expanded:!!e.expandedItems[l.id]},{default:cn(()=>[r(l)?(Zo(),Fo(J2t,{key:0,channel:l,document:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],layout:e.options.layout,options:e.options},null,8,["channel","document","eventBus","isCollapsed","layout","options"])):a(l)||t(l)&&"classic"===e.options.layout?(Zo(),Fo(Fa(i2t),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],isLoading:!1,layout:e.options.layout,moreThanOneTag:e.entries.filter(a).length>1,tag:l},{default:cn(()=>[l.children?.length?(Zo(),Fo(u,{key:0,document:e.document,entries:l.children,eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options},null,8,["document","entries","eventBus","expandedItems","level","options"])):ai("",!0)]),_:2},1032,["eventBus","isCollapsed","layout","moreThanOneTag","tag"])):t(l)?(Zo(),Fo(u,{key:2,document:e.document,entries:l.children??[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options},null,8,["document","entries","eventBus","expandedItems","level","options"])):n(l)&&i.value?(Zo(),Fo(Y1t,{key:3,id:l.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],layout:e.options.layout,modelsSectionLabel:e.options.modelsSectionLabel},{default:cn(()=>[qs(u,{document:e.document,entries:l.children??[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options},null,8,["document","entries","eventBus","expandedItems","level","options"])]),_:2},1032,["id","eventBus","isCollapsed","layout","modelsSectionLabel"])):o(l)&&s(l.name)?(Zo(),Fo(W1t,{key:4,id:l.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],name:l.name,options:e.options,schema:s(l.name)},null,8,["id","eventBus","isCollapsed","name","options","schema"])):ai("",!0)]),_:2},1032,["id","expanded"]))),128)}}});Rc(),UHt(),LJ(),rJ();var t8t=Pn({__name:"Auth",props:{options:{},authStore:{},document:{},eventBus:{},securitySchemes:{},selectedServer:{},environment:{}},setup(e){let t=ol(()=>mK(eK(e.document)?e.document.security:void 0)),a=ol(()=>e.authStore.getAuthSelectedSchemas({type:"document",documentName:eK(e.document)?e.document["x-scalar-navigation"]?.name??"":""})),r=ol(()=>xK(a.value,void 0,t.value,e.securitySchemes,e.options.authentication?.preferredSecurityScheme));return(a,n)=>Object.keys(e.securitySchemes).length?(Zo(),Fo(Fa(mat),{key:0,createAnySecurityScheme:e.options.authentication?.createAnySecurityScheme??!1,environment:e.environment,eventBus:e.eventBus,isStatic:"",layout:"reference",meta:{type:"document"},options:{oauth2RedirectUri:e.options.oauth2RedirectUri},persistAuth:e.options.persistAuth,proxyUrl:e.options.proxyUrl??"",securityRequirements:t.value,securitySchemes:e.securitySchemes,selectedSecurity:r.value,server:e.selectedServer,title:"Authentication"},null,8,["createAnySecurityScheme","environment","eventBus","options","persistAuth","proxyUrl","securityRequirements","securitySchemes","selectedSecurity","server"])):ai("",!0)}});LJ();var a8t=e=>Object.keys(e).sort().join(",");jE();jE(),kNt();Rc();var r8t={key:0},n8t=TYt(Pn({__name:"OperationPath",props:{path:{},deprecated:{type:Boolean}},setup(e){let t=e,a=e=>e.startsWith("{")&&e.endsWith("}"),r=ol(()=>t.path.split(/({[^}]+})/));return(t,n)=>(Zo(),qo("span",{class:tt(["operation-path",{deprecated:e.deprecated}])},[(Zo(!0),qo(Ls,null,Yn(r.value,(e,t)=>(Zo(),qo(Ls,{key:t},[a(e)?(Zo(),qo("em",r8t,Kt(e),1)):(Zo(),qo(Ls,{key:1},[ei(Kt(e),1)],64))],64))),128))],2))}}),[["__scopeId","data-v-ec6c8861"]]);r1e(),u1e(),dut(),iE(),Rc();var o8t=Pn({inheritAttrs:!1,__name:"ScalarVirtualCodeBlock",props:{content:{},lang:{default:"plaintext"},copy:{type:[String,Boolean],default:"hover"},lineHeight:{default:20}},setup(e){let{cx:t}=aE();return(a,r)=>(Zo(),qo("div",at(Ko(Fa(t)("scalar-code-block group/code-block flex flex-col","relative bg-b-1 min-h-0 min-w-0"))),[qs(jct,{containerClass:"custom-scroll overflow-auto flex flex-1 max-h-screen",contentClass:"language-plaintext whitespace-pre font-code text-base p-2",lineHeight:e.lineHeight,text:e.content},null,8,["lineHeight","text"]),e.copy?(Zo(),Fo(F0e,{key:0,class:tt(["scalar-code-copy absolute top-2.5 right-2.5",[{"opacity-100":"always"===e.copy}]]),content:e.content,showLang:!0,lang:e.lang},{backdrop:cn(()=>[qs(R0e,{class:"scalar-code-copy-backdrop -right-1.5 -top-1"})]),_:1},8,["class","content","lang"])):ai("",!0)],16))}});Rc(),D1e(),N1e();var i8t=Pn({__name:"ExampleSchema",props:{id:{},schema:{}},setup(e){let t=ol(()=>{if(e.schema)return d1e(SJe(e.schema))}),a=ol(()=>(t.value?.length??0)>2e4);return(r,n)=>a.value?(Zo(),Fo(Fa(o8t),{key:1,id:e.id,class:"bg-b-2",content:t.value??"",lang:"json"},null,8,["id","content"])):(Zo(),Fo(Fa(f1e),{key:0,id:e.id,class:"bg-b-2",lang:"json",prettyPrintedContent:t.value??""},null,8,["id","prettyPrintedContent"]))}});Rc(),D1e(),N1e(),LJ();var s8t={key:2,class:"empty-state"},l8t=TYt(Pn({__name:"ExampleResponse",props:{response:{},example:{}},setup(e){let t=()=>void 0!==e.example?SJe(e.example)?.value??"":e.response?.schema?fq(SJe(e.response.schema),{emptyString:"string",mode:"read"}):void 0,a=ol(()=>{let e=t();if(void 0!==e)return d1e(e)}),r=ol(()=>void 0!==a.value&&a.value.length>2e4);return(e,t)=>void 0===a.value||r.value?void 0!==a.value&&r.value?(Zo(),Fo(Fa(o8t),{key:1,class:"bg-b-2",content:a.value,lang:"json"},null,8,["content"])):(Zo(),qo("div",s8t," No Body ")):(Zo(),Fo(Fa(f1e),{key:0,class:"bg-b-2",lang:"json",prettyPrintedContent:a.value},null,8,["prettyPrintedContent"]))}}),[["__scopeId","data-v-da52ac9d"]]);Rc(),Am();var c8t=TYt(Pn({__name:"ExampleResponseTab",setup:e=>(e,t)=>(Zo(),Fo(Fa(rm),{as:"template"},{default:cn(({selected:t})=>[Go("button",{class:tt(["tab",{"tab-selected":t}]),type:"button"},[Go("span",null,[Jn(e.$slots,"default",{},void 0,!0)])],2)]),_:3}))}),[["__scopeId","data-v-804dba49"]]);Rc(),Am();var u8t=TYt(Pn({__name:"ExampleResponseTabList",emits:["change"],setup(e,{emit:t}){let a=t,r=e=>{a("change",e)};return(e,t)=>(Zo(),Fo(Fa(GYt),{class:"scalar-card-header scalar-card-header-tabs"},{actions:cn(()=>[Jn(e.$slots,"actions",{},void 0,!0)]),default:cn(()=>[qs(Fa(tm),{onChange:r},{default:cn(()=>[qs(Fa(am),{class:"tab-list custom-scroll"},{default:cn(()=>[Jn(e.$slots,"default",{},void 0,!0)]),_:3})]),_:3})]),_:3}))}}),[["__scopeId","data-v-49a8c0af"]]);function d8t(e){if(!e)return e;let t={...e};return Object.entries(t).forEach(([e,a])=>{let r=function(e){if("string"==typeof e)return e.replace(/;.*$/,"").replace(/\/(?!.*vnd\.|fhir\+).*\+/,"/").trim()}(e);r&&(t[r]=a)}),t}uJ(),Rc(),Qle(),MJe(),uJ(),sht(),jE(),LJ();var p8t={key:1,class:"scalar-card-checkbox"},h8t=["aria-controls"],m8t={class:"response-description"},f8t=TYt(Pn({__name:"ExampleResponses",props:{responses:{}},setup(e){let t=Mn(),{copyToClipboard:a}=Xpt(),r=ol(()=>Object.keys(e.responses??{}).sort()),n=ol(()=>r.value.filter(t=>function(e,t){if(void 0!==t)return!!function(e){return"default"===e||/^[1-5][0-9]{2}$/.test(e)||/^[1-5]XX$/.test(e)}(t)&&!!e;let a=d8t(e?.content),r=fK(a??{});return function(e){if(!e)return!1;let t=!!e.schema,a="example"in e&&null!==e.example,r=!!e.examples;return t||a||r}(a?.["application/json"]??a?.["application/xml"]??a?.["text/plain"]??a?.["text/html"]??a?.["*/*"]??a?.[r[0]??""])}(EE(e.responses?.[t]),t))),o=Za(0);fn(n,e=>{0===e.length?(o.value=0,c.value=""):o.value>=e.length&&(o.value=e.length-1,c.value="")});let i=ol(()=>{let t=Wa(n)[Wa(o)]??"";return EE(e.responses?.[t])}),s=ol(()=>{let e=d8t(i.value?.content),t=fK(e??{});return e?.[t[0]??""]}),l=ol(()=>!!s.value?.examples&&Object.keys(s.value?.examples??{}).length>1),c=Za(Object.keys(s.value?.examples??{})[0]??""),u=ol(()=>{if(s.value)return l.value&&c.value?s.value.examples?.[c.value]:gC(s.value,void 0,void 0)}),d=e=>{o.value=e,c.value=""},p=Za(!1);return(e,r)=>n.value.length?(Zo(),Fo(Fa(QYt),{key:0,"aria-label":"Example Responses",class:"response-card",role:"region"},{default:cn(()=>[qs(u8t,{onChange:d},{actions:cn(()=>[s.value?.example?(Zo(),qo("button",{key:0,class:"code-copy",type:"button",onClick:r[0]||=()=>Fa(a)(s.value?.example)},[qs(Fa(Ple),{icon:"Clipboard",width:"12px"})])):ai("",!0),s.value?.schema?(Zo(),qo("label",p8t,[r[4]||=ei(" Show Schema ",-1),un(Go("input",{"onUpdate:modelValue":r[1]||=e=>p.value=e,"aria-controls":Fa(t),class:"scalar-card-checkbox-input",type:"checkbox"},null,8,h8t),[[yc,p.value]]),r[5]||=Go("span",{class:"scalar-card-checkbox-checkmark"},null,-1)])):ai("",!0)]),default:cn(()=>[(Zo(!0),qo(Ls,null,Yn(n.value,e=>(Zo(),Fo(c8t,{key:e,"aria-controls":Fa(t)},{default:cn(()=>[qs(XKt,null,{default:cn(()=>[...r[3]||=[ei("Status:",-1)]]),_:1}),ei(" "+Kt(e),1)]),_:2},1032,["aria-controls"]))),128))]),_:1}),qs(Fa(qYt),{class:"grid flex-1"},{default:cn(()=>[s.value?.schema&&p.value?(Zo(),Fo(i8t,{key:0,id:Fa(t),schema:s.value?.schema},null,8,["id","schema"])):(Zo(),Fo(l8t,{key:1,id:Fa(t),example:u.value,response:s.value},null,8,["id","example","response"]))]),_:1}),i.value?.description||l.value?(Zo(),Fo(Fa(FYt),{key:0,class:"response-card-footer"},{default:cn(()=>[l.value?(Zo(),Fo(Fa(jYt),{key:0,modelValue:c.value,"onUpdate:modelValue":r[2]||=e=>c.value=e,class:"response-example-selector px-0",examples:s.value?.examples},null,8,["modelValue","examples"])):ai("",!0),Go("div",m8t,[i.value?.description?(Zo(),Fo(Fa(aKe),{key:0,class:"response-description-markdown",value:i.value.description},null,8,["value"])):ai("",!0)])]),_:1})):ai("",!0)]),_:1})):ai("",!0)}}),[["__scopeId","data-v-b3a2a96e"]]);jE(),KK();var g8t=e=>EE(e),v8t=(e,t,a)=>{if(!t.properties)return[e];let r=new Set(t.required??[]),n=Object.entries(t.properties).flatMap(([t,n])=>{let o=g8t(n);if(!o)return[];let i=`${a}[${t}]`,s=((e,t,a,r,n)=>{let{example:o,examples:i,...s}=e;return{...s,name:t,description:a,required:r,schema:n}})(e,i,o.description??e.description,r.has(t),o);return NY(o)&&o.properties?v8t(s,o,i):[s]});return n.length>0?n:[e]};Rc(),MJe(),jE();var b8t={key:0,"aria-label":"Request Body",class:"request-body",role:"group"},y8t={class:"request-body-header"},O8t={class:"request-body-title"},x8t={key:0,class:"text-c-2 text-xs leading-none font-normal","data-testid":"request-body-schema-name"},w8t={class:"flex items-center gap-2"},k8t={key:0,class:"request-body-required"},S8t={key:0,class:"request-body-description"},A8t={key:0,class:"request-body-schema"},_8t={key:1,class:"request-body-schema"},T8t=TYt(Pn({__name:"RequestBody",props:io({breadcrumb:{},requestBody:{},eventBus:{},document:{},options:{}},{selectedContentType:{default:"application/json"},selectedContentTypeModifiers:{}}),emits:["update:selectedContentType"],setup(e){let t=ol(()=>Object.keys(e.requestBody?.content??{})),a=wo(e,"selectedContentType");e.requestBody?.content&&t.value[0]&&(a.value=t.value[0]);let r=ol(()=>e.requestBody?.content?.[a.value]?.schema),n=ol(()=>EE(r.value)),o=ol(()=>(r.value&&z0t(r.value))??null),i=ol(()=>{if(!n.value||!f0t(n.value))return null;let t=k0t(n.value,n.value.discriminator,{hideReadOnly:!0,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst});if(t.length<=12)return null;let{properties:a,...r}=n.value;return a?{visibleProperties:{...r,properties:w0t(t.slice(0,12),a)},collapsedProperties:{...r,properties:w0t(t.slice(12),a)}}:null}),s=ol(()=>Object.keys(e.requestBody?.content??{}).length>0||e.requestBody?.description||e.requestBody?.required);return(t,r)=>e.requestBody&&s.value?(Zo(),qo("div",b8t,[Go("div",y8t,[Go("div",O8t,[Jn(t.$slots,"title",{},void 0,!0),o.value?(Zo(),qo("span",x8t,[r[2]||=Go("span",{class:"text-c-3 mx-1.5"},"·",-1),e.eventBus&&o.value.schemaKey?(Zo(),Fo(i1t,{key:0,onClick:r[0]||=t=>e.eventBus.emit("scroll-to:model-by-name",{name:o.value.schemaKey})},{default:cn(()=>[ei(Kt(o.value.label),1)]),_:1})):(Zo(),qo(Ls,{key:1},[ei(Kt(o.value.label),1)],64))])):ai("",!0)]),Go("div",w8t,[e.requestBody.required?(Zo(),qo("div",k8t," required ")):ai("",!0),qs(z2t,{modelValue:a.value,"onUpdate:modelValue":r[1]||=e=>a.value=e,content:e.requestBody.content},null,8,["modelValue","content"])]),e.requestBody.description?(Zo(),qo("div",S8t,[qs(Fa(aKe),{value:e.requestBody.description},null,8,["value"])])):ai("",!0)]),i.value?(Zo(),qo("div",A8t,[qs(Fa(Z1t),{breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,name:"Request Body",noncollapsible:"",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,document:e.document},schema:i.value.visibleProperties,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","options","schema"]),qs(Fa(Z1t),{additionalProperties:"",breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,hideDescription:"",name:"Request Body",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,document:e.document},schema:i.value.collapsedProperties,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","options","schema"])])):n.value?(Zo(),qo("div",_8t,[qs(Fa(Z1t),{breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,hideReadOnly:!0,name:"Request Body",noncollapsible:"",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,document:e.document},schema:n.value,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","options","schema"])])):ai("",!0)])):ai("",!0)}}),[["__scopeId","data-v-076f6de4"]]);Rc(),jE();var E8t=Pn({__name:"OperationParameters",props:io({breadcrumb:{},parameters:{default:()=>[]},requestBody:{},eventBus:{},document:{},options:{}},{selectedContentType:{},selectedContentTypeModifiers:{}}),emits:["update:selectedContentType"],setup(e){let t=wo(e,"selectedContentType"),a=ol(()=>(e.parameters??[]).reduce((e,t)=>{let a=EE(t);return(e=>!(!e?.["x-internal"]&&!e?.["x-scalar-ignore"]))(a)||(e=>{if("query"!==e.in||!(e=>"schema"in e&&void 0!==e.schema)(e)||"deepObject"!==e.style)return[e];let t=g8t(e.schema);return t&&NY(t)?v8t(e,t,e.name):[e]})(a).forEach(t=>{e[t.in].push(t)}),e},{cookie:[],header:[],path:[],query:[]}));return(r,n)=>(Zo(),qo(Ls,null,[qs(K2t,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"path"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:a.value.path},{title:cn(()=>[...n[1]||=[ei("Path Parameters",-1)]]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),qs(K2t,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"query"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:a.value.query},{title:cn(()=>[...n[2]||=[ei("Query Parameters",-1)]]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),qs(K2t,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:a.value.header},{title:cn(()=>[...n[3]||=[ei("Headers",-1)]]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),qs(K2t,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"cookies"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:a.value.cookie},{title:cn(()=>[...n[4]||=[ei("Cookies",-1)]]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),e.requestBody?(Zo(),Fo(T8t,{key:0,selectedContentType:t.value,"onUpdate:selectedContentType":n[0]||=e=>t.value=e,breadcrumb:e.breadcrumb?[...e.breadcrumb,"body"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,requestBody:e.requestBody},{title:cn(()=>[...n[5]||=[ei("Body",-1)]]),_:1},8,["selectedContentType","breadcrumb","document","eventBus","options","requestBody"])):ai("",!0)],64))}});Rc(),jE();var C8t={key:0,class:"mt-6"},P8t={"aria-label":"Responses",class:"mb-3 list-none p-0 text-sm"},M8t=Pn({__name:"OperationResponses",props:{responses:{},breadcrumb:{},collapsableItems:{type:Boolean},eventBus:{},document:{},options:{}},setup:e=>(t,a)=>Object.keys(e.responses??{}).length?(Zo(),qo("div",C8t,[a[0]||=Go("div",{class:"text-c-1 mt-3 mb-3 leading-[1.45] font-medium"},"Responses",-1),Go("ul",P8t,[(Zo(!0),qo(Ls,null,Yn(e.responses,(t,a)=>(Zo(),Fo(W2t,{key:a,breadcrumb:e.breadcrumb,collapsableItems:e.collapsableItems,document:e.document,eventBus:e.eventBus,name:a,options:e.options,parameter:Fa(EE)(t)},null,8,["breadcrumb","collapsableItems","document","eventBus","name","options","parameter"]))),128))])])):ai("",!0)});Rc(),ZS(),jE();var $8t={class:"group callback-list-item"},N8t={class:"font-code bg-b-1 callback-sticky-offset callback-list-item-title sticky flex cursor-pointer flex-row items-start gap-2 border-t py-2.5 text-sm group-open:flex-wrap"},I8t={class:"text-c-1 min-w-0 flex-1 truncate text-sm leading-5 font-bold group-open:whitespace-normal"},R8t={class:"text-c-2 font-normal"},D8t={class:"callback-operation-container flex flex-col gap-2"},L8t=TYt(Pn({__name:"Callback",props:{callback:{},method:{},name:{},url:{},eventBus:{},document:{},options:{}},setup:e=>(t,a)=>(Zo(),qo("details",$8t,[Go("summary",N8t,[qs(Fa(Ff),{class:"callback-list-item-icon text-c-3 group-hover:text-c-1 absolute top-3.5 -left-5 size-3 transition-transform duration-100 group-open:rotate-90",weight:"bold"}),qs(Fa(J1t),{as:"span",class:"request-method py-0.75 font-bold",method:e.method},null,8,["method"]),Go("div",I8t,[ei(Kt(e.name)+" ",1),Go("span",R8t,Kt(e.url),1)])]),Go("div",D8t,[qs(E8t,{document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.callback.parameters?.map(e=>Fa(EE)(e))??[],requestBody:Fa(EE)(e.callback.requestBody)},null,8,["document","eventBus","options","parameters","requestBody"]),qs(M8t,{collapsableItems:!1,document:e.document,eventBus:e.eventBus,options:e.options,responses:e.callback.responses},null,8,["document","eventBus","options","responses"])])]))}),[["__scopeId","data-v-474e6fa6"]]);Rc(),oJ(),VK(),jE();var B8t={"aria-label":"Callbacks",class:"callbacks-list gap-3",role:"group"},j8t=Pn({__name:"Callbacks",props:{path:{},callbacks:{},eventBus:{},document:{},options:{}},setup(e){let t=ol(()=>{let t=[];return bY(e.callbacks).forEach(([e,a])=>{bY(EE(a)).forEach(([a,r])=>{"object"!=typeof r||!r||bY(r).forEach(([r,n])=>{nK(r)&&t.push({name:e,url:a,method:r,callback:n})})})}),t});return(a,r)=>(Zo(),qo("div",B8t,[r[0]||=Go("div",{class:"callbacks-title text-c-1 my-3 text-lg font-medium"}," Callbacks ",-1),(Zo(!0),qo(Ls,null,Yn(t.value,({callback:t,method:a,name:r,url:n})=>(Zo(),Fo(L8t,{key:`${r}-${n}-${a}`,callback:t,document:e.document,eventBus:e.eventBus,method:a,name:r,options:e.options,path:e.path,url:n},null,8,["callback","document","eventBus","method","name","options","path","url"]))),128))]))}});Rc();var U8t={key:0},z8t={key:1},H8t=Pn({__name:"SecurityRequirementBadgeScheme",props:{is:{default:"li"},scheme:{}},setup:e=>(t,a)=>(Zo(),Fo(Wn(e.is),{class:"markdown"},{default:cn(()=>[ei(Kt(e.scheme.name)+" ",1),e.scheme.scheme?.type?(Zo(),qo("code",U8t,Kt(e.scheme.scheme.type),1)):ai("",!0),e.scheme.scopes.length?(Zo(),qo("ul",z8t,[(Zo(!0),qo(Ls,null,Yn(e.scheme.scopes,e=>(Zo(),qo("li",{key:e,class:"font-code text-c-2"},Kt(e),1))),128))])):ai("",!0)]),_:1}))});Rc(),IJe(),ZS();var Z8t,V8t={key:2},Q8t={class:"flex max-w-xs min-w-48 flex-col gap-1.5 p-2 text-sm"},q8t={class:"font-medium"},F8t={key:0,class:"contents"},W8t={key:1,class:"contents"},X8t={key:1,class:"contents"},G8t=Pn({__name:"SecurityRequirementBadge",props:{requiredSecurity:{},hideLabel:{type:Boolean,default:!1}},setup(e){let t=ol(()=>"required"===e.requiredSecurity.state?"Auth Required":"Auth Optional"),a=ol(()=>"required"===e.requiredSecurity.state?"Requires":"Accepts"),r=ol(()=>1===e.requiredSecurity.requirements.length&&1===e.requiredSecurity.requirements[0]?.schemes.length),n=ol(()=>1===e.requiredSecurity.requirements.length&&(e.requiredSecurity.requirements[0]?.schemes.length??0)>1),o=ol(()=>e.requiredSecurity.requirements.length>1);return(i,s)=>"none"===e.requiredSecurity.state?ai("",!0):(Zo(),Fo(Fa(sKe),{key:0,placement:"bottom-end"},{popover:cn(()=>[Go("div",Q8t,[Go("div",q8t,[ei(Kt(a.value)+" ",1),r.value?(Zo(),Fo(H8t,{key:0,is:"span",class:"contents",scheme:e.requiredSecurity.requirements[0].schemes[0]},null,8,["scheme"])):o.value?(Zo(),qo(Ls,{key:1},[ei("one of:")],64)):n.value?(Zo(),qo(Ls,{key:2},[ei("all of:")],64)):(Zo(),qo(Ls,{key:3},[ei("authentication")],64))]),o.value?(Zo(),qo("ul",F8t,[(Zo(!0),qo(Ls,null,Yn(e.requiredSecurity.requirements,(e,t)=>(Zo(),qo("li",{key:t,class:"markdown"},[1===e.schemes.length?(Zo(),Fo(H8t,{key:0,is:"span",class:"contents",scheme:e.schemes[0]},null,8,["scheme"])):(Zo(),qo("ul",W8t,[(Zo(!0),qo(Ls,null,Yn(e.schemes,(e,t)=>(Zo(),Fo(H8t,{key:t,scheme:e},null,8,["scheme"]))),128))]))]))),128))])):n.value?(Zo(),qo("ul",X8t,[(Zo(!0),qo(Ls,null,Yn(e.requiredSecurity.requirements[0].schemes,(e,t)=>(Zo(),Fo(H8t,{key:t,scheme:e},null,8,["scheme"]))),128))])):ai("",!0)])]),default:cn(()=>[Go("button",{class:tt(["security-requirement-badge inline-flex w-fit shrink-0 items-center justify-center gap-1 text-sm","optional"===e.requiredSecurity.state?"text-c-2":"text-c-1 font-medium"]),type:"button",onClick:s[0]||=Ac(()=>{},["stop"])},["required"===e.requiredSecurity.state?(Zo(),Fo(Fa(ky),{key:0,class:"size-3",weight:"bold"})):(Zo(),Fo(Fa(My),{key:1,class:"size-3",weight:"bold"})),e.hideLabel?ai("",!0):(Zo(),qo("span",V8t,Kt(t.value),1))],2)]),_:1}))}});!function(e){e.Deprecated="deprecated",e.Experimental="experimental",e.Stable="stable"}(Z8t||={});var Y8t=e=>e.deprecated||e["x-scalar-stability"]===Z8t.Deprecated,K8t=e=>e.deprecated?Z8t.Deprecated:e["x-scalar-stability"],J8t=e=>{switch(K8t(e)){case Z8t.Deprecated:return"text-red";case Z8t.Experimental:return"text-orange";case Z8t.Stable:return"text-green";default:return""}};Rc(),ZS();var e4t=["method"],t4t=TYt(Pn({__name:"TestRequestButton",props:{id:{},method:{},path:{},eventBus:{},exampleName:{},requestBodyCompositionSelection:{}},setup(e){let t=()=>{let t={id:e.id,...e.exampleName&&{exampleName:e.exampleName},...e.requestBodyCompositionSelection&&Object.keys(e.requestBodyCompositionSelection).length>0&&{requestBodyCompositionSelection:e.requestBodyCompositionSelection}};e.eventBus.emit("ui:open:client-modal",t)};return(a,r)=>(Zo(),qo("button",{class:"show-api-client-button",method:e.method,type:"button",onClick:Ac(t,["stop"])},[qs(Fa(vO),{class:"size-3",weight:"fill"}),r[0]||=Go("span",null,"Test Request",-1),qs(XKt,null,{default:cn(()=>[ei("("+Kt(e.method)+" "+Kt(e.path)+")",1)]),_:1})],8,e4t))}}),[["__scopeId","data-v-15e312d9"]]);Rc();var a4t=Pn({__name:"XBadges",props:{position:{},badges:{}},setup(e){let t=ol(()=>Array.isArray(e.badges)?e.badges.filter(t=>t.position===e.position||"after"===e.position&&!t.position):[]);return(e,a)=>t.value.length?(Zo(!0),qo(Ls,{key:0},Yn(t.value,e=>(Zo(),Fo(Fa(wKt),{key:e.name,color:e.color},{default:cn(()=>[ei(Kt(e.name),1)]),_:2},1032,["color"]))),128)):ai("",!0)}});Rc(),j1e(),jJe(),MJe(),ZS(),sht(),jE();var r4t={class:"operation-title"},n4t={class:"operation-details"},o4t={class:"endpoint-label"},i4t={class:"endpoint-label-path"},s4t={class:"endpoint-label-name"},l4t={key:1,class:"font-code text-sm"},c4t={class:"endpoint-content"},u4t={class:"operation-details-card"},d4t={key:0,class:"operation-details-card-item"},p4t={class:"operation-details-card-item"},h4t={class:"operation-details-card-item"},m4t={key:1,class:"operation-details-card-item"},f4t=TYt(Pn({__name:"ClassicLayout",props:{id:{},method:{},options:{},path:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{},requiredSecurity:{},document:{}},setup(e){let t=ol(()=>e.operation.summary||e.path||""),a=ol(()=>oJt(e.operation)),r=Za(""),n=Za(),o=Za({}),i=ol(()=>({...o.value})),s=ol(()=>JSON.stringify(i.value));pn($0t,o);let{copyToClipboard:l}=Xpt();return(o,c)=>(Zo(),Fo(Fa($Kt),{id:e.id,"aria-label":t.value,class:"reference-endpoint",modelValue:!e.isCollapsed,transparent:"","onUpdate:modelValue":c[4]||=t=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:t})},Kn({title:cn(()=>[Go("div",r4t,[Go("div",n4t,[qs(Fa(J1t),{class:"endpoint-type",method:e.method,short:""},null,8,["method"]),qs(Fa(KKt),{class:"endpoint-anchor",onCopyAnchorUrl:c[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id})},{default:cn(()=>[Go("h3",o4t,[Go("div",i4t,[qs(n8t,{deprecated:Fa(Y8t)(e.operation),path:e.path},null,8,["deprecated","path"])]),Go("div",s4t,Kt(t.value),1),Fa(K8t)(e.operation)?(Zo(),Fo(Fa(wKt),{key:0,class:tt(["capitalize",Fa(J8t)(e.operation)])},{default:cn(()=>[ei(Kt(Fa(K8t)(e.operation)),1)]),_:1},8,["class"])):ai("",!0),e.isWebhook?(Zo(),Fo(Fa(wKt),{key:1,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:cn(()=>[qs(Fa(xw),{weight:"bold"}),c[5]||=ei("Webhook ",-1)]),_:1})):ai("",!0),qs(Fa(a4t),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])])]),_:1})])])]),actions:cn(({active:t})=>[qs(G8t,{hideLabel:"",requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"]),qs(Fa(a4t),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"]),e.options.hideTestRequestButton?ai("",!0):(Zo(),qo(Ls,{key:0},[t&&!e.isWebhook?(Zo(),Fo(Fa(t4t),{key:0,id:e.id,eventBus:e.eventBus,exampleName:r.value,method:e.method,path:e.path,requestBodyCompositionSelection:i.value},null,8,["id","eventBus","exampleName","method","path","requestBodyCompositionSelection"])):(Zo(),Fo(Fa(vO),{key:1,class:"endpoint-try-hint size-4.5"}))],64)),e.options.showOperationId&&e.operation.operationId?(Zo(),qo("span",l4t,Kt(e.operation.operationId),1)):ai("",!0),qs(Fa(wKe),{class:"endpoint-copy p-0.5",icon:Fa(Ag),label:"Copy endpoint URL",size:"xs",variant:"ghost",onClick:c[1]||=Ac(t=>Fa(l)(e.path),["stop"])},null,8,["icon"])]),default:cn(()=>[Go("div",c4t,[Go("div",u4t,[Object.keys(a.value).length>0?(Zo(),qo("div",d4t,[qs(mJt,{value:a.value},null,8,["value"])])):ai("",!0),Go("div",p4t,[qs(E8t,{selectedContentType:n.value,"onUpdate:selectedContentType":c[2]||=e=>n.value=e,document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,requestBody:Fa(EE)(e.operation.requestBody)},null,8,["selectedContentType","document","eventBus","options","parameters","requestBody"])]),Go("div",h4t,[qs(M8t,{document:e.document,eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,["document","eventBus","options","responses"])]),e.operation?.callbacks?(Zo(),qo("div",m4t,[qs(j8t,{callbacks:e.operation.callbacks,document:e.document,eventBus:e.eventBus,options:e.options,path:e.path},null,8,["callbacks","document","eventBus","options","path"])])):ai("",!0)]),e.operation.responses?(Zo(),Fo(Fa(f8t),{key:0,class:"operation-example-card",responses:e.operation.responses},null,8,["responses"])):ai("",!0),Go("div",null,[e.operation.externalDocs?(Zo(),Fo(Fa(yJt),{key:0},{default:cn(()=>[qs(Fa(SJt),{value:e.operation.externalDocs},null,8,["value"])]),_:1})):ai("",!0),qs(Fa(y1e),null,{default:cn(()=>[(Zo(),Fo(Fa(nKt),{key:s.value,selectedExample:r.value,"onUpdate:selectedExample":c[3]||=e=>r.value=e,class:"operation-example-card",clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:i.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:n.value,selectedServer:e.selectedServer},null,8,["selectedExample","clientOptions","eventBus","isWebhook","method","operation","path","requestBodyCompositionSelection","securitySchemes","selectedClient","selectedContentType","selectedServer"]))]),_:1})])])]),_:2},[e.operation.description?{name:"description",fn:cn(()=>[qs(Fa(aKe),{anchorPrefix:e.id,"aria-label":"Operation Description",role:"group",transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","value"])]),key:"0"}:void 0]),1032,["id","aria-label","modelValue"]))}}),[["__scopeId","data-v-5a538905"]]);Rc(),ZS();var g4t={class:"ask-agent-scalar-send",type:"submit"},v4t=TYt(Pn({__name:"AskAgentButton",setup(e){let t=sIt(),a=Za(""),r=Za();return(e,n)=>Fa(t)?.agentEnabled.value?(Zo(),qo("form",{key:0,class:"agent-button-container",onClick:n[1]||=e=>r.value?.focus(),onSubmit:n[2]||=Ac(e=>(t.value?.openAgent(a.value),void(a.value="")),["prevent"])},[qs(Fa(XO),{class:"size-3 shrink-0",weight:"fill"}),n[3]||=Go("div",{class:"ask-agent-scalar-input-label"},"Ask AI Agent",-1),un(Go("input",{ref_key:"inputRef",ref:r,"onUpdate:modelValue":n[0]||=e=>a.value=e,class:tt(["ask-agent-scalar-input",{"ask-agent-scalar-input-not-empty":a.value.length>0}]),placeholder:"Ask AI Agent"},null,2),[[bc,a.value]]),Go("button",g4t,[qs(Fa(Vm),{class:"size-3",weight:"bold"})])],32)):ai("",!0)}}),[["__scopeId","data-v-78f5377c"]]);Rc(),j1e(),MJe(),ZS(),jE();var b4t={class:"flex flex-row justify-between gap-1"},y4t={class:"flex gap-1"},O4t={class:"flex gap-1"},x4t={class:"operation-layout"},w4t={class:"operation-auth"},k4t={class:"operation-description"},S4t={class:"operation-details"},A4t={class:"examples"},_4t={class:"flex"},T4t=TYt(Pn({__name:"ModernLayout",props:{id:{},method:{},options:{},path:{},clientOptions:{},isWebhook:{type:Boolean},selectedClient:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{},requiredSecurity:{},document:{}},setup(e){let t=ol(()=>e.operation.summary||e.path||""),a=Mn(),r=ol(()=>oJt(e.operation)),n=Za(),o=Za({}),i=ol(()=>({...o.value})),s=ol(()=>JSON.stringify(i.value));return pn($0t,o),(o,l)=>(Zo(),Fo(Fa(TKt),{id:e.id,"aria-labelledby":Fa(a),label:t.value,tabindex:"-1",onIntersecting:l[2]||=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id})},{default:cn(()=>[qs(Fa(VKt),null,{default:cn(()=>[Go("div",b4t,[Go("div",y4t,[e.options?.showOperationId&&e.operation.operationId?(Zo(),Fo(Fa(wKt),{key:0},{default:cn(()=>[ei(Kt(e.operation.operationId),1)]),_:1})):ai("",!0),Fa(K8t)(e.operation)?(Zo(),Fo(Fa(wKt),{key:1,class:tt(["capitalize",Fa(J8t)(e.operation)])},{default:cn(()=>[ei(Kt(Fa(K8t)(e.operation)),1)]),_:1},8,["class"])):ai("",!0),e.isWebhook?(Zo(),Fo(Fa(wKt),{key:2,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:cn(()=>[qs(Fa(xw),{weight:"bold"}),l[3]||=ei("Webhook ",-1)]),_:1})):ai("",!0),qs(Fa(a4t),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])]),Go("div",O4t,[qs(Fa(a4t),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"])])]),Go("div",x4t,[Go("div",{class:tt(["operation-title",Fa(Y8t)(e.operation)&&"deprecated"])},[qs(Fa(KKt),{onCopyAnchorUrl:l[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id})},{default:cn(()=>[qs(Fa(FKt),{id:Fa(a),level:3},{default:cn(()=>[ei(Kt(t.value),1)]),_:1},8,["id"])]),_:1})],2),Go("div",w4t,[qs(G8t,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"])]),Go("div",k4t,[qs(mJt,{value:r.value},null,8,["value"]),qs(Fa(aKe),{anchorPrefix:e.id,"aria-label":"Operation Description",role:"group",transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","value"])]),Go("div",S4t,[qs(E8t,{selectedContentType:n.value,"onUpdate:selectedContentType":l[1]||=e=>n.value=e,breadcrumb:[e.id],document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,requestBody:Fa(EE)(e.operation.requestBody)},null,8,["selectedContentType","breadcrumb","document","eventBus","options","parameters","requestBody"]),qs(M8t,{breadcrumb:[e.id],collapsableItems:!e.options.expandAllResponses,document:e.document,eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,["breadcrumb","collapsableItems","document","eventBus","options","responses"]),qs(Fa(y1e),null,{default:cn(()=>[e.operation.callbacks?(Zo(),Fo(j8t,{key:0,callbacks:e.operation.callbacks,class:"mt-6",document:e.document,eventBus:e.eventBus,options:e.options,path:e.path},null,8,["callbacks","document","eventBus","options","path"])):ai("",!0)]),_:1})]),Go("div",A4t,[e.operation.externalDocs?(Zo(),Fo(Fa(yJt),{key:0},{default:cn(()=>[qs(Fa(SJt),{value:e.operation.externalDocs},null,8,["value"])]),_:1})):ai("",!0),qs(Fa(y1e),null,{default:cn(()=>[(Zo(),Fo(Fa(nKt),{key:s.value,clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:i.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:n.value,selectedServer:e.selectedServer},Kn({header:cn(()=>[qs(n8t,{class:"font-code text-c-2 [&_em]:text-c-1 min-w-0 [&_em]:not-italic",deprecated:e.operation?.deprecated,path:e.path},null,8,["deprecated","path"])]),_:2},[e.isWebhook?void 0:{name:"footer",fn:cn(({exampleName:t})=>[Go("div",_4t,[qs(v4t),e.options.hideTestRequestButton?ai("",!0):(Zo(),Fo(Fa(t4t),{key:0,id:e.id,eventBus:e.eventBus,exampleName:t,method:e.method,path:e.path,requestBodyCompositionSelection:i.value},null,8,["id","eventBus","exampleName","method","path","requestBodyCompositionSelection"]))])]),key:"0"}]),1032,["clientOptions","eventBus","isWebhook","method","operation","path","requestBodyCompositionSelection","securitySchemes","selectedClient","selectedContentType","selectedServer"]))]),_:1}),qs(Fa(y1e),null,{default:cn(()=>[e.operation.responses?(Zo(),Fo(Fa(f8t),{key:0,responses:e.operation.responses,style:{"margin-top":"12px"}},null,8,["responses"])):ai("",!0)]),_:1})])])]),_:1})]),_:1},8,["id","aria-labelledby","label"]))}}),[["__scopeId","data-v-af3f9eee"]]);Rc(),jE(),LJ();var E4t=Pn({__name:"Operation",props:{id:{},method:{},options:{},document:{},path:{},pathValue:{},server:{},securitySchemes:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},eventBus:{},authStore:{}},setup(e){let t=ol(()=>{let t=EE(e.pathValue?.[e.method]);if(!t)return null;let a=dK(e.pathValue?.parameters,t.parameters);return{...t,parameters:a}}),a=ol(()=>((...e)=>{for(let t of e)if(t){if(!Array.isArray(t)){let e=EE(t);if(e?.url)return e;continue}for(let e of t){let t=EE(e);if(t?.url)return t}}return null})(t.value?.servers??null,e.pathValue?.servers??null,e.server)),r=ol(()=>((e,t)=>{let a=e?.security??t.security??[],r=t.components?.securitySchemes??{},n=!1,o=[];for(let e of a){if(!EMt(e)){n=!0;continue}let t=Object.entries(e).map(([e,t])=>({name:e,scheme:EE(r[e]),scopes:t.filter(e=>e.length>0)}));t.length>0&&o.push({schemes:t})}return 0===o.length?{state:n?"optional":"none",requirements:[]}:{state:n?"optional":"required",requirements:o}})(t.value,e.document)),n=ol(()=>((e,t,a,r,n={})=>{let o=t?.security??e.security??[],i=xK(a,r,o),s=new Set(o.map(e=>a8t(e))),l=i.selectedSchemes[i.selectedIndex];if(l&&s.has(a8t(l)))return gK(n,l);for(let e of i.selectedSchemes)if(s.has(a8t(e)))return gK(n,e);return t?.security?.length?gK(n,o[0]??{}):[]})(e.document,t.value,e.authStore.getAuthSelectedSchemas({type:"document",documentName:e.document?.["x-scalar-navigation"]?.name??""}),e.authStore.getAuthSelectedSchemas({type:"operation",documentName:e.document?.["x-scalar-navigation"]?.name??"",path:e.path,method:e.method}),e.securitySchemes));return(o,i)=>t.value?(Zo(),qo(Ls,{key:0},["classic"===e.options.layout?(Zo(),Fo(f4t,{key:0,id:e.id,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isCollapsed:e.isCollapsed,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,requiredSecurity:r.value,selectedClient:e.selectedClient,selectedSecuritySchemes:n.value,selectedServer:a.value},null,8,["id","clientOptions","document","eventBus","isCollapsed","isWebhook","method","operation","options","path","requiredSecurity","selectedClient","selectedSecuritySchemes","selectedServer"])):(Zo(),Fo(T4t,{key:1,id:e.id,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isWebhook:e.isWebhook,method:e.method,operation:t.value,options:e.options,path:e.path,requiredSecurity:r.value,selectedClient:e.selectedClient,selectedSecuritySchemes:n.value,selectedServer:a.value},null,8,["id","clientOptions","document","eventBus","isWebhook","method","operation","options","path","requiredSecurity","selectedClient","selectedSecuritySchemes","selectedServer"]))],64)):ai("",!0)}});Rc(),iJ(),jE();var C4t=["id"],P4t=Pn({__name:"TraversedEntry",props:{authStore:{},level:{default:0},entries:{},document:{},clientOptions:{},options:{},selectedServer:{},securitySchemes:{},selectedClient:{},expandedItems:{},eventBus:{}},setup(e){let t=e=>"tag"===e.type&&!0===e.isGroup,a=e=>"tag"===e.type&&!t(e)&&"models"!==e.id,r=e=>"operation"===e.type,n=e=>"webhook"===e.type,o=e=>"models"===e.type,i=e=>"model"===e.type;function s(t){return n(t)?oK(e.document.webhooks?.[t.name]):oK(e.document.paths?.[t.path])}return(l,c)=>{let u=Fn("TraversedEntry",!0);return Zo(!0),qo(Ls,null,Yn(e.entries,l=>(Zo(),Fo(j2t,{id:l.id,key:`${l.id}-${e.options.layout}`,expanded:!!e.expandedItems[l.id]},{default:cn(()=>[r(l)||n(l)?(Zo(),Fo(Fa(BKt),{key:0,omit:0!==e.level},{default:cn(()=>[qs(Fa(E4t),{id:l.id,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],isWebhook:n(l),method:l.method,options:e.options,path:n(l)?l.name:l.path,pathValue:s(l),securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,server:e.selectedServer},null,8,["id","authStore","clientOptions","document","eventBus","isCollapsed","isWebhook","method","options","path","pathValue","securitySchemes","selectedClient","server"])]),_:2},1032,["omit"])):a(l)||t(l)&&"classic"===e.options.layout?(Zo(),Fo(Fa(i2t),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],isLoading:!1,layout:e.options.layout,moreThanOneTag:e.entries.filter(a).length>1,tag:l},{default:cn(()=>["children"in l&&l.children?.length?(Zo(),Fo(u,{key:0,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:l.children,eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedServer"])):ai("",!0)]),_:2},1032,["eventBus","isCollapsed","layout","moreThanOneTag","tag"])):t(l)?(Zo(),qo("div",{key:2,id:l.id},[qs(u,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:l.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedServer"])],8,C4t)):o(l)&&e.document.components?.schemas?(Zo(),Fo(Y1t,{key:3,id:l.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],layout:e.options.layout,modelsSectionLabel:e.options.modelsSectionLabel},{default:cn(()=>[qs(u,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:l.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedServer"])]),_:2},1032,["id","eventBus","isCollapsed","layout","modelsSectionLabel"])):i(l)&&e.document.components?.schemas?.[l.name]?(Zo(),Fo(W1t,{key:4,id:l.id,document:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],name:l.name,options:e.options,schema:Fa(EE)(e.document.components.schemas[l.name])},null,8,["id","document","eventBus","isCollapsed","name","options","schema"])):ai("",!0)]),_:2},1032,["id","expanded"]))),128)}}});Rc(),j1e();var M4t={key:0,class:"plugin-view"},$4t=Pn({__name:"RenderPlugins",props:{viewName:{},options:{}},setup(e){let{getViewComponents:t}=lJt(),a=t(e.viewName);return(t,r)=>Fa(a).length?(Zo(),qo("div",M4t,[(Zo(!0),qo(Ls,null,Yn(Fa(a),(t,a)=>(Zo(),Fo(Fa(y1e),{key:a},{default:cn(()=>[t.renderer?(Zo(),Fo(Wn(t.renderer),ii({key:0,ref_for:!0},{component:t.component,options:e.options,...t.props}),null,16)):(Zo(),Fo(Wn(t.component),ii({key:1,ref_for:!0},{options:e.options,...t.props}),null,16))]),_:2},1024))),128))])):ai("",!0)}});Rc();var N4t={class:"section-flare"};var I4t=TYt({},[["render",function(e,t){return Zo(),qo("div",N4t,[...t[0]||=[ti('<div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div><div class="section-flare-item" data-v-5cebff7a></div>',8)]])}],["__scopeId","data-v-5cebff7a"]]);Rc(),yWt(),j1e(),LJ(),rJ();var R4t={class:"narrow-references-container"},D4t={key:2,class:"h-dvh"},L4t=Pn({__name:"Content",props:{infoSectionId:{},options:{},document:{},clientDocument:{},authStore:{},xScalarDefaultClient:{},items:{},expandedItems:{},eventBus:{},environment:{},headingSlugGenerator:{type:Function}},setup(e){let t=ol(()=>k6(KFt(e.options.hiddenClients))),a=ol(()=>YJt(r.value?.info?.["x-scalar-sdk-installation"])),r=ol(()=>eK(e.document)?e.document:void 0),n=ol(()=>eK(e.clientDocument)?e.clientDocument:void 0),o=ol(()=>tK(e.document)?e.document:void 0),i=ol(()=>tK(e.clientDocument)?e.clientDocument:void 0),s=ol(()=>aK(e.document)),l=ol(()=>tK(e.document)?e.document["x-original-aas-version"]??e.document.asyncapi:r.value?.["x-original-oas-version"]),c=ol(()=>oJt(e.document)),u=ol(()=>oJt(e.document?.info)),d=ol(()=>bJ(e.options?.servers??n.value?.servers,{baseServerUrl:e.options?.baseServerURL,documentUrl:e.clientDocument?.["x-scalar-original-source-url"]})),p=ol(()=>yJ(n.value??null,null,null,d.value)),h=ol(()=>i.value?_St(i.value,{webSocketOnly:!1}):[]),m=ol(()=>((e,t)=>{if(!tK(e))return t[0]??null;let a=e["x-scalar-selected-server"];return null==a?t[0]??null:t.find(({name:e})=>e===a)??t[0]??null})(i.value??null,h.value)),f=ol(()=>PK(n.value?.components?.securitySchemes,e.options.authentication?.securitySchemes,e.authStore,n.value?.["x-scalar-navigation"]?.name??"",e.options.oauth2RedirectUri));return ts(()=>{typeof window>"u"||window.setTimeout(()=>M2t(),400)}),(n,i)=>(Zo(),qo(Ls,null,[qs(Fa(I4t)),Go("div",R4t,[Jn(n.$slots,"start"),qs(Fa(QJt),{id:e.infoSectionId,documentDownloadType:e.options.documentDownloadType,documentExtensions:c.value,documentType:s.value,documentUrl:e.document?.["x-scalar-original-source-url"],eventBus:e.eventBus,externalDocs:r.value?.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.document?.info,infoExtensions:u.value,layout:e.options.layout,specificationVersion:l.value},{selectors:cn(()=>[qs(Fa(y1e),null,{default:cn(()=>[d.value?.length?(Zo(),Fo(Fa(FJt),{key:0,class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"},{default:cn(()=>[qs(Fa(m0t),{eventBus:e.eventBus,selectedServer:p.value,servers:d.value},null,8,["eventBus","selectedServer","servers"])]),_:1})):ai("",!0)]),_:1}),qs(Fa(y1e),null,{default:cn(()=>[h.value.length?(Zo(),Fo(Fa(FJt),{key:0,class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"},{default:cn(()=>[qs(Fa(uKt),{eventBus:e.eventBus,selectedServer:m.value,servers:h.value},null,8,["eventBus","selectedServer","servers"])]),_:1})):ai("",!0)]),_:1}),qs(Fa(y1e),null,{default:cn(()=>[e.document&&!e.options.hideTestRequestButton?(Zo(),Fo(Fa(FJt),{key:0,class:"scalar-reference-intro-auth scalar-client introduction-card-item leading-normal"},{default:cn(()=>[qs(Fa(t8t),{authStore:e.authStore,document:e.clientDocument,environment:e.environment,eventBus:e.eventBus,options:e.options,securitySchemes:f.value,selectedServer:p.value},null,8,["authStore","document","environment","eventBus","options","securitySchemes","selectedServer"])]),_:1})):ai("",!0)]),_:1}),qs(Fa(y1e),null,{default:cn(()=>[a.value.length?(Zo(),Fo(Fa(FJt),{key:0,class:"introduction-card-item scalar-reference-intro-clients"},{default:cn(()=>[qs(Fa(l0t),{class:"introduction-card-item scalar-reference-intro-clients",eventBus:e.eventBus,selectedClient:e.xScalarDefaultClient,xScalarSdkInstallation:a.value},null,8,["eventBus","selectedClient","xScalarSdkInstallation"])]),_:1})):t.value.length&&!o.value?(Zo(),Fo(Fa(FJt),{key:1,class:"introduction-card-item scalar-reference-intro-clients"},{default:cn(()=>[qs(Fa(xKt),{class:"introduction-card-item scalar-reference-intro-clients",clientOptions:t.value,eventBus:e.eventBus,selectedClient:e.xScalarDefaultClient},null,8,["clientOptions","eventBus","selectedClient"])]),_:1})):ai("",!0)]),_:1})]),_:1},8,["id","documentDownloadType","documentExtensions","documentType","documentUrl","eventBus","externalDocs","headingSlugGenerator","info","infoExtensions","layout","specificationVersion"]),e.items.length&&r.value?(Zo(),Fo(P4t,{key:0,authStore:e.authStore,clientOptions:t.value,document:r.value,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options,securitySchemes:f.value,selectedClient:e.xScalarDefaultClient,selectedServer:p.value},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","options","securitySchemes","selectedClient","selectedServer"])):e.items.length&&o.value?(Zo(),Fo(Fa(e8t),{key:1,document:o.value,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options},null,8,["document","entries","eventBus","expandedItems","options"])):ai("",!0),qs(Fa($4t),{options:e.options,viewName:"content.end"},null,8,["options"]),Jn(n.$slots,"end"),Fa(S2t)?ai("",!0):(Zo(),qo("div",D4t))])],64))}});Rc(),jJe(),ZS(),iE();var B4t={class:"flex h-(--scalar-header-height) w-full items-center border-b bg-inherit px-2"},j4t={key:1,class:"flex-1 text-sm font-medium whitespace-nowrap"},U4t={class:"flex h-6 items-center gap-1 pl-1"},z4t=Pn({__name:"MobileHeader",props:{breadcrumb:{},isSidebarOpen:{type:Boolean},showSidebar:{type:Boolean}},emits:["toggleSidebar"],setup(e,{emit:t}){let a=t,r=XT({base:"lg:hidden items-center bg-b-1 sticky top-(--scalar-custom-header-height,0) z-10 [grid-area:header]",variants:{open:{true:"h-(--refs-sidebar-height) custom-scrollbar flex flex-col z-50"}}});return(t,n)=>(Zo(),qo(Ls,null,[Jn(t.$slots,"sidebar",at(Ko({sidebarClasses:"hidden lg:flex sticky top-(--refs-header-height) h-(--refs-sidebar-height) w-(--refs-sidebar-width) [grid-area:navigation]"}))),Go("div",{class:tt(["t-doc__header",Fa(r)({open:e.isSidebarOpen})])},[Go("header",B4t,[e.showSidebar?(Zo(),Fo(Fa(wKe),{key:0,icon:e.isSidebarOpen?Fa(Cw):Fa(fy),label:e.isSidebarOpen?"Close Menu":"Open Menu",size:"md",onClick:n[0]||=e=>a("toggleSidebar")},null,8,["icon","label"])):ai("",!0),e.showSidebar?(Zo(),qo("span",j4t,Kt(e.breadcrumb),1)):Jn(t.$slots,"search",{key:2}),Go("div",U4t,[Jn(t.$slots,"actions")])]),e.isSidebarOpen?Jn(t.$slots,"sidebar",at(ii({key:0},{sidebarClasses:"overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none"}))):ai("",!0)],2)],64))}});Rc(),Ppt(),IJe(),ZS();var H4t={class:"text-c-2 hover:text-c-1 hover:bg-b-2 flex items-center gap-1 rounded px-2 py-2.25 text-base leading-none",type:"button"},Z4t={class:"custom-scroll bg-b-1 flex flex-col gap-7 rounded-lg p-7 pb-6"},V4t={class:"text-c-2 flex items-center justify-center gap-1 p-2 text-sm"},Q4t=Pn({__name:"ApiReferenceToolbarPopover",setup:e=>(e,t)=>(Zo(),Fo(Fa(sKe),{class:"max-h-[inherit] max-w-[inherit] p-0 text-base",placement:"bottom-end",teleport:""},{default:cn(({open:t})=>[Jn(e.$slots,"button",{open:t},()=>[Go("button",H4t,[Jn(e.$slots,"label"),qs(Fa(jf),{class:tt(["size-3",{"rotate-180":t}])},null,8,["class"])])])]),popover:cn(a=>[Go("div",Z4t,[Jn(e.$slots,"default",at(Ko(a)))]),Go("div",V4t,[qs(Fa(Jb),{class:"size-3.5 shrink-0"}),Go("div",null,[Jn(e.$slots,"info",{},()=>[t[0]||=ei(' "',-1),Jn(e.$slots,"label"),t[1]||=ei('" will only appear when running on localhost. ',-1)])])])]),backdrop:cn(()=>[qs(Fa(Ude),{class:"bg-b-2 rounded-lg"})]),_:3}))});Rc(),jJe(),ZS(),sht();var q4t={class:"text-c-2 hover:text-c-1 hover:bg-b-2 ml-auto flex items-center gap-1 rounded px-2 py-2.25 text-base leading-none",type:"button"},F4t={class:"-m-2 flex flex-col gap-2 leading-relaxed"},W4t={class:"bg-b-2 inline-flex items-center gap-0.5 rounded border px-1 py-0.5 text-sm"},X4t='showDeveloperTools: "never"',G4t=Pn({__name:"ApiReferenceToolbarTitle",setup(e){let{copyToClipboard:t}=Xpt();return(e,a)=>(Zo(),Fo(Q4t,{class:"w-120",placement:"bottom-start"},{button:cn(()=>[Go("button",q4t,[qs(Fa(Jb)),a[1]||=ei(" Developer Tools ",-1)])]),info:cn(()=>[...a[5]||=[ei(" The developer tools will only appear when running on localhost. ",-1)]]),default:cn(()=>[Go("div",F4t,[a[4]||=Go("div",null," The developer tools allow you to customize the appearance and behavior of your documentation. You can also share your documentation using the Scalar Registry. ",-1),Go("div",null,[a[2]||=ei(" To disable the toolbar, set ",-1),Go("div",W4t,[Go("code",{class:"font-code"},Kt(X4t)),qs(Fa(wKe),{class:"-m-1 p-1.25",icon:Fa(Ag),label:"Copy link to clipboard",size:"sm",onClick:a[0]||=e=>Fa(t)(X4t)},null,8,["icon"])]),a[3]||=ei(" in your configuration. ",-1)])])]),_:1}))}});iE(),Rc();var Y4t={key:0,class:"flex items-start justify-between gap-2 text-sm/none text-c-1 whitespace-nowrap font-medium"},K4t=Pn({inheritAttrs:!1,__name:"ScalarFormField",props:{is:{default:"label"}},setup(e){let{cx:t}=aE();return(a,r)=>(Zo(),Fo(Wn(e.is),at(Ko(Fa(t)("flex flex-col gap-1.5 rounded"))),{default:cn(()=>[a.$slots.label?(Zo(),qo("div",Y4t,[Jn(a.$slots,"label")])):ai("",!0),Jn(a.$slots,"default"),a.$slots.below?(Zo(),qo("span",{key:1,class:tt(Fa(t)("-mt-1.5 text-sm"))},[Jn(a.$slots,"below")],2)):ai("",!0)]),_:3},16))}});t0e(),iE(),Rc();var J4t=Pn({inheritAttrs:!1,__name:"ScalarFormInputGroup",props:{is:{default:"div"}},setup(e){let{cx:t}=aE();return JKe(),(a,r)=>(Zo(),Fo(Wn(e.is),at(Ko(Fa(t)("flex flex-col border rounded divide-y"))),{default:cn(()=>[Jn(a.$slots,"default")]),_:3},16))}});U6(),Rc();var e6t={class:"flex min-w-0 flex-col gap-3"},t6t={class:"contents"},a6t={class:"text-base font-medium text-c-1"};var r6t=P6({},[["render",function(e,t,a,r,n,o){return Zo(),qo("fieldset",e6t,[Go("legend",t6t,[Go("span",a6t,[Jn(e.$slots,"label")])]),Jn(e.$slots,"default")])}]]);Rc();var n6t={class:"text-c-3 [&_code]:font-code [&_a:hover]:text-c-1 text-center leading-normal [&_a]:underline"};var o6t=TYt({},[["render",function(e,t){return Zo(),qo("p",n6t,[Jn(e.$slots,"default")])}]]);Rc(),lce(),R4e(),$4e();var i6t=Pn({__name:"ApiReferenceToolbarRegisterButton",props:io({workspace:{},externalUrls:{},sdks:{default:()=>[]}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){let t=wo(e,"url"),{toast:a}=C4e(),r=N4e();function n(t){let a=new URL(`${e.externalUrls.dashboardUrl}/register`);a.searchParams.set("url",t),e.sdks.forEach(e=>a.searchParams.append("sdk",e)),window.open(a.toString(),"_blank")}async function o(){if(r.isLoading||!e.workspace)return;if(t.value)return void n(t.value);r.start();let o=e.workspace.exportActiveDocument("json");if(!o)return a("Unable to export active document","error"),void await r.invalidate();try{t.value=await CYt(o,e.externalUrls),await r.validate(),n(t.value),await en(),await r.clear()}catch(e){a(e instanceof Error?e.message:"An unknown error occurred","error"),await r.invalidate()}}return(e,t)=>(Zo(),Fo(Fa(tce),{class:"h-auto p-2.5",loader:Fa(r),onClick:o},{default:cn(()=>[Jn(e.$slots,"default",{},()=>[t[0]||=ei("Generate",-1)])]),_:3},8,["loader"]))}});Rc(),ZS();var s6t={class:"text-c-2 mb-2 grid grid-cols-2 gap-2.5 font-medium"},l6t=Pn({__name:"ApiReferenceToolbarShareRegister",props:{workspace:{},externalUrls:{}},setup(e){let t=[{icon:ky,label:"Password Protection"},{icon:Cb,label:"Custom Domains"},{icon:ff,label:"Free-form content"},{icon:vg,label:"CDN Infrastructure"},{icon:ob,label:"Pull from GitHub"},{icon:yv,label:"Markdown/MDX"},{icon:hw,label:"Spectral Linting"},{icon:Mf,label:"JSON Schema Hosting"},{icon:XO,label:"Ask AI"},{icon:AO,label:"MCP Servers"}];return(a,r)=>(Zo(),qo(Ls,null,[Go("ul",s6t,[(Zo(),qo(Ls,null,Yn(t,e=>Go("li",{key:e.label,class:"flex items-center gap-2"},[(Zo(),Fo(Wn(e.icon),{class:"text-c-3 size-3.5",weight:"bold"})),ei(" "+Kt(e.label),1)])),64))]),qs(i6t,{externalUrls:e.externalUrls,workspace:e.workspace},{default:cn(()=>[...r[0]||=[ei(" Deploy on Scalar ",-1)]]),_:1},8,["externalUrls","workspace"]),qs(o6t,null,{default:cn(()=>[...r[1]||=[ei(" Deploy your documentation for free. ",-1),Go("br",null,null,-1),ei(" Additional features might require ",-1),Go("a",{href:"https://scalar.com/products/docs/getting-started",target:"_blank"},"Scalar Pro",-1),ei(". ",-1)]]),_:1})],64))}});Rc();var c6t=Pn({__name:"DeployApiReference",props:{workspace:{},externalUrls:{}},setup:e=>(t,a)=>(Zo(),Fo(Q4t,{class:"w-120"},{label:cn(()=>[...a[0]||=[ei("Deploy",-1)]]),default:cn(()=>[qs(Fa(r6t),null,{label:cn(()=>[...a[1]||=[ei("Scalar Docs",-1)]]),default:cn(()=>[a[2]||=Go("p",{class:"text-c-2 mb-2 leading-normal"}," Deploy your documentation on Scalar, the modern documentation platform for your API and everything else. ",-1),qs(l6t,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])]),_:1})]),_:1}))});Rc(),ZS();var u6t=Pn({__name:"ScalarCheckbox",props:{selected:{type:Boolean},indeterminate:{type:Boolean,default:!1},type:{default:"checkbox"}},setup(e){let t=e;return(e,a)=>(Zo(),qo("div",{class:tt(["flex size-4 items-center justify-center p-0.75",[t.selected||t.indeterminate&&"checkbox"===t.type?"bg-c-accent text-b-1":"text-transparent shadow-border","checkbox"===t.type?"rounded":"rounded-full"]])},[t.selected?(Zo(),Fo(Fa(cg),{key:0,class:"size-3",weight:"bold"})):t.indeterminate&&"checkbox"===t.type?(Zo(),Fo(Fa(Fy),{key:1,"aria-hidden":"true",class:"size-3",weight:"bold"})):ai("",!0)],2))}});r0e(),iE(),Rc();var d6t={class:"flex-1 text-left min-w-0 truncate"},p6t=["type"],h6t=Pn({inheritAttrs:!1,__name:"ScalarCheckboxInput",props:io({type:{default:"checkbox"},indeterminate:{type:Boolean,default:!1}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=e,a=wo(e,"modelValue"),{stylingAttrsCx:r,otherAttrs:n}=aE();return(e,o)=>(Zo(),Fo(Fa(tJe),ii({is:"label"},Fa(r)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":a.value})),{default:cn(()=>[qs(u6t,{class:"shrink-0",indeterminate:t.indeterminate&&"checkbox"===t.type,selected:a.value,type:t.type},null,8,["indeterminate","selected","type"]),Go("div",d6t,[Jn(e.$slots,"default")]),un(Go("input",ii({ref:"inputEl","onUpdate:modelValue":o[0]||=e=>a.value=e,class:"sr-only",type:t.type},Fa(n)),null,16,p6t),[[wc,a.value]])]),_:3},16))}});Rc();var m6t=Pn({__name:"ScalarCheckboxRadioGroup",props:io({options:{default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=wo(e,"modelValue"),a=Mn();return(r,n)=>(Zo(),Fo(Fa(J4t),null,{default:cn(()=>[(Zo(!0),qo(Ls,null,Yn(e.options,e=>(Zo(),Fo(h6t,{key:e.value,modelValue:t.value?.value===e.value,name:Fa(a),type:"radio",value:e.value,"onUpdate:modelValue":a=>t.value=a?e:void 0},{default:cn(()=>[ei(Kt(e.label),1)]),_:2},1032,["modelValue","name","value","onUpdate:modelValue"]))),128))]),_:1}))}});Rc();var f6t=Pn({__name:"ApiReferenceToolbarConfigLayout",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t={label:"Modern",value:"modern"},a={label:"Classic",value:"classic"},r=[t,a],n=wo(e,"modelValue"),o=ol({get:()=>"modern"===n.value?t:a,set:e=>n.value=e.value});return(e,t)=>(Zo(),Fo(Fa(m6t),{modelValue:o.value,"onUpdate:modelValue":t[0]||=e=>o.value=e,options:r},null,8,["modelValue"]))}});iE(),Rc();var g6t=["aria-checked","aria-disabled"],v6t={key:0,class:"sr-only"},b6t=Pn({__name:"ScalarToggle",props:io({disabled:{type:Boolean},label:{}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=e,a=wo(e,"modelValue");function r(){t.disabled||(a.value=!a.value)}let n=XT({base:"relative h-3.5 min-w-6 w-6 cursor-pointer rounded-full bg-b-3 transition-colors duration-300",variants:{checked:{true:"bg-c-accent"},disabled:{true:"cursor-not-allowed opacity-40"}}});return(t,o)=>(Zo(),qo("button",{"aria-checked":a.value,"aria-disabled":e.disabled,class:tt(Fa(GT)(Fa(n)({checked:a.value,disabled:e.disabled}))),role:"switch",type:"button",onClick:r},[Go("div",{class:tt(["absolute left-px top-px flex h-3 w-3 items-center justify-center rounded-full bg-b-1 text-c-accent transition-transform duration-300",{"translate-x-2.5":a.value}])},null,2),e.label?(Zo(),qo("span",v6t,Kt(e.label),1)):ai("",!0)],10,g6t))}});r0e(),iE(),Rc();var y6t={class:"flex-1 text-left min-w-0 truncate"},O6t=Pn({inheritAttrs:!1,__name:"ScalarToggleInput",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=wo(e,"modelValue"),{stylingAttrsCx:a,otherAttrs:r}=aE();return(e,n)=>(Zo(),Fo(Fa(tJe),ii({is:"label"},Fa(a)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":t.value})),{default:cn(()=>[Go("div",y6t,[Jn(e.$slots,"default")]),qs(b6t,ii({modelValue:t.value,"onUpdate:modelValue":n[0]||=e=>t.value=e,class:"shrink-0"},Fa(r)),null,16,["modelValue"])]),_:3},16))}});Rc(),W();var x6t=Pn({__name:"ApiReferenceToolbarConfigLayoutOptions",props:io({configuration:{}},{modelValue:{default:{}},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=wo(e,"modelValue");function a(a,r=!1){return t.value[a]??e.configuration?.[a]??r}function r(e,a,r=!1){t.value=a===r?Object.fromEntries(Object.entries(t.value).filter(([t])=>e!==t)):{...t.value,[e]:a}}let n=ol(()=>e.configuration?.modelsSectionLabel??"Models");return(e,t)=>(Zo(),Fo(Fa(J4t),null,{default:cn(()=>[qs(Fa(O6t),{modelValue:a("showSidebar",!0),"onUpdate:modelValue":t[0]||=e=>r("showSidebar",!!e,!0)},{default:cn(()=>[...t[11]||=[ei(" Show Sidebar ",-1)]]),_:1},8,["modelValue"]),qs(Fa(O6t),{modelValue:a("defaultOpenFirstTag",!0),"onUpdate:modelValue":t[1]||=e=>r("defaultOpenFirstTag",!!e,!0)},{default:cn(()=>[...t[12]||=[ei(" Default Open First Tag ",-1)]]),_:1},8,["modelValue"]),qs(Fa(O6t),{modelValue:a("defaultOpenAllTags"),"onUpdate:modelValue":t[2]||=e=>r("defaultOpenAllTags",!!e)},{default:cn(()=>[...t[13]||=[ei(" Default Open All Tags ",-1)]]),_:1},8,["modelValue"]),qs(Fa(O6t),{modelValue:a("expandAllModelSections"),"onUpdate:modelValue":t[3]||=e=>r("expandAllModelSections",!!e)},{default:cn(()=>[ei(" Expand All "+Kt(n.value),1)]),_:1},8,["modelValue"]),qs(Fa(O6t),{modelValue:a("expandAllResponses"),"onUpdate:modelValue":t[4]||=e=>r("expandAllResponses",!!e)},{default:cn(()=>[...t[14]||=[ei(" Expand All Responses ",-1)]]),_:1},8,["modelValue"]),qs(Fa(O6t),{modelValue:a("hideClientButton"),"onUpdate:modelValue":t[5]||=e=>r("hideClientButton",!!e)},{default:cn(()=>[...t[15]||=[ei(" Hide Client Button ",-1)]]),_:1},8,["modelValue"]),qs(Fa(O6t),{modelValue:a("hideDarkModeToggle"),"onUpdate:modelValue":t[6]||=e=>r("hideDarkModeToggle",!!e)},{default:cn(()=>[...t[16]||=[ei(" Hide Dark Mode Toggle ",-1)]]),_:1},8,["modelValue"]),qs(Fa(O6t),{modelValue:a("hideModels"),"onUpdate:modelValue":t[7]||=e=>r("hideModels",!!e)},{default:cn(()=>[ei(" Hide "+Kt(n.value),1)]),_:1},8,["modelValue"]),qs(Fa(O6t),{modelValue:a("hideSearch"),"onUpdate:modelValue":t[8]||=e=>r("hideSearch",!!e)},{default:cn(()=>[...t[17]||=[ei(" Hide Search ",-1)]]),_:1},8,["modelValue"]),qs(Fa(O6t),{modelValue:a("showOperationId"),"onUpdate:modelValue":t[9]||=e=>r("showOperationId",!!e)},{default:cn(()=>[...t[18]||=[ei(" Show Operation ID ",-1)]]),_:1},8,["modelValue"]),qs(Fa(O6t),{modelValue:a("hideTestRequestButton"),"onUpdate:modelValue":t[10]||=e=>r("hideTestRequestButton",!!e)},{default:cn(()=>[...t[19]||=[ei(" Hide Test Request Button ",-1)]]),_:1},8,["modelValue"])]),_:1}))}});Rc();var w6t=["--scalar-color-1","--scalar-color-2","--scalar-color-3","--scalar-background-1","--scalar-background-2","--scalar-background-3","--scalar-color-accent"];function k6t(e,t){let a=[...t.matchAll(RegExp(`(${e}): ([^;]+);`,"gm"))];return 0===a.length?{}:Object.fromEntries(a.map(e=>[e[1],e[2]]))}function S6t(e){return e?{...k6t("--scalar-color-[1-3]",e),...k6t("--scalar-background-[1-3]",e),...k6t("--scalar-color-accent",e)}:{}}iE(),Rc();var A6t=Pn({inheritAttrs:!1,__name:"ScalarThemeSwatches",props:{css:{}},setup(e){let{colors:t}=function(e){return{colors:ol(()=>({light:S6t(Wa(e).match(/\.light-mode[^{]*{[^}]*}/m)?.[0]),dark:S6t(Wa(e).match(/\.dark-mode[^{]*{[^}]*}/m)?.[0])}))}}(()=>e.css),{cx:a}=aE();return(e,r)=>(Zo(),qo("div",ii({style:{"--bg-light":Fa(t).light["--scalar-background-1"],"--bg-dark":Fa(t).dark["--scalar-background-1"]}},Fa(a)("flex *:size-3 overflow-hidden rounded","bg-(--bg-light) dark:bg-(--bg-dark)")),[(Zo(!0),qo(Ls,null,Yn(Fa(w6t),e=>(Zo(),qo("div",{key:e,class:"bg-(--bg-light) dark:bg-(--bg-dark)",style:Je({"--bg-light":Fa(t).light[e],"--bg-dark":Fa(t).dark[e]})},null,4))),128))],16))}});Rc(),lpe(),n0e(),ZS();var _6t={class:"min-w-0 flex-1 truncate text-left"},T6t={class:"text-c-1 inline-block min-w-0 flex-1 truncate"},E6t=Pn({__name:"ApiReferenceToolbarConfigTheme",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=wo(e,"modelValue"),a=ol(()=>iSt.filter(e=>"none"!==e).map(e=>({id:e,label:sSt[e],css:lSt[e].theme}))),r=ol({get:()=>{let e=t.value??"default";return a.value.find(t=>t.id===e)??a.value[0]},set:e=>t.value=e.id});return(e,t)=>(Zo(),Fo(Fa(Vde),{modelValue:r.value,"onUpdate:modelValue":t[0]||=e=>r.value=e,options:a.value,resize:""},{default:cn(({open:e})=>[qs(Fa(tJe),null,{default:cn(()=>[Go("div",_6t,Kt(r.value.label),1),qs(Fa(A6t),{class:"mr-2",css:r.value.css},null,8,["css"]),qs(Fa(jf),{class:tt(["size-3.5 transition-transform",{"rotate-180":e}])},null,8,["class"])]),_:2},1024)]),option:cn(({selected:e,option:t})=>[qs(Fa(pce),{selected:e},null,8,["selected"]),Go("span",T6t,Kt(t.label),1),qs(Fa(A6t),{css:t.css},null,8,["css"])]),_:1},8,["modelValue","options"]))}});Rc(),D1e(),N1e();var C6t={class:"flex flex-col gap-4"},P6t=Pn({__name:"ModifyConfiguration",props:io({configuration:{}},{overrides:{},overridesModifiers:{}}),emits:["update:overrides"],setup(e){let t=wo(e,"overrides"),a=ol(()=>d1e({...t.value,...e.configuration,...t.value})),r=ol({get:()=>t.value?.theme??e.configuration?.theme??"default",set:e=>t.value={...t.value,theme:e}}),n=ol({get:()=>t.value?.layout??e.configuration?.layout??"modern",set:e=>t.value={...t.value,layout:e}});return(o,i)=>(Zo(),Fo(Q4t,{class:"w-120"},{label:cn(()=>[...i[3]||=[ei("Configure",-1)]]),default:cn(()=>[qs(Fa(r6t),null,{label:cn(()=>[...i[4]||=[ei("Scalar Configuration",-1)]]),default:cn(()=>[qs(Fa(f1e),{class:"bg-b-1.5 flex max-h-40 flex-col rounded border text-sm",content:a.value,lang:"json"},null,8,["content"])]),_:1}),Go("div",C6t,[qs(Fa(K4t),null,{label:cn(()=>[...i[5]||=[ei("Theme",-1)]]),default:cn(()=>[qs(E6t,{modelValue:r.value,"onUpdate:modelValue":i[0]||=e=>r.value=e},null,8,["modelValue"])]),_:1}),qs(Fa(K4t),null,{label:cn(()=>[...i[6]||=[ei("Layout",-1)]]),default:cn(()=>[qs(f6t,{modelValue:n.value,"onUpdate:modelValue":i[1]||=e=>n.value=e},null,8,["modelValue"])]),_:1}),qs(Fa(K4t),{is:"div"},{label:cn(()=>[...i[7]||=[ei("Layout Options",-1)]]),default:cn(()=>[qs(x6t,{modelValue:t.value,"onUpdate:modelValue":i[2]||=e=>t.value=e,configuration:e.configuration},null,8,["modelValue","configuration"])]),_:1})])]),_:1}))}});Rc(),lce(),R4e(),wqt(),$4e();var M6t=Pn({__name:"ApiReferenceToolbarShareTemporary",props:io({workspace:{},externalUrls:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){let{toast:t}=C4e(),a=N4e(),r=wo(e,"url");async function n(){if(a.isLoading||!e.workspace||r.value)return;a.start();let n=e.workspace.exportActiveDocument("json");if(!n)return t("Unable to export active document","error"),void await a.invalidate();try{let t=await CYt(n,e.externalUrls);await a.validate({duration:900,persist:!0}),r.value=t}catch(e){t(e instanceof Error?e.message:"An unknown error occurred","error"),await a.invalidate()}}return(t,o)=>(Zo(),qo(Ls,null,[r.value?(Zo(),Fo(Fa(JQt),{key:0,immediate:"",modelValue:r.value,name:"temporary-link",placeholder:`${e.externalUrls.registryUrl}/share/apis/…`},null,8,["modelValue","placeholder"])):(Zo(),Fo(Fa(tce),{key:1,class:"h-auto p-2.5",loader:Fa(a),variant:"gradient",onClick:n},{default:cn(()=>[...o[0]||=[ei(" Upload Document ",-1)]]),_:1},8,["loader"])),qs(o6t,{class:"-mt-1"},{default:cn(()=>[...o[1]||=[ei(" Your document will automatically be deleted after 7 days. ",-1)]]),_:1})],64))}});Rc();var $6t=Pn({__name:"ShareApiReference",props:{workspace:{},externalUrls:{}},setup:e=>(t,a)=>(Zo(),Fo(Q4t,{class:"w-120"},{label:cn(()=>[...a[0]||=[ei("Share",-1)]]),default:cn(()=>[qs(Fa(r6t),null,{label:cn(()=>[...a[1]||=[ei("Share your API Reference",-1)]]),default:cn(()=>[a[2]||=Go("p",{class:"text-c-2 mb-2 leading-normal"}," Upload your OpenAPI document to share your API Reference with others. As easy as pressing a button. ",-1),qs(M6t,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])]),_:1})]),_:1}))});Rc(),MK();var N6t={key:0,"aria-label":"Developer Tools",class:"api-reference-toolbar bg-b-1 relative z-1 flex h-10 justify-center border-b px-15"},I6t={class:"-mx-2 flex max-w-(--refs-content-max-width) flex-1 items-center"},R6t={class:"flex flex-1 items-center"},D6t=Pn({__name:"DeveloperTools",props:io({workspace:{},configuration:{},externalUrls:{}},{overrides:{},overridesModifiers:{}}),emits:["update:overrides"],setup(e){let t=wo(e,"overrides"),a=ol(()=>"always"===e.configuration?.showDeveloperTools||!("never"===e.configuration?.showDeveloperTools||typeof window>"u")&&_W(window.location.href));return(r,n)=>a.value?(Zo(),qo("header",N6t,[Go("div",I6t,[Go("div",R6t,[qs(G4t)]),qs(P6t,{overrides:t.value,"onUpdate:overrides":n[0]||=e=>t.value=e,configuration:e.configuration},null,8,["overrides","configuration"]),e.workspace?(Zo(),qo(Ls,{key:0},[qs($6t,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"]),qs(c6t,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])],64)):ai("",!0)])])):ai("",!0)}});Rc(),n0e(),ZS();var L6t={key:0,class:"document-selector px-3 pt-3"},B6t={class:"group/dropdown-label text-c-2 hover:text-c-1 flex w-full cursor-pointer items-center gap-1 font-medium",type:"button"},j6t={class:"overflow-hidden text-base text-ellipsis"},U6t=Pn({__name:"DocumentSelector",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){let a=e,r=t,n=ol(()=>a.options.map(e=>({id:e.id,label:e.label}))),o=ol(()=>n.value.find(e=>e.id===a.modelValue));return(t,a)=>e.options.length>1?(Zo(),qo("div",L6t,[qs(Fa(GKe),{modelValue:o.value,options:n.value,resize:"","onUpdate:modelValue":a[0]||=e=>r("update:modelValue",e.id)},{default:cn(({open:e})=>[Go("button",B6t,[Go("span",j6t,Kt(o.value?.label||"Select API"),1),qs(Fa(jf),{class:tt(["size-3 text-current transition-transform",{"rotate-180":e}]),weight:"bold"},null,8,["class"])])]),_:1},8,["modelValue","options"])])):ai("",!0)}});Vle(),iE(),Rc();var z6t=["aria-selected"],H6t={key:0,class:"flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1"},Z6t={class:"flex min-w-0 flex-1 flex-col gap-0.5"},V6t={class:"flex items-center gap-1"},Q6t={class:"flex-1 truncate zoomed:whitespace-normal! wrap-break-word font-medium"},q6t={key:0,class:"text-base text-c-2"},F6t={key:0,class:"truncate zoomed:whitespace-normal! wrap-break-word text-c-2"},W6t=Pn({inheritAttrs:!1,__name:"ScalarSearchResultItem",props:{icon:{type:[Object,Function]},selected:{type:Boolean}},setup(e){let{cx:t}=aE();return(a,r)=>(Zo(),qo("a",ii({"aria-selected":e.selected,role:"option",tabindex:"-1"},Fa(t)("group flex cursor-pointer gap-2 rounded px-2 py-1.5 no-underline hover:bg-b-2 text-base/5",{"bg-b-2":e.selected})),[e.icon?(Zo(),qo("div",H6t,[Jn(a.$slots,"icon",{},()=>[e.icon?(Zo(),Fo(Fa($le),{key:0,class:"size-4",icon:e.icon},null,8,["icon"])):ai("",!0)]),r[0]||=Go("span",null," ",-1)])):ai("",!0),Go("div",Z6t,[Go("div",V6t,[Go("div",Q6t,[Jn(a.$slots,"default")]),a.$slots.addon?(Zo(),qo("div",q6t,[Jn(a.$slots,"addon")])):ai("",!0)]),a.$slots.description?(Zo(),qo("div",F6t,[Jn(a.$slots,"description")])):ai("",!0)])],16,z6t))}});iE(),Rc();var X6t=Pn({inheritAttrs:!1,__name:"ScalarSearchResultList",props:{noResults:{type:Boolean}},setup(e){let{cx:t}=aE();return(a,r)=>(Zo(),qo("div",ii({role:"listbox"},Fa(t)("flex flex-col")),[e.noResults?Jn(a.$slots,"noResults",{key:0},()=>[r[0]||=Go("div",{class:"flex flex-col items-center gap-2 px-3 py-4"},[Go("div",{class:"text-base font-medium text-c-2",role:"alert"}," No results found ")],-1)]):ai("",!0),Jn(a.$slots,"default")],16))}});Fme(),jE(),KK();function G6t(e){return"object"==typeof e&&e&&"$ref"in e?(e=>"object"==typeof e&&!!e)(e["$ref-value"])?e["$ref-value"]:void 0:e}function Y6t(e,t){t&&(e.includes(t)||e.push(t))}function K6t(e,t,a=0){!e||t.visited.has(e)||(t.visited.add(e),[...e.oneOf??[],...e.anyOf??[],...e.allOf??[]].forEach(e=>{K6t(G6t(e),t,a)}),NY(e)&&e.properties&&Object.entries(e.properties).forEach(([e,r])=>{let n=G6t(r);t.visit(e,n),a+1<t.maxPropertyDepth&&K6t(n,t,a+1)}))}function J6t(e,t){let a=EE(e?.requestBody)?.content;if(!a)return;let r=new Set;Object.values(a).forEach(e=>{K6t(EE(EE(e)?.schema),{visit:t,visited:r,maxPropertyDepth:2})})}function e3t(e){if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return""}}function t3t(e){return e?Object.values(e).flatMap(e=>{let t=EE(e);return t?.content?Object.values(t.content).flatMap(e=>{let t=EE(e);return t?function(e){let t=Object.values(e.examples??{}).flatMap(e=>{let t=EE(e);return t&&"value"in t?e3t(t.value):[]}).filter(e=>e.length>0),a="example"in e&&void 0!==e.example?e3t(e.example):"";return a?[a,...t]:t}(t):[]}):[]}).filter(e=>e.length>0):[]}function a3t(e,t){let a=[],r=t?.modelsSectionLabel??"Models";return function t(n){n.forEach(n=>{(function(e,t,a,r){let n=eK(a)?a:void 0;if("operation"===e.type){let a=oK(n?.paths?.[e.path]),r=EE(iK(n?.paths?.[e.path],e.method))??{},o={...r,parameters:dK(a?.parameters,r.parameters)},i=function(e){let t=[];return e.forEach(e=>{Y6t(t,EE(e)?.name)}),t}(o.parameters??[]),s=function(e){let t=[];return e.forEach(e=>{Y6t(t,EE(e)?.description)}),t}(o.parameters??[]),l=function(e){let t=[];return J6t(e,e=>{Y6t(t,e)}),t}(o),c=function(e){let t=[];return J6t(e,(e,a)=>{a&&"description"in a&&"string"==typeof a.description&&Y6t(t,a.description)}),t}(o),u=t3t(o.responses);return void t.push({type:"operation",title:e.title,id:e.id,description:o.description||"",method:e.method,path:e.path,body:l,bodyDescriptions:c,parameters:i,parameterDescriptions:s,responseExamples:u,operationId:o.operationId,entry:e})}if("webhook"===e.type){let a=EE(iK(n?.webhooks?.[e.name],e.method))??{},r=a.description||"";return void t.push({id:e.id,type:"webhook",title:e.title,description:"Webhook",method:e.method,body:"",bodyDescriptions:r?[r]:[],operationId:a.operationId,entry:e})}if("model"===e.type){let n=function(e,t){return eK(e)?EE(e.components?.schemas?.[t]):tK(e)?U2t(e,t):void 0}(a,e.name),o=n?.description??"",i=function(e){let t=[];return K6t(e,{visit:e=>Y6t(t,e),visited:new Set,maxPropertyDepth:2}),t}(n),s=function(e){let t=[];return K6t(e,{visit:(e,a)=>{a&&"description"in a&&"string"==typeof a.description&&Y6t(t,a.description)},visited:new Set,maxPropertyDepth:2}),t}(n);return void t.push({type:"model",title:e.title,description:r,id:e.id,body:i,bodyDescriptions:o?[o,...s]:s,entry:e})}if("models"===e.type)return void t.push({id:e.id,type:"heading",title:e.title,description:"Heading",body:"",entry:e});if("tag"===e.type&&!0===e.isWebhooks)return void t.push({id:e.id,type:"heading",title:"Webhooks",description:"Heading",body:"",entry:e});if("tag"===e.type&&!1===e.isGroup)return void t.push({id:e.id,title:e.title,description:e.description||"",type:"tag",body:"",entry:e});if("tag"===e.type&&!0===e.isGroup)return void t.push({id:e.id,title:e.title,description:"Tag Group",type:"tag",body:"",entry:e});if("text"===e.type)t.push({id:e.id,type:"heading",title:e.title??"",description:"Heading",body:"",entry:e})})(n,a,e,r),"children"in n&&n.children&&t(n.children)})}(e?.["x-scalar-navigation"]?.children??[]),a}W(),iJ(),jE(),LJ(),rJ(),W(),Rc();function r3t(e,a=t){let r=ol(()=>a3t(Wa(e),{modelsSectionLabel:Wa(a)??"Models"})),n=ol(()=>{let e=new Lme([],{keys:[{name:"title",weight:.7},{name:"operationId",weight:.6},{name:"parameters",weight:.55},{name:"body",weight:.55},{name:"path",weight:.5},{name:"tag",weight:.4},{name:"description",weight:.3},{name:"method",weight:.3},{name:"responseExamples",weight:.25},{name:"parameterDescriptions",weight:.2},{name:"bodyDescriptions",weight:.2}],threshold:.3,distance:100,includeScore:!0,includeMatches:!0,ignoreLocation:!0,useExtendedSearch:!0,findAllMatches:!0});return e.setCollection(r.value),e}),o=Za("");return{results:ol(()=>0===o.value.length?r.value.slice(0,25).map((e,t)=>({item:e,refIndex:t})):n.value.search(o.value,{limit:25})),query:o}}Rc(),ZS(),nSt(),W();var n3t={class:"sr-only"},o3t={class:"inline-flex items-center gap-1"},i3t={class:"sr-only"},s3t=Pn({__name:"SearchResult",props:{id:{},isSelected:{type:Boolean},result:{},modelsSectionLabel:{default:()=>t}},setup(e){let t={heading:Tx,model:Mf,operation:yx,tag:dx,webhook:yx},a=ol(()=>({heading:"Heading",operation:"Operation",tag:"Tag",model:e.modelsSectionLabel,webhook:"Webhook"}));return(r,n)=>(Zo(),Fo(Fa(W6t),{id:e.id,icon:t[e.result.item.type],selected:e.isSelected},Kn({default:cn(()=>[Go("span",{class:tt({"text-decoration-line":"operation"===e.result.item.entry.type&&e.result.item.entry.isDeprecated})},[Go("span",n3t,[ei(Kt(a.value[e.result.item.type])+":  ",1),"operation"===e.result.item.entry.type&&e.result.item.entry.isDeprecated?(Zo(),qo(Ls,{key:0},[ei(" (Deprecated)  ")],64)):ai("",!0)]),ei(" "+Kt(e.result.item.title)+" ",1),n[0]||=Go("span",{class:"sr-only"},",",-1)],2)]),_:2},["webhook"!==e.result.item.type&&(e.result.item.method||e.result.item.path)&&e.result.item.path!==e.result.item.title?{name:"description",fn:cn(()=>[Go("span",o3t,["operation"===e.result.item.type?(Zo(),qo(Ls,{key:0},[qs(Fa(wmt),{"aria-hidden":"true",method:e.result.item.method??"get"},null,8,["method"]),Go("span",i3t," HTTP Method: "+Kt(e.result.item.method??"get"),1)],64)):ai("",!0),n[1]||=Go("span",{class:"sr-only"},"Path: ",-1),ei(" "+Kt(e.result.item.path),1)])]),key:"0"}:e.result.item.description?{name:"description",fn:cn(()=>[n[2]||=Go("span",{class:"sr-only"},"Description: ",-1),ei(" "+Kt(e.result.item.description),1)]),key:"1"}:void 0]),1032,["id","icon","selected"]))}});Rc(),v8e(),R8e();var l3t={class:"mb-0 flex flex-col",role:"search"},c3t=TYt(Pn({__name:"SearchModal",props:{modalState:{},document:{},eventBus:{},modelsSectionLabel:{}},setup(e){let t=e,a=Mn(),r=`${a}-search-result`,n=`${a}-search-instructions`,{query:o,results:i}=r3t(()=>t.document,()=>t.modelsSectionLabel),s=Za(void 0);fn(()=>t.modalState.open,e=>{e&&(o.value="")});let l=e=>{let t="up"===e?-1:1,a=i.value.length;"number"==typeof s.value?s.value=(s.value+t+a)%a:s.value=-1===t?a-1:0};function c(e){if("number"!=typeof e||!i.value[e])return;let a=i.value[e];t.modalState.hide(),t.eventBus.emit("scroll-to:nav-item",{id:a.item.id})}let u=ol(()=>{let e=i.value[s.value??-1];return e?`search-result-${e.item.id}`:void 0});return(a,d)=>(Zo(),Fo(Fa(p2e),{"aria-label":"Reference Search",state:e.modalState,variant:"search"},{default:cn(()=>[Go("div",l3t,[qs(Fa(F2e),{modelValue:Fa(o),"onUpdate:modelValue":d[0]||=e=>Ha(o)?o.value=e:null,"aria-activedescendant":u.value,"aria-autocomplete":"list","aria-controls":r,"aria-describedby":n,role:"combobox",onBlur:d[1]||=e=>s.value=void 0,onKeydown:[d[2]||=Tc(Ac(e=>l("down"),["stop","prevent"]),["down"]),d[3]||=Tc(Ac(()=>c(s.value),["stop","prevent"]),["enter"]),d[4]||=Tc(Ac(e=>l("up"),["stop","prevent"]),["up"])]},null,8,["modelValue","aria-activedescendant"])]),qs(Fa(X6t),{id:r,"aria-label":"Reference Search Results",class:"custom-scroll px-1 pb-1",noResults:!Fa(i).length},{query:cn(()=>[ei(Kt(Fa(o)),1)]),default:cn(()=>[(Zo(!0),qo(Ls,null,Yn(Fa(i),(e,a)=>(Zo(),Fo(s3t,{id:`search-result-${e.item.id}`,key:e.refIndex,isSelected:s.value===a,modelsSectionLabel:t.modelsSectionLabel,result:e,onClick:Ac(()=>c(a),["prevent"])},null,8,["id","isSelected","modelsSectionLabel","result","onClick"]))),128))]),_:1},8,["noResults"]),Go("div",{id:n,class:"ref-search-meta"},[...d[5]||=[Go("span",{"aria-hidden":"true",class:"contents"},[Go("span",null,"↑↓ Navigate"),Go("span",null,"⏎ Select")],-1),Go("span",{class:"sr-only"}," Press up arrow / down arrow to navigate, enter to select, type to filter results ",-1)]])]),_:1},8,["state"]))}}),[["__scopeId","data-v-25f2d34f"]]);Rc(),jJe(),v8e(),ift(),pfe(),ZS(),W();var u3t=Pn({__name:"SearchButton",props:{forceIcon:{type:Boolean},searchHotKey:{default:"k"},hideModels:{type:Boolean},modelsSectionLabel:{default:()=>t},document:{},eventBus:{}},setup(e){let t=Za(),a=l2e(),r=Za(!1);ts(()=>{r.value=cfe()});let n=t=>{(cfe()?t.metaKey:t.ctrlKey)&&t.key===e.searchHotKey&&(t.preventDefault(),t.stopPropagation(),a.open?a.hide():a.show())};function o(){a.show()}return fn(()=>a.open,async(e,a)=>{!e&&a&&(await en(),t.value?.$el.focus())}),ts(()=>window.addEventListener("keydown",n)),ns(()=>window.removeEventListener("keydown",n)),(n,i)=>(Zo(),qo(Ls,null,[e.forceIcon?(Zo(),Fo(Fa(wKe),{key:0,icon:Fa(jy),label:"Search",onClick:o},null,8,["icon"])):(Zo(),Fo(Fa(imt),{key:1,ref_key:"button",ref:t,class:tt(["w-full",n.$attrs.class]),onClick:o},{shortcut:cn(()=>[r.value?(Zo(),qo(Ls,{key:0},[i[0]||=Go("span",{class:"sr-only"},"Command",-1),i[1]||=Go("span",{"aria-hidden":"true"},"⌘",-1)],64)):(Zo(),qo(Ls,{key:1},[i[2]||=Go("span",{class:"sr-only"},"CTRL",-1),i[3]||=Go("span",{"aria-hidden":"true"},"⌃",-1)],64)),ei(" "+Kt(e.searchHotKey),1)]),default:cn(()=>[i[4]||=Go("span",{class:"sr-only"},"Open Search",-1),i[5]||=Go("span",{"aria-hidden":"true",class:"sidebar-search-placeholder"}," Search ",-1)]),_:1},8,["class"])),qs(c3t,{document:e.document,eventBus:e.eventBus,modalState:Fa(a),modelsSectionLabel:e.modelsSectionLabel},null,8,["document","eventBus","modalState","modelsSectionLabel"])],64))}});async function d3t(e,t,a){if(t===a)return e;let r=await async function(e){try{return JSON.parse(e)}catch{let{parse:t}=await Promise.resolve().then(()=>(Ect(),Tct));return t(e,{maxAliasCount:1e4,merge:!0})}}(e);if("json"===a)return JSON.stringify(r,null,2);let{stringify:n}=await Promise.resolve().then(()=>(Ect(),Tct));return n(r)}async function p3t(e,t,a){let r=function(e){let t=e.trimStart();return t.startsWith("{")||t.startsWith("[")?"json":"yaml"}(e),n=a??r,o=`${t??"openapi"}.${n}`,i="json"===n?"application/json":"application/x-yaml",s=await d3t(e,r,n),l=new Blob([s],{type:i}),c=URL.createObjectURL(l),u=document.createElement("a");u.href=c,u.download=o,u.dispatchEvent(function(){try{return new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})}catch{return new MouseEvent("click",{bubbles:!0,cancelable:!0})}}()),setTimeout(()=>{window.URL.revokeObjectURL(c),u.remove()},100)}FA(),LJ(),Rc();var h3t=(e,t)=>{let a={hooks:{}};return fn([()=>e.value.onBeforeRequest,()=>e.value.onRequestSent,()=>t.value],([e,t,r])=>{let n=vY(r);a.hooks||={},a.hooks.beforeRequest=e?async t=>{let a=uY(t.requestBuilder,{envVariables:n,allowMissingRequestServerBase:!0});a.ok?await e({request:EA(...a.data.requestPayload),requestBuilder:t.requestBuilder,envVariables:n}):console.error("[@scalar/api-reference] onBeforeRequest was not run because the request could not be built:",a.message??a.error)}:void 0,a.hooks.responseReceived=t?e=>{t(e.request.url)}:void 0},{immediate:!0}),[a]};Jpe(),Rc();var m3t=({config:e,store:t,isDarkMode:a})=>{fn(()=>Wa(e).defaultHttpClient,e=>{if(e){let{targetKey:a,clientKey:r}=e,n=`${a}/${r}`;cJe(n)&&t.update("x-scalar-default-client",n)}},{immediate:!0}),fn(()=>Wa(e).darkMode,e=>t.update("x-scalar-color-mode",e?"dark":"light")),fn(()=>a.value,e=>t.update("x-scalar-color-mode",e?"dark":"light"),{immediate:!0}),Wa(e).metaData&&function(e={},t={}){(t.head||Bc()).use(Ye);let{title:a,titleTemplate:r,...n}=e;jc({title:a,titleTemplate:r,_flatMeta:n},t)}(Wa(e).metaData),fn(()=>Wa(e).proxyUrl,e=>t.update("x-scalar-active-proxy",e),{immediate:!0}),Rpe(ol(()=>Wa(e).favicon))};iPt(),sut(),ne(),W();var f3t=e=>!!e.url?.trim()||!!e.content,g3t=e=>{let{slug:t}=nPt(),r={};return e&&(Array.isArray(e)?e:[e]).flatMap(e=>{if(a(e)){let{sources:t,...a}=e;return t?.map(e=>({...a,...e}))??[]}return[e]}).map(e=>L(e)).filter(f3t).map((e,a)=>b3t(e,a,t)).forEach(e=>{let{url:t,content:a,...n}=e;r[e.slug]={config:n,title:e.title,slug:e.slug,default:!!e?.default,agent:e.agent,source:a?{content:v3t(a)??{}}:{url:t}}}),r},v3t=e=>e?"function"==typeof e?v3t(e()):"string"==typeof e?Mct(e):e:null,b3t=(e,t=0,a)=>e.title?{...e,slug:e.slug||a(e.title),title:e.title}:e.slug?{...e,slug:a(e.slug),title:e.slug}:{...e,slug:`api-${t+1}`,title:`API #${t+1}`};mJ();var y3t=e=>typeof window>"u"?wK(e):window.structuredClone(e);Rc(),Am(),Cmt(),Mmt(),ift(),sft(),MK(),ne(),nSt(),W(),sht(),_mt(),$4e(),J(),JNt(),aIt(),LJ(),rJ(),Jpe();var O3t={key:1,class:"flex gap-1.5 px-3 pt-3"},x3t={key:1},w3t=["aria-label","inert"],k3t={class:"w-64 empty:hidden"},S3t={key:2,class:"references-footer"};typeof window<"u"&&console.info("@scalar/api-reference@1.59.3");var A3t=TYt(Pn({__name:"ApiReference",props:{configuration:{}},setup(e,{expose:t}){let a=e,{copyToClipboard:r}=Xpt(),n=ol(oSt),o=KNt({debug:!1}),i=Za(!1);!function(e){pn(mu,e)}(()=>Mn());let s=ol(()=>g3t(a.configuration)),l=ol(()=>Object.keys(s.value).length>1),c=Za(Object.values(s.value).find(e=>e.default)?.slug??s.value[Object.keys(s.value)?.[0]??""]?.slug??"");if(typeof window<"u"){let e=new URL(window.location.href),t=e.searchParams.get("api");if(t&&s.value[t]){c.value=t;let a=m2t(h2t(e,s.value[t].config.pathRouting?.basePath,t),s.value[t].config.pathRouting?.basePath,l.value);a&&(a.searchParams.delete("api"),window.history.replaceState({},"",a.toString()))}let a=h2t(e,Object.values(s.value).map(e=>e.config.pathRouting?.basePath).find(t=>!!t&&((e,t)=>{let a="string"==typeof e?new URL(e):e;if(l2t(t)){let e=decodeURIComponent(a.hash);return e===t||e.startsWith(`${t}/`)}let r=p2t(s2t(t));return a.pathname===r||a.pathname.startsWith(`${r}/`)})(e,t)),l.value?void 0:c.value).split("/")[0];a&&s.value[a]&&(c.value=a)}let u=ol(()=>Object.values(s.value).map(e=>({label:e.title,id:e.slug}))),p=Za({}),h=ol(()=>{let e={...d(I,{}),...s.value[c.value]?.config,...p.value};return{...e,modelsSectionLabel:e.modelsSectionLabel??"Models"}}),m=ol(()=>h.value.pathRouting?.basePath),f=ol(()=>((e,t)=>{let{fonts:a=!0,layer:r="scalar-theme"}=t??{},n=[lSt[e||"default"]?.theme??"/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n  --scalar-background-1: #fff;\n  --scalar-background-2: #f6f6f6;\n  --scalar-background-3: #e7e7e7;\n  --scalar-background-accent: #8ab4f81f;\n\n  --scalar-color-1: #1b1b1b;\n  --scalar-color-2: #757575;\n  --scalar-color-3: #8e8e8e;\n\n  --scalar-color-accent: #0099ff;\n  --scalar-border-color: #dfdfdf;\n}\n.dark-mode {\n  --scalar-background-1: #0f0f0f;\n  --scalar-background-2: #1a1a1a;\n  --scalar-background-3: #272727;\n\n  --scalar-color-1: #e7e7e7;\n  --scalar-color-2: #a4a4a4;\n  --scalar-color-3: #797979;\n\n  --scalar-color-accent: #00aeff;\n  --scalar-background-accent: #3ea6ff1f;\n\n  --scalar-border-color: #2d2d2d;\n}\n/* Document Sidebar */\n.light-mode,\n.dark-mode {\n  --scalar-sidebar-background-1: var(--scalar-background-1);\n  --scalar-sidebar-color-1: var(--scalar-color-1);\n  --scalar-sidebar-color-2: var(--scalar-color-2);\n  --scalar-sidebar-border-color: var(--scalar-border-color);\n\n  --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n  --scalar-sidebar-item-hover-color: var(--scalar-sidebar-color-2);\n\n  --scalar-sidebar-item-active-background: var(--scalar-background-2);\n  --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n\n  --scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);\n  --scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);\n  --scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color);\n\n  --scalar-sidebar-search-background: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1));\n  --scalar-sidebar-search-color: var(--scalar-color-3);\n  --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n/* advanced */\n.light-mode {\n  --scalar-color-green: #069061;\n  --scalar-color-red: #ef0006;\n  --scalar-color-yellow: #edbe20;\n  --scalar-color-blue: #0082d0;\n  --scalar-color-orange: #ff5800;\n  --scalar-color-purple: #5203d1;\n\n  --scalar-link-color: var(--scalar-color-1);\n  --scalar-link-color-hover: var(--scalar-link-color);\n\n  --scalar-button-1: rgba(0, 0, 0, 1);\n  --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n  --scalar-button-1-color: #fff;\n\n  --scalar-tooltip-background: color-mix(in srgb, #1a1a1a, transparent 10%);\n  --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 15%);\n\n  --scalar-color-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 20%);\n  --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-color-1) 20%);\n\n  --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);\n  --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);\n}\n.dark-mode {\n  --scalar-color-green: #00b648;\n  --scalar-color-red: #dc1b19;\n  --scalar-color-yellow: #ffc90d;\n  --scalar-color-blue: #4eb3ec;\n  --scalar-color-orange: #ff8d4d;\n  --scalar-color-purple: #b191f9;\n\n  --scalar-link-color: var(--scalar-color-1);\n  --scalar-link-color-hover: var(--scalar-link-color);\n\n  --scalar-button-1: rgba(255, 255, 255, 1);\n  --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n  --scalar-button-1-color: black;\n\n  --scalar-tooltip-background: color-mix(in srgb, var(--scalar-background-1), #fff 10%);\n  --scalar-tooltip-color: color-mix(in srgb, #fff, transparent 5%);\n\n  --scalar-color-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 20%);\n\n  --scalar-background-alert: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-background-1) 95%);\n  --scalar-background-danger: color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%);\n}\n@supports (color: color(display-p3 1 1 1)) {\n  .light-mode {\n    --scalar-color-accent: color(display-p3 0 0.6 1 / 1);\n    --scalar-color-green: color(display-p3 0.023529 0.564706 0.380392 / 1);\n    --scalar-color-red: color(display-p3 0.937255 0 0.023529 / 1);\n    --scalar-color-yellow: color(display-p3 0.929412 0.745098 0.12549 / 1);\n    --scalar-color-blue: color(display-p3 0 0.509804 0.815686 / 1);\n    --scalar-color-orange: color(display-p3 1 0.4 0.02);\n    --scalar-color-purple: color(display-p3 0.321569 0.011765 0.819608 / 1);\n  }\n  .dark-mode {\n    --scalar-color-accent: color(display-p3 0.07 0.67 1);\n    --scalar-color-green: color(display-p3 0 0.713725 0.282353 / 1);\n    --scalar-color-red: color(display-p3 0.862745 0.105882 0.098039 / 1);\n    --scalar-color-yellow: color(display-p3 1 0.788235 0.05098 / 1);\n    --scalar-color-blue: color(display-p3 0.305882 0.701961 0.92549 / 1);\n    --scalar-color-orange: color(display-p3 1 0.552941 0.301961 / 1);\n    --scalar-color-purple: color(display-p3 0.694118 0.568627 0.976471 / 1);\n  }\n}\n",a?'/* Inter (--scalar-font) */\n/* cyrillic-ext */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-cyrillic-ext.woff2) format("woff2");\n  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-cyrillic.woff2) format("woff2");\n  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-greek-ext.woff2) format("woff2");\n  unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-greek.woff2) format("woff2");\n  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-vietnamese.woff2) format("woff2");\n  unicode-range:\n    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,\n    U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,\n    U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-latin-ext.woff2) format("woff2");\n  unicode-range:\n    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,\n    U+A720-A7FF;\n}\n/* latin */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-latin.woff2) format("woff2");\n  unicode-range:\n    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,\n    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* keyboard symbols (←↑→↓↵⇧⇪⌘⌥) */\n@font-face {\n  font-family: "Inter";\n  font-style: normal;\n  font-weight: 100 900;\n  font-display: swap;\n  src: url(https://fonts.scalar.com/inter-symbols.woff2) format("woff2");\n  unicode-range: U+2190-2193, U+21B5, U+21E7, U+21EA, U+2318, U+2325;\n}\n/* JetBrains Mono (--scalar-font-code) */\n/* cyrillic-ext */\n@font-face {\n  font-family: "JetBrains Mono";\n  font-style: normal;\n  font-weight: 400;\n  src: url(https://fonts.scalar.com/mono-cyrillic-ext.woff2) format("woff2");\n  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n  font-family: "JetBrains Mono";\n  font-style: normal;\n  font-weight: 400;\n  src: url(https://fonts.scalar.com/mono-cyrillic.woff2) format("woff2");\n  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n  font-family: "JetBrains Mono";\n  font-style: normal;\n  font-weight: 400;\n  src: url(https://fonts.scalar.com/mono-greek.woff2) format("woff2");\n  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n  font-family: "JetBrains Mono";\n  font-style: normal;\n  font-weight: 400;\n  src: url(https://fonts.scalar.com/mono-vietnamese.woff2) format("woff2");\n  unicode-range:\n    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,\n    U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,\n    U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n  font-family: "JetBrains Mono";\n  font-style: normal;\n  font-weight: 400;\n  src: url(https://fonts.scalar.com/mono-latin-ext.woff2) format("woff2");\n  unicode-range:\n    U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,\n    U+A720-A7FF;\n}\n/* latin */\n@font-face {\n  font-family: "JetBrains Mono";\n  font-style: normal;\n  font-weight: 400;\n  src: url(https://fonts.scalar.com/mono-latin.woff2) format("woff2");\n  unicode-range:\n    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,\n    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n':""].join("");return r?`@layer ${r} {\n${n}}`:n})(h.value.theme,{fonts:h.value.withDefaultFonts})),g=iJt({plugins:Object.values(s.value).flatMap(e=>e.config.plugins??[])});if(pn(sJt,g),g.notifyInit(h.value),fn(h,e=>g.notifyConfigChange(e)),typeof window<"u"){let e=y2t(window.location.href,bmt(h.value.modelsSectionLabel??"Models"),c.value,l.value,h.value.pathRouting?.basePath);e&&window.history.replaceState({},"",e.toString())}if(h.value.redirect&&typeof window<"u"){let e=h.value.redirect((h.value.pathRouting?window.location.pathname:"")+window.location.hash);e&&window.history.replaceState({},"",e)}let v=GNt({verbose:!1}),b=GNt({verbose:!1,plugins:[pJt({persistAuth:()=>h.value.persistAuth??!1})]}),{toggleColorMode:y,isDarkMode:O}=mht({initialColorMode:{true:"dark",false:"light",undefined:"system"}[String(h.value.darkMode)],overrideColorMode:h.value.forceDarkModeState}),x=ol(()=>v.workspace.activeDocument),w=Ukt(ol(()=>Object.entries(v.workspace.documents).map(([e,t])=>({id:e,type:"document",description:t.info.description,name:t.info.title??e,title:t.info.title??e,children:t["x-scalar-navigation"]?.children??[]}))),{hooks:{}}),k=e=>{e.forEach(e=>{("tag"===e.type||"models"===e.type)&&w.setExpanded(e.id,!0),"children"in e&&e.children&&k(e.children)})},S=ol(()=>{let e=h.value;if(!e)return[];let t=w.items.value.find(e=>e.id===c.value)?.children??[];if(e.defaultOpenAllTags&&k(t),e.expandAllModelSections){let e=t.find(e=>"models"===e.type);e&&(w.setExpanded(e.id,!0),e.children?.forEach(e=>{w.setExpanded(e.id,!0)}))}return t}),A=ol(()=>S.value.find(e=>"text"===e.type&&"Introduction"===e.title)?.id??`${c.value}/description/introduction`),_=Za(""),T=ol(()=>({breadcrumb:_.value})),E=e=>{let t=w.getEntryById(e);t&&"document"!==t.type?_.value=t.title:_.value=""},C=e=>{E(e),w.setSelected(e),R2t(e,w.setExpanded,w.getEntryById)},P=e=>{let t=h.value?.setPageTitle,a=w.getEntryById(e);if(!t||typeof document>"u"||!a?.title)return;let r=v.workspace.activeDocument;document.title=t({title:a.title,document:{title:r?.info?.title??c.value,slug:c.value}})};m3t({config:()=>h.value,store:v,isDarkMode:O}),m3t({config:()=>h.value,store:b,isDarkMode:O});let M=ol(()=>rK(v,v.workspace.activeDocument??null).environment);typeof window<"u"&&(window.dataDumpWorkspace=()=>v),t({eventBus:o,workspaceStore:v,sidebarItems:S});let $=ol(()=>S.value.filter(e=>"models"===e.type).flatMap(e=>e.children??[]).filter(e=>"model"===e.type).reduce((e,t)=>(e[t.name]=t.id,e),{}));o.on("scroll-to:model-by-name",({name:e})=>{let t=$.value[e];t&&C(t)});let N=async(e,t)=>{let a=await v.addDocument(e,t),r=v.exportWorkspace();return b.loadWorkspace({auth:{},documents:{[e.name]:y3t(r.documents[e.name])??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""}},intermediateDocuments:{},originalDocuments:{},overrides:{},history:{},meta:{}}),a},R=async(e,t)=>{let a=s.value[e];if(!a)return void console.warn(`Document ${e} not found in configList`);let r={...a.config,...p.value},n=r.onDocumentSelect?.();if(function(e,t,a){let r=m2t(t||e,a.pathRouting?.basePath,l.value);r&&window.history.replaceState({},"",r.toString()),c.value=e}(e,t,r),j.value?.route({documentSlug:e,method:"get",path:"/"}),!v.workspace.documents[e]){let t=await N(a.source.url?{name:e,url:a.source.url,fetch:r.customFetch}:{name:e,document:a.source.content??{}},r),n=b.workspace.documents[e];if(!0===t&&eK(n)&&void 0===n["x-scalar-selected-server"]){let t=bJ(a.config.servers??n.servers,{baseServerUrl:h.value.baseServerURL,documentUrl:a.source.url});t.length>0&&b.updateDocument(e,"x-scalar-selected-server",t[0].url)}}if(v.update("x-scalar-active-document",e),b.update("x-scalar-active-document",e),r.persistAuth&&((e,t)=>{let a=dJt().getAuth(t);e.auth.load({[t]:a})})(b,e),(async()=>{await n,r.onLoaded?.(e)})(),t&&t!==e)C(t);else if(r.defaultOpenFirstTag){let e=S.value.find(e=>"tag"===e.type);e&&w.setExpanded(e.id,!0)}P(t&&t!==e?t:e)};fn(()=>Object.values(s.value),async(e,t)=>{let a=async(e,t)=>{if(v.workspace.documents[e.slug]){if(e.source.url&&e.source.url!==t?.source.url)return void await N({name:e.slug,url:e.source.url,fetch:e.config.customFetch},e.config);e.source.content&&nIt(e.source.content,t&&"content"in t.source?t.source.content??{}:{}).length&&await N({name:e.slug,document:e.source.content},e.config)}};e.forEach((e,r)=>a(e,t[r]));let r=e.map(e=>e.slug),n=t.map(e=>e.slug);(r.length!==n.length||!r.every((e,t)=>e===n[t]))&&await R(r[0]??"")},{deep:!0}),is(()=>R(c.value)),es(async()=>{(e=>{let t=uJt().get();uJe(t)&&!e.workspace["x-scalar-default-client"]&&e.update("x-scalar-default-client",t)})(b),await R(c.value,h2t(window.location.href,s.value[c.value]?.config.pathRouting?.basePath,l.value?void 0:c.value))});let D=ol(()=>s.value[c.value]?.source?.url),L=function(e){let t=Za(!1),a=Za(""),r={showAgent:t,agentEnabled:e.agentEnabled??ol(()=>_W(window.location.href)),prefilledMessage:a,openAgent:e=>{a.value=e??"",t.value=!0},closeAgent:()=>{t.value=!1,a.value=""},toggleAgent:()=>{t.value=!t.value,t.value||(a.value="")}};return iIt.value=r,r}({agentEnabled:ol(()=>!s.value[c.value]?.agent?.disabled&&(!!(typeof window<"u"&&_W(window.location.href))||!!s.value[c.value]?.agent?.key))});pn(oIt,L);let B=Nn("modal"),j=Za(null);ts(async()=>{if(!B.value)return;let{createApiClientModal:e}=await Promise.resolve().then(()=>(gYt(),fYt));B.value&&(j.value=e({el:B.value,eventBus:o,workspaceStore:b,options:h,plugins:[...g.getApiClientPlugins(),...h3t(h,M)]}))}),ns(()=>{g.notifyDestroy(),j.value?.app.unmount()}),o.on("server:update:selected",({url:e})=>h.value.onServerChange?.(e)),o.on("asyncapi-server:update:selected",({name:e})=>{let t=b.workspace.activeDocument;if(!tK(t))return;let a=_St(t,{webSocketOnly:!1}).find(t=>t.name===e);h.value.onServerChange?.(a?.url??e)}),o.on("ui:download:document",({format:e})=>{let t=v.exportActiveDocument(e);t?p3t(t,c.value??"openapi",e):console.error("No document found to download")});let U=(e,t)=>{let a=w.getEntryById(e);if(P(e),("tag"===a?.type||"models"===a?.type||"text"===a?.type)&&w.isExpanded(e)&&w.selectedItem.value===e){let t=C2t();return w.setExpanded(e,!1),void t()}"tag"!==a?.type&&"models"!==a?.type&&(i.value=!1),C(e);let r=m2t(e,m.value,l.value);r&&(window.history.pushState({},"",r),"sidebar"===t&&h.value.onSidebarClick?.(r.toString())),L.showAgent.value&&L.closeAgent()};o.on("select:nav-item",({id:e})=>U(e)),o.on("scroll-to:nav-item",({id:e})=>U(e)),o.on("intersecting:nav-item",({id:e})=>{if(!P2t.value)return;w.setSelected(e),E(e),P(e),Qkt(e);let t=m2t(e,m.value,l.value);t&&v.workspace.activeDocument&&window.history.replaceState({},"",t.toString())}),o.on("toggle:nav-item",({id:e,open:t})=>{if(t){h.value.onShowMore?.(e);let t=w.getEntryById(e);if(t&&"children"in t&&t.children){let e=t.children[0];e&&$2t(e.id)}}w.setExpanded(e,t??!w.isExpanded(e))}),o.on("copy-url:nav-item",({id:e})=>{let t=m2t(e,m.value,l.value)?.toString();return t&&r(t)}),es(()=>{window.history.scrollRestoration="manual",kht(),window.addEventListener("popstate",()=>{let e=h2t(window.location.href,h.value.pathRouting?.basePath,l.value?void 0:c.value);e&&C(e)})});let z=Nn("documentStartRef");_Kt(z,()=>{o.emit("intersecting:nav-item",{id:A.value})},{onExit:()=>{let e=window.innerHeight/2,t=document.elementsFromPoint(window.innerWidth/2,e).find(e=>"SECTION"===e.tagName&&e.id);t?.id&&o.emit("intersecting:nav-item",{id:t.id})},immediate:!0});let H=ol(()=>{let e=v.workspace["x-scalar-color-mode"];return"system"===e?typeof window>"u"||"function"!=typeof window?.matchMedia?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e}),Z=function(e,t=!1){let a=Va(t),r=null,n="";fn(mpe(e),e=>{let t=Dpe(Wa(e));if(t){let e=t;if(qpe.get(e)||qpe.set(e,e.style.overflow),"hidden"!==e.style.overflow&&(n=e.style.overflow),"hidden"===e.style.overflow)return a.value=!0;if(a.value)return e.style.overflow="hidden"}},{immediate:!0});let o=()=>{let t=Dpe(Wa(e));!t||a.value||(kpe&&(r=Tpe(t,"touchmove",e=>{Bpe(e)},{passive:!1})),t.style.overflow="hidden",a.value=!0)},i=()=>{let t=Dpe(Wa(e));!t||!a.value||(kpe&&r?.(),t.style.overflow=n,qpe.delete(t),a.value=!1)};return hpe(i),ol({get:()=>a.value,set(e){e?o():i()}})}(typeof document<"u"?document.body:null);fn(L.showAgent,()=>Z.value=L.showAgent.value);let V=ol(()=>!h.value.mcp?.disabled&&!!(typeof window<"u"&&_W(window.location.href)||h.value.mcp));return(e,t)=>(Zo(),qo("div",null,[(Zo(),Fo(Wn("style"),null,{default:cn(()=>[ei(Kt(h.value.customCss)+" "+Kt(f.value),1)]),_:1})),Go("div",{ref:"documentEl",class:tt(["scalar-app scalar-api-reference references-layout",[{"scalar-api-references-standalone-mobile":h.value.showSidebar,"scalar-scrollbars-obtrusive":n.value,"references-editable":h.value.isEditable,"references-sidebar":h.value.showSidebar,"references-sidebar-mobile-open":i.value,"references-classic":"classic"===h.value.layout},e.$attrs.class]])},[Fa(L).agentEnabled.value?(Zo(),Fo(Fa(EYt),{key:0,agentScalarConfiguration:s.value[c.value]?.agent,externalUrls:h.value.externalUrls,workspaceStore:Fa(v)},null,8,["agentScalarConfiguration","externalUrls","workspaceStore"])):ai("",!0),"modern"===h.value.layout?(Zo(),Fo(z4t,{key:1,breadcrumb:_.value,isSidebarOpen:i.value,showSidebar:h.value.showSidebar,onToggleSidebar:t[3]||=()=>i.value=!i.value},{search:cn(()=>[h.value.hideSearch?ai("",!0):(Zo(),Fo(u3t,{key:0,class:"my-2",document:x.value,eventBus:Fa(o),hideModels:h.value.hideModels,modelsSectionLabel:h.value.modelsSectionLabel,searchHotKey:h.value.searchHotKey,showSidebar:h.value.showSidebar},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey","showSidebar"]))]),sidebar:cn(({sidebarClasses:a})=>[h.value.showSidebar&&"modern"===h.value.layout?(Zo(),Fo(Fa(Bkt),{key:0,"aria-label":`Sidebar for ${Fa(v).workspace.activeDocument?.info?.title}`,class:tt(["t-doc__sidebar",a]),isExpanded:Fa(w).isExpanded,isSelected:Fa(w).isSelected,items:S.value,layout:"reference",options:h.value,role:"navigation",onSelectItem:t[1]||=e=>U(e,"sidebar"),onToggleGroup:t[2]||=e=>Fa(w).setExpanded(e,!Fa(w).isExpanded(e))},{header:cn(()=>[u.value.length>1?(Zo(),Fo(U6t,{key:0,modelValue:c.value,options:u.value,"onUpdate:modelValue":R},null,8,["modelValue","options"])):ai("",!0),h.value.hideSearch?ai("",!0):(Zo(),qo("div",O3t,[qs(u3t,{document:x.value,eventBus:Fa(o),hideModels:h.value.hideModels,modelsSectionLabel:h.value.modelsSectionLabel,searchHotKey:h.value.searchHotKey},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey"]),Fa(L).agentEnabled.value?(Zo(),Fo(Fa(lIt),{key:0})):ai("",!0)])),Jn(e.$slots,"sidebar-start",at(Ko(T.value)),void 0,!0)]),footer:cn(()=>[Jn(e.$slots,"sidebar-end",at(Ko(T.value)),()=>[qs(Fa(Rht),{class:"darklight-reference"},{toggle:cn(()=>[h.value.hideDarkModeToggle||h.value.forceDarkModeState?(Zo(),qo("span",x3t)):(Zo(),Fo(Fa(oht),{key:0,modelValue:"dark"===H.value,"onUpdate:modelValue":t[0]||=()=>Fa(y)()},null,8,["modelValue"]))]),default:cn(()=>[h.value.hideClientButton||V.value?ai("",!0):(Zo(),Fo(Fa(KS),{key:0,buttonSource:"sidebar",integration:h.value._integration,isDevelopment:Fa(!1),url:D.value},null,8,["integration","isDevelopment","url"])),V.value?(Zo(),Fo(Fa(NYt),{key:1,config:h.value.mcp,externalUrls:h.value.externalUrls,isDevelopment:Fa(!1),url:D.value,workspace:Fa(v)},null,8,["config","externalUrls","isDevelopment","url","workspace"])):ai("",!0)]),_:1})],!0)]),_:3},8,["aria-label","class","isExpanded","isSelected","items","options"])):ai("",!0)]),_:3},8,["breadcrumb","isSidebarOpen","showSidebar"])):ai("",!0),Go("main",{"aria-label":`Open API Documentation for ${Fa(v).workspace.activeDocument?.info?.title}`,class:"references-rendered",inert:Fa(L).showAgent.value},[qs(L4t,{authStore:Fa(b).auth,clientDocument:Fa(b).workspace.activeDocument,document:Fa(v).workspace.activeDocument,environment:M.value,eventBus:Fa(o),expandedItems:Fa(w).expandedItems.value,headingSlugGenerator:h.value.generateHeadingSlug??(e=>`${c.value}/description/${e.slug}`),infoSectionId:A.value,items:S.value,options:h.value,xScalarDefaultClient:Fa(b).workspace["x-scalar-default-client"]},Kn({start:cn(()=>[Go("div",{ref_key:"documentStartRef",ref:z},null,512),Fa(v).workspace.activeDocument?(Zo(),Fo(Fa(D6t),{key:0,overrides:p.value,"onUpdate:overrides":t[4]||=e=>p.value=e,class:"references-developer-tools",configuration:h.value,externalUrls:h.value.externalUrls,workspace:Fa(v)},null,8,["overrides","configuration","externalUrls","workspace"])):ai("",!0),"classic"===h.value.layout?(Zo(),Fo(LYt,{key:1},{"dark-mode-toggle":cn(()=>[h.value.hideDarkModeToggle||h.value.forceDarkModeState?ai("",!0):(Zo(),Fo(Fa(aht),{key:0,class:"text-c-2 hover:text-c-1",mode:H.value,style:{transform:"scale(1.4)"},variant:"icon",onClick:t[5]||=()=>Fa(y)()},null,8,["mode"]))]),default:cn(()=>[Go("div",k3t,[u.value.length>1?(Zo(),Fo(U6t,{key:0,modelValue:c.value,options:u.value,"onUpdate:modelValue":R},null,8,["modelValue","options"])):ai("",!0)]),h.value.hideSearch?ai("",!0):(Zo(),Fo(u3t,{key:0,class:"t-doc__sidebar max-w-64",document:x.value,eventBus:Fa(o),hideModels:h.value.hideModels,modelsSectionLabel:h.value.modelsSectionLabel,searchHotKey:h.value.searchHotKey},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey"]))]),_:1})):ai("",!0),Jn(e.$slots,"content-start",at(Ko(T.value)),void 0,!0)]),end:cn(()=>[Jn(e.$slots,"content-end",at(Ko(T.value)),void 0,!0)]),_:2},[h.value.isEditable?{name:"empty-state",fn:cn(()=>[Jn(e.$slots,"editor-placeholder",at(Ko(T.value)),void 0,!0)]),key:"0"}:void 0]),1032,["authStore","clientDocument","document","environment","eventBus","expandedItems","headingSlugGenerator","infoSectionId","items","options","xScalarDefaultClient"])],8,w3t),e.$slots.footer?(Zo(),qo("div",S3t,[Jn(e.$slots,"footer",at(Ko(T.value)),void 0,!0)])):ai("",!0),Go("div",{ref_key:"modal",ref:B},null,512)],2),qs(Fa(M4e))]))}}),[["__scopeId","data-v-be46ef19"]]);ne(),Rc();var _3t=e=>e.getElementById("api-reference"),T3t="scalar-style",E3t=new WeakMap,C3t=e=>{let t=E3t.get(e);if(t)return t;let a={count:0,detachedStyle:null};return E3t.set(e,a),a};var P3t=(e,t)=>{let a=null,r=_3t(e);return r?(a=e.createElement("div"),r?.parentNode?.insertBefore(a,r)):t&&(a=t),a},M3t=(e,t)=>{let a=Ma({configuration:t??e??{}}),r=(e=!1)=>{let t=e?Nc(()=>hi(A3t,a)):$c(()=>hi(A3t,a));return t.use(Uc()),t.config.idPrefix="scalar-refs",t},n=t?"string"==typeof e?document.querySelector(e):e:null,o=r(!!t&&!!n&&n.children.length>0),i=!1;t&&(n?(o.mount(n),i=!0,(e=>{let t=C3t(e);t.count+=1,t.detachedStyle&&!e.getElementById(T3t)&&(e.head.appendChild(t.detachedStyle),t.detachedStyle=null)})(document)):console.error("Could not find a mount point for API References:",e));let s=new AbortController,l={capture:!1,signal:s.signal};document.addEventListener("scalar:reload-references",()=>{if(console.warn("scalar:reload-references event has been deprecated, please use the scalarInstance.app.mount method instead."),!a.configuration)return;let t="string"==typeof e?document.querySelector(e):e;t&&(t&&!document.body.contains(t)&&document.body.appendChild(t),o.unmount(),o=r(),o.mount(t))},l);let c=()=>{s.abort(),a.configuration={},o.unmount(),i&&(i=!1,(e=>{let t=C3t(e);if(t.count=Math.max(0,t.count-1),t.count>0)return;let a=e.getElementById(T3t);a instanceof HTMLStyleElement&&(t.detachedStyle=a,a.remove())})(document))};return document.addEventListener("scalar:destroy-references",()=>{console.warn("scalar:destroy-references event has been deprecated, please use scalarInstance.destroy instead."),c()},l),document.addEventListener("scalar:update-references-config",e=>{console.warn("scalar:update-references-config event has been deprecated, please use scalarInstance.updateConfiguration instead."),"detail"in e&&Object.assign(a,e.detail)},l),{app:o,getConfiguration:()=>a.configuration??{},updateConfiguration:e=>{a.configuration=e},destroy:c}};"object"==typeof window&&(window.Scalar={createApiReference:M3t}),function(e,t){let a=e.querySelector("[data-spec]"),r=e.querySelector("[data-spec-url]");t?.darkMode?e.body?.classList.add("dark-mode"):e.body?.classList.add("light-mode");let n=P3t(e,a||r);n&&M3t(n,t)}(document,function(e){let t=e.querySelector("[data-spec]"),a=e.querySelector("[data-spec-url]"),r=e.querySelector("#api-reference[data-configuration]"),n=()=>{if(r){let e=r.getAttribute("data-configuration");if(e)return{_integration:"html",...JSON.parse(e.split("&quot;").join('"'))}}return L({_integration:"html"})},o=()=>{if(n().url)return n().url;if(n().spec?.url)return n().spec?.url;let t=_3t(e);if(t){let e=t.getAttribute("data-url")?.trim();if(e)return e}if(a){console.warn('[@scalar/api-reference] The [data-spec-url] HTML API is deprecated. Use the new <script id="api-reference" data-url="/scalar.json" /> API instead.');let e=a.getAttribute("data-spec-url");if(e)return e}},i=()=>{let a=_3t(e);if(a){let e=a.innerHTML?.trim();if(e)return e}if(t){console.warn('[@scalar/api-reference] The [data-spec] HTML API is deprecated. Use the new <script id="api-reference" type="application/json">{"openapi":"3.1.0","info":{"title":"Example"},"paths":{}}<\/script> API instead.');let e=t.getAttribute("data-spec")?.trim();if(e)return e}},s=()=>{let t=_3t(e);if(t){let e=t.getAttribute("data-proxy-url");if(e)return e.trim()}};if(a||t||_3t(e)){let e=i()?{content:i()}:{url:o()};return L({_integration:"html",proxyUrl:s(),...n(),...e})}return L({_integration:"html"})}(document))});
//# sourceMappingURL=/sm/5c37b0b796b2c28dfa0e07acfc52f1c47ecf23c119b98b76273eaa58e93ec6ac.map