/**
 * Minified by jsDelivr using Terser v5.48.0.
 * Original file: /npm/@scalar/api-reference@1.68.0/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.3.3 | 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-border-style:solid;--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-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-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-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-0aba6db2],[data-v-0aba6db2]:before,[data-v-0aba6db2]:after,[data-v-0aba6db2]::backdrop{--tw-outline-style:solid}}}@layer scalar-base{body{line-height:inherit;margin:0}:root{--scalar-border-width:.5px;--scalar-radius:3px;--scalar-radius-max:20px;--scalar-radius-md:min(var(--scalar-radius), var(--scalar-radius-max));--scalar-radius-lg:min(calc(var(--scalar-radius) * 2), var(--scalar-radius-max));--scalar-radius-xl:min(calc(var(--scalar-radius) * 8 / 3), var(--scalar-radius-max));--scalar-radius-2xl:min(calc(var(--scalar-radius) * 4), var(--scalar-radius-max));--scalar-radius-3xl:min(calc(var(--scalar-radius) * 16 / 3), var(--scalar-radius-max));--scalar-radius-full:calc(var(--scalar-radius) * 9999);--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}}@media (resolution<=1.5x){@supports ((-moz-appearance:none)){:root{--scalar-border-width:1px}}}: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:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.light-mode{--scalar-tooltip-background:color-mix(in srgb, var(--scalar-background-1), transparent 10%)}}.light-mode{--scalar-tooltip-color:var(--scalar-color-1);--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-md);border-width:1px}:where(.scalar-app) input,:where(.scalar-app) select,:where(.scalar-app) textarea{text-align:start}:where(.scalar-app) input::placeholder,:where(.scalar-app) text-area::placeholder{color:var(--scalar-color-3);font-family:var(--scalar-font)}:where(.scalar-app) ::-webkit-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-text-fill-color:var(--scalar-color-1);-webkit-background-clip:text!important;background-clip:text!important}:where(.scalar-app) :focus-visible{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-app .hljs-regexp,.scalar-app .hljs-string,.scalar-app .hljs-built_in,.scalar-app .hljs-subst,.scalar-app .hljs-name,.scalar-app .hljs-doctag,.scalar-app .hljs-section,.scalar-app .hljs-title{color:var(--scalar-color-blue)}.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{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-md);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-md);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-md)}.scalar-app .markdown th:last-of-type{border-top-right-radius:var(--scalar-radius-md)}.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{border-radius:var(--scalar-radius);min-height:40px;font-weight:var(--scalar-semibold);line-height:var(--markdown-line-height);cursor:pointer;-webkit-user-select:none;user-select:none;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:var(--scalar-radius-md);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-md);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,dialog)>.scalar-tooltip{--scalar-tooltip-padding-x:8px;--scalar-tooltip-padding-y:6px;padding:var(--scalar-tooltip-padding-y) var(--scalar-tooltip-padding-x);z-index:99999;max-width:320px;font-size:var(--scalar-font-size-5);--tw-font-weight:var(--scalar-regular);line-height:16px;font-weight:var(--scalar-regular);overflow-wrap:break-word;color:var(--scalar-tooltip-color)}:where(body,dialog)>.scalar-tooltip[data-side=top]{padding-bottom:calc(var(--scalar-tooltip-padding-y) + var(--scalar-tooltip-offset))}:where(body,dialog)>.scalar-tooltip[data-side=bottom]{padding-top:calc(var(--scalar-tooltip-padding-y) + var(--scalar-tooltip-offset))}:where(body,dialog)>.scalar-tooltip[data-side=left]{padding-right:calc(var(--scalar-tooltip-padding-x) + var(--scalar-tooltip-offset))}:where(body,dialog)>.scalar-tooltip[data-side=right]{padding-left:calc(var(--scalar-tooltip-padding-x) + var(--scalar-tooltip-offset))}:where(body,dialog)>.scalar-tooltip:before{content:"";z-index:calc(1 * -1);border-radius:var(--scalar-radius-lg);border-style:var(--tw-border-style);border-width:var(--scalar-border-width);background-color:var(--scalar-tooltip-background);--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);--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;inset:0}:where(body,dialog)>.scalar-tooltip[data-side=top]:before{bottom:var(--scalar-tooltip-offset)}:where(body,dialog)>.scalar-tooltip[data-side=bottom]:before{top:var(--scalar-tooltip-offset)}:where(body,dialog)>.scalar-tooltip[data-side=left]:before{right:var(--scalar-tooltip-offset)}:where(body,dialog)>.scalar-tooltip[data-side=right]:before{left:var(--scalar-tooltip-offset)}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@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}@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}.scalar-virtual-text-search-input[data-v-95edadbb]::-webkit-search-cancel-button{display:none}.scalar-virtual-text[data-v-77b9d685]:focus{outline:none}.scalar-virtual-text-highlight[data-v-77b9d685]{background:var(--scalar-background-accent);color:inherit;border-radius:var(--scalar-radius);padding:1px 0}.scalar-virtual-text-highlight-active[data-v-77b9d685]{background:var(--scalar-color-accent);color:var(--scalar-background-1);border-radius:var(--scalar-radius)}.sidebar-heading-type[data-v-bdef8365]{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))}.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-dfc591f4] .cm-editor{background:0 0;outline:none;height:100%;padding:0}[data-v-dfc591f4] .cm-placeholder{color:var(--scalar-color-3)}[data-v-dfc591f4] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-small);max-height:20px;padding:8px 0}[data-v-dfc591f4] .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-dfc591f4] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-dfc591f4] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-dfc591f4] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-dfc591f4] .cm-tooltip-autocomplete ul{position:relative;padding:6px!important}[data-v-dfc591f4] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-dfc591f4] .cm-activeLine,[data-v-dfc591f4] .cm-activeLineGutter{background-color:#0000}[data-v-dfc591f4] .cm-selectionMatch,[data-v-dfc591f4] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-dfc591f4] .cm-css-color-picker-wrapper{outline:1px solid var(--scalar-background-3);border-radius:3px;display:inline-flex;overflow:hidden}[data-v-dfc591f4] .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-dfc591f4] .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-dfc591f4] .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-dfc591f4] .cm-lineNumbers .cm-gutterElement{min-width:fit-content}[data-v-dfc591f4] .cm-gutter+.cm-gutter :not(.cm-foldGutter) .cm-gutterElement{padding-left:0!important}[data-v-dfc591f4] .cm-scroller{overflow:auto}.line-wrapping[data-v-dfc591f4]:focus-within .cm-content{white-space:break-spaces;word-break:break-all;min-height:fit-content;padding:3px 6px;display:inline-table}.cm-pill{border-radius:var(--scalar-radius-full);font-size:var(--scalar-small);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)}.code-input-lite[data-v-4dfd05a3]{align-items:center;display:flex}.code-input-lite__editor[data-v-4dfd05a3]{font:inherit;letter-spacing:inherit;min-width:0;color:var(--scalar-color-1);caret-color:var(--scalar-color-1);white-space:pre;scrollbar-width:none;box-sizing:border-box;background:0 0;outline:none;flex:1;padding:0 .5em;line-height:1.44;position:relative;overflow:auto hidden}.code-input-lite__editor[data-v-4dfd05a3]::-webkit-scrollbar{display:none}.code-input-lite--empty .code-input-lite__editor[data-v-4dfd05a3]:not(:focus):before{content:attr(data-placeholder);color:var(--scalar-color-3);pointer-events:none;align-items:center;display:flex;position:absolute;top:0;bottom:0;left:.5em}.code-input-lite--error .code-input-lite__editor[data-v-4dfd05a3]{outline:1px solid var(--scalar-color-red)}.scalar-pill{color:var(--scalar-color-2);border-radius:var(--scalar-radius-full);font-family:var(--scalar-font-code);vertical-align:baseline;background:var(--scalar-background-3);cursor:text;-webkit-user-select:all;user-select:all;margin-right:.35em;padding:.125em .6em;font-size:.9em;line-height:1.4;display:inline-block}.dark-mode .scalar-pill{background:var(--tw-bg-base,var(--scalar-color-1))}@supports (color:color-mix(in lab, red, red)){.dark-mode .scalar-pill{background:color-mix(in srgb, var(--tw-bg-base,var(--scalar-color-1)), transparent 90%)}}.light-mode .scalar-pill{background:var(--scalar-background-3)}.scalar-pill--context-fn{box-shadow:0 0 0 1px var(--scalar-color-3) inset}@supports (color:color-mix(in lab, red, red)){.scalar-pill--context-fn{box-shadow:0 0 0 1px color-mix(in srgb, var(--scalar-color-3), transparent 35%) inset}}.dark-mode .scalar-pill--context-fn{background:var(--scalar-background-3)}@supports (color:color-mix(in lab, red, red)){.dark-mode .scalar-pill--context-fn{background:color-mix(in srgb, var(--scalar-background-3), transparent 55%)}}.light-mode .scalar-pill--context-fn{background:var(--scalar-background-3)}@supports (color:color-mix(in lab, red, red)){.light-mode .scalar-pill--context-fn{background:color-mix(in srgb, var(--scalar-background-3), transparent 40%)}}[data-v-13500378] .code-input-lite__editor{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;padding:5px 8px}[data-v-13500378] .scalar-pill:not(:last-of-type){margin-right:.15em}[data-v-13500378] .scalar-pill:not(:first-of-type){margin-left:.5px}[data-v-928dfb0c] .cm-content{font-size:var(--scalar-small)}[data-v-a6f4752a] .code-input-lite__editor{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;padding:5px 8px}[data-v-a6f4752a] .scalar-pill:not(:last-of-type){margin-right:.15em}[data-v-a6f4752a] .scalar-pill:not(:first-of-type){margin-left:.5px}.required[data-v-a6f4752a]:after{content:"Required"}input[data-v-a6f4752a]::placeholder{color:var(--scalar-color-3)}.scalar-password-input[data-v-a6f4752a]{text-security:disc;-webkit-text-security:disc;-moz-text-security:disc}.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}.request-section-content[data-v-bfd0db87]{--scalar-border-width:.5px}.request-section-content-filter[data-v-bfd0db87]{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons[data-v-bfd0db87]{opacity:1}.group-hover-input[data-v-bfd0db87]{border-width:var(--scalar-border-width);border-color:#0000}.group:hover .group-hover-input[data-v-bfd0db87]{background:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.group:hover .group-hover-input[data-v-bfd0db87]{background:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.group:hover .group-hover-input[data-v-bfd0db87]{border-color:var(--scalar-border-color)}.group-hover-input[data-v-bfd0db87]: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-a10b4008]{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-a10b4008]{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)}}.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}.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-c414dc68] .cm-editor{outline:none;width:100%;height:100%}[data-v-c414dc68] .cm-line{padding:0}[data-v-c414dc68] .cm-content{font-size:var(--scalar-small);align-items:center;padding:0;display:flex}.scroll-timeline-x[data-v-c414dc68]{-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-c414dc68]{overflow-x:auto}.scroll-timeline-x-hidden[data-v-c414dc68] .cm-scroller{scrollbar-width:none;-ms-overflow-style:none;padding-right:20px;overflow:auto}.scroll-timeline-x-hidden[data-v-c414dc68]::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-hidden[data-v-c414dc68] .cm-scroller::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-address[data-v-c414dc68]{scrollbar-width:none;line-height:27px}.scroll-timeline-x-address[data-v-c414dc68]:after{content:"";cursor:text;width:24px;height:100%;position:absolute;right:0}.scroll-timeline-x-address[data-v-c414dc68]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.address-bar-bg-states[data-v-c414dc68]{--scalar-address-bar-bg:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.address-bar-bg-states[data-v-c414dc68]{--scalar-address-bar-bg:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.address-bar-bg-states[data-v-c414dc68]{background:var(--scalar-address-bar-bg)}.address-bar-bg-states[data-v-c414dc68]:has(.cm-focused){--scalar-address-bar-bg:var(--scalar-background-1);border-color:var(--scalar-border-color);outline-width:1px;outline-style:solid}:is(.address-bar-bg-states:has(.cm-focused) .fade-left[data-v-c414dc68],.address-bar-bg-states:has(.cm-focused) .fade-right[data-v-c414dc68]){--scalar-address-bar-bg:var(--scalar-background-1)}.app-exit-button[data-v-3769522e]{color:#fff;background:#0000001a}.app-exit-button[data-v-3769522e]:hover{background:#ffffff1a}[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-5b336842] .code-input-lite__editor{font-family:var(--scalar-font);font-size:var(--scalar-small);background-color:#0000;padding:5px 8px}[data-v-5b336842] .scalar-pill:not(:last-of-type){margin-right:.15em}[data-v-5b336842] .scalar-pill:not(:first-of-type){margin-left:.5px}.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}.request-card[data-v-e8761738]{color:var(--scalar-color-1);font-size:var(--scalar-font-size-3)}.request-method[data-v-e8761738]{font-family:var(--scalar-font-code);text-transform:uppercase;margin-right:6px}.request-card-footer[data-v-e8761738]{flex-shrink:0;justify-content:flex-end;padding:6px;display:flex;position:relative}.request-card-footer-addon[data-v-e8761738]{flex:1;align-items:center;min-width:0;display:flex}.request-editor-section[data-v-e8761738]{flex:1;display:flex}.request-card-simple[data-v-e8761738]{font-size:var(--scalar-small);justify-content:space-between;align-items:center;padding:8px 8px 8px 12px;display:flex}.code-snippet[data-v-e8761738]{flex-direction:column;width:100%;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-5a1d2b16]{z-index:1;background:var(--scalar-background-1);border-radius:var(--scalar-radius-full);justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-5a1d2b16]:before{content:"";box-sizing:border-box;border:1.75px solid;border-bottom-color:#0000;border-image:initial;border-radius:var(--scalar-radius-full);background:var(--scalar-background-1);width:16px;height:16px;animation:.42s linear infinite rotation-5a1d2b16;display:inline-block;position:absolute}.buildingRequest[data-v-5a1d2b16]{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-5a1d2b16]{z-index:1;border-radius:var(--scalar-radius-full);width:100%;height:100%}@keyframes rotation-5a1d2b16{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-29140773]{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-29140773]{border-radius:var(--scalar-radius-full);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-a375f414]{z-index:1;background:var(--scalar-background-1);border-radius:var(--scalar-radius-full);justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-a375f414]:before{content:"";box-sizing:border-box;border:1.75px solid;border-bottom-color:#0000;border-image:initial;border-radius:var(--scalar-radius-full);background:var(--scalar-background-1);width:16px;height:16px;animation:.42s linear infinite rotation-a375f414;display:inline-block;position:absolute}.sendingRequest[data-v-a375f414]{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-a375f414]{z-index:1;border-radius:var(--scalar-radius-full);width:100%;height:100%}@keyframes rotation-a375f414{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.requestHeaderContainer[data-v-1e1f4549]{justify-content:space-between;align-items:center;padding:0 5px;display:flex}.requestPreview[data-v-1e1f4549]{border-radius:var(--scalar-radius-2xl);flex-direction:column;width:100%;display:flex;position:relative}.requestContent[data-v-1e1f4549]{grid-template-rows:0fr;min-height:0;transition:grid-template-rows .2s ease-out;display:grid;overflow:hidden}.requestPreview.open .requestContent[data-v-1e1f4549]{grid-template-rows:1fr}.requestPreview.succeeded[data-v-1e1f4549]{padding:0}.requestContentInner[data-v-1e1f4549]{min-height:0;overflow:hidden}.code[data-v-1e1f4549]{font-size:var(--scalar-font-size-4);border-radius:var(--scalar-radius-2xl);background:var(--scalar-background-2);flex-direction:column;display:flex}@supports (color:color-mix(in lab, red, red)){.code[data-v-1e1f4549]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.code[data-v-1e1f4549]{margin-bottom:12px;overflow:hidden}.dark-mode .code[data-v-1e1f4549]{background:var(--scalar-background-2)}.code h1[data-v-1e1f4549]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-3);padding:8px}.code[data-v-1e1f4549] .codeBlock{max-height:calc(50vh - 100px);padding-top:0}.autosendContainer[data-v-1e1f4549]{justify-content:space-between;display:flex}.sendButton[data-v-1e1f4549]{background:var(--scalar-color-blue);color:#fff;font-weight:var(--scalar-semibold);padding:5px 10px}.sendButton[data-v-1e1f4549]:hover,.sendButton[data-v-1e1f4549]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.sendButton[data-v-1e1f4549]:hover,.sendButton[data-v-1e1f4549]:active{background:color-mix(in srgb, var(--scalar-color-blue), black 10%)}}.sendButton[data-v-1e1f4549]:hover,.sendButton[data-v-1e1f4549]:active{color:#fff!important}.toggleButton[data-v-1e1f4549]{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-1e1f4549]:hover{text-decoration:underline}.executeRequestTool[data-v-9025b7d4]{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}.playIcon[data-v-0248d9dc]{z-index:1;background:var(--scalar-background-1);border-radius:var(--scalar-radius-full);justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-0248d9dc]:before{content:"";box-sizing:border-box;border:1.5px solid;border-bottom-color:#0000;border-image:initial;border-radius:var(--scalar-radius-full);background:var(--scalar-background-1);width:16px;height:16px;animation:.42s linear infinite rotation-0248d9dc;display:inline-block;position:absolute}.loadingApiSpecs[data-v-0248d9dc]{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-0248d9dc]{z-index:1;border-radius:var(--scalar-radius-full);width:100%;height:100%}@keyframes rotation-0248d9dc{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.contextItem[data-v-0509fef2]{white-space:nowrap;color:var(--scalar-color-2);cursor:pointer;vertical-align:middle;border-radius:var(--scalar-radius-2xl);background:var(--scalar-background-2);align-items:center;padding:5px 10px;font-size:10px;display:flex}@supports (color:color-mix(in lab, red, red)){.contextItem[data-v-0509fef2]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.contextItem[data-v-0509fef2]{max-width:200px}.contextItemText[data-v-0509fef2]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.shimmer[data-v-0509fef2]{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-0509fef2}.light-mode .shimmer[data-v-0509fef2]{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-0509fef2}@keyframes shimmer-0509fef2{0%{background-position:200% 0}to{background-position:-200% 0}}.playIcon[data-v-43864661]{z-index:1;background:var(--scalar-background-1);border-radius:var(--scalar-radius-full);justify-content:center;align-items:center;width:16px;height:16px;padding:4px;display:flex;position:relative}.playIcon[data-v-43864661]:before{content:"";box-sizing:border-box;border:1.5px solid;border-bottom-color:#0000;border-image:initial;border-radius:var(--scalar-radius-full);background:var(--scalar-background-1);width:16px;height:16px;animation:.42s linear infinite rotation-43864661;display:inline-block;position:absolute}.sendingRequest[data-v-43864661]{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-43864661]{z-index:1;border-radius:var(--scalar-radius-full);width:100%;height:100%}@keyframes rotation-43864661{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-fb5102df]{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-fb5102df]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.approvalSection[data-v-fb5102df]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-3xl) var(--scalar-radius-3xl) 0 0;justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.approvalText[data-v-fb5102df]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.approveContainer[data-v-fb5102df]{gap:5px;display:flex}.actionButton[data-v-fb5102df]{font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius-full);font-size:var(--scalar-font-size-3);align-items:center;padding:6px 12px;display:flex}.rejectButton[data-v-fb5102df]{color:#fff;background:var(--scalar-color-red)}.rejectButton[data-v-fb5102df]:hover,.rejectButton[data-v-fb5102df]:active{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.rejectButton[data-v-fb5102df]:hover,.rejectButton[data-v-fb5102df]:active{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 10%)}}.rejectButton[data-v-fb5102df]:hover,.rejectButton[data-v-fb5102df]:active{color:#fff!important}.approveButton[data-v-fb5102df]{color:#fff;background:var(--scalar-color-blue)}.approveButton[data-v-fb5102df]:hover,.approveButton[data-v-fb5102df]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.approveButton[data-v-fb5102df]:hover,.approveButton[data-v-fb5102df]:active{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 10%)}}.approveButton[data-v-fb5102df]:hover,.approveButton[data-v-fb5102df]:active{color:#fff!important}.error[data-v-130cb1d5]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-3xl) var(--scalar-radius-3xl) 0 0;background:var(--scalar-color-red);align-items:center;margin-bottom:-16px;padding:8px 8px 24px 12px;display:flex}@supports (color:color-mix(in lab, red, red)){.error[data-v-130cb1d5]{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}.error[data-v-130cb1d5]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);position:absolute;top:0;transform:translateY(calc(16px - 100%))}.freeMessagesInfoSection[data-v-1921dede]{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-1921dede]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.freeMessagesInfoSection[data-v-1921dede]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-3xl) var(--scalar-radius-3xl) 0 0;justify-content:space-between;align-items:center;display:flex}.infoText[data-v-1921dede]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.actionsContainer[data-v-1921dede]{align-items:center;gap:8px;display:flex}.actionButton[data-v-1921dede]{font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius-full);align-items:center;padding:6px 12px;display:flex}.upgradeButton[data-v-1921dede]{color:#fff;font-size:var(--scalar-font-size-3);background:var(--scalar-color-blue)}.upgradeButton[data-v-1921dede]:hover,.upgradeButton[data-v-1921dede]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.upgradeButton[data-v-1921dede]:hover,.upgradeButton[data-v-1921dede]:active{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 10%)}}.upgradeButton[data-v-1921dede]:hover,.upgradeButton[data-v-1921dede]:active{color:#fff!important}.closeButton[data-v-1921dede]{border-radius:var(--scalar-radius-full);width:28px;height:28px;color:var(--scalar-color-2);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;display:flex}.closeButton[data-v-1921dede]:hover{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.closeButton[data-v-1921dede]:hover{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 80%)}}.closeButton[data-v-1921dede]:hover{color:var(--scalar-color-1)}.paymentSection[data-v-9d163ea1]{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-9d163ea1]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.paymentSection[data-v-9d163ea1]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-3xl) var(--scalar-radius-3xl) 0 0;justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.approvalText[data-v-9d163ea1]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.paymentContainer[data-v-9d163ea1]{gap:5px;display:flex}.actionButton[data-v-9d163ea1]{font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius-full);align-items:center;padding:6px 12px;display:flex}.rejectButton[data-v-9d163ea1]{color:#fff;background:var(--scalar-color-red)}.rejectButton[data-v-9d163ea1]:hover,.rejectButton[data-v-9d163ea1]:active{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.rejectButton[data-v-9d163ea1]:hover,.rejectButton[data-v-9d163ea1]:active{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 10%)}}.rejectButton[data-v-9d163ea1]:hover,.rejectButton[data-v-9d163ea1]:active{color:#fff!important}.approveButton[data-v-9d163ea1]{color:#fff;font-size:var(--scalar-font-size-3);background:var(--scalar-color-blue)}.approveButton[data-v-9d163ea1]:hover,.approveButton[data-v-9d163ea1]:active{background:var(--scalar-color-blue)}@supports (color:color-mix(in lab, red, red)){.approveButton[data-v-9d163ea1]:hover,.approveButton[data-v-9d163ea1]:active{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 10%)}}.approveButton[data-v-9d163ea1]:hover,.approveButton[data-v-9d163ea1]:active{color:#fff!important}.paymentInfo[data-v-9d163ea1]{width:300px;box-shadow:var(--scalar-shadow-2);background:var(--scalar-background-1);border-radius:var(--scalar-radius-3xl);pointer-events:none;opacity:0;padding:12px;transition:all .2s ease-in-out;position:absolute;bottom:70px;right:0;transform:translateY(-5px)}.paymentInfo h3[data-v-9d163ea1]{font-size:var(--scalar-font-size-1);font-weight:var(--scalar-bold);margin-bottom:18px}.paymentInfo h3 span[data-v-9d163ea1]{font-size:var(--scalar-font-size-2)}.dark-mode .paymentInfo[data-v-9d163ea1]{background:var(--scalar-background-2)}.paymentContainer:hover .paymentInfo[data-v-9d163ea1]{opacity:1;transform:translate(0)}.paymentInfoItem[data-v-9d163ea1]{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-9d163ea1]: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-9621c76b]{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-9621c76b]{background:color-mix(in srgb, var(--scalar-color-blue), var(--scalar-background-1) 95%)}}.uploadSection[data-v-9621c76b]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-3xl) var(--scalar-radius-3xl) 0 0;justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;transform:translateY(calc(16px - 100%))}.uploadSection.error[data-v-9621c76b]{background:var(--scalar-color-red)}@supports (color:color-mix(in lab, red, red)){.uploadSection.error[data-v-9621c76b]{background:color-mix(in srgb, var(--scalar-color-red), var(--scalar-background-1) 95%)}}.uploadSection.done[data-v-9621c76b]{background:var(--scalar-color-green)}@supports (color:color-mix(in lab, red, red)){.uploadSection.done[data-v-9621c76b]{background:color-mix(in srgb, var(--scalar-color-green), var(--scalar-background-1) 95%)}}.uploadText[data-v-9621c76b]{font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3)}.icon[data-v-9621c76b]{width:20px;height:20px}.actionContainer[data-v-ba1161a7]{background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.actionContainer[data-v-ba1161a7]{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.actionContainer[data-v-ba1161a7]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-3xl);width:100%;box-shadow:0 24px 0 2px var(--scalar-background-1);position:relative}.promptForm[data-v-ba1161a7]{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:var(--scalar-radius-3xl);flex-direction:column;display:flex;position:relative}.inputActionsContainer[data-v-ba1161a7]{justify-content:space-between;padding:0 8px 8px;display:flex}.inputActionsLeft[data-v-ba1161a7]{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.inputActionsRight[data-v-ba1161a7]{gap:5px;display:flex;position:relative}.apiPill[data-v-ba1161a7]{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);border-radius:var(--scalar-radius-3xl);pointer-events:all;z-index:1;-webkit-user-select:none;user-select:none;align-items:center;gap:4px;height:28px;padding:0 8px;display:flex}.apiPillLogo[data-v-ba1161a7]{width:15px}.apiPillRemove[data-v-ba1161a7]{border-radius:var(--scalar-radius-full);justify-content:center;align-items:center;width:24px;height:24px;margin-right:-6px;display:flex}.apiPill:hover .apiPillRemove[data-v-ba1161a7]{background:var(--scalar-background-2)}.dark-mode .apiPill:hover .apiPillRemove[data-v-ba1161a7]{background:var(--scalar-background-3)}.apiPillRemove[data-v-ba1161a7]:hover{color:var(--scalar-color-1)}.prompt[data-v-ba1161a7]{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-ba1161a7]{background:var(--scalar-background-2)}.prompt[data-v-ba1161a7]:disabled{color:var(--scalar-color-3)}.addAPIButton[data-v-ba1161a7]{color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);width:28px;height:28px;font-weight:var(--scalar-bold);border-radius:var(--scalar-radius-full);pointer-events:all;z-index:1;box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color);justify-content:center;align-items:center;gap:4px;display:flex}.addAPIButton[data-v-ba1161a7]:hover{background:var(--scalar-background-2)}@supports (color:color-mix(in lab, red, red)){.addAPIButton[data-v-ba1161a7]:hover{background:color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1))}}.addAPIButton[data-v-ba1161a7]:hover{box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color)}.dark-mode .addAPIButton[data-v-ba1161a7]:hover{background:var(--scalar-background-3)}.settingsButton[data-v-ba1161a7]{z-index:1;color:var(--scalar-color-3)!important;border-radius:var(--scalar-radius-full)!important;margin:0!important}.settingsButton[aria-disabled=true][data-v-ba1161a7]{background:var(--scalar-background-2)}.dark-mode .settingsButton[data-v-ba1161a7]:hover{background:var(--scalar-background-3)}.sendButton[data-v-ba1161a7]{z-index:1;border:var(--scalar-border-width) solid var(--scalar-color-blue);background:var(--scalar-color-blue)!important;border-radius:var(--scalar-radius-full)!important;margin:0!important}.sendButton[data-v-ba1161a7]:not([aria-disabled=true]){color:#fff!important}.sendButton[data-v-ba1161a7]:not([aria-disabled=true]):hover{background:var(--scalar-color-blue)!important}@supports (color:color-mix(in lab, red, red)){.sendButton[data-v-ba1161a7]:not([aria-disabled=true]):hover{background:color-mix(in srgb, var(--scalar-color-blue), transparent 10%)!important}}.sendButton[aria-disabled=true][data-v-ba1161a7]{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-ba1161a7]{background:var(--scalar-background-3)!important}.contextContainer[data-v-ba1161a7]{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-ba1161a7]{font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius-lg);margin:-4px -6px;padding:4px 6px}.settingsButton[data-v-ba1161a7]:hover{background:var(--scalar-background-2);box-shadow:0 0 var(--scalar-border-width) 0 var(--scalar-border-color);cursor:pointer}.agentLabel[data-v-ba1161a7]{cursor:text;width:100%;height:100%;font-size:0;position:absolute}.sendCheckboxContinue[data-v-ba1161a7]:has(input){border-radius:var(--scalar-radius-3xl);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;align-items:center;height:28px;display:flex}.dark-mode .sendCheckboxContinue[data-v-ba1161a7]:has(input){background:var(--scalar-background-3);box-shadow:0 0 0 1.5px var(--scalar-background-3)}.addMoreContext[data-v-ba1161a7]{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-ba1161a7]:before{content:"";background:var(--scalar-background-1);width:8px;height:8px}@supports (color:color-mix(in lab, red, red)){.addMoreContext[data-v-ba1161a7]:before{background:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.addMoreContext[data-v-ba1161a7]: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-ba1161a7]:before{box-shadow:-.5px -.5px 0 var(--scalar-border-color)}.addAPIContext[data-v-ba1161a7]{border-radius:var(--scalar-radius-full);border:var(--scalar-border-width) solid var(--scalar-border-color);justify-content:center;align-items:center;width:28px;height:28px;display:flex}.termsAgree[data-v-ba1161a7]{cursor:pointer;height:inherit;border-radius:var(--scalar-radius-3xl);align-items:center;gap:5px;margin:0 5px;display:flex}.termsAgree[data-v-ba1161a7]:hover{color:var(--scalar-color-1)}.termsAgree:hover .termsAgreeIcon[data-v-ba1161a7]{background:var(--scalar-color-1);color:var(--scalar-background-1)}.termsAgreeIcon[data-v-ba1161a7]{width:inherit;height:inherit;border-radius:var(--scalar-radius-full);background:var(--scalar-background-2);padding:2px}.chat[data-v-6573ec87]{flex-direction:column;flex:1;width:100%;max-width:744px;padding:24px 0;display:flex}.userMessage[data-v-6573ec87]{border-radius:var(--scalar-radius-3xl);background:var(--scalar-background-2);width:fit-content;max-width:80%;color:var(--scalar-color-1);padding-top:6px;padding-bottom:6px;margin-bottom:12px;margin-left:auto;padding-inline:16px;font-size:16px;line-height:24px}div+.userMessage[data-v-6573ec87]{margin-top:64px}.chat[data-v-6573ec87]>div:has(.executeRequestTool)+div:has(.executeRequestTool){margin-top:-12px}.spacer[data-v-6573ec87]{width:100%;min-height:280px}.formContainer[data-v-6573ec87]{z-index:1;width:100%;max-width:744px;position:fixed;bottom:20px}.chat[data-v-6573ec87] .markdown{margin-bottom:12px}.agentLogo[data-v-f9ec1d34]{margin-bottom:15px}.startContainer[data-v-f9ec1d34]{flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:720px;height:100%;display:flex;position:relative}.promptText[data-v-f9ec1d34]{font-size:1.5rem;font-weight:var(--scalar-font-bold);margin-bottom:50px}.disclaimerText[data-v-f9ec1d34]{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-f9ec1d34]{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}@media print{.scalar-app{--full-height:100%!important;--refs-header-height:0px!important;--refs-viewport-offset:0px!important;--refs-sidebar-width:0px!important}.references-layout{min-height:0!important;display:block!important}.t-doc__sidebar,.t-doc__header,.references-footer,.section-flare,.agent-scalar,.agent-scalar-overlay{display:none!important}.scalar-app .sticky,.scalar-app .examples,.scalar-app .operation-example-card,.scalar-app .endpoints-card,.scalar-app .channels-card,.scalar-app .sticky-cards,.scalar-app .callback-list-item-title{z-index:auto!important;position:static!important;top:auto!important}.scalar-app .examples>*,.scalar-app .operation-example-card{max-height:none!important}.scalar-app .endpoints,.scalar-app .channels,.scalar-app .scalar-card-content{overflow:visible!important}.scalar-app .property,.scalar-app .parameter-item,.scalar-app .scalar-card{break-inside:avoid}.scalar-app h1,.scalar-app h2,.scalar-app h3{break-after:avoid}}.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 .-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}.scalar-app .z-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-4{margin-top:16px}.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 .mr-auto{margin-right:auto}.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-1\\.5{margin-bottom:6px}.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-9{height:36px}.scalar-app .h-10{height:40px}.scalar-app .h-20{height:80px}.scalar-app .h-28{height:112px}.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)}.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-1\\/2{width:50%}.scalar-app .w-2\\.5{width:10px}.scalar-app .w-2\\.25{width:9px}.scalar-app .w-2\\/3{width:66.6667%}.scalar-app .w-3{width:12px}.scalar-app .w-3\\/4{width:75%}.scalar-app .w-3\\/5{width:60%}.scalar-app .w-4{width:16px}.scalar-app .w-4\\.5{width:18px}.scalar-app .w-4\\/5{width:80%}.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-11\\/12{width:91.6667%}.scalar-app .w-12{width:48px}.scalar-app .w-14{width:56px}.scalar-app .w-24{width:96px}.scalar-app .w-28{width:112px}.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 .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:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.scalar-app .translate-x-1\\.25{--tw-translate-x:calc(4px * 1.25);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:0px;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-5{gap:20px}.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(4px * var(--tw-space-x-reverse));margin-inline-end:calc(4px * 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-md)}.scalar-app .rounded-2xl{border-radius:var(--scalar-radius-2xl)}.scalar-app .rounded-3xl{border-radius:var(--scalar-radius-3xl)}.scalar-app .rounded-\\[inherit\\]{border-radius:inherit}.scalar-app .rounded-full{border-radius:var(--scalar-radius-full)}.scalar-app .rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-app .rounded-md{border-radius:var(--scalar-radius-md)}.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-md);border-top-right-radius:var(--scalar-radius-md)}.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-md);border-bottom-left-radius:var(--scalar-radius-md)}.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-green{background-color:var(--scalar-color-green)}.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 .text-start{text-align:start}.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 .ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.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(--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 .ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);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 .\\*\\:cursor-pointer>*){cursor:pointer}:is(.scalar-app .\\*\\:items-center>*){align-items:center}:is(.scalar-app .\\*\\:justify-center>*){justify-content:center}:is(.scalar-app .\\*\\:rounded>*){border-radius:var(--scalar-radius-md)}: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>*){border-color:var(--scalar-border-color)}: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\\/copy-button\\:bg-b-1\\.5:is(:where(.group\\/copy-button):hover *){background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .group-hover\\/copy-button\\:bg-b-1\\.5:is(:where(.group\\/copy-button):hover *){background-color:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.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) *),.scalar-app .group-has-\\[\\.code-input-lite__editor\\:focus\\]\\:z-1:is(:where(.group):has(:is(.code-input-lite editor:focus)) *){z-index:1}.scalar-app .group-has-\\[\\.code-input-lite__editor\\:focus\\]\\:flex:is(:where(.group):has(:is(.code-input-lite editor:focus)) *){display:flex}.scalar-app .group-has-\\[\\.code-input-lite__editor\\:focus\\]\\:pr-10:is(:where(.group):has(:is(.code-input-lite editor:focus)) *){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)~*),.scalar-app .peer-has-\\[\\.code-input-lite__editor\\:focus\\]\\:opacity-0:is(:where(.peer):has(:is(.code-input-lite editor:focus))~*){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-md)}.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\\:ml-auto:first-child{margin-left:auto}.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-md);border-bottom-left-radius:var(--scalar-radius-md)}: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-md);border-bottom-right-radius:var(--scalar-radius-md)}.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\\: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-1\\.5:hover{background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .hover\\:bg-b-1\\.5:hover{background-color:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.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\\: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\\:overflow-hidden{overflow:hidden}.scalar-app .xl\\:rounded-none{border-radius:0}.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)}: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-1\\.5:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .dark\\:bg-b-1\\.5:where(.dark-mode,.dark-mode *){background-color:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.scalar-app .dark\\:bg-b-2:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-2)}.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\\:group-hover\\/copy-button\\:bg-b-1\\.5:where(.dark-mode,.dark-mode *):is(:where(.group\\/copy-button):hover *){background-color:var(--scalar-background-1)}@supports (color:color-mix(in lab, red, red)){.scalar-app .dark\\:group-hover\\/copy-button\\:bg-b-1\\.5:where(.dark-mode,.dark-mode *):is(:where(.group\\/copy-button):hover *){background-color:color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2))}}.scalar-app .dark\\:hover\\:bg-b-2:where(.dark-mode,.dark-mode *):hover{background-color:var(--scalar-background-2)}.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]) :is(.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:0deg}: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}@container narrow-references-container (width<=900px){.scalar-app .narrow\\:mb-3{margin-bottom:12px}.scalar-app .narrow\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.scalar-app .narrow\\:flex-col{flex-direction:column}.scalar-app .narrow\\:justify-start{justify-content:flex-start}.scalar-app .narrow\\:gap-0{gap:0}.scalar-app .narrow\\:gap-3{gap:12px}.scalar-app .narrow\\:border{border-style:var(--tw-border-style);border-width:var(--scalar-border-width)}.scalar-app .narrow\\:border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.scalar-app .narrow\\:first\\:ml-0:first-child{margin-left:0}}.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-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-3496197b]{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-3496197b],.agent-scalar-overlay.agent-scalar-overlay[data-v-3496197b]{z-index:15}}.scalar-mcp-layer[data-v-24b70070]{--mcp-row-height:31px;--mcp-row-count:3;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-24b70070]:hover{height:calc(var(--mcp-row-count) * var(--mcp-row-height) + (var(--mcp-row-count) - 1) * 2px)}.scalar-mcp-layer-link[data-v-24b70070]:hover{cursor:pointer!important}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-24b70070]{font:inherit;cursor:pointer;width:100%;height:var(--mcp-row-height);text-align:center;white-space:nowrap;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-24b70070]:after{content:"";width:100%;height:2px;position:absolute;bottom:-2px;left:0}.scalar-mcp-layer div.scalar-mcp-layer-link[data-v-24b70070]{cursor:default}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-24b70070]:last-child{position:relative;transform:translate(0,0)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-24b70070]:nth-last-child(2){transform:translateY(-2px)scale(.99)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-24b70070]:nth-last-child(2){transform:translateY(calc(-100% - 2px))scale(.99)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-24b70070]:nth-last-child(3){transform:translateY(-4px)scale(.98)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-24b70070]:nth-last-child(3){transform:translateY(calc(-200% - 4px))scale(1)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-24b70070]:nth-last-child(4){transform:translateY(-6px)scale(.97)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-24b70070]:nth-last-child(4){transform:translateY(calc(-300% - 6px))scale(1)}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-24b70070]:nth-last-child(5){transform:translateY(-8px)scale(.96)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-24b70070]:nth-last-child(5){transform:translateY(calc(-400% - 8px))scale(1)}.scalar-mcp-layer:hover .scalar-mcp-layer-link[data-v-24b70070]{transition:transform .2s ease-in-out .1s}.scalar-mcp-layer .scalar-mcp-layer-link[data-v-24b70070]:hover{background:var(--scalar-background-2)}.scalar-mcp-layer .mcp-logo[data-v-24b70070]{width:16px;height:16px;color:var(--scalar-sidebar-color-1)}.mcp-nav[data-v-24b70070]{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-more[data-v-da3e3bd2]{flex:1 1 0;min-width:0;display:flex}.client-libraries[data-v-da3e3bd2]{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-da3e3bd2]: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-da3e3bd2]:active{color:var(--scalar-color-1)}.client-libraries[data-v-da3e3bd2]:focus-visible{box-shadow:inset 0 0 0 1px var(--scalar-color-accent);outline:none}.client-libraries-icon[data-v-da3e3bd2]{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-da3e3bd2]{height:initial}.client-libraries__active[data-v-da3e3bd2]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}.client-libraries .client-libraries-text[data-v-da3e3bd2]{font-size:var(--scalar-small);align-items:center;display:flex;position:relative}.client-libraries__active .client-libraries-text[data-v-da3e3bd2]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}@media screen and (width<=600px){.references-classic .client-libraries[data-v-da3e3bd2]{flex-direction:column}}@container client-libraries-list (width<400px){.client-libraries-more[data-v-da3e3bd2]{flex:none}.client-libraries__select[data-v-da3e3bd2]{width:fit-content}.client-libraries__select .client-libraries-icon__more+span[data-v-da3e3bd2]{display:none}}.selected-client[data-v-34beffcc]{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-34beffcc]{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-list[data-v-34beffcc]{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-list/inline-size}.client-libraries-tabs[data-v-34beffcc]{flex:1 1 0;min-width:0;display:flex}.client-libraries[data-v-34beffcc]{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-34beffcc]: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-34beffcc]:active{color:var(--scalar-color-1)}.client-libraries[data-v-34beffcc]:focus-visible{box-shadow:inset 0 0 0 1px var(--scalar-color-accent);outline:none}@media screen and (width<=450px){.client-libraries[data-v-34beffcc]:nth-of-type(4),.client-libraries[data-v-34beffcc]:nth-of-type(5){display:none}}.client-libraries-icon[data-v-34beffcc]{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__active[data-v-34beffcc]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}.client-libraries .client-libraries-text[data-v-34beffcc]{font-size:var(--scalar-small);align-items:center;display:flex;position:relative}.client-libraries__active .client-libraries-text[data-v-34beffcc]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}@media screen and (width<=600px){.references-classic .client-libraries[data-v-34beffcc]{flex-direction:column}}@container client-libraries-list (width<380px){.client-libraries[data-v-34beffcc]{width:100%}.client-libraries span[data-v-34beffcc]{display:none}}.badge.text-orange[data-v-3f3e4ac3]{background:color-mix(in srgb, var(--scalar-color-orange), transparent 90%);border:#0000}.badge.text-yellow[data-v-3f3e4ac3]{background:color-mix(in srgb, var(--scalar-color-yellow), transparent 90%);border:#0000}.badge.text-red[data-v-3f3e4ac3]{background:color-mix(in srgb, var(--scalar-color-red), transparent 90%);border:#0000}.badge.text-purple[data-v-3f3e4ac3]{background:color-mix(in srgb, var(--scalar-color-purple), transparent 90%);border:#0000}.badge.text-green[data-v-3f3e4ac3]{background:color-mix(in srgb, var(--scalar-color-green), transparent 90%);border:#0000}.download-container[data-v-0aba6db2]{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-0aba6db2]: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-0aba6db2]: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-0aba6db2]{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-0aba6db2]: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-0aba6db2]:last-of-type:before{width:calc(100% + 15px)}.download-button[data-v-0aba6db2]:hover:before{background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color)}.download-button[data-v-0aba6db2]: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-0aba6db2]{--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-0aba6db2]{-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-0aba6db2]{z-index:1;align-items:center;gap:6px;line-height:1.625;display:flex}.download-button:hover span[data-v-0aba6db2]{-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-0aba6db2]: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-0aba6db2]: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-0aba6db2]:nth-of-type(2){clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:absolute;top:42px;overflow:visible}.badge.extension[data-v-0aba6db2]{z-index:1;background:var(--scalar-link-color,var(--scalar-color-accent));color:var(--scalar-background-1)}.download-container:hover .extension[data-v-0aba6db2]{opacity:1}.download-container:has(:focus-visible) .extension[data-v-0aba6db2]{opacity:1}.download-link[data-v-0aba6db2]{--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-0aba6db2]{-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-0aba6db2]: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-e60166e1]{flex-direction:column;gap:12px;display:flex}.introduction-card-row[data-v-e60166e1]{flex-flow:wrap;gap:24px}.introduction-card-row[data-v-e60166e1]>*{flex:1;min-width:min-content}@container narrow-references-container (width<=900px){.introduction-card-row[data-v-e60166e1]{flex-direction:column;align-items:stretch;gap:0}.introduction-card-row[data-v-e60166e1]>*{min-width:auto;max-width:100%}}.introduction-card[data-v-e60166e1] .security-scheme-label{text-transform:uppercase;font-weight:var(--scalar-semibold)}.introduction-card-row[data-v-e60166e1] .scalar-card:nth-of-type(2) .scalar-card-header{display:none}.introduction-card-row[data-v-e60166e1] .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}.section-content--with-columns[data-v-6101128d]{flex-direction:column;gap:24px}}.section-header[data-v-7607c44e]{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-7607c44e]{margin-bottom:6px}.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-ea5f870d]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);position:relative}.collapsible-section-header[data-v-ea5f870d]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-ea5f870d]{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-ea5f870d]{color:var(--scalar-color-3);position:absolute;left:-19px}.collapsible-section:hover .collapsible-section-trigger svg[data-v-ea5f870d]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-ea5f870d] .anchor-copy{line-height:18.5px}.collapsible-section-content[data-v-ea5f870d]{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-dc833d99] span{display:none}.sticky-cards[data-v-41a61989]{top:calc(var(--refs-viewport-offset) + 24px);flex-direction:column;display:flex;position:sticky}.introduction-skeleton[data-v-41a61989]{background:var(--scalar-background-3);animation:1.5s infinite alternate introduction-skeleton-pulse-41a61989}@keyframes introduction-skeleton-pulse-41a61989{0%{opacity:1}to{opacity:.33}}.sticky-cards[data-v-8b2934cb]{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-76e5ff4d]{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-76e5ff4d]{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-76e5ff4d]{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-76e5ff4d]::-webkit-scrollbar{display:none}.client-libraries-row[data-v-76e5ff4d]{justify-content:flex-start;display:flex}.client-libraries-tabs[data-v-76e5ff4d]{flex:none;display:flex}.client-libraries-measure-clip[data-v-76e5ff4d]{width:0;height:0;position:absolute;top:0;left:0;overflow:hidden}.client-libraries-row--measure[data-v-76e5ff4d]{visibility:hidden;pointer-events:none;width:max-content}.client-libraries[data-v-76e5ff4d]{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-76e5ff4d]: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-76e5ff4d]:active{color:var(--scalar-color-1)}.client-libraries[data-v-76e5ff4d]:focus-visible{box-shadow:inset 0 0 0 1px var(--scalar-color-accent);outline:none}.client-libraries__active[data-v-76e5ff4d]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}.client-libraries-more[data-v-76e5ff4d]{margin-left:auto}.client-libraries-icon[data-v-76e5ff4d]{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-76e5ff4d]{font-size:var(--scalar-small);align-items:center;display:flex;position:relative}.client-libraries__active .client-libraries-text[data-v-76e5ff4d]{color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.schema-type-icon[data-v-e2018ca6]{color:var(--scalar-color-1);display:none}.schema-type[data-v-e2018ca6]{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-602e2e26]:last-of-type,.property-description[data-v-602e2e26]:first-of-type:last-of-type{margin-top:0}.property-list[data-v-602e2e26]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);margin-top:10px}.property-list .property[data-v-602e2e26]:last-of-type{padding-bottom:10px}.property-enum-values[data-v-602e2e26]{font-size:var(--scalar-font-size-3);margin-top:8px;padding-left:2px;list-style:none}.enum-toggle-button[data-v-602e2e26]:hover{color:var(--scalar-color-1)}.property-enum-property-names[data-v-602e2e26]{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-cc878a44]{font-size:var(--scalar-mini);flex-direction:column;display:flex;position:relative}.property-default[data-v-cc878a44]: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-cc878a44]{color:var(--scalar-color-1)}.property-default-label span[data-v-cc878a44]{color:var(--scalar-color-3);border-bottom:var(--scalar-border-width) dotted currentColor;position:relative}.property-default-value[data-v-cc878a44]{font-family:var(--scalar-font-code);align-items:center;gap:8px;width:100%;padding:6px;display:flex}.property-default-value span[data-v-cc878a44]{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.property-default-value[data-v-cc878a44] svg{color:var(--scalar-color-3)}.property-default-value[data-v-cc878a44]:hover svg{color:var(--scalar-color-1)}.property-default-value[data-v-cc878a44]{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-cc878a44]{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-cc878a44],.property-default:focus-within .property-default-value-list[data-v-cc878a44]{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-370db0bd]{font-size:var(--scalar-mini);flex-direction:column;display:flex;position:relative}.property-example[data-v-370db0bd]:hover:before{content:"";border-radius:var(--scalar-radius);width:100%;height:20px;position:absolute;top:0;left:0}.property-example-value[data-v-370db0bd]{font-family:var(--scalar-font-code);align-items:center;gap:8px;width:100%;padding:6px;display:flex}.property-example-value span[data-v-370db0bd]{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.property-example-value[data-v-370db0bd] svg{color:var(--scalar-color-3)}.property-example-value[data-v-370db0bd]:hover svg{color:var(--scalar-color-1)}.property-example-value[data-v-370db0bd]{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-370db0bd]{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-370db0bd],.property-example:focus-within .property-example-value-list[data-v-370db0bd]{display:flex}.property-pattern[data-v-2034a630]{font-size:var(--scalar-mini);flex-direction:column;display:flex;position:relative}.property-pattern[data-v-2034a630]:hover:before{content:"";border-radius:var(--scalar-radius);width:100%;height:20px;position:absolute;top:0;left:0}.property-pattern-popup[data-v-2034a630]{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;min-width:200px;max-width:min(500px,100vw - 32px);max-height:min(400px,100vh - 32px);padding:9px;display:none;position:absolute;top:18px;left:50%;overflow-y:auto;transform:translate(-50%)}.property-pattern:hover .property-pattern-popup[data-v-2034a630],.property-pattern:focus-within .property-pattern-popup[data-v-2034a630],.property-pattern.is-open .property-pattern-popup[data-v-2034a630]{display:flex}.property-pattern-value[data-v-2034a630]{font-family:var(--scalar-font-code);background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);align-items:flex-start;gap:8px;width:100%;padding:6px;display:flex}.property-pattern-value code[data-v-2034a630]{font-family:var(--scalar-font-code);font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;text-align:left;flex:1}.property-heading[data-v-46933849]{white-space:nowrap;flex-wrap:wrap;align-items:baseline;row-gap:9px;display:flex}:is(.property-heading[data-v-46933849]:has(+.children),.property-heading[data-v-46933849]:has(+.property-rule)){margin-bottom:9px}.property-heading[data-v-46933849]>*{margin-right:9px}.property-heading[data-v-46933849]:last-child,.property-heading>.property-detail[data-v-46933849]:not(:last-of-type){margin-right:0}.property-name[data-v-46933849]{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-46933849]{font-family:var(--scalar-font-code)}.property-required[data-v-46933849],.property-optional[data-v-46933849]{color:var(--scalar-color-2)}.property-required[data-v-46933849]{font-size:var(--scalar-mini);color:var(--scalar-color-orange)}.property-read-only[data-v-46933849]{font-size:var(--scalar-mini);color:var(--scalar-color-blue)}.property-write-only[data-v-46933849]{font-size:var(--scalar-mini);color:var(--scalar-color-green)}.property-discriminator[data-v-46933849]{font-size:var(--scalar-mini);color:var(--scalar-color-purple)}.property-detail[data-v-46933849]{font-size:var(--scalar-mini);color:var(--scalar-color-2);align-items:center;min-width:0;display:flex}.property-const[data-v-46933849]{color:var(--scalar-color-1)}.deprecated[data-v-46933849]{text-decoration:line-through}.property[data-v-933ce0d5]{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-933ce0d5]:has(>.property-rule>.schema-card>.schema-properties.schema-properties-open>ul>li.property){padding-top:0}.property--compact.property--level-0[data-v-933ce0d5],.property--compact.property--level-1[data-v-933ce0d5]{padding:10px 0}.composition-panel .property.property.property.property--level-0[data-v-933ce0d5]{padding:0}.property--compact.property--level-0 .composition-panel .property--compact.property--level-1[data-v-933ce0d5]{padding:8px}.property[data-v-933ce0d5]:has(>.property-rule:first-of-type):not(.property--compact){padding-top:8px;padding-bottom:8px}.property--deprecated[data-v-933ce0d5]{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-933ce0d5]>*{opacity:.75}.property-description[data-v-933ce0d5]{line-height:1.4;font-size:var(--scalar-small);margin-top:6px}.property-description[data-v-933ce0d5]:has(+.property-rule){margin-bottom:9px}[data-v-933ce0d5] .property-description *{color:var(--scalar-color-2)!important}.property[data-v-933ce0d5]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.property-description+.children[data-v-933ce0d5],.children+.property-rule[data-v-933ce0d5]{margin-top:9px}.children[data-v-933ce0d5]{flex-direction:column;display:flex}.children .property--compact.property--level-1[data-v-933ce0d5]{padding:12px}.property-example-value[data-v-933ce0d5]{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-933ce0d5]{border-radius:var(--scalar-radius-lg);flex-direction:column;display:flex}.property--level-2[data-v-933ce0d5] .relative>button{left:-2rem}.property-rule[data-v-933ce0d5] .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-933ce0d5] .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-933ce0d5] .composition-panel>.schema-card>.schema-card-description+.schema-properties{margin-top:0}.property-example[data-v-933ce0d5]{background:0 0;border:none;flex-direction:row;gap:8px;display:flex}.property-example-label[data-v-933ce0d5],.property-example-value[data-v-933ce0d5]{padding:3px 0 0}.property-example-value[data-v-933ce0d5]{background:var(--scalar-background-2);border-radius:var(--scalar-radius);border-top:0;padding:3px 4px}.property-name[data-v-933ce0d5]{font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold)}.property-name-additional-properties[data-v-933ce0d5]:before,.property-name-pattern-properties[data-v-933ce0d5]: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-933ce0d5]:before{content:"regex"}.property-name-additional-properties[data-v-933ce0d5],.property-name-pattern-properties[data-v-933ce0d5]{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-77b16bb4]{background-color:var(--scalar-color-red)}.schema-card[data-v-77b16bb4]{font-size:var(--scalar-font-size-4);color:var(--scalar-color-1)}.schema-card-title[data-v-77b16bb4]{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-77b16bb4]{cursor:pointer}button.schema-card-title[data-v-77b16bb4]:hover{color:var(--scalar-color-1)}.schema-card-title-icon--open[data-v-77b16bb4]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title[data-v-77b16bb4]{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-77b16bb4]{width:fit-content}.schema-card-description[data-v-77b16bb4]{color:var(--scalar-color-2)}.schema-card-description+.schema-properties[data-v-77b16bb4]{width:fit-content;margin-top:8px}.schema-card--level-0:first-of-type>.schema-card-description[data-v-77b16bb4]: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-77b16bb4]:has(+.schema-properties){padding-top:8px}.schema-properties-open.schema-properties[data-v-77b16bb4],.schema-properties-open>.schema-card--open[data-v-77b16bb4]{width:100%}.schema-properties[data-v-77b16bb4]{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-77b16bb4]{width:100%}.schema-properties .schema-properties[data-v-77b16bb4]{border-radius:13.5px}.schema-properties .schema-properties.schema-properties-open[data-v-77b16bb4]{border-radius:var(--scalar-radius-lg)}.schema-properties-open[data-v-77b16bb4]{width:100%}.schema-card--compact[data-v-77b16bb4]{align-self:flex-start}.schema-card--compact.schema-card--open[data-v-77b16bb4]{align-self:initial}.schema-card-title--compact[data-v-77b16bb4]{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-77b16bb4]{margin:0}.schema-card-title--compact>.schema-card-title-icon--open[data-v-77b16bb4]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title--compact[data-v-77b16bb4]{position:static}.property--level-0>.schema-properties>.schema-card--level-0>.schema-properties[data-v-77b16bb4]{border:none}.property--level-0 .schema-card--level-0:not(.schema-card--compact) .property--level-1[data-v-77b16bb4]{padding:0 0 8px}:not(.composition-panel)>.schema-card--compact.schema-card--level-0>.schema-properties[data-v-77b16bb4]{border:none}[data-v-77b16bb4] .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-77b16bb4]:first-of-type{padding-top:0}.reference-models-anchor[data-v-df54aefe]{color:var(--scalar-color-1);align-items:center;padding-left:6px;font-size:20px;display:flex}.reference-models-label[data-v-df54aefe]{font-size:var(--scalar-mini);display:block}.reference-models-label[data-v-df54aefe] em{font-weight:var(--scalar-bold)}.show-more[data-v-bb0811ed]{appearance:none;border:none;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-full);color:var(--scalar-color-1);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);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-bb0811ed]:hover{background:var(--scalar-background-2);cursor:pointer}.show-more[data-v-bb0811ed]:active{box-shadow:0 0 0 1px var(--scalar-border-color)}@container narrow-references-container (width<=900px){.show-more[data-v-bb0811ed]{top:-24px}}.tag-section[data-v-fafcaa8a]{margin-bottom:48px}.tag-name[data-v-fafcaa8a]{text-transform:capitalize}.tag-description[data-v-fafcaa8a]{text-align:left;padding-bottom:4px}.tag-section-group .tag-group-name[data-v-fafcaa8a]{grid-template-columns:auto 1fr;align-self:stretch;gap:12px}.tag-group-name[data-v-fafcaa8a]:after{content:"";background:var(--scalar-border-color);align-self:center;height:1px;display:block}:is(.tag-group-name[data-v-fafcaa8a]:has(*>:hover),.tag-group-name[data-v-fafcaa8a]:has(:focus-visible)){gap:32px}.tag-section-group .tag-section[data-v-fafcaa8a]{margin-bottom:24px;padding-inline:0}.tag-section-group .tag-section[data-v-fafcaa8a]:last-of-type{margin-bottom:0}.tag-section.tag-section-nested[data-v-fafcaa8a]{padding-inline:0}.channels-card[data-v-817abeb3]{top:calc(var(--refs-viewport-offset) + 24px);font-size:var(--scalar-font-size-3);position:sticky}.channels[data-v-817abeb3]{background:var(--scalar-background-2);width:100%;padding:10px 12px;overflow:auto}.channel[data-v-817abeb3]{white-space:nowrap;cursor:pointer;color:var(--scalar-color-1);line-height:1.55;font-family:var(--scalar-font-code);font-size:var(--scalar-small);text-decoration:none;display:flex}.channel[data-v-817abeb3]:hover,.channel[data-v-817abeb3]:focus-visible{text-decoration:underline}.endpoint[data-v-d54500d7]{white-space:nowrap;cursor:pointer;text-decoration:none;display:flex}.endpoint:hover .endpoint-path[data-v-d54500d7],.endpoint:focus-visible .endpoint-path[data-v-d54500d7]{text-decoration:underline}.endpoint .post[data-v-d54500d7],.endpoint .get[data-v-d54500d7],.endpoint .delete[data-v-d54500d7],.endpoint .put[data-v-d54500d7]{white-space:nowrap}.endpoint-method[data-v-d54500d7],.endpoint-path[data-v-d54500d7]{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-d54500d7]{text-align:right}.endpoint-path[data-v-d54500d7]{text-transform:initial;margin-left:12px}.deprecated[data-v-d54500d7]{text-decoration:line-through}.endpoints-card[data-v-0315c99b]{top:calc(var(--refs-viewport-offset) + 24px);font-size:var(--scalar-font-size-3);position:sticky}.endpoints[data-v-0315c99b]{background:var(--scalar-background-2);width:100%;padding:10px 12px;overflow:auto}.section-container[data-v-b6a490f4]{border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.tag-section-container.tag-section-nested[data-v-b6a490f4]{padding-inline:0}.section-container.tag-section-collapsed[data-v-b6a490f4]{background-color:color-mix(in srgb, var(--scalar-background-2), transparent)}.headers-card[data-v-9ba640f2]{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-9ba640f2]{align-self:initial}.headers-card-title[data-v-9ba640f2]{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-9ba640f2]{cursor:pointer}button.headers-card-title[data-v-9ba640f2]:hover{color:var(--scalar-color-1)}.headers-card-title-icon--open[data-v-9ba640f2]{transform:rotate(45deg)}.headers-properties[data-v-9ba640f2]{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-9ba640f2]{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-9ba640f2]{border-radius:var(--scalar-radius-lg);width:100%}.headers-card .property[data-v-9ba640f2]:last-of-type{padding-bottom:10px}.headers-card-title>.headers-card-title-icon[data-v-9ba640f2]{width:14px;height:14px;margin:0}.headers-card-title>.headers-card-title-icon--open[data-v-9ba640f2]{transform:rotate(45deg)}.parameter-item[data-v-ce052837]{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-ce052837]{padding-bottom:0}.parameter-item-container[data-v-ce052837]{padding:0}.parameter-item-headers[data-v-ce052837]{border:var(--scalar-border-width) solid var(--scalar-border-color)}.parameter-item-name[data-v-ce052837]{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-ce052837],.parameter-item-description-summary[data-v-ce052837]{font-size:var(--scalar-mini);color:var(--scalar-color-2)}.parameter-item-description-summary.parameter-item-description-summary[data-v-ce052837]>*{--markdown-line-height:var(--scalar-line-height-5)}.parameter-item-trigger~.parameter-item-container[data-v-ce052837] .property--level-0>.property-heading .property-detail-value{font-size:var(--scalar-micro)}.parameter-item-required-optional[data-v-ce052837]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);margin-right:6px;position:relative}.parameter-item--required[data-v-ce052837]{text-transform:uppercase;font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-orange)}.parameter-item-description[data-v-ce052837]{font-size:var(--scalar-small);color:var(--scalar-color-2);margin-top:6px;line-height:1.4}.parameter-item-description[data-v-ce052837] p{font-size:var(--scalar-small);color:var(--scalar-color-2);margin-top:4px}.parameter-schema[data-v-ce052837]{margin-top:3px;padding-bottom:9px}.parameter-item-trigger[data-v-ce052837]{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-ce052837]{padding-bottom:0}.parameter-item-icon[data-v-ce052837]{color:var(--scalar-color-3);position:absolute;top:.5lh;left:-19px;translate:0 -50%}.parameter-item-trigger:hover .parameter-item-icon[data-v-ce052837],.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-ce052837]{color:var(--scalar-color-1)}.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-ce052837]{outline:1px solid var(--scalar-color-accent);outline-offset:2px;border-radius:var(--scalar-radius)}.async-api-labels[data-v-6f21951e]{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.async-api-label--protocol[data-v-6f21951e]{text-transform:uppercase;letter-spacing:.05em}.message[data-v-08f2cf5d]{scroll-margin-top:var(--refs-viewport-offset)}.message-title[data-v-08f2cf5d]{font-size:var(--scalar-heading-4);font-weight:var(--scalar-semibold);color:var(--scalar-color-1)}.message-heading[data-v-08f2cf5d]{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.message-accordion[data-v-08f2cf5d] .section-accordion-content-card{padding:12px}.message-description[data-v-08f2cf5d]{text-align:left;padding-bottom:4px}.message-schema[data-v-08f2cf5d]{margin-top:12px}.message-schema[data-v-08f2cf5d]:first-child{margin-top:0}.message-schema-title[data-v-08f2cf5d]{font-size:var(--scalar-font-size-2);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);margin-bottom:8px;padding-bottom:8px}.operation[data-v-a929e624]{scroll-margin-top:var(--refs-viewport-offset);margin-top:32px}.operation-header[data-v-a929e624]{align-items:center;gap:8px;display:flex}.operation-title[data-v-a929e624]{font-size:var(--scalar-heading-3);font-weight:var(--scalar-semibold);color:var(--scalar-color-1)}.operation-action[data-v-a929e624]{text-transform:uppercase;font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);letter-spacing:.05em;border-radius:12px;align-items:center;padding:2px 8px;display:inline-flex}.operation-action--send[data-v-a929e624]{color:var(--scalar-color-blue);background:color-mix(in srgb, var(--scalar-color-blue), transparent 88%)}.operation-action--receive[data-v-a929e624]{color:var(--scalar-color-green);background:color-mix(in srgb, var(--scalar-color-green), transparent 88%)}.operation-description[data-v-a929e624]{text-align:left;margin-top:4px}.operation[data-v-a929e624]>.message{margin-top:12px}.channel-section[data-v-c60febe5]{margin-bottom:48px}.channel-labels[data-v-c60febe5]{margin-bottom:8px}.channel-description[data-v-c60febe5]{text-align:left;padding-bottom:4px}.context-bar[data-v-5f62f72b]{height:48px;box-shadow:inset 0 var(--scalar-border-width) 0 var(--scalar-border-color);padding-inline:60px}.context-bar[data-stuck][data-v-5f62f72b]{box-shadow:inset 0 calc(var(--scalar-border-width) * -1) 0 var(--scalar-border-color)}@container narrow-references-container (width<=900px){.context-bar[data-v-5f62f72b]{padding-inline:24px}}.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-ce6cfefc]{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-ce6cfefc]{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-ce6cfefc]{border-radius:var(--scalar-radius-lg);margin:0 12px}.rule-items[data-v-ce6cfefc]{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-ce6cfefc]{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-ce6cfefc]: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-c999f4a2]{font-size:var(--scalar-font-size-3)}.code-copy[data-v-c999f4a2]{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-c999f4a2]:hover{color:var(--scalar-color-1)}.code-copy svg[data-v-c999f4a2]{width:13px;height:13px}.response-card-footer[data-v-c999f4a2]{flex-flow:row-reverse wrap;flex-shrink:0;justify-content:start;column-gap:8px;padding:7px 12px;display:flex}.response-example-selector[data-v-c999f4a2]{flex-shrink:0;margin:-4px}.response-description[data-v-c999f4a2]{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-c999f4a2]{max-height:3lh}.response-description-markdown[data-v-c999f4a2] *{margin:0}.schema-type[data-v-c999f4a2]{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-c999f4a2]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold)}.example-response-tab[data-v-c999f4a2]{margin:6px;display:block}.scalar-card-checkbox[data-v-c999f4a2]{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-c999f4a2]{outline:1px solid var(--scalar-color-accent)}.scalar-card-checkbox[data-v-c999f4a2]:hover{color:var(--scalar-color--1)}.scalar-card-checkbox .scalar-card-checkbox-input[data-v-c999f4a2]{opacity:0;cursor:pointer;width:0;height:0;position:absolute}.scalar-card-checkbox-checkmark[data-v-c999f4a2]{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-c999f4a2]: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-c999f4a2]{background-color:var(--scalar-button-1);box-shadow:none}.scalar-card-checkbox-checkmark[data-v-c999f4a2]:after{content:"";display:none;position:absolute}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-c999f4a2]:after{display:block}.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-c999f4a2]: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-75896209]{margin-top:24px}.request-body-header[data-v-75896209]{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-75896209]{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-75896209]{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-75896209]{font-size:var(--scalar-small);width:100%;margin-top:6px}:is(.request-body-header+.request-body-schema[data-v-75896209]:has(>.schema-card>.schema-card-description),.request-body-header+.request-body-schema[data-v-75896209]:has(>.schema-card>.schema-properties>*>.property--level-0)){padding-top:8px}.request-body-description[data-v-75896209] .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-ad72d914]{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-ad72d914],.show-api-client-button svg[data-v-ad72d914]{fill:currentColor;color:var(--scalar-button-1-color);z-index:1}.show-api-client-button[data-v-ad72d914]:hover{background:var(--scalar-button-1-hover)}.show-api-client-button svg[data-v-ad72d914]{margin-right:4px}.operation-title[data-v-d70f7395]{justify-content:space-between;display:flex}.operation-details[data-v-d70f7395]{flex-shrink:1;align-items:center;gap:9px;min-width:0;margin-top:0;display:flex}.operation-details[data-v-d70f7395] .endpoint-anchor .scalar-button svg{width:16px;height:16px}.endpoint-type[data-v-d70f7395]{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-d70f7395]:after{content:"";z-index:-1;opacity:.15;border-radius:var(--scalar-radius);background:currentColor;position:absolute;inset:0}.endpoint-anchor[data-v-d70f7395]{flex-shrink:1;align-items:center;min-width:0;display:flex}.endpoint-anchor.label[data-v-d70f7395]{display:flex}.endpoint-label[data-v-d70f7395]{min-width:0;color:var(--scalar-color-1);flex-shrink:1;align-items:baseline;gap:9px;display:flex}.endpoint-label-path[data-v-d70f7395]{font-family:var(--scalar-font-code);font-size:var(--scalar-mini);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-label-path[data-v-d70f7395] em{color:var(--scalar-color-2)}.endpoint-label-name[data-v-d70f7395]{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-d70f7395]{flex-shrink:0;padding:2px}.endpoint-copy[data-v-d70f7395]{color:currentColor}.endpoint-copy[data-v-d70f7395] svg{stroke-width:2px}.endpoint-content[data-v-d70f7395]{grid-auto-columns:1fr;grid-auto-flow:row;gap:9px;padding:9px;display:grid}@media (width>=1000px){.endpoint-content[data-v-d70f7395]{grid-auto-flow:column}}@container (width<=900px){.endpoint-content[data-v-d70f7395]{grid-template-columns:1fr}}.endpoint-content[data-v-d70f7395]>*{min-width:0}.operation-details-card[data-v-d70f7395]{flex-direction:column;gap:12px;min-width:0;display:flex}:is(.operation-details-card-item[data-v-d70f7395] .parameter-list,.operation-details-card-item[data-v-d70f7395] .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-d70f7395]{flex-direction:column;gap:12px;display:flex}.operation-details-card-item[data-v-d70f7395] .parameter-list-items{margin-bottom:0}.operation-details-card[data-v-d70f7395] .parameter-item:last-of-type .parameter-schema{padding-bottom:12px}.operation-details-card[data-v-d70f7395] .parameter-list .parameter-list{margin-bottom:12px}.operation-details-card[data-v-d70f7395] .parameter-item{margin:0;padding:0}.operation-details-card[data-v-d70f7395] .property{margin:0;padding:9px}:is(.operation-details-card[data-v-d70f7395] .parameter-list-title,.operation-details-card[data-v-d70f7395] .request-body-title,.operation-details-card[data-v-d70f7395] .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-d70f7395] .callback-list-item-title{padding-left:28px;padding-right:12px}.operation-details-card[data-v-d70f7395] .callback-list-item-icon{left:6px}.operation-details-card[data-v-d70f7395] .callback-operation-container{padding-inline:9px;padding-bottom:9px}:is(.operation-details-card[data-v-d70f7395] .callback-operation-container>.request-body,.operation-details-card[data-v-d70f7395] .callback-operation-container>.parameter-list){border:none}.operation-details-card[data-v-d70f7395] .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-d70f7395] .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-d70f7395] .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-d70f7395] .request-body .schema-card--level-0>.schema-card-description{padding-inline:9px}.operation-details-card[data-v-d70f7395] .request-body-header{border-bottom:0;padding-bottom:0}.operation-details-card[data-v-d70f7395] .contents button{margin-right:9px}.operation-details-card[data-v-d70f7395] .schema-card--open+.schema-card:not(.schema-card--open){margin-inline:9px;margin-bottom:9px}.operation-details-card[data-v-d70f7395] .request-body-schema .property--level-0{padding:0}.operation-details-card[data-v-d70f7395] .selected-content-type{margin-right:9px}.operation-example-card[data-v-d70f7395]{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-d70f7395]{max-height:unset;position:static}}.agent-button-container[data-v-10a4fb90]{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-10a4fb90]:hover:not(:focus-within){background:color-mix(in srgb, var(--scalar-background-3), white 20%)}.agent-button-container[data-v-10a4fb90]:focus-within{border-radius:var(--scalar-radius-lg);height:auto;margin-right:0;position:absolute;inset:2px}.agent-button-container[data-v-10a4fb90]: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-10a4fb90]:has(.ask-agent-scalar-input:focus-visible){outline-style:solid}.ask-agent-scalar-input[data-v-10a4fb90]{opacity:0;border:none;width:0;font-size:0}.agent-button-container:focus-within .ask-agent-scalar-input[data-v-10a4fb90]{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-10a4fb90]{width:100%;font-size:inherit;opacity:1;outline:none;padding-inline:4px;line-height:20px}.ask-agent-scalar-input[data-v-10a4fb90]::placeholder{color:var(--scalar-color-2);font-family:inherit}.ask-agent-scalar-input-label[data-v-10a4fb90]{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-10a4fb90]{display:none}.agent-button-container:has(.ask-agent-scalar-input-not-empty) .ask-agent-scalar-input-label[data-v-10a4fb90]{display:none}.ask-agent-scalar-send[data-v-10a4fb90]{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-10a4fb90]{display:flex}.ask-agent-scalar-send[data-v-10a4fb90]:hover{background:color-mix(in srgb, var(--scalar-color-blue), transparent 10%)}.operation-layout[data-v-29191aa0]{grid-template:"heading badge""description examples""details examples"1fr/1fr 1fr;gap:0 48px;display:grid}.operation-title[data-v-29191aa0]{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-29191aa0]{grid-area:badge;place-self:start end}.operation-description[data-v-29191aa0]{grid-area:description;min-width:0}.operation-details[data-v-29191aa0]{grid-area:details;min-width:0}.examples[data-v-29191aa0]{min-width:0;top:calc(var(--refs-viewport-offset) + 24px);grid-area:examples;align-self:start;position:sticky}.examples[data-v-29191aa0]>*{max-height:calc((var(--refs-viewport-height) - 60px) / 2);position:relative}.examples[data-v-29191aa0]>:first-of-type:last-of-type{max-height:calc((var(--refs-viewport-height) - 60px))}@media (width<=600px){.examples[data-v-29191aa0]>*{max-height:unset}}.deprecated[data-v-29191aa0] *{text-decoration:line-through}@container narrow-references-container (width<=900px){.operation-layout[data-v-29191aa0]{grid-template-columns:1fr;grid-template-areas:"badge""heading""description""examples""details";column-gap:0}.operation-auth[data-v-29191aa0]{justify-self:start;margin-bottom:4px}.operation-description[data-v-29191aa0]{margin-bottom:24px}.examples[data-v-29191aa0]{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-ae9b4ecb]{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}.asyncapi-sidebar-document-section>.group\\/spacer-after{height:0}@layer scalar-config{.scalar-api-reference[data-v-1450c140]{--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-1450c140]{--refs-content-max-width:var(--scalar-content-max-width,1420px);--refs-sidebar-width:0;min-height:100dvh}.references-sidebar[data-v-1450c140]{--refs-sidebar-width:var(--scalar-sidebar-width,288px)}}.t-doc__sidebar[data-v-1450c140]{z-index:10}.references-layout[data-v-1450c140]{--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-1450c140]{background:var(--scalar-background-1);grid-area:editor;min-width:0;display:flex}.references-rendered[data-v-1450c140]{background:var(--scalar-background-1);grid-area:rendered;min-width:0;position:relative}.scalar-api-reference.references-classic[data-v-1450c140],.references-classic .references-rendered[data-v-1450c140]{height:initial!important;max-height:initial!important}.references-classic .references-rendered[data-v-1450c140]{padding-bottom:80px}.references-footer[data-v-1450c140]{grid-area:footer}@media (width<1000px){.references-developer-tools[data-v-1450c140]{display:none}.references-layout[data-v-1450c140]{--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-1450c140]{grid-template-areas:"header""navigation""editor"}.references-rendered[data-v-1450c140]{position:static}.scalar-api-references-standalone-mobile[data-v-1450c140]:not(.references-classic){--scalar-header-height:50px}}.darklight-reference[data-v-1450c140]{width:100%;margin-top:auto}/*$vite$:1*/')),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}(),
/*!
*    _____ _________    __    ___    ____
*   / ___// ____/   |  / /   /   |  / __ \
*   \__ \/ /   / /| | / /   / /| | / /_/ /
*  ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
* /____/\____/_/  |_/_____/_/  |_/_/ |_|
*
* @scalar/api-reference 1.68.0
*
* Website: https://scalar.com
* GitHub:  https://github.com/scalar/scalar
* License: https://github.com/scalar/scalar/blob/main/LICENSE
**/
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,w,x,O,k,S,A,T,_,C,E,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,a)=>()=>{if(a)throw a[0];try{return e&&(t=e(e=0)),t}catch(e){throw a=[e],e}},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()}),G=V(()=>{r=e=>{if("object"!=typeof e||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}}),X=V(()=>{G(),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{return"any"===e.type||"unknown"===e.type||("function"===e.type?"function"==typeof t:"number"===e.type?"number"==typeof t&&!Number.isNaN(t)&&Number.isFinite(t):"string"===e.type?"string"==typeof t:"boolean"===e.type?"boolean"==typeof t:"nullable"===e.type?null===t:"notDefined"===e.type?void 0===t:"array"===e.type?Array.isArray(t)&&t.every(t=>n(e.items,t,a)):"record"===e.type?!!r(t)&&Object.keys(t).every(r=>n(e.key,r,a)&&n(e.value,t[r],a)):"object"===e.type?!!r(t)&&Object.keys(e.properties).every(r=>n(e.properties[r],t[r],a)):"optional"===e.type?void 0===t||n(e.schema,t,a):"union"===e.type?e.schemas.some(e=>n(e,t,a)):"intersection"===e.type?0===e.schemas.length||!!r(t)&&e.schemas.every(e=>n(e,t,a)):"literal"===e.type?t===e.value:"lazy"===e.type?n(e.schema(),t,a):"evaluate"===e.type?n(e.schema,e.expression(t),a):(console.warn("Unknown schema type:",e),!1))}finally{o&&a.get(t)?.delete(e)}},o=(e,t,a=new WeakMap)=>n(e,t,a)}),Y=V(()=>{G(),X(),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):"record"===e.type?+!!r(t):"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)}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){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){let r=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});return u(r.schema,t,a,n)}return"intersection"===e.type?e.schemas.reduce((e,r)=>Object.assign(e,u(r,t,a,n)),{}):"literal"===e.type?e.value:"lazy"===e.type?u(i(e,n),t,a,n):"evaluate"===e.type?u(e.schema,e.expression(t),a,n):(console.warn("Unknown schema type:",e),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}),w=(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}),O=(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}),T=e=>({type:"lazy",schema:e}),_=(e,t)=>({type:"evaluate",expression:e,schema:t})}),J=V(()=>{Y(),K(),X()}),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"}))}),C=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(w(h(),g()),{typeComment:"Additional props to pass to the component"}),sidebar:S(x({show:m(),label:h()}),{typeComment:"Sidebar configuration. Set show: true to display in sidebar."})}),x({"content.start":S(y(C),{typeComment:"Components to render before the Introduction/Info section"}),"content.end":S(y(C),{typeComment:"Components to render at specific views in the API Reference"})}),x({onInit:S(b()),onConfigChange:S(b()),onDestroy:S(b())}),E=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(O([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:O([A("localhost"),A("always"),A("never")],{typeComment:"Whether and when to show the developer tools."}),showToolbar:O([A("localhost"),A("always"),A("never")],{typeComment:"@deprecated Use showDeveloperTools instead"}),operationTitleSource:O([A("summary"),A("path")],{typeComment:"Whether to use the operation summary or the operation path for the sidebar and search"}),theme:O([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(O([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(),N=O([h(),f(),w(h(),g()),b()]),$=x({default:m({default:!1}),url:S(h(),{typeComment:"URL to an OpenAPI/Swagger document"}),content:S(N,{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. Used for the page title and the document name in the dropdown. With multiple `sources`, set this per source."}),slug:S(h(),{typeComment:"The slug of the OpenAPI document used in the URL. If none is passed, the title will be used. With multiple `sources`, set this per source."}),spec:S(x({url:S(h()),content:S(N)}),{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,$,x({layout:O([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(E),{typeComment:"Plugins for the API reference"}),pluginUrls:S(y(h()),{typeComment:"URLs of ESM modules that provide additional plugins for the API reference. Each module is loaded with a dynamic `import()` before the API reference mounts, and its default export is registered as a plugin. Unlike `plugins`, this option is JSON-serializable, so integrations that pass their configuration as JSON can load plugins without replacing the whole bundle. Only supported by the standalone browser build (`Scalar.createApiReference`)."}),isEditable:m({default:!1,typeComment:"Allows the user to inject an editor for the spec"}),hideModels:m({default:!1,typeComment:"Whether to show models in the sidebar, search, and content."}),modelsSectionLabel:S(O([A("Models"),A("Schemas"),h()]),{typeComment:"Label for the components.schemas section in the sidebar, content, and search. Use `Schemas` for OpenAPI terminology."}),localization:S(x({locale:S(h()),direction:S(O([A("auto"),A("ltr"),A("rtl")])),translations:S(w(h(),g()))}),{typeComment:"API Reference UI localization. Select a built-in locale, override labels, and control LTR/RTL rendering."}),documentDownloadType:O([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(O([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(O([w(h(),O([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"}),defaultRequestBodyView:S(O([A("form"),A("raw")]),{typeComment:"Initial view for the request body editor with structured (JSON/YAML) bodies"}),customCss:S(h(),{typeComment:"Custom CSS to be added to the page"}),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."}),onRequestBuilt:S(b(),{typeComment:"Fired right before the outbound request is sent; callback receives the exact fetch Request that goes over the wire. 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(O([A("alpha"),b()]),{typeComment:"Function to sort tags"}),operationsSorter:S(O([A("alpha"),A("method"),b()]),{typeComment:"Function to sort operations"}),orderSchemaPropertiesBy:O([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(),J()});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"]),we=["name","property","http-equiv"],xe=new Set(["viewport","description","keywords","robots"]);function Oe(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 we)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 Te(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 _e(e,t){let a=Te({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 Ce(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(_e(e,a))}),r.flat()}var Ee=(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},Ne={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}},$e=/@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:{}}:Ne;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=Ne.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&&$e.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:Ce(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(Ee).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&&Oe(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(Ee)),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&&Oe(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=Te({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}let i="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;return`${e}${r}${i}`}).join(a)}function Fe(e,t){let a=Ve(t),r=Ze(e),n=We(r);return ye.has(r)?Xe(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 Ge(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 Xe(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=Xe({[`${r}${"url"===t?"":`:${t}`}`]:o});("url"===t?a:n).push(...e)}t.push(...a,...n)}else t.push(..."string"==typeof e?Xe({[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?Ge(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(Xe(e.props).map(t=>({...e,tag:"meta",props:t}))),!1):e).filter(Boolean).concat(...t)}}};
/**
* @vue/shared v3.5.40
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/
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=Ot(r)?et(r):Je(r);if(n)for(let e in n)t[e]=n[e]}return t}if(Ot(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(Ot(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&&!Ot(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=wt(e),r=wt(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,wt,xt,Ot,kt,St,At,Tt,_t,Ct,Et,Pt,Mt,Nt,$t,It,Rt,Dt,Lt,Bt,jt,Ut,zt,Ht,Zt,Vt,qt,Qt,Ft,Wt,Gt,Xt,Yt,Kt,Jt,ea=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]"===_t(e),yt=e=>"[object Set]"===_t(e),wt=e=>"[object Date]"===_t(e),xt=e=>"function"==typeof e,Ot=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),Tt=Object.prototype.toString,_t=e=>Tt.call(e),Ct=e=>_t(e).slice(8,-1),Et=e=>"[object Object]"===_t(e),Pt=e=>Ot(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Mt=Ke(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Nt=e=>{let t=Object.create(null);return a=>t[a]||(t[a]=e(a))},$t=/-\w/g,It=Nt(e=>e.replace($t,e=>e.slice(1).toUpperCase())),Rt=/\B([A-Z])/g,Dt=Nt(e=>e.replace(Rt,"-$1").toLowerCase()),Lt=Nt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bt=Nt(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=Ot(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("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly"),Xt=e=>!(!e||!0!==e.__v_isRef),Yt=e=>Ot(e)?e:null==e?"":vt(e)||St(e)&&(e.toString===Tt||!xt(e.toString))?Xt(e)?Yt(e.value):JSON.stringify(e,Kt,2):String(e),Kt=(e,t)=>Xt(t)?Kt(e,t.value):bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,a],r)=>(e[Jt(t,r)+" =>"]=a,e),{})}:yt(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Jt(e))}:kt(t)?Jt(t):!St(t)||vt(t)||Et(t)?t:String(t),Jt=(e,t="")=>kt(e)?`Symbol(${e.description??t})`:e});
/**
* @vue/reactivity v3.5.40
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function ta(){return Ja}function aa(e,t=!1){Ja&&Ja.cleanups.push(e)}function ra(e,t=!1){if(e.flags|=8,t)return e.next=ir,void(ir=e);e.next=or,or=e}function na(){nr++}function oa(){if(--nr>0)return;if(ir){let e=ir;for(ir=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;or;){let t=or;for(or=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 ia(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function sa(e){let t,a=e.depsTail,r=a;for(;r;){let e=r.prevDep;-1===r.version?(r===a&&(a=e),ua(r),da(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=a}function la(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ca(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ca(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===cr)||(e.globalVersion=cr,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!la(e))))return;e.flags|=2;let t=e.dep,a=tr,r=sr;tr=e,sr=!0;try{ia(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{tr=a,sr=r,sa(e),e.flags&=-3}}function ua(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)ua(e,!0)}!t&&! --a.sc&&a.map&&a.map.delete(a.key)}function da(e){let{prevDep:t,nextDep:a}=e;t&&(t.nextDep=a,e.prevDep=void 0),a&&(a.prevDep=t,e.nextDep=void 0)}function pa(){lr.push(sr),sr=!1}function ha(){let e=lr.pop();sr=void 0===e||e}function ma(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=tr;tr=void 0;try{t()}finally{tr=e}}}function fa(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)fa(e)}let a=e.dep.subs;a!==e&&(e.prevSub=a,a&&(a.nextSub=e)),e.dep.subs=e}}function ga(e,t,a){if(sr&&tr){let t=pr.get(e);t||pr.set(e,t=new Map);let r=t.get(a);r||(t.set(a,r=new dr),r.map=t,r.key=a),r.track()}}function va(e,t,a,r,n,o){let i=pr.get(e);if(!i)return void cr++;let s=e=>{e&&e.trigger()};if(na(),"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===fr||!kt(a)&&a>=e)&&s(t)})}else switch((void 0!==a||i.has(void 0))&&s(i.get(a)),o&&s(i.get(fr)),t){case"add":n?o&&s(i.get("length")):(s(i.get(hr)),bt(e)&&s(i.get(mr)));break;case"delete":n||(s(i.get(hr)),bt(e)&&s(i.get(mr)));break;case"set":bt(e)&&s(i.get(hr))}}oa()}function ba(e){let t=ja(e);return t===e?t:(ga(t,0,fr),La(e)?t:t.map(Lr))}function ya(e){return ga(e=ja(e),0,fr),e}function wa(e,t){return Da(e)?Br(Ra(e)?Lr(t):t):Lr(t)}function xa(e,t,a){let r=ya(e),n=r[t]();return r!==e&&!La(e)&&(n._next=n.next,n.next=()=>{let e=n._next();return e.done||(e.value=a(e.value)),e}),n}function Oa(e,t,a,r,n,o){let i=ya(e),s=i!==e&&!La(e),l=i[t];if(l!==vr[t]){let t=l.apply(e,o);return s?Lr(t):t}let c=a;i!==e&&(s?c=function(t,r){return a.call(this,wa(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 ka(e,t,a,r){let n=ya(e),o=n!==e&&!La(e),i=a,s=!1;n!==e&&(o?(s=0===r.length,i=function(t,r,n){return s&&(s=!1,t=wa(e,t)),a.call(this,t,wa(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?wa(e,l):l}function Sa(e,t,a){let r=ja(e);ga(r,0,fr);let n=r[t](...a);return-1!==n&&!1!==n||!Ba(a[0])?n:(a[0]=ja(a[0]),r[t](...a))}function Aa(e,t,a=[]){pa(),na();let r=ja(e)[t].apply(e,a);return oa(),ha(),r}function Ta(e){kt(e)||(e=String(e));let t=ja(this);return ga(t,0,e),t.hasOwnProperty(e)}function _a(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=ja(r),o=ja(a);e||(jt(a,o)&&ga(n,0,a),ga(n,0,o));let{has:i}=Cr(n),s=t?_r:e?Br:Lr;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&&ga(ja(t),0,hr),t.size},has(t){let a=this.__v_raw,r=ja(a),n=ja(t);return e||(jt(t,n)&&ga(r,0,t),ga(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=ja(o),s=t?_r:e?Br:Lr;return!e&&ga(i,0,hr),o.forEach((e,t)=>a.call(r,s(e),s(t),n))}};return ht(a,e?{add:_a("add"),set:_a("set"),delete:_a("delete"),clear:_a("clear")}:{add(e){let a=ja(this),r=Cr(a),n=ja(e),o=t||La(e)||Da(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),va(a,"add",o,o)),this},set(e,a){!t&&!La(a)&&!Da(a)&&(a=ja(a));let r=ja(this),{has:n,get:o}=Cr(r),i=n.call(r,e);i||=(e=ja(e),n.call(r,e));let s=o.call(r,e);return r.set(e,a),i?jt(a,s)&&va(r,"set",e,a):va(r,"add",e,a),this},delete(e){let t=ja(this),{has:a,get:r}=Cr(t),n=a.call(t,e);n||=(e=ja(e),a.call(t,e));r&&r.call(t,e);let o=t.delete(e);return n&&va(t,"delete",e,void 0),o},clear(){let e=ja(this),t=0!==e.size,a=e.clear();return t&&va(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=ja(n),i=bt(o),s="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,c=n[e](...r),u=a?_r:t?Br:Lr;return!t&&ga(o,0,l?mr:hr),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 Ea(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 Pa(e){return Da(e)?e:Ia(e,!1,kr,Er,$r)}function Ma(e){return Ia(e,!1,Ar,Pr,Ir)}function Na(e){return Ia(e,!0,Sr,Mr,Rr)}function $a(e){return Ia(e,!0,Tr,Nr,Dr)}function Ia(e,t,a,r,n){if(!St(e)||e.__v_raw&&(!t||!e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let o=n.get(e);if(o)return o;let i=function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Ct(e));if(0===i)return e;let s=new Proxy(e,2===i?r:a);return n.set(e,s),s}function Ra(e){return Da(e)?Ra(e.__v_raw):!(!e||!e.__v_isReactive)}function Da(e){return!(!e||!e.__v_isReadonly)}function La(e){return!(!e||!e.__v_isShallow)}function Ba(e){return!!e&&!!e.__v_raw}function ja(e){let t=e&&e.__v_raw;return t?ja(t):e}function Ua(e){return!gt(e,"__v_skip")&&Object.isExtensible(e)&&zt(e,"__v_skip",!0),e}function za(e){return!!e&&!0===e.__v_isRef}function Ha(e){return Va(e,!1)}function Za(e){return Va(e,!0)}function Va(e,t){return za(e)?e:new jr(e,t)}function qa(e){return za(e)?e.value:e}function Qa(e){return xt(e)?e():qa(e)}function Fa(e){return Ra(e)?e:new Proxy(e,Ur)}function Wa(e){return new zr(e)}function Ga(e,t,a){return za(e)?e:xt(e)?new Zr(e):St(e)&&arguments.length>1?Xa(e,t,a):Ha(e)}function Xa(e,t,a){return new Hr(e,t,a)}function Ya(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:La(e)||!1===l||0===l?Ka(e,1):Ka(e),m=!1,f=!1;if(za(e)?(n=()=>e.value,m=La(e)):Ra(e)?(n=()=>h(e),m=!0):vt(e)?(f=!0,m=e.some(e=>Ra(e)||La(e)),n=()=>e.map(e=>za(e)?e.value:Ra(e)?h(e):xt(e)?p?p(e,2):e():void 0)):n=xt(e)?t?p?()=>p(e,2):e:()=>{if(o){pa();try{o()}finally{ha()}}let t=Fr;Fr=r;try{return p?p(e,3,[i]):e(i)}finally{Fr=t}}:ct,t&&l){let e=n,t=!0===l?1/0:l;n=()=>Ka(e(),t)}let g=ta(),v=()=>{r.stop(),g&&g.active&&mt(g.effects,r)};if(c&&t){let e=t;t=(...t)=>{let a=e(...t);return v(),a}}let b=f?Array(e.length).fill(qr):qr,y=e=>{if(1&r.flags&&(r.dirty||e))if(t){let a=r.run();if(e||l||m||(f?a.some((e,t)=>jt(e,b[t])):jt(a,b))){o&&o();let e=Fr;Fr=r;try{let e=[a,b===qr?void 0:f&&b[0]===qr?[]:b,i];b=a,p?p(t,3,e):t(...e)}finally{Fr=e}}}else r.run()};return d&&d(y),r=new rr(n),r.scheduler=u?()=>u(y,!1):y,i=e=>function(e,t=!1,a=Fr){if(a){let t=Qr.get(a);t||Qr.set(a,t=[]),t.push(e)}}(e,!1,r),o=r.onStop=()=>{let e=Qr.get(r);if(e){if(p)p(e,4);else for(let t of e)t();Qr.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 Ka(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--,za(e))Ka(e.value,t,a);else if(vt(e))for(let r=0;r<e.length;r++)Ka(e[r],t,a);else if(yt(e)||bt(e))e.forEach(e=>{Ka(e,t,a)});else if(Et(e)){for(let r in e)Ka(e[r],t,a);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ka(e[r],t,a)}return e}var Ja,er,tr,ar,rr,nr,or,ir,sr,lr,cr,ur,dr,pr,hr,mr,fr,gr,vr,br,yr,wr,xr,Or,kr,Sr,Ar,Tr,_r,Cr,Er,Pr,Mr,Nr,$r,Ir,Rr,Dr,Lr,Br,jr,Ur,zr,Hr,Zr,Vr,qr,Qr,Fr,Wr=V(()=>{ea(),er=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&Ja&&(Ja.active?(this.parent=Ja,this.index=(Ja.scopes||=[]).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes){let a=this.scopes.slice();for(e=0,t=a.length;e<t;e++)a[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){let a=this.scopes.slice();for(e=0,t=a.length;e<t;e++)a[e].resume()}let a=this.effects.slice();for(e=0,t=a.length;e<t;e++)a[e].resume()}}run(e){if(this._active){let t=Ja;try{return Ja=this,e()}finally{Ja=t}}}on(){1===++this._on&&(this.prevScope=Ja,Ja=this)}off(){if(this._on>0&&0===--this._on){if(Ja===this)Ja=this.prevScope;else{let e=Ja;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.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){let e=this.scopes.slice();for(t=0,a=e.length;t<a;t++)e[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}}},ar=new WeakSet,rr=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,Ja&&(Ja.active?Ja.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,ar.has(this)&&(ar.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||ra(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,ma(this),ia(this);let e=tr,t=sr;tr=this,sr=!0;try{return this.fn()}finally{sa(this),tr=e,sr=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)ua(e);this.deps=this.depsTail=void 0,ma(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?ar.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){la(this)&&this.run()}get dirty(){return la(this)}},nr=0,sr=!0,lr=[],cr=0,ur=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}},dr=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(!tr||!sr||tr===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==tr)t=this.activeLink=new ur(tr,this),tr.deps?(t.prevDep=tr.depsTail,tr.depsTail.nextDep=t,tr.depsTail=t):tr.deps=tr.depsTail=t,fa(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=tr.depsTail,t.nextDep=void 0,tr.depsTail.nextDep=t,tr.depsTail=t,tr.deps===t&&(tr.deps=e)}return t}trigger(e){this.version++,cr++,this.notify(e)}notify(e){na();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{oa()}}},pr=new WeakMap,hr=Symbol(""),mr=Symbol(""),fr=Symbol(""),gr={__proto__:null,[Symbol.iterator](){return xa(this,Symbol.iterator,e=>wa(this,e))},concat(...e){return ba(this).concat(...e.map(e=>vt(e)?ba(e):e))},entries(){return xa(this,"entries",e=>(e[1]=wa(this,e[1]),e))},every(e,t){return Oa(this,"every",e,t,void 0,arguments)},filter(e,t){return Oa(this,"filter",e,t,e=>e.map(e=>wa(this,e)),arguments)},find(e,t){return Oa(this,"find",e,t,e=>wa(this,e),arguments)},findIndex(e,t){return Oa(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Oa(this,"findLast",e,t,e=>wa(this,e),arguments)},findLastIndex(e,t){return Oa(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Oa(this,"forEach",e,t,void 0,arguments)},includes(...e){return Sa(this,"includes",e)},indexOf(...e){return Sa(this,"indexOf",e)},join(e){return ba(this).join(e)},lastIndexOf(...e){return Sa(this,"lastIndexOf",e)},map(e,t){return Oa(this,"map",e,t,void 0,arguments)},pop(){return Aa(this,"pop")},push(...e){return Aa(this,"push",e)},reduce(e,...t){return ka(this,"reduce",e,t)},reduceRight(e,...t){return ka(this,"reduceRight",e,t)},shift(){return Aa(this,"shift")},some(e,t){return Oa(this,"some",e,t,void 0,arguments)},splice(...e){return Aa(this,"splice",e)},toReversed(){return ba(this).toReversed()},toSorted(e){return ba(this).toSorted(e)},toSpliced(...e){return ba(this).toSpliced(...e)},unshift(...e){return Aa(this,"unshift",e)},values(){return xa(this,"values",e=>wa(this,e))}},vr=Array.prototype,br=Ke("__proto__,__v_isRef,__isVue"),yr=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?Dr:Rr:n?Ir:$r).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(a)?e:void 0;let o=vt(e);if(!r){let e;if(o&&(e=gr[t]))return e;if("hasOwnProperty"===t)return Ta}let i=Reflect.get(e,t,za(e)?e:a);if((kt(t)?yr.has(t):br(t))||(r||ga(e,0,t),n))return i;if(za(i)){let e=o&&Pt(t)?i:i.value;return r&&St(e)?Na(e):e}return St(i)?r?Na(i):Pa(i):i}},xr=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=Da(n);if(!La(a)&&!Da(a)&&(n=ja(n),a=ja(a)),!o&&za(n)&&!za(a))return e||(n.value=a),!0}let i=o?Number(t)<e.length:gt(e,t),s=Reflect.set(e,t,a,za(e)?e:r);return e===ja(r)&&s&&(i?jt(a,n)&&va(e,"set",t,a):va(e,"add",t,a)),s}deleteProperty(e,t){let a=gt(e,t),r=(e[t],Reflect.deleteProperty(e,t));return r&&a&&va(e,"delete",t,void 0),r}has(e,t){let a=Reflect.has(e,t);return(!kt(t)||!yr.has(t))&&ga(e,0,t),a}ownKeys(e){return ga(e,0,vt(e)?"length":hr),Reflect.ownKeys(e)}},Or=class extends wr{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},kr=new xr,Sr=new Or,Ar=new xr(!0),Tr=new Or(!0),_r=e=>e,Cr=e=>Reflect.getPrototypeOf(e),Er={get:Ea(!1,!1)},Pr={get:Ea(!1,!0)},Mr={get:Ea(!0,!1)},Nr={get:Ea(!0,!0)},$r=new WeakMap,Ir=new WeakMap,Rr=new WeakMap,Dr=new WeakMap,Lr=e=>St(e)?Pa(e):e,Br=e=>St(e)?Na(e):e,jr=class{constructor(e,t){this.dep=new dr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:ja(e),this._value=t?e:Lr(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,a=this.__v_isShallow||La(e)||Da(e);e=a?e:ja(e),jt(e,t)&&(this._rawValue=e,this._value=a?e:Lr(e),this.dep.trigger())}},Ur={get:(e,t,a)=>"__v_raw"===t?e:qa(Reflect.get(e,t,a)),set:(e,t,a,r)=>{let n=e[t];return za(n)&&!za(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 dr,{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)}},Hr=class{constructor(e,t,a){this._object=e,this._defaultValue=a,this.__v_isRef=!0,this._value=void 0,this._key=kt(t)?t:String(t),this._raw=ja(e);let r=!0,n=e;if(!vt(e)||kt(this._key)||!Pt(this._key))do{r=!Ba(n)||La(n)}while(r&&(n=n.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=qa(e)),this._value=void 0===e?this._defaultValue:e}set value(e){if(this._shallow&&za(this._raw[this._key])){let t=this._object[this._key];if(za(t))return void(t.value=e)}this._object[this._key]=e}get dep(){return function(e,t){let a=pr.get(e);return a&&a.get(t)}(this._raw,this._key)}},Zr=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()}},Vr=class{constructor(e,t,a){this.fn=e,this.setter=t,this._value=void 0,this.dep=new dr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=cr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=a}notify(){if(this.flags|=16,!(8&this.flags)&&tr!==this)return ra(this,!0),!0}get value(){let e=this.dep.track();return ca(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}},qr={},Qr=new WeakMap,Fr=void 0});
/**
* @vue/runtime-core v3.5.40
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Gr(e,t,a,r){try{return r?e(...r):e()}catch(e){Yr(e,t,a)}}function Xr(e,t,a,r){if(xt(e)){let n=Gr(e,t,a,r);return n&&At(n)&&n.catch(e=>{Yr(e,t,a)}),n}if(vt(e)){let n=[];for(let o=0;o<e.length;o++)n.push(Xr(e[o],t,a,r));return n}}function Yr(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 pa(),Gr(n,null,10,[e,o,i]),void ha()}!function(e,t,a,r=!0,n=!1){if(n)throw e;console.error(e)}(e,0,0,r,o)}function Kr(e){let t=wi||yi;return e?t.then(this?e.bind(this):e):t}function Jr(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,en()}}function en(){wi||=yi.then(nn)}function tn(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),en()}function an(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 rn(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 nn(e){try{for(fi=0;fi<mi.length;fi++){let e=mi[fi];e&&!(8&e.flags)&&(4&e.flags&&(e.flags&=-2),Gr(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,rn(),wi=null,(mi.length||gi.length)&&nn(e)}}function on(e){let t=Oi;return Oi=e,ki=e&&e.type.__scopeId||null,t}function sn(e,t=Oi,a){if(!t||e._n)return e;let r=(...a)=>{r._d&&Vo(-1);let n,o=on(t),i=Hs.length;try{n=e(...a)}finally{for(let e=Hs.length;e>i;e--)Zo();on(o),r._d&&Vo(1)}return n};return r._n=!0,r._c=!0,r._d=!0,r}function ln(e,t){if(null===Oi)return e;let a=pi(Oi),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&&Ka(o),r.push({dir:n,instance:a,value:o,oldValue:void 0,arg:i,modifiers:s}))}return e}function cn(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&&(pa(),Xr(l,a,8,[e.el,s,e,t]),ha())}}function un(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 dn(e,t,a=!1){let r=Ys();if(r||ys){let n=ys?ys._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 pn(e,t){return mn(e,null,t)}function hn(e,t,a){return mn(e,t,a)}function mn(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(al)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)=>Xr(e,u,t,a);let d=!1;"post"===i?l.scheduler=e=>{Ds(e,u&&u.suspense)}:"sync"!==i&&(d=!0,l.scheduler=(e,t)=>{t?e():Jr(e)}),l.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))};let p=Ya(e,t,l);return al&&(r?r.push(p):c&&p()),p}function fn(e,t,a){let r,n=this.proxy,o=Ot(e)?e.includes(".")?gn(n,e):()=>n[e]:e.bind(n,n);xt(t)?r=t:(r=t.handler,a=t);let i=el(this),s=mn(o,r.bind(n),a);return i(),s}function gn(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 vn(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),!Ti.has(e)&&(!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 bn(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))),yn(t,f)}else f&&16&t.shapeFlag&&(h(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}function yn(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 xn(e){let t=e[0];if(e.length>1)for(let a of e)if(a.type!==Us){t=a;break}return t}function On(e,t){let{leavingVNodes:a}=e,r=a.get(t.type);return r||(r=Object.create(null),a.set(t.type,r)),r}function kn(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,w=String(e.key),x=On(a,e),O=(e,t)=>{e&&Xr(e,r,9,t)},k=(e,t)=>{let a=t[1];O(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[Di]&&t[Di](!0);let n=x[w];n&&Go(e,n)&&n.el[Di]&&n.el[Di](),O(r,[t])},enter(t){if(x[w]===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[Li]=e=>{s||(s=!0,O(e?i:n,[t]),S.delayedLeave&&S.delayedLeave(),t[Li]=void 0)};let l=t[Li].bind(null,!1);r?k(r,[t,l]):l()},leave(t,r){let n=String(e.key);if(t[Li]&&t[Li](!0),a.isUnmounting)return r();O(p,[t]);let o=!1;t[Di]=a=>{o||(o=!0,r(),O(a?f:m,[t]),t[Di]=void 0,x[n]===e&&delete x[n])};let i=t[Di].bind(null,!1);x[n]=e,h?k(h,[t,i]):i()},clone(e){let o=kn(e,t,a,r,n);return n&&n(o),o}};return S}function Sn(e){if(Ji(e))return(e=Jo(e)).children=null,e}function An(e){if(!Ji(e))return Ci(e.type)&&e.children?xn(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 Tn(e,t){6&e.shapeFlag&&e.component?(e.transition=t,Tn(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 _n(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===Bs?(128&i.patchFlag&&n++,r=r.concat(_n(i.children,t,s))):(t||i.type!==Us)&&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 Cn(e,t){return xt(e)?ht({name:e.name},t,{setup:e}):e}function En(){let e=Ys();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Pn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Mn(e){let t=Ys(),a=Za(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 Nn(e,t){let a;return!(!(a=Object.getOwnPropertyDescriptor(e,t))||a.configurable)}function $n(e,t,a,r,n=!1){if(vt(e))return void e.forEach((e,o)=>$n(e,t&&(vt(t)?t[o]:t),a,r,n));if(Ki(r)&&!n)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&$n(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=ja(d),h=d===st?ut:e=>!Nn(u,e)&&gt(p,e),m=(e,t)=>!(t&&Nn(u,t));if(null!=c&&c!==l)if(In(t),Ot(c))u[c]=null,h(c)&&(d[c]=null);else if(za(c)){let e=t;m(0,e.k)&&(c.value=null),e.k&&(u[e.k]=null)}if(xt(l))Gr(l,s,12,[i,u]);else{let t=Ot(l),r=za(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(),Zi.delete(e)};t.id=-1,Zi.set(e,t),Ds(t,a)}else In(e),s()}}}function In(e){let t=Zi.get(e);t&&(t.flags|=8,Zi.delete(e))}function Rn(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 w=Gi(a)&&"["===a.data,x=()=>m(a,r,s,c,b,w),{type:O,ref:k,shapeFlag:S,patchFlag:A}=r,T=a.nodeType;r.el=a,-2===A&&(y=!1,r.dynamicChildren=null);let _=null;switch(O){case js:3===T?(a.data!==r.children&&(qi(),a.data=r.children),_=o(a)):""===r.children?(l(r.el=n(""),i(a),a),_=a):_=x();break;case Us:v(a)?(_=o(a),g(r.el=a.content.firstChild,a,s)):_=8!==T||w?x():o(a);break;case zs:if(w&&(T=(a=o(a)).nodeType),1===T||3===T){_=a;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=1===_.nodeType?_.outerHTML:_.data),t===r.staticCount-1&&(r.anchor=_),_=o(_);return w?o(_):_}x();break;case Bs:_=w?h(a,r,s,c,b,y):x();break;default:if(1&S)_=1===T&&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(_=w?f(a):Gi(a)&&"teleport start"===a.data?f(a,a.data,"teleport end"):o(a),t(r,e,null,s,c,Wi(e),y),Ki(r)&&!r.type.__asyncResolved){let t;w?(t=Fs(Bs),t.anchor=_?_.previousSibling:e.lastChild):t=3===a.nodeType?ei(""):Fs("div"),t.el=a,r.component.subTree=t}}else 64&S?_=8===T?r.type.hydrate(a,r,s,c,b,y,e,p):x():128&S&&(_=r.type.hydrate(a,r,s,c,Wi(i(a)),b,y,e,u))}return null!=k&&$n(k,null,c,r),_},d=(e,t,a,n,o,i)=>{i||=!!t.dynamicChildren;let{type:l,dynamicProps:c,props:u,patchFlag:d,shapeFlag:h,dirs:m,transition:f}=t,b="input"===l||"option"===l,y=!!c;if(b||y||-1!==d){m&&cn(t,null,a,"created");let l,w=!1;if(v(e)){w=Do(null,f)&&a&&a.vnode.props&&a.vnode.props.appear;let r=e.content.firstChild;if(w){let e=r.getAttribute("class");e&&(r.$cls=e),f.beforeEnter(r)}g(r,e,a),t.el=e=r}if(16&h&&(!u||!u.innerHTML&&!u.textContent)){let r=p(e.firstChild,t,e,a,n,o,i);for(r&&!Dn(e,1)&&qi();r;){let e=r;r=r.nextSibling,s(e)}}else if(8&h){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")&&(Dn(e,0)||qi(),e.textContent=t.children)}if(u)if(b||y||!i||48&d){let t=e.tagName.includes("-"),n=e.namespaceURI.includes("svg")?"svg":e.namespaceURI.includes("MathML")?"mathml":void 0;for(let o in u)(b&&(o.endsWith("value")||"indeterminate"===o)||dt(o)&&!Mt(o)||"."===o[0]||t&&!Mt(o)||c&&c.includes(o))&&r(e,o,null,u[o],n,a)}else if(u.onClick)r(e,"onClick",null,u.onClick,void 0,a);else if(4&d&&Ra(u.style))for(let e in u.style)u.style[e];(l=u&&u.onVnodeBeforeMount)&&si(l,a,t),m&&cn(t,null,a,"beforeMount"),((l=u&&u.onVnodeMounted)||m||w)&&zo(()=>{l&&si(l,a,t),w&&f.enter(e),m&&cn(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,m=!1;for(let t=0;t<h;t++){let f=d?p[t]:p[t]=ri(p[t]),g=f.type===js;e?(g&&!d&&t+1<h&&ri(p[t+1]).type===js&&(l(n(e.data.slice(f.children.length)),r,o(e)),e.data=f.children),e=u(e,f,i,s,c,d)):g&&!f.children?l(f.el=n(""),r):(m||(m=!0,Dn(r,1)||qi()),a(null,f,r,null,i,s,Wi(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&&Gi(h)&&"]"===h.data?o(t.anchor=h):(qi(),l(t.anchor=c("]"),d,h),h)},m=(e,t,r,n,l,c)=>{if(function(e,t){return Dn(e.parentElement,1)||function(e){return 1===e.nodeType&&Ln(e.getAttribute(Xi),1)}(e)||function({props:e}){let t=e&&e[Xi];return"string"==typeof t&&Ln(t,1)}(t)}(e,t)||qi(),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,Wi(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))&&Gi(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),rn(),void(t._vnode=e);u(t.firstChild,e,null,null,null),rn(),t._vnode=e},u]}function Dn(e,t){if(0===t||1===t)for(;e&&!e.hasAttribute(Xi);)e=e.parentElement;return Ln(e&&e.getAttribute(Xi),t)}function Ln(e,t){if(null==e)return!1;if(""===e)return!0;{let a=e.split(",");return!(0!==t||!a.includes("children"))||a.includes(Yi[t])}}function Bn(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 Cn({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(e,a,r){let n=e.isConnected,o=!1;(a.bu||=[]).push(()=>o=!0);let s=()=>{o||!e.parentNode||n&&!e.isConnected||r()},l=i?()=>{let t=i(s,t=>function(e,t){if(Gi(e)&&"["===e.data){let a=1,r=e.nextSibling;for(;r;){if(1===r.nodeType){if(!1===t(r))break}else if(Gi(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)}:s;t?l():p().then(()=>!a.isUnmounted&&l())},get __asyncResolved(){return t},setup(){let e=Xs;if(Pn(e),t)return()=>jn(t,e);let a=t=>{u=null,Yr(t,e,13,!n)};if(l&&e.suspense||al)return p().then(t=>()=>jn(t,e)).catch(e=>(a(e),()=>n?Fs(n,{error:e}):null));let i,c,d=Ha(!1),h=Ha(),m=Ha(!!o);return is(()=>{null!=i&&clearTimeout(i),null!=c&&clearTimeout(c)}),o&&(c=setTimeout(()=>{e.isUnmounted||(m.value=!1)},o)),null!=s&&(i=setTimeout(()=>{if(!e.isUnmounted&&!d.value&&!h.value){let e=Error(`Async component timed out after ${s}ms.`);a(e),h.value=e}},s)),p().then(()=>{e.isUnmounted||(d.value=!0,e.parent&&Ji(e.parent.vnode)&&e.parent.update())}).catch(t=>{e.isUnmounted?u=null:(a(t),h.value=t)}),()=>d.value&&t?jn(t,e):h.value&&n?Fs(n,{error:h.value}):r&&!m.value?jn(r,e):void 0}})}function jn(e,t){let{ref:a,props:r,children:n,ce:o}=t.vnode,i=Fs(e,r,n);return i.ref=a,i.ce=o,delete t.vnode.ce,i}function Un(e,t){Hn(e,"a",t)}function zn(e,t){Hn(e,"da",t)}function Hn(e,t,a=Xs){let r=e.__wdc||=()=>{let t=a;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Vn(t,r,a),a){let e=a.parent;for(;e&&e.parent;)Ji(e.parent.vnode)&&Zn(r,t,a,e),e=e.parent}}function Zn(e,t,a,r){let n=Vn(t,e,r,!0);is(()=>{mt(r[t],n)},a)}function Vn(e,t,a=Xs,r=!1){if(a){let n=a[e]||(a[e]=[]),o=t.__weh||=(...r)=>{pa();let n=el(a),o=Xr(t,a,e,r);return n(),ha(),o};return r?n.unshift(o):n.push(o),o}}function qn(e,t=Xs){Vn("ec",e,t)}function Qn(e,t){return Wn(us,e,!0,t)||e}function Fn(e){return Ot(e)?Wn(us,e,!1)||e:e||ds}function Wn(e,t,a=!0,r=!1){let n=Oi||Xs;if(n){let a=n.type;if(e===us){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 Xn(e,t,a,r){let n,o=a&&a[r],i=vt(e);if(i||Ot(e)){let a=!1,r=!1;i&&Ra(e)&&(a=!La(e),r=Da(e),e=ya(e)),n=Array(e.length);for(let i=0,s=e.length;i<s;i++)n[i]=t(a?r?Br(Lr(e[i])):Lr(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 Yn(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 Kn(e,t,a={},r,n,o){if(Oi.ce||Oi.parent&&Ki(Oi.parent)&&Oi.parent.ce){let e=null!=o&&null==a.key?ht({},a,{key:o}):a,n=Object.keys(e).length>0;return"default"!==t&&(e.name=t),Ho(),Fo(Bs,null,[Fs("slot",e,r&&r())],n?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);let s,l=Hs.length;Ho();try{let n=i&&Jn(i(a)),l=a.key||o||n&&n.key;s=Fo(Bs,{key:(l&&!kt(l)?l:`_${t}`)+(!n&&r?"_fb":"")},n||(r?r():[]),n&&1===e._?64:-2)}catch(e){for(let e=Hs.length;e>l;e--)Zo();throw e}finally{i&&i._c&&(i._d=!0)}return!n&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),s}function Jn(e){return e.some(e=>!Wo(e)||!(e.type===Us||e.type===Bs&&!Jn(e.children)))?e:null}function eo(e,t){let a={};for(let r in e)a[t&&/[A-Z]/.test(r)?`on:${r}`:Bt(r)]=e[r];return a}function to(){return ro("useSlots").slots}function ao(){return ro("useAttrs").attrs}function ro(e){let t=Ys();return t.setupContext||=di(t)}function no(e){return vt(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function oo(e,t){return e&&t?vt(e)&&vt(t)?e.concat(t):ht({},no(e),no(t)):e||t}function io(e){let t=co(e),a=e.proxy,r=e.ctx;gs=!1,t.beforeCreate&&so(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:w,render:x,renderTracked:O,renderTriggered:k,errorCaptured:S,serverPrefetch:A,expose:T,inheritAttrs:_,components:C,directives:E,filters:P}=t;if(c&&function(e,t){vt(e)&&(e=mo(e));for(let a in e){let r,n=e[a];r=St(n)?"default"in n?dn(n.from||a,n.default,!0):dn(n.from||a):dn(n),za(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=Pa(t))}if(gs=!0,o)for(let e in o){let t=o[e],n=xt(t)?t.bind(a,a):xt(t.get)?t.get.bind(a,a):ct,i=!xt(t)&&xt(t.set)?t.set.bind(a):ct,s=il({get:n,set:i});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(s)for(let e in s)lo(s[e],r,a,e);if(l){let e=xt(l)?l.call(a):l;Reflect.ownKeys(e).forEach(t=>{un(t,e[t])})}function M(e,t){vt(t)?t.forEach(t=>e(t.bind(a))):t&&e(t.bind(a))}if(u&&so(u,e,"c"),M(ts,d),M(as,p),M(rs,h),M(ns,m),M(Un,f),M(zn,g),M(qn,S),M(cs,O),M(ls,k),M(os,b),M(is,w),M(ss,A),vt(T))if(T.length){let t=e.exposed||={};T.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!=_&&(e.inheritAttrs=_),C&&(e.components=C),E&&(e.directives=E),A&&Pn(e)}function so(e,t,a){Xr(vt(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,a)}function lo(e,t,a,r){let n=r.includes(".")?gn(a,r):()=>a[r];if(Ot(e)){let a=t[e];xt(a)&&hn(n,a)}else if(xt(e))hn(n,e.bind(a));else if(St(e))if(vt(e))e.forEach(e=>lo(e,t,a,r));else{let r=xt(e.handler)?e.handler.bind(a):t[e.handler];xt(r)&&hn(n,r,e)}}function co(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=>uo(t,e,s,!0)),uo(t,a,s)):t=a,St(a)&&i.set(a,t),t}function uo(e,t,a,r=!1){let{mixins:n,extends:o}=t;o&&uo(e,o,a,!0),n&&n.forEach(t=>uo(e,t,a,!0));for(let n in t)if(!r||"expose"!==n){let r=vs[n]||a&&a[n];e[n]=r?r(e[n],t[n]):t[n]}return e}function po(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 ho(e,t){return go(mo(e),mo(t))}function mo(e){if(vt(e)){let t={};for(let a=0;a<e.length;a++)t[e[a]]=e[a];return t}return e}function fo(e,t){return e?[...new Set([].concat(e,t))]:t}function go(e,t){return e?ht(Object.create(null),e,t):t}function vo(e,t){return e?vt(e)&&vt(t)?[...new Set([...e,...t])]:ht(Object.create(null),no(e),no(t??{})):t}function bo(e,t){if(!e)return t;if(!t)return e;let a=ht(Object.create(null),e);for(let r in t)a[r]=fo(e[r],t[r]);return a}function yo(){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 wo(e,t){return function(a,r=null){xt(a)||(a=ht({},a)),null!=r&&!St(r)&&(r=null);let n=yo(),o=new WeakSet,i=[],s=!1,l=n.app={_uid:bs++,_component:a,_props:r,_container:null,_context:n,_instance:null,version:sl,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||Fs(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&&(Xr(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=ys;ys=l;try{return e()}finally{ys=t}}};return l}}function xo(e,t,a=st){let r=Ys(),n=It(t),o=Dt(t),i=ws(e,n),s=Wa((i,s)=>{let l,c,u=st;return function(e){mn(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,p=!!(d&&(t in d||n in d||o in d)&&(`onUpdate:${t}`in d||`onUpdate:${n}`in d||`onUpdate:${o}`in d));p||(l=e,s()),r.emit(`update:${t}`,i),jt(e,u)&&(jt(e,i)&&!jt(i,c)||p&&u!==st&&!jt(i,l))&&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 Oo(e,t,...a){if(e.isUnmounted)return;let r=e.vnode.props||st,n=a,o=t.startsWith("update:"),i=o&&ws(r,t.slice(7));i&&(i.trim&&(n=a.map(e=>Ot(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&&Xr(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,Xr(c,e,6,n)}}function ko(e,t,a=!1){let r=a?xs: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=ko(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 So(e,t){return!(!e||!dt(t))&&(t="Once"===(t=t.slice(2))?t:t.replace(/Once$/,""),gt(e,t[0].toLowerCase()+t.slice(1))||gt(e,Dt(t))||gt(e,t))}function Ao(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=on(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:Os(c)}}catch(r){Hs.length=0,Yr(r,e,1),t=Fs(Us)}let y=t;if(a&&!1!==v){let e=Object.keys(a),{shapeFlag:t}=y;e.length&&7&t&&(s&&e.some(pt)&&(a=ks(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&&Tn(y,n.transition),t=y,on(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(_o(t,e,o)&&!So(a,o))return!0}return!1}function _o(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,suspense:a},r){for(;t;){let a=t.subTree;if(a.suspense&&a.suspense.activeBranch===e&&(a.suspense.vnode.el=a.el=r,e=a),a!==e)break;(e=t.vnode).el=r,t=t.parent}a&&a.activeBranch===e&&(a.vnode.el=r)}function Eo(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:So(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,s=!0)}if(i){let t=ja(a),r=n||st;for(let n=0;n<i.length;n++){let s=i[n];a[s]=Po(o,t,s,r[s],e,!gt(r,s))}}return s}function Po(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=el(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 Mo(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]=Mo(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 $o(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&&!Go(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 js:v(e,t,a,r);break;case Us:b(e,t,a,r);break;case zs:e??y(t,a,r,i);break;case Bs:_(e,t,a,r,n,o,i,s,l);break;default:1&d?w(e,t,a,r,n,o,i,s,l):6&d?C(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?$n(u,e&&e.ref,o,t||e,!t):null==u&&e&&null!=e.ref&&$n(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)},w=(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,Io(e,l),c,u),v&&cn(e,null,r,"created"),O(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&&cn(e,null,r,"beforeMount");let b=Do(o,g);b&&g.beforeEnter(p),n(p,t,a),((h=m&&m.onVnodeMounted)||b||v)&&Ds(()=>{try{h&&si(h,r,e),b&&g.enter(p),v&&cn(e,null,r,"mounted")}finally{}},o)},O=(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||Ls(a.type)&&(a.ssContent===t||a.ssFallback===t)){let t=n.vnode;O(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++){let l=e[c]=s?ni(e[c]):ri(e[c]);g(null,l,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&&Ro(a,!1),(h=f.onVnodeBeforeUpdate)&&si(h,a,t,e),p&&cn(t,e,a,"beforeUpdate"),a&&Ro(a,!0),u&&(!e.dynamicChildren||e.dynamicChildren.length!==u.length)&&(c=0,s=!1,u=null),(m.innerHTML&&null==f.innerHTML||m.textContent&&null==f.textContent)&&d(l,""),u?A(e.dynamicChildren,u,l,a,r,Io(t,n),o):s||$(e,t,l,null,a,r,Io(t,n),o,!1),c>0){if(16&c)T(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&&T(l,m,f,a,n);((h=f.onVnodeUpdated)||p)&&Ds(()=>{h&&si(h,a,t,e),p&&cn(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],u=l.el&&(l.type===Bs||!Go(l,c)||198&l.shapeFlag)?p(l.el):a;g(l,c,u,null,r,n,o,i,!0)}},T=(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)}},_=(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)&&Lo(e,t,!0)):$(e,t,a,p,o,i,s,c,u)},C=(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):E(t,a,r,n,o,i,l):P(e,t,l)},E=(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)||Ws,o={uid:Gs++,vnode:e,type:r,parent:t,appContext:n,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new er(!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:Mo(r,n),emitsOptions:ko(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=Oo.bind(null,o),e.ce&&e.ce(o),o}(e,r,n);if(Ji(e)&&(s.ctx.renderer=q),function(e,t=!1,a=!1){t&&Js(t);let{props:r,children:n}=e.vnode,o=li(e);(function(e,t,a,r=!1){let n={},o=As();e.propsDefaults=Object.create(null),Eo(e,t,n,o);for(let t in e.propsOptions[0])t in n||(n[t]=void 0);a?e.props=r?n:Ma(n):e.type.props?e.props=n:e.props=o,e.attrs=o})(e,r,o,t),Is(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,fs);let{setup:r}=a;if(r){pa();let a=e.setupContext=r.length>1?di(e):null,n=el(e),o=Gr(r,e,0,[e.props,a]),i=At(o);if(ha(),n(),(i||e.sp)&&!Ki(e)&&Pn(e),i){if(o.then(tl,tl),t)return o.then(a=>{ci(e,a,t)}).catch(t=>{Yr(t,e,0)});e.asyncDep=o}else ci(e,o,t)}else ui(e,t)}(e,t):void 0;t&&Js(!1)}(s,!1,i),s.asyncDep){if(n&&n.registerDep(s,M,i),!e.el){let r=s.subTree=Fs(Us);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(_o(i,r,a)&&!So(c,a))return!0}}return!1}(e,t,a)){if(r.asyncDep&&!r.asyncResolved)return void N(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 rr(()=>{if(e.isMounted){let{next:t,bu:a,u:r,parent:n,vnode:l}=e;{let a=Bo(e);if(a)return t&&(t.el=l.el,N(e,t,s)),void a.asyncDep.then(()=>{Ds(()=>{e.isUnmounted||c()},o)})}let u,d=t;Ro(e,!1),t?(t.el=l.el,N(e,t,s)):t=l,a&&Ut(a),(u=t.props&&t.props.onVnodeBeforeUpdate)&&si(u,n,t,l),Ro(e,!0);let h=Ao(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&&Ds(r,o),(u=t.props&&t.props.onVnodeUpdated)&&Ds(()=>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=Ki(t);if(Ro(e,!1),u&&Ut(u),!f&&(s=c&&c.onVnodeBeforeMount)&&si(s,p,t),Ro(e,!0),l&&r){let t=()=>{e.subTree=Ao(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=Ao(e);g(null,r,a,n,e,o,i),t.el=r.el}if(d&&Ds(d,o),!f&&(s=c&&c.onVnodeMounted)){let e=t;Ds(()=>si(s,p,e),o)}(256&t.shapeFlag||p&&Ki(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&Ds(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=()=>Jr(u),Ro(e,!0),c()},N=(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=ja(n),[l]=e.propsOptions,c=!1;if(!(r||i>0)||16&i){let r;Eo(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]=Po(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(So(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]=Po(l,s,t,u,e,!1)}else u!==o[i]&&(o[i]=u,c=!0)}}c&&va(e.attrs,"set","")}(e,t.props,r,a),Rs(e,t.children,a),pa(),an(e),ha()},$=(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(!Go(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(!Go(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,w=!1,x=0,O=Array(y);for(c=0;c<y;c++)O[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===O[v-m]&&Go(u,t[v])){r=v;break}void 0===r?L(u,n,o,!0):(O[r-m]=c+1,r>=x?x=r:w=!0,g(u,t[r],a,null,n,o,i,s,l),b++)}}let k=w?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}(O):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||Uo(p):r;0===O[c]?g(null,d,a,h,n,o,i,s,l):w&&(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!==Bs)if(l!==zs)if(2!==r&&1&d&&c)if(0===r)c.persisted&&!s[Di]?n(s,t,a):(c.beforeEnter(s),n(s,t,a),Ds(()=>c.enter(s),i));else{let{leave:r,delayLeave:i,afterLeave:l}=c,u=()=>{e.ctx.isUnmounted?o(s):n(s,t,a)},d=()=>{let e=s._isLeaving||!!s[Di];s._isLeaving&&s[Di](!0),c.persisted&&!e?u():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,memo:m}=e;if(-2===d&&(n=!1),null!=s&&(pa(),$n(s,null,a,e,!0),ha()),null!=h&&(t.renderCache[h]=void 0),256&u)return void t.ctx.deactivate(e);let f,g=1&u&&p,v=!Ki(e);if(v&&(f=i&&i.onVnodeBeforeUnmount)&&si(f,t,e),6&u)U(e.component,a,r);else{if(128&u)return void e.suspense.unmount(a,r);g&&cn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,a,q,r):c&&!c.hasOnce&&(o!==Bs||d>0&&64&d)?z(c,t,a,!1,!0):(o===Bs&&384&d||!n&&16&u)&&z(l,t,a),r&&B(e)}let b=null!=m&&null==h;(v&&(f=i&&i.onVnodeUnmounted)||g||b)&&Ds(()=>{f&&si(f,t,e),g&&cn(e,null,t,"unmounted"),b&&(e.el=null)},a)},B=e=>{let{type:t,el:a,anchor:r,transition:n}=e;if(t===Bs)return void j(a,r);if(t===zs)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;jo(l),jo(c),r&&Ut(r),n.stop(),o&&(o.flags|=8,L(i,e,t,a)),s&&Ds(s,t),Ds(()=>{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,an(r),rn(),!1)},q={p:g,um:L,m:D,r:B,mt:E,mc:k,pc:$,pbc:A,n:H,o:e};return t&&([a,r]=t(q)),{render:V,hydrate:a,createApp:wo(V,a)}}function Io({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 Ro({effect:e,job:t},a){a?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Do(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Lo(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&&Lo(t,o)),o.type===js&&(-1===o.patchFlag&&(o=n[e]=ni(o)),o.el=t.el),o.type===Us&&!o.el&&(o.el=t.el)}}function Bo(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bo(t)}function jo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Uo(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Uo(t.subTree):null}function zo(e,t){t&&t.pendingBranch?vt(e)?t.effects.push(...e):t.effects.push(e):tn(e)}function Ho(e=!1){Hs.push(Zs=e?null:[])}function Zo(){Hs.pop(),Zs=Hs[Hs.length-1]||null}function Vo(e,t=!1){Vs+=e,e<0&&Zs&&t&&(Zs.hasOnce=!0)}function qo(e){return e.dynamicChildren=Vs>0?Zs||lt:null,Zo(),Vs>0&&Zs&&Zs.push(e),e}function Qo(e,t,a,r,n,o){return qo(Xo(e,t,a,r,n,o,!0))}function Fo(e,t,a,r,n){return qo(Fs(e,t,a,r,n,!0))}function Wo(e){return!!e&&!0===e.__v_isVNode}function Go(e,t){return e.type===t.type&&e.key===t.key}function Xo(e,t=null,a=null,r=0,n=null,o=(e===Bs?0:1),i=!1,s=!1){let l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qs(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:Oi};return s?(oi(l,a),128&o&&e.normalize(l)):a&&(l.shapeFlag|=Ot(a)?8:16),Vs>0&&!i&&Zs&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&Zs.push(l),l}function Yo(e,t=null,a=null,r=0,n=null,o=!1){if((!e||e===ds)&&(e=Us),Wo(e)){let r=Jo(e,t,!0);return a&&oi(r,a),Vs>0&&!o&&Zs&&(6&r.shapeFlag?Zs[Zs.indexOf(e)]=r:Zs.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&&!Ot(e)&&(t.class=tt(e)),St(a)&&(Ba(a)&&!vt(a)&&(a=ht({},a)),t.style=Je(a))}return Xo(e,t,a,r,n,Ot(e)?1:Ls(e)?128:Ci(e)?64:St(e)?4:xt(e)?2:0,o,!0)}function Ko(e){return e?Ba(e)||Ts(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&&qs(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!==Bs?-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&&Tn(u,l.clone(u)),u}function ei(e=" ",t=0){return Fs(js,null,e,t)}function ti(e,t){let a=Fs(zs,null,e);return a.staticCount=t,a}function ai(e="",t=!1){return t?(Ho(),Fo(Us,null,e)):Fs(Us,null,e)}function ri(e){return null==e||"boolean"==typeof e?Fs(Us):vt(e)?Fs(Bs,null,e.slice()):Wo(e)?ni(e):Fs(js,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||Ts(t)?3===r&&Oi&&(1===Oi.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Oi}}else if(xt(t)){if(65&r)return void oi(e,{default:t});t={default:t,_ctx:Oi},a=32}else 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)?null==n&&null==a&&!pt(e)&&(t[e]=n):t[e]=a?[].concat(a,n):n}else""!==e&&(t[e]=r[e])}return t}function si(e,t,a,r=null){Xr(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=Fa(t)),ui(e,a)}function ui(e,t,a){let r=e.type;if(!e.render){if(!t&&rl&&!r.render){let t=r.template||co(e).template;if(t){let{isCustomElement:a,compilerOptions:n}=e.appContext.config,{delimiters:o,compilerOptions:i}=r;r.render=rl(t,ht(ht({isCustomElement:a,delimiters:o},n),i))}}e.render=r.render||ct,nl&&nl(e)}{let t=el(e);pa();try{io(e)}finally{ha(),t()}}}function di(e){return{attrs:new Proxy(e.attrs,ol),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function pi(e){return e.exposed?e.exposeProxy||=new Proxy(Fa(Ua(e.exposed)),{get:(t,a)=>a in t?t[a]:a in hs?hs[a](e):void 0,has:(e,t)=>t in e||t in hs}):e.proxy}function hi(e,t,a){try{Vo(-1);let r=arguments.length;return 2===r?St(t)&&!vt(t)?Wo(t)?Fs(e,null,[t]):Fs(e,t):Fs(e,null,t):(r>3?a=Array.prototype.slice.call(arguments,2):3===r&&Wo(a)&&(a=[a]),Fs(e,t,a))}finally{Vo(1)}}var mi,fi,gi,vi,bi,yi,wi,xi,Oi,ki,Si,Ai,Ti,_i,Ci,Ei,Pi,Mi,Ni,$i,Ii,Ri,Di,Li,Bi,ji,Ui,zi,Hi,Zi,Vi,qi,Qi,Fi,Wi,Gi,Xi,Yi,Ki,Ji,es,ts,as,rs,ns,os,is,ss,ls,cs,us,ds,ps,hs,ms,fs,gs,vs,bs,ys,ws,xs,Os,ks,Ss,As,Ts,_s,Cs,Es,Ps,Ms,Ns,$s,Is,Rs,Ds,Ls,Bs,js,Us,zs,Hs,Zs,Vs,qs,Qs,Fs,Ws,Gs,Xs,Ys,Ks,Js,el,tl,al,rl,nl,ol,il,sl,ll=V(()=>{Wr(),ea(),mi=[],fi=-1,gi=[],vi=null,bi=0,yi=Promise.resolve(),wi=null,xi=e=>null==e.id?2&e.flags?-1:1/0:e.id,Oi=null,ki=null,Si=Symbol.for("v-scx"),Ai=()=>dn(Si),Ti=new WeakMap,_i=Symbol("_vte"),Ci=e=>e.__isTeleport,Ei=e=>e&&(e.disabled||""===e.disabled),Pi=e=>e&&(e.defer||""===e.defer),Mi=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ni=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,$i=(e,t)=>{let a=e&&e.to;return Ot(a)?t?t(a):null:a},Ii={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,parentNode:v}}=c,b=Ei(t.props),{dynamicChildren:y}=t,w=(e,t,a)=>{16&e.shapeFlag&&u(e.children,t,a,n,o,i,s,l)},x=(e=t)=>{let a=Ei(e.props),r=e.target=$i(e.props,m),o=wn(r,e,f,h);r&&("svg"!==i&&Mi(r)?i="svg":"mathml"!==i&&Ni(r)&&(i="mathml"),n&&n.isCE&&(n.ce._teleportTargets||(n.ce._teleportTargets=new Set)).add(r),a||(w(e,r,o),yn(e,!1)))},O=e=>{let t=()=>{if(Ti.get(e)===t){if(Ti.delete(e),Ei(e.props)){let t=v(e.el)||a;w(e,t,e.anchor),yn(e,!0)}x(e)}};Ti.set(e,t),Ds(t,o)};if(null==e){let e=t.el=f(""),n=t.anchor=f("");if(h(e,a,r),h(n,a,r),Pi(t.props)||o&&o.pendingBranch)return void O(t);b&&(w(t,a,n),yn(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=Ti.get(e);if(u)return u.flags|=8,Ti.delete(e),void O(t);t.targetStart=e.targetStart;let h=t.target=e.target,f=t.targetAnchor=e.targetAnchor,g=Ei(e.props),v=g?a:h,w=g?r:f;if("svg"===i||Mi(h)?i="svg":("mathml"===i||Ni(h))&&(i="mathml"),y?(p(e.dynamicChildren,y,v,n,o,i,s),Lo(e,t,!0)):l||d(e,t,v,w,n,o,i,s,!1),b)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):vn(t,a,r,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=$i(t.props,m);e&&(t.target=e,vn(t,e,null,c,0))}else g&&vn(t,h,f,c,1);yn(t,b)}},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,h=Ei(p),m=o||!h,f=Ti.get(e);if(f&&(f.flags|=8,Ti.delete(e)),d&&(n(c),n(u)),o&&n(l),!f&&(h||d)&&16&i)for(let e=0;e<s.length;e++){let n=s[e];r(n,t,a,m,!!n.dynamicChildren)}},move:vn,hydrate:bn},Ri=Ii,Di=Symbol("_leaveCb"),Li=Symbol("_enterCb"),Bi=[Function,Array],ji={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Bi,onEnter:Bi,onAfterEnter:Bi,onEnterCancelled:Bi,onBeforeLeave:Bi,onLeave:Bi,onAfterLeave:Bi,onLeaveCancelled:Bi,onBeforeAppear:Bi,onAppear:Bi,onAfterAppear:Bi,onAppearCancelled:Bi},Ui=e=>{let t=e.subTree;return t.component?Ui(t.component):t},zi={name:"BaseTransition",props:ji,setup(e,{slots:t}){let a=Ys(),r=function(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return as(()=>{e.isMounted=!0}),os(()=>{e.isUnmounting=!0}),e}();return()=>{let n=t.default&&_n(t.default(),!0),o=n&&n.length?xn(n):a.subTree?ai():void 0;if(!o)return;let i=ja(e),{mode:s}=i;if(r.isLeaving)return Sn(o);let l=An(o);if(!l)return Sn(o);let c=kn(l,i,r,a,e=>c=e);l.type!==Us&&Tn(l,c);let u=a.subTree&&An(a.subTree);if(u&&u.type!==Us&&!Go(u,l)&&Ui(a).type!==Us){let e=kn(u,i,r,a);if(Tn(u,e),"out-in"===s&&l.type!==Us)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,8&a.job.flags||a.update(),delete e.afterLeave,u=void 0},Sn(o);"in-out"===s&&l.type!==Us?e.delayLeave=(e,t,a)=>{On(r,u)[String(u.key)]=u,e[Di]=()=>{t(),e[Di]=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}}},Hi=zi,Zi=new WeakMap,Vi=!1,qi=()=>{Vi||=(console.error("Hydration completed but contains mismatches."),!0)},Qi=e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName,Fi=e=>e.namespaceURI.includes("MathML"),Wi=e=>{if(1===e.nodeType){if(Qi(e))return"svg";if(Fi(e))return"mathml"}},Gi=e=>8===e.nodeType,Xi="data-allow-mismatch",Yi={0:"text",1:"children",2:"class",3:"style",4:"attribute"},qt().requestIdleCallback,qt().cancelIdleCallback,Ki=e=>!!e.type.__asyncLoader,Ji=e=>e.type.__isKeepAlive,es=e=>(t,a=Xs)=>{(!al||"sp"===e)&&Vn(e,(...e)=>t(...e),a)},ts=es("bm"),as=es("m"),rs=es("bu"),ns=es("u"),os=es("bum"),is=es("um"),ss=es("sp"),ls=es("rtg"),cs=es("rtc"),us="components",ds=Symbol.for("v-ndc"),ps=e=>e?li(e)?pi(e):ps(e.parent):null,hs=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=>ps(e.parent),$root:e=>ps(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>co(e),$forceUpdate:e=>e.f||=()=>{Jr(e.update)},$nextTick:e=>e.n||=Kr.bind(e.proxy),$watch:e=>fn.bind(e)}),ms=(e,t)=>e!==st&&!e.__isScriptSetup&&gt(e,t),fs={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(ms(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];gs&&(i[t]=0)}}let c,u,d=hs[t];return d?("$attrs"===t&&ga(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 ms(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)||ms(t,s)||gt(o,s)||gt(r,s)||gt(hs,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)}},gs=!0,vs={data:po,props:vo,emits:vo,methods:go,computed:go,beforeCreate:fo,created:fo,beforeMount:fo,mounted:fo,beforeUpdate:fo,updated:fo,beforeDestroy:fo,beforeUnmount:fo,destroyed:fo,unmounted:fo,activated:fo,deactivated:fo,errorCaptured:fo,serverPrefetch:fo,components:go,directives:go,watch:bo,provide:po,inject:ho},bs=0,ys=null,ws=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${It(t)}Modifiers`]||e[`${Dt(t)}Modifiers`],xs=new WeakMap,Os=e=>{let t;for(let a in e)("class"===a||"style"===a||dt(a))&&((t||={})[a]=e[a]);return t},ks=(e,t)=>{let a={};for(let r in e)(!pt(r)||!(r.slice(9)in t))&&(a[r]=e[r]);return a},Ss={},As=()=>Object.create(Ss),Ts=e=>Object.getPrototypeOf(e)===Ss,_s=new WeakMap,Cs=e=>"_"===e||"_ctx"===e||"$stable"===e,Es=e=>vt(e)?e.map(ri):[ri(e)],Ps=(e,t,a)=>{if(t._n)return t;let r=sn((...e)=>Es(t(...e)),a);return r._c=!1,r},Ms=(e,t,a)=>{let r=e._ctx;for(let a in e){if(Cs(a))continue;let n=e[a];if(xt(n))t[a]=Ps(0,n,r);else if(null!=n){let e=Es(n);t[a]=()=>e}}},Ns=(e,t)=>{let a=Es(t);e.slots.default=()=>a},$s=(e,t,a)=>{for(let r in t)(a||!Cs(r))&&(e[r]=t[r])},Is=(e,t,a)=>{let r=e.slots=As();if(32&e.vnode.shapeFlag){let e=t._;e?($s(r,t,a),a&&zt(r,"_",e,!0)):Ms(t,r)}else t&&Ns(e,t)},Rs=(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,Ms(t,n)),i=t}else t&&(Ns(e,t),i={default:1});if(o)for(let e in n)!Cs(e)&&null==i[e]&&delete n[e]},Ds=zo,Ls=e=>e.__isSuspense,Bs=Symbol.for("v-fgt"),js=Symbol.for("v-txt"),Us=Symbol.for("v-cmt"),zs=Symbol.for("v-stc"),Hs=[],Zs=null,Vs=1,qs=({key:e})=>e??null,Qs=({ref:e,ref_key:t,ref_for:a})=>("number"==typeof e&&(e=""+e),null==e?null:Ot(e)||za(e)||xt(e)?{i:Oi,r:e,k:t,f:!!a}:e),Fs=Yo,Ws=yo(),Gs=0,Xs=null,Ys=()=>Xs||Oi;{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)}};Ks=t("__VUE_INSTANCE_SETTERS__",e=>Xs=e),Js=t("__VUE_SSR_SETTERS__",e=>al=e)}el=e=>{let t=Xs;return Ks(e),e.scope.on(),()=>{e.scope.off(),Ks(t)}},tl=()=>{Xs&&Xs.scope.off(),Ks(null)},al=!1,ol={get:(e,t)=>(ga(e,0,""),e[t])},il=(e,t)=>function(e,t,a=!1){let r,n;return xt(e)?r=e:(r=e.get,n=e.set),new Vr(r,n,a)}(e,0,al),sl="3.5.40"});
/**
* @vue/runtime-dom v3.5.40
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function cl(e){let t={};for(let a in e)a in Gl||(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[ul(e.enter),ul(e.leave)];{let t=ul(e);return[t,t]}}(n),f=m&&m[0],g=m&&m[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:y,onLeave:w,onLeaveCancelled:x,onBeforeAppear:O=v,onAppear:k=b,onAppearCancelled:S=y}=t,A=(e,t,a,r)=>{e._enterCancelled=r,pl(e,t?u:s),pl(e,t?c:i),a&&a()},T=(e,t)=>{e._isLeaving=!1,pl(e,d),pl(e,h),pl(e,p),t&&t()},_=e=>(t,a)=>{let n=e?k:b,i=()=>A(t,e,a);Jl(n,[t,i]),hl(()=>{pl(t,e?l:o),dl(t,e?u:s),ec(n)||ml(t,r,f,i)})};return ht(t,{onBeforeEnter(e){Jl(v,[e]),dl(e,o),dl(e,i)},onBeforeAppear(e){Jl(O,[e]),dl(e,l),dl(e,c)},onEnter:_(!1),onAppear:_(!0),onLeave(e,t){e._isLeaving=!0;let a=()=>T(e,t);dl(e,d),e._enterCancelled?(dl(e,p),vl(e)):(vl(e),dl(e,p)),hl(()=>{e._isLeaving&&(pl(e,d),dl(e,h),ec(w)||ml(e,r,g,a))}),Jl(w,[e,a])},onEnterCancelled(e){A(e,!1,void 0,!0),Jl(y,[e])},onAppearCancelled(e){A(e,!0,void 0,!0),Jl(S,[e])},onLeaveCancelled(e){T(e),Jl(x,[e])}})}function ul(e){return Zt(e)}function dl(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Wl]||(e[Wl]=new Set)).add(t)}function pl(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let a=e[Wl];a&&(a.delete(t),a.size||(e[Wl]=void 0))}function hl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}function ml(e,t,a,r){let n=e._endId=++tc,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(`${Ql}Delay`),o=r(`${Ql}Duration`),i=fl(n,o),s=r(`${Fl}Delay`),l=r(`${Fl}Duration`),c=fl(s,l),u=null,d=0,p=0;t===Ql?i>0&&(u=Ql,d=i,p=o.length):t===Fl?c>0&&(u=Fl,d=c,p=l.length):(d=Math.max(i,c),u=d>0?i>c?Ql:Fl:null,p=u?u===Ql?o.length:l.length:0);let h=u===Ql&&/\b(?:transform|all)(?:,|$)/.test(r(`${Ql}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 fl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,a)=>gl(t)+gl(e[a])))}function gl(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function vl(e){return(e?e.ownerDocument:document).body.offsetHeight}function bl(e,t){e.style.display=t?e[ac]:"none",e[rc]=!t}function yl(e){let t=Ys();if(!t)return;let a=t.ut=(a=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>xl(e,a))},r=()=>{let r=e(t.proxy);t.ce?xl(t.ce,r):wl(t.subTree,r),a(r)};rs(()=>{tn(r)}),as(()=>{hn(r,ct,{flush:"post"});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),is(()=>e.disconnect())})}function wl(e,t){if(128&e.shapeFlag){let a=e.suspense;e=a.activeBranch,a.pendingBranch&&!a.isHydrating&&a.effects.push(()=>{wl(a.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)xl(e.el,t);else if(e.type===Bs)e.children.forEach(e=>wl(e,t));else if(e.type===zs){let{el:a,anchor:r}=e;for(;a&&(xl(a,t),a!==r);)a=a.nextSibling}}function xl(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[oc]=r}}function Ol(e,t,a){if(vt(a))a.forEach(a=>Ol(e,t,a));else if(a??="",t.startsWith("--"))e.setProperty(t,a);else{let r=function(e,t){let a=cc[t];if(a)return a;let r=It(t);if("filter"!==r&&r in e)return cc[t]=r;r=Lt(r);for(let a=0;a<lc.length;a++){let n=lc[a]+r;if(n in e)return cc[t]=n}return t}(e,t);sc.test(a)?e.setProperty(Dt(r),a.replace(sc,""),"important"):e[r]=a}}function kl(e,t,a,r){return"TEXTAREA"===e.tagName&&("width"===t||"height"===t)&&Ot(r)&&a===r}function Sl(e,t,a,r,n,o=Gt(t)){r&&t.startsWith("xlink:")?null==a?e.removeAttributeNS(uc,t.slice(6,t.length)):e.setAttributeNS(uc,t,a):null==a||o&&!rt(a)?e.removeAttribute(t):e.setAttribute(t,o?"":kt(a)?String(a):a)}function Al(e,t,a,r,n){if("innerHTML"===t||"textContent"===t)return void(null!=a&&(e[t]="innerHTML"===t?Hl(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 Tl(e,t,a,r){e.addEventListener(t,a,r)}function _l(e,t,a,r,n=null){let o=e[dc]||(e[dc]={}),i=o[t];if(r&&i)i.value=r;else{let[a,s]=function(e){let t,a;for(;(a=e.match(pc))&&!hc.test(e);)t||={},e=e.slice(0,e.length-a[1].length),t[a[1].toLowerCase()]=!0;return[":"===e[2]?e.slice(3):Dt(e.slice(2)),t]}(t);r?Tl(e,a,o[t]=function(e,t){let a=e=>{if(e._vts){if(e._vts<=a.attached)return}else e._vts=Date.now();let r=a.value;if(vt(r)){let a=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{a.call(e),e._stopped=!0};let n=r.slice(),o=[e];for(let a=0;a<n.length&&!e._stopped;a++){let e=n[a];e&&Xr(e,t,5,o)}}else Xr(r,t,5,[e])};return a.value=e,a.attached=gc(),a}(r,n),s):i&&(function(e,t,a,r){e.removeEventListener(t,a,r)}(e,a,i,s),o[t]=void 0)}}function Cl(e){e.target.composing=!0}function El(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}function Pl(e,t,a){return t&&(e=e.trim()),a&&(e=Ht(e)),e}function Ml(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,Il(e,!0))}e.checked!==n&&(e.checked=n)}function Nl(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=$l(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($l(o),t))return void(e.selectedIndex!==n&&(e.selectedIndex=n))}!a&&-1!==e.selectedIndex&&(e.selectedIndex=-1)}}function $l(e){return"_value"in e?e._value:e.value}function Il(e,t){let a=t?"_trueValue":"_falseValue";return a in e?e[a]:t}function Rl(e,t,a,r,n){let o=function(e,t){switch(e){case"SELECT":return Sc;case"TEXTAREA":return xc;default:switch(t){case"checkbox":return Oc;case"radio":return kc;default:return xc}}}(e.tagName,a.props&&a.props.type)[n];o&&o(e,t,a,r)}function Dl(){return Nc||=function(e){return $o(e)}(Mc)}function Ll(){return Nc=$c?Nc:function(e){return $o(e,Rn)}(Mc),$c=!0,Nc}function Bl(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function jl(e){return Ot(e)?document.querySelector(e):e}var Ul,zl,Hl,Zl,Vl,ql,Ql,Fl,Wl,Gl,Xl,Yl,Kl,Jl,ec,tc,ac,rc,nc,oc,ic,sc,lc,cc,uc,dc,pc,hc,mc,fc,gc,vc,bc,yc,wc,xc,Oc,kc,Sc,Ac,Tc,_c,Cc,Ec,Pc,Mc,Nc,$c,Ic,Rc,Dc,Lc=V(()=>{if(ll(),ll(),ea(),Ul=void 0,zl=typeof window<"u"&&window.trustedTypes)try{Ul=zl.createPolicy("vue",{createHTML:e=>e})}catch{}Hl=Ul?e=>Ul.createHTML(e):e=>e,Zl=typeof document<"u"?document:null,Vl=Zl&&Zl.createElement("template"),ql={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{Vl.innerHTML=Hl("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e);let n=Vl.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]}},Ql="transition",Fl="animation",Wl=Symbol("_vtc"),Gl={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},Xl=ht({},ji,Gl),Yl=e=>(e.displayName="Transition",e.props=Xl,e),Kl=Yl((e,{slots:t})=>hi(Hi,cl(e),t)),Jl=(e,t=[])=>{vt(e)?e.forEach(e=>e(...t)):e&&e(...t)},ec=e=>!!e&&(vt(e)?e.some(e=>e.length>1):e.length>1),tc=0,ac=Symbol("_vod"),rc=Symbol("_vsh"),nc={name:"show",beforeMount(e,{value:t},{transition:a}){e[ac]="none"===e.style.display?"":e.style.display,a&&t?a.beforeEnter(e):bl(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),bl(e,!0),r.enter(e)):r.leave(e,()=>{bl(e,!1)}):bl(e,t))},beforeUnmount(e,{value:t}){bl(e,t)}},oc=Symbol(""),ic=/(?:^|;)\s*display\s*:/,sc=/\s*!important$/,lc=["Webkit","Moz","ms"],cc={},uc="http://www.w3.org/1999/xlink",dc=Symbol("_vei"),pc=/(Once|Passive|Capture)$/,hc=/^on:?(?:Once|Passive|Capture)$/,mc=0,fc=Promise.resolve(),gc=()=>mc||=(fc.then(()=>mc=0),Date.now()),vc=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bc=(e,t,a,r,n,o)=>{let i="svg"===n;"class"===t?function(e,t,a){let r=e[Wl];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=Ot(a),o=!1;if(a&&!n){if(t)if(Ot(t))for(let e of t.split(";")){let t=e.slice(0,e.indexOf(":")).trim();a[t]??Ol(r,t,"")}else for(let e in t)a[e]??Ol(r,e,"");for(let n in a){"display"===n&&(o=!0);let i=a[n];null==i?Ol(r,n,""):kl(e,n,!Ot(t)&&t?t[n]:void 0,i)||Ol(r,n,i)}}else if(n){if(t!==a){let e=r[oc];e&&(a+=";"+e),r.cssText=a,o=ic.test(a)}}else t&&e.removeAttribute("style");ac in e&&(e[ac]=o?r.display:"",e[rc]&&(r.display="none"))}(e,a,r):dt(t)?pt(t)||_l(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&&vc(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(!vc(t)||!Ot(a))&&t in e}(e,t,r,i))?(Al(e,t,r),!e.tagName.includes("-")&&("value"===t||"checked"===t||"selected"===t)&&Sl(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)||!Ot(r)))?Al(e,It(t),r,0,t):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),Sl(e,t,r,i))},yc=e=>{let t=e.props["onUpdate:modelValue"]||!1;return vt(t)?e=>Ut(t,e):t},wc=Symbol("_assign"),xc={created(e,{modifiers:{lazy:t,trim:a,number:r}},n){e[wc]=yc(n);let o=r||n.props&&"number"===n.props.type;Tl(e,t?"change":"input",t=>{t.target.composing||e[wc](Pl(e.value,a,o))}),(a||o)&&Tl(e,"change",()=>{e.value=Pl(e.value,a,o)}),t||(Tl(e,"compositionstart",Cl),Tl(e,"compositionend",El),Tl(e,"change",El))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:a,modifiers:{lazy:r,trim:n,number:o}},i){if(e[wc]=yc(i),e.composing)return;let s=t??"";if((!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:Ht(e.value))===s)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&"range"!==e.type&&(r&&t===a||n&&e.value.trim()===s)||(e.value=s)}},Oc={deep:!0,created(e,t,a){e[wc]=yc(a),Tl(e,"change",()=>{let t=e._modelValue,a=$l(e),r=e.checked,n=e[wc];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(Il(e,r))})},mounted:Ml,beforeUpdate(e,t,a){e[wc]=yc(a),Ml(e,t,a)}},kc={created(e,{value:t},a){e.checked=nt(t,a.props.value),e[wc]=yc(a),Tl(e,"change",()=>{e[wc]($l(e))})},beforeUpdate(e,{value:t,oldValue:a},r){e[wc]=yc(r),t!==a&&(e.checked=nt(t,r.props.value))}},Sc={deep:!0,created(e,{value:t,modifiers:{number:a}},r){e._modelValue=t,Tl(e,"change",()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>a?Ht($l(e)):$l(e));e[wc](e.multiple?yt(e._modelValue)?new Set(t):t:t[0]),e._assigning=!0,Kr(()=>{e._assigning=!1})}),e[wc]=yc(r)},mounted(e,{value:t}){Nl(e,t)},beforeUpdate(e,{value:t},a){e._modelValue=t,e[wc]=yc(a)},updated(e,{value:t}){e._assigning||Nl(e,t)}},Ac={created(e,t,a){Rl(e,t,a,null,"created")},mounted(e,t,a){Rl(e,t,a,null,"mounted")},beforeUpdate(e,t,a,r){Rl(e,t,a,r,"beforeUpdate")},updated(e,t,a,r){Rl(e,t,a,r,"updated")}},Tc=["ctrl","shift","alt","meta"],_c={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)=>Tc.some(a=>e[`${a}Key`]&&!t.includes(a))},Cc=(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=_c[t[e]];if(r&&r(a,t))return}return e(a,...r)})},Ec={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Pc=(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||Ec[e]===r)?e(a):void 0})},Mc=ht({patchProp:bc},ql),$c=!1,Ic=(...e)=>{Dl().render(...e)},Rc=(...e)=>{let t=Dl().createApp(...e),{mount:a}=t;return t.mount=e=>{let r=jl(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,Bl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Dc=(...e)=>{let t=Ll().createApp(...e),{mount:a}=t;return t.mount=e=>{let t=jl(e);if(t)return a(t,!0,Bl(t))},t}}),Bc=V(()=>{Lc()});
/**
* vue v3.5.40
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/Bc();var jc=(e,t)=>za(t)?Qa(t):t;Bc();var Uc="usehead";function zc(){if(Ys()||ys){let e=dn(Uc);if(e)return e}throw Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function Hc(e,t={}){let a=t.head||zc();return a.ssr?a.push(e||{},t):function(e,t,a={}){let r,n=Ha(!1);return pn(()=>{let o=n.value?{}:Ae(t,jc);r?r.patch(o):r=e.push(o,a)}),Ys()&&(os(()=>{r.dispose()}),zn(()=>{n.value=!0}),Un(()=>{n.value=!1})),r}(a,e,t)}function Zc(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(Uc,e)}}.install}(t),t}var Vc=V(()=>{Bc()});function qc(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}var Qc=V(()=>{});function Fc(){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 qc(()=>{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=Fc();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 Wc=V(()=>{Qc()});var Gc,Xc,Yc,Kc=V(()=>{Bc(),Gc=Symbol("headlessui.useid"),Xc=0,Yc=En??function(){return dn(Gc,()=>""+ ++Xc)()}});function Jc(e){if(null==e||null==e.value)return null;let t=e.value.$el??e.value;return t instanceof Node?t:null}var eu=V(()=>{});function tu(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,tu),r}var au,ru,nu,ou,iu,su=V(()=>{}),lu=V(()=>{au=Object.defineProperty,ru=(e,t,a)=>t in e?au(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,nu=(e,t,a)=>(ru(e,"symbol"==typeof t?t:t+"",a),a),ou=class{constructor(){nu(this,"current",this.detect()),nu(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"}},iu=new ou});function cu(e){if(iu.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(null!=e&&e.hasOwnProperty("value")){let t=Jc(e);if(t)return t.ownerDocument}return document}var uu=V(()=>{eu(),lu()});function du(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(vu)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}function pu(e,t=0){return e!==cu(e)?.body&&tu(t,{0:()=>e.matches(vu),1(){let t=e;for(;null!==t;){if(t.matches(vu))return!0;t=t.parentElement}return!1}})}function hu(e){let t=cu(e);Kr(()=>{t&&!pu(t.activeElement,0)&&mu(e)})}function mu(e){e?.focus({preventScroll:!0})}function fu(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 gu(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?fu(e):e:du(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,ku)??!1}(s)&&s.select(),2}var vu,bu,yu,wu,xu,Ou,ku,Su=V(()=>{Bc(),su(),uu(),vu=["[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(","),bu=(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))(bu||{}),yu=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(yu||{}),wu=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(wu||{}),xu=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(xu||{}),Ou=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Ou||{}),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)),ku=["textarea","input"].join(",")});function Au(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Tu(){return Au()||/Android/gi.test(window.navigator.userAgent)}var _u=V(()=>{});function Cu(e,t,a){iu.isServer||pn(r=>{document.addEventListener(e,t,a),r(()=>document.removeEventListener(e,t,a))})}var Eu=V(()=>{Bc(),lu()});function Pu(e,t,a){iu.isServer||pn(r=>{window.addEventListener(e,t,a),r(()=>window.removeEventListener(e,t,a))})}var Mu=V(()=>{Bc(),lu()});function Nu(e,t,a=il(()=>!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:Jc(e);if(null!=t&&t.contains(o)||r.composed&&r.composedPath().includes(t))return}return!pu(o,xu.Loose)&&-1!==o.tabIndex&&r.preventDefault(),t(r,o)}let n=Ha(null);Cu("pointerdown",e=>{a.value&&(n.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Cu("mousedown",e=>{a.value&&(n.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Cu("click",e=>{Tu()||(n.value&&=(r(e,()=>n.value),null))},!0),Cu("touchend",e=>r(e,()=>e.target instanceof HTMLElement?e.target:null),!0),Pu("blur",e=>r(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var $u=V(()=>{Bc(),eu(),Su(),_u(),Eu(),Mu()});function Iu(e,t){if(e)return e;let a=t??"button";return"string"==typeof a&&"button"===a.toLowerCase()?"button":void 0}function Ru(e,t){let a=Ha(Iu(e.value.type,e.value.as));return as(()=>{a.value=Iu(e.value.type,e.value.as)}),pn(()=>{var e;a.value||Jc(t)&&Jc(t)instanceof HTMLButtonElement&&(null==(e=Jc(t))||!e.hasAttribute("type"))&&(a.value="button")}),a}var Du=V(()=>{Bc(),eu()});function Lu(e){return[e.screenX,e.screenY]}function Bu(){let e=Ha([-1,-1]);return{wasMoved(t){let a=Lu(t);return(e.value[0]!==a[0]||e.value[1]!==a[1])&&(e.value=a,!0)},update(t){e.value=Lu(t)}}}var ju=V(()=>{Bc()});var Uu=V(()=>{Bc(),uu()});function zu({visible:e=!0,features:t=0,ourProps:a,theirProps:r,...n}){var o;let i=Vu(r,a),s=Object.assign(n,{props:i});return e||2&t&&i.static?Hu(s):1&t?tu(null==(o=i.unmount)||o?0:1,{0:()=>null,1:()=>Hu({...n,props:{...i,hidden:!0,style:{display:"none"}}})}):Hu(s)}function Hu({props:e,attrs:t,slots:a,slot:r,name:n}){let{as:o,...i}=qu(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=Zu(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=Vu(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 Zu(e){return e.flatMap(e=>e.type===Bs?Zu(e.children):[e])}function Vu(...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 qu(e,t=[]){let a=Object.assign({},e);for(let e of t)e in a&&delete a[e];return a}var Qu,Fu,Wu,Gu,Xu=V(()=>{Bc(),su(),Qu=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Qu||{}),Fu=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Fu||{})}),Yu=V(()=>{Bc(),Xu(),Wu=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Wu||{}),Gu=Cn({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 zu({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 Ku(){return dn(ed,null)}function Ju(e){un(ed,e)}var ed,td,ad,rd=V(()=>{Bc(),ed=Symbol("Context"),td=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(td||{})}),nd=V(()=>{ad=(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))(ad||{})});var od,id=V(()=>{}),sd=V(()=>{id(),od=[],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&&od[0]!==e.target&&(od.unshift(e.target),od=od.filter(e=>null!=e&&e.isConnected),od.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 ld(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 cd,ud=V(()=>{cd=(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))(cd||{})});function dd(e={},t=null,a=[]){for(let[r,n]of Object.entries(e))hd(a,pd(t,r),n);return a}function pd(e,t){return e?e+"["+t+"]":t}function hd(e,t,a){if(Array.isArray(a))for(let[r,n]of a.entries())hd(e,pd(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,""]):dd(a,t,e)}var md=V(()=>{}),fd=V(()=>{});function gd(e,t,a,r){iu.isServer||pn(n=>{e??=window,e.addEventListener(t,a,r),n(()=>e.removeEventListener(t,a,r))})}var vd=V(()=>{Bc(),lu()});function bd(){let e=Ha(0);return Pu("keydown",t=>{"Tab"===t.key&&(e.value=+!!t.shiftKey)}),e}var yd,wd=V(()=>{Bc(),Mu(),yd=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(yd||{})});function xd(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=Jc(a);e instanceof HTMLElement&&t.add(e)}return t}function Od({ownerDocument:e},t){let a=function(e){let t=Ha(od.slice());return hn([e],([e],[a])=>{!0===a&&!1===e?qc(()=>{t.value.splice(0)}):!1===a&&!0===e&&(t.value=od.slice())},{flush:"post"}),()=>t.value.find(e=>null!=e&&e.isConnected)??null}(t);as(()=>{pn(()=>{t.value||e.value?.activeElement===e.value?.body&&mu(a())},{flush:"post"})}),is(()=>{t.value&&mu(a())})}function kd(e,t){for(let a of e)if(a.contains(t))return!0;return!1}var Sd,Ad,Td=V(()=>{Bc(),vd(),wd(),Yu(),sd(),eu(),Su(),su(),Qc(),uu(),Xu(),Sd=(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))(Sd||{}),Ad=Object.assign(Cn({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:Ha(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:a,expose:r}){let n=Ha(null);r({el:n,$el:n});let o=il(()=>cu(n)),i=Ha(!1);as(()=>i.value=!0),is(()=>i.value=!1),Od({ownerDocument:o},il(()=>i.value&&!!(16&e.features)));let s=function({ownerDocument:e,container:t,initialFocus:a},r){let n=Ha(null),o=Ha(!1);return as(()=>o.value=!0),is(()=>o.value=!1),as(()=>{hn([t,a,r],(i,s)=>{if(i.every((e,t)=>s?.[t]===e)||!r.value)return;let l=Jc(t);l&&qc(()=>{if(!o.value)return;let t=Jc(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?mu(t):gu(l,bu.First|bu.NoScroll)===yu.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:il(()=>e.initialFocus)},il(()=>i.value&&!!(2&e.features)));!function({ownerDocument:e,container:t,containers:a,previousActiveElement:r},n){gd(e.value?.defaultView,"focus",e=>{if(!n.value)return;let o=xd(a);Jc(t)instanceof HTMLElement&&o.add(Jc(t));let i=r.value;if(!i)return;let s=e.target;s&&s instanceof HTMLElement?kd(o,s)?(r.value=s,mu(s)):(e.preventDefault(),e.stopPropagation(),mu(i)):mu(r.value)},!0)}({ownerDocument:o,container:n,containers:e.containers,previousActiveElement:s},il(()=>i.value&&!!(8&e.features)));let l=bd();function c(e){let t=Jc(n);t&&(e=>{e()})(()=>{tu(l.value,{[yd.Forwards]:()=>{gu(t,bu.First,{skipElements:[e.relatedTarget]})},[yd.Backwards]:()=>{gu(t,bu.Last,{skipElements:[e.relatedTarget]})}})})}let u=Ha(!1);function d(e){"Tab"===e.key&&(u.value=!0,requestAnimationFrame(()=>{u.value=!1}))}function p(t){if(!i.value)return;let a=xd(e.containers);Jc(n)instanceof HTMLElement&&a.add(Jc(n));let r=t.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(kd(a,r)||(u.value?gu(Jc(n),tu(l.value,{[yd.Forwards]:()=>bu.Next,[yd.Backwards]:()=>bu.Previous})|bu.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&mu(t.target)))}return()=>{let r={ref:n,onKeydown:d,onFocusout:p},{features:o,initialFocus:i,containers:s,...l}=e;return hi(Bs,[!!(4&o)&&hi(Gu,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Wu.Focusable}),zu({ourProps:r,theirProps:{...t,...l},slot:{},attrs:t,slots:a,name:"FocusTrap"}),!!(4&o)&&hi(Gu,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:c,features:Wu.Focusable})])}}}),{features:Sd})});var _d=V(()=>{Bc()});var Cd=V(()=>{});function Ed(){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 Pd=V(()=>{});var Md=V(()=>{Wc(),_u()});var Nd=V(()=>{});function $d(e){let t={};for(let a of e)Object.assign(t,a(t));return t}var Id,Rd=V(()=>{Wc(),Cd(),Pd(),Md(),Nd(),Id=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:Fc(),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:$d(a)},n=[Au()?{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=Fc();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(()=>{let e=window.scrollY??window.pageYOffset;a!==e&&window.scrollTo(0,a),n&&n.isConnected&&(n.scrollIntoView({block:"nearest"}),n=null)})})}}:{},Ed(),{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)}}),Id.subscribe(()=>{let e=Id.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)&&Id.dispatch(a.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",a),0===a.count&&Id.dispatch("TEARDOWN",a)}})});function Dd(e,t,a){let r=function(e){let t=Za(e.getSnapshot());return is(e.subscribe(()=>{t.value=e.getSnapshot()})),t}(Id),n=il(()=>{let t=e.value?r.value.get(e.value):void 0;return!!t&&t.count>0});return hn([e,t],([e,t],[r],n)=>{if(!e||!t)return;Id.dispatch("PUSH",e,a);let o=!1;n(()=>{o||=(Id.dispatch("POP",r??e,a),!0)})},{immediate:!0}),n}var Ld=V(()=>{Bc(),_d(),Rd()});function Bd(e,t=Ha(!0)){pn(a=>{if(!t.value)return;let r=Jc(e);if(!r)return;a(function(){if(!r)return;let e=Ud.get(r)??1;if(1===e?Ud.delete(r):Ud.set(r,e-1),1!==e)return;let t=jd.get(r);t&&(null===t["aria-hidden"]?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",t["aria-hidden"]),r.inert=t.inert,jd.delete(r))});let n=Ud.get(r)??0;Ud.set(r,n+1),0===n&&(jd.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0)})}var jd,Ud,zd=V(()=>{Bc(),eu(),jd=new Map,Ud=new Map});function Hd({defaultContainers:e=[],portals:t,mainTreeNodeRef:a}={}){let r=Ha(null),n=cu(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(Jc(r))||e.contains(Jc(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(Gu,{features:Wu.Hidden,ref:r}):null}}var Zd=V(()=>{Bc(),Yu(),eu(),uu()});var Vd,qd,Qd=V(()=>{Bc(),Xu(),Vd=Symbol("ForcePortalRootContext"),qd=Cn({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup:(e,{slots:t,attrs:a})=>(un(Vd,e.force),()=>{let{force:r,...n}=e;return zu({theirProps:n,ourProps:{},slot:{},slots:t,attrs:a,name:"ForcePortalRoot"})})})});function Fd({type:e,enabled:t,element:a,onUpdate:r}){let n=dn(Wd,()=>{});function o(...e){r?.(...e),n(...e)}as(()=>{hn(t,(t,r)=>{t?o(0,e,a):!0===r&&o(1,e,a)},{immediate:!0,flush:"sync"})}),is(()=>{t.value&&o(1,e,a)}),un(Wd,o)}var Wd,Gd,Xd=V(()=>{Bc(),Wd=Symbol("StackContext"),Gd=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Gd||{})});var Yd,Kd=V(()=>{Bc(),Kc(),Xu(),Yd=Symbol("DescriptionContext")});function Jd(e,t){let a=t(function(e){return tp.get(e)??0}(e));return a<=0?tp.delete(e):tp.set(e,a),a}function ep(){let e=dn(rp,null),t=Ha([]);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,Cn({name:"PortalWrapper",setup:(e,{slots:t})=>(un(rp,r),()=>t.default?.call(t))})]}var tp,ap,rp,np,op,ip=V(()=>{Bc(),Qd(),eu(),uu(),Xu(),tp=new WeakMap,ap=Cn({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:a}){let r=Ha(null),n=il(()=>cu(r)),o=dn(Vd,!1),i=dn(np,null),s=Ha(!0===o||null==i?function(e){let t=cu(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&&Jd(s.value,e=>e+1);let l=Ha(!1);as(()=>{l.value=!0}),pn(()=>{o||null!=i&&(s.value=i.resolveTarget())});let c=dn(rp,null),u=!1,d=Ys();return hn(r,()=>{if(u||!c)return;let e=Jc(r);e&&(is(c.register(e),d),u=!0)}),is(()=>{var e;let t=n.value?.getElementById("headlessui-portal-root");!t||s.value!==t||Jd(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(Ri,{to:s.value},zu({ourProps:n,theirProps:e,slot:{},attrs:a,slots:t,name:"Portal"}))}}}),rp=Symbol("PortalParentContext"),np=Symbol("PortalGroupContext"),op=Cn({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup:(e,{attrs:t,slots:a})=>(un(np,Pa({resolveTarget:()=>e.target})),()=>{let{target:r,...n}=e;return zu({theirProps:n,ourProps:{},slot:{},attrs:t,slots:a,name:"PortalGroup"})})})});function sp(e){let t=dn(cp,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,sp),t}return t}var lp,cp,up,dp,pp,hp,mp=V(()=>{Bc(),Td(),Ld(),vd(),Kc(),zd(),$u(),Zd(),rd(),Qd(),Xd(),nd(),eu(),su(),uu(),Xu(),Kd(),ip(),lp=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(lp||{}),cp=Symbol("DialogContext"),up="DC8F892D-2EBD-447C-A4C8-A03058436FF4",dp=Cn({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:up},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-${Yc()}`,i=Ha(!1);as(()=>{i.value=!0});let s=!1,l=il(()=>"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=Ha(0),u=Ku(),d=il(()=>e.open===up&&null!==u?(u.value&td.Open)===td.Open:e.open),p=Ha(null),h=il(()=>cu(p));if(n({el:p,$el:p}),e.open===up&&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===up?void 0:e.open}`);let m=il(()=>i.value&&d.value?0:1),f=il(()=>0===m.value),g=il(()=>c.value>1),v=null!==dn(cp,null),[b,y]=ep(),{resolveContainers:w,mainTreeNodeRef:x,MainTreeNode:O}=Hd({portals:b,defaultContainers:[il(()=>E.panelRef.value??p.value)]}),k=il(()=>g.value?"parent":"leaf"),S=il(()=>null!==u&&(u.value&td.Closing)===td.Closing),A=il(()=>!v&&!S.value&&f.value);Bd(il(()=>Array.from(h.value?.querySelectorAll("body > *")??[]).find(e=>"headlessui-portal-root"!==e.id&&e.contains(Jc(x))&&e instanceof HTMLElement)??null),A);let T=il(()=>!!g.value||f.value);Bd(il(()=>Array.from(h.value?.querySelectorAll("[data-headlessui-portal]")??[]).find(e=>e.contains(Jc(x))&&e instanceof HTMLElement)??null),T),Fd({type:"Dialog",enabled:il(()=>0===m.value),element:p,onUpdate:(e,t)=>{if("Dialog"===t)return tu(e,{[Gd.Add]:()=>c.value+=1,[Gd.Remove]:()=>--c.value})}});let _=function({slot:e=Ha({}),name:t="Description",props:a={}}={}){let r=Ha([]);return un(Yd,{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}),il(()=>r.value.length>0?r.value.join(" "):void 0)}({name:"DialogDescription",slot:il(()=>({open:d.value}))}),C=Ha(null),E={titleId:C,panelRef:Ha(null),dialogState:m,setTitleId(e){C.value!==e&&(C.value=e)},close(){t("close",!1)}};un(cp,E),Nu(w,(e,t)=>{e.preventDefault(),E.close(),Kr(()=>t?.focus())},il(()=>!(!f.value||g.value)));let P=il(()=>!(g.value||0!==m.value));return gd(h.value?.defaultView,"keydown",e=>{P.value&&(e.defaultPrevented||e.key===ad.Escape&&(e.preventDefault(),e.stopPropagation(),E.close()))}),Dd(h,il(()=>!(S.value||0!==m.value||v)),e=>({containers:[...e.containers??[],w]})),pn(e=>{if(0!==m.value)return;let t=Jc(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&&E.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":C.value,"aria-describedby":_.value},c={open:0===m.value};return hi(qd,{force:!0},()=>[hi(ap,()=>hi(op,{target:p.value},()=>hi(qd,{force:!1},()=>hi(Ad,{initialFocus:n,containers:w,features:f.value?tu(k.value,{parent:Ad.features.RestoreFocus,leaf:Ad.features.All&~Ad.features.FocusLock}):Ad.features.None},()=>hi(y,{},()=>zu({ourProps:s,theirProps:{...i,...a},slot:c,attrs:a,slots:r,visible:0===m.value,features:Qu.RenderStrategy|Qu.Static,name:"Dialog"})))))),hi(O)])}}}),pp=Cn({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-${Yc()}`,o=sp("DialogPanel");function i(e){e.stopPropagation()}return r({el:o.panelRef,$el:o.panelRef}),()=>{let{...r}=e;return zu({ourProps:{id:n,ref:o.panelRef,onClick:i},theirProps:r,slot:{open:0===o.dialogState.value},attrs:t,slots:a,name:"DialogPanel"})}}}),hp=Cn({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-${Yc()}`,n=sp("DialogTitle");return as(()=>{n.setTitleId(r),is(()=>n.setTitleId(null))}),()=>{let{...o}=e;return zu({ourProps:{id:r},theirProps:o,slot:{open:0===n.dialogState.value},attrs:t,slots:a,name:"DialogTitle"})}}})});function fp(e){let t=dn(vp,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 gp,vp,bp,yp,wp,xp,Op=V(()=>{Bc(),Kc(),Du(),rd(),nd(),eu(),su(),Xu(),gp=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(gp||{}),vp=Symbol("DisclosureContext"),bp=Symbol("DisclosurePanelContext"),yp=Cn({name:"Disclosure",props:{as:{type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:a}){let r=Ha(+!e.defaultOpen),n=Ha(null),o=Ha(null),i={buttonId:Ha(`headlessui-disclosure-button-${Yc()}`),panelId:Ha(`headlessui-disclosure-panel-${Yc()}`),disclosureState:r,panel:n,button:o,toggleDisclosure(){r.value=tu(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?Jc(e):Jc(i.button):Jc(i.button))?.focus()}};return un(vp,i),Ju(il(()=>tu(r.value,{0:td.Open,1:td.Closed}))),()=>{let{defaultOpen:n,...o}=e;return zu({theirProps:o,ourProps:{},slot:{open:0===r.value,close:i.close},slots:t,attrs:a,name:"Disclosure"})}}}),wp=Cn({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=dn(bp,null),i=il(()=>null!==o&&o.value===n.panelId.value);as(()=>{i.value||null!==e.id&&(n.buttonId.value=e.id)}),is(()=>{i.value||(n.buttonId.value=null)});let s=Ha(null);r({el:s,$el:s}),i.value||pn(()=>{n.button.value=s.value});let l=Ru(il(()=>({as:e.as,type:t.type})),s);function c(){var t;e.disabled||(i.value?(n.toggleDisclosure(),null==(t=Jc(n.button))||t.focus()):n.toggleDisclosure())}function u(t){var a;if(!e.disabled)if(i.value)switch(t.key){case ad.Space:case ad.Enter:t.preventDefault(),t.stopPropagation(),n.toggleDisclosure(),null==(a=Jc(n.button))||a.focus()}else switch(t.key){case ad.Space:case ad.Enter:t.preventDefault(),t.stopPropagation(),n.toggleDisclosure()}}function d(e){if(e.key===ad.Space)e.preventDefault()}return()=>{let r={open:0===n.disclosureState.value},{id:o,...p}=e;return zu({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||Jc(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"})}}}),xp=Cn({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");as(()=>{null!==e.id&&(n.panelId.value=e.id)}),is(()=>{n.panelId.value=null}),r({el:n.panel,$el:n.panel}),un(bp,n.panelId);let o=Ku(),i=il(()=>null===o?0===n.disclosureState.value:(o.value&td.Open)===td.Open);return()=>{let r={open:0===n.disclosureState.value,close:n.close},{id:o,...s}=e;return zu({ourProps:{id:n.panelId.value??o,ref:n.panel},theirProps:s,slot:r,attrs:t,slots:a,features:Qu.RenderStrategy|Qu.Static,visible:i.value,name:"DisclosurePanel"})}}})});function kp(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 Sp.test(n)&&(n=n.replace(Sp,"")),n}var Sp,Ap=V(()=>{Sp=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g});function Tp(e){let t=Ha(""),a=Ha("");return()=>{let r=Jc(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():kp(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(", ")}return kp(e).trim()}(r).trim().toLowerCase();return t.value=n,a.value=o,o}}var _p=V(()=>{Bc(),eu(),Ap()});function Cp(e,t){return e===t}function Ep(e){let t=dn($p,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ep),t}return t}var Pp,Mp,Np,$p,Ip,Rp,Dp,Lp,Bp,jp=V(()=>{Bc(),Vc(),Kc(),$u(),Du(),_p(),ju(),Yu(),rd(),nd(),ud(),eu(),Su(),md(),su(),Xu(),Pp=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Pp||{}),Mp=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Mp||{}),Np=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Np||{}),$p=Symbol("ListboxContext"),Ip=Cn({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Cp},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=Ha(1),o=Ha(null),i=Ha(null),s=Ha(null),l=Ha([]),c=Ha(""),u=Ha(null),d=Ha(1);function p(e=e=>e){let t=null===u.value?null:l.value[u.value],a=fu(e(l.value.slice()),e=>Jc(e.dataRef.domRef)),r=t?a.indexOf(t):null;return-1===r&&(r=null),{options:a,activeOptionIndex:r}}let h=il(()=>+!!e.multiple),[m,f]=function(e,t,a){let r=Ha(a?.value),n=il(()=>void 0!==e.value);return[il(()=>n.value?e.value:r.value),function(e){return n.value||(r.value=e),t?.(e)}]}(il(()=>e.modelValue),e=>r("update:modelValue",e),il(()=>e.defaultValue)),g=il(()=>void 0===m.value?tu(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:il(()=>e.horizontal?"horizontal":"vertical"),labelRef:o,buttonRef:i,optionsRef:s,disabled:il(()=>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=ld(t===cd.Specific?{focus:cd.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);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(tu(h.value,{0:()=>t,1:()=>{let e=ja(v.value.value).slice(),a=ja(t),r=e.findIndex(e=>v.compare(a,ja(e)));return-1===r?e.push(a):e.splice(r,1),e}}))}};Nu([i,s],(e,t)=>{var a;v.closeListbox(),pu(t,xu.Loose)||(e.preventDefault(),null==(a=Jc(i))||a.focus())},il(()=>0===n.value)),un($p,v),Ju(il(()=>tu(n.value,{0:td.Open,1:td.Closed})));let b=il(()=>Jc(i)?.closest("form"));return as(()=>{hn([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(Bs,[...null!=r&&null!=g.value?dd({[r]:g.value}).map(([e,t])=>hi(Gu,function(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}({features:Wu.Hidden,key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t}))):[],zu({ourProps:{},theirProps:{...a,...qu(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},slot:c,slots:t,attrs:a,name:"Listbox"})])}}}),Rp=Cn({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-${Yc()}`,n=Ep("ListboxLabel");function o(){var e;null==(e=Jc(n.buttonRef))||e.focus({preventScroll:!0})}return()=>{let i={open:0===n.listboxState.value,disabled:n.disabled.value},{...s}=e;return zu({ourProps:{id:r,ref:n.labelRef,onClick:o},theirProps:s,slot:i,attrs:t,slots:a,name:"ListboxLabel"})}}}),Dp=Cn({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-${Yc()}`,o=Ep("ListboxButton");function i(e){switch(e.key){case ad.Space:case ad.Enter:case ad.ArrowDown:e.preventDefault(),o.openListbox(),Kr(()=>{var e;null==(e=Jc(o.optionsRef))||e.focus({preventScroll:!0}),o.value.value||o.goToOption(cd.First)});break;case ad.ArrowUp:e.preventDefault(),o.openListbox(),Kr(()=>{var e;null==(e=Jc(o.optionsRef))||e.focus({preventScroll:!0}),o.value.value||o.goToOption(cd.Last)})}}function s(e){if(e.key===ad.Space)e.preventDefault()}function l(e){o.disabled.value||(0===o.listboxState.value?(o.closeListbox(),Kr(()=>Jc(o.buttonRef)?.focus({preventScroll:!0}))):(e.preventDefault(),o.openListbox(),function(e){requestAnimationFrame(()=>requestAnimationFrame(e))}(()=>Jc(o.optionsRef)?.focus({preventScroll:!0}))))}r({el:o.buttonRef,$el:o.buttonRef});let c=Ru(il(()=>({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 zu({ourProps:{ref:o.buttonRef,id:n,type:c.value,"aria-haspopup":"listbox","aria-controls":Jc(o.optionsRef)?.id,"aria-expanded":0===o.listboxState.value,"aria-labelledby":o.labelRef.value?[Jc(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"})}}}),Lp=Cn({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-${Yc()}`,o=Ep("ListboxOptions"),i=Ha(null);function s(e){switch(i.value&&clearTimeout(i.value),e.key){case ad.Space:if(""!==o.searchQuery.value)return e.preventDefault(),e.stopPropagation(),o.search(e.key);case ad.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(),Kr(()=>Jc(o.buttonRef)?.focus({preventScroll:!0})));break;case tu(o.orientation.value,{vertical:ad.ArrowDown,horizontal:ad.ArrowRight}):return e.preventDefault(),e.stopPropagation(),o.goToOption(cd.Next);case tu(o.orientation.value,{vertical:ad.ArrowUp,horizontal:ad.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),o.goToOption(cd.Previous);case ad.Home:case ad.PageUp:return e.preventDefault(),e.stopPropagation(),o.goToOption(cd.First);case ad.End:case ad.PageDown:return e.preventDefault(),e.stopPropagation(),o.goToOption(cd.Last);case ad.Escape:e.preventDefault(),e.stopPropagation(),o.closeListbox(),Kr(()=>Jc(o.buttonRef)?.focus({preventScroll:!0}));break;case ad.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=Ku(),c=il(()=>null===l?0===o.listboxState.value:(l.value&td.Open)===td.Open);return()=>{var r;let i={open:0===o.listboxState.value},{...l}=e;return zu({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":Jc(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:Qu.RenderStrategy|Qu.Static,visible:c.value,name:"ListboxOptions"})}}}),Bp=Cn({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-${Yc()}`,o=Ep("ListboxOption"),i=Ha(null);r({el:i,$el:i});let s=il(()=>null!==o.activeOptionIndex.value&&o.options.value[o.activeOptionIndex.value].id===n),l=il(()=>tu(o.mode.value,{0:()=>o.compare(ja(o.value.value),ja(e.value)),1:()=>ja(o.value.value).some(t=>o.compare(ja(t),ja(e.value)))})),c=il(()=>tu(o.mode.value,{1:()=>{let e=ja(o.value.value);return o.options.value.find(t=>e.some(e=>o.compare(ja(e),ja(t.dataRef.value))))?.id===n},0:()=>l.value})),u=Tp(i),d=il(()=>({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(),Kr(()=>Jc(o.buttonRef)?.focus({preventScroll:!0})))}function h(){if(e.disabled)return o.goToOption(cd.Nothing);o.goToOption(cd.Specific,n)}as(()=>o.registerOption(n,d)),is(()=>o.unregisterOption(n)),as(()=>{hn([o.listboxState,l],()=>{0===o.listboxState.value&&l.value&&tu(o.mode.value,{1:()=>{c.value&&o.goToOption(cd.Specific,n)},0:()=>{o.goToOption(cd.Specific,n)}})},{immediate:!0})}),pn(()=>{0===o.listboxState.value&&s.value&&0!==o.activationTrigger.value&&Kr(()=>{var e;return((e=Jc(i))?.scrollIntoView)?.call(e,{block:"nearest"})})});let m=Bu();function f(e){m.update(e)}function g(t){m.wasMoved(t)&&(e.disabled||s.value||o.goToOption(cd.Specific,n,0))}function v(t){m.wasMoved(t)&&(e.disabled||s.value&&o.goToOption(cd.Nothing))}return()=>{let{disabled:r}=e,o={active:s.value,selected:l.value,disabled:r},{value:c,disabled:u,...d}=e;return zu({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 Up(e){let t=dn(Zp,null);if(null===t){let t=Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Up),t}return t}var zp,Hp,Zp,Vp,qp,Qp,Fp,Wp=V(()=>{Bc(),Kc(),$u(),Du(),_p(),ju(),Uu(),rd(),nd(),ud(),eu(),Su(),su(),Xu(),zp=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(zp||{}),Hp=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Hp||{}),Zp=Symbol("MenuContext"),Vp=Cn({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(e,{slots:t,attrs:a}){let r=Ha(1),n=Ha(null),o=Ha(null),i=Ha([]),s=Ha(""),l=Ha(null),c=Ha(1);function u(e=e=>e){let t=null===l.value?null:i.value[l.value],a=fu(e(i.value.slice()),e=>Jc(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=ld(e===cd.Specific?{focus:cd.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);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 Nu([n,o],(e,t)=>{var a;d.closeMenu(),pu(t,xu.Loose)||(e.preventDefault(),null==(a=Jc(n))||a.focus())},il(()=>0===r.value)),un(Zp,d),Ju(il(()=>tu(r.value,{0:td.Open,1:td.Closed}))),()=>zu({ourProps:{},theirProps:e,slot:{open:0===r.value,close:d.closeMenu},slots:t,attrs:a,name:"Menu"})}}),qp=Cn({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-${Yc()}`,o=Up("MenuButton");function i(e){switch(e.key){case ad.Space:case ad.Enter:case ad.ArrowDown:e.preventDefault(),e.stopPropagation(),o.openMenu(),Kr(()=>{var e;null==(e=Jc(o.itemsRef))||e.focus({preventScroll:!0}),o.goToItem(cd.First)});break;case ad.ArrowUp:e.preventDefault(),e.stopPropagation(),o.openMenu(),Kr(()=>{var e;null==(e=Jc(o.itemsRef))||e.focus({preventScroll:!0}),o.goToItem(cd.Last)})}}function s(e){if(e.key===ad.Space)e.preventDefault()}function l(t){e.disabled||(0===o.menuState.value?(o.closeMenu(),Kr(()=>Jc(o.buttonRef)?.focus({preventScroll:!0}))):(t.preventDefault(),o.openMenu(),function(e){requestAnimationFrame(()=>requestAnimationFrame(e))}(()=>Jc(o.itemsRef)?.focus({preventScroll:!0}))))}r({el:o.buttonRef,$el:o.buttonRef});let c=Ru(il(()=>({as:e.as,type:t.type})),o.buttonRef);return()=>{let r={open:0===o.menuState.value},{...u}=e;return zu({ourProps:{ref:o.buttonRef,id:n,type:c.value,"aria-haspopup":"menu","aria-controls":Jc(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"})}}}),Qp=Cn({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-${Yc()}`,o=Up("MenuItems"),i=Ha(null);function s(e){var t;switch(i.value&&clearTimeout(i.value),e.key){case ad.Space:if(""!==o.searchQuery.value)return e.preventDefault(),e.stopPropagation(),o.search(e.key);case ad.Enter:if(e.preventDefault(),e.stopPropagation(),null!==o.activeItemIndex.value){null==(t=Jc(o.items.value[o.activeItemIndex.value].dataRef.domRef))||t.click()}o.closeMenu(),hu(Jc(o.buttonRef));break;case ad.ArrowDown:return e.preventDefault(),e.stopPropagation(),o.goToItem(cd.Next);case ad.ArrowUp:return e.preventDefault(),e.stopPropagation(),o.goToItem(cd.Previous);case ad.Home:case ad.PageUp:return e.preventDefault(),e.stopPropagation(),o.goToItem(cd.First);case ad.End:case ad.PageDown:return e.preventDefault(),e.stopPropagation(),o.goToItem(cd.Last);case ad.Escape:e.preventDefault(),e.stopPropagation(),o.closeMenu(),Kr(()=>Jc(o.buttonRef)?.focus({preventScroll:!0}));break;case ad.Tab:e.preventDefault(),e.stopPropagation(),o.closeMenu(),Kr(()=>function(e,t){return gu(du(),t,{relativeTo:e})}(Jc(o.buttonRef),e.shiftKey?bu.Previous:bu.Next));break;default:1===e.key.length&&(o.search(e.key),i.value=setTimeout(()=>o.clearSearch(),350))}}function l(e){if(e.key===ad.Space)e.preventDefault()}r({el:o.itemsRef,$el:o.itemsRef}),function({container:e,accept:t,walk:a,enabled:r}){pn(()=>{let n=e.value;if(!n||void 0!==r&&!r.value)return;let o=cu(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)})}({container:il(()=>Jc(o.itemsRef)),enabled:il(()=>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=Ku(),u=il(()=>null===c?0===o.menuState.value:(c.value&td.Open)===td.Open);return()=>{var r;let i={open:0===o.menuState.value},{...c}=e;return zu({ourProps:{"aria-activedescendant":null===o.activeItemIndex.value||null==(r=o.items.value[o.activeItemIndex.value])?void 0:r.id,"aria-labelledby":Jc(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:Qu.RenderStrategy|Qu.Static,visible:u.value,name:"MenuItems"})}}}),Fp=Cn({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-${Yc()}`,o=Up("MenuItem"),i=Ha(null);r({el:i,$el:i});let s=il(()=>null!==o.activeItemIndex.value&&o.items.value[o.activeItemIndex.value].id===n),l=Tp(i),c=il(()=>({disabled:e.disabled,get textValue(){return l()},domRef:i}));function u(t){if(e.disabled)return t.preventDefault();o.closeMenu(),hu(Jc(o.buttonRef))}function d(){if(e.disabled)return o.goToItem(cd.Nothing);o.goToItem(cd.Specific,n)}as(()=>o.registerItem(n,c)),is(()=>o.unregisterItem(n)),pn(()=>{0===o.menuState.value&&s.value&&0!==o.activationTrigger.value&&Kr(()=>{var e;return((e=Jc(i))?.scrollIntoView)?.call(e,{block:"nearest"})})});let p=Bu();function h(e){p.update(e)}function m(t){p.wasMoved(t)&&(e.disabled||s.value||o.goToItem(cd.Specific,n,0))}function f(t){p.wasMoved(t)&&(e.disabled||s.value&&o.goToItem(cd.Nothing))}return()=>{let{disabled:r,...l}=e,c={active:s.value,disabled:r,close:o.closeMenu};return zu({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 Gp(e){let t=dn(Kp,null);if(null===t){let t=Error(`<${e} /> is missing a parent <${th.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Gp),t}return t}function Xp(){return dn(Jp,null)}var Yp,Kp,Jp,eh,th,ah,rh,nh,oh=V(()=>{Bc(),ip(),vd(),Kc(),$u(),Du(),Zd(),wd(),Yu(),rd(),nd(),eu(),Su(),su(),uu(),Xu(),Yp=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Yp||{}),Kp=Symbol("PopoverContext"),Jp=Symbol("PopoverGroupContext"),eh=Symbol("PopoverPanelContext"),th=Cn({name:"Popover",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:a,expose:r}){let n=Ha(null);r({el:n,$el:n});let o=Ha(1),i=Ha(null),s=Ha(null),l=Ha(null),c=Ha(null),u=il(()=>cu(n)),d=il(()=>{var e,t;if(!Jc(i)||!Jc(c))return!1;for(let e of document.querySelectorAll("body > *"))if(Number(e?.contains(Jc(i)))^Number(e?.contains(Jc(c))))return!0;let a=du(),r=a.indexOf(Jc(i)),n=(r+a.length-1)%a.length,o=(r+1)%a.length,s=a[n],l=a[o];return!(null!=(e=Jc(c))&&e.contains(s)||null!=(t=Jc(c))&&t.contains(l))}),p={popoverState:o,buttonId:Ha(null),panelId:Ha(null),panel:c,button:i,isPortalled:d,beforePanelSentinel:s,afterPanelSentinel:l,togglePopover(){o.value=tu(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?Jc(e):Jc(p.button):Jc(p.button))?.focus()}};un(Kp,p),Ju(il(()=>tu(o.value,{0:td.Open,1:td.Closed})));let h={buttonId:p.buttonId,panelId:p.panelId,close(){p.closePopover()}},m=Xp(),f=m?.registerPopover,[g,v]=ep(),b=Hd({mainTreeNodeRef:m?.mainTreeNodeRef,portals:g,defaultContainers:[i,c]});return pn(()=>f?.(h)),gd(u.value?.defaultView,"focus",e=>{var t,a;e.target!==window&&e.target instanceof HTMLElement&&0===o.value&&((m?.isFocusWithinPopoverGroup()??(u.value?.activeElement&&(Jc(i)?.contains(u.value.activeElement)||Jc(c)?.contains(u.value.activeElement))))||i&&c&&(b.contains(e.target)||null!=(t=Jc(p.beforePanelSentinel))&&t.contains(e.target)||null!=(a=Jc(p.afterPanelSentinel))&&a.contains(e.target)||p.closePopover()))},!0),Nu(b.resolveContainers,(e,t)=>{var a;p.closePopover(),pu(t,xu.Loose)||(e.preventDefault(),null==(a=Jc(i))||a.focus())},il(()=>0===o.value)),()=>{let r={open:0===o.value,close:p.close};return hi(Bs,[hi(v,{},()=>zu({theirProps:{...e,...a},ourProps:{ref:n},slot:r,slots:t,attrs:a,name:"Popover"})),hi(b.MainTreeNode)])}}}),ah=Cn({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-${Yc()}`,o=Gp("PopoverButton"),i=il(()=>cu(o.button));r({el:o.button,$el:o.button}),as(()=>{o.buttonId.value=n}),is(()=>{o.buttonId.value=null});let s=Xp()?.closeOthers,l=dn(eh,null),c=il(()=>null!==l&&l.value===o.panelId.value),u=Ha(null),d=`headlessui-focus-sentinel-${Yc()}`;c.value||pn(()=>{o.button.value=Jc(u)});let p=Ru(il(()=>({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 ad.Space:case ad.Enter:e.preventDefault(),null==(a=(t=e.target).click)||a.call(t),o.closePopover(),null==(r=Jc(o.button))||r.focus()}}else switch(e.key){case ad.Space:case ad.Enter:e.preventDefault(),e.stopPropagation(),1===o.popoverState.value&&s?.(o.buttonId.value),o.togglePopover();break;case ad.Escape:if(0!==o.popoverState.value)return s?.(o.buttonId.value);if(!Jc(o.button)||null!=(n=i.value)&&n.activeElement&&(null==(l=Jc(o.button))||!l.contains(i.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),o.closePopover()}}function m(e){c.value||e.key===ad.Space&&e.preventDefault()}function f(t){var a,r;e.disabled||(c.value?(o.closePopover(),null==(a=Jc(o.button))||a.focus()):(t.preventDefault(),t.stopPropagation(),1===o.popoverState.value&&s?.(o.buttonId.value),o.togglePopover(),null==(r=Jc(o.button))||r.focus()))}function g(e){e.preventDefault(),e.stopPropagation()}let v=bd();function b(){let e=Jc(o.panel);e&&tu(v.value,{[yd.Forwards]:()=>gu(e,bu.First),[yd.Backwards]:()=>gu(e,bu.Last)})===yu.Error&&gu(du().filter(e=>"true"!==e.dataset.headlessuiFocusGuard),tu(v.value,{[yd.Forwards]:bu.Next,[yd.Backwards]:bu.Previous}),{relativeTo:Jc(o.button)})}return()=>{let r=0===o.popoverState.value,i={open:r},{...s}=e;return hi(Bs,[zu({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":Jc(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(Gu,{id:d,features:Wu.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:b})])}}}),rh=Cn({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-${Yc()}`,{focus:o}=e,i=Gp("PopoverPanel"),s=il(()=>cu(i.panel)),l=`headlessui-focus-sentinel-before-${Yc()}`,c=`headlessui-focus-sentinel-after-${Yc()}`;r({el:i.panel,$el:i.panel}),as(()=>{i.panelId.value=n}),is(()=>{i.panelId.value=null}),un(eh,i.panelId),pn(()=>{var e;if(!o||0!==i.popoverState.value||!i.panel)return;let t=s.value?.activeElement;null!=(e=Jc(i.panel))&&e.contains(t)||gu(Jc(i.panel),bu.First)});let u=Ku(),d=il(()=>null===u?0===i.popoverState.value:(u.value&td.Open)===td.Open);function p(e){var t,a;if(e.key===ad.Escape){if(0!==i.popoverState.value||!Jc(i.panel)||s.value&&(null==(t=Jc(i.panel))||!t.contains(s.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),i.closePopover(),null==(a=Jc(i.button))||a.focus()}}function h(e){var t,a,r,n,o;let s=e.relatedTarget;s&&Jc(i.panel)&&(null!=(t=Jc(i.panel))&&t.contains(s)||(i.closePopover(),(null!=(r=(a=Jc(i.beforePanelSentinel))?.contains)&&r.call(a,s)||null!=(o=(n=Jc(i.afterPanelSentinel))?.contains)&&o.call(n,s))&&s.focus({preventScroll:!0})))}let m=bd();function f(){let e=Jc(i.panel);e&&tu(m.value,{[yd.Forwards]:()=>{var t;gu(e,bu.First)===yu.Error&&(null==(t=Jc(i.afterPanelSentinel))||t.focus())},[yd.Backwards]:()=>{var e;null==(e=Jc(i.button))||e.focus({preventScroll:!0})}})}function g(){let e=Jc(i.panel);e&&tu(m.value,{[yd.Forwards]:()=>{let e=Jc(i.button),t=Jc(i.panel);if(!e)return;let a=du(),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)}gu(o,bu.First,{sorted:!1})},[yd.Backwards]:()=>{var t;gu(e,bu.Previous)===yu.Error&&(null==(t=Jc(i.button))||t.focus())}})}return()=>{let r={open:0===i.popoverState.value,close:i.close},{focus:s,...u}=e;return zu({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(Bs,[d.value&&i.isPortalled.value&&hi(Gu,{id:l,ref:i.beforePanelSentinel,features:Wu.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:f}),a.default?.call(a,...e),d.value&&i.isPortalled.value&&hi(Gu,{id:c,ref:i.afterPanelSentinel,features:Wu.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:g})])]},features:Qu.RenderStrategy|Qu.Static,visible:d.value,name:"PopoverPanel"})}}})}),ih=V(()=>{}),sh=V(()=>{}),lh=V(()=>{Bc(),Yu(),nh=Cn({props:{onFocus:{type:Function,required:!0}},setup(e){let t=Ha(!0);return()=>t.value?hi(Gu,{as:"button",type:"button",features:Wu.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 ch(e){let t=dn(ph,null);if(null===t){let t=Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ch),t}return t}var uh,dh,ph,hh,mh,fh,gh,vh,bh,yh,wh=V(()=>{Bc(),Kc(),Du(),lh(),Yu(),nd(),eu(),Su(),su(),Qc(),uu(),Xu(),uh=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(uh||{}),dh=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(dh||{}),ph=Symbol("TabsContext"),hh=Symbol("TabsSSRContext"),mh=Cn({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=Ha(e.selectedIndex??e.defaultIndex),o=Ha([]),i=Ha([]),s=il(()=>null!==e.selectedIndex),l=il(()=>s.value?e.selectedIndex:n.value);function c(e){let t=fu(u.tabs.value,Jc),a=fu(u.panels.value,Jc),r=t.filter(e=>{var t;return!(null!=(t=Jc(e))&&t.hasAttribute("disabled"))});if(e<0||e>t.length-1){let o=tu(tu(null===n.value?0:Math.sign(e-n.value),{[-1]:()=>1,0:()=>tu(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:il(()=>n.value??e.defaultIndex??null),orientation:il(()=>e.vertical?"vertical":"horizontal"),activation:il(()=>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=fu(o.value,Jc),!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=fu(i.value,Jc))},unregisterPanel(e){let t=i.value.indexOf(e);-1!==t&&i.value.splice(t,1)}};un(ph,u);let d=Ha({tabs:[],panels:[]}),p=Ha(!1);as(()=>{p.value=!0}),un(hh,il(()=>p.value?null:d.value));let h=il(()=>e.selectedIndex);return as(()=>{hn([h],()=>c(e.selectedIndex??e.defaultIndex),{immediate:!0})}),pn(()=>{if(!s.value||null==l.value||u.tabs.value.length<=0)return;let e=fu(u.tabs.value,Jc);e.some((e,t)=>Jc(u.tabs.value[t])!==Jc(e))&&u.setSelectedIndex(e.findIndex(e=>Jc(e)===Jc(u.tabs.value[l.value])))}),()=>{let r={selectedIndex:n.value};return hi(Bs,[o.value.length<=0&&hi(nh,{onFocus:()=>{for(let e of o.value){let t=Jc(e);if(0===t?.tabIndex)return t.focus(),!0}return!1}}),zu({theirProps:{...a,...qu(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:r,slots:t,attrs:a,name:"TabGroup"})])}}}),fh=Cn({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:a}){let r=ch("TabList");return()=>{let n={selectedIndex:r.selectedIndex.value};return zu({ourProps:{role:"tablist","aria-orientation":r.orientation.value},theirProps:e,slot:n,attrs:t,slots:a,name:"TabList"})}}}),gh=Cn({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-${Yc()}`,o=ch("Tab"),i=Ha(null);r({el:i,$el:i}),as(()=>o.registerTab(i)),is(()=>o.unregisterTab(i));let s=dn(hh),l=il(()=>{if(s.value){let e=s.value.tabs.indexOf(n);return-1===e?s.value.tabs.push(n)-1:e}return-1}),c=il(()=>{let e=o.tabs.value.indexOf(i);return-1===e?l.value:e}),u=il(()=>c.value===o.selectedIndex.value);function d(e){let t=e();if(t===yu.Success&&"auto"===o.activation.value){let e=cu(i)?.activeElement,t=o.tabs.value.findIndex(t=>Jc(t)===e);-1!==t&&o.setSelectedIndex(t)}return t}function p(e){let t=o.tabs.value.map(e=>Jc(e)).filter(Boolean);if(e.key===ad.Space||e.key===ad.Enter)return e.preventDefault(),e.stopPropagation(),void o.setSelectedIndex(c.value);switch(e.key){case ad.Home:case ad.PageUp:return e.preventDefault(),e.stopPropagation(),d(()=>gu(t,bu.First));case ad.End:case ad.PageDown:return e.preventDefault(),e.stopPropagation(),d(()=>gu(t,bu.Last))}return d(()=>tu(o.orientation.value,{vertical:()=>e.key===ad.ArrowUp?gu(t,bu.Previous|bu.WrapAround):e.key===ad.ArrowDown?gu(t,bu.Next|bu.WrapAround):yu.Error,horizontal:()=>e.key===ad.ArrowLeft?gu(t,bu.Previous|bu.WrapAround):e.key===ad.ArrowRight?gu(t,bu.Next|bu.WrapAround):yu.Error}))===yu.Success?e.preventDefault():void 0}let h=Ha(!1);function m(){var t;h.value||(h.value=!0,!e.disabled&&(null==(t=Jc(i))||t.focus({preventScroll:!0}),o.setSelectedIndex(c.value),qc(()=>{h.value=!1})))}function f(e){e.preventDefault()}let g=Ru(il(()=>({as:e.as,type:t.type})),i);return()=>{let r={selected:u.value,disabled:e.disabled??!1},{...s}=e;return zu({ourProps:{ref:i,onKeydown:p,onMousedown:f,onClick:m,id:n,role:"tab",type:g.value,"aria-controls":Jc(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"})}}}),vh=Cn({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:a}){let r=ch("TabPanels");return()=>zu({theirProps:e,ourProps:{},slot:{selectedIndex:r.selectedIndex.value},attrs:a,slots:t,name:"TabPanels"})}}),bh=Cn({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-${Yc()}`,o=ch("TabPanel"),i=Ha(null);r({el:i,$el:i}),as(()=>o.registerPanel(i)),is(()=>o.unregisterPanel(i));let s=dn(hh),l=il(()=>{if(s.value){let e=s.value.panels.indexOf(n);return-1===e?s.value.panels.push(n)-1:e}return-1}),c=il(()=>{let e=o.panels.value.indexOf(i);return-1===e?l.value:e}),u=il(()=>c.value===o.selectedIndex.value);return()=>{let r={selected:u.value},{tabIndex:s,...l}=e,d={ref:i,id:n,role:"tabpanel","aria-labelledby":Jc(o.tabs.value[c.value])?.id,tabIndex:u.value?s:-1};return u.value||!e.unmount||e.static?zu({ourProps:d,theirProps:l,slot:r,attrs:t,slots:a,features:Qu.Static|Qu.RenderStrategy,visible:u.value,name:"TabPanel"}):hi(Gu,{as:"span","aria-hidden":!0,...d})}}})}),xh=V(()=>{}),Oh=V(()=>{fd(),mp(),Op(),Td(),jp(),Wp(),oh(),ih(),sh(),wh(),xh(),Kc()}),kh=V(()=>{yh=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a}});function Sh(e={}){let t=il(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:"presentation"});return{bind:il(()=>({width:"1em",height:"1em",...t.value})),weight:il(()=>e.weight??Ah)}}var Ah,Th,_h,Ch,Eh,Ph,Mh,Nh,$h,Ih,Rh,Dh,Lh,Bh,jh,Uh,zh,Hh,Zh,Vh,qh,Qh,Fh,Wh,Gh,Xh,Yh,Kh,Jh,em,tm,am,rm,nm,om,im,sm,lm,cm,um,dm,pm,hm,mm,fm,gm,vm,bm,ym,wm,xm,Om,km,Sm,Am,Tm,_m,Cm,Em,Pm,Mm,Nm,$m,Im,Rm,Dm,Lm,Bm,jm,Um,zm,Hm,Zm,Vm,qm,Qm,Fm,Wm,Gm,Xm,Ym,Km,Jm,ef,tf,af,rf,nf,of,sf,lf,cf,uf,df,pf,hf,mf,ff,gf,vf,bf,yf,wf,xf,Of,kf,Sf,Af,Tf,_f,Cf,Ef,Pf,Mf,Nf,$f,If,Rf,Df,Lf,Bf,jf,Uf,zf,Hf,Zf,Vf,qf,Qf,Ff,Wf,Gf,Xf,Yf,Kf,Jf,eg,tg,ag,rg,ng,og,ig,sg,lg,cg,ug,dg,pg,hg,mg,fg,gg,vg,bg,yg,wg,xg,Og,kg,Sg,Ag,Tg,_g,Cg,Eg,Pg,Mg,Ng,$g,Ig,Rg,Dg,Lg,Bg,jg,Ug,zg,Hg,Zg,Vg,qg,Qg,Fg,Wg,Gg,Xg,Yg,Kg,Jg,ev,tv,av,rv,nv,ov,iv,sv,lv,cv,uv,dv,pv,hv,mv,fv,gv,vv,bv,yv,wv,xv,Ov,kv,Sv,Av,Tv,_v,Cv,Ev,Pv,Mv,Nv,$v,Iv,Rv,Dv,Lv,Bv,jv,Uv,zv,Hv,Zv,Vv,qv,Qv,Fv,Wv,Gv,Xv,Yv,Kv,Jv,eb,tb,ab,rb,nb,ob,ib,sb,lb,cb,ub,db,pb,hb,mb,fb,gb,vb,bb,yb,wb,xb,Ob,kb,Sb,Ab,Tb,_b,Cb,Eb,Pb,Mb,Nb,$b,Ib,Rb,Db,Lb,Bb,jb,Ub,zb,Hb,Zb,Vb,qb,Qb,Fb,Wb,Gb,Xb,Yb,Kb,Jb,ey,ty,ay,ry,ny,oy,iy,sy,ly,cy,uy,dy,py,hy,my,fy,gy,vy,by,yy,wy,xy,Oy,ky,Sy,Ay,Ty,_y,Cy,Ey,Py,My,Ny,$y,Iy,Ry,Dy,Ly,By,jy,Uy,zy,Hy,Zy,Vy,qy,Qy,Fy,Wy,Gy,Xy,Yy,Ky,Jy,ew,tw,aw,rw,nw,ow,iw,sw,lw,cw,uw,dw,pw,hw,mw,fw,gw,vw,bw,yw,ww,xw,Ow,kw,Sw,Aw,Tw,_w,Cw,Ew,Pw,Mw,Nw,$w,Iw,Rw,Dw,Lw,Bw,jw,Uw,zw,Hw,Zw,Vw,qw,Qw,Fw,Ww,Gw,Xw,Yw,Kw,Jw,ex,tx,ax,rx,nx,ox,ix,sx,lx,cx,ux,dx,px,hx,mx,fx,gx,vx,bx,yx,wx,xx,Ox,kx,Sx,Ax,Tx,_x,Cx,Ex,Px,Mx,Nx,$x,Ix,Rx,Dx,Lx,Bx,jx,Ux,zx,Hx,Zx,Vx,qx=V(()=>{Bc(),Ah="regular"}),Qx=V(()=>{qx(),Bc(),Th={key:0},_h={key:1},Ch={key:2},Eh={key:3},Ph={key:4},Mh={key:5},Nh=Cn({name:"ScalarIconArrowRight",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Th,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",_h,[...r[1]||=[Xo("path",{d:"M216,128l-72,72V56Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Ch,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Eh,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ph,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Mh,[...r[5]||=[Xo("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))}})}),Fx=V(()=>{Qx(),$h=Nh}),Wx=V(()=>{qx(),Bc(),Ih={key:0},Rh={key:1},Dh={key:2},Lh={key:3},Bh={key:4},jh={key:5},Uh=Cn({name:"ScalarIconArrowUp",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Ih,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Rh,[...r[1]||=[Xo("path",{d:"M200,112H56l72-72Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Dh,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Lh,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Bh,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",jh,[...r[5]||=[Xo("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))}})}),Gx=V(()=>{Wx(),zh=Uh}),Xx=V(()=>{qx(),Bc(),Hh={key:0},Zh={key:1},Vh={key:2},qh={key:3},Qh={key:4},Fh={key:5},Wh=Cn({name:"ScalarIconArrowUpRight",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Hh,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Zh,[...r[1]||=[Xo("path",{d:"M192,64V168L88,64Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Vh,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",qh,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Qh,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Fh,[...r[5]||=[Xo("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))}})}),Yx=V(()=>{Xx(),Gh=Wh}),Kx=V(()=>{qx(),Bc(),Xh={key:0},Yh={key:1},Kh={key:2},Jh={key:3},em={key:4},tm={key:5},am=Cn({name:"ScalarIconBook",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Xh,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Yh,[...r[1]||=[Xo("path",{d:"M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Kh,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Jh,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",em,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",tm,[...r[5]||=[Xo("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))}})}),Jx=V(()=>{Kx(),rm=am}),eO=V(()=>{qx(),Bc(),nm={key:0},om={key:1},im={key:2},sm={key:3},lm={key:4},cm={key:5},um=Cn({name:"ScalarIconBookOpen",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",nm,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",om,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",im,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",sm,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",lm,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",cm,[...r[5]||=[Xo("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))}})}),tO=V(()=>{eO(),dm=um}),aO=V(()=>{qx(),Bc(),pm={key:0},hm={key:1},mm={key:2},fm={key:3},gm={key:4},vm={key:5},bm=Cn({name:"ScalarIconBookOpenText",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",pm,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",hm,[...r[1]||=[Xo("path",{d:"M232,56V200H160a32,32,0,0,0-32,32V88a32,32,0,0,1,32-32Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",mm,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",fm,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",gm,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",vm,[...r[5]||=[Xo("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))}})}),rO=V(()=>{aO(),ym=bm}),nO=V(()=>{qx(),Bc(),wm={key:0},xm={key:1},Om={key:2},km={key:3},Sm={key:4},Am={key:5},Tm=Cn({name:"ScalarIconBracketsCurly",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",wm,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",xm,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",Om,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",km,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Sm,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Am,[...r[5]||=[Xo("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))}})}),oO=V(()=>{nO(),_m=Tm}),iO=V(()=>{qx(),Bc(),Cm={key:0},Em={key:1},Pm={key:2},Mm={key:3},Nm={key:4},$m={key:5},Im=Cn({name:"ScalarIconCaretDown",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Cm,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Em,[...r[1]||=[Xo("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Pm,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Mm,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Nm,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",$m,[...r[5]||=[Xo("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))}})}),sO=V(()=>{iO(),Rm=Im}),lO=V(()=>{qx(),Bc(),Dm={key:0},Lm={key:1},Bm={key:2},jm={key:3},Um={key:4},zm={key:5},Hm=Cn({name:"ScalarIconCaretRight",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Dm,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Lm,[...r[1]||=[Xo("path",{d:"M176,128,96,208V48Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Bm,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",jm,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Um,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",zm,[...r[5]||=[Xo("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))}})}),cO=V(()=>{lO(),Zm=Hm}),uO=V(()=>{qx(),Bc(),Vm={key:0},qm={key:1},Qm={key:2},Fm={key:3},Wm={key:4},Gm={key:5},Xm=Cn({name:"ScalarIconCaretUp",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Vm,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",qm,[...r[1]||=[Xo("path",{d:"M208,160H48l80-80Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Qm,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Fm,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Wm,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Gm,[...r[5]||=[Xo("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))}})}),dO=V(()=>{uO(),Ym=Xm}),pO=V(()=>{qx(),Bc(),Km={key:0},Jm={key:1},ef={key:2},tf={key:3},af={key:4},rf={key:5},nf=Cn({name:"ScalarIconCaretUpDown",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Km,[...r[0]||=[Xo("path",{d:"M184.49,167.51a12,12,0,0,1,0,17l-48,48a12,12,0,0,1-17,0l-48-48a12,12,0,0,1,17-17L128,207l39.51-39.52A12,12,0,0,1,184.49,167.51Zm-96-79L128,49l39.51,39.52a12,12,0,0,0,17-17l-48-48a12,12,0,0,0-17,0l-48,48a12,12,0,0,0,17,17Z"},null,-1)]])):"duotone"===qa(a)?(Ho(),Qo("g",Jm,[...r[1]||=[Xo("path",{d:"M80,176h96l-48,48ZM128,32,80,80h96Z",opacity:"0.2"},null,-1),Xo("path",{d:"M176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Zm-48,44.69L99.31,184h57.38ZM80,88h96a8,8,0,0,0,5.66-13.66l-48-48a8,8,0,0,0-11.32,0l-48,48A8,8,0,0,0,80,88Zm48-44.69L156.69,72H99.31Z"},null,-1)]])):"fill"===qa(a)?(Ho(),Qo("g",ef,[...r[2]||=[Xo("path",{d:"M72.61,83.06a8,8,0,0,1,1.73-8.72l48-48a8,8,0,0,1,11.32,0l48,48A8,8,0,0,1,176,88H80A8,8,0,0,1,72.61,83.06ZM176,168H80a8,8,0,0,0-5.66,13.66l48,48a8,8,0,0,0,11.32,0l48-48A8,8,0,0,0,176,168Z"},null,-1)]])):"light"===qa(a)?(Ho(),Qo("g",tf,[...r[3]||=[Xo("path",{d:"M180.24,171.76a6,6,0,0,1,0,8.48l-48,48a6,6,0,0,1-8.48,0l-48-48a6,6,0,0,1,8.48-8.48L128,215.51l43.76-43.75A6,6,0,0,1,180.24,171.76Zm-96-87.52L128,40.49l43.76,43.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.48Z"},null,-1)]])):"regular"===qa(a)?(Ho(),Qo("g",af,[...r[4]||=[Xo("path",{d:"M181.66,170.34a8,8,0,0,1,0,11.32l-48,48a8,8,0,0,1-11.32,0l-48-48a8,8,0,0,1,11.32-11.32L128,212.69l42.34-42.35A8,8,0,0,1,181.66,170.34Zm-96-84.68L128,43.31l42.34,42.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,85.66Z"},null,-1)]])):"thin"===qa(a)?(Ho(),Qo("g",rf,[...r[5]||=[Xo("path",{d:"M178.83,173.17a4,4,0,0,1,0,5.66l-48,48a4,4,0,0,1-5.66,0l-48-48a4,4,0,0,1,5.66-5.66L128,218.34l45.17-45.17A4,4,0,0,1,178.83,173.17Zm-96-90.34L128,37.66l45.17,45.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.66Z"},null,-1)]])):ai("",!0)],16))}})}),hO=V(()=>{pO(),of=nf}),mO=V(()=>{qx(),Bc(),sf={key:0},lf={key:1},cf={key:2},uf={key:3},df={key:4},pf={key:5},hf=Cn({name:"ScalarIconCheck",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",sf,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",lf,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",cf,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",uf,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",df,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",pf,[...r[5]||=[Xo("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))}})}),fO=V(()=>{mO(),mf=hf}),gO=V(()=>{qx(),Bc(),ff={key:0},gf={key:1},vf={key:2},bf={key:3},yf={key:4},wf={key:5},xf=Cn({name:"ScalarIconCloud",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",ff,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",gf,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",vf,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",bf,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",yf,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",wf,[...r[5]||=[Xo("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))}})}),vO=V(()=>{gO(),Of=xf}),bO=V(()=>{qx(),Bc(),kf={key:0},Sf={key:1},Af={key:2},Tf={key:3},_f={key:4},Cf={key:5},Ef=Cn({name:"ScalarIconCopy",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",kf,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Sf,[...r[1]||=[Xo("path",{d:"M216,40V168H168V88H88V40Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Af,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Tf,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",_f,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Cf,[...r[5]||=[Xo("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))}})}),yO=V(()=>{bO(),Pf=Ef}),wO=V(()=>{qx(),Bc(),Mf={key:0},Nf={key:1},$f={key:2},If={key:3},Rf={key:4},Df={key:5},Lf=Cn({name:"ScalarIconDiscordLogo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Mf,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Nf,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",$f,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",If,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Rf,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Df,[...r[5]||=[Xo("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))}})}),xO=V(()=>{wO(),Bf=Lf}),OO=V(()=>{qx(),Bc(),jf={key:0},Uf={key:1},zf={key:2},Hf={key:3},Zf={key:4},Vf={key:5},qf=Cn({name:"ScalarIconEnvelopeSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",jf,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Uf,[...r[1]||=[Xo("path",{d:"M224,56l-96,88L32,56Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",zf,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Hf,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Zf,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Vf,[...r[5]||=[Xo("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))}})}),kO=V(()=>{OO(),Qf=qf}),SO=V(()=>{qx(),Bc(),Ff={key:0},Wf={key:1},Gf={key:2},Xf={key:3},Yf={key:4},Kf={key:5},Jf=Cn({name:"ScalarIconEye",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Ff,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Wf,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",Gf,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Xf,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Yf,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Kf,[...r[5]||=[Xo("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))}})}),AO=V(()=>{SO(),eg=Jf}),TO=V(()=>{qx(),Bc(),tg={key:0},ag={key:1},rg={key:2},ng={key:3},og={key:4},ig={key:5},sg=Cn({name:"ScalarIconEyeSlash",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",tg,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ag,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",rg,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ng,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",og,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ig,[...r[5]||=[Xo("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))}})}),_O=V(()=>{TO(),lg=sg}),CO=V(()=>{qx(),Bc(),cg={key:0},ug={key:1},dg={key:2},pg={key:3},hg={key:4},mg={key:5},fg=Cn({name:"ScalarIconFileDashed",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",cg,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ug,[...r[1]||=[Xo("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",dg,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",pg,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",hg,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",mg,[...r[5]||=[Xo("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))}})}),EO=V(()=>{CO(),gg=fg}),PO=V(()=>{qx(),Bc(),vg={key:0},bg={key:1},yg={key:2},wg={key:3},xg={key:4},Og={key:5},kg=Cn({name:"ScalarIconFileMd",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",vg,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",bg,[...r[1]||=[Xo("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",yg,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",wg,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",xg,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Og,[...r[5]||=[Xo("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))}})}),MO=V(()=>{PO(),Sg=kg}),NO=V(()=>{qx(),Bc(),Ag={key:0},Tg={key:1},_g={key:2},Cg={key:3},Eg={key:4},Pg={key:5},Mg=Cn({name:"ScalarIconFileText",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Ag,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Tg,[...r[1]||=[Xo("path",{d:"M208,88H152V32Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",_g,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Cg,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Eg,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Pg,[...r[5]||=[Xo("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))}})}),$O=V(()=>{NO(),Ng=Mg}),IO=V(()=>{qx(),Bc(),$g={key:0},Ig={key:1},Rg={key:2},Dg={key:3},Lg={key:4},Bg={key:5},jg=Cn({name:"ScalarIconGavel",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",$g,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ig,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",Rg,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Dg,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Lg,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Bg,[...r[5]||=[Xo("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))}})}),RO=V(()=>{IO(),Ug=jg}),DO=V(()=>{qx(),Bc(),zg={key:0},Hg={key:1},Zg={key:2},Vg={key:3},qg={key:4},Qg={key:5},Fg=Cn({name:"ScalarIconGear",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",zg,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Hg,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",Zg,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Vg,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",qg,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Qg,[...r[5]||=[Xo("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))}})}),LO=V(()=>{DO(),Wg=Fg}),BO=V(()=>{qx(),Bc(),Gg={key:0},Xg={key:1},Yg={key:2},Kg={key:3},Jg={key:4},ev={key:5},tv=Cn({name:"ScalarIconGearSix",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Gg,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Xg,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",Yg,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Kg,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Jg,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ev,[...r[5]||=[Xo("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))}})}),jO=V(()=>{BO(),av=tv}),UO=V(()=>{qx(),Bc(),rv={key:0},nv={key:1},ov={key:2},iv={key:3},sv={key:4},lv={key:5},cv=Cn({name:"ScalarIconGitBranch",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",rv,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",nv,[...r[1]||=[Xo("path",{d:"M224,64a24,24,0,1,1-24-24A24,24,0,0,1,224,64Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",ov,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",iv,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",sv,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",lv,[...r[5]||=[Xo("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))}})}),zO=V(()=>{UO(),uv=cv}),HO=V(()=>{qx(),Bc(),dv={key:0},pv={key:1},hv={key:2},mv={key:3},fv={key:4},gv={key:5},vv=Cn({name:"ScalarIconGithubLogo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",dv,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",pv,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",hv,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",mv,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",fv,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",gv,[...r[5]||=[Xo("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))}})}),ZO=V(()=>{HO(),bv=vv}),VO=V(()=>{qx(),Bc(),yv={key:0},wv={key:1},xv={key:2},Ov={key:3},kv={key:4},Sv={key:5},Av=Cn({name:"ScalarIconGlobe",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",yv,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",wv,[...r[1]||=[Xo("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",xv,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ov,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",kv,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Sv,[...r[5]||=[Xo("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))}})}),qO=V(()=>{VO(),Tv=Av}),QO=V(()=>{qx(),Bc(),_v={key:0},Cv={key:1},Ev={key:2},Pv={key:3},Mv={key:4},Nv={key:5},$v=Cn({name:"ScalarIconGlobeSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",_v,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Cv,[...r[1]||=[Xo("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Ev,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Pv,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Mv,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Nv,[...r[5]||=[Xo("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))}})}),FO=V(()=>{QO(),Iv=$v}),WO=V(()=>{qx(),Bc(),Rv={key:0},Dv={key:1},Lv={key:2},Bv={key:3},jv={key:4},Uv={key:5},zv=Cn({name:"ScalarIconHash",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Rv,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Dv,[...r[1]||=[Xo("path",{d:"M165.82,96l-11.64,64h-64l11.64-64Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Lv,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Bv,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",jv,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Uv,[...r[5]||=[Xo("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))}})}),GO=V(()=>{WO(),Hv=zv}),XO=V(()=>{qx(),Bc(),Zv={key:0},Vv={key:1},qv={key:2},Qv={key:3},Fv={key:4},Wv={key:5},Gv=Cn({name:"ScalarIconHouse",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Zv,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Vv,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",qv,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Qv,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Fv,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Wv,[...r[5]||=[Xo("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))}})}),YO=V(()=>{XO(),Xv=Gv}),KO=V(()=>{qx(),Bc(),Yv={key:0},Kv={key:1},Jv={key:2},eb={key:3},tb={key:4},ab={key:5},rb=Cn({name:"ScalarIconInfo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Yv,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Kv,[...r[1]||=[Xo("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Jv,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",eb,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",tb,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ab,[...r[5]||=[Xo("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))}})}),JO=V(()=>{KO(),nb=rb}),ek=V(()=>{qx(),Bc(),ob={key:0},ib={key:1},sb={key:2},lb={key:3},cb={key:4},ub={key:5},db=Cn({name:"ScalarIconLink",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",ob,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ib,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",sb,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",lb,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",cb,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ub,[...r[5]||=[Xo("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))}})}),tk=V(()=>{ek(),pb=db}),ak=V(()=>{qx(),Bc(),hb={key:0},mb={key:1},fb={key:2},gb={key:3},vb={key:4},bb={key:5},yb=Cn({name:"ScalarIconList",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",hb,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",mb,[...r[1]||=[Xo("path",{d:"M216,64V192H40V64Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",fb,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",gb,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",vb,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",bb,[...r[5]||=[Xo("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))}})}),rk=V(()=>{ak(),wb=yb}),nk=V(()=>{qx(),Bc(),xb={key:0},Ob={key:1},kb={key:2},Sb={key:3},Ab={key:4},Tb={key:5},_b=Cn({name:"ScalarIconLockSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",xb,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ob,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",kb,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Sb,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ab,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Tb,[...r[5]||=[Xo("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))}})}),ok=V(()=>{nk(),Cb=_b}),ik=V(()=>{qx(),Bc(),Eb={key:0},Pb={key:1},Mb={key:2},Nb={key:3},$b={key:4},Ib={key:5},Rb=Cn({name:"ScalarIconLockSimpleOpen",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Eb,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Pb,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",Mb,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Nb,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",$b,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ib,[...r[5]||=[Xo("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))}})}),sk=V(()=>{ik(),Db=Rb}),lk=V(()=>{qx(),Bc(),Lb={key:0},Bb={key:1},jb={key:2},Ub={key:3},zb={key:4},Hb={key:5},Zb=Cn({name:"ScalarIconMagnifyingGlass",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Lb,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Bb,[...r[1]||=[Xo("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",jb,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ub,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",zb,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Hb,[...r[5]||=[Xo("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))}})}),ck=V(()=>{lk(),Vb=Zb}),uk=V(()=>{qx(),Bc(),qb={key:0},Qb={key:1},Fb={key:2},Wb={key:3},Gb={key:4},Xb={key:5},Yb=Cn({name:"ScalarIconMinus",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",qb,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Qb,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",Fb,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Wb,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Gb,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Xb,[...r[5]||=[Xo("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))}})}),dk=V(()=>{uk(),Kb=Yb}),pk=V(()=>{qx(),Bc(),Jb={key:0},ey={key:1},ty={key:2},ay={key:3},ry={key:4},ny={key:5},oy=Cn({name:"ScalarIconNotepad",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Jb,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ey,[...r[1]||=[Xo("path",{d:"M208,40V200a24,24,0,0,1-24,24H72a24,24,0,0,1-24-24V40Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",ty,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ay,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ry,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ny,[...r[5]||=[Xo("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))}})}),hk=V(()=>{pk(),iy=oy}),mk=V(()=>{qx(),Bc(),sy={key:0},ly={key:1},cy={key:2},uy={key:3},dy={key:4},py={key:5},hy=Cn({name:"ScalarIconPencilSimple",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",sy,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ly,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",cy,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",uy,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",dy,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",py,[...r[5]||=[Xo("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))}})}),fk=V(()=>{mk(),my=hy}),gk=V(()=>{qx(),Bc(),fy={key:0},gy={key:1},vy={key:2},by={key:3},yy={key:4},wy={key:5},xy=Cn({name:"ScalarIconPlay",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",fy,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",gy,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",vy,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",by,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",yy,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",wy,[...r[5]||=[Xo("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))}})}),vk=V(()=>{gk(),Oy=xy}),bk=V(()=>{qx(),Bc(),ky={key:0},Sy={key:1},Ay={key:2},Ty={key:3},_y={key:4},Cy={key:5},Ey=Cn({name:"ScalarIconPlugsConnected",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",ky,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Sy,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",Ay,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ty,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",_y,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Cy,[...r[5]||=[Xo("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))}})}),yk=V(()=>{bk(),Py=Ey}),wk=V(()=>{qx(),Bc(),My={key:0},Ny={key:1},$y={key:2},Iy={key:3},Ry={key:4},Dy={key:5},Ly=Cn({name:"ScalarIconPlus",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",My,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ny,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",$y,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Iy,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ry,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Dy,[...r[5]||=[Xo("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))}})}),xk=V(()=>{wk(),By=Ly}),Ok=V(()=>{qx(),Bc(),jy={key:0},Uy={key:1},zy={key:2},Hy={key:3},Zy={key:4},Vy={key:5},qy=Cn({name:"ScalarIconScroll",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",jy,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Uy,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",zy,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Hy,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Zy,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Vy,[...r[5]||=[Xo("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))}})}),kk=V(()=>{Ok(),Qy=qy}),Sk=V(()=>{qx(),Bc(),Fy={key:0},Wy={key:1},Gy={key:2},Xy={key:3},Yy={key:4},Ky={key:5},Jy=Cn({name:"ScalarIconSparkle",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Fy,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Wy,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",Gy,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Xy,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Yy,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ky,[...r[5]||=[Xo("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))}})}),Ak=V(()=>{Sk(),ew=Jy}),Tk=V(()=>{qx(),Bc(),tw={key:0},aw={key:1},rw={key:2},nw={key:3},ow={key:4},iw={key:5},sw=Cn({name:"ScalarIconSwap",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",tw,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",aw,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",rw,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",nw,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ow,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",iw,[...r[5]||=[Xo("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))}})}),_k=V(()=>{Tk(),lw=sw}),Ck=V(()=>{qx(),Bc(),cw={key:0},uw={key:1},dw={key:2},pw={key:3},hw={key:4},mw={key:5},fw=Cn({name:"ScalarIconTag",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",cw,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",uw,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",dw,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",pw,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",hw,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",mw,[...r[5]||=[Xo("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))}})}),Ek=V(()=>{Ck(),gw=fw}),Pk=V(()=>{qx(),Bc(),vw={key:0},bw={key:1},yw={key:2},ww={key:3},xw={key:4},Ow={key:5},kw=Cn({name:"ScalarIconTerminalWindow",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",vw,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",bw,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",yw,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ww,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",xw,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ow,[...r[5]||=[Xo("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))}})}),Mk=V(()=>{Pk(),Sw=kw}),Nk=V(()=>{qx(),Bc(),Aw={key:0},Tw={key:1},_w={key:2},Cw={key:3},Ew={key:4},Pw={key:5},Mw=Cn({name:"ScalarIconTextAlignLeft",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Aw,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Tw,[...r[1]||=[Xo("path",{d:"M216,64V168a16,16,0,0,1-16,16H40V64Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",_w,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Cw,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ew,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Pw,[...r[5]||=[Xo("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))}})}),$k=V(()=>{Nk(),Nw=Mw}),Ik=V(()=>{qx(),Bc(),$w={key:0},Iw={key:1},Rw={key:2},Dw={key:3},Lw={key:4},Bw={key:5},jw=Cn({name:"ScalarIconTrash",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",$w,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Iw,[...r[1]||=[Xo("path",{d:"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Rw,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Dw,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Lw,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Bw,[...r[5]||=[Xo("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))}})}),Rk=V(()=>{Ik(),Uw=jw}),Dk=V(()=>{qx(),Bc(),zw={key:0},Hw={key:1},Zw={key:2},Vw={key:3},qw={key:4},Qw={key:5},Fw=Cn({name:"ScalarIconUpload",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",zw,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Hw,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",Zw,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Vw,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",qw,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Qw,[...r[5]||=[Xo("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))}})}),Lk=V(()=>{Dk(),Ww=Fw}),Bk=V(()=>{qx(),Bc(),Gw={key:0},Xw={key:1},Yw={key:2},Kw={key:3},Jw={key:4},ex={key:5},tx=Cn({name:"ScalarIconWarning",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Gw,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Xw,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",Yw,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Kw,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Jw,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ex,[...r[5]||=[Xo("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))}})}),jk=V(()=>{Bk(),ax=tx}),Uk=V(()=>{qx(),Bc(),rx={key:0},nx={key:1},ox={key:2},ix={key:3},sx={key:4},lx={key:5},cx=Cn({name:"ScalarIconWarningCircle",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",rx,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",nx,[...r[1]||=[Xo("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",ox,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",ix,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",sx,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",lx,[...r[5]||=[Xo("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))}})}),zk=V(()=>{Uk(),ux=cx}),Hk=V(()=>{qx(),Bc(),dx={key:0},px={key:1},hx={key:2},mx={key:3},fx={key:4},gx={key:5},vx=Cn({name:"ScalarIconWarningOctagon",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",dx,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",px,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",hx,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",mx,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",fx,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",gx,[...r[5]||=[Xo("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))}})}),Zk=V(()=>{Hk(),bx=vx}),Vk=V(()=>{qx(),Bc(),yx={key:0},wx={key:1},xx={key:2},Ox={key:3},kx={key:4},Sx={key:5},Ax=Cn({name:"ScalarIconWebhooksLogo",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",yx,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",wx,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",xx,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ox,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",kx,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Sx,[...r[5]||=[Xo("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))}})}),qk=V(()=>{Vk(),Tx=Ax}),Qk=V(()=>{qx(),Bc(),_x={key:0},Cx={key:1},Ex={key:2},Px={key:3},Mx={key:4},Nx={key:5},$x=Cn({name:"ScalarIconX",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",_x,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Cx,[...r[1]||=[Xo("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),Xo("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"===qa(a)?(Ho(),Qo("g",Ex,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Px,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Mx,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Nx,[...r[5]||=[Xo("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))}})}),Fk=V(()=>{Qk(),Ix=$x}),Wk=V(()=>{qx(),Bc(),Rx={key:0},Dx={key:1},Lx={key:2},Bx={key:3},jx={key:4},Ux={key:5},zx=Cn({name:"ScalarIconXCircle",props:{label:{},weight:{}},setup(e){let{bind:t,weight:a}=Sh(e);return(e,r)=>(Ho(),Qo("svg",ii({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor"},qa(t)),[Kn(e.$slots,"default"),"bold"===qa(a)?(Ho(),Qo("g",Rx,[...r[0]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Dx,[...r[1]||=[Xo("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"},null,-1),Xo("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"===qa(a)?(Ho(),Qo("g",Lx,[...r[2]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Bx,[...r[3]||=[Xo("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"===qa(a)?(Ho(),Qo("g",jx,[...r[4]||=[Xo("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"===qa(a)?(Ho(),Qo("g",Ux,[...r[5]||=[Xo("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))}})}),Gk=V(()=>{Wk(),Hx=zx}),Xk=V(()=>{Fx(),Gx(),Yx(),Jx(),tO(),rO(),oO(),sO(),cO(),dO(),hO(),fO(),vO(),yO(),xO(),kO(),AO(),_O(),EO(),MO(),$O(),RO(),LO(),jO(),zO(),ZO(),qO(),FO(),GO(),YO(),JO(),tk(),rk(),ok(),sk(),ck(),dk(),hk(),fk(),vk(),yk(),xk(),kk(),Ak(),_k(),Ek(),Mk(),$k(),Rk(),Lk(),jk(),zk(),Zk(),qk(),Fk(),Gk()}),Yk=V(()=>{Zx={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}}),Kk=V(()=>{Yk(),Vx=e=>!(Zx.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e))});var Jk,eS,tS,aS,rS,nS,oS,iS,sS,lS,cS,uS,dS,pS,hS,mS,fS,gS=V(()=>{Yk()}),vS=V(()=>{Yk(),Kk(),gS(),Jk=(...e)=>{let t={};e.forEach(e=>{let a=Array.from(e.keys());new Set(a).forEach(a=>{let r=e.getAll(a),n=r.length>1?r:r[0]??"";t[a]=n})});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},eS=(e,t)=>t&&e!==t?e?`${e.trim()}/${t.trim()}`.replace(Zx.MULTIPLE_SLASHES,"/"):t.trim():e.trim(),tS=(e,t,a=new URLSearchParams,r=!1)=>{if(e&&(!Vx(e)||typeof window<"u")){let[n="",o]=(r?e:Vx(e)?eS(window.location.origin,e):function(e){return Zx.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:eS(n,s),d=Jk(i,c,a).toString();return d?`${u}?${d}`:u}return t?eS(e,t):""}}),bS=V(()=>{vS(),aS=(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=eS(t?new URL(t).origin:window.location.origin,a+"/")),new URL(e,r).toString()}catch{return e}}}),yS=V(()=>{Bc(),Xk(),bS(),rS=["href"],nS=Cn({__name:"OpenApiClientButton",props:{buttonSource:{},source:{default:"api-reference"},isDevelopment:{type:Boolean},integration:{},url:{},operationPath:{},operationMethod:{}},setup(e){let t=il(()=>{let t=e.url??(typeof window<"u"?window.location.href:void 0);if(!t)return;let a=aS(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?(Ho(),Qo("a",{key:0,class:"open-api-client-button",href:t.value,target:"_blank"},[Fs(qa(Gh),{class:"size-3",weight:"regular"}),a[0]||=ei(" Open API Client ",-1)],8,rS)):ai("",!0)}})}),wS=V(()=>{kh(),yS(),oS=yh(nS,[["__scopeId","data-v-cd067f84"]])}),xS=V(()=>{iS=e=>"getSetCookie"in e&&"function"==typeof e.getSetCookie?e.getSetCookie():[]}),OS=V(()=>{sS=(e,t)=>{for(let a of t)if(a.responseBody)for(let t of a.responseBody)if(lS(e,t.mimeTypes))return t},lS=(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}}),kS=V(()=>{cS=/^[!#$%&'*+\-.^_`|~A-Za-z0-9]+$/,uS=e=>`"${e.replaceAll(/(["\\])/g,"\\$1")}"`,dS=e=>{let t=e.indexOf("=");if(-1===t)return null;let a=e.slice(0,t).trim().toLowerCase();if(!a||!cS.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},pS=e=>{let[t="",a=""]=e.split("/",2),r=t.trim().toLowerCase(),n=a.trim().toLowerCase();if(!(r&&n&&cS.test(r)&&cS.test(n)))throw Error(`Invalid MIME type: "${e}"`);return{essence:`${r}/${n}`,type:r,subtype:n}},hS=(e="text/plain")=>{let t,[a="",...r]=e.split(";");try{t=pS(a)}catch{t=pS("text/plain")}let{essence:n,type:o,subtype:i}=t,s=new Map;return r.forEach(e=>{let t=dS(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}=${cS.test(t)?t:uS(t)}`);return e.length?`${n}; ${e.join("; ")}`:n}}}}),SS=V(()=>{kS(),mS=e=>e??"text/plain;charset=UTF-8",fS=e=>hS(mS(e))});function AS(e){let t=TS[e];return t||(e.endsWith("+json")?{extension:".json",raw:!0,language:"json",preview:"json"}:void 0)}var TS,_S,CS,ES,PS,MS,NS,$S,IS,RS,DS,LS,BS,jS,US,zS,HS,ZS,VS,qS,QS,FS,WS,GS,XS=V(()=>{TS={"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/x-ndjson":{extension:".ndjson",raw:!0,language:"json",preview:"ndjson"},"application/ndjson":{extension:".ndjson",raw:!0,language:"json",preview:"ndjson"},"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"}},_S=Object.entries(TS).filter(([,e])=>e?.raw).map(([e])=>e)}),YS=V(()=>{XS(),kS(),CS=async(e,t,a)=>{let r=hS(t);return a?.decode?await a.decode(e,t):function(e){return!!AS(e)?.raw}(r.essence)?new TextDecoder(r.parameters.get("charset")).decode(e):new Blob([e],{type:r.essence})}}),KS=V(()=>{ES={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"},PS=e=>"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'."===e?ES.MISSING_FILE:"Failed to construct 'URL': Invalid URL"===e?ES.INVALID_URL:e.includes("Invalid URL protocol")?ES.INVALID_URL_PROTOCOL:"Failed to execute 'fetch' on 'Window': Invalid name"===e?ES.INVALID_HEADER:e,MS=(e,t=ES.DEFAULT)=>(console.error(e),e instanceof Error?(e.message=PS(e.message),e):Error("string"==typeof e?PS(e):t))}),JS=V(()=>{NS=()=>typeof window<"u"&&"electron"in window}),eA=V(()=>{JS(),$S=new Set(["post","put","patch","delete"]),IS=(e,t=!1)=>{let a=e.toLowerCase();return!(!NS()||t)||$S.has(a)},RS=(e,t)=>new Request(e,{...t,body:IS(t.method??"GET",!0)?t.body:null})}),tA=V(()=>{DS={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)"}}}),aA=V(()=>{LS="x-scalar-cookie",BS="x-scalar-set-cookie",jS="x-scalar-user-agent",US="x-scalar-date",zS="x-scalar-dnt",HS="x-scalar-referer"}),rA=V(()=>{aA(),ZS=(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[BS];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=VS(e);e!==t&&a[e]&&(a[t]=a[e],delete a[e])}),Object.fromEntries(Object.entries(a).sort(([e],[t])=>e.localeCompare(t)))},VS=e=>e.split("-").map(e=>e.charAt(0).toUpperCase()+e.toLowerCase().slice(1)).join("-")}),nA=V(()=>{qS=/^[!-:<>-~]+$/,QS=/^[!-:<-~]*$/,FS=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,WS=/^[ -:=-~]*$/,GS=(e,t,a={})=>{if(!qS.test(e))throw TypeError(`argument name is invalid: ${e}`);if(!QS.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(!FS.test(a.domain))throw TypeError(`option domain is invalid: ${a.domain}`);r+=`; Domain=${a.domain}`}if(a.path){if(!WS.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 oA(e){return"string"!=typeof e||e in{}}function iA(){return Object.create(null)}function sA(e){return"string"==typeof e&&!!e.trim()}function lA(e,t){var a=e.split(";").filter(sA),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({},dA,t):dA,oA(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=iA();return i.name=n,i.value=o,a.forEach(function(e){var t=e.split("="),a=t.shift().trimLeft().toLowerCase();if(!oA(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 cA(e,t){if(t=t?Object.assign({},dA,t):dA,!e)return t.map?iA():[];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(sA),r&&(e=e.map(uA).flat()),t.map){var o=iA();return e.reduce(function(e,a){var r=lA(a,t);return r&&!oA(r.name)&&(e[r.name]=r),e},o)}return e.map(function(e){return lA(e,t)}).filter(Boolean)}function uA(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 dA,pA,hA,mA,fA,gA,vA=V(()=>{dA={decodeValues:!0,map:!1,silent:!1,split:"auto"},cA.parseSetCookie=cA,cA.parse=cA,cA.parseString=lA,cA.splitCookiesString=uA}),bA=V(()=>{xS(),OS(),SS(),YS(),KS(),JS(),eA(),tA(),rA(),aA(),nA(),vA(),pA=[204,205,304],hA=async({isUsingProxy:e,requestPayload:t,request:a,plugins:r=[],customFetch:n=fetch})=>{try{let o=performance.now(),i=NS()?await n(...t):await n(a??RS(...t)),s=performance.now(),l=Date.now(),c=s-o,u=i.headers.get("content-type"),d=ZS(i.headers,e),p=new URL(i.url),h=p.pathname+p.search,m=i.statusText||DS[i.status]?.name||"",f=t[1].method??"GET",g=pA.includes(i.status);return u?.startsWith("text/event-stream")&&i.body?fA({response:i,requestPayload:t,timestamp:l,duration:c,responseHeaders:d,statusText:m,method:f,fullPath:h}):gA({response:i,requestPayload:t,timestamp:l,duration:c,responseHeaders:d,statusText:m,method:f,fullPath:h,contentType:u,shouldSkipBody:g,plugins:r})}catch(e){return[MS(e,ES.REQUEST_FAILED),null]}},mA=e=>{let t=cA(e.headers.get("x-scalar-set-cookie")??"").map(e=>GS(e.name,e.value,{...e,sameSite:e.sameSite}));return t.length?t:null},fA=({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=mA(l)??iS(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()}]},gA=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=mS(l),h=fS(l).essence,m=await CS(d,p,sS(h,u)),f=new Response(c?null:d,{status:e.status,statusText:o,headers:e.headers}),g=mA(f)??iS(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 yA(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=yA(e[t]))&&(r&&(r+=" "),r+=a)}else for(a in e)e[a]&&(r&&(r+=" "),r+=a);return r}function wA(){for(var e,t,a=0,r="",n=arguments.length;a<n;a++)(e=arguments[a])&&(t=yA(e))&&(r&&(r+=" "),r+=t);return r}var xA,OA,kA,SA,AA,TA,_A,CA,EA,PA,MA,NA,$A,IA,RA,DA,LA,BA,jA,UA,zA,HA,ZA,VA,qA,QA,FA,WA,GA,XA,YA,KA,JA,eT,tT,aT,rT,nT,oT,iT,sT,lT,cT,uT,dT,pT,hT,mT,fT,gT,vT,bT,yT,wT,xT,OT,kT,ST,AT,TT,_T,CT,ET,PT,MT,NT,$T,IT,RT,DT,LT,BT,jT,UT,zT,HT,ZT,VT,qT,QT,FT,WT,GT,XT,YT,KT,JT,e_,t_,a_,r_,n_,o_=V(()=>{}),i_=V(()=>{o_(),xA=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,OA=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?wA(a):e?.hooks.onComplete(wA(a)):e?.hooks["cx:done"](wA(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=xA(t)||xA(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:kA,cva:SA,cx:AA}=OA())}),s_=V(()=>{TA=(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},_A=(e,t)=>({classGroupId:e,validator:t}),CA=(e=new Map,t=null,a)=>({nextPart:e,validators:t,classGroupId:a}),EA="-",PA=[],MA=e=>{let t=IA(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return $A(e);let a=e.split(EA),r=+(""===a[0]&&a.length>1);return NA(a,r,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],n=a[e];return t?n?TA(n,t):t:n||PA}return a[e]||PA}}},NA=(e,t,a)=>{if(e.length-t===0)return a.classGroupId;let r=e[t],n=a.nextPart.get(r);if(n){let a=NA(e,t+1,n);if(a)return a}let o=a.validators;if(null===o)return;let i=0===t?e.join(EA):e.slice(t).join(EA),s=o.length;for(let e=0;e<s;e++){let t=o[e];if(t.validator(i))return t.classGroupId}},$A=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})(),IA=e=>{let{theme:t,classGroups:a}=e;return RA(a,t)},RA=(e,t)=>{let a=CA();for(let r in e){let n=e[r];DA(n,a,r,t)}return a},DA=(e,t,a,r)=>{let n=e.length;for(let o=0;o<n;o++){let n=e[o];LA(n,t,a,r)}},LA=(e,t,a,r)=>{"string"!=typeof e?"function"!=typeof e?UA(e,t,a,r):jA(e,t,a,r):BA(e,t,a)},BA=(e,t,a)=>{(""===e?t:zA(t,e)).classGroupId=a},jA=(e,t,a,r)=>{HA(e)?DA(e(r),t,a,r):(null===t.validators&&(t.validators=[]),t.validators.push(_A(a,e)))},UA=(e,t,a,r)=>{let n=Object.entries(e),o=n.length;for(let e=0;e<o;e++){let[o,i]=n[e];DA(i,zA(t,o),a,r)}},zA=(e,t)=>{let a=e,r=t.split(EA),n=r.length;for(let e=0;e<n;e++){let t=r[e],n=a.nextPart.get(t);n||(n=CA(),a.nextPart.set(t,n)),a=n}return a},HA=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,ZA=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)}}},VA=[],qA=(e,t,a,r,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:a,maybePostfixModifierPosition:r,isExternal:n}),QA=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),qA(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)):qA(VA,!1,t,void 0,!0)}if(a){let e=r;r=t=>a({className:t,parseClassName:e})}return r},FA=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}},WA=e=>({cache:ZA(e.cacheSize),parseClassName:QA(e),sortModifiers:FA(e),...MA(e)}),GA=/\s+/,XA=(e,t)=>{let{parseClassName:a,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:o}=t,i=[],s=e.trim().split(GA),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},YA=(...e)=>{let t,a,r=0,n="";for(;r<e.length;)(t=e[r++])&&(a=KA(t))&&(n&&(n+=" "),n+=a);return n},KA=e=>{if("string"==typeof e)return e;let t,a="";for(let r=0;r<e.length;r++)e[r]&&(t=KA(e[r]))&&(a&&(a+=" "),a+=t);return a},JA=(e,...t)=>{let a,r,n,o,i=e=>{let t=r(e);if(t)return t;let o=XA(e,a);return n(e,o),o};return o=s=>{let l=t.reduce((e,t)=>t(e),e());return a=WA(l),r=a.cache.get,n=a.cache.set,o=i,i(s)},(...e)=>o(YA(...e))},eT=[],tT=e=>{let t=t=>t[e]||eT;return t.isThemeGetter=!0,t},aT=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,rT=/^\((?:(\w[\w-]*):)?(.+)\)$/i,nT=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,oT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,iT=/\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$/,sT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,lT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,cT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,uT=e=>nT.test(e),dT=e=>!!e&&!Number.isNaN(Number(e)),pT=e=>!!e&&Number.isInteger(Number(e)),hT=e=>e.endsWith("%")&&dT(e.slice(0,-1)),mT=e=>oT.test(e),fT=()=>!0,gT=e=>iT.test(e)&&!sT.test(e),vT=()=>!1,bT=e=>lT.test(e),yT=e=>cT.test(e),wT=e=>!OT(e)&&!PT(e),xT=e=>BT(e,HT,vT),OT=e=>aT.test(e),kT=e=>BT(e,ZT,gT),ST=e=>BT(e,VT,dT),AT=e=>BT(e,QT,fT),TT=e=>BT(e,qT,vT),_T=e=>BT(e,UT,vT),CT=e=>BT(e,zT,yT),ET=e=>BT(e,FT,bT),PT=e=>rT.test(e),MT=e=>jT(e,ZT),NT=e=>jT(e,qT),$T=e=>jT(e,UT),IT=e=>jT(e,HT),RT=e=>jT(e,zT),DT=e=>jT(e,FT,!0),LT=e=>jT(e,QT,!0),BT=(e,t,a)=>{let r=aT.exec(e);return!!r&&(r[1]?t(r[1]):a(r[2]))},jT=(e,t,a=!1)=>{let r=rT.exec(e);return!!r&&(r[1]?t(r[1]):a)},UT=e=>"position"===e||"percentage"===e,zT=e=>"image"===e||"url"===e,HT=e=>"length"===e||"size"===e||"bg-size"===e,ZT=e=>"length"===e,VT=e=>"number"===e,qT=e=>"family-name"===e,QT=e=>"number"===e||"weight"===e,FT=e=>"shadow"===e,WT=()=>{let e=tT("color"),t=tT("font"),a=tT("text"),r=tT("font-weight"),n=tT("tracking"),o=tT("leading"),i=tT("breakpoint"),s=tT("container"),l=tT("spacing"),c=tT("radius"),u=tT("shadow"),d=tT("inset-shadow"),p=tT("text-shadow"),h=tT("drop-shadow"),m=tT("blur"),f=tT("perspective"),g=tT("aspect"),v=tT("ease"),b=tT("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",PT,OT],w=()=>[PT,OT,l],x=()=>[uT,"full","auto",...w()],O=()=>[pT,"none","subgrid",PT,OT],k=()=>["auto",{span:["full",pT,PT,OT]},pT,PT,OT],S=()=>[pT,"auto",PT,OT],A=()=>["auto","min","max","fr",PT,OT],T=()=>["auto",...w()],_=()=>[uT,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],C=()=>[uT,"screen","full","dvw","lvw","svw","min","max","fit",...w()],E=()=>[uT,"screen","full","lh","dvh","lvh","svh","min","max","fit",...w()],P=()=>[e,PT,OT],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",$T,_T,{position:[PT,OT]}],N=()=>["auto","cover","contain",IT,xT,{size:[PT,OT]}],$=()=>[hT,MT,kT],I=()=>["","none","full",c,PT,OT],R=()=>["",dT,MT,kT],D=()=>[dT,hT,$T,_T],L=()=>["","none",m,PT,OT],B=()=>["none",dT,PT,OT],j=()=>["none",dT,PT,OT],U=()=>[dT,PT,OT],z=()=>[uT,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[mT],breakpoint:[mT],color:[fT],container:[mT],"drop-shadow":[mT],ease:["in","out","in-out"],font:[wT],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[mT],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[mT],shadow:[mT],spacing:["px",dT],text:[mT],"text-shadow":[mT],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",uT,OT,PT,g]}],container:["container"],columns:[{columns:[dT,OT,PT,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:[pT,"auto",PT,OT]}],basis:[{basis:[uT,"full","auto",s,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[dT,uT,"auto","initial","none",OT]}],grow:[{grow:["",dT,PT,OT]}],shrink:[{shrink:["",dT,PT,OT]}],order:[{order:[pT,"first","last","none",PT,OT]}],"grid-cols":[{"grid-cols":O()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":S()}],"col-end":[{"col-end":S()}],"grid-rows":[{"grid-rows":O()}],"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:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"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:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:_()}],"inline-size":[{inline:["auto",...C()]}],"min-inline-size":[{"min-inline":["auto",...C()]}],"max-inline-size":[{"max-inline":["none",...C()]}],"block-size":[{block:["auto",...E()]}],"min-block-size":[{"min-block":["auto",...E()]}],"max-block-size":[{"max-block":["none",...E()]}],w:[{w:[s,"screen",..._()]}],"min-w":[{"min-w":[s,"screen","none",..._()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},..._()]}],h:[{h:["screen","lh",..._()]}],"min-h":[{"min-h":["screen","lh","none",..._()]}],"max-h":[{"max-h":["screen","lh",..._()]}],"font-size":[{text:["base",a,MT,kT]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,LT,AT]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",hT,OT]}],"font-family":[{font:[NT,TT,t]}],"font-features":[{"font-features":[OT]}],"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,PT,OT]}],"line-clamp":[{"line-clamp":[dT,"none",PT,ST]}],leading:[{leading:[o,...w()]}],"list-image":[{"list-image":["none",PT,OT]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",PT,OT]}],"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:[dT,"from-font","auto",PT,kT]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[dT,"auto",PT,OT]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",PT,OT]}],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",PT,OT]}],"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:N()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},pT,PT,OT],radial:["",PT,OT],conic:[pT,PT,OT]},RT,CT]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:$()}],"gradient-via-pos":[{via:$()}],"gradient-to-pos":[{to:$()}],"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":[dT,PT,OT]}],"outline-w":[{outline:["",dT,MT,kT]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,DT,ET]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",d,DT,ET]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[dT,kT]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",p,DT,ET]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[dT,PT,OT]}],"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":[dT]}],"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":[PT,OT]}],"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":[dT]}],"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:N()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",PT,OT]}],filter:[{filter:["","none",PT,OT]}],blur:[{blur:L()}],brightness:[{brightness:[dT,PT,OT]}],contrast:[{contrast:[dT,PT,OT]}],"drop-shadow":[{"drop-shadow":["","none",h,DT,ET]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",dT,PT,OT]}],"hue-rotate":[{"hue-rotate":[dT,PT,OT]}],invert:[{invert:["",dT,PT,OT]}],saturate:[{saturate:[dT,PT,OT]}],sepia:[{sepia:["",dT,PT,OT]}],"backdrop-filter":[{"backdrop-filter":["","none",PT,OT]}],"backdrop-blur":[{"backdrop-blur":L()}],"backdrop-brightness":[{"backdrop-brightness":[dT,PT,OT]}],"backdrop-contrast":[{"backdrop-contrast":[dT,PT,OT]}],"backdrop-grayscale":[{"backdrop-grayscale":["",dT,PT,OT]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[dT,PT,OT]}],"backdrop-invert":[{"backdrop-invert":["",dT,PT,OT]}],"backdrop-opacity":[{"backdrop-opacity":[dT,PT,OT]}],"backdrop-saturate":[{"backdrop-saturate":[dT,PT,OT]}],"backdrop-sepia":[{"backdrop-sepia":["",dT,PT,OT]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",PT,OT]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[dT,"initial",PT,OT]}],ease:[{ease:["linear","initial",v,PT,OT]}],delay:[{delay:[dT,PT,OT]}],animate:[{animate:["none",b,PT,OT]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,PT,OT]}],"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:[PT,OT,"","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",PT,OT]}],"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":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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",PT,OT]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[dT,MT,kT,ST]}],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"]}},GT=(e,{cacheSize:t,prefix:a,experimentalParseClassName:r,extend:n={},override:o={}})=>(XT(e,"cacheSize",t),XT(e,"prefix",a),XT(e,"experimentalParseClassName",r),YT(e.theme,o.theme),YT(e.classGroups,o.classGroups),YT(e.conflictingClassGroups,o.conflictingClassGroups),YT(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),XT(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),KT(e.theme,n.theme),KT(e.classGroups,n.classGroups),KT(e.conflictingClassGroups,n.conflictingClassGroups),KT(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),JT(e,n,"orderSensitiveModifiers"),e),XT=(e,t,a)=>{void 0!==a&&(e[t]=a)},YT=(e,t)=>{if(t)for(let a in t)XT(e,a,t[a])},KT=(e,t)=>{if(t)for(let a in t)JT(e,t,a)},JT=(e,t,a)=>{let r=t[a];void 0!==r&&(e[a]=e[a]?e[a].concat(r):r)},e_=(e,...t)=>"function"==typeof e?JA(WT,e,...t):JA(()=>GT(WT(),e),...t)}),l_=V(()=>{i_(),s_(),t_=e_({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:a_,cx:r_,compose:n_}=OA({hooks:{onComplete:e=>t_(e)}}))});function c_(){let e=ao(),t=il(()=>{let{class:t,style:a,...r}=e;return{class:t||"",style:a,rest:r}});return{cx:function(...e){return{class:r_(...e,t.value.class),style:t.value.style,...t.value.rest}},stylingAttrsCx:function(...e){return{class:r_(...e,t.value.class),style:t.value.style}},otherAttrs:il(()=>t.value.rest)}}var u_,d_,p_=V(()=>{Bc(),l_()}),h_=V(()=>{l_(),p_()}),m_=V(()=>{Bc(),h_(),u_=Cn({__name:"ViewLayout",setup(e){let{cx:t}=c_();return(e,a)=>(Ho(),Qo("div",at(Ko(qa(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"))),[Kn(e.$slots,"default")],16))}})}),f_=V(()=>{m_(),d_=u_});function g_(e,t){return Ho(),Qo("div",v_,[Kn(e.$slots,"default")])}var v_,b_,y_,w_,x_,O_,k_,S_,A_,T_,__,C_,E_,P_,M_,N_,$_=V(()=>{kh(),Bc(),v_={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"},b_=yh({},[["render",g_]])}),I_=V(()=>{y_=({harRequest:e})=>{let t=w_(e),a=x_(e.postData);return[e.url,{method:e.method,headers:t,body:a}]},w_=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},x_=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}}),R_=V(()=>{xS(),O_=({harResponse:e,url:t="",method:a,path:r,duration:n=0})=>{let o=k_(e),{body:i,data:s,size:l}=S_(e),c=iS(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}},k_=e=>{let t=new Headers;return e.headers.forEach(({name:e,value:a})=>{t.append(e,a)}),t},S_=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}}}),D_=V(()=>{vA(),A_=e=>{try{return new URL(e).searchParams.get("scalar_url")||e}catch{return e}},T_=e=>{if(!e.startsWith("/"))return"/";let t=e.lastIndexOf("/");return t<=0?"/":e.slice(0,t)},__=e=>{try{let{hostname:t,pathname:a}=new URL(e,"https://example.com");return{hostname:t,defaultPath:T_(a)}}catch{return{hostname:"",defaultPath:"/"}}},C_=(e,t)=>e.name===t.name&&(e.domain??"")===(t.domain??"")&&(e.path??"")===(t.path??""),E_=({cookieHeaderKeys:e,documentCookies:t,requestUrl:a,now:r=Date.now()})=>{let{hostname:n,defaultPath:o}=__(a),i=new Map;for(let t of e){let[e]=cA(t);if(!e?.name)continue;let a=e.domain||n,s=e.path||o,l=void 0!==e.maxAge&&e.maxAge<=0||e.expires instanceof Date&&e.expires.getTime()<=r;i.set(`${e.name}\n${a}\n${s}`,{cookie:{name:e.name,value:e.value,domain:a,path:s},expired:l})}let s=[],l=[];for(let{cookie:e,expired:a}of i.values()){let r=t.findIndex(t=>C_(e,t));a?-1!==r&&l.push({type:"delete",cookieName:e.name,index:r}):s.push({type:"upsert",cookie:e,...-1===r?{}:{index:r}})}let c=[...s.filter(e=>void 0!==e.index),...l].sort((e,t)=>(t.index??0)-(e.index??0)),u=s.filter(e=>void 0===e.index);return[...c,...u]}}),L_=V(()=>{P_=e=>Array.isArray(e)?e:Object.entries(e).map(([e,t])=>({key:e,value:t})),M_=({environmentName:e,seededVariables:t,scriptVariables:a,mergedVariables:r,documentVariables:n,environmentExistsOnDocument:o})=>{let i=Math.max(0,r.length-n.length),s=new Map(n.map((e,t)=>[e.name,t])),l=new Map(r.slice(0,i).map((e,t)=>[e.name,t])),c=e=>{let t=s.get(e);if(void 0!==t)return{collectionType:"document",index:t};let a=l.get(e);return void 0!==a?{collectionType:"workspace",index:a}:void 0},u=[],d=[],p=new Set;for(let{key:r,value:n}of P_(a)){if(p.add(r),t[r]===n)continue;let a=c(r);a?u.push({type:"upsert",environmentName:e,variable:{name:r,value:n},...a}):u.push({type:"upsert",environmentName:e,variable:{name:r,value:n},collectionType:o?"document":"workspace"})}for(let a of Object.keys(t)){if(p.has(a))continue;let t=s.get(a);void 0!==t&&d.push({type:"delete",environmentName:e,index:t,collectionType:"document"});let r=l.get(a);void 0!==r&&d.push({type:"delete",environmentName:e,index:r,collectionType:"workspace"})}return d.sort((e,t)=>t.index-e.index),[...u,...d]}}),B_=V(()=>{N_=e=>null!=e});function j_(e,t,a,r){return[r,e,t,a].filter(N_).join("|")}var U_,z_,H_,Z_,V_,q_,Q_,F_,W_,G_,X_,Y_,K_=V(()=>{B_(),U_=new Map}),J_=V(()=>{z_=e=>{if("object"!=typeof e||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||null===t},H_=e=>"object"==typeof e&&!!e}),eC=V(()=>{J_(),Z_=e=>e["$ref-value"],V_=e=>{let{"$ref-value":t,...a}=e;return z_(t)?{...t,...a}:a},q_=(e,t=Z_)=>"object"==typeof e&&e&&"$ref"in e?t(e):e}),tC=V(()=>{Q_=e=>decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}),aC=V(()=>{tC(),F_=e=>e.split("/").slice(1).map(Q_)}),rC=V(()=>{W_=(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}}),nC=V(()=>{G_=e=>{if(e&&"object"==typeof e&&e.$id&&"string"==typeof e.$id)return e.$id},X_=e=>e.join("/"),Y_=(e,t="",a=[],r=new Map,n=new WeakSet)=>{if("object"!=typeof e||!e||n.has(e))return r;n.add(e);let o=G_(e);o&&r.set(o,X_(a));let i=o??t;e.$anchor&&"string"==typeof e.$anchor&&r.set(`${i}#${e.$anchor}`,X_(a));for(let t in e)"object"==typeof e[t]&&null!==e[t]&&Y_(e[t],i,[...a,t],r,n);return r}});function oC(e,t){return t.reduce((e,t)=>void 0===e.value||"object"!=typeof e.value||null===e.value?{context:"",value:void 0}:{context:G_(e.value)??e.context,value:e.value?.[t]},{context:"",value:e})}var iC=V(()=>{nC()});var sC=V(()=>{});function lC(e){return"object"==typeof e&&e&&e[cC]?e[uC]:e}var cC,uC,dC,pC,hC,mC,fC,gC,vC,bC,yC,wC=V(()=>{aC(),J_(),rC(),nC(),iC(),sC(),cC=Symbol("isMagicProxy"),uC=Symbol("magicProxyTarget"),dC="$ref-value",pC="$ref",hC=(e,t,a={root:e,proxyCache:new WeakMap,cache:new Map,schemas:Y_(e),currentContext:""})=>{if(!z_(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===cC)return!0;if(r===uC)return e;if("string"==typeof r&&r.startsWith("__scalar_")&&!t?.showInternal)return;let o=Reflect.get(e,pC,n),i=G_(e);if(r===dC&&"string"==typeof o){if(a.cache.has(o))return a.cache.get(o);let e=W_(o,i??a.currentContext,a.schemas);if(void 0===e)return;let r=oC(a.root,F_(`/${e}`));if(mC(r.value))return r.value;let n=hC(r.value,t,{...a,currentContext:r.context});return a.cache.set(o,n),n}let s=Reflect.get(e,r,n);return mC(s)?s:hC(s,t,{...a,currentContext:i??a.currentContext})},set(e,r,n,o){let i=Reflect.get(e,pC,o);if("string"==typeof r&&r.startsWith("__scalar_")&&!t?.showInternal)return!0;if(r===dC&&"string"==typeof i){let t=W_(i,G_(e)??a.currentContext,a.schemas);if(void 0===t)return;let r=F_(`/${t}`);if(0===r.length)return!1;let o=()=>oC(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===dC&&pC in e||Reflect.has(e,a)),ownKeys(e){let a=Reflect.ownKeys(e).filter(e=>"string"!=typeof e||!(e.startsWith("__scalar_")&&!t?.showInternal));return pC in e&&!a.includes(dC)&&a.push(dC),a},getOwnPropertyDescriptor(e,a){if("string"==typeof a&&a.startsWith("__scalar_")&&!t?.showInternal)return;let r=Reflect.get(e,pC);return a===dC&&"string"==typeof r?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,a)}});return a.proxyCache.set(e,r),r},mC=e=>"object"==typeof e&&!!e&&!0===e[cC]}),xC=V(()=>{wC()}),OC=V(()=>{J_(),fC=Symbol("isDetectChangesProxy"),gC=Symbol("detectChangesProxyTarget"),vC=(e,t,a={proxyCache:new WeakMap,path:[]})=>{if(!z_(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===fC)return!0;if(r===gC)return e;let o=Reflect.get(e,r,n);return bC(o)?o:vC(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},bC=e=>"object"==typeof e&&!!e&&!0===e[fC],yC=e=>"object"==typeof e&&e&&e[fC]?e[gC]:e});var kC,SC,AC,TC,_C,CC,EC,PC,MC,NC,$C,IC,RC,DC,LC=V(()=>{J_(),kC=Symbol("isOverridesProxy"),SC=Symbol("getOverridesTarget"),AC=(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===kC)return!0;if(t===SC)return e;let o=Reflect.get(e,t,n);return TC(o)?o:z_(o)?AC(o,{overrides:Reflect.get(r??{},t)},a):Reflect.get(r??{},t)??o},set:(e,t,a,n)=>t!==kC&&t!==SC&&(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},TC=e=>"object"==typeof e&&!!e&&!0===e[kC]}),BC=V(()=>{xC(),Bc(),OC(),LC(),_C=(e,{depth:t=0}={})=>{let a=(r,n=0)=>{if("object"!=typeof r||!r)return r;let o=yC(ja(lC(function(e){return"object"==typeof e&&e&&e[kC]?e[SC]: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)}}),jC=V(()=>{J_(),eC(),BC(),CC=e=>{let t=new WeakSet,a=new WeakMap,r=e=>{if(!z_(e)&&!Array.isArray(e))return e;let n=_C(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=q_(e),o=r(t),i=Object.entries(e).filter(([e])=>"$ref"!==e&&"$ref-value"!==e);if(i.length>0&&z_(o)){let e={...o};for(let[t,a]of i)e[t]=r(a);return a.set(n,e),e}return a.set(n,o),o}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)}}),UC=V(()=>{eC(),EC=(e,t,a)=>{if(!e&&!t)return;let r=!!e&&Object.keys(e).length>0,n=a||Object.keys(e??{})[0]||"",o=q_(e?.[n]);return void 0!==o?o:r&&a||void 0===t?void 0:{value:q_(t)}},PC=(e,t,a)=>{if("content"in e){let r=e.content?.[a??Object.keys(e.content)[0]??""],n=EC(r?.examples,r?.example,t);if(void 0!==n)return n}if("examples"in e||"example"in e){let a=EC(e.examples,e.example,t);if(void 0!==a)return a}let r=q_(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}}}}),zC=V(()=>{eC(),BC(),MC=e=>"object"==typeof e&&!!e&&"$dynamicRef"in e&&"string"==typeof e.$dynamicRef,NC=e=>"$dynamicAnchor"in e||"$id"in e||"$defs"in e,$C=new WeakMap,IC=e=>{let t=_C(e,{depth:1}),a=$C.get(t);if(a)return a;let r=new Map,n=e=>{if(!e||"object"!=typeof e)return;let t=e.$dynamicAnchor;"string"==typeof t&&!r.has(t)&&r.set(t,q_(e,V_))};n(e);let o=e.$defs;if(o&&"object"==typeof o)for(let e of Object.keys(o))n(o[e]);return $C.set(t,r),r},RC=(e,t)=>NC(t)?[...e,t]:e,DC=(e,t)=>{let a=e.startsWith("#")?e.slice(1):void 0;if(a&&!a.startsWith("/"))for(let e of t){let t=IC(e).get(a);if(t)return t}}});function HC(e){return Array.isArray(e)}function ZC(e){return"bigint"==typeof e}function VC(e){return"boolean"==typeof e}function qC(e){return e instanceof globalThis.Date}function QC(e){return"number"==typeof e}function FC(e){return"object"==typeof e&&!!e}function WC(e){return e instanceof globalThis.RegExp}function GC(e){return"string"==typeof e}function XC(e){return e instanceof globalThis.Uint8Array}function YC(e){return void 0===e}var KC=V(()=>{});function JC(e){return HC(e)?function(e){return e.map(e=>JC(e))}(e):qC(e)?function(e){return new Date(e.getTime())}(e):XC(e)?function(e){return new Uint8Array(e)}(e):WC(e)?function(e){return new RegExp(e.source,e.flags)}(e):FC(e)?function(e){let t={};for(let a of Object.getOwnPropertyNames(e))t[a]=JC(e[a]);for(let a of Object.getOwnPropertySymbols(e))t[a]=JC(e[a]);return t}(e):e}function eE(e){return JC(e)}var tE=V(()=>{KC()});function aE(e,t){return eE(void 0===t?e:{...t,...e})}var rE=V(()=>{tE()}),nE=V(()=>{rE(),tE()});function oE(e){return dE(e)&&globalThis.Symbol.asyncIterator in e}function iE(e){return dE(e)&&globalThis.Symbol.iterator in e}function sE(e){return e instanceof globalThis.Promise}function lE(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function cE(e){return e instanceof globalThis.Uint8Array}function uE(e,t){return t in e}function dE(e){return"object"==typeof e&&!!e}function pE(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function hE(e){return void 0===e}function mE(e){return null===e}function fE(e){return"boolean"==typeof e}function gE(e){return"number"==typeof e}function vE(e){return globalThis.Number.isInteger(e)}function bE(e){return"bigint"==typeof e}function yE(e){return"string"==typeof e}function wE(e){return"function"==typeof e}function xE(e){return"symbol"==typeof e}var OE,kE=V(()=>{}),SE=V(()=>{kE()}),AE=V(()=>{SE(),function(e){function t(t){let a=dE(t);return e.AllowArrayObject?a:a&&!pE(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?gE(t):Number.isFinite(t)},e.IsVoidLike=function(t){let a=hE(t);return e.AllowNullVoid?a||null===t:a}}(OE||={})});function TE(e){return HC(e)?function(e){return globalThis.Object.freeze(e).map(e=>TE(e))}(e):qC(e)||XC(e)||WC(e)?e:FC(e)?function(e){let t={};for(let a of Object.getOwnPropertyNames(e))t[a]=TE(e[a]);for(let a of Object.getOwnPropertySymbols(e))t[a]=TE(e[a]);return globalThis.Object.freeze(t)}(e):e}var _E=V(()=>{KC()});function CE(e,t){let a=void 0===t?e:{...t,...e};switch(OE.InstanceMode){case"freeze":return TE(a);case"clone":return eE(a);default:return a}}var EE,PE,ME,NE,$E,IE,RE=V(()=>{AE(),_E(),tE()}),DE=V(()=>{RE()}),LE=V(()=>{EE=class extends Error{constructor(e){super(e)}}}),BE=V(()=>{LE()}),jE=V(()=>{PE=Symbol.for("TypeBox.Transform"),ME=Symbol.for("TypeBox.Readonly"),NE=Symbol.for("TypeBox.Optional"),$E=Symbol.for("TypeBox.Hint"),IE=Symbol.for("TypeBox.Kind")}),UE=V(()=>{jE()});function zE(e){return FC(e)&&"Readonly"===e[ME]}function HE(e){return FC(e)&&"Optional"===e[NE]}function ZE(e){return tP(e,"Any")}function VE(e){return tP(e,"Argument")}function qE(e){return tP(e,"Array")}function QE(e){return tP(e,"AsyncIterator")}function FE(e){return tP(e,"BigInt")}function WE(e){return tP(e,"Boolean")}function GE(e){return tP(e,"Computed")}function XE(e){return tP(e,"Constructor")}function YE(e){return tP(e,"Function")}function KE(e){return tP(e,"Integer")}function JE(e){return tP(e,"Intersect")}function eP(e){return tP(e,"Iterator")}function tP(e,t){return FC(e)&&IE in e&&e[IE]===t}function aP(e){return VC(e)||QC(e)||GC(e)}function rP(e){return tP(e,"Literal")}function nP(e){return tP(e,"MappedKey")}function oP(e){return tP(e,"MappedResult")}function iP(e){return tP(e,"Never")}function sP(e){return tP(e,"Null")}function lP(e){return tP(e,"Number")}function cP(e){return tP(e,"Object")}function uP(e){return tP(e,"Promise")}function dP(e){return tP(e,"Record")}function pP(e){return tP(e,"Ref")}function hP(e){return tP(e,"RegExp")}function mP(e){return tP(e,"String")}function fP(e){return tP(e,"Symbol")}function gP(e){return tP(e,"TemplateLiteral")}function vP(e){return FC(e)&&PE in e}function bP(e){return tP(e,"Tuple")}function yP(e){return tP(e,"Undefined")}function wP(e){return tP(e,"Union")}function xP(e){return ZE(e)||VE(e)||qE(e)||WE(e)||FE(e)||QE(e)||GE(e)||XE(e)||function(e){return tP(e,"Date")}(e)||YE(e)||KE(e)||JE(e)||eP(e)||rP(e)||nP(e)||oP(e)||iP(e)||function(e){return tP(e,"Not")}(e)||sP(e)||lP(e)||cP(e)||uP(e)||dP(e)||pP(e)||hP(e)||mP(e)||fP(e)||gP(e)||function(e){return tP(e,"This")}(e)||bP(e)||yP(e)||wP(e)||function(e){return tP(e,"Uint8Array")}(e)||function(e){return tP(e,"Unknown")}(e)||function(e){return tP(e,"Unsafe")}(e)||function(e){return tP(e,"Void")}(e)||function(e){return FC(e)&&IE in e&&GC(e[IE])}(e)}var OP=V(()=>{KC(),UE()});function kP(e){try{return new RegExp(e),!0}catch{return!1}}function SP(e){if(!GC(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 AP(e){return CP(e)||pM(e)}function TP(e){return YC(e)||ZC(e)}function _P(e){return YC(e)||QC(e)}function CP(e){return YC(e)||VC(e)}function EP(e){return YC(e)||GC(e)}function PP(e){return YC(e)||pM(e)}function MP(e){return FC(e)&&"Optional"===e[NE]}function NP(e){return VP(e,"Any")&&EP(e.$id)}function $P(e){return VP(e,"Array")&&"array"===e.type&&EP(e.$id)&&pM(e.items)&&_P(e.minItems)&&_P(e.maxItems)&&CP(e.uniqueItems)&&PP(e.contains)&&_P(e.minContains)&&_P(e.maxContains)}function IP(e){return VP(e,"AsyncIterator")&&"AsyncIterator"===e.type&&EP(e.$id)&&pM(e.items)}function RP(e){return VP(e,"BigInt")&&"bigint"===e.type&&EP(e.$id)&&TP(e.exclusiveMaximum)&&TP(e.exclusiveMinimum)&&TP(e.maximum)&&TP(e.minimum)&&TP(e.multipleOf)}function DP(e){return VP(e,"Boolean")&&"boolean"===e.type&&EP(e.$id)}function LP(e){return VP(e,"Constructor")&&"Constructor"===e.type&&EP(e.$id)&&HC(e.parameters)&&e.parameters.every(e=>pM(e))&&pM(e.returns)}function BP(e){return VP(e,"Date")&&"Date"===e.type&&EP(e.$id)&&_P(e.exclusiveMaximumTimestamp)&&_P(e.exclusiveMinimumTimestamp)&&_P(e.maximumTimestamp)&&_P(e.minimumTimestamp)&&_P(e.multipleOfTimestamp)}function jP(e){return VP(e,"Function")&&"Function"===e.type&&EP(e.$id)&&HC(e.parameters)&&e.parameters.every(e=>pM(e))&&pM(e.returns)}function UP(e){return VP(e,"Integer")&&"integer"===e.type&&EP(e.$id)&&_P(e.exclusiveMaximum)&&_P(e.exclusiveMinimum)&&_P(e.maximum)&&_P(e.minimum)&&_P(e.multipleOf)}function zP(e){return FC(e)&&Object.entries(e).every(([e,t])=>SP(e)&&pM(t))}function HP(e){return VP(e,"Intersect")&&!(GC(e.type)&&"object"!==e.type)&&HC(e.allOf)&&e.allOf.every(e=>pM(e)&&!function(e){return FC(e)&&PE in e}(e))&&EP(e.type)&&(CP(e.unevaluatedProperties)||PP(e.unevaluatedProperties))&&EP(e.$id)}function ZP(e){return VP(e,"Iterator")&&"Iterator"===e.type&&EP(e.$id)&&pM(e.items)}function VP(e,t){return FC(e)&&IE in e&&e[IE]===t}function qP(e){return WP(e)&&GC(e.const)}function QP(e){return WP(e)&&QC(e.const)}function FP(e){return WP(e)&&VC(e.const)}function WP(e){return VP(e,"Literal")&&EP(e.$id)&&function(e){return VC(e)||QC(e)||GC(e)}(e.const)}function GP(e){return VP(e,"Never")&&FC(e.not)&&0===Object.getOwnPropertyNames(e.not).length}function XP(e){return VP(e,"Not")&&pM(e.not)}function YP(e){return VP(e,"Null")&&"null"===e.type&&EP(e.$id)}function KP(e){return VP(e,"Number")&&"number"===e.type&&EP(e.$id)&&_P(e.exclusiveMaximum)&&_P(e.exclusiveMinimum)&&_P(e.maximum)&&_P(e.minimum)&&_P(e.multipleOf)}function JP(e){return VP(e,"Object")&&"object"===e.type&&EP(e.$id)&&zP(e.properties)&&AP(e.additionalProperties)&&_P(e.minProperties)&&_P(e.maxProperties)}function eM(e){return VP(e,"Promise")&&"Promise"===e.type&&EP(e.$id)&&pM(e.item)}function tM(e){return VP(e,"Record")&&"object"===e.type&&EP(e.$id)&&AP(e.additionalProperties)&&FC(e.patternProperties)&&(e=>{let t=Object.getOwnPropertyNames(e.patternProperties);return 1===t.length&&kP(t[0])&&FC(e.patternProperties)&&pM(e.patternProperties[t[0]])})(e)}function aM(e){return VP(e,"RegExp")&&EP(e.$id)&&GC(e.source)&&GC(e.flags)&&_P(e.maxLength)&&_P(e.minLength)}function rM(e){return VP(e,"String")&&"string"===e.type&&EP(e.$id)&&_P(e.minLength)&&_P(e.maxLength)&&function(e){return YC(e)||GC(e)&&SP(e)&&kP(e)}(e.pattern)&&function(e){return YC(e)||GC(e)&&SP(e)}(e.format)}function nM(e){return VP(e,"Symbol")&&"symbol"===e.type&&EP(e.$id)}function oM(e){return VP(e,"TemplateLiteral")&&"string"===e.type&&GC(e.pattern)&&"^"===e.pattern[0]&&"$"===e.pattern[e.pattern.length-1]}function iM(e){return VP(e,"Tuple")&&"array"===e.type&&EP(e.$id)&&QC(e.minItems)&&QC(e.maxItems)&&e.minItems===e.maxItems&&(YC(e.items)&&YC(e.additionalItems)&&0===e.minItems||HC(e.items)&&e.items.every(e=>pM(e)))}function sM(e){return VP(e,"Undefined")&&"undefined"===e.type&&EP(e.$id)}function lM(e){return VP(e,"Union")&&EP(e.$id)&&FC(e)&&HC(e.anyOf)&&e.anyOf.every(e=>pM(e))}function cM(e){return VP(e,"Uint8Array")&&"Uint8Array"===e.type&&EP(e.$id)&&_P(e.minByteLength)&&_P(e.maxByteLength)}function uM(e){return VP(e,"Unknown")&&EP(e.$id)}function dM(e){return VP(e,"Void")&&"void"===e.type&&EP(e.$id)}function pM(e){return FC(e)&&(NP(e)||function(e){return VP(e,"Argument")&&QC(e.index)}(e)||$P(e)||DP(e)||RP(e)||IP(e)||function(e){return VP(e,"Computed")&&GC(e.target)&&HC(e.parameters)&&e.parameters.every(e=>pM(e))}(e)||LP(e)||BP(e)||jP(e)||UP(e)||HP(e)||ZP(e)||WP(e)||function(e){return VP(e,"MappedKey")&&HC(e.keys)&&e.keys.every(e=>QC(e)||GC(e))}(e)||function(e){return VP(e,"MappedResult")&&zP(e.properties)}(e)||GP(e)||XP(e)||YP(e)||KP(e)||JP(e)||eM(e)||tM(e)||function(e){return VP(e,"Ref")&&EP(e.$id)&&GC(e.$ref)}(e)||aM(e)||rM(e)||nM(e)||oM(e)||function(e){return VP(e,"This")&&EP(e.$id)&&GC(e.$ref)}(e)||iM(e)||sM(e)||lM(e)||cM(e)||uM(e)||function(e){return VP(e,"Unsafe")}(e)||dM(e)||function(e){return FC(e)&&IE in e&&GC(e[IE])&&!hM.includes(e[IE])}(e))}var hM,mM,fM,gM,vM,bM,yM,wM=V(()=>{KC(),UE(),hM="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(".")}),xM=V(()=>{OP(),wM(),KC()}),OM=V(()=>{}),kM=V(()=>{OM()}),SM=V(()=>{mM="(true|false)",vM=`^${fM="(0|[1-9][0-9]*)"}$`,bM=`^${gM="(.*)"}$`,yM="^(?!.*)$"}),AM=V(()=>{SM()});function TM(e){return CM.has(e)}function _M(e){return CM.get(e)}var CM,EM=V(()=>{CM=new Map});function PM(e){return NM.has(e)}function MM(e){return NM.get(e)}var NM,$M=V(()=>{NM=new Map}),IM=V(()=>{EM(),$M()});var RM=V(()=>{}),DM=V(()=>{RM()});function LM(e){return CE({[IE]:"Any"},e)}var BM=V(()=>{DE(),UE()}),jM=V(()=>{BM()});function UM(e,t){return CE({[IE]:"Array",type:"array",items:e},t)}var zM=V(()=>{RE(),UE()}),HM=V(()=>{zM()});function ZM(e){return CE({[IE]:"Argument",index:e})}var VM=V(()=>{RE(),UE()}),qM=V(()=>{VM()});function QM(e,t){return CE({[IE]:"AsyncIterator",type:"AsyncIterator",items:e},t)}var FM=V(()=>{UE(),RE()}),WM=V(()=>{FM()});function GM(e,t,a){return CE({[IE]:"Computed",target:e,parameters:t},a)}var XM=V(()=>{DE(),jE()}),YM=V(()=>{XM()});function KM(e,t){return t.reduce((e,t)=>function(e,t){let{[t]:a,...r}=e;return r}(e,t),e)}var JM=V(()=>{}),eN=V(()=>{JM()});function tN(e){return CE({[IE]:"Never",not:{}},e)}var aN=V(()=>{RE(),UE()}),rN=V(()=>{aN()}),nN=V(()=>{});function oN(e){return CE({[IE]:"MappedResult",properties:e})}var iN=V(()=>{RE(),UE()});function sN(e,t,a){return CE({[IE]:"Constructor",type:"Constructor",parameters:e,returns:t},a)}var lN=V(()=>{RE(),UE()}),cN=V(()=>{lN()});function uN(e,t,a){return CE({[IE]:"Function",type:"Function",parameters:e,returns:t},a)}var dN=V(()=>{RE(),UE()}),pN=V(()=>{dN()});function hN(e,t){return CE({[IE]:"Union",anyOf:e},t)}var mN=V(()=>{RE(),UE()});function fN(e){return e.map(e=>HE(e)?function(e){return KM(e,[NE])}(e):e)}function gN(e,t){return function(e){return e.some(e=>HE(e))}(e)?iI(hN(fN(e),t)):hN(fN(e),t)}function vN(e,t){return 1===e.length?CE(e[0],t):0===e.length?tN(t):gN(e,t)}var bN=V(()=>{RE(),UE(),eN(),rN(),cI(),mN(),OP()}),yN=V(()=>{});function wN(e,t){return 0===e.length?tN(t):1===e.length?CE(e[0],t):hN(e,t)}var xN=V(()=>{rN(),RE(),mN()}),ON=V(()=>{bN(),yN(),xN()});function kN(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function SN(e,t,a){return e[t]===a&&92!==e.charCodeAt(t-1)}function AN(e,t){return SN(e,t,"(")}function TN(e,t){return SN(e,t,")")}function _N(e,t){return SN(e,t,"|")}function CN(e){return function(e){if(!AN(e,0)||!TN(e,e.length-1))return!1;let t=0;for(let a=0;a<e.length;a++)if(AN(e,a)&&(t+=1),TN(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(AN(e,a)&&(t+=1),TN(e,a)&&--t,_N(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(AN(e,n)&&(t+=1),TN(e,n)&&--t,_N(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(AN(e,t))return!0;return!1}(e)?function(e){function t(e,t){if(!AN(e,t))throw new PN("TemplateLiteralParser: Index must point to open parens");let a=0;for(let r=t;r<e.length;r++)if(AN(e,r)&&(a+=1),TN(e,r)&&--a,0===a)return[t,r];throw new PN("TemplateLiteralParser: Unclosed group parens in expression")}function a(e,t){for(let a=t;a<e.length;a++)if(AN(e,a))return[t,a];return[t,e.length]}let r=[];for(let n=0;n<e.length;n++)if(AN(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:kN(e)}}function EN(e){return CN(e.slice(1,e.length-1))}var PN,MN=V(()=>{BE(),PN=class extends EE{}});function NN(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=>NN(e)):"const"===e.type||(()=>{throw new IN("Unknown expression type")})()))}function $N(e){return NN(EN(e.pattern))}var IN,RN=V(()=>{MN(),BE(),IN=class extends EE{}});function*DN(e){if(1===e.length)return yield*e[0];for(let t of e[0])for(let a of DN(e.slice(1)))yield`${t}${a}`}function*LN(e){return yield*DN(e.expr.map(e=>[...BN(e)]))}function*BN(e){return"and"===e.type?yield*LN(e):"or"===e.type?yield*function*(e){for(let t of e.expr)yield*BN(t)}(e):"const"===e.type?yield*function*(e){return yield e.const}(e):(()=>{throw new UN("Unknown expression")})()}function jN(e){let t=EN(e.pattern);return NN(t)?[...BN(t)]:[]}var UN,zN=V(()=>{RN(),MN(),BE(),UN=class extends EE{}});function HN(e,t){return CE({[IE]:"Literal",const:e,type:typeof e},t)}var ZN=V(()=>{RE(),UE()}),VN=V(()=>{ZN()});function qN(e){return CE({[IE]:"Boolean",type:"boolean"},e)}var QN=V(()=>{UE(),DE()}),FN=V(()=>{QN()});function WN(e){return CE({[IE]:"BigInt",type:"bigint"},e)}var GN=V(()=>{UE(),DE()}),XN=V(()=>{GN()});function YN(e){return CE({[IE]:"Number",type:"number"},e)}var KN=V(()=>{RE(),UE()}),JN=V(()=>{KN()});function e$(e){return CE({[IE]:"String",type:"string"},e)}var t$=V(()=>{RE(),UE()}),a$=V(()=>{t$()});function*r$(e){let t=e.trim().replace(/"|'/g,"");return"boolean"===t?yield qN():"number"===t?yield YN():"bigint"===t?yield WN():"string"===t?yield e$():yield(()=>{let e=t.split("|").map(e=>HN(e.trim()));return 0===e.length?tN():1===e.length?e[0]:vN(e)})()}function*n$(e){if("{"!==e[1])return yield*[HN("$"),...o$(e.slice(1))];for(let t=2;t<e.length;t++)if("}"===e[t]){let a=r$(e.slice(2,t)),r=o$(e.slice(t+1));return yield*[...a,...r]}yield HN(e)}function*o$(e){for(let t=0;t<e.length;t++)if("$"===e[t])return yield*[HN(e.slice(0,t)),...n$(e.slice(t))];yield HN(e)}var i$=V(()=>{VN(),FN(),XN(),JN(),a$(),ON(),rN()});function s$(e,t){return gP(e)?e.pattern.slice(1,e.pattern.length-1):wP(e)?`(${e.anyOf.map(e=>s$(e,t)).join("|")})`:lP(e)||KE(e)||FE(e)?`${t}${fM}`:mP(e)?`${t}${gM}`:rP(e)?`${t}${function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(e.const.toString())}`:WE(e)?`${t}${mM}`:(()=>{throw new c$(`Unexpected Kind '${e[IE]}'`)})()}function l$(e){return`^${e.map(e=>s$(e,"")).join("")}$`}var c$,u$=V(()=>{AM(),UE(),BE(),OP(),c$=class extends EE{}});function d$(e){return vN(jN(e).map(e=>HN(e)))}var p$=V(()=>{ON(),VN(),zN()});function h$(e,t){let a=GC(e)?l$(function(e){return[...o$(e)]}(e)):l$(e);return CE({[IE]:"TemplateLiteral",type:"string",pattern:a},t)}var m$=V(()=>{RE(),i$(),u$(),KC(),UE()}),f$=V(()=>{RN(),zN(),i$(),MN(),u$(),p$(),m$()});function g$(e){return jN(e).map(e=>e.toString())}function v$(e){let t=[];for(let a of e)t.push(...y$(a));return t}function b$(e){return[e.toString()]}function y$(e){return[...new Set(gP(e)?g$(e):wP(e)?v$(e.anyOf):rP(e)?b$(e.const):lP(e)||KE(e)?["[number]"]:[])]}var w$=V(()=>{f$(),OP()});function x$(e,t,a){return function(e,t,a){let r={};for(let n of Object.getOwnPropertyNames(t))r[n]=E$(e,y$(t[n]),a);return r}(e,t.properties,a)}var O$=V(()=>{nI(),w$(),$$()});function k$(e,t){return e.map(e=>T$(e,t))}function S$(e,t){return mI(function(e){return e.filter(e=>!iP(e))}(k$(e,t)))}function A$(e,t){return vN(function(e){return e.some(e=>iP(e))?[]:e}(k$(e,t)))}function T$(e,t){return JE(e)?S$(e.allOf,t):wP(e)?A$(e.anyOf,t):bP(e)?function(e,t){return t in e?e[t]:"[number]"===t?vN(e):tN()}(e.items??[],t):qE(e)?function(e,t){return"[number]"===t?e:tN()}(e.items,t):cP(e)?function(e,t){return t in e?e[t]:tN()}(e.properties,t):tN()}function _$(e,t){return t.map(t=>T$(e,t))}function C$(e,t){return vN(_$(e,t))}function E$(e,t,a){if(pP(e)||pP(t)){if(!xP(e)||!xP(t))throw new EE("Index types using Ref parameters require both Type and Key to be of TSchema");return GM("Index",[e,t])}return oP(t)?function(e,t,a){return oN(x$(e,t,a))}(e,t,a):nP(t)?function(e,t,a){return oN(function(e,t,a){return function(e,t,a){return t.reduce((t,r)=>({...t,...M$(e,r,a)}),{})}(e,t.keys,a)}(e,t,a))}(e,t,a):CE(xP(t)?C$(e,y$(t)):C$(e,t),a)}var P$=V(()=>{RE(),BE(),YM(),rN(),yI(),ON(),w$(),N$(),O$(),OP()});function M$(e,t,a){return{[t]:E$(e,[t],eE(a))}}var N$=V(()=>{P$(),nI(),tE()}),$$=V(()=>{N$(),O$(),w$(),P$()});function I$(e,t){return CE({[IE]:"Iterator",type:"Iterator",items:e},t)}var R$=V(()=>{RE(),UE()}),D$=V(()=>{R$()});function L$(e,t){let a=function(e){let t=[];for(let a in e)HE(e[a])||t.push(a);return t}(e);return CE(a.length>0?{[IE]:"Object",type:"object",properties:e,required:a}:{[IE]:"Object",type:"object",properties:e},t)}var B$,j$=V(()=>{RE(),UE(),OP(),B$=L$}),U$=V(()=>{j$()});function z$(e,t){return CE({[IE]:"Promise",type:"Promise",item:e},t)}var H$=V(()=>{RE(),UE()}),Z$=V(()=>{H$()});function V$(e,t){return!1===t?function(e){return CE(KM(e,[ME]))}(e):function(e){return CE({...e,[ME]:"Readonly"})}(e)}function q$(e,t){let a=t??!0;return oP(e)?function(e,t){return oN(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=q$(e[r],t);return a}(e.properties,t)}(e,t))}(e,a):V$(e,a)}var Q$=V(()=>{RE(),UE(),eN(),F$(),OP()});var F$=V(()=>{nI(),Q$()}),W$=V(()=>{F$(),Q$()});function G$(e,t){return CE(e.length>0?{[IE]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[IE]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}var X$=V(()=>{RE(),UE()}),Y$=V(()=>{X$()});function K$(e,t){return e in t?tI(e,t[e]):oN(t)}function J$(e,t){return function(e,t){return e.includes(t)}(t,e)?function(e){return{[e]:HN(e)}}(e):function(e){let t={};for(let a of e)t[a]=HN(a);return t}(t)}function eI(e,t){return t.map(t=>tI(e,t))}function tI(e,t){let a={...t};return HE(t)?iI(tI(e,KM(t,[NE]))):zE(t)?q$(tI(e,KM(t,[ME]))):oP(t)?K$(e,t.properties):nP(t)?function(e,t){return K$(e,J$(e,t))}(e,t.keys):XE(t)?sN(eI(e,t.parameters),tI(e,t.returns),a):YE(t)?uN(eI(e,t.parameters),tI(e,t.returns),a):QE(t)?QM(tI(e,t.items),a):eP(t)?I$(tI(e,t.items),a):JE(t)?vI(eI(e,t.allOf),a):wP(t)?wN(eI(e,t.anyOf),a):bP(t)?G$(eI(e,t.items??[]),a):cP(t)?B$(function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(t))a[r]=tI(e,t[r]);return a}(e,t.properties),a):qE(t)?UM(tI(e,t.items),a):uP(t)?z$(tI(e,t.item),a):t}function aI(e,t,a){let r=xP(e)?y$(e):e;return B$(function(e,t){let a={};for(let r of e)a[r]=tI(r,t);return a}(r,t({[IE]:"MappedKey",keys:r})),a)}var rI=V(()=>{UE(),eN(),HM(),WM(),cN(),pN(),$$(),yI(),D$(),VN(),U$(),cI(),Z$(),W$(),Y$(),ON(),DM(),iN(),OP()}),nI=V(()=>{nN(),iN(),rI()});function oI(e,t){return!1===t?function(e){return CE(KM(e,[NE]))}(e):function(e){return CE({...e,[NE]:"Optional"})}(e)}function iI(e,t){let a=t??!0;return oP(e)?function(e,t){return oN(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=iI(e[r],t);return a}(e.properties,t)}(e,t))}(e,a):oI(e,a)}var sI=V(()=>{RE(),UE(),eN(),lI(),OP()});var lI=V(()=>{nI(),sI()}),cI=V(()=>{lI(),sI()});function uI(e,t={}){let a=e.every(e=>cP(e)),r=xP(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return CE(!1===t.unevaluatedProperties||xP(t.unevaluatedProperties)||a?{...r,[IE]:"Intersect",type:"object",allOf:e}:{...r,[IE]:"Intersect",allOf:e},t)}var dI=V(()=>{RE(),UE(),OP()});function pI(e){return e.map(e=>HE(e)?function(e){return KM(e,[NE])}(e):e)}function hI(e,t){return function(e){return e.every(e=>HE(e))}(e)?iI(uI(pI(e),t)):uI(pI(e),t)}function mI(e,t={}){if(1===e.length)return CE(e[0],t);if(0===e.length)return tN(t);if(e.some(e=>vP(e)))throw Error("Cannot intersect transform types");return hI(e,t)}var fI=V(()=>{UE(),RE(),eN(),rN(),cI(),dI(),OP()}),gI=V(()=>{});function vI(e,t){if(1===e.length)return CE(e[0],t);if(0===e.length)return tN(t);if(e.some(e=>vP(e)))throw Error("Cannot intersect transform types");return uI(e,t)}var bI=V(()=>{RE(),rN(),dI(),OP()}),yI=V(()=>{fI(),gI(),bI()});function wI(...e){let[t,a]="string"==typeof e[0]?[e[0],e[1]]:[e[0].$id,e[1]];if("string"!=typeof t)throw new EE("Ref: $ref must be a string");return CE({[IE]:"Ref",$ref:t},a)}var xI=V(()=>{BE(),RE(),UE()}),OI=V(()=>{xI()});function kI(e){return e.map(e=>SI(e))}function SI(e,t){return CE(GE(e)?function(e,t){return GM("Awaited",[GM(e,t)])}(e.target,e.parameters):JE(e)?function(e){return vI(kI(e))}(e.allOf):wP(e)?function(e){return wN(kI(e))}(e.anyOf):uP(e)?function(e){return SI(e)}(e.item):pP(e)?function(e){return GM("Awaited",[wI(e)])}(e.$ref):e,t)}var AI=V(()=>{RE(),YM(),yI(),ON(),OI(),OP()}),TI=V(()=>{AI()});function _I(e){let t=[];for(let a of e)t.push(CI(a));return t}function CI(e){return JE(e)?function(e){return function(e){let t=[];for(let a of e)t.push(...a);return t}(_I(e))}(e.allOf):wP(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]):[]}(_I(e))}(e.anyOf):bP(e)?function(e){return e.map((e,t)=>t.toString())}(e.items??[]):qE(e)?(e.items,["[number]"]):cP(e)?function(e){return globalThis.Object.getOwnPropertyNames(e)}(e.properties):dP(e)?function(e){return PI?globalThis.Object.getOwnPropertyNames(e).map(e=>"^"===e[0]&&"$"===e[e.length-1]?e.slice(1,e.length-1):e):[]}(e.patternProperties):[]}function EI(e){PI=!0;let t=CI(e);return PI=!1,`^(${t.map(e=>`(${e})`).join("|")})$`}var PI,MI=V(()=>{DM(),OP(),PI=!1});function NI(e,t){return CE(vN(function(e){return e.map(e=>"[number]"===e?YN():HN(e))}(CI(e))),t)}function $I(e,t){return GE(e)?function(e,t){return GM("KeyOf",[GM(e,t)])}(e.target,e.parameters):pP(e)?function(e){return GM("KeyOf",[wI(e)])}(e.$ref):oP(e)?function(e,t){return oN(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=$I(e[r],eE(t));return a}(e.properties,t)}(e,t))}(e,t):NI(e,t)}var II=V(()=>{RE(),VN(),JN(),YM(),OI(),MI(),ON(),RI(),OP()});var RI=V(()=>{nI(),II(),tE()}),DI=V(()=>{}),LI=V(()=>{RI(),DI(),MI(),II()});function BI(e){let t=[];for(let a of e)t.push(...CI(a));return function(e){return[...new Set(e)]}(t)}function jI(e,t){let a=[];for(let r of e)a.push(..._$(r,[t]));return function(e){return e.filter(e=>!iP(e))}(a)}function UI(e,t){return B$(function(e,t){let a={};for(let r of t)a[r]=mI(jI(e,r));return a}(e,BI(e)),t)}var zI=V(()=>{yI(),$$(),LI(),U$(),DM(),OP()}),HI=V(()=>{zI()});function ZI(e){return CE({[IE]:"Date",type:"Date"},e)}var VI=V(()=>{UE(),RE()}),qI=V(()=>{VI()});function QI(e){return CE({[IE]:"Null",type:"null"},e)}var FI=V(()=>{RE(),UE()}),WI=V(()=>{FI()});function GI(e){return CE({[IE]:"Symbol",type:"symbol"},e)}var XI=V(()=>{RE(),UE()}),YI=V(()=>{XI()});function KI(e){return CE({[IE]:"Undefined",type:"undefined"},e)}var JI=V(()=>{RE(),UE()}),eR=V(()=>{JI()});function tR(e){return CE({[IE]:"Uint8Array",type:"Uint8Array"},e)}var aR=V(()=>{RE(),UE()}),rR=V(()=>{aR()});function nR(e){return CE({[IE]:"Unknown"},e)}var oR=V(()=>{RE(),UE()}),iR=V(()=>{oR()});function sR(e,t){return!0===t?e:q$(e)}function lR(e,t){return function(e){return FC(e)&&!HC(e)&&!XC(e)&&Symbol.asyncIterator in e}(e)||function(e){return FC(e)&&!HC(e)&&!XC(e)&&Symbol.iterator in e}(e)?sR(LM(),t):HC(e)?q$(G$(function(e){return e.map(e=>lR(e,!1))}(e))):XC(e)?tR():qC(e)?ZI():FC(e)?sR(B$(function(e){let t={};for(let a of globalThis.Object.getOwnPropertyNames(e))t[a]=q$(lR(e[a],!1));return t}(e)),t):function(e){return"function"==typeof e}(e)?sR(uN([],nR()),t):YC(e)?KI():function(e){return null===e}(e)?QI():function(e){return"symbol"==typeof e}(e)?GI():ZC(e)?WN():QC(e)||VC(e)||GC(e)?HN(e):B$({})}function cR(e,t){return CE(lR(e,!0),t)}var uR=V(()=>{jM(),XN(),qI(),pN(),VN(),WI(),U$(),YI(),Y$(),W$(),eR(),rR(),iR(),DE(),KC()}),dR=V(()=>{uR()});function pR(e,t){return XE(e)?G$(e.parameters,t):tN(t)}var hR=V(()=>{Y$(),rN(),OP()}),mR=V(()=>{hR()});function fR(e,t){if(YC(e))throw Error("Enum undefined or empty");let a=globalThis.Object.getOwnPropertyNames(e).filter(e=>isNaN(e)).map(t=>e[t]);return wN([...new Set(a)].map(e=>HN(e)),{...t,[$E]:"Enum"})}var gR=V(()=>{VN(),UE(),ON(),KC()}),vR=V(()=>{gR()});function bR(e){return e===XR.False?e:XR.True}function yR(e){throw new GR(e)}function wR(e){return GP(e)||HP(e)||lM(e)||uM(e)||NP(e)}function xR(e,t){return GP(t)?TR(e,t):HP(t)?AR(e,t):lM(t)?VR(e,t):uM(t)?qR(e,t):NP(t)?OR(e,t):yR("StructuralRight")}function OR(e,t){return XR.True}function kR(e,t){return FP(e)||DP(e)?XR.True:XR.False}function SR(e,t){return WP(e)&&QC(e.const)||KP(e)||UP(e)?XR.True:XR.False}function AR(e,t){return t.allOf.every(t=>FR(e,t)===XR.True)?XR.True:XR.False}function TR(e,t){return XR.False}function _R(e){let[t,a]=[e,0];for(;XP(t);)t=t.not,a+=1;return a%2==0?t:nR()}function CR(e,t){return QP(e)||KP(e)||UP(e)?XR.True:XR.False}function ER(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function PR(e){return IR(e)}function MR(e){return ER(e,0)||ER(e,1)&&"description"in e.properties&&lM(e.properties.description)&&2===e.properties.description.anyOf.length&&(rM(e.properties.description.anyOf[0])&&sM(e.properties.description.anyOf[1])||rM(e.properties.description.anyOf[1])&&sM(e.properties.description.anyOf[0]))}function NR(e){return ER(e,0)}function $R(e){return ER(e,0)}function IR(e){let t=YN();return ER(e,0)||ER(e,1)&&"length"in e.properties&&bR(FR(e.properties.length,t))===XR.True}function RR(e,t){return FR(e,t)===XR.False||MP(e)&&!MP(t)?XR.False:XR.True}function DR(e,t){return uM(e)?XR.False:NP(e)?XR.Union:GP(e)||qP(e)&&PR(t)||QP(e)&&NR(t)||FP(e)&&$R(t)||nM(e)&&MR(t)||RP(e)&&function(e){return ER(e,0)}(t)||rM(e)&&PR(t)||nM(e)&&MR(t)||KP(e)&&NR(t)||UP(e)&&NR(t)||DP(e)&&$R(t)||cM(e)&&function(e){return IR(e)}(t)||BP(e)&&function(e){return ER(e,0)}(t)||LP(e)&&function(e){return ER(e,0)}(t)||jP(e)&&function(e){let t=YN();return ER(e,0)||ER(e,1)&&"length"in e.properties&&bR(FR(e.properties.length,t))===XR.True}(t)?XR.True:tM(e)&&rM(BR(e))?"Record"===t[$E]?XR.True:XR.False:tM(e)&&KP(BR(e))&&ER(t,0)?XR.True:XR.False}function LR(e,t){return wR(t)?xR(e,t):JP(t)&&function(e){let t=uN([LM()],LM());return ER(e,0)||ER(e,1)&&"then"in e.properties&&bR(FR(e.properties.then,t))===XR.True}(t)?XR.True:eM(t)?bR(FR(e.item,t.item)):XR.False}function BR(e){return vM in e.patternProperties?YN():bM in e.patternProperties?e$():yR("Unknown record key pattern")}function jR(e){return vM in e.patternProperties?e.patternProperties[vM]:bM in e.patternProperties?e.patternProperties[bM]:yR("Unable to get record value schema")}function UR(e,t){let[a,r]=[BR(t),jR(t)];return qP(e)&&KP(a)&&bR(FR(e,r))===XR.True?XR.True:cM(e)&&KP(a)||rM(e)&&KP(a)||$P(e)&&KP(a)?FR(e,r):JP(e)?(()=>{for(let t of Object.getOwnPropertyNames(e.properties))if(RR(r,e.properties[t])===XR.False)return XR.False;return XR.True})():XR.False}function zR(e,t){return WP(e)&&GC(e.const)||rM(e)?XR.True:XR.False}function HR(e,t){return wR(t)?xR(e,t):JP(t)&&IR(t)||$P(t)&&function(e,t){return $P(t)&&void 0!==e.items&&e.items.every(e=>FR(e,t.items)===XR.True)}(e,t)?XR.True:iM(t)?YC(e.items)&&!YC(t.items)||!YC(e.items)&&YC(t.items)?XR.False:YC(e.items)&&!YC(t.items)||e.items.every((e,a)=>FR(e,t.items[a])===XR.True)?XR.True:XR.False:XR.False}function ZR(e,t){return wR(t)?xR(e,t):JP(t)?DR(e,t):tM(t)?UR(e,t):dM(t)?function(e){return sM(e)||sM(e)?XR.True:XR.False}(e):sM(t)?XR.True:XR.False}function VR(e,t){return t.anyOf.some(t=>FR(e,t)===XR.True)?XR.True:XR.False}function qR(e,t){return XR.True}function QR(e,t){return GP(t)?TR():HP(t)?AR(e,t):lM(t)?VR(e,t):NP(t)?OR():rM(t)?zR(e):KP(t)?CR(e):UP(t)?SR(e):DP(t)?kR(e):$P(t)?function(e){return uM(e)?XR.False:NP(e)?XR.Union:GP(e)?XR.True:XR.False}(e):iM(t)?function(e){return GP(e)?XR.True:uM(e)?XR.False:NP(e)?XR.Union:XR.False}(e):JP(t)?DR(e,t):uM(t)?XR.True:XR.False}function FR(e,t){return oM(e)||oM(t)?function(e,t){return oM(e)?FR(d$(e),t):oM(t)?FR(e,d$(t)):yR("Invalid fallthrough for TemplateLiteral")}(e,t):aM(e)||aM(t)?function(e,t){return FR(aM(e)?e$():e,aM(t)?e$():t)}(e,t):XP(e)||XP(t)?function(e,t){return XP(e)?FR(_R(e),t):XP(t)?FR(e,_R(t)):yR("Invalid fallthrough for Not")}(e,t):NP(e)?function(e,t){return HP(t)?AR(e,t):lM(t)&&t.anyOf.some(e=>NP(e)||uM(e))?XR.True:lM(t)?XR.Union:uM(t)||NP(t)?XR.True:XR.Union}(e,t):$P(e)?function(e,t){return JP(t)&&IR(t)?XR.True:wR(t)?xR(e,t):$P(t)?bR(FR(e.items,t.items)):XR.False}(e,t):RP(e)?function(e,t){return wR(t)?xR(e,t):JP(t)?DR(e,t):tM(t)?UR(e,t):RP(t)?XR.True:XR.False}(e,t):DP(e)?function(e,t){return wR(t)?xR(e,t):JP(t)?DR(e,t):tM(t)?UR(e,t):DP(t)?XR.True:XR.False}(e,t):IP(e)?function(e,t){return wR(t)?xR(e,t):IP(t)?bR(FR(e.items,t.items)):XR.False}(e,t):LP(e)?function(e,t){return wR(t)?xR(e,t):JP(t)?DR(e,t):LP(t)?e.parameters.length>t.parameters.length?XR.False:e.parameters.every((e,a)=>bR(FR(t.parameters[a],e))===XR.True)?bR(FR(e.returns,t.returns)):XR.False:XR.False}(e,t):BP(e)?function(e,t){return wR(t)?xR(e,t):JP(t)?DR(e,t):tM(t)?UR(e,t):BP(t)?XR.True:XR.False}(e,t):jP(e)?function(e,t){return wR(t)?xR(e,t):JP(t)?DR(e,t):jP(t)?e.parameters.length>t.parameters.length?XR.False:e.parameters.every((e,a)=>bR(FR(t.parameters[a],e))===XR.True)?bR(FR(e.returns,t.returns)):XR.False:XR.False}(e,t):UP(e)?function(e,t){return UP(t)||KP(t)?XR.True:wR(t)?xR(e,t):JP(t)?DR(e,t):tM(t)?UR(e,t):XR.False}(e,t):HP(e)?function(e,t){return e.allOf.some(e=>FR(e,t)===XR.True)?XR.True:XR.False}(e,t):ZP(e)?function(e,t){return wR(t)?xR(e,t):ZP(t)?bR(FR(e.items,t.items)):XR.False}(e,t):WP(e)?function(e,t){return WP(t)&&t.const===e.const?XR.True:wR(t)?xR(e,t):JP(t)?DR(e,t):tM(t)?UR(e,t):rM(t)?zR(e):KP(t)?CR(e):UP(t)?SR(e):DP(t)?kR(e):XR.False}(e,t):GP(e)?XR.True:YP(e)?function(e,t){return wR(t)?xR(e,t):JP(t)?DR(e,t):tM(t)?UR(e,t):YP(t)?XR.True:XR.False}(e,t):KP(e)?function(e,t){return wR(t)?xR(e,t):JP(t)?DR(e,t):tM(t)?UR(e,t):UP(t)||KP(t)?XR.True:XR.False}(e,t):JP(e)?function(e,t){return wR(t)?xR(e,t):tM(t)?UR(e,t):JP(t)?(()=>{for(let a of Object.getOwnPropertyNames(t.properties)){if(!(a in e.properties)&&!MP(t.properties[a]))return XR.False;if(MP(t.properties[a]))return XR.True;if(RR(e.properties[a],t.properties[a])===XR.False)return XR.False}return XR.True})():XR.False}(e,t):tM(e)?function(e,t){return wR(t)?xR(e,t):JP(t)?DR(e,t):tM(t)?FR(jR(e),jR(t)):XR.False}(e,t):rM(e)?function(e,t){return wR(t)?xR(e,t):JP(t)?DR(e,t):tM(t)?UR(e,t):rM(t)?XR.True:XR.False}(e,t):nM(e)?function(e,t){return wR(t)?xR(e,t):JP(t)?DR(e,t):tM(t)?UR(e,t):nM(t)?XR.True:XR.False}(e,t):iM(e)?HR(e,t):eM(e)?LR(e,t):cM(e)?function(e,t){return wR(t)?xR(e,t):JP(t)?DR(e,t):tM(t)?UR(e,t):cM(t)?XR.True:XR.False}(e,t):sM(e)?ZR(e,t):lM(e)?function(e,t){return e.anyOf.every(e=>FR(e,t)===XR.True)?XR.True:XR.False}(e,t):uM(e)?QR(e,t):dM(e)?function(e,t){return HP(t)?AR(e,t):lM(t)?VR(e,t):uM(t)?qR():NP(t)?OR():JP(t)?DR(e,t):dM(t)?XR.True:XR.False}(e,t):yR(`Unknown left type operand '${e[IE]}'`)}function WR(e,t){return FR(e,t)}var GR,XR,YR=V(()=>{jM(),pN(),JN(),a$(),iR(),f$(),AM(),UE(),BE(),xM(),GR=class extends EE{},function(e){e[e.Union=0]="Union",e[e.True=1]="True",e[e.False=2]="False"}(XR||={})});function KR(e,t,a,r,n){return function(e,t,a,r,n){let o={};for(let i of globalThis.Object.getOwnPropertyNames(e))o[i]=eD(e[i],t,a,r,eE(n));return o}(e.properties,t,a,r,n)}var JR=V(()=>{nI(),tD(),tE()});function eD(e,t,a,r,n){return oP(e)?function(e,t,a,r,n){return oN(KR(e,t,a,r,n))}(e,t,a,r,n):nP(e)?CE(function(e,t,a,r,n){return oN(function(e,t,a,r,n){return function(e,t,a,r,n){return e.reduce((e,o)=>({...e,...aD(o,t,a,r,n)}),{})}(e.keys,t,a,r,n)}(e,t,a,r,n))}(e,t,a,r,n)):CE(function(e,t,a,r){let n=WR(e,t);return n===XR.Union?wN([a,r]):n===XR.True?a:r}(e,t,a,r),n)}var tD=V(()=>{RE(),ON(),YR(),rD(),JR(),OP()});function aD(e,t,a,r,n){return{[e]:eD(HN(e),t,a,r,eE(n))}}var rD=V(()=>{nI(),VN(),tD(),tE()});function nD(e){return"Intersect"===e[IE]?function(e){return e.allOf.every(e=>nD(e))}(e):"Union"===e[IE]?function(e){return e.anyOf.some(e=>nD(e))}(e):"Not"===e[IE]?function(e){return!nD(e.not)}(e):"Undefined"===e[IE]}var oD=V(()=>{UE()}),iD=V(()=>{YR(),rD(),JR(),oD(),tD()});var sD=V(()=>{cD(),f$()});function lD(e,t,a={}){return gP(e)?CE(function(e,t){return lD(d$(e),t)}(e,t),a):oP(e)?CE(function(e,t){return oN(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=lD(e[r],t);return a}(e.properties,t)}(e,t))}(e,t),a):CE(wP(e)?function(e,t){let a=e.filter(e=>WR(e,t)===XR.False);return 1===a.length?a[0]:wN(a)}(e.anyOf,t):WR(e,t)===XR.False?e:tN(),a)}var cD=V(()=>{RE(),ON(),rN(),iD(),uD(),sD(),OP()});var uD=V(()=>{nI(),cD()}),dD=V(()=>{uD(),sD(),cD()});var pD=V(()=>{mD(),f$()});function hD(e,t,a){return gP(e)?CE(function(e,t){return hD(d$(e),t)}(e,t),a):oP(e)?CE(function(e,t){return oN(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=hD(e[r],t);return a}(e.properties,t)}(e,t))}(e,t),a):CE(wP(e)?function(e,t){let a=e.filter(e=>WR(e,t)!==XR.False);return 1===a.length?a[0]:wN(a)}(e.anyOf,t):WR(e,t)===XR.False?tN():e,a)}var mD=V(()=>{RE(),ON(),rN(),iD(),fD(),pD(),OP()});var fD=V(()=>{nI(),mD()}),gD=V(()=>{fD(),pD(),mD()});function vD(e,t){return XE(e)?CE(e.returns,t):tN(t)}var bD=V(()=>{RE(),rN(),OP()}),yD=V(()=>{bD()});function wD(e){return q$(iI(e))}var xD=V(()=>{W$(),cI()}),OD=V(()=>{xD()});function kD(e,t,a){return CE({[IE]:"Record",type:"object",patternProperties:{[e]:t}},a)}function SD(e,t,a){let r={};for(let a of e)r[a]=t;return B$(r,{...a,[$E]:"Record"})}function AD(e,t,a={}){return wP(e)?function(e,t,a){return SD(y$(wN(e)),t,a)}(e.anyOf,t,a):gP(e)?function(e,t,a){return $N(e)?SD(y$(e),t,a):kD(e.pattern,t,a)}(e,t,a):rP(e)?function(e,t,a){return SD([e.toString()],t,a)}(e.const,t,a):WE(e)?function(e,t,a){return B$({true:t,false:t},a)}(0,t,a):KE(e)||lP(e)?function(e,t,a){return kD(vM,t,a)}(0,t,a):hP(e)?function(e,t,a){return kD(e.source,t,a)}(e,t,a):mP(e)?function(e,t,a){return kD(YC(e.pattern)?bM:e.pattern,t,a)}(e,t,a):ZE(e)?function(e,t,a){return kD(bM,t,a)}(0,t,a):iP(e)?function(e,t,a){return kD(yM,t,a)}(0,t,a):tN(a)}function TD(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function _D(e){return e.patternProperties[TD(e)]}var CD=V(()=>{RE(),UE(),rN(),JN(),U$(),a$(),ON(),f$(),AM(),$$(),KC(),OP()}),ED=V(()=>{CD()});function PD(e,t){let a=function(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((a,r)=>({...a,[r]:ND(e,t[r])}),{})}(e,t.properties);return{...t,...B$(a)}}function MD(e,t){let a=AD(ID(e,function(e){let t=TD(e);return t===bM?e$():t===vM?YN():e$({pattern:t})}(t)),ID(e,_D(t)));return{...t,...a}}function ND(e,t){let a=zE(t),r=HE(t),n=ID(e,t);return a&&r?wD(n):a&&!r?q$(n):!a&&r?iI(n):n}function $D(e,t){return t.map(t=>ID(e,t))}function ID(e,t){return XE(t)||YE(t)?function(e,t){return t.parameters=$D(e,t.parameters),t.returns=ID(e,t.returns),t}(e,t):JE(t)?function(e,t){return t.allOf=$D(e,t.allOf),t}(e,t):wP(t)?function(e,t){return t.anyOf=$D(e,t.anyOf),t}(e,t):bP(t)?function(e,t){return YC(t.items)||(t.items=$D(e,t.items)),t}(e,t):qE(t)||QE(t)||eP(t)?function(e,t){return t.items=ID(e,t.items),t}(e,t):uP(t)?function(e,t){return t.item=ID(e,t.item),t}(e,t):cP(t)?PD(e,t):dP(t)?MD(e,t):VE(t)?function(e,t){return t.index in e?e[t.index]:nR()}(e,t):t}function RD(e,t){return ID(t,aE(e))}var DD=V(()=>{rE(),iR(),OD(),W$(),cI(),U$(),ED(),KC(),OP()}),LD=V(()=>{DD()});function BD(e){return CE({[IE]:"Integer",type:"integer"},e)}var jD=V(()=>{RE(),UE()}),UD=V(()=>{jD()});function zD(e,t,a){return{[e]:QD(HN(e),t,eE(a))}}function HD(e,t,a){return function(e,t,a){return e.reduce((e,r)=>({...e,...zD(r,t,a)}),{})}(e.keys,t,a)}var ZD=V(()=>{nI(),FD(),VN(),tE()});function VD(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 qD(e,t){return e.map(e=>QD(e,t))}function QD(e,t,a={}){return nP(e)?function(e,t,a){return oN(HD(e,t,a))}(e,t,a):gP(e)?function(e,t,a){let r=EN(e.pattern);return NN(r)?h$([wN(qD([...BN(r)].map(e=>HN(e)),t))],a):{...e,pattern:VD(e.pattern,t)}}(e,t,a):wP(e)?wN(qD(e.anyOf,t),a):rP(e)?HN(VD(e.const,t),a):CE(e,a)}var FD=V(()=>{RE(),f$(),ZD(),VN(),ON(),OP()});function WD(e,t={}){return QD(e,"Capitalize",t)}var GD=V(()=>{FD()});function XD(e,t={}){return QD(e,"Lowercase",t)}var YD=V(()=>{FD()});function KD(e,t={}){return QD(e,"Uncapitalize",t)}var JD=V(()=>{FD()});function eL(e,t={}){return QD(e,"Uppercase",t)}var tL=V(()=>{FD()}),aL=V(()=>{GD(),ZD(),FD(),YD(),JD(),tL()});function rL(e,t,a){return function(e,t,a){let r={};for(let n of globalThis.Object.getOwnPropertyNames(e))r[n]=iL(e[n],t,eE(a));return r}(e.properties,t,a)}var nL=V(()=>{nI(),sL(),tE()});function oL(e,t){return JE(e)?vI(function(e,t){return e.map(e=>oL(e,t))}(e.allOf,t)):wP(e)?wN(function(e,t){return e.map(e=>oL(e,t))}(e.anyOf,t)):cP(e)?function(e,t){let a=KM(e,[PE,"$id","required","properties"]);return B$(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):B$({})}function iL(e,t,a){let r=HC(t)?function(e){return wN(e.reduce((e,t)=>aP(t)?[...e,HN(t)]:e,[]))}(t):t,n=xP(t)?y$(t):t,o=pP(e),i=pP(t);return oP(e)?function(e,t,a){return oN(rL(e,t,a))}(e,n,a):nP(t)?function(e,t,a){return oN(function(e,t,a){return function(e,t,a){return t.reduce((t,r)=>({...t,...lL(e,r,a)}),{})}(e,t.keys,a)}(e,t,a))}(e,t,a):o&&i||!o&&i||o&&!i?GM("Omit",[e,r],a):CE({...oL(e,n),...a})}var sL=V(()=>{RE(),JM(),jE(),YM(),VN(),$$(),yI(),ON(),U$(),cL(),nL(),OP(),KC()});function lL(e,t,a){return{[t]:iL(e,[t],eE(a))}}var cL=V(()=>{nI(),sL(),tE()}),uL=V(()=>{cL(),nL(),sL()});function dL(e,t,a){return function(e,t,a){let r={};for(let n of globalThis.Object.getOwnPropertyNames(e))r[n]=mL(e[n],t,eE(a));return r}(e.properties,t,a)}var pL=V(()=>{nI(),fL(),tE()});function hL(e,t){return JE(e)?vI(function(e,t){return e.map(e=>hL(e,t))}(e.allOf,t)):wP(e)?wN(function(e,t){return e.map(e=>hL(e,t))}(e.anyOf,t)):cP(e)?function(e,t){let a=KM(e,[PE,"$id","required","properties"]);return B$(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):B$({})}function mL(e,t,a){let r=HC(t)?function(e){return wN(e.reduce((e,t)=>aP(t)?[...e,HN(t)]:e,[]))}(t):t,n=xP(t)?y$(t):t,o=pP(e),i=pP(t);return oP(e)?function(e,t,a){return oN(dL(e,t,a))}(e,n,a):nP(t)?function(e,t,a){return oN(function(e,t,a){return function(e,t,a){return t.reduce((t,r)=>({...t,...gL(e,r,a)}),{})}(e,t.keys,a)}(e,t,a))}(e,t,a):o&&i||!o&&i||o&&!i?GM("Pick",[e,r],a):CE({...hL(e,n),...a})}var fL=V(()=>{RE(),JM(),YM(),yI(),VN(),U$(),ON(),$$(),jE(),OP(),KC(),vL(),pL()});function gL(e,t,a){return{[t]:mL(e,[t],eE(a))}}var vL=V(()=>{nI(),fL(),tE()}),bL=V(()=>{vL(),pL(),fL()});function yL(e){let t=KM(e,[PE,"$id","required","properties"]);return B$(function(e){let t={};for(let a of globalThis.Object.getOwnPropertyNames(e))t[a]=iI(e[a]);return t}(e.properties),t)}function wL(e){return e.map(e=>xL(e))}function xL(e){return GE(e)?function(e,t){return GM("Partial",[GM(e,t)])}(e.target,e.parameters):pP(e)?function(e){return GM("Partial",[wI(e)])}(e.$ref):JE(e)?vI(wL(e.allOf)):wP(e)?wN(wL(e.anyOf)):cP(e)?yL(e):FE(e)||WE(e)||KE(e)||rP(e)||sP(e)||lP(e)||mP(e)||fP(e)||yP(e)?e:B$({})}function OL(e,t){return oP(e)?function(e,t){return oN(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=OL(e[r],eE(t));return a}(e.properties,t)}(e,t))}(e,t):CE({...xL(e),...t})}var kL=V(()=>{RE(),YM(),cI(),U$(),yI(),ON(),OI(),eN(),UE(),SL(),OP()});var SL=V(()=>{nI(),kL(),tE()}),AL=V(()=>{SL(),kL()});function TL(e){let t=KM(e,[PE,"$id","required","properties"]);return B$(function(e){let t={};for(let a of globalThis.Object.getOwnPropertyNames(e))t[a]=KM(e[a],[NE]);return t}(e.properties),t)}function _L(e){return e.map(e=>CL(e))}function CL(e){return GE(e)?function(e,t){return GM("Required",[GM(e,t)])}(e.target,e.parameters):pP(e)?function(e){return GM("Required",[wI(e)])}(e.$ref):JE(e)?vI(_L(e.allOf)):wP(e)?wN(_L(e.anyOf)):cP(e)?TL(e):FE(e)||WE(e)||KE(e)||rP(e)||sP(e)||lP(e)||mP(e)||fP(e)||yP(e)?e:B$({})}function EL(e,t){return oP(e)?function(e,t){return oN(function(e,t){return function(e,t){let a={};for(let r of globalThis.Object.getOwnPropertyNames(e))a[r]=EL(e[r],t);return a}(e.properties,t)}(e,t))}(e,t):CE({...CL(e),...t})}var PL=V(()=>{RE(),YM(),U$(),yI(),ON(),OI(),UE(),eN(),ML(),OP()});var ML=V(()=>{nI(),PL()}),NL=V(()=>{ML(),PL()});function $L(e,t){return t in e?pP(e[t])?$L(e,e[t].$ref):DL(e,e[t]):tN()}function IL(e,t,a){let r=function(e,t){return t.map(t=>pP(t)?$L(e,t.$ref):DL(e,t))}(e,a);return"Awaited"===t?function(e){return SI(e[0])}(r):"Index"===t?function(e){return E$(e[0],e[1])}(r):"KeyOf"===t?function(e){return $I(e[0])}(r):"Partial"===t?function(e){return OL(e[0])}(r):"Omit"===t?function(e){return iL(e[0],e[1])}(r):"Pick"===t?function(e){return mL(e[0],e[1])}(r):"Required"===t?function(e){return EL(e[0])}(r):tN()}function RL(e,t){return t.map(t=>DL(e,t))}function DL(e,t){return HE(t)?CE(DL(e,KM(t,[NE])),t):zE(t)?CE(DL(e,KM(t,[ME])),t):vP(t)?CE(function(e,t){return pP(t)?{...$L(e,t.$ref),[PE]:t[PE]}:t}(e,t),t):qE(t)?CE(function(e,t){return UM(DL(e,t))}(e,t.items),t):QE(t)?CE(function(e,t){return QM(DL(e,t))}(e,t.items),t):GE(t)?CE(IL(e,t.target,t.parameters)):XE(t)?CE(function(e,t,a){return sN(RL(e,t),DL(e,a))}(e,t.parameters,t.returns),t):YE(t)?CE(function(e,t,a){return uN(RL(e,t),DL(e,a))}(e,t.parameters,t.returns),t):JE(t)?CE(function(e,t){return vI(RL(e,t))}(e,t.allOf),t):eP(t)?CE(function(e,t){return I$(DL(e,t))}(e,t.items),t):cP(t)?CE(function(e,t){return B$(globalThis.Object.keys(t).reduce((a,r)=>({...a,[r]:DL(e,t[r])}),{}))}(e,t.properties),t):dP(t)?CE(function(e,t){let[a,r]=[DL(e,_D(t)),TD(t)],n=aE(t);return n.patternProperties[r]=a,n}(e,t)):bP(t)?CE(function(e,t){return G$(RL(e,t))}(e,t.items||[]),t):wP(t)?CE(function(e,t){return wN(RL(e,t))}(e,t.anyOf),t):t}function LL(e,t){return t in e?DL(e,e[t]):tN()}var BL=V(()=>{DE(),nE(),eN(),HM(),TI(),WM(),cN(),$$(),pN(),yI(),D$(),LI(),U$(),uL(),bL(),rN(),AL(),ED(),NL(),Y$(),ON(),UE(),OP()});function jL(e){return new UL(e)}var UL,zL=V(()=>{DE(),UE(),BL(),UL=class{constructor(e){let t=function(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,a)=>({...t,[a]:LL(e,a)}),{})}(e),a=this.WithIdentifiers(t);this.$defs=a}Import(e,t){let a={...this.$defs,[e]:CE(this.$defs[e],t)};return CE({[IE]:"Import",$defs:a,$ref:e})}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,a)=>({...t,[a]:{...e[a],$id:a}}),{})}}}),HL=V(()=>{zL()});function ZL(e,t){return CE({[IE]:"Not",not:e},t)}var VL=V(()=>{RE(),UE()}),qL=V(()=>{VL()});function QL(e,t){return YE(e)?G$(e.parameters,t):tN()}var FL=V(()=>{Y$(),rN(),OP()}),WL=V(()=>{FL()});function GL(e,t={}){YC(t.$id)&&(t.$id="T"+XL++);let a=aE(e({[IE]:"This",$ref:`${t.$id}`}));return a.$id=t.$id,CE({[$E]:"Recursive",...a},t)}var XL,YL=V(()=>{rE(),RE(),KC(),UE(),XL=0}),KL=V(()=>{YL()});function JL(e,t){let a=GC(e)?new globalThis.RegExp(e):e;return CE({[IE]:"RegExp",type:"RegExp",source:a.source,flags:a.flags},t)}var eB=V(()=>{RE(),KC(),UE()}),tB=V(()=>{eB()});function aB(e){return function(e){return JE(e)?e.allOf:wP(e)?e.anyOf:bP(e)?e.items??[]:[]}(e)}var rB=V(()=>{OP()}),nB=V(()=>{rB()});function oB(e,t){return YE(e)?CE(e.returns,t):tN(t)}var iB=V(()=>{RE(),rN(),OP()}),sB=V(()=>{iB()}),lB=V(()=>{}),cB=V(()=>{}),uB=V(()=>{lB(),cB()}),dB=V(()=>{}),pB=V(()=>{dB()});function hB(e){return new mB(e)}var mB,fB,gB=V(()=>{UE(),OP(),mB=class{constructor(e){this.schema=e}Decode(e){return new fB(this.schema,e)}},fB=class{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){let a={Encode:a=>t[PE].Encode(e(a)),Decode:e=>this.decode(t[PE].Decode(e))};return{...t,[PE]:a}}EncodeSchema(e,t){let a={Decode:this.decode,Encode:e};return{...t,[PE]:a}}Encode(e){return vP(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}}}),vB=V(()=>{gB()});function bB(e={}){return CE({[IE]:e[IE]??"Unsafe"},e)}var yB=V(()=>{RE(),UE()}),wB=V(()=>{yB()});function xB(e){return CE({[IE]:"Void",type:"void"},e)}var OB,kB,SB=V(()=>{RE(),UE()}),AB=V(()=>{SB()}),TB=q({Any:()=>LM,Argument:()=>ZM,Array:()=>UM,AsyncIterator:()=>QM,Awaited:()=>SI,BigInt:()=>WN,Boolean:()=>qN,Capitalize:()=>WD,Composite:()=>UI,Const:()=>cR,Constructor:()=>sN,ConstructorParameters:()=>pR,Date:()=>ZI,Enum:()=>fR,Exclude:()=>lD,Extends:()=>eD,Extract:()=>hD,Function:()=>uN,Index:()=>E$,InstanceType:()=>vD,Instantiate:()=>RD,Integer:()=>BD,Intersect:()=>vI,Iterator:()=>I$,KeyOf:()=>$I,Literal:()=>HN,Lowercase:()=>XD,Mapped:()=>aI,Module:()=>jL,Never:()=>tN,Not:()=>ZL,Null:()=>QI,Number:()=>YN,Object:()=>B$,Omit:()=>iL,Optional:()=>iI,Parameters:()=>QL,Partial:()=>OL,Pick:()=>mL,Promise:()=>z$,Readonly:()=>q$,ReadonlyOptional:()=>wD,Record:()=>AD,Recursive:()=>GL,Ref:()=>wI,RegExp:()=>JL,Required:()=>EL,Rest:()=>aB,ReturnType:()=>oB,String:()=>e$,Symbol:()=>GI,TemplateLiteral:()=>h$,Transform:()=>hB,Tuple:()=>G$,Uint8Array:()=>tR,Uncapitalize:()=>KD,Undefined:()=>KI,Union:()=>wN,Unknown:()=>nR,Unsafe:()=>bB,Uppercase:()=>eL,Void:()=>xB}),_B=V(()=>{jM(),qM(),HM(),WM(),TI(),XN(),FN(),HI(),dR(),cN(),mR(),qI(),vR(),dD(),iD(),gD(),pN(),$$(),yD(),LD(),UD(),yI(),aL(),D$(),LI(),VN(),nI(),HL(),rN(),qL(),WI(),JN(),U$(),uL(),cI(),WL(),AL(),bL(),Z$(),W$(),OD(),ED(),KL(),OI(),tB(),NL(),nB(),sB(),a$(),YI(),f$(),vB(),Y$(),rR(),eR(),ON(),iR(),wB(),AB()}),CB=V(()=>{jM(),HM(),FN(),HI(),dR(),vR(),dD(),iD(),gD(),$$(),UD(),yI(),aL(),LI(),VN(),nI(),rN(),qL(),WI(),HL(),JN(),U$(),uL(),cI(),AL(),bL(),W$(),OD(),ED(),KL(),OI(),NL(),nB(),a$(),f$(),vB(),Y$(),ON(),iR(),wB(),_B(),OB=TB}),EB=V(()=>{nE(),DE(),BE(),xM(),kM(),AM(),IM(),DM(),UE(),jM(),HM(),qM(),WM(),TI(),XN(),FN(),HI(),dR(),cN(),mR(),qI(),vR(),dD(),iD(),gD(),pN(),$$(),yD(),LD(),UD(),yI(),D$(),aL(),LI(),VN(),HL(),nI(),rN(),qL(),WI(),JN(),U$(),uL(),cI(),WL(),AL(),bL(),Z$(),W$(),OD(),ED(),KL(),OI(),tB(),NL(),nB(),sB(),uB(),pB(),a$(),YI(),f$(),vB(),Y$(),rR(),eR(),ON(),iR(),wB(),AB(),CB()}),PB=V(()=>{EB(),kB=(...e)=>OB.Composite(e)}),MB=V(()=>{}),NB=V(()=>{AE(),MB()});function $B(e){switch(e.errorType){case mj.ArrayContains:return"Expected array to contain at least one matching value";case mj.ArrayMaxContains:return`Expected array to contain no more than ${e.schema.maxContains} matching values`;case mj.ArrayMinContains:return`Expected array to contain at least ${e.schema.minContains} matching values`;case mj.ArrayMaxItems:return`Expected array length to be less or equal to ${e.schema.maxItems}`;case mj.ArrayMinItems:return`Expected array length to be greater or equal to ${e.schema.minItems}`;case mj.ArrayUniqueItems:return"Expected array elements to be unique";case mj.Array:return"Expected array";case mj.AsyncIterator:return"Expected AsyncIterator";case mj.BigIntExclusiveMaximum:return`Expected bigint to be less than ${e.schema.exclusiveMaximum}`;case mj.BigIntExclusiveMinimum:return`Expected bigint to be greater than ${e.schema.exclusiveMinimum}`;case mj.BigIntMaximum:return`Expected bigint to be less or equal to ${e.schema.maximum}`;case mj.BigIntMinimum:return`Expected bigint to be greater or equal to ${e.schema.minimum}`;case mj.BigIntMultipleOf:return`Expected bigint to be a multiple of ${e.schema.multipleOf}`;case mj.BigInt:return"Expected bigint";case mj.Boolean:return"Expected boolean";case mj.DateExclusiveMinimumTimestamp:return`Expected Date timestamp to be greater than ${e.schema.exclusiveMinimumTimestamp}`;case mj.DateExclusiveMaximumTimestamp:return`Expected Date timestamp to be less than ${e.schema.exclusiveMaximumTimestamp}`;case mj.DateMinimumTimestamp:return`Expected Date timestamp to be greater or equal to ${e.schema.minimumTimestamp}`;case mj.DateMaximumTimestamp:return`Expected Date timestamp to be less or equal to ${e.schema.maximumTimestamp}`;case mj.DateMultipleOfTimestamp:return`Expected Date timestamp to be a multiple of ${e.schema.multipleOfTimestamp}`;case mj.Date:return"Expected Date";case mj.Function:return"Expected function";case mj.IntegerExclusiveMaximum:return`Expected integer to be less than ${e.schema.exclusiveMaximum}`;case mj.IntegerExclusiveMinimum:return`Expected integer to be greater than ${e.schema.exclusiveMinimum}`;case mj.IntegerMaximum:return`Expected integer to be less or equal to ${e.schema.maximum}`;case mj.IntegerMinimum:return`Expected integer to be greater or equal to ${e.schema.minimum}`;case mj.IntegerMultipleOf:return`Expected integer to be a multiple of ${e.schema.multipleOf}`;case mj.Integer:return"Expected integer";case mj.IntersectUnevaluatedProperties:return"Unexpected property";case mj.Intersect:return"Expected all values to match";case mj.Iterator:return"Expected Iterator";case mj.Literal:return`Expected ${"string"==typeof e.schema.const?`'${e.schema.const}'`:e.schema.const}`;case mj.Never:return"Never";case mj.Not:return"Value should not match";case mj.Null:return"Expected null";case mj.NumberExclusiveMaximum:return`Expected number to be less than ${e.schema.exclusiveMaximum}`;case mj.NumberExclusiveMinimum:return`Expected number to be greater than ${e.schema.exclusiveMinimum}`;case mj.NumberMaximum:return`Expected number to be less or equal to ${e.schema.maximum}`;case mj.NumberMinimum:return`Expected number to be greater or equal to ${e.schema.minimum}`;case mj.NumberMultipleOf:return`Expected number to be a multiple of ${e.schema.multipleOf}`;case mj.Number:return"Expected number";case mj.Object:return"Expected object";case mj.ObjectAdditionalProperties:return"Unexpected property";case mj.ObjectMaxProperties:return`Expected object to have no more than ${e.schema.maxProperties} properties`;case mj.ObjectMinProperties:return`Expected object to have at least ${e.schema.minProperties} properties`;case mj.ObjectRequiredProperty:return"Expected required property";case mj.Promise:return"Expected Promise";case mj.RegExp:return"Expected string to match regular expression";case mj.StringFormatUnknown:return`Unknown format '${e.schema.format}'`;case mj.StringFormat:return`Expected string to match '${e.schema.format}' format`;case mj.StringMaxLength:return`Expected string length less or equal to ${e.schema.maxLength}`;case mj.StringMinLength:return`Expected string length greater or equal to ${e.schema.minLength}`;case mj.StringPattern:return`Expected string to match '${e.schema.pattern}'`;case mj.String:return"Expected string";case mj.Symbol:return"Expected symbol";case mj.TupleLength:return`Expected tuple to have ${e.schema.maxItems||0} elements`;case mj.Tuple:return"Expected tuple";case mj.Uint8ArrayMaxByteLength:return`Expected byte length less or equal to ${e.schema.maxByteLength}`;case mj.Uint8ArrayMinByteLength:return`Expected byte length greater or equal to ${e.schema.minByteLength}`;case mj.Uint8Array:return"Expected Uint8Array";case mj.Undefined:return"Expected undefined";case mj.Union:return"Expected union value";case mj.Void:return"Expected void";case mj.Kind:return`Expected kind '${e.schema[IE]}'`;default:return"Unknown error type"}}var IB,RB=V(()=>{UE(),vj(),IB=$B});function DB(e,t){return!yE(e.$id)||t.some(t=>t.$id===e.$id)||t.push(e),t}function LB(e,t){return"This"===e[IE]||"Ref"===e[IE]?function(e,t){let a=t.find(t=>t.$id===e.$ref);if(void 0===a)throw new BB(e);return LB(a,t)}(e,t):e}var BB,jB=V(()=>{BE(),UE(),kE(),BB=class extends EE{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`),this.schema=e}}}),UB=V(()=>{jB()});function*zB(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 HB(e){if(pE(e))return function(e){ZB(QB.Array);for(let t of e)HB(t)}(e);if(fE(e))return function(e){ZB(QB.Boolean),ZB(+!!e)}(e);if(bE(e))return function(e){ZB(QB.BigInt),KB.setBigInt64(0,e);for(let e of JB)ZB(e)}(e);if(lE(e))return function(e){ZB(QB.Date),HB(e.getTime())}(e);if(!mE(e)){if(gE(e))return function(e){ZB(QB.Number),KB.setFloat64(0,e);for(let e of JB)ZB(e)}(e);if(dE(e))return function(e){ZB(QB.Object);for(let t of globalThis.Object.getOwnPropertyNames(e).sort())HB(t),HB(e[t])}(e);if(yE(e))return function(e){ZB(QB.String);for(let t=0;t<e.length;t++)for(let a of zB(e.charCodeAt(t)))ZB(a)}(e);if(xE(e))return function(e){ZB(QB.Symbol),HB(e.description)}(e);if(cE(e))return function(e){ZB(QB.Uint8Array);for(let t=0;t<e.length;t++)ZB(e[t])}(e);if(hE(e))return ZB(QB.Undefined);throw new qB(e)}ZB(QB.Null)}function ZB(e){FB=(FB^=XB[e])*WB%GB}function VB(e){return FB=BigInt("14695981039346656037"),HB(e),FB}var qB,QB,FB,WB,GB,XB,YB,KB,JB,ej=V(()=>{SE(),BE(),qB=class extends EE{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"}(QB||={}),FB=BigInt("14695981039346656037"),[WB,GB]=[BigInt("1099511628211"),BigInt("18446744073709551616")],XB=Array.from({length:256}).map((e,t)=>BigInt(t)),YB=new Float64Array(1),KB=new DataView(YB.buffer),JB=new Uint8Array(YB.buffer)}),tj=V(()=>{ej()});function aj(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 rj(e){return"Any"===e[IE]||"Unknown"===e[IE]}function nj(e){return void 0!==e}function oj(e,t,a,r){let n=nj(e.$id)?DB(e,t):t,o=e;switch(o[IE]){case"Any":case"Argument":case"Unknown":return!0;case"Array":return function(e,t,a,r){if(!pE(a)||nj(e.minItems)&&!(a.length>=e.minItems)||nj(e.maxItems)&&!(a.length<=e.maxItems))return!1;if(!1===aj(r,a,e))return!0;if(!a.every(a=>oj(e.items,t,a,r))||!0===e.uniqueItems&&!function(){let e=new Set;for(let t of a){let a=VB(t);if(e.has(a))return!1;e.add(a)}return!0}())return!1;if(!(nj(e.contains)||gE(e.minContains)||gE(e.maxContains)))return!0;let n=nj(e.contains)?e.contains:tN(),o=a.reduce((e,a)=>oj(n,t,a,r)?e+1:e,0);return!(0===o||gE(e.minContains)&&o<e.minContains||gE(e.maxContains)&&o>e.maxContains)}(o,n,a,r);case"AsyncIterator":return function(e,t,a){return oE(a)}(0,0,a);case"BigInt":return function(e,t,a){return!(!bE(a)||nj(e.exclusiveMaximum)&&!(a<e.exclusiveMaximum)||nj(e.exclusiveMinimum)&&!(a>e.exclusiveMinimum)||nj(e.maximum)&&!(a<=e.maximum)||nj(e.minimum)&&!(a>=e.minimum)||nj(e.multipleOf)&&a%e.multipleOf!==BigInt(0))}(o,0,a);case"Boolean":return function(e,t,a){return fE(a)}(0,0,a);case"Constructor":return function(e,t,a,r){return oj(e.returns,t,a.prototype,r)}(o,n,a,r);case"Date":return function(e,t,a){return!(!lE(a)||nj(e.exclusiveMaximumTimestamp)&&!(a.getTime()<e.exclusiveMaximumTimestamp)||nj(e.exclusiveMinimumTimestamp)&&!(a.getTime()>e.exclusiveMinimumTimestamp)||nj(e.maximumTimestamp)&&!(a.getTime()<=e.maximumTimestamp)||nj(e.minimumTimestamp)&&!(a.getTime()>=e.minimumTimestamp)||nj(e.multipleOfTimestamp)&&a.getTime()%e.multipleOfTimestamp!==0)}(o,0,a);case"Function":return function(e,t,a){return wE(a)}(0,0,a);case"Import":return function(e,t,a,r){let n=globalThis.Object.values(e.$defs);return oj(e.$defs[e.$ref],[...t,...n],a,r)}(o,n,a,r);case"Integer":return function(e,t,a){return!(!vE(a)||nj(e.exclusiveMaximum)&&!(a<e.exclusiveMaximum)||nj(e.exclusiveMinimum)&&!(a>e.exclusiveMinimum)||nj(e.maximum)&&!(a<=e.maximum)||nj(e.minimum)&&!(a>=e.minimum)||nj(e.multipleOf)&&a%e.multipleOf!==0)}(o,0,a);case"Intersect":return function(e,t,a,r){let n=e.allOf.every(e=>oj(e,t,a,r));if(!1===e.unevaluatedProperties){let t=new RegExp(EI(e)),r=Object.getOwnPropertyNames(a).every(e=>t.test(e));return n&&r}if(xP(e.unevaluatedProperties)){let o=new RegExp(EI(e)),i=Object.getOwnPropertyNames(a).every(n=>o.test(n)||oj(e.unevaluatedProperties,t,a[n],r));return n&&i}return n}(o,n,a,r);case"Iterator":return function(e,t,a){return iE(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!oj(e.not,t,a,r)}(o,n,a,r);case"Null":return function(e,t,a){return mE(a)}(0,0,a);case"Number":return function(e,t,a){return!(!OE.IsNumberLike(a)||nj(e.exclusiveMaximum)&&!(a<e.exclusiveMaximum)||nj(e.exclusiveMinimum)&&!(a>e.exclusiveMinimum)||nj(e.minimum)&&!(a>=e.minimum)||nj(e.maximum)&&!(a<=e.maximum)||nj(e.multipleOf)&&a%e.multipleOf!==0)}(o,0,a);case"Object":return function(e,t,a,r){if(!OE.IsObjectLike(a)||nj(e.minProperties)&&!(Object.getOwnPropertyNames(a).length>=e.minProperties)||nj(e.maxProperties)&&!(Object.getOwnPropertyNames(a).length<=e.maxProperties))return!1;if(!1===aj(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(!oj(n,t,a[o],r)||(nD(n)||rj(n))&&!(o in a))return!1}else if(OE.IsExactOptionalProperty(a,o)&&!oj(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)||oj(e.additionalProperties,t,a[o],r))}(o,n,a,r);case"Promise":return function(e,t,a){return sE(a)}(0,0,a);case"Record":return function(e,t,a,r){if(!OE.IsRecordLike(a)||nj(e.minProperties)&&!(Object.getOwnPropertyNames(a).length>=e.minProperties)||nj(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)||oj(o,t,a,r)),l="object"!=typeof e.additionalProperties||Object.entries(a).every(([a,n])=>!!i.test(a)||oj(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 oj(LB(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(!nj(e.minLength)||a.length>=e.minLength)&&(!nj(e.maxLength)||a.length<=e.maxLength)&&r.test(a)}(o,0,a);case"String":return function(e,t,a){return!(!yE(a)||nj(e.minLength)&&!(a.length>=e.minLength)||nj(e.maxLength)&&!(a.length<=e.maxLength)||nj(e.pattern)&&!new RegExp(e.pattern).test(a))&&(!nj(e.format)||!!TM(e.format)&&_M(e.format)(a))}(o,0,a);case"Symbol":return function(e,t,a){return xE(a)}(0,0,a);case"TemplateLiteral":return function(e,t,a){return yE(a)&&new RegExp(e.pattern).test(a)}(o,0,a);case"Tuple":return function(e,t,a,r){if(!pE(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(!oj(e.items[n],t,a[n],r))return!1;return!0}(o,n,a,r);case"Undefined":return function(e,t,a){return hE(a)}(0,0,a);case"Union":return function(e,t,a,r){return e.anyOf.some(e=>oj(e,t,a,r))}(o,n,a,r);case"Uint8Array":return function(e,t,a){return!(!cE(a)||nj(e.maxByteLength)&&!(a.length<=e.maxByteLength)||nj(e.minByteLength)&&!(a.length>=e.minByteLength))}(o,0,a);case"Void":return function(e,t,a){return OE.IsVoidLike(a)}(0,0,a);default:if(!PM(o[IE]))throw new sj(o);return function(e,t,a){return!!PM(e[IE])&&MM(e[IE])(e,a)}(o,0,a)}}function ij(...e){return 2===e.length||3===e.length&&e[2]instanceof WeakMap?oj(e[0],[],e[1],e[2]??new WeakMap):oj(e[0],e[1],e[2],e[3]??new WeakMap)}var sj,lj=V(()=>{NB(),UB(),tj(),UE(),LI(),iD(),IM(),BE(),rN(),SE(),OP(),sj=class extends EE{constructor(e){super("Unknown type"),this.schema=e}}}),cj=V(()=>{lj()});function uj(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function dj(e){return void 0!==e}function pj(e,t,a,r,n=[]){return{type:e,schema:t,path:a,value:r,message:IB({errorType:e,path:a,schema:t,value:r,errors:n}),errors:n}}function*hj(e,t,a,r){let n=dj(e.$id)?[...t,e]:t,o=e;switch(o[IE]){case"Any":case"Argument":case"Unknown":return yield*function*(){}();case"Array":return yield*function*(e,t,a,r){if(!pE(r))return yield pj(mj.Array,e,a,r);dj(e.minItems)&&!(r.length>=e.minItems)&&(yield pj(mj.ArrayMinItems,e,a,r)),dj(e.maxItems)&&!(r.length<=e.maxItems)&&(yield pj(mj.ArrayMaxItems,e,a,r));for(let n=0;n<r.length;n++)yield*hj(e.items,t,`${a}/${n}`,r[n]);if(!0===e.uniqueItems&&!function(){let e=new Set;for(let t of r){let a=VB(t);if(e.has(a))return!1;e.add(a)}return!0}()&&(yield pj(mj.ArrayUniqueItems,e,a,r)),!(dj(e.contains)||dj(e.minContains)||dj(e.maxContains)))return;let n=dj(e.contains)?e.contains:tN(),o=r.reduce((e,r,o)=>!0===hj(n,t,`${a}${o}`,r).next().done?e+1:e,0);0===o&&(yield pj(mj.ArrayContains,e,a,r)),gE(e.minContains)&&o<e.minContains&&(yield pj(mj.ArrayMinContains,e,a,r)),gE(e.maxContains)&&o>e.maxContains&&(yield pj(mj.ArrayMaxContains,e,a,r))}(o,n,a,r);case"AsyncIterator":return yield*function*(e,t,a,r){oE(r)||(yield pj(mj.AsyncIterator,e,a,r))}(o,0,a,r);case"BigInt":return yield*function*(e,t,a,r){if(!bE(r))return yield pj(mj.BigInt,e,a,r);dj(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield pj(mj.BigIntExclusiveMaximum,e,a,r)),dj(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield pj(mj.BigIntExclusiveMinimum,e,a,r)),dj(e.maximum)&&!(r<=e.maximum)&&(yield pj(mj.BigIntMaximum,e,a,r)),dj(e.minimum)&&!(r>=e.minimum)&&(yield pj(mj.BigIntMinimum,e,a,r)),dj(e.multipleOf)&&r%e.multipleOf!==BigInt(0)&&(yield pj(mj.BigIntMultipleOf,e,a,r))}(o,0,a,r);case"Boolean":return yield*function*(e,t,a,r){fE(r)||(yield pj(mj.Boolean,e,a,r))}(o,0,a,r);case"Constructor":return yield*function*(e,t,a,r){yield*hj(e.returns,t,a,r.prototype)}(o,n,a,r);case"Date":return yield*function*(e,t,a,r){if(!lE(r))return yield pj(mj.Date,e,a,r);dj(e.exclusiveMaximumTimestamp)&&!(r.getTime()<e.exclusiveMaximumTimestamp)&&(yield pj(mj.DateExclusiveMaximumTimestamp,e,a,r)),dj(e.exclusiveMinimumTimestamp)&&!(r.getTime()>e.exclusiveMinimumTimestamp)&&(yield pj(mj.DateExclusiveMinimumTimestamp,e,a,r)),dj(e.maximumTimestamp)&&!(r.getTime()<=e.maximumTimestamp)&&(yield pj(mj.DateMaximumTimestamp,e,a,r)),dj(e.minimumTimestamp)&&!(r.getTime()>=e.minimumTimestamp)&&(yield pj(mj.DateMinimumTimestamp,e,a,r)),dj(e.multipleOfTimestamp)&&r.getTime()%e.multipleOfTimestamp!==0&&(yield pj(mj.DateMultipleOfTimestamp,e,a,r))}(o,0,a,r);case"Function":return yield*function*(e,t,a,r){wE(r)||(yield pj(mj.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*hj(o,[...t,...n],a,r)}(o,n,a,r);case"Integer":return yield*function*(e,t,a,r){if(!vE(r))return yield pj(mj.Integer,e,a,r);dj(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield pj(mj.IntegerExclusiveMaximum,e,a,r)),dj(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield pj(mj.IntegerExclusiveMinimum,e,a,r)),dj(e.maximum)&&!(r<=e.maximum)&&(yield pj(mj.IntegerMaximum,e,a,r)),dj(e.minimum)&&!(r>=e.minimum)&&(yield pj(mj.IntegerMinimum,e,a,r)),dj(e.multipleOf)&&r%e.multipleOf!==0&&(yield pj(mj.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 hj(o,t,a,r))n=!0,yield e;if(n)return yield pj(mj.Intersect,e,a,r);if(!1===e.unevaluatedProperties){let t=new RegExp(EI(e));for(let n of Object.getOwnPropertyNames(r))t.test(n)||(yield pj(mj.IntersectUnevaluatedProperties,e,`${a}/${n}`,r))}if("object"==typeof e.unevaluatedProperties){let n=new RegExp(EI(e));for(let o of Object.getOwnPropertyNames(r))if(!n.test(o)){let n=hj(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){iE(r)||(yield pj(mj.Iterator,e,a,r))}(o,0,a,r);case"Literal":return yield*function*(e,t,a,r){r!==e.const&&(yield pj(mj.Literal,e,a,r))}(o,0,a,r);case"Never":return yield*function*(e,t,a,r){yield pj(mj.Never,e,a,r)}(o,0,a,r);case"Not":return yield*function*(e,t,a,r){!0===hj(e.not,t,a,r).next().done&&(yield pj(mj.Not,e,a,r))}(o,n,a,r);case"Null":return yield*function*(e,t,a,r){mE(r)||(yield pj(mj.Null,e,a,r))}(o,0,a,r);case"Number":return yield*function*(e,t,a,r){if(!OE.IsNumberLike(r))return yield pj(mj.Number,e,a,r);dj(e.exclusiveMaximum)&&!(r<e.exclusiveMaximum)&&(yield pj(mj.NumberExclusiveMaximum,e,a,r)),dj(e.exclusiveMinimum)&&!(r>e.exclusiveMinimum)&&(yield pj(mj.NumberExclusiveMinimum,e,a,r)),dj(e.maximum)&&!(r<=e.maximum)&&(yield pj(mj.NumberMaximum,e,a,r)),dj(e.minimum)&&!(r>=e.minimum)&&(yield pj(mj.NumberMinimum,e,a,r)),dj(e.multipleOf)&&r%e.multipleOf!==0&&(yield pj(mj.NumberMultipleOf,e,a,r))}(o,0,a,r);case"Object":return yield*function*(e,t,a,r){if(!OE.IsObjectLike(r))return yield pj(mj.Object,e,a,r);dj(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield pj(mj.ObjectMinProperties,e,a,r)),dj(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield pj(mj.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 pj(mj.ObjectRequiredProperty,e.properties[t],`${a}/${uj(t)}`,void 0));if(!1===e.additionalProperties)for(let t of i)o.includes(t)||(yield pj(mj.ObjectAdditionalProperties,e,`${a}/${uj(t)}`,r[t]));if("object"==typeof e.additionalProperties)for(let n of i)o.includes(n)||(yield*hj(e.additionalProperties,t,`${a}/${uj(n)}`,r[n]));for(let n of o){let o=e.properties[n];e.required&&e.required.includes(n)?(yield*hj(o,t,`${a}/${uj(n)}`,r[n]),nD(e)&&!(n in r)&&(yield pj(mj.ObjectRequiredProperty,o,`${a}/${uj(n)}`,void 0))):OE.IsExactOptionalProperty(r,n)&&(yield*hj(o,t,`${a}/${uj(n)}`,r[n]))}}(o,n,a,r);case"Promise":return yield*function*(e,t,a,r){sE(r)||(yield pj(mj.Promise,e,a,r))}(o,0,a,r);case"Record":return yield*function*(e,t,a,r){if(!OE.IsRecordLike(r))return yield pj(mj.Object,e,a,r);dj(e.minProperties)&&!(Object.getOwnPropertyNames(r).length>=e.minProperties)&&(yield pj(mj.ObjectMinProperties,e,a,r)),dj(e.maxProperties)&&!(Object.getOwnPropertyNames(r).length<=e.maxProperties)&&(yield pj(mj.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*hj(o,t,`${a}/${uj(e)}`,n));if("object"==typeof e.additionalProperties)for(let[n,o]of Object.entries(r))i.test(n)||(yield*hj(e.additionalProperties,t,`${a}/${uj(n)}`,o));if(!1===e.additionalProperties)for(let[t,n]of Object.entries(r))if(!i.test(t))return yield pj(mj.ObjectAdditionalProperties,e,`${a}/${uj(t)}`,n)}(o,n,a,r);case"Ref":case"This":return yield*function*(e,t,a,r){yield*hj(LB(e,t),t,a,r)}(o,n,a,r);case"RegExp":return yield*function*(e,t,a,r){return yE(r)?(dj(e.minLength)&&!(r.length>=e.minLength)&&(yield pj(mj.StringMinLength,e,a,r)),dj(e.maxLength)&&!(r.length<=e.maxLength)&&(yield pj(mj.StringMaxLength,e,a,r)),new RegExp(e.source,e.flags).test(r)?void 0:yield pj(mj.RegExp,e,a,r)):yield pj(mj.String,e,a,r)}(o,0,a,r);case"String":return yield*function*(e,t,a,r){if(!yE(r))return yield pj(mj.String,e,a,r);dj(e.minLength)&&!(r.length>=e.minLength)&&(yield pj(mj.StringMinLength,e,a,r)),dj(e.maxLength)&&!(r.length<=e.maxLength)&&(yield pj(mj.StringMaxLength,e,a,r)),yE(e.pattern)&&(new RegExp(e.pattern).test(r)||(yield pj(mj.StringPattern,e,a,r))),yE(e.format)&&(TM(e.format)?_M(e.format)(r)||(yield pj(mj.StringFormat,e,a,r)):yield pj(mj.StringFormatUnknown,e,a,r))}(o,0,a,r);case"Symbol":return yield*function*(e,t,a,r){xE(r)||(yield pj(mj.Symbol,e,a,r))}(o,0,a,r);case"TemplateLiteral":return yield*function*(e,t,a,r){if(!yE(r))return yield pj(mj.String,e,a,r);new RegExp(e.pattern).test(r)||(yield pj(mj.StringPattern,e,a,r))}(o,0,a,r);case"Tuple":return yield*function*(e,t,a,r){if(!pE(r))return yield pj(mj.Tuple,e,a,r);if(void 0===e.items&&0!==r.length||r.length!==e.maxItems)return yield pj(mj.TupleLength,e,a,r);if(e.items)for(let n=0;n<e.items.length;n++)yield*hj(e.items[n],t,`${a}/${n}`,r[n])}(o,n,a,r);case"Undefined":return yield*function*(e,t,a,r){hE(r)||(yield pj(mj.Undefined,e,a,r))}(o,0,a,r);case"Union":return yield*function*(e,t,a,r){if(ij(e,t,r))return;let n=e.anyOf.map(e=>new gj(hj(e,t,a,r)));yield pj(mj.Union,e,a,r,n)}(o,n,a,r);case"Uint8Array":return yield*function*(e,t,a,r){if(!cE(r))return yield pj(mj.Uint8Array,e,a,r);dj(e.maxByteLength)&&!(r.length<=e.maxByteLength)&&(yield pj(mj.Uint8ArrayMaxByteLength,e,a,r)),dj(e.minByteLength)&&!(r.length>=e.minByteLength)&&(yield pj(mj.Uint8ArrayMinByteLength,e,a,r))}(o,0,a,r);case"Void":return yield*function*(e,t,a,r){OE.IsVoidLike(r)||(yield pj(mj.Void,e,a,r))}(o,0,a,r);default:if(!PM(o[IE]))throw new fj(e);return yield*function*(e,t,a,r){MM(e[IE])(e,r)||(yield pj(mj.Kind,e,a,r))}(o,0,a,r)}}var mj,fj,gj,vj=V(()=>{NB(),LI(),IM(),oD(),RB(),BE(),UB(),tj(),cj(),UE(),rN(),SE(),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"}(mj||={}),fj=class extends EE{constructor(e){super("Unknown type"),this.schema=e}},gj=class{constructor(e){this.iterator=e}[Symbol.iterator](){return this.iterator}First(){let e=this.iterator.next();return e.done?void 0:e.value}}}),bj=V(()=>{vj(),RB()}),yj=V(()=>{}),wj=V(()=>{yj()});function xj(e,t=new WeakMap){if(pE(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(xj(e[r],t));return a}(e,t);if(lE(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(xj([...e.entries()]))}(e);if(function(e){return e instanceof globalThis.Set}(e))return function(e){return new Set(xj([...e.entries()]))}(e);if(dE(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]=xj(e[r],t);for(let r of Object.getOwnPropertySymbols(e))a[r]=xj(e[r],t);return a}(e,t);if(function(e){return bE(e)||fE(e)||mE(e)||gE(e)||yE(e)||xE(e)||hE(e)}(e))return e;throw Error("ValueClone: Unable to clone value")}var Oj=V(()=>{SE()}),kj=V(()=>{Oj()});function Sj(e){return wE(e)?e():xj(e)}function Aj(e,t){let a=DB(e,t),r=e;switch(r[IE]){case"Any":case"Record":case"Unknown":return function(e){return uE(e,"default")?Sj(e.default):{}}(r);case"Argument":return{};case"Array":return function(e,t){if(!0===e.uniqueItems&&!uE(e,"default"))throw new _j(e,"Array with the uniqueItems constraint requires a default value");if("contains"in e&&!uE(e,"default"))throw new _j(e,"Array with the contains constraint requires a default value");return"default"in e?Sj(e.default):void 0===e.minItems?[]:Array.from({length:e.minItems}).map(a=>Aj(e.items,t))}(r,a);case"AsyncIterator":return function(e){return uE(e,"default")?Sj(e.default):async function*(){}()}(r);case"BigInt":return function(e){return uE(e,"default")?Sj(e.default):BigInt(0)}(r);case"Boolean":return function(e){return!!uE(e,"default")&&Sj(e.default)}(r);case"Constructor":return function(e,t){if(uE(e,"default"))return Sj(e.default);{let a=Aj(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 uE(e,"default")?Sj(e.default):void 0===e.minimumTimestamp?new Date:new Date(e.minimumTimestamp)}(r);case"Function":return function(e,t){return uE(e,"default")?Sj(e.default):()=>Aj(e.returns,t)}(r,a);case"Import":return function(e,t){let a=globalThis.Object.values(e.$defs);return Aj(e.$defs[e.$ref],[...t,...a])}(r,a);case"Integer":case"Number":return function(e){return uE(e,"default")?Sj(e.default):void 0===e.minimum?0:e.minimum}(r);case"Intersect":return function(e,t){if(uE(e,"default"))return Sj(e.default);{let a=e.allOf.reduce((e,a)=>{let r=Aj(a,t);return"object"==typeof r?{...e,...r}:r},{});if(!ij(e,t,a))throw new _j(e,"Intersect produced invalid value. Consider using a default value.");return a}}(r,a);case"Iterator":return function(e){return uE(e,"default")?Sj(e.default):function*(){}()}(r);case"Literal":return function(e){return uE(e,"default")?Sj(e.default):e.const}(r);case"Never":return function(e){if(uE(e,"default"))return Sj(e.default);throw new _j(e,"Never types cannot be created. Consider using a default value.")}(r);case"Not":return function(e){if(uE(e,"default"))return Sj(e.default);throw new _j(e,"Not types must have a default value")}(r);case"Null":return function(e){return uE(e,"default")?Sj(e.default):null}(r);case"Object":return function(e,t){if(uE(e,"default"))return Sj(e.default);{let a=new Set(e.required),r={};for(let[n,o]of Object.entries(e.properties))a.has(n)&&(r[n]=Aj(o,t));return r}}(r,a);case"Promise":return function(e,t){return uE(e,"default")?Sj(e.default):Promise.resolve(Aj(e.item,t))}(r,a);case"Ref":return function(e,t){return uE(e,"default")?Sj(e.default):Aj(LB(e,t),t)}(r,a);case"RegExp":return function(e){if(uE(e,"default"))return Sj(e.default);throw new _j(e,"RegExp types cannot be created. Consider using a default value.")}(r);case"String":return function(e){if(void 0!==e.pattern){if(uE(e,"default"))return Sj(e.default);throw new _j(e,"String types with patterns must specify a default value")}if(void 0!==e.format){if(uE(e,"default"))return Sj(e.default);throw new _j(e,"String types with formats must specify a default value")}return uE(e,"default")?Sj(e.default):void 0!==e.minLength?Array.from({length:e.minLength}).map(()=>" ").join(""):""}(r);case"Symbol":return function(e){return uE(e,"default")?Sj(e.default):"value"in e?Symbol.for(e.value):Symbol()}(r);case"TemplateLiteral":return function(e){if(uE(e,"default"))return Sj(e.default);if(!$N(e))throw new _j(e,"Can only create template literals that produce a finite variants. Consider using a default value.");return jN(e)[0]}(r);case"This":return function(e,t){if(Ej++>Cj)throw new _j(e,"Cannot create recursive type as it appears possibly infinite. Consider using a default.");return uE(e,"default")?Sj(e.default):Aj(LB(e,t),t)}(r,a);case"Tuple":return function(e,t){return uE(e,"default")?Sj(e.default):void 0===e.items?[]:Array.from({length:e.minItems}).map((a,r)=>Aj(e.items[r],t))}(r,a);case"Undefined":case"Void":return function(e){if(uE(e,"default"))return Sj(e.default)}(r);case"Union":return function(e,t){if(uE(e,"default"))return Sj(e.default);if(0===e.anyOf.length)throw Error("ValueCreate.Union: Cannot create Union with zero variants");return Aj(e.anyOf[0],t)}(r,a);case"Uint8Array":return function(e){return uE(e,"default")?Sj(e.default):void 0===e.minByteLength?new Uint8Array:new Uint8Array(e.minByteLength)}(r);default:if(!PM(r[IE]))throw new _j(r,"Unknown type");return function(e){if(uE(e,"default"))return Sj(e.default);throw Error("User defined types must specify a default value")}(r)}}function Tj(...e){return Ej=0,2===e.length?Aj(e[0],e[1]):Aj(e[0],[])}var _j,Cj,Ej,Pj=V(()=>{SE(),cj(),kj(),UB(),f$(),IM(),UE(),BE(),kE(),_j=class extends EE{constructor(e,t){super(t),this.schema=e}},Cj=512,Ej=0}),Mj=V(()=>{Pj()});function Nj(e,t,a){if("Object"!==e[IE]||"object"!=typeof a||mE(a)){if("Union"===e[IE]){let r=e.anyOf.map(e=>LB(e,t)).map(e=>Nj(e,t,a));return Math.max(...r)}return+!!ij(e,t,a)}{let r=e,n=Object.getOwnPropertyNames(a);return Object.entries(r.properties).reduce((e,[r,o])=>e+(("Literal"===o[IE]&&o.const===a[r]?100:0)+(ij(o,t,a[r])?10:0)+ +!!n.includes(r)),0)}}function $j(e,t,a,r){return"default"in e?"function"==typeof a?e.default:xj(e.default):Lj(function(e,t,a){let r=e.anyOf.map(e=>LB(e,t)),[n,o]=[r[0],0];for(let e of r){let r=Nj(e,t,a);r>o&&(n=e,o=r)}return n}(e,t,a),t,a,r)}function Ij(e,t){return dE(e)&&!dE(t)||!dE(e)&&dE(t)?e:dE(e)&&dE(t)?globalThis.Object.getOwnPropertyNames(e).reduce((a,r)=>{let n=r in t?Ij(e[r],t[r]):e[r];return{...a,[r]:n}},{}):t}function Rj(e,t,a){if(ij(e,t,a))return a;let r=Tj(e,t),n=Ij(r,a);return ij(e,t,n)?n:r}function Dj(e,t,a,r){let n=yE(e.$id)?DB(e,t):t,o=e;switch(e[IE]){case"Array":return function(e,t,a,r){if(ij(e,t,a))return xj(a);let n=pE(a)?a:Tj(e,t),o=gE(e.minItems)&&n.length<e.minItems?[...n,...Array.from({length:e.minItems-n.length},()=>null)]:n,i=(gE(e.maxItems)&&o.length>e.maxItems?o.slice(0,e.maxItems):o).map(a=>Dj(e.items,t,a,r));if(!0!==e.uniqueItems)return i;let s=[...new Set(i)];if(!ij(e,t,s))throw new Bj(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(ij(e,t,a))return Tj(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]=Dj(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 Dj(e.$defs[e.$ref],[...t,...n],a,r)}(o,n,a,r);case"Intersect":return Rj(o,n,a);case"Never":return function(e){throw new Bj(e,"Never types cannot be cast")}(o);case"Object":return function(e,t,a,r){if(r.has(a))return r.get(a);if(ij(e,t,a))return a;if("object"!=typeof a||!a)return Tj(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]=Dj(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]=Dj(e.additionalProperties,t,a[i],r))}return o}(o,n,a,r);case"Record":return function(e,t,a,r){if(ij(e,t,a))return xj(a);if("object"!=typeof a||!a||Array.isArray(a)||a instanceof Date)return Tj(e,t);let n=Object.getOwnPropertyNames(e.patternProperties)[0],o=e.patternProperties[n],i={};for(let[e,n]of Object.entries(a))i[e]=Dj(o,t,n,r);return i}(o,n,a,r);case"Ref":case"This":return function(e,t,a,r){return Dj(LB(e,t),t,a,r)}(o,n,a,r);case"Tuple":return function(e,t,a,r){return ij(e,t,a)?xj(a):pE(a)?void 0===e.items?[]:e.items.map((e,n)=>Dj(e,t,a[n],r)):Tj(e,t)}(o,n,a,r);case"Union":return function(e,t,a,r){return ij(e,t,a)?xj(a):$j(e,t,a,r)}(o,n,a,r);case"Date":case"Symbol":case"Uint8Array":return function(e,t,a){return ij(e,t,a)?xj(a):Tj(e,t)}(e,t,a);default:return function(e,t,a){return ij(e,t,a)?a:Tj(e,t)}(o,n,a)}}function Lj(...e){return 2===e.length||3===e.length&&e[2]instanceof WeakMap?Dj(e[0],[],e[1],e[2]??new WeakMap):Dj(e[0],e[1],e[2],e[3]??new WeakMap)}var Bj,jj,Uj,zj,Hj,Zj,Vj,qj,Qj,Fj,Wj,Gj,Xj,Yj,Kj,Jj,eU,tU,aU,rU,nU,oU,iU,sU,lU,cU,uU,dU,pU,hU,mU,fU,gU,vU,bU,yU,wU,xU,OU,kU,SU,AU,TU,_U,CU,EU,PU,MU,NU,$U,IU,RU,DU,LU,BU,jU,UU,zU,HU,ZU,VU,qU,QU,FU,WU,GU,XU,YU,KU,JU,ez,tz,az,rz,nz,oz,iz,sz,lz,cz,uz,dz,pz,hz,mz,fz,gz,vz,bz,yz,wz,xz,Oz,kz,Sz,Az,Tz,_z,Cz,Ez,Pz,Mz,Nz,$z,Iz,Rz,Dz,Lz,Bz,jz,Uz,zz,Hz,Zz,Vz,qz,Qz,Fz,Wz,Gz,Xz,Yz,Kz,Jz,eH,tH,aH,rH,nH,oH,iH,sH,lH,cH,uH,dH,pH,hH,mH,fH,gH,vH,bH,yH,wH,xH,OH,kH,SH,AH,TH,_H,CH,EH,PH,MH,NH,$H,IH,RH,DH,LH,BH,jH,UH,zH,HH,ZH,VH,qH,QH,FH,WH,GH,XH,YH,KH,JH,eZ,tZ,aZ,rZ,nZ,oZ,iZ,sZ,lZ,cZ,uZ,dZ,pZ,hZ,mZ,fZ,gZ,vZ,bZ,yZ,wZ,xZ,OZ,kZ,SZ,AZ,TZ,_Z,CZ,EZ,PZ,MZ,NZ,$Z,IZ,RZ,DZ,LZ,BZ,jZ,UZ,zZ,HZ,ZZ,VZ,qZ,QZ,FZ,WZ,GZ,XZ,YZ,KZ,JZ,eV,tV,aV,rV,nV,oV,iV,sV,lV,cV,uV,dV,pV,hV,mV,fV,gV,vV,bV,yV,wV,xV,OV,kV,SV,AV,TV,_V,CV,EV,PV,MV,NV,$V,IV,RV,DV,LV,BV,jV,UV,zV,HV,ZV,VV,qV,QV,FV,WV,GV,XV,YV,KV,JV,eq,tq,aq,rq,nq,oq,iq,sq,lq,cq,uq=V(()=>{SE(),BE(),UE(),Mj(),cj(),kj(),UB(),Bj=class extends EE{constructor(e,t){super(t),this.schema=e}}}),dq=V(()=>{uq()}),pq=V(()=>{}),hq=V(()=>{pq()}),mq=V(()=>{}),fq=V(()=>{mq()}),gq=V(()=>{}),vq=V(()=>{}),bq=V(()=>{}),yq=V(()=>{gq(),vq(),bq()}),wq=V(()=>{}),xq=V(()=>{wq()}),Oq=V(()=>{}),kq=V(()=>{Oq()}),Sq=V(()=>{BE()}),Aq=V(()=>{}),Tq=V(()=>{}),_q=V(()=>{Tq()}),Cq=V(()=>{}),Eq=V(()=>{Cq()}),Pq=V(()=>{Aq()}),Mq=V(()=>{}),Nq=V(()=>{Mq()}),$q=V(()=>{}),Iq=V(()=>{$q()}),Rq=V(()=>{bj(),wj(),dq(),cj(),hq(),kj(),fq(),Mj(),xq(),kq(),_q(),Eq(),Pq(),tj(),Nq(),Iq()}),Dq=V(()=>{Rq()}),Lq=V(()=>{bj(),SE(),wj(),dq(),cj(),hq(),kj(),fq(),Mj(),xq(),kq(),_q(),Eq(),Pq(),tj(),Nq(),Iq(),Sq(),yq(),Dq()}),Bq=V(()=>{Lq(),jj=(e,t)=>Lj(e,t)}),jq=V(()=>{Uj={document:{navigation:"x-scalar-navigation"},workspace:{colorMode:"x-scalar-color-mode",sidebarWidth:"x-scalar-sidebar-width",defaultClient:"x-scalar-default-client",defaultExample:"x-scalar-default-example",activeDocument:"x-scalar-active-document",theme:"x-scalar-theme"}}}),Uq=V(()=>{EB(),J(),zj=OB.Object({"x-scalar-default-request-body-view":OB.Optional(OB.Union([OB.Literal("form"),OB.Literal("raw")]))}),Hj=x({"x-scalar-default-request-body-view":S(O([A("form"),A("raw")]))},{typeName:"XScalarDefaultRequestBodyView",typeComment:"Initial request body editor view for structured bodies (form or raw)"})}),zq=V(()=>{EB(),J(),Zj=OB.Object({name:OB.String(),value:OB.Union([OB.Object({description:OB.Optional(OB.String()),default:OB.String({default:""})}),OB.String()])}),Vj=x({name:h(),value:O([x({description:S(h()),default:h()}),h()])},{typeName:"XScalarEnvVar"}),qj=OB.Object({description:OB.Optional(OB.String()),color:OB.String({default:"#FFFFFF"}),variables:OB.Array(Zj)}),Qj=x({description:S(h()),color:h({typeComment:"Color for the environment"}),variables:y(Vj,{typeComment:"An array of variables"})},{typeName:"XScalarEnvironment",typeComment:"A map of environments by name"}),Fj=OB.Object({"x-scalar-environments":OB.Optional(OB.Record(OB.String(),qj))}),Wj=x({"x-scalar-environments":S(w(h(),Qj))},{typeName:"XScalarEnvironments",typeComment:"A record of environments by name"})}),Hq=V(()=>{EB(),J(),Gj=OB.Object({"x-scalar-icon":OB.Optional(OB.String())}),Xj=x({"x-scalar-icon":S(h())},{typeName:"XScalarIcon",typeComment:"A custom icon representing the collection"})}),Zq=V(()=>{EB(),J(),Yj=OB.Object({"x-scalar-is-dirty":OB.Optional(OB.Boolean())}),Kj=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"})}),Vq=V(()=>{EB(),J(),Jj=OB.Object({"x-scalar-original-document-hash":OB.String()}),eU=x({"x-scalar-original-document-hash":h({typeComment:"Original input document hash"})},{typeName:"XScalarOriginalDocumentHash",typeComment:"Original input document hash"})}),qq=V(()=>{EB(),J(),tU=OB.Partial(OB.Object({"x-scalar-original-source-url":OB.String()})),aU=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."})}),Qq=V(()=>{EB(),J(),rU=OB.Object({namespace:OB.String(),slug:OB.String(),version:OB.String(),commitHash:OB.Optional(OB.String()),conflictCheckedAgainstHash:OB.Optional(OB.String()),hasConflict:OB.Optional(OB.Boolean())}),nU=OB.Object({"x-scalar-registry-meta":OB.Optional(rU)}),oU=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"}),iU=x({"x-scalar-registry-meta":S(oU)},{typeName:"XScalarRegistryMeta",typeComment:"The registry meta for the document"})}),Fq=V(()=>{EB(),J(),sU=OB.Object({"x-scalar-watch-mode":OB.Optional(OB.Boolean())}),lU=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"})}),Wq=V(()=>{EB(),J(),cU=OB.Object({"x-post-response":OB.Optional(OB.String())}),uU=x({"x-post-response":S(h({typeComment:"Script to run after a response is received"}))},{typeName:"XPostResponse",typeComment:"Post-response script for an operation"})}),Gq=V(()=>{EB(),J(),dU=OB.Object({"x-pre-request":OB.Optional(OB.String())}),pU=x({"x-pre-request":S(h())},{typeName:"XPreRequest",typeComment:"Pre-request script to run before the request is sent."})}),Xq=V(()=>{EB(),J(),hU=OB.Object({"x-scalar-active-environment":OB.Optional(OB.String())}),mU=x({"x-scalar-active-environment":S(h({typeComment:"The currently selected environment"}))},{typeName:"XScalarActiveEnvironment",typeComment:"The currently selected environment"})}),Yq=V(()=>{EB(),J(),fU=OB.Object({name:OB.String(),value:OB.String(),domain:OB.Optional(OB.String()),path:OB.Optional(OB.String()),isDisabled:OB.Optional(OB.Boolean())}),gU=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"}),vU=OB.Object({"x-scalar-cookies":OB.Optional(OB.Array(fU))}),bU=x({"x-scalar-cookies":S(y(gU,{typeComment:"Cookies persisted for the workspace"}))},{typeName:"XScalarCookies",typeComment:"Persisted workspace cookies"})}),Kq=V(()=>{EB(),J(),yU=OB.Object({"x-scalar-order":OB.Optional(OB.Array(OB.String()))}),wU=x({"x-scalar-order":S(y(h()))},{typeName:"XScalarOrder",typeComment:"Custom order for elements in the Scalar UI"})}),Jq=V(()=>{EB(),J(),xU=OB.Object({"x-scalar-selected-server":OB.Optional(OB.String())}),OU=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`)."})}),eQ=V(()=>{EB(),J(),PB(),Kq(),kU=kB(OB.Object({name:OB.String(),tags:OB.Array(OB.String())}),yU),SU=k([x({name:h({typeComment:"The group name."}),tags:y(h(),{typeComment:"List of tags to include in this group."})},{typeName:"XTagGroupBase"}),wU],{typeName:"XTagGroup",typeComment:"A tag group with optional custom ordering"}),AU=OB.Object({"x-tagGroups":OB.Optional(OB.Array(kU))}),TU=x({"x-tagGroups":S(y(SU,{typeComment:"Tag groups for organizing tags in the UI"}))},{typeName:"XTagGroups",typeComment:"Groups of tags for the OpenAPI document"})}),tQ=V(()=>{_U=["delete","get","head","options","patch","post","put","trace"],CU=Object.freeze(new Set(_U))}),aQ=V(()=>{EB(),EU={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"},PU=OB.Ref(EU.ComponentsObject),MU=OB.Ref(EU.SecurityRequirementObject),NU=OB.Ref(EU.TagObject),$U=OB.Ref(EU.CallbackObject),IU=OB.Ref(EU.PathItemObject),RU=OB.Ref(EU.PathsObject),DU=OB.Ref(EU.OperationObject),LU=OB.Ref(EU.SchemaObject),BU=OB.Ref(EU.EncodingObject),jU=OB.Ref(EU.HeaderObject),UU=OB.Ref(EU.MediaTypeObject),zU=OB.Ref(EU.ServerObject),HU=OB.Ref(EU.ExternalDocumentationObject),ZU=OB.Ref(EU.InfoObject),VU=OB.Ref(EU.ContactObject),qU=OB.Ref(EU.LicenseObject),QU=OB.Ref(EU.ResponseObject),FU=OB.Ref(EU.ResponsesObject),WU=OB.Ref(EU.ParameterObject),GU=OB.Ref(EU.ExampleObject),XU=OB.Ref(EU.RequestBodyObject),YU=OB.Ref(EU.SecuritySchemeObject),KU=OB.Ref(EU.LinkObject),JU=OB.Ref(EU.XMLObject),ez=OB.Ref(EU.DiscriminatorObject),tz=OB.Ref(EU.OAuthFlowsObject),az=OB.Ref(EU.ServerVariableObject),rz=OB.Ref(EU.TraversedEntryObject),nz=OB.Ref(EU.TraversedDocumentObject)}),rQ=V(()=>{tQ(),EB(),PB(),aQ(),oz=OB.Object({id:OB.String(),title:OB.String()}),iz=kB(oz,OB.Object({type:OB.Literal("document"),name:OB.String(),children:OB.Optional(OB.Array(rz)),icon:OB.Optional(OB.String())})),sz=kB(oz,OB.Object({type:OB.Literal("text"),children:OB.Optional(OB.Array(rz))})),lz=kB(oz,OB.Object({type:OB.Literal("example"),name:OB.String()})),cz=kB(oz,OB.Object({type:OB.Literal("operation"),ref:OB.String(),method:OB.Union(_U.map(e=>OB.Literal(e))),path:OB.String(),isDeprecated:OB.Optional(OB.Boolean()),children:OB.Optional(OB.Array(rz))})),uz=kB(oz,OB.Object({type:OB.Literal("asyncapi-operation"),operationName:OB.String(),action:OB.Union([OB.Literal("send"),OB.Literal("receive")]),channelName:OB.String(),channelAddress:OB.String(),children:OB.Optional(OB.Array(rz))})),dz=kB(oz,OB.Object({type:OB.Literal("asyncapi-channel"),channelName:OB.String(),channelAddress:OB.String(),children:OB.Optional(OB.Array(rz))})),pz=kB(oz,OB.Object({type:OB.Literal("asyncapi-message"),messageName:OB.String(),channelName:OB.String()})),hz=kB(oz,OB.Object({type:OB.Literal("model"),ref:OB.String(),name:OB.String()})),mz=kB(oz,OB.Object({type:OB.Literal("webhook"),ref:OB.String(),method:OB.Union(_U.map(e=>OB.Literal(e))),name:OB.String(),isDeprecated:OB.Optional(OB.Boolean())})),fz=kB(oz,OB.Object({type:OB.Literal("tag"),name:OB.String(),description:OB.Optional(OB.String()),children:OB.Optional(OB.Array(rz)),isGroup:OB.Boolean(),isTagGroup:OB.Optional(OB.Boolean()),isWebhooks:OB.Optional(OB.Boolean()),xKeys:OB.Optional(OB.Record(OB.String(),OB.Unknown()))})),gz=kB(oz,OB.Object({type:OB.Literal("models"),name:OB.String(),children:OB.Optional(OB.Array(rz))})),vz=OB.Union([sz,cz,uz,dz,pz,hz,fz,mz,lz,iz,gz])}),nQ=V(()=>{EB(),PB(),bz=OB.Object({$status:OB.Optional(OB.Union([OB.Literal("loading"),OB.Literal("error")])),$global:OB.Optional(OB.Boolean())}),yz=kB(OB.Object({$ref:OB.String(),summary:OB.Optional(OB.String()),description:OB.Optional(OB.String())}),bz),wz=e=>kB(yz,OB.Object({"$ref-value":e}))}),oQ=V(()=>{EB(),aQ(),nQ(),xz=OB.Record(OB.String(),OB.Union([IU,wz(IU)]))}),iQ=V(()=>{EB(),aQ(),nQ(),Oz=OB.Record(OB.String(),OB.Union([YU,wz(YU)])),kz=OB.Object({schemas:OB.Optional(OB.Record(OB.String(),OB.Union([LU,wz(LU)]))),responses:OB.Optional(OB.Record(OB.String(),OB.Union([QU,wz(QU)]))),parameters:OB.Optional(OB.Record(OB.String(),OB.Union([WU,wz(WU)]))),examples:OB.Optional(OB.Record(OB.String(),OB.Union([GU,wz(GU)]))),requestBodies:OB.Optional(OB.Record(OB.String(),OB.Union([XU,wz(XU)]))),headers:OB.Optional(OB.Record(OB.String(),OB.Union([jU,wz(jU)]))),securitySchemes:OB.Optional(Oz),links:OB.Optional(OB.Record(OB.String(),OB.Union([KU,wz(KU)]))),callbacks:OB.Optional(OB.Record(OB.String(),OB.Union([$U,wz($U)]))),pathItems:OB.Optional(OB.Record(OB.String(),OB.Union([IU,wz(IU)])))})}),sQ=V(()=>{EB(),Sz=OB.Object({name:OB.Optional(OB.String()),url:OB.Optional(OB.String()),email:OB.Optional(OB.String())})}),lQ=V(()=>{EB(),Az=OB.Object({propertyName:OB.String(),mapping:OB.Optional(OB.Record(OB.String(),OB.String()))})}),cQ=V(()=>{EB(),aQ(),nQ(),Tz=OB.Object({contentType:OB.Optional(OB.String()),headers:OB.Optional(OB.Record(OB.String(),OB.Union([jU,wz(jU)]))),style:OB.Optional(OB.Union([OB.Literal("form"),OB.Literal("spaceDelimited"),OB.Literal("pipeDelimited"),OB.Literal("deepObject")])),explode:OB.Optional(OB.Boolean()),allowReserved:OB.Optional(OB.Boolean())})}),uQ=V(()=>{EB(),J(),_z=OB.Object({"x-disabled":OB.Optional(OB.Boolean())}),Cz=x({"x-disabled":S(m())},{typeName:"XDisabled",typeComment:"Whether a parameter example is disabled in the API client"})}),dQ=V(()=>{EB(),PB(),uQ(),Ez=kB(OB.Object({summary:OB.Optional(OB.String()),description:OB.Optional(OB.String()),value:OB.Optional(OB.Any()),externalValue:OB.Optional(OB.String())}),_z)}),pQ=V(()=>{EB(),Pz=OB.Object({url:OB.String(),description:OB.Optional(OB.String())})}),hQ=V(()=>{EB(),PB(),aQ(),nQ(),Mz=OB.Object({description:OB.Optional(OB.String()),required:OB.Optional(OB.Boolean()),deprecated:OB.Optional(OB.Boolean())}),Nz=kB(Mz,OB.Object({style:OB.Optional(OB.String()),explode:OB.Optional(OB.Boolean()),schema:OB.Optional(OB.Union([LU,wz(LU)])),example:OB.Optional(OB.Any()),examples:OB.Optional(OB.Record(OB.String(),OB.Union([GU,wz(GU)])))})),$z=OB.Union([Nz,kB(Mz,OB.Object({content:OB.Optional(OB.Record(OB.String(),UU))}))])}),mQ=V(()=>{EB(),J(),Iz=OB.Object({name:OB.String(),url:OB.String()}),Rz=OB.Object({"x-scalar-links":OB.Optional(OB.Array(Iz))}),Dz=x({name:h(),url:h()},{typeName:"XScalarLinkItem",typeComment:"A named link to display alongside the API info"}),Lz=x({"x-scalar-links":S(y(Dz,{typeComment:"Additional named links to display alongside the API info (e.g. privacy policy, imprint)"}))},{typeName:"XScalarLinks",typeComment:"Additional named links to display alongside the API info"})}),fQ=V(()=>{EB(),J(),Bz=OB.Object({lang:OB.String(),description:OB.Optional(OB.String()),source:OB.Optional(OB.String())}),jz=OB.Object({"x-scalar-sdk-installation":OB.Optional(OB.Array(Bz))}),Uz=x({lang:h(),description:S(h()),source:S(h())},{typeName:"XScalarSdkInstallationItem",typeComment:"Scalar SDK installation entry"}),zz=x({"x-scalar-sdk-installation":S(y(Uz,{typeComment:"Scalar SDK installation information"}))},{typeName:"XScalarSdkInstallation",typeComment:"Scalar SDK installation information"})}),gQ=V(()=>{EB(),PB(),mQ(),fQ(),aQ(),Hz=kB(OB.Object({title:OB.String(),version:OB.String(),summary:OB.Optional(OB.String()),description:OB.Optional(OB.String()),termsOfService:OB.Optional(OB.String()),contact:OB.Optional(VU),license:OB.Optional(qU)}),jz,Rz)}),vQ=V(()=>{EB(),Zz=OB.Object({name:OB.Optional(OB.String()),identifier:OB.Optional(OB.String()),url:OB.Optional(OB.String())})}),bQ=V(()=>{EB(),aQ(),Vz=OB.Object({operationRef:OB.Optional(OB.String()),operationId:OB.Optional(OB.String()),parameters:OB.Optional(OB.Record(OB.String(),OB.Any())),requestBody:OB.Optional(OB.Any()),description:OB.Optional(OB.String()),server:OB.Optional(zU)})}),yQ=V(()=>{EB(),aQ(),nQ(),qz=OB.Object({schema:OB.Optional(OB.Union([LU,wz(LU)])),example:OB.Optional(OB.Any()),examples:OB.Optional(OB.Record(OB.String(),OB.Union([GU,wz(GU)]))),encoding:OB.Optional(OB.Record(OB.String(),BU))})}),wQ=V(()=>{EB(),J(),Qz=OB.Object({"x-scalar-ignore":OB.Optional(OB.Boolean())}),Fz=x({"x-scalar-ignore":S(m())},{typeName:"XScalarIgnore",typeComment:"Internal extension to mark an entity as ignored"})}),xQ=V(()=>{EB(),J(),Wz=OB.Object({"x-order":OB.Optional(OB.Number())}),Gz=x({"x-order":S(p())},{typeName:"XOrder",typeComment:"Display order for a schema property"})}),OQ=V(()=>{EB(),J(),Xz=OB.Object({"x-scalar-credentials-location":OB.Optional(OB.Union([OB.Literal("header"),OB.Literal("body")]))}),Yz=x({"x-scalar-credentials-location":S(O([A("header"),A("body")]))},{typeName:"XScalarCredentialsLocation",typeComment:"Where OAuth2 credentials are sent"})}),kQ=V(()=>{EB(),J(),Kz=OB.Object({"x-scalar-security-body":OB.Optional(OB.Record(OB.String(),OB.String()))}),Jz=x({"x-scalar-security-body":S(w(h(),h()))},{typeName:"XScalarSecurityBody",typeComment:"Additional OAuth token request body parameters"})}),SQ=V(()=>{EB(),J(),eH=OB.Object({"x-scalar-security-query":OB.Optional(OB.Record(OB.String(),OB.String()))}),tH=x({"x-scalar-security-query":S(w(h(),h()))},{typeName:"XScalarSecurityQuery",typeComment:"Additional OAuth authorize query parameters"})}),AQ=V(()=>{EB(),J(),aH=OB.Object({"x-scalar-secret-token":OB.String()}),x({"x-scalar-secret-token":h()},{typeName:"XScalarSecretToken",typeComment:"Persisted OAuth access token (sensitive)"}),rH=OB.Object({"x-scalar-secret-refresh-token":OB.Optional(OB.String())}),x({"x-scalar-secret-refresh-token":S(h())},{typeName:"XScalarSecretRefreshToken",typeComment:"Persisted OAuth refresh token (sensitive)"}),nH=OB.Object({"x-scalar-secret-auth-url":OB.Optional(OB.String())}),oH=x({"x-scalar-secret-auth-url":S(h())},{typeName:"XScalarAuthUrl",typeComment:"Persisted OAuth authorization URL override"}),iH=OB.Object({"x-scalar-secret-token-url":OB.Optional(OB.String())}),sH=x({"x-scalar-secret-token-url":S(h())},{typeName:"XScalarTokenUrl",typeComment:"Persisted OAuth token URL override"}),lH=OB.Object({"x-scalar-secret-username":OB.String(),"x-scalar-secret-password":OB.String()}),x({"x-scalar-secret-username":h(),"x-scalar-secret-password":h()},{typeName:"XScalarSecretHTTP",typeComment:"Persisted HTTP basic credentials (sensitive)"}),cH=OB.Object({"x-scalar-secret-client-secret":OB.String()}),x({"x-scalar-secret-client-secret":h()},{typeName:"XScalarSecretClientSecret",typeComment:"Persisted OAuth client secret (sensitive)"}),uH=OB.Object({"x-scalar-secret-client-id":OB.String()}),x({"x-scalar-secret-client-id":h()},{typeName:"XScalarSecretClientId",typeComment:"Persisted OAuth client ID"}),dH=OB.Object({"x-scalar-secret-redirect-uri":OB.String()}),x({"x-scalar-secret-redirect-uri":h()},{typeName:"XScalarSecretRedirectUri",typeComment:"Persisted OAuth redirect URI"}),pH=OB.Object({"x-scalar-secret-client-certificate":OB.String()}),hH=OB.Object({"x-scalar-secret-private-key":OB.String()}),mH=OB.Object({"x-scalar-secret-service-name":OB.String()})}),TQ=V(()=>{EB(),J(),fH=OB.Object({"x-tokenName":OB.Optional(OB.String())}),gH=x({"x-tokenName":S(h())},{typeName:"XTokenName",typeComment:"Custom OAuth2 access token field name"})}),_Q=V(()=>{EB(),J(),vH=OB.Object({"x-usePkce":OB.Union([OB.Literal("SHA-256"),OB.Literal("plain"),OB.Literal("no")],{default:"no"})}),bH=x({"x-usePkce":O([A("SHA-256"),A("plain"),A("no")],{typeComment:"PKCE mode for the OAuth2 authorization code flow"})},{typeName:"XusePkce",typeComment:"PKCE setting for OAuth2"})}),CQ=V(()=>{EB(),PB(),wQ(),xQ(),OQ(),kQ(),SQ(),AQ(),TQ(),_Q(),yH=kB(OB.Object({refreshUrl:OB.String(),scopes:OB.Record(OB.String(),OB.String())}),eH,Kz,fH,nH,iH,Wz,Qz),wH=kB(yH,OB.Object({authorizationUrl:OB.String()})),xH=kB(yH,OB.Object({tokenUrl:OB.String()}),Xz),OH=kB(yH,OB.Object({tokenUrl:OB.String()}),Xz),kH=kB(yH,OB.Object({authorizationUrl:OB.String(),tokenUrl:OB.String()}),vH,Xz)}),EQ=V(()=>{EB(),CQ(),SH=OB.Object({implicit:OB.Optional(wH),password:OB.Optional(xH),clientCredentials:OB.Optional(OH),authorizationCode:OB.Optional(kH)})}),PQ=V(()=>{EB(),J(),AH=OB.Object({"x-internal":OB.Optional(OB.Boolean())}),TH=x({"x-internal":S(m({typeComment:"Extension to mark an entity as internal"}))},{typeName:"XInternal",typeComment:"Extension to mark an entity as internal"})}),MQ=V(()=>{EB(),J(),_H=OB.Object({name:OB.String({description:"The text that displays in the badge",minLength:1}),position:OB.Optional(OB.Union([OB.Literal("before"),OB.Literal("after")],{description:"The position of the badge in relation to the header",default:"after"})),color:OB.Optional(OB.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"}),CH=x({name:h({typeComment:"The text that displays in the badge. This is required for all badges."}),position:S(O([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"}),EH=OB.Object({"x-badges":OB.Optional(OB.Array(_H))}),PH=x({"x-badges":S(y(CH,{typeComment:"Badges displayed for this operation in documentation"}))},{typeName:"XBadges",typeComment:"Badges for an operation in the Scalar UI"})}),NQ=V(()=>{EB(),J(),MH=OB.Object({lang:OB.Optional(OB.String()),label:OB.Optional(OB.String()),source:OB.String()}),NH=OB.Object({language:OB.Optional(OB.String()),code:OB.String(),name:OB.Optional(OB.String()),install:OB.Optional(OB.String()),correspondingExample:OB.Optional(OB.String())}),$H=OB.Object({"code-samples":OB.Optional(OB.Array(NH)),"samples-languages":OB.Optional(OB.Array(OB.String()))}),IH=OB.Object({title:OB.Optional(OB.String()),request:OB.Optional(OB.Record(OB.String(),OB.String())),response:OB.Optional(OB.Unknown())}),RH=OB.Union([IH,OB.Array(IH)]),DH=OB.Object({"x-codeSamples":OB.Optional(OB.Array(MH)),"x-code-samples":OB.Optional(OB.Array(MH)),"x-custom-examples":OB.Optional(OB.Array(MH)),"x-readme":OB.Optional($H),"x-stainless-snippets":OB.Optional(OB.Record(OB.String(),OB.String())),"x-stainless-examples":OB.Optional(RH),"x-scalar-examples":OB.Optional(OB.Array(MH))}),LH=x({lang:S(h()),label:S(h()),source:h()}),BH=x({"code-samples":S(y(x({language:S(h()),code:h(),name:S(h()),install:S(h()),correspondingExample:S(h())}))),"samples-languages":S(y(h()))}),jH=x({title:S(h()),request:S(w(h(),h())),response:S(v())}),UH=O([jH,y(jH)]),zH=x({"x-codeSamples":S(y(LH)),"x-code-samples":S(y(LH)),"x-custom-examples":S(y(LH)),"x-readme":S(BH),"x-stainless-snippets":S(w(h(),h())),"x-stainless-examples":S(UH),"x-scalar-examples":S(y(LH))})}),$Q=V(()=>{EB(),J(),HH=OB.Object({"x-draft-examples":OB.Optional(OB.Array(OB.String()))}),ZH=x({"x-draft-examples":S(y(h()))},{typeName:"XDraftExamples",typeComment:"Draft example identifiers for an operation"})}),IQ=V(()=>{EB(),J(),VH=OB.Record(OB.String(),OB.Boolean()),qH=OB.Record(OB.String(),VH),QH=OB.Object({"x-scalar-disable-parameters":OB.Optional(OB.Object({"global-cookies":OB.Optional(qH),"global-headers":OB.Optional(qH),"default-headers":OB.Optional(qH)}))}),FH=w(h(),m()),WH=w(h(),FH),GH=x({"global-cookies":S(WH),"global-headers":S(WH),"default-headers":S(WH)},{typeName:"DisableParametersConfig",typeComment:"Disabled parameter state by category and example"}),XH=x({"x-scalar-disable-parameters":S(GH)},{typeName:"XScalarDisableParameters",typeComment:"Tracks which parameters are disabled across examples"})}),RQ=V(()=>{EB(),J(),YH={Deprecated:"deprecated",Experimental:"experimental",Stable:"stable"},KH=OB.Object({"x-scalar-stability":OB.Optional(OB.Union([OB.Literal("deprecated"),OB.Literal("experimental"),OB.Literal("stable")]))}),JH=x({"x-scalar-stability":S(O([A("deprecated"),A("experimental"),A("stable")],{typeComment:"Stability level of the operation"}))},{typeName:"XScalarStability",typeComment:"Stability of the operation in the Scalar UI"})}),DQ=V(()=>{EB(),PB(),PQ(),wQ(),Wq(),Gq(),MQ(),NQ(),$Q(),IQ(),RQ(),Jq(),aQ(),nQ(),eZ=kB(OB.Object({tags:OB.Optional(OB.Array(OB.String())),summary:OB.Optional(OB.String()),description:OB.Optional(OB.String()),externalDocs:OB.Optional(HU),operationId:OB.Optional(OB.String()),parameters:OB.Optional(OB.Array(OB.Union([WU,wz(WU)]))),requestBody:OB.Optional(OB.Union([XU,wz(XU)])),responses:OB.Optional(FU),deprecated:OB.Optional(OB.Boolean()),security:OB.Optional(OB.Array(MU)),servers:OB.Optional(OB.Array(zU)),callbacks:OB.Optional(OB.Record(OB.String(),OB.Union([$U,wz($U)])))}),EH,AH,Qz,DH,KH,QH,cU,dU,HH,xU)}),LQ=V(()=>{EB(),J(),tZ=OB.Object({"x-global":OB.Optional(OB.Boolean())}),aZ=x({"x-global":S(m())},{typeName:"XGlobal",typeComment:"When true, the parameter is injected into every request for the workspace"})}),BQ=V(()=>{EB(),PB(),PQ(),wQ(),LQ(),aQ(),nQ(),rZ=kB(OB.Object({name:OB.String(),in:OB.Union([OB.Literal("query"),OB.Literal("header"),OB.Literal("path"),OB.Literal("cookie")]),description:OB.Optional(OB.String()),required:OB.Optional(OB.Boolean()),deprecated:OB.Optional(OB.Boolean()),allowEmptyValue:OB.Optional(OB.Boolean()),allowReserved:OB.Optional(OB.Boolean())}),tZ,AH,Qz),nZ=kB(rZ,OB.Object({style:OB.Optional(OB.String()),explode:OB.Optional(OB.Boolean()),schema:OB.Optional(OB.Union([LU,wz(LU)])),example:OB.Optional(OB.Any()),examples:OB.Optional(OB.Record(OB.String(),OB.Union([GU,wz(GU)])))})),oZ=kB(rZ,OB.Object({content:OB.Optional(OB.Record(OB.String(),UU))})),iZ=OB.Union([nZ,oZ])}),jQ=V(()=>{EB(),aQ(),nQ(),sZ=OB.Object({$ref:OB.Optional(OB.String()),summary:OB.Optional(OB.String()),description:OB.Optional(OB.String()),get:OB.Optional(OB.Union([DU,wz(DU)])),put:OB.Optional(OB.Union([DU,wz(DU)])),post:OB.Optional(OB.Union([DU,wz(DU)])),delete:OB.Optional(OB.Union([DU,wz(DU)])),patch:OB.Optional(OB.Union([DU,wz(DU)])),connect:OB.Optional(OB.Union([DU,wz(DU)])),options:OB.Optional(OB.Union([DU,wz(DU)])),head:OB.Optional(OB.Union([DU,wz(DU)])),trace:OB.Optional(OB.Union([DU,wz(DU)])),servers:OB.Optional(OB.Array(zU)),parameters:OB.Optional(OB.Array(OB.Union([WU,wz(WU)])))})}),UQ=V(()=>{EB(),aQ(),nQ(),lZ=OB.Record(OB.String(),OB.Union([IU,wz(IU)]))}),zQ=V(()=>{EB(),J(),cZ=OB.Object({"x-scalar-selected-content-type":OB.Optional(OB.Record(OB.String(),OB.String()))}),uZ=x({"x-scalar-selected-content-type":S(w(h(),h(),{typeComment:"Selected content type per example name"}))},{typeName:"XScalarSelectedContentType",typeComment:"Selected content type per example for request or response bodies"})}),HQ=V(()=>{EB(),PB(),zQ(),aQ(),dZ=kB(OB.Object({description:OB.Optional(OB.String()),content:OB.Record(OB.String(),UU),required:OB.Optional(OB.Boolean())}),cZ)}),ZQ=V(()=>{EB(),aQ(),nQ(),pZ=OB.Object({description:OB.String(),headers:OB.Optional(OB.Record(OB.String(),OB.Union([jU,wz(jU)]))),content:OB.Optional(OB.Record(OB.String(),UU)),links:OB.Optional(OB.Record(OB.String(),OB.Union([KU,wz(KU)])))})}),VQ=V(()=>{EB(),aQ(),nQ(),hZ=OB.Record(OB.String(),OB.Union([QU,wz(QU)]))}),qQ=V(()=>{EB(),J(),mZ=OB.Object({"x-tags":OB.Optional(OB.Array(OB.String()))}),fZ=x({"x-tags":S(y(h()))},{typeName:"XTags",typeComment:"Custom tag ordering or grouping hints for schema objects"})}),QQ=V(()=>{EB(),J(),gZ=OB.Object({"x-additionalPropertiesName":OB.Optional(OB.String())}),vZ=x({"x-additionalPropertiesName":S(h())},{typeName:"XAdditionalPropertiesName",typeComment:"Display name for additional properties on a schema"})}),FQ=V(()=>{EB(),J(),bZ=OB.Object({"x-enumDescriptions":OB.Optional(OB.Union([OB.Record(OB.String(),OB.String()),OB.Array(OB.String())])),"x-enum-descriptions":OB.Optional(OB.Union([OB.Record(OB.String(),OB.String()),OB.Array(OB.String())]))}),yZ=O([w(h(),h()),y(h())]),wZ=x({"x-enumDescriptions":S(yZ),"x-enum-descriptions":S(yZ)},{typeName:"XEnumDescriptions",typeComment:"Descriptions for enum values"})}),WQ=V(()=>{EB(),J(),xZ=OB.Object({"x-enum-varnames":OB.Optional(OB.Array(OB.String())),"x-enumNames":OB.Optional(OB.Array(OB.String()))}),OZ=x({"x-enum-varnames":S(y(h())),"x-enumNames":S(y(h()))},{typeName:"XEnumVarNames",typeComment:"Display names for enum values"})}),GQ=V(()=>{EB(),J(),kZ=OB.Object({"x-examples":OB.Optional(OB.Record(OB.String(),OB.Unknown()))}),SZ=x({"x-examples":S(w(h(),g()))},{typeName:"XExamples",typeComment:"Named examples attached to a schema"})}),XQ=V(()=>{EB(),J(),AZ=OB.Object({"x-variable":OB.Optional(OB.String())}),TZ=x({"x-variable":S(h())},{typeName:"XVariable",typeComment:"Variable reference for a schema property"})}),YQ=V(()=>{EB(),PB(),PQ(),wQ(),qQ(),QQ(),FQ(),WQ(),GQ(),xQ(),XQ(),aQ(),nQ(),_Z=OB.Union([LU,kB(yz,OB.Object({"$ref-value":OB.Optional(OB.Unknown())}))]),CZ=OB.Union([OB.Literal("null"),OB.Literal("boolean"),OB.Literal("string"),OB.Literal("number"),OB.Literal("integer"),OB.Literal("object"),OB.Literal("array")]),EZ=OB.Object({type:OB.Union([OB.Literal("null"),OB.Literal("boolean")])}),PZ=kB(Qz,AH,AZ,kZ,bZ,xZ,gZ,Wz,mZ),MZ=OB.Object({$id:OB.Optional(OB.String()),$anchor:OB.Optional(OB.String()),$dynamicAnchor:OB.Optional(OB.String()),$dynamicRef:OB.Optional(OB.String()),name:OB.Optional(OB.String()),title:OB.Optional(OB.String()),description:OB.Optional(OB.String()),default:OB.Optional(OB.Unknown()),enum:OB.Optional(OB.Array(OB.Unknown())),const:OB.Optional(OB.Unknown()),contentMediaType:OB.Optional(OB.String()),contentEncoding:OB.Optional(OB.String()),contentSchema:OB.Optional(_Z),deprecated:OB.Optional(OB.Boolean()),discriminator:OB.Optional(ez),readOnly:OB.Optional(OB.Boolean()),writeOnly:OB.Optional(OB.Boolean()),xml:OB.Optional(JU),externalDocs:OB.Optional(HU),example:OB.Optional(OB.Unknown()),examples:OB.Optional(OB.Array(OB.Unknown())),allOf:OB.Optional(OB.Array(_Z)),oneOf:OB.Optional(OB.Array(_Z)),anyOf:OB.Optional(OB.Array(_Z)),not:OB.Optional(_Z)}),NZ=OB.Object({multipleOf:OB.Optional(OB.Number()),maximum:OB.Optional(OB.Number()),exclusiveMaximum:OB.Optional(OB.Number({minimum:0})),minimum:OB.Optional(OB.Number()),exclusiveMinimum:OB.Optional(OB.Number({minimum:0}))}),$Z=kB(OB.Object({type:OB.Union([OB.Literal("number"),OB.Literal("integer")]),format:OB.Optional(OB.String())}),NZ),IZ=OB.Object({maxLength:OB.Optional(OB.Integer({minimum:0})),minLength:OB.Optional(OB.Integer({minimum:0})),pattern:OB.Optional(OB.String())}),RZ=kB(OB.Object({type:OB.Literal("string"),format:OB.Optional(OB.String())}),IZ),DZ=OB.Object({maxItems:OB.Optional(OB.Integer({minimum:0})),minItems:OB.Optional(OB.Integer({minimum:0})),uniqueItems:OB.Optional(OB.Boolean()),items:OB.Optional(_Z),prefixItems:OB.Optional(OB.Array(_Z))}),LZ=kB(OB.Object({type:OB.Literal("array")}),DZ),BZ=OB.Object({maxProperties:OB.Optional(OB.Integer({minimum:0})),minProperties:OB.Optional(OB.Integer({minimum:0})),required:OB.Optional(OB.Array(OB.String())),properties:OB.Optional(OB.Record(OB.String(),_Z)),additionalProperties:OB.Optional(OB.Union([OB.Boolean(),_Z])),patternProperties:OB.Optional(OB.Record(OB.String(),_Z)),propertyNames:OB.Optional(_Z)}),jZ=kB(OB.Object({type:OB.Literal("object")}),BZ),UZ=kB(OB.Object({type:OB.Array(CZ),format:OB.Optional(OB.String())}),NZ,IZ,DZ,BZ),zZ=OB.Union([kB(OB.Object({__scalar_:OB.String()}),MZ,PZ),kB(EZ,MZ,PZ),kB($Z,MZ,PZ),kB(RZ,MZ,PZ),kB(jZ,MZ,PZ),kB(LZ,MZ,PZ),kB(UZ,MZ,PZ)])}),KQ=V(()=>{EB(),HZ=OB.Partial(OB.Record(OB.String(),OB.Array(OB.String())))}),JQ=V(()=>{EB(),J(),ZZ=OB.Object({"x-default-scopes":OB.Optional(OB.Array(OB.String()))}),VZ=x({"x-default-scopes":S(y(h()))},{typeName:"XDefaultScopes",typeComment:"Default selected OAuth scopes"})}),eF=V(()=>{EB(),PB(),wQ(),JQ(),aQ(),qZ=kB(OB.Object({description:OB.Optional(OB.String())}),Qz),QZ=kB(qZ,OB.Object({type:OB.Literal("apiKey"),name:OB.String(),in:OB.Union([OB.Literal("query"),OB.Literal("header"),OB.Literal("cookie")])})),FZ=kB(qZ,OB.Object({type:OB.Literal("http"),scheme:OB.Union([OB.Literal("basic"),OB.Literal("bearer")]),bearerFormat:OB.Optional(OB.String())})),WZ=kB(qZ,OB.Object({type:OB.Literal("oauth2"),flows:tz}),ZZ),GZ=kB(qZ,OB.Object({type:OB.Literal("openIdConnect"),openIdConnectUrl:OB.String()})),XZ=OB.Union([QZ,FZ,WZ,GZ])}),tF=V(()=>{EB(),aQ(),YZ=OB.Object({url:OB.String(),description:OB.Optional(OB.String()),variables:OB.Optional(OB.Record(OB.String(),az))})}),aF=V(()=>{EB(),KZ=OB.Object({enum:OB.Optional(OB.Array(OB.String())),default:OB.Optional(OB.String()),description:OB.Optional(OB.String())})}),rF=V(()=>{EB(),J(),JZ=OB.Object({"x-displayName":OB.Optional(OB.String())}),eV=x({"x-displayName":S(h())},{typeName:"XDisplayName",typeComment:"Display-friendly name for a tag"})}),nF=V(()=>{EB(),PB(),PQ(),wQ(),Kq(),rF(),aQ(),tV=kB(OB.Object({name:OB.String(),summary:OB.Optional(OB.String()),description:OB.Optional(OB.String()),parent:OB.Optional(OB.String()),kind:OB.Optional(OB.String()),externalDocs:OB.Optional(HU)}),JZ,AH,Qz,yU)}),oF=V(()=>{EB(),aV=OB.Object({name:OB.Optional(OB.String()),namespace:OB.Optional(OB.String()),prefix:OB.Optional(OB.String()),attribute:OB.Optional(OB.Boolean()),wrapped:OB.Optional(OB.Boolean())})}),iF=V(()=>{EB(),PB(),jq(),Uq(),zq(),Hq(),Zq(),Vq(),qq(),Qq(),Fq(),Wq(),Gq(),Xq(),Yq(),Kq(),Jq(),eQ(),rQ(),oQ(),iQ(),sQ(),lQ(),cQ(),dQ(),pQ(),hQ(),gQ(),vQ(),bQ(),yQ(),EQ(),DQ(),BQ(),jQ(),UQ(),aQ(),HQ(),ZQ(),VQ(),YQ(),KQ(),eF(),tF(),aF(),nF(),oF(),rV=kB(OB.Partial(OB.Object({"x-original-oas-version":OB.String(),[Uj.document.navigation]:nz})),tU,AU,Fj,xU,Gj,yU,vU,Jj,Yj,hU,sU,nU,zj,dU,cU),nV=kB(OB.Object({openapi:OB.String(),info:ZU,jsonSchemaDialect:OB.Optional(OB.String()),servers:OB.Optional(OB.Array(zU)),paths:OB.Optional(RU),webhooks:OB.Optional(RU),components:OB.Optional(PU),security:OB.Optional(OB.Array(MU)),tags:OB.Optional(OB.Array(NU)),externalDocs:OB.Optional(HU)}),rV),oV=OB.Module({[EU.ComponentsObject]:kz,[EU.SecurityRequirementObject]:HZ,[EU.TagObject]:tV,[EU.CallbackObject]:xz,[EU.PathItemObject]:sZ,[EU.PathsObject]:lZ,[EU.OperationObject]:eZ,[EU.SchemaObject]:zZ,[EU.EncodingObject]:Tz,[EU.MediaTypeObject]:qz,[EU.HeaderObject]:$z,[EU.ServerObject]:YZ,[EU.ExternalDocumentationObject]:Pz,[EU.InfoObject]:Hz,[EU.ContactObject]:Sz,[EU.LicenseObject]:Zz,[EU.ResponseObject]:pZ,[EU.ResponsesObject]:hZ,[EU.ParameterObject]:iZ,[EU.ExampleObject]:Ez,[EU.RequestBodyObject]:dZ,[EU.SecuritySchemes]:Oz,[EU.SecuritySchemeObject]:XZ,[EU.LinkObject]:Vz,[EU.XMLObject]:aV,[EU.DiscriminatorObject]:Az,[EU.OAuthFlowsObject]:SH,[EU.ServerVariableObject]:KZ,OpenApiDocument:nV,[EU.TraversedDescriptionObject]:sz,[EU.TraversedOperationObject]:cz,[EU.TraversedAsyncApiOperationObject]:uz,[EU.TraversedAsyncApiChannelObject]:dz,[EU.TraversedAsyncApiMessageObject]:pz,[EU.TraversedSchemaObject]:hz,[EU.TraversedWebhookObject]:mz,[EU.TraversedTagObject]:fz,[EU.TraversedEntryObject]:vz,[EU.TraversedDocumentObject]:iz}),iV=oV.Import("OpenApiDocument"),oV.Import("ComponentsObject"),sV=oV.Import("SecurityRequirementObject"),oV.Import("TagObject"),oV.Import("CallbackObject"),oV.Import("PathItemObject"),oV.Import("PathsObject"),oV.Import("OperationObject"),lV=oV.Import("SchemaObject"),oV.Import("EncodingObject"),oV.Import("MediaTypeObject"),oV.Import("HeaderObject"),cV=oV.Import("ServerObject"),oV.Import("ExternalDocumentationObject"),oV.Import("InfoObject"),oV.Import("ContactObject"),oV.Import("LicenseObject"),oV.Import("ResponseObject"),oV.Import("ResponsesObject"),oV.Import("ParameterObject"),oV.Import("ExampleObject"),oV.Import("RequestBodyObject"),oV.Import("SecuritySchemes"),uV=oV.Import("SecuritySchemeObject"),oV.Import("LinkObject"),oV.Import("XMLObject"),oV.Import("DiscriminatorObject"),oV.Import("OAuthFlowsObject"),oV.Import("ServerVariableObject"),oV.Import("TraversedDescriptionObject"),oV.Import("TraversedEntryObject"),oV.Import("TraversedTagObject"),oV.Import("TraversedOperationObject"),oV.Import("TraversedSchemaObject"),oV.Import("TraversedWebhookObject")}),sF=V(()=>{EB(),eC(),PB(),Bq(),iF(),dV={schema:e=>{if(void 0===e)return;let t=q_(e,V_);return jj(kB(lV,OB.Object({$ref:OB.Optional(OB.String())})),t)}}}),lF=V(()=>{B_(),zC(),BC(),sF(),pV=(new Date).toISOString(),hV={"date-time":pV,date:pV.split("T")[0],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:pV.split("T")[1].split(".")[0],"uri-reference":"../folder","uri-template":"https://example.com/{id}",uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000","object-id":"6592008029c8c3e4dc76256c"},mV=e=>{if(!("propertyNames"in e)||!e.propertyNames)return;let t=dV.schema(e.propertyNames);return t&&"enum"in t&&Array.isArray(t.enum)&&t.enum.length>0?t.enum:void 0},fV=(e,t=!1,a="")=>"type"in e&&"string"===e.type&&"format"in e&&"binary"===e.format?"@filename":t&&"format"in e&&e.format?hV[e.format]??a:a,gV=new WeakMap,vV=new WeakMap,bV=e=>_C(e,{depth:1}),yV=e=>{if(!e)return;let t=vV.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 vV.set(e,a),a}}},wV=(e,t,a,r=!1)=>{if(r||"object"!=typeof t||!t)return t;let n=bV(e),o=gV.get(n)??new Map;return o&&o.set(a,t),gV.set(n,o),t},xV=e=>!!(e.allOf||e.oneOf||e.anyOf),OV=(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)||xV(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=yV(t);return!(o&&o.has(n))},kV=(e,t)=>null==t?e:null==e?t:Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&"object"==typeof e&&t&&"object"==typeof t?{...e,...t}:t,SV=new WeakMap,AV=(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}},TV=e=>{let t=bV(e);if(SV.has(t))return SV.get(t);let a="$ref"in e?dV.schema(e):e;return SV.set(t,a),a},_V=(e,t,a=new Set,r=0)=>{if(r>50)return!0;let n=bV(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||!AV(t,"integer"))||AV(t,e)))return a.delete(n),!1;let o=e.anyOf;if(Array.isArray(o)&&o.length>0&&!o.some(e=>{let n=TV(e);return!!n&&_V(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=TV(e);return!!n&&_V(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=TV(e);return!n||_V(n,t,a,r+1)})?(a.delete(n),!1):(a.delete(n),!0)},CV=Symbol("INVALID_DEFAULT"),EV=e=>{let t=e.default;return _V(e,t)?t:CV},PV=(e,t)=>[...e,t].join("."),MV=(e,t,a,r)=>{let n=a?.compositionSelection?.[PV(e,t)];if("number"==typeof n&&!Number.isNaN(n))return Math.max(0,Math.min(n,r-1))},NV=e=>{if(e&&"object"==typeof e&&"x-order"in e){let t=Number(e["x-order"]);return Number.isNaN(t)?void 0:t}},$V=e=>Object.keys(e).sort((t,a)=>{let r=NV(e[t]),n=NV(e[a]);return void 0!==r&&void 0!==n?r-n:void 0===r?void 0===n?0:1:-1}),IV=(e,t,a,r,n,o,i)=>{let s={},l=RC(i,e),c=i.length>0;if("properties"in e&&e.properties){let n=e.properties,i=$V(n),c=i.length;for(let u=0;u<c;u++){let c=i[u],d=dV.schema(n[c]);if(!d)continue;let p=t?.xml&&"xml"in d?d.xml?.name:void 0,h=jV(d,t,{level:a+1,parentSchema:e,name:c,schemaPath:[...o,c],seen:r,dynamicScope:l});void 0!==h&&(s[p??c]=h)}}if("patternProperties"in e&&e.patternProperties)for(let n of Object.keys(e.patternProperties)){let i=dV.schema(e.patternProperties[n]);i&&(s[n]=jV(i,t,{level:a+1,parentSchema:e,name:n,schemaPath:[...o,n],seen:r,dynamicScope:l}))}if("additionalProperties"in e&&e.additionalProperties){let n="boolean"==typeof e.additionalProperties?e.additionalProperties:dV.schema(e.additionalProperties),i=!0===e.additionalProperties||"object"==typeof e.additionalProperties&&0===Object.keys(e.additionalProperties).length,c="object"==typeof n&&"x-additionalPropertiesName"in n&&"string"==typeof n["x-additionalPropertiesName"]&&n["x-additionalPropertiesName"].trim().length>0,u=c?void 0:mV(e),d=c?n["x-additionalPropertiesName"].trim():"additionalProperty",p=i?"anything":"object"==typeof n?jV(n,t,{level:a+1,schemaPath:[...o,d],seen:r,dynamicScope:l}):"anything";u&&u.length>0?s[String(u[0])]=p:s[d]=p}let u=e.oneOf?"oneOf":e.anyOf?"anyOf":void 0,d=u?e[u]:void 0;if(u&&d?.length){let e=MV(o,u,t,d.length)??0,n=dV.schema(d[e]);n&&Object.assign(s,jV(n,t,{level:a+1,schemaPath:o,seen:r,dynamicScope:l}))}else if(Array.isArray(e.allOf)&&e.allOf.length>0){let n=s,i=0;for(let s of e.allOf){let c=dV.schema(s),u=c&&(Array.isArray(c.oneOf)||Array.isArray(c.anyOf))?[...o,String(i++)]:o,d=jV(c,t,{level:a+1,parentSchema:e,seen:r,dynamicScope:l,schemaPath:u});n=kV(n,d)}n&&"object"==typeof n&&Object.assign(s,n)}if(t?.xml&&"xml"in e&&e.xml?.name&&0===a){let t={};return t[e.xml.name]=s,wV(e,t,n,c)}return wV(e,s,n,c)},RV=(e,t,a,r,n,o,i)=>{let s=RC(i,e),l=i.length>0,c="items"in e?dV.schema(e.items):void 0,u=r;if(c&&MC(c)){let e=DC(c.$dynamicRef,s);e&&(c=e,u=new WeakSet)}let d=[...o,"items"],p=c&&"object"==typeof c&&"xml"in c?c.xml?.name:void 0,h=!!(t?.xml&&"xml"in e&&e.xml?.wrapped&&p);if(void 0!==e.example)return wV(e,h?{[p]:e.example}:e.example,n,l);if(c&&"object"==typeof c){if(Array.isArray(c.allOf)&&c.allOf.length>0){let r=c.allOf.filter(N_),o=dV.schema(r[0]);if(o&&"object"==typeof o&&"type"in o&&"object"===o.type){let o=jV({type:"object",allOf:r},t,{level:a+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return wV(e,h?[{[p]:o}]:[o],n,l)}let i=r.map(r=>jV(dV.schema(r),t,{level:a+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s})).filter(N_);return wV(e,h?i.map(e=>({[p]:e})):i,n,l)}let r=c.oneOf?"oneOf":c.anyOf?"anyOf":void 0,o=r?c[r]:void 0;if(r&&o&&o.length>0){let i=o[MV(d,r,t,o.length)??0],c=jV(dV.schema(i),t,{level:a+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return wV(e,h?[{[p]:c}]:[c],n,l)}}let m=c&&"object"==typeof c&&("type"in c&&"object"===c.type||"properties"in c),f=c&&"object"==typeof c&&("type"in c&&"array"===c.type||"items"in c);if(c&&"object"==typeof c&&("type"in c&&c.type||m||f)){let r=jV(c,t,{level:a+1,schemaPath:d,seen:u,dynamicScope:s});return wV(e,h?[{[p]:r}]:[r],n,l)}return wV(e,[],n,l)},DV=(e,t,a)=>{if("type"in e&&e.type&&!Array.isArray(e.type))switch(e.type){case"string":return fV(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}},LV=(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 fV(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}}},BV=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}),jV=(e,t,{level:a=0,parentSchema:r,name:n,seen:o=new WeakSet,schemaPath:i=[],dynamicScope:s=[]}={})=>{let l=dV.schema(e);if(!N_(l))return;if(MC(l)){let e=DC(l.$dynamicRef,s);if(e)return jV(e,t,{level:a+1,parentSchema:r,name:n,seen:new WeakSet,schemaPath:i,dynamicScope:s})}let c=RC(s,l),u=s.length>0,d=bV(l);if(o.has(d))return;o.add(d);let p=BV(t)+(i.length>0?`:path:${i.join(".")}`:"");if(!u){let e=gV.get(d)?.get(p);if(void 0!==e)return o.delete(d),e}if(a>10)return o.delete(d),"[Max Depth Exceeded]";let h=!!t?.emptyString;if(OV(l,r,n,t))return void o.delete(d);if("x-variable"in l&&l["x-variable"]){let e=t?.variables?.[l["x-variable"]];if(void 0!==e)return!("type"in l)||"number"!==l.type&&"integer"!==l.type?(o.delete(d),wV(l,e,p,u)):(o.delete(d),wV(l,Number(e),p,u))}if(Array.isArray(l.examples)&&l.examples.length>0)return o.delete(d),wV(l,l.examples[0],p,u);if(void 0!==l.example)return o.delete(d),wV(l,l.example,p,u);if(void 0!==l.default){let e=EV(l);if(e!==CV)return o.delete(d),wV(l,e,p,u)}if(void 0!==l.const)return o.delete(d),wV(l,l.const,p,u);if(Array.isArray(l.enum)&&l.enum.length>0)return o.delete(d),wV(l,l.enum[0],p,u);if("properties"in l||"type"in l&&"object"===l.type){let e=IV(l,t,a,o,p,i,s);return o.delete(d),e}if("type"in l&&"array"===l.type||"items"in l){let e=RV(l,t,a,o,p,i,s);return o.delete(d),e}let m=DV(l,h,t?.emptyString);if(void 0!==m)return o.delete(d),wV(l,m,p,u);let f=l.oneOf?"oneOf":l.anyOf?"anyOf":void 0,g=f?l[f]:void 0;if(f&&Array.isArray(g)&&g.length>0){let e=MV(i,f,t,g.length),r=void 0===e?g.find(e=>{let t=dV.schema(e);return t&&(!("type"in t)||"null"!==t.type)}):g[e];if(r){let e=dV.schema(r);if(e)return o.delete(d),wV(l,jV(e,t,{level:a+1,schemaPath:i,seen:o,dynamicScope:c}),p,u)}return o.delete(d),wV(l,null,p,u)}if(Array.isArray(l.allOf)&&l.allOf.length>0){let e,r=l.allOf,n=0;for(let s of r){let r=dV.schema(s),u=r&&(Array.isArray(r.oneOf)||Array.isArray(r.anyOf))?[...i,String(n++)]:i,d=jV(s,t,{level:a+1,parentSchema:l,schemaPath:u,seen:o,dynamicScope:c});void 0===e?e=d:e&&"object"==typeof e&&d&&"object"==typeof d?e=kV(e,d):null!=d&&(e=d)}return o.delete(d),wV(l,e??null,p,u)}let v=LV(l,h,t?.emptyString);return void 0===v?(o.delete(d),wV(l,null,p,u)):(o.delete(d),wV(l,v,p,u))}}),cF=V(()=>{eC(),jC(),UC(),lF(),UV=(e,t,a)=>{let r=q_(e.content?.[t]?.schema);if(r)return jV(CC(r),{mode:"write",compositionSelection:a},{schemaPath:["requestBody"]})},zV=(e,t,a,r)=>{let n=PC(e,a,t);if(n&&void 0!==n.value)return n;let o=UV(e,t,r);return o?{value:o}:null}}),uF=V(()=>{HV=(e,t="default")=>e?.["x-scalar-selected-content-type"]?.[t]??Object.keys(e?.content??{})[0]??null}),dF=V(()=>{ZV=e=>"type"in e&&("object"===e.type||Array.isArray(e.type)&&e.type.includes("object")),VV=e=>"type"in e&&("array"===e.type||Array.isArray(e.type)&&e.type.includes("array")),qV=e=>"type"in e&&("string"===e.type||Array.isArray(e.type)&&e.type.includes("string")),QV=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")),FV=e=>void 0!==e&&"type"in e,WV=e=>"content"in e&&void 0!==e.content}),pF=V(()=>{eC(),dF(),GV=e=>{let t="type"in e?e.type:void 0;return Array.isArray(t)?[...t]:null==t?[]:[t]},XV=(e,t)=>{let a=e;for(let e of t){if(!a||!ZV(a)||!a.properties)return;a=q_(a.properties[e],V_)}return a},YV=(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"),KV=(e,t)=>{if("string"!=typeof e||!t)return e;let a=GV(t);if(0===a.length||a.includes("string"))return e;try{let t=JSON.parse(e);return YV(t,a)?t:e}catch{return e}},JV=e=>{if("string"!=typeof e)return e;try{let t=JSON.parse(e);return"string"==typeof t?e:t}catch{return e}},eq=e=>{let t=e?q_(e,V_):void 0;if(!t||!ZV(t)||!t.properties)return(e,t)=>!1;let a=new Set;for(let[e,r]of Object.entries(t.properties)){let t=r?q_(r,V_):void 0;t&&ZV(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)}}}),hF=V(()=>{tq=(e,t)=>"string"==typeof e?e:t.includes("json")||"object"==typeof e&&e&&!Array.isArray(e)?JSON.stringify(e):String(e),aq=(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},rq=(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,nq=(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},oq=e=>Array.isArray(e)?e.join(" "):"object"==typeof e&&e?Object.entries(e).map(([e,t])=>`${e} ${t}`).join(" "):String(e),iq=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)=>{if(Array.isArray(t))for(let a of t)r(`${e}[]`,a);else"object"==typeof t&&t?n(t,e):a.push({key:e,value:String(t)})},n=(e,t)=>{for(let[a,n]of Object.entries(e))r(`${t}[${a}]`,n)};return"object"==typeof t&&t&&!Array.isArray(t)&&n(t,e),a}}),mF=V(()=>{BC(),hF(),lq=e=>"object"==typeof e&&e?JSON.stringify(e):String(e),cq=(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=_C(t),n=a?.style??"form",o=a?.explode??"form"===n,i=[];if("deepObject"===n)if(Array.isArray(r)){let t=rq(r,!0);if(Array.isArray(t))for(let a of t)i.push({key:a.key||e,value:lq(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(oq(r))});else if("pipeDelimited"===n)i.push({key:e,value:String(iq(r))});else{let t=rq(r,o);if(Array.isArray(t))for(let a of t)i.push({key:a.key||e,value:lq(a.value)});else i.push({key:e,value:String(t)})}return i}});function fF(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 gF,vF,bF,yF,wF=V(()=>{Yk(),gF=(e,t={})=>e.replace(Zx.PATH,(e,a)=>t[a]??e),vF=(e,t={})=>e.replace(Zx.VARIABLES,(e,a)=>"function"==typeof t?t(a)??e:t[a]??e)}),xF=V(()=>{bF=e=>({ok:!0,data:e}),yF=(e,t)=>({ok:!1,error:e,message:t})});function OF(e){try{let t=e();return t instanceof Promise?t.then(e=>bF(e),e=>(console.error(e),yF(kF(e)))):bF(t)}catch(e){return console.error(e),yF(kF(e))}}var kF,SF=V(()=>{xF(),kF=e=>e instanceof Error?e.message:String(e)});function AF(e){try{let{hostname:t}=new URL(e);if(TF.includes(t))return!0;let a=t.split(".").pop();return!(!a||!_F.includes(a))}catch{return!0}}var TF,_F,CF,EF,PF,MF,NF,$F,IF,RF,DF,LF,BF,jF,UF,zF,HF,ZF,VF,qF,QF,FF,WF,GF,XF,YF,KF,JF,eW,tW,aW,rW,nW,oW,iW,sW,lW,cW,uW,dW,pW,hW,mW,fW,gW,vW,bW,yW,wW,xW,OW,kW,SW,AW,TW,_W,CW,EW,PW,MW,NW,$W,IW,RW,DW,LW,BW,jW,UW,zW,HW,ZW,VW,qW,QW,FW,WW,GW,XW,YW,KW,JW,eG,tG,aG,rG,nG,oG,iG,sG,lG,cG,uG,dG,pG,hG,mG,fG,gG,vG,bG,yG,wG,xG,OG,kG,SG,AG,TG,_G,CG,EG,PG,MG,NG,$G,IG,RG,DG,LG,BG,jG,UG,zG,HG,ZG,VG,qG,QG,FG,WG,GG,XG,YG,KG,JG,eX,tX,aX,rX,nX,oX,iX,sX,lX,cX,uX,dX,pX,hX,mX,fX,gX,vX,bX,yX,wX,xX,OX,kX,SX,AX,TX,_X,CX,EX,PX,MX,NX,$X,IX,RX,DX,LX,BX,jX,UX,zX,HX,ZX,VX,qX,QX,FX,WX,GX,XX,YX,KX,JX,eY,tY,aY,rY,nY,oY,iY,sY,lY,cY,uY,dY,pY,hY,mY,fY,gY,vY,bY,yY,wY,xY,OY,kY,SY,AY,TY,_Y,CY,EY,PY=V(()=>{TF=["localhost","127.0.0.1","[::1]","0.0.0.0"],_F=["test","example","invalid","localhost"]}),MY=V(()=>{PY(),Kk(),CF=(e,t)=>{try{if(!EF(e,t))return t??"";let a=new URL(t);return a.href=Vx(e)?`http://localhost${e}`:e,a.searchParams.append("scalar_url",t),Vx(e)?a.toString().replace(/^http:\/\/localhost/,""):a.toString()}catch{return t??""}},EF=(e,t)=>{try{return!(!e||!t||Vx(t))&&(!(!Vx(e)&&!AF(e))||!AF(t))}catch{return!1}}}),NY=V(()=>{"function"==typeof TextDecoder&&new TextDecoder("utf-8",{ignoreBOM:!0}),PF="function"==typeof TextEncoder?new TextEncoder:void 0,(e=>{let t={};e.forEach((e,a)=>t[e]=a)})(MF=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=")),NF=String.fromCharCode.bind(String),"function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),$F=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),IF=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+=MF[t>>18&63]+MF[t>>12&63]+MF[t>>6&63]+MF[63&t]}return i?o.slice(0,i-3)+"===".substring(i):o},RF="function"==typeof btoa?e=>btoa(e):IF,DF="function"==typeof Uint8Array.prototype.toBase64?e=>e.toBase64():e=>{let t=[];for(let a=0,r=e.length;a<r;a+=4096)t.push(NF.apply(null,e.subarray(a,a+4096)));return RF(t.join(""))},LF=(e,t=!1)=>t?$F(DF(e)):DF(e),BF=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?NF(192|t>>>6)+NF(128|63&t):NF(224|t>>>12&15)+NF(128|t>>>6&63)+NF(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return NF(240|t>>>18&7)+NF(128|t>>>12&63)+NF(128|t>>>6&63)+NF(128|63&t)},jF=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,UF=e=>e.replace(jF,BF),zF=PF?e=>DF(PF.encode(e)):e=>RF(UF(e)),HF=(e,t=!1)=>t?$F(zF(e)):zF(e),Uint8Array.fromBase64}),$Y=V(()=>{ZF=(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}}}),IY=V(()=>{$Y(),VF=({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&&!ZF(t,e.domain)||e.path&&!r.pathname.startsWith(e.path))}}),RY=V(()=>{aA(),IY(),qF=(e,t)=>{let a=e.map(e=>`${e.name}=${e.value}`).join("; ");return t&&a?`${t}; ${a}`:t||a||""},QF=({cookies:e,originalCookieHeader:t,url:a,useCustomCookieHeader:r})=>{let n=qF(e.filter(e=>VF({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:LS,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}}),DY=V(()=>{FF={21:"!",24:"$",27:"'",28:"(",29:")","2A":"*","2C":",","2F":"/","3A":":","3B":";",40:"@"},WF=e=>e.replace(/%([0-9A-Fa-f]{2})/g,(e,t)=>FF[t.toUpperCase()]??e),GF=e=>{try{return decodeURIComponent(e.replaceAll("+","%20"))}catch{return e}},XF=(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=GF(r);if(!t.has(n)||-1===a)return e;let o=e.slice(a+1);return`${r}=${WF(o)}`}).join("&")}${i}`:e}}),LY=V(()=>{wF(),xF(),SF(),Kk(),vS(),YF="INVALID_REQUEST_FACTORY_URL",KF=(e,t)=>{let a=t.envVariables,r=OF(()=>Object.fromEntries(Object.entries(e.path.variables).map(([e,t])=>[e,encodeURIComponent(vF(t,a))])));if(!r.ok)return yF(YF,"The request URL contains invalid characters in path parameters.");let n=r.data,o=tS(vF(e.baseUrl,a),gF(vF(e.path.raw,a),n));if(!t.allowMissingRequestServerBase&&Vx(o))return yF("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=OF(()=>new URL(o,s));if(!l.ok)return yF(YF,"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(vF(t,a),vF(r,a));let d=new URLSearchParams;for(let[e,a]of t.securityQueryParams.entries())d.append(e,a);return c.search=Jk(c.searchParams,u,d).toString(),bF(c.toString())}}),BY=V(()=>{JF=["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"],eW="abcdefghijklmnopqrstuvwxyz0123456789",tW=["#e34f26","#3498db","#2ecc71","#9b59b6","#f1c40f","#1abc9c","#e74c3c","#2c3e50","#d35400","#8e44ad","#27ae60","#c0392b","#16a085","#f39c12","#7f8c8d"],aW=["HTTP","SQL","TCP","JSON","XML","API","SSL","CSS","HTML","RAM","FTP","SSH","DNS","URL","USB"],rW=["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"],nW=["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"],oW=["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"],iW=["en","es","fr","de","it","pt","ja","zh","ko","ar","ru","nl","sv","pl","da","fi","nb","tr","hi","th"],sW=["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"],lW=["http","https"],cW=["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"],uW=["Emma","Liam","Olivia","Noah","Ava","James","Sophia","Oliver","Isabella","Lucas","Mia","Ethan","Charlotte","Mason","Amelia"],dW=["Smith","Johnson","Williams","Brown","Jones","Garcia","Miller","Davis","Rodriguez","Martinez","Hernandez","Lopez","Gonzalez","Wilson","Anderson"],pW=["Mr.","Mrs.","Ms.","Dr.","Prof.","Rev.","Sir","Mx."],hW=["Jr.","Sr.","II","III","IV","PhD","MD","DDS","Esq."],mW=["Marketing","Engineering","Finance","Operations","Human Resources","Sales","Research","Design","Legal","Product","Data","Support","Quality","Security","Communications"],fW=["Senior","Lead","Junior","Principal","Chief","Associate","Global","Regional","Internal","Dynamic","Staff","Executive","National","Strategic","Corporate"],gW=["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"],vW=["Full-time","Part-time","Contract","Freelance","Internship","Temporary","Remote","Hybrid","Consultant","Seasonal"],bW=["(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"],yW=["New York","London","Tokyo","Paris","Sydney","Toronto","Berlin","Singapore","Mumbai","São Paulo","Amsterdam","Seoul","Dublin","Barcelona","Melbourne"],wW=["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"],xW=["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"],OW=["United States","United Kingdom","Canada","Australia","Germany","France","Japan","Brazil","India","Netherlands","South Korea","Singapore","Ireland","Spain","Sweden"],kW=["US","GB","CA","AU","DE","FR","JP","BR","IN","NL","KR","SG","IE","ES","SE","IT","NO","DK","FI","CH"],SW=["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"],AW=["-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"],TW=["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"],_W=["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"],CW="https://loremflickr.com/640/480",EW=Array.from({length:10},(e,t)=>`${CW}/abstract?lock=${t+1}`),PW=Array.from({length:10},(e,t)=>`${CW}/animals?lock=${t+1}`),MW=Array.from({length:10},(e,t)=>`${CW}/business?lock=${t+1}`),NW=Array.from({length:10},(e,t)=>`${CW}/cat?lock=${t+1}`),$W=Array.from({length:10},(e,t)=>`${CW}/city?lock=${t+1}`),IW=Array.from({length:10},(e,t)=>`${CW}/food?lock=${t+1}`),RW=Array.from({length:10},(e,t)=>`${CW}/nightlife?lock=${t+1}`),DW=Array.from({length:10},(e,t)=>`${CW}/fashion?lock=${t+1}`),LW=Array.from({length:10},(e,t)=>`${CW}/people?lock=${t+1}`),BW=Array.from({length:10},(e,t)=>`${CW}/nature?lock=${t+1}`),jW=Array.from({length:10},(e,t)=>`${CW}/sports?lock=${t+1}`),UW=Array.from({length:10},(e,t)=>`${CW}/transport?lock=${t+1}`),zW=["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"],HW=["34042448","34102758","02997566","52631809","75412296","37762776","44117882","13865687","44377086","74440091"],ZW=["Personal Checking","Savings Account","Money Market","Home Loan","Auto Loan","Investment Account","Business Checking","Credit Card","Retirement Fund","College Savings"],VW=["DEUTDEFF","BNPAFRPP","CHASUS33","HSBCGB2L","COBADEFF","SCBLSGSG","ANZBAU3M","CITIUS33","BOFAUS3N","NWBKGB2L"],qW=["GB29NWBK60161331926819","DE89370400440532013000","FR7630006000011234567890189","ES9121000418450200051332","IT60X0542811101000000123456","NL91ABNA0417164300","CH9300762011623852957","BE68539007547034","AT611904300234573201","FI2112345600000785"],QW=["deposit","withdrawal","payment","invoice","transfer"],FW=["USD","EUR","GBP","JPY","AUD","CAD","CHF","CNY","INR","BRL","SEK","NOK","DKK","SGD","HKD"],WW=["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"],GW=["$","€","£","¥","A$","C$","CHF","¥","₹","R$"],XW=["1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa","3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy","bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4","1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2","3Kzh9qAqVWQhEsfQz7zEQL1EuSx5tyNLNS","1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF","bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh","3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5","1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ","bc1q42lja79elem0anu8q860g3milve2ycq5t8g3ux"],YW=["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"],KW=["Inc","LLC","Group","Ltd","PLC","Corp"],JW=["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"],eG=["innovative","scalable","seamless","cutting-edge","robust","synergistic","dynamic","holistic","strategic","disruptive","frictionless","proactive","world-class","collaborative","granular"],tG=["leverage","iterate","synergize","monetize","orchestrate","disintermediate","harness","incentivize","optimize","streamline","revolutionize","cultivate","empower","facilitate","aggregate"],aG=["frameworks","paradigms","synergies","platforms","infrastructures","bandwidth","channels","communities","convergence","deliverables","e-markets","experiences","initiatives","interfaces","methodologies"],rG=["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"],nG=["Adaptive","Advanced","Automated","Balanced","Business-focused","Centralized","Cloned","Configurable","Cross-group","Customizable","De-engineered","Decentralized","Digitized","Distributed","Enhanced"],oG=["24 hour","actuating","analyzing","asymmetric","asynchronous","background","bandwidth-monitored","bi-directional","bifurcated","bottom-line","clear-thinking","client-driven","client-server","coherent","cohesive"],iG=["ability","access","algorithm","alliance","analyzer","application","approach","architecture","array","attitude","benchmark","budgetary management","capability","capacity","challenge"],sG=["id","name","email","status","created_at","updated_at","description","amount","category","token","avatar","phone","address","comment","title"],lG=["int","varchar","text","boolean","date","timestamp","float","bigint","json","uuid","decimal","enum","blob","char","smallint"],cG=["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"],uG=["InnoDB","MyISAM","MEMORY","CSV","ARCHIVE","FEDERATED","NDB","MERGE","BLACKHOLE","EXAMPLE"],dG=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],pG=["January","February","March","April","May","June","July","August","September","October","November","December"],hG=["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"],mG=["com","org","net","io","dev","co","info","app","me","xyz"],fG=["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"],gG=["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"],vG=["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"],bG=["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"],yG=["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"],xG=["application","text","image","audio","video","font","model","multipart","message","chemical"],OG=["pdf","csv","png","json","md","yml","html","txt","xml","sql","tar","gz","wasm","webp"],kG=["report.pdf","photo.jpg","document.docx","spreadsheet.xlsx","presentation.pptx","image.png","video.mp4","audio.mp3","archive.zip","readme.txt"],SG=["text","application","image","audio","video"],AG=["pdf","jpg","png","gif","mp3","mp4","doc","xls","ppt","txt","zip","html","css","js","json"],TG=["/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"],_G=["/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"],CG=["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"],EG=["Chair","Computer","Keyboard","Mouse","Table","Phone","Shoes","Shirt","Pants","Hat","Bike","Towels","Gloves","Soap","Tuna"],PG=["Refined","Elegant","Rustic","Gorgeous","Practical","Fantastic","Handcrafted","Incredible","Licensed","Sleek","Intelligent","Recycled","Modern","Bespoke","Ergonomic"],MG=["Cotton","Steel","Wooden","Concrete","Rubber","Granite","Plastic","Frozen","Soft","Metal","Bronze","Silk","Leather","Ceramic","Bamboo"],NG=["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"],$G=["Electronics","Clothing","Books","Home","Garden","Sports","Toys","Automotive","Grocery","Health","Beauty","Music","Movies","Games","Outdoors"],IG=["server","database","network","protocol","system","algorithm","interface","module","component","function","framework","library","instance","variable","endpoint"],RG=["run","build","deploy","parse","fetch","render","compile","stream","cache","merge","sync","push","pull","test","debug"],DG=["running","building","deploying","parsing","fetching","rendering","compiling","streaming","caching","merging","syncing","pushing","pulling","testing","debugging"],LG=["fast","secure","scalable","robust","dynamic","modular","stable","lightweight","portable","resilient","efficient","responsive","concurrent","stateless","distributed"],BG=["pixel","quantum","cipher","matrix","vector","nexus","pulse","flux","forge","prism","vortex","helix","orbit","spark","nebula"],jG=["lorem","ipsum","dolor","sit","amet","consectetur","adipiscing","elit","sed","do","eiusmod","tempor","incididunt","ut","labore","et","dolore","magna","aliqua","enim"],UG=["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."],HG=["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"]}),jY=V(()=>{BY(),ZG=e=>e[Math.floor(Math.random()*e.length)],VG=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,qG=e=>Array.from({length:e},()=>Math.floor(10*Math.random())).join(""),QG=e=>Array.from({length:e},()=>eW[Math.floor(Math.random()*eW.length)]).join(""),FG=()=>{let e=Date.now()+864e5*VG(1,365);return new Date(e).toISOString()},WG=()=>{let e=Date.now()-864e5*VG(1,365);return new Date(e).toISOString()},GG=()=>{let e=Date.now()-864e5*VG(1,3);return new Date(e).toISOString()},XG=(e,t,a)=>{let r=VG(t,a);return Array.from({length:r},()=>ZG(e)).join(" ")},YG=(e,t,a)=>{let r=VG(t,a);return Array.from({length:r},()=>ZG(e)).join(" ")},KG=(e,t,a)=>{let r=VG(t,a);return Array.from({length:r},()=>ZG(e)).join("\n")},JG={$guid:{fn:()=>ZG(JF),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:()=>ZG(JF),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:()=>VG(0,1e3).toString(),comment:"A random integer between 0 and 1000"},$randomColor:{fn:()=>ZG(tW),comment:"A random color in hex format"},$randomHexColor:{fn:()=>ZG(tW),comment:"A random hex value"},$randomAbbreviation:{fn:()=>ZG(aW),comment:"A random abbreviation"},$randomIP:{fn:()=>ZG(rW),comment:"A random IPv4 address"},$randomIPV6:{fn:()=>ZG(nW),comment:"A random IPv6 address"},$randomMACAddress:{fn:()=>ZG(oW),comment:"A random MAC address"},$randomPassword:{fn:()=>QG(15),comment:"A random 15-character alpha-numeric password"},$randomLocale:{fn:()=>ZG(iW),comment:"A random two-letter language code (ISO 639-1)"},$randomUserAgent:{fn:()=>ZG(sW),comment:"A random user agent"},$randomProtocol:{fn:()=>ZG(lW),comment:"A random internet protocol"},$randomSemver:{fn:()=>ZG(cW),comment:"A random semantic version number"},$randomFirstName:{fn:()=>ZG(uW),comment:"A random first name"},$randomLastName:{fn:()=>ZG(dW),comment:"A random last name"},$randomFullName:{fn:()=>`${ZG(uW)} ${ZG(dW)}`,comment:"A random first and last name"},$randomNamePrefix:{fn:()=>ZG(pW),comment:"A random name prefix"},$randomNameSuffix:{fn:()=>ZG(hW),comment:"A random name suffix"},$randomJobArea:{fn:()=>ZG(mW),comment:"A random job area"},$randomJobDescriptor:{fn:()=>ZG(fW),comment:"A random job descriptor"},$randomJobTitle:{fn:()=>ZG(gW),comment:"A random job title"},$randomJobType:{fn:()=>ZG(vW),comment:"A random job type"},$randomPhoneNumber:{fn:()=>ZG(bW),comment:"A random ten-digit phone number"},$randomPhoneNumberExt:{fn:()=>`${VG(10,99)}-${ZG(bW)}`,comment:"A random phone number prefixed with a two-digit extension (10–99)"},$randomCity:{fn:()=>ZG(yW),comment:"A random city name"},$randomStreetName:{fn:()=>ZG(wW),comment:"A random street name"},$randomStreetAddress:{fn:()=>ZG(xW),comment:"A random street address"},$randomCountry:{fn:()=>ZG(OW),comment:"A random country"},$randomCountryCode:{fn:()=>ZG(kW),comment:"A random two-letter country code (ISO 3166-1 alpha-2)"},$randomLatitude:{fn:()=>ZG(SW),comment:"A random latitude coordinate"},$randomLongitude:{fn:()=>ZG(AW),comment:"A random longitude coordinate"},$randomAvatarImage:{fn:()=>ZG(TW),comment:"A random avatar image"},$randomImageUrl:{fn:()=>ZG(_W),comment:"A URL of a random image"},$randomAbstractImage:{fn:()=>ZG(EW),comment:"A URL of a random abstract image"},$randomAnimalsImage:{fn:()=>ZG(PW),comment:"A URL of a random animal image"},$randomBusinessImage:{fn:()=>ZG(MW),comment:"A URL of a random stock business image"},$randomCatsImage:{fn:()=>ZG(NW),comment:"A URL of a random cat image"},$randomCityImage:{fn:()=>ZG($W),comment:"A URL of a random city image"},$randomFoodImage:{fn:()=>ZG(IW),comment:"A URL of a random food image"},$randomNightlifeImage:{fn:()=>ZG(RW),comment:"A URL of a random nightlife image"},$randomFashionImage:{fn:()=>ZG(DW),comment:"A URL of a random fashion image"},$randomPeopleImage:{fn:()=>ZG(LW),comment:"A URL of a random image of a person"},$randomNatureImage:{fn:()=>ZG(BW),comment:"A URL of a random nature image"},$randomSportsImage:{fn:()=>ZG(jW),comment:"A URL of a random sports image"},$randomTransportImage:{fn:()=>ZG(UW),comment:"A URL of a random transportation image"},$randomImageDataUri:{fn:()=>ZG(zW),comment:"A random image data URI"},$randomBankAccount:{fn:()=>ZG(HW),comment:"A random 8-digit bank account number"},$randomBankAccountName:{fn:()=>ZG(ZW),comment:"A random bank account name"},$randomCreditCardMask:{fn:()=>`**** **** **** ${qG(4)}`,comment:"A random masked credit card number"},$randomBankAccountBic:{fn:()=>ZG(VW),comment:"A random BIC (Bank Identifier Code)"},$randomBankAccountIban:{fn:()=>ZG(qW),comment:"A random 15-31 character IBAN (International Bank Account Number)"},$randomTransactionType:{fn:()=>ZG(QW),comment:"A random transaction type"},$randomCurrencyCode:{fn:()=>ZG(FW),comment:"A random 3-letter currency code (ISO-4217)"},$randomCurrencyName:{fn:()=>ZG(WW),comment:"A random currency name"},$randomCurrencySymbol:{fn:()=>ZG(GW),comment:"A random currency symbol"},$randomBitcoin:{fn:()=>ZG(XW),comment:"A random bitcoin address"},$randomCompanyName:{fn:()=>ZG(YW),comment:"A random company name"},$randomCompanySuffix:{fn:()=>ZG(KW),comment:"A random company suffix"},$randomBs:{fn:()=>ZG(JW),comment:"A random phrase of business-speak"},$randomBsAdjective:{fn:()=>ZG(eG),comment:"A random business-speak adjective"},$randomBsBuzz:{fn:()=>ZG(tG),comment:"A random business-speak buzzword"},$randomBsNoun:{fn:()=>ZG(aG),comment:"A random business-speak noun"},$randomCatchPhrase:{fn:()=>ZG(rG),comment:"A random catchphrase"},$randomCatchPhraseAdjective:{fn:()=>ZG(nG),comment:"A random catchphrase adjective"},$randomCatchPhraseDescriptor:{fn:()=>ZG(oG),comment:"A random catchphrase descriptor"},$randomCatchPhraseNoun:{fn:()=>ZG(iG),comment:"Randomly generates a catchphrase noun"},$randomDatabaseColumn:{fn:()=>ZG(sG),comment:"A random database column name"},$randomDatabaseType:{fn:()=>ZG(lG),comment:"A random database type"},$randomDatabaseCollation:{fn:()=>ZG(cG),comment:"A random database collation"},$randomDatabaseEngine:{fn:()=>ZG(uG),comment:"A random database engine"},$randomDateFuture:{fn:FG,comment:"A random future datetime"},$randomDatePast:{fn:WG,comment:"A random past datetime"},$randomDateRecent:{fn:GG,comment:"A random recent datetime"},$randomWeekday:{fn:()=>ZG(dG),comment:"A random weekday"},$randomMonth:{fn:()=>ZG(pG),comment:"A random month"},$randomDomainName:{fn:()=>ZG(hG),comment:"A random domain name"},$randomDomainSuffix:{fn:()=>ZG(mG),comment:"A random domain suffix"},$randomDomainWord:{fn:()=>ZG(fG),comment:"A random unqualified domain name"},$randomEmail:{fn:()=>ZG(gG),comment:"A random email address"},$randomExampleEmail:{fn:()=>ZG(vG),comment:"A random email address from an example domain"},$randomUserName:{fn:()=>ZG(bG),comment:"A random username"},$randomUrl:{fn:()=>ZG(yG),comment:"A random URL"},$randomFileName:{fn:()=>ZG(wG),comment:"A random file name (includes uncommon extensions)"},$randomFileType:{fn:()=>ZG(xG),comment:"A random file type (includes uncommon file types)"},$randomFileExt:{fn:()=>ZG(OG),comment:"A random file extension (includes uncommon extensions)"},$randomCommonFileName:{fn:()=>ZG(kG),comment:"A random file name"},$randomCommonFileType:{fn:()=>ZG(SG),comment:"A random, common file type"},$randomCommonFileExt:{fn:()=>ZG(AG),comment:"A random, common file extension"},$randomFilePath:{fn:()=>ZG(TG),comment:"A random file path"},$randomDirectoryPath:{fn:()=>ZG(_G),comment:"A random directory path"},$randomMimeType:{fn:()=>ZG(CG),comment:"A random MIME type"},$randomPrice:{fn:()=>(1e3*Math.random()).toFixed(2),comment:"A random price between 0.00 and 1000.00"},$randomProduct:{fn:()=>ZG(EG),comment:"A random product"},$randomProductAdjective:{fn:()=>ZG(PG),comment:"A random product adjective"},$randomProductMaterial:{fn:()=>ZG(MG),comment:"A random product material"},$randomProductName:{fn:()=>ZG(NG),comment:"A random product name"},$randomDepartment:{fn:()=>ZG($G),comment:"A random commerce department"},$randomNoun:{fn:()=>ZG(IG),comment:"A random noun"},$randomVerb:{fn:()=>ZG(RG),comment:"A random verb"},$randomIngverb:{fn:()=>ZG(DG),comment:"A random verb ending in `-ing`"},$randomAdjective:{fn:()=>ZG(LG),comment:"A random adjective"},$randomWord:{fn:()=>ZG(BG),comment:"A random word"},$randomWords:{fn:()=>XG(BG,2,5),comment:"Some random words"},$randomPhrase:{fn:()=>ZG(JW),comment:"A random phrase"},$randomLoremWord:{fn:()=>ZG(jG),comment:"A random word of lorem ipsum text"},$randomLoremWords:{fn:()=>XG(jG,3,3),comment:"Some random words of lorem ipsum text"},$randomLoremSentence:{fn:()=>ZG(UG),comment:"A random sentence of lorem ipsum text"},$randomLoremSentences:{fn:()=>YG(UG,2,6),comment:"A random 2 to 6 sentences of lorem ipsum text"},$randomLoremParagraph:{fn:()=>ZG(zG),comment:"A random paragraph of lorem ipsum text"},$randomLoremParagraphs:{fn:()=>YG(zG,3,3),comment:"3 random paragraphs of lorem ipsum text"},$randomLoremText:{fn:()=>YG(zG,1,3),comment:"A random amount of lorem ipsum text"},$randomLoremSlug:{fn:()=>ZG(HG),comment:"A random lorem ipsum URL slug"},$randomLoremLines:{fn:()=>KG(UG,1,5),comment:"1 to 5 random lines of lorem ipsum"}},eX=e=>JG[e].comment,tX=["$guid","$timestamp","$isoTimestamp","$randomUUID","$randomEmail","$randomInt","$randomFirstName","$randomLastName"],aX=Object.keys(JG),rX=e=>Object.hasOwn(JG,e)}),UY=V(()=>{aA(),wF(),xF(),SF(),MY(),NY(),RY(),DY(),LY(),jY(),nX=[{header:"date",scalarHeader:US},{header:"dnt",scalarHeader:zS},{header:"referer",scalarHeader:HS},{header:"user-agent",scalarHeader:jS}],oX=(e,t)=>{let a=vF(e.value,t);return"basic"===e.format?`Basic ${HF(a)}`:"bearer"===e.format?`Bearer ${a}`:a},iX=e=>t=>rX(t)?JG[t].fn()??null:e[t]??null,sX=(e,t,a)=>{let r=iX(t),n=new URLSearchParams;e.options?.disableSecurity||e.security.forEach(e=>{if("query"!==e.in)return;let t=vF(e.name,r);n.append(t,oX(e,r))});let o=KF(e,{envVariables:r,securityQueryParams:n,allowMissingRequestServerBase:a?.allowMissingRequestServerBase??!0});if(!o.ok)throw Error(o.message??o.error);return XF(o.data,e.allowedReservedQueryParameters??new Set)},lX=(e,t)=>{let a=OF(()=>cX(e,t));return a.ok?a.data:yF("BUILD_REQUEST_FAILED",a.error)},cX=(e,t)=>{let a=iX(t.envVariables),r=new AbortController,n=(()=>{let t=new Headers;return e.headers.forEach((e,r)=>{t.set(vF(r,a),vF(e,a))}),t})(),o=(()=>{if("raw"===e.body?.mode)return"string"==typeof e.body.value?vF(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(vF(e.key,a),e.value):t.append(vF(e.key,a),vF(e.value,a))}),t}return"urlencoded"===e.body?.mode?new URLSearchParams(e.body.value.map(e=>[vF(e.key,a),vF(e.value,a)])):null})(),i=new URLSearchParams,s=[];e.options?.disableSecurity||e.security.forEach(e=>{let t=vF(e.name,a),r=oX(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=KF(e,{envVariables:a,securityQueryParams:i,allowMissingRequestServerBase:t.allowMissingRequestServerBase});if(!l.ok)return yF(l.error,l.message);let c=l.data,u=EF(e.proxyUrl,c),d=QF({cookies:[...e.cookies,...s].map(e=>({...e,name:vF(e.name,a),value:vF(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)&&nX.forEach(({header:e,scalarHeader:t})=>{let a=n.get(e);a&&(n.set(t,a),n.delete(e))});let p=XF(c,e.allowedReservedQueryParameters??new Set);return bF({requestPayload:[u?CF(e.proxyUrl,p):p,{method:e.method.toUpperCase(),headers:n,body:o,cache:e.cache,signal:r.signal}],controller:r,isUsingProxy:u})}}),zY=V(()=>{eC(),uX=(e,t)=>"content"in t?dX(e,Object.keys(t.content??{})[0]??""):"schema"in t?mX(e,t.schema):e,dX=(e,t)=>{if("string"==typeof e&&t.includes("json"))try{return JSON.parse(e)}catch{return e}return e},pX=new Set(["array","object"]),hX=e=>{let t=q_(e);if(t&&"object"==typeof t){if("type"in t&&t.type){let e=Array.isArray(t.type)?t.type.find(e=>pX.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=hX(e);if(t)return t}}}},mX=(e,t)=>{if("string"==typeof e){let a=hX(t);if(a){try{let t=JSON.parse(e);if("array"!==a||Array.isArray(t))return t;if("string"==typeof t)return[t]}catch{}if("array"===a)return e.split(/,\s?/).filter(e=>""!==e)}}return e}}),HY=V(()=>{fX=(e,t,a=!0)=>{let r=t?.["x-disabled"];return"boolean"==typeof r?r:!!a&&(!e.required&&"path"!==e.in)}}),ZY=V(()=>{gX=e=>e.variables.reduce((e,t)=>(e[t.name]="string"==typeof t.value?t.value:t.value.default,e),{})}),VY=V(()=>{vX=e=>Object.entries(e)}),qY=V(()=>{VY(),bX=e=>e?vX(e?.variables??{}).reduce((e,[t,a])=>(a.default&&(e[t]=a.default),e),{}):{}}),QY=V(()=>{wF(),vS(),qY(),yX=({server:e,path:t,urlParams:a})=>{let r=bX(e);return tS(fF(e?.url??"",r),t,a)}}),FY=V(()=>{B_(),wX=(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(N_).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(N_).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}}),WY=V(()=>{eA(),eC(),HY(),xX={accept:"Accept","content-type":"Content-Type","user-agent":"User-Agent"},OX=e=>xX[e.toLowerCase()]??e,kX=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[OX(e),t])),SX=(e,t)=>{let a=new Set;for(let r of e.parameters??[]){let e=q_(r);if("header"!==e.in)continue;let n="examples"in e&&e.examples?.[t]?e.examples[t]:void 0;fX(e,n?q_(n):void 0)||a.add(e.name.toLowerCase())}return a},AX=(e,t,a,r)=>{let n=r.hideOverriddenHeaders?SX(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])}))},TX=(e,t,a)=>AX(e,t,a,{hideOverriddenHeaders:!1,hideDisabledHeaders:!0}),_X=({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=q_(t.requestBody);if(IS(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?q_(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?AX(t,a,d,{hideOverriddenHeaders:n,hideDisabledHeaders:r}):d}}),GY=V(()=>{CX=new Set(["__proto__","prototype","constructor"]),EX=(e,t)=>{if(CX.has(e)){throw Error(t?`Prototype pollution key detected: "${e}" in ${t}`:`Prototype pollution key detected: "${e}"`)}},PX=e=>CX.has(e)}),XY=V(()=>{J_(),GY(),MX=(e,t,a)=>{let[r,...n]=t;if(!r)return;if(EX(r),!n.length)return void(e[r]=a);let o=z_(e[r])?e[r]:{};e[r]=o,MX(o,n,a)}}),YY=V(()=>{J_(),XY(),eC(),BC(),dF(),cF(),uF(),pF(),mF(),NX=(e,t,a)=>e.content[t]?.encoding?.[a]?.contentType,$X=(e,t="default",a)=>{if(!e)return null;let r=HV(e,t);if(!r)return null;let n=zV(e,r,t,a);if(!n)return null;let o=q_(e.content[r]?.schema,V_),i=o&&ZV(o)?o:void 0,s=!!(i?.allOf||i?.oneOf||i?.anyOf),l=i&&!s?i.properties:void 0,c=new Set(i&&!s?i.required??[]:[]),u=e=>!(!l||!Object.hasOwn(l,e)||c.has(e));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?q_(e.content[r]?.schema,V_):void 0,i="formdata"===a.mode?eq(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})),MX(r,t.slice(1),KV(e.value,XV(o,t)))}return s.forEach(({name:t,value:n})=>{if(!t)return;let o=e.content[r]?.encoding?.[t],i=cq(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=_C(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(_C(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&&z_(n.value)){let t={mode:"urlencoded",value:[]};for(let[a,o]of Object.entries(n.value))if(!u(a)&&a&&null!=o){let n=e.content[r]?.encoding?.[a],i=cq(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(_C(o)):String(o);t.value.push({key:a,value:s})}return t}if("multipart/form-data"===r&&z_(n.value)){let t={mode:"formdata",value:[]};for(let[a,o]of Object.entries(n.value)){if(!a||null==o||u(a))continue;let n=e.content[r]?.encoding?.[a],i=cq(a,o,n);if(i){for(let e of i)t.value.push({type:"text",key:e.key,value:e.value});continue}let s=NX(e,r,a);if(o instanceof File){let e=_C(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(_C(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 d=null!==n.value&&"object"==typeof n.value?_C(n.value):n.value;return d instanceof File?{mode:"raw",value:d,contentType:d.type}:"object"==typeof d?{mode:"raw",value:JSON.stringify(d),contentType:"application/json"}:{mode:"raw",value:d}}}),KY=V(()=>{B_(),J_(),eC(),Yq(),Bq(),zY(),UC(),HY(),hF(),IX=(e,t)=>"explode"in e&&void 0!==e.explode?e.explode:t,RX=(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=q_(r),n=PC(e,t,void 0);if(!n||fX(e,n))continue;let o=n.value,i=uX(o,e),s=e.name;switch(e.in){case"header":{if("content-type"===s.toLowerCase()&&"multipart/form-data"===i)break;let t=aq(i,IX(e,!1));if(!N_(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=aq(i,IX(e,!1));a.pathVariables[s]=String(t);break}case"query":jX(e,s,i,a.urlParams,a.allowReservedQueryParameters);break;case"cookie":UX(s,i,IX(e,!0),a.cookies)}}return a},DX=(e,t)=>"style"in e&&e.style?"deepObject"===e.style?z_(t)?"deepObject":"form":e.style:"form",LX=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,BX=(e,t,...a)=>{if(t)for(let t of a)e.add(t)},jX=(e,t,a,r,n)=>{let o=!("explode"in e)||void 0===e.explode||e.explode,i=LX(e),s=DX(e,a);if("content"in e&&e.content){let o=tq(a,Object.keys(e.content)[0]??"application/json");return r.set(t,o),void BX(n,i,t)}if("deepObject"===s&&o){let e=sq(t,a);for(let a of e)r.append(a.key,a.value),BX(n,i,t);return}if("spaceDelimited"===s){let e=oq(a),o=r.get(t);return r.set(t,o?`${o} ${e}`:e),void BX(n,i,t)}if("pipeDelimited"===s){let e=iq(a),o=r.get(t);return r.set(t,o?`${o}|${e}`:e),void BX(n,i,t)}let l=rq(a,o);if(Array.isArray(l))for(let e of l){let a=e.key||t;r.append(a,String(e.value)),BX(n,i,t)}else r.append(t,String(l)),BX(n,i,t)},UX=(e,t,a,r)=>{let n=nq(t,a);if(Array.isArray(n))for(let t of n){let a=t.key||e;r.push(jj(fU,{name:a,value:String(t.value),path:"/"}))}else r.push(jj(fU,{name:e,value:String(n),path:"/"}))}}),JY=V(()=>{eA(),wF(),eC(),qY(),FY(),WY(),YY(),KY(),zX=({exampleName:e,globalCookies:t,method:a,operation:r,path:n,proxyUrl:o,server:i,defaultHeaders:s,isElectron:l,selectedSecuritySchemes:c,requestBodyCompositionSelection:u})=>{let d=q_(r.requestBody),p=RX(r.parameters??[],e),h=wX(c),m=new Headers({...TX(r,e,s),...p.headers}),f=IS(a)?$X(d,e,u):null;("formdata"===f?.mode||"urlencoded"===f?.mode)&&m.delete("Content-Type");let g=bX(i),v=gF(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],w=m.get("Accept")?.toLowerCase().includes("text/event-stream")??!1,x=w?"no-store":"default";return w&&(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}}}}),eK=V(()=>{HX=["userPassword","plain","scramSha256","scramSha512"],ZX=e=>!!e&&HX.includes(e),VX=["symmetricEncryption","asymmetricEncryption"],qX=e=>!!e&&VX.includes(e)}),tK=V(()=>{cF(),uF(),pF(),mF(),UY(),zY(),IY(),HY(),hF(),ZY(),UC(),lF(),QY(),qY(),JY(),LY(),eK(),FY()}),aK=V(()=>{J_(),QX=e=>z_(e)&&"openapi"in e&&"string"==typeof e.openapi,FX=e=>z_(e)&&"asyncapi"in e&&"string"==typeof e.asyncapi,WX=e=>QX(e)?"openapi":FX(e)?"asyncapi":void 0,GX=e=>"asyncapi"===e?"AsyncAPI":"OpenAPI"}),rK=V(()=>{zq(),aK(),Bq(),XX=(e,t)=>{if(null===e)return{name:null,environment:jj(qj,{})};let a=e.workspace["x-scalar-active-environment"];if(!a)return{name:null,environment:jj(qj,{})};let r=e.workspace["x-scalar-environments"]?.[a]??{variables:[]},n=(QX(t)?t["x-scalar-environments"]?.[a]:void 0)??{variables:[]};return{name:a,environment:jj(qj,{...r,...n,variables:[...r.variables,...n.variables]})}}}),nK=V(()=>{tQ(),YX=e=>!(!e||"string"!=typeof e)&&CU.has(e.toLowerCase())}),oK=V(()=>{nK(),J_(),eC(),KX=e=>H_(e)&&Object.hasOwn(e,"$ref-value"),JX=e=>{if(!e||"object"!=typeof e)return;let t=q_(e,V_);for(let e=1;KX(t);e++){if(e>=10){let{"$ref-value":e,...a}=t;return console.warn(`Stopped resolving "${t.$ref}" after 10 hops.\n\nThis reference most likely points at itself, directly or through another reference.`),a}t=q_(t,V_)}return t},eY=(e,t)=>{let a=JX(e);if(a)return a[t]},tY=(e,t,a)=>{if(e&&"object"==typeof e){if("$ref"in e&&"$ref-value"in e){let r=e["$ref-value"];if(r)return void(r[t]=a)}e[t]=a}},aY=e=>{let t=[],a=e;for(;H_(a)&&!t.includes(a)&&t.length<10&&(t.push(a),"$ref"in a&&"$ref-value"in a);)a=a["$ref-value"];return t},rY=(e,t)=>{if(e&&"object"==typeof e)for(let a of aY(e))delete a[t]},nY=(e,t)=>{let a=JX(e);if(a)for(let[e,r]of Object.entries(a))!YX(e)||void 0===r||t(e,r)},oY=e=>{let t=JX(e);return!t||0===Object.keys(t).length}}),iK=V(()=>{eC(),iY=(e=[],t=[])=>{let a=t.flatMap(e=>{let t=q_(e);return t?`${t.in}:${t.name}`:[]}),r=new Set(a);return[...e.filter(e=>{let t=q_(e);return!!t&&!r.has(`${t.in}:${t.name}`)}),...t]}}),sK=V(()=>{sY=e=>"web"===e?"https://proxy.scalar.com":null,lY=(e,t)=>void 0===e?sY(t):e}),lK=V(()=>{cY=(e,t)=>"[{}]"===JSON.stringify(t)&&e?.length?e.find(e=>"{}"===JSON.stringify(e))?e:[...e,{}]:t??e??[]}),cK=V(()=>{uY=e=>Object.keys(e)}),uK=V(()=>{cK(),eC(),dY=(e,t)=>uY(t).flatMap(t=>q_(e?.[t])||[])}),dK=V(()=>{pY=e=>{let t=e.some(e=>Object.keys(e).length>1);return e.some(e=>0===Object.keys(e).length)&&!t}}),pK=V(()=>{eC(),dK(),hY=e=>e&&"oauth2"===e.type?e["x-default-scopes"]??[]:[],mY=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,a])=>{if(Array.isArray(a)&&a.length>0)return[e,[...a]];let r=q_(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]})),fY=(e,t)=>{if(!Array.isArray(e)){let a=q_(t[e]);return{[e]:hY(a)}}let a={};for(let r of e)if(Array.isArray(r))for(let e of r){let r=q_(t[e]);a[e]=hY(r)}else{let e=q_(t[r]);a[r]=hY(e)}return a},gY=(e,t,a=[],r={},n)=>{if(t)return t;if(e)return e;if(pY(a)&&!n)return{selectedIndex:-1,selectedSchemes:[]};if(n)return{selectedIndex:0,selectedSchemes:[fY(n,r)]};let o=a[0];return o?{selectedIndex:0,selectedSchemes:[mY(o,r)]}:{selectedIndex:-1,selectedSchemes:[]}}}),hK=V(()=>{vY=(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]=vY(e[r],t)}),a}}),mK=V(()=>{xC(),bY=(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=lC(o),t=lC(i);if(r.has(e)||r.has(t))continue;r.add(e),r.add(t),bY(o,i,a,r)}}else e[n]=t[n];return e}}),fK=V(()=>{J_(),VY(),eK(),yY={"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"},wY=(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[yY[e]]?t[yY[e]]:void 0;return[e,"x-scalar-secret-redirect-uri"===e?n??o??i??r??"":n||o||i||""]})),xY=(e,t)=>{let a=e[t];return"string"==typeof a?a:""},OY=(e={})=>{let t=e["x-scalar-secret-refresh-token"];return"string"==typeof t?{"x-scalar-secret-refresh-token":t}:{}},kY=(e,t={})=>{let a=t["x-scalar-credentials-location"]??e["x-scalar-credentials-location"];return a?{"x-scalar-credentials-location":a}:{}},SY=(e,t,a)=>{let r=new Set;return{flows:vX(e??{}).reduce((e,[n,o])=>{if(!z_(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,...wY(["x-scalar-secret-client-id","x-scalar-secret-redirect-uri","x-scalar-secret-token","x-scalar-secret-auth-url"],o,t?.implicit,a),...OY(t?.implicit)}),"password"===n&&(e[n]={...o,...wY(["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),...kY(o,t?.password),...OY(t?.password)}),"clientCredentials"===n&&(e[n]={...o,...wY(["x-scalar-secret-client-id","x-scalar-secret-client-secret","x-scalar-secret-token","x-scalar-secret-token-url"],o,t?.clientCredentials),...kY(o,t?.clientCredentials),...OY(t?.clientCredentials)}),"authorizationCode"===n&&(e[n]={...o,...wY(["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),...kY(o,t?.authorizationCode),...OY(t?.authorizationCode)}),e},{}),selectedScopes:Array.from(r)}},AY=(e,t,a,r,n)=>{let o=t.getAuthSecrets(r,a),i=e;if("apiKey"===e.type){let t="apiKey"===o?.type?o:void 0;return{...e,"x-scalar-secret-token":t?.["x-scalar-secret-token"]||xY(e,"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"]||xY(e,"x-scalar-secret-token")||e.token||"","x-scalar-secret-username":t?.["x-scalar-secret-username"]||xY(e,"x-scalar-secret-username")||e.username||"","x-scalar-secret-password":t?.["x-scalar-secret-password"]||xY(e,"x-scalar-secret-password")||e.password||""}}if("oauth2"===e.type){let t="oauth2"===o?.type?o:void 0,a=SY(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=SY({implicit:t?.implicit,password:t?.password,clientCredentials:t?.clientCredentials,authorizationCode:t?.authorizationCode},t,n);return{...e,...vX(a.flows).length?{flows:a.flows}:{}}}if(ZX(i.type)){let e=o?.type===i.type?o:void 0;return{...i,"x-scalar-secret-username":e?.["x-scalar-secret-username"]||i.username||"","x-scalar-secret-password":e?.["x-scalar-secret-password"]||i.password||""}}if("X509"===i.type){let e="X509"===o?.type?o:void 0;return{...i,"x-scalar-secret-client-certificate":e?.["x-scalar-secret-client-certificate"]||"","x-scalar-secret-private-key":e?.["x-scalar-secret-private-key"]||""}}if(qX(i.type)){let e=o?.type===i.type?o:void 0;return{...i,"x-scalar-secret-token":e?.["x-scalar-secret-token"]||i.token||""}}if("gssapi"===i.type){let e="gssapi"===o?.type?o:void 0;return{...i,"x-scalar-secret-service-name":e?.["x-scalar-secret-service-name"]||""}}return e}}),gK=V(()=>{VY(),hK(),eC(),mK(),Bq(),iF(),fK(),TY=e=>{let t=q_(e);return!!t&&"object"==typeof t&&"availableScopes"in t},_Y=e=>{let t=q_(e);if(!t||"object"!=typeof t)return e;let a=Object.entries(t);return a.some(([,e])=>TY(e))?Object.fromEntries(a.map(([e,t])=>{if(!TY(t))return[e,t];let{availableScopes:a,scopes:r,...n}=q_(t);return[e,{...n,scopes:r??a??{}}]})):e},CY=e=>{if(!e||"object"!=typeof e||!("type"in e))return e;if("httpApiKey"===e.type)return{...e,type:"apiKey"};if("oauth2"===e.type&&"flows"in e&&e.flows){let t=_Y(e.flows);if(t!==e.flows)return{...e,flows:t}}return e},EY=(e={},t={},a,r,n)=>vX(bY(vX(e).reduce((e,[t,a])=>{let r=vY(q_(a));return r&&(e[t]=r),e},{}),t)??{}).reduce((e,[t,o])=>{let i=CY(o);return e[t]=AY({...jj(uV,i),...i},a,t,r,n),e},{})});function vK(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 eS(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 eS(t,e)}let n=function(){if(!(typeof window>"u"||"string"!=typeof window?.location?.origin))return window.location.origin}();return n?eS(n,e):e}(e.url,t)),e}(e,t)):[]}var bK,yK,wK=V(()=>{vS(),aK(),bK=(e,t,a,r)=>{let n=QX(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}}),xK=V(()=>{oK(),eC(),rK(),WY(),iK(),sK(),lK(),uK(),pK(),gK(),wK(),aK(),yK=(e,t,a,r={})=>{let{path:n,method:o,exampleName:i,isWebhook:s=!1}=a,l=e.workspace.documents[t]??r.fallbackDocument??void 0;if(!l)return{ok:!1,error:`Document ${t} not found`};if(!QX(l))return{ok:!1,error:`Document ${t} is not an OpenAPI document`};let c=JX(s?l.webhooks?.[n]:l.paths?.[n]);if(!c)return{ok:!1,error:s?`Webhook ${n} not found`:`Path ${n} not found`};let u=q_(eY(c,o));if(!u)return{ok:!1,error:s?`Method ${o} not found on webhook ${n}`:`Method ${o} not found on path ${n}`};let d={...u,parameters:iY(c.parameters,u.parameters??[])},p=XX(e,l),h=vK(s?r.servers??d.servers:r.servers??d.servers??l.servers,{baseServerUrl:r.baseServerUrl,documentUrl:l["x-scalar-original-source-url"]}),m=bK(l,d,r.servers??null,h),f=e.auth.getAuthSelectedSchemas({type:"document",documentName:t}),g=e.auth.getAuthSelectedSchemas({type:"operation",documentName:t,path:n??"",method:o??"get"}),v=EY(l.components?.securitySchemes??{},r.authentication?.securitySchemes??{},e.auth,t),b=cY(l.security,d.security),y=gY(f,g,b,v,r.authentication?.preferredSecurityScheme),w=dY(v,y.selectedSchemes[y.selectedIndex]??{}),x=s||null==d.servers?{type:"document"}:{type:"operation",path:n??"",method:o??"get"},O=void 0===g?{type:"document"}:{type:"operation",path:n??"",method:o??"get"},k=lY(e.workspace["x-scalar-active-proxy"],r.layout??"other"),S=_X({method:o,operation:d,exampleName:i,options:{appVersion:r.appVersion??"0.0.0",isElectron:r.isElectron??!1}});return{ok:!0,data:{operation:d,environment:p,cookies:{workspace:e.workspace["x-scalar-cookies"]??[],document:l["x-scalar-cookies"]??[]},headers:{default:S},servers:{list:h,selected:m,meta:x},proxy:{url:k},security:{schemes:v,requirements:b,selected:y,selectedSchemes:w,meta:O}}}}}),OK=V(()=>{rK(),xK(),WY(),iK(),sK(),lK(),uK(),pK(),dK(),gK(),wK()});var kK,SK,AK,TK,_K,CK,EK,PK,MK,NK,$K,IK=V(()=>{}),RK=V(()=>{tK(),OK(),jY(),IK()}),DK=V(()=>{RK(),eC(),kK=e=>null==e||"string"==typeof e&&""===e.trim(),SK=(e=[],t="default")=>{let a=[];for(let r of e){let e=q_(r);if("path"!==e.in)continue;let n=PC(e,t,void 0);fX(e,n)||kK(n?.value)&&a.push(e.name)}return a.length>0?{ok:!1,invalidParams:a}:{ok:!0}}}),LK=V(()=>{Bc(),h_(),AK={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"},TK=Cn({inheritAttrs:!1,__name:"ViewLayoutSection",setup(e){let{cx:t}=c_();return(e,a)=>(Ho(),Qo("section",at(Ko(qa(t)("xl:custom-scroll bg-b-1 flex flex-1 flex-col xl:h-full xl:min-w-0"))),[e.$slots.title?(Ho(),Qo("div",AK,[Kn(e.$slots,"title")])):ai("",!0),Kn(e.$slots,"default")],16))}})}),BK=V(()=>{LK(),_K=TK}),jK=V(()=>{Bc(),CK=["aria-controls","aria-selected","tabindex"],EK=Cn({__name:"SectionFilterButton",props:{selected:{type:Boolean},controls:{}},setup:e=>(t,a)=>(Ho(),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"},[Kn(t.$slots,"default")],10,CK))})}),UK=V(()=>{jK(),PK=EK}),zK=V(()=>{MK=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a}}),HK=V(()=>{NK=Object.defineProperty,$K=(e,t)=>{let a={};for(var r in e)NK(a,r,{get:e[r],enumerable:!0});return t||NK(a,Symbol.toStringTag,{value:"Module"}),a}});function ZK(e,t){return Ho(),Qo("svg",qK,[...t[0]||=[Xo("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M5 11.988h14M12.006 5v14"},null,-1)]])}var VK,qK,QK,FK=V(()=>{HK(),Bc(),VK=$K({default:()=>QK,render:()=>ZK}),qK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},QK={render:ZK}});function WK(e,t){return Ho(),Qo("svg",XK,[...t[0]||=[Xo("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 GK,XK,YK,KK=V(()=>{HK(),Bc(),GK=$K({default:()=>YK,render:()=>WK}),XK={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},YK={render:WK}});function JK(e,t){return Ho(),Qo("svg",tJ,[...t[0]||=[Xo("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 eJ,tJ,aJ,rJ=V(()=>{HK(),Bc(),eJ=$K({default:()=>aJ,render:()=>JK}),tJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},aJ={render:JK}});function nJ(e,t){return Ho(),Qo("svg",iJ,[...t[0]||=[Xo("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 12H2m9.3-9.3L2 12l9.3 9.3"},null,-1)]])}var oJ,iJ,sJ,lJ=V(()=>{HK(),Bc(),oJ=$K({default:()=>sJ,render:()=>nJ}),iJ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},sJ={render:nJ}});function cJ(e,t){return Ho(),Qo("svg",dJ,[...t[0]||=[Xo("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 uJ,dJ,pJ,hJ=V(()=>{HK(),Bc(),uJ=$K({default:()=>pJ,render:()=>cJ}),dJ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},pJ={render:cJ}});function mJ(e,t){return Ho(),Qo("svg",gJ,[...t[0]||=[Xo("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 fJ,gJ,vJ,bJ=V(()=>{HK(),Bc(),fJ=$K({default:()=>vJ,render:()=>mJ}),gJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},vJ={render:mJ}});function yJ(e,t){return Ho(),Qo("svg",xJ,[...t[0]||=[Xo("path",{d:"M16.4 6.8v5.6H7.6m0-5.6v10.4"},null,-1),Xo("circle",{cx:"7.6",cy:"4.4",r:"2.4"},null,-1),Xo("circle",{cx:"7.6",cy:"19.6",r:"2.4"},null,-1),Xo("circle",{cx:"16.4",cy:"4.4",r:"2.4"},null,-1)]])}var wJ,xJ,OJ,kJ=V(()=>{HK(),Bc(),wJ=$K({default:()=>OJ,render:()=>yJ}),xJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},OJ={render:yJ}});function SJ(e,t){return Ho(),Qo("svg",TJ,[...t[0]||=[Xo("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),Xo("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),Xo("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 AJ,TJ,_J,CJ=V(()=>{HK(),Bc(),AJ=$K({default:()=>_J,render:()=>SJ}),TJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},_J={render:SJ}});function EJ(e,t){return Ho(),Qo("svg",MJ,[...t[0]||=[Xo("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 PJ,MJ,NJ,$J=V(()=>{HK(),Bc(),PJ=$K({default:()=>NJ,render:()=>EJ}),MJ={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},NJ={render:EJ}});function IJ(e,t){return Ho(),Qo("svg",DJ,[...t[0]||=[Xo("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 10-6 6-6-6"},null,-1)]])}var RJ,DJ,LJ,BJ=V(()=>{HK(),Bc(),RJ=$K({default:()=>LJ,render:()=>IJ}),DJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},LJ={render:IJ}});function jJ(e,t){return Ho(),Qo("svg",zJ,[...t[0]||=[Xo("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m14 18-6-6 6-6"},null,-1)]])}var UJ,zJ,HJ,ZJ=V(()=>{HK(),Bc(),UJ=$K({default:()=>HJ,render:()=>jJ}),zJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},HJ={render:jJ}});function VJ(e,t){return Ho(),Qo("svg",QJ,[...t[0]||=[Xo("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m9 18 6-6-6-6"},null,-1)]])}var qJ,QJ,FJ,WJ=V(()=>{HK(),Bc(),qJ=$K({default:()=>FJ,render:()=>VJ}),QJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},FJ={render:VJ}});function GJ(e,t){return Ho(),Qo("svg",YJ,[...t[0]||=[Xo("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"m18 15-6-6-6 6"},null,-1)]])}var XJ,YJ,KJ,JJ=V(()=>{HK(),Bc(),XJ=$K({default:()=>KJ,render:()=>GJ}),YJ={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},KJ={render:GJ}});function e0(e,t){return Ho(),Qo("svg",a0,[...t[0]||=[Xo("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 t0,a0,r0,n0=V(()=>{HK(),Bc(),t0=$K({default:()=>r0,render:()=>e0}),a0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},r0={render:e0}});function o0(e,t){return Ho(),Qo("svg",s0,[...t[0]||=[Xo("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M18 6 6 18M6 6l12 12"},null,-1)]])}var i0,s0,l0,c0=V(()=>{HK(),Bc(),i0=$K({default:()=>l0,render:()=>o0}),s0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},l0={render:o0}});function u0(e,t){return Ho(),Qo("svg",p0,[...t[0]||=[Xo("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 d0,p0,h0,m0=V(()=>{HK(),Bc(),d0=$K({default:()=>h0,render:()=>u0}),p0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},h0={render:u0}});function f0(e,t){return Ho(),Qo("svg",v0,[...t[0]||=[Xo("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 g0,v0,b0,y0=V(()=>{HK(),Bc(),g0=$K({default:()=>b0,render:()=>f0}),v0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},b0={render:f0}});function w0(e,t){return Ho(),Qo("svg",O0,[...t[0]||=[Xo("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 x0,O0,k0,S0=V(()=>{HK(),Bc(),x0=$K({default:()=>k0,render:()=>w0}),O0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},k0={render:w0}});function A0(e,t){return Ho(),Qo("svg",_0,[...t[0]||=[Xo("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),Xo("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 T0,_0,C0,E0=V(()=>{HK(),Bc(),T0=$K({default:()=>C0,render:()=>A0}),_0={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},C0={render:A0}});function P0(e,t){return Ho(),Qo("svg",N0,[...t[0]||=[Xo("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),Xo("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 M0,N0,$0,I0=V(()=>{HK(),Bc(),M0=$K({default:()=>$0,render:()=>P0}),N0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},$0={render:P0}});function R0(e,t){return Ho(),Qo("svg",L0,[...t[0]||=[Xo("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 D0,L0,B0,j0=V(()=>{HK(),Bc(),D0=$K({default:()=>B0,render:()=>R0}),L0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},B0={render:R0}});function U0(e,t){return Ho(),Qo("svg",H0,[...t[0]||=[Xo("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),Xo("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 z0,H0,Z0,V0=V(()=>{HK(),Bc(),z0=$K({default:()=>Z0,render:()=>U0}),H0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Z0={render:U0}});function q0(e,t){return Ho(),Qo("svg",F0,[...t[0]||=[Xo("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 Q0,F0,W0,G0=V(()=>{HK(),Bc(),Q0=$K({default:()=>W0,render:()=>q0}),F0={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},W0={render:q0}});function X0(e,t){return Ho(),Qo("svg",K0,[...t[0]||=[Xo("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 Y0,K0,J0,e1=V(()=>{HK(),Bc(),Y0=$K({default:()=>J0,render:()=>X0}),K0={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},J0={render:X0}});function t1(e,t){return Ho(),Qo("svg",r1,[...t[0]||=[Xo("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),Xo("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 a1,r1,n1,o1=V(()=>{HK(),Bc(),a1=$K({default:()=>n1,render:()=>t1}),r1={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},n1={render:t1}});function i1(e,t){return Ho(),Qo("svg",l1,[...t[0]||=[Xo("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),Xo("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 s1,l1,c1,u1=V(()=>{HK(),Bc(),s1=$K({default:()=>c1,render:()=>i1}),l1={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},c1={render:i1}});function d1(e,t){return Ho(),Qo("svg",h1,[...t[0]||=[Xo("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 p1,h1,m1,f1=V(()=>{HK(),Bc(),p1=$K({default:()=>m1,render:()=>d1}),h1={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},m1={render:d1}});function g1(e,t){return Ho(),Qo("svg",b1,[...t[0]||=[Xo("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),Xo("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 v1,b1,y1,w1=V(()=>{HK(),Bc(),v1=$K({default:()=>y1,render:()=>g1}),b1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},y1={render:g1}});function x1(e,t){return Ho(),Qo("svg",k1,[...t[0]||=[Xo("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 O1,k1,S1,A1=V(()=>{HK(),Bc(),O1=$K({default:()=>S1,render:()=>x1}),k1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},S1={render:x1}});function T1(e,t){return Ho(),Qo("svg",C1,[...t[0]||=[Xo("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 _1,C1,E1,P1=V(()=>{HK(),Bc(),_1=$K({default:()=>E1,render:()=>T1}),C1={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},E1={render:T1}});function M1(e,t){return Ho(),Qo("svg",$1,[...t[0]||=[Xo("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),Xo("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 N1,$1,I1,R1=V(()=>{HK(),Bc(),N1=$K({default:()=>I1,render:()=>M1}),$1={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},I1={render:M1}});function D1(e,t){return Ho(),Qo("svg",B1,[...t[0]||=[Xo("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),Xo("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 L1,B1,j1,U1=V(()=>{HK(),Bc(),L1=$K({default:()=>j1,render:()=>D1}),B1={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},j1={render:D1}});function z1(e,t){return Ho(),Qo("svg",Z1,[...t[0]||=[Xo("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 H1,Z1,V1,q1=V(()=>{HK(),Bc(),H1=$K({default:()=>V1,render:()=>z1}),Z1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},V1={render:z1}});function Q1(e,t){return Ho(),Qo("svg",W1,[...t[0]||=[Xo("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6.4 4H20v13.59M4 20 20 4"},null,-1)]])}var F1,W1,G1,X1=V(()=>{HK(),Bc(),F1=$K({default:()=>G1,render:()=>Q1}),W1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},G1={render:Q1}});function Y1(e,t){return Ho(),Qo("svg",J1,[...t[0]||=[Xo("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M7.556 12h8.888m-6.222 6h3.556"},null,-1)]])}var K1,J1,e2,t2=V(()=>{HK(),Bc(),K1=$K({default:()=>e2,render:()=>Y1}),J1={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e2={render:Y1}});function a2(e,t){return Ho(),Qo("svg",n2,[...t[0]||=[Xo("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 r2,n2,o2,i2=V(()=>{HK(),Bc(),r2=$K({default:()=>o2,render:()=>a2}),n2={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},o2={render:a2}});function s2(e,t){return Ho(),Qo("svg",c2,[...t[0]||=[Xo("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 l2,c2,u2,d2=V(()=>{HK(),Bc(),l2=$K({default:()=>u2,render:()=>s2}),c2={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 1024 1024"},u2={render:s2}});function p2(e,t){return Ho(),Qo("svg",m2,[...t[0]||=[Xo("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 h2,m2,f2,g2=V(()=>{HK(),Bc(),h2=$K({default:()=>f2,render:()=>p2}),m2={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},f2={render:p2}});function v2(e,t){return Ho(),Qo("svg",y2,[...t[0]||=[Xo("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 b2,y2,w2,x2=V(()=>{HK(),Bc(),b2=$K({default:()=>w2,render:()=>v2}),y2={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},w2={render:v2}});function O2(e,t){return Ho(),Qo("svg",S2,[...t[0]||=[Xo("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 k2,S2,A2,T2=V(()=>{HK(),Bc(),k2=$K({default:()=>A2,render:()=>O2}),S2={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},A2={render:O2}});function _2(e,t){return Ho(),Qo("svg",E2,[...t[0]||=[Xo("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),Xo("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 C2,E2,P2,M2=V(()=>{HK(),Bc(),C2=$K({default:()=>P2,render:()=>_2}),E2={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},P2={render:_2}});function N2(e,t){return Ho(),Qo("svg",I2,[...t[0]||=[Xo("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 $2,I2,R2,D2=V(()=>{HK(),Bc(),$2=$K({default:()=>R2,render:()=>N2}),I2={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},R2={render:N2}});function L2(e,t){return Ho(),Qo("svg",j2,[...t[0]||=[Xo("path",{d:"M12.9 6.8v6.1h4.7"},null,-1),Xo("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 B2,j2,U2,z2=V(()=>{HK(),Bc(),B2=$K({default:()=>U2,render:()=>L2}),j2={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},U2={render:L2}});function H2(e,t){return Ho(),Qo("svg",V2,[...t[0]||=[Xo("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 Z2,V2,q2,Q2=V(()=>{HK(),Bc(),Z2=$K({default:()=>q2,render:()=>H2}),V2={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},q2={render:H2}});function F2(e,t){return Ho(),Qo("svg",G2,[...t[0]||=[Xo("path",{d:"M12 10.67v7.98M14.66 16 12 18.64 9.34 16"},null,-1),Xo("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),Xo("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 W2,G2,X2,Y2=V(()=>{HK(),Bc(),W2=$K({default:()=>X2,render:()=>F2}),G2={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},X2={render:F2}});function K2(e,t){return Ho(),Qo("svg",e8,[...t[0]||=[Xo("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),Xo("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),Xo("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 J2,e8,t8,a8=V(()=>{HK(),Bc(),J2=$K({default:()=>t8,render:()=>K2}),e8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},t8={render:K2}});function r8(e,t){return Ho(),Qo("svg",o8,[...t[0]||=[Xo("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),Xo("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 n8,o8,i8,s8=V(()=>{HK(),Bc(),n8=$K({default:()=>i8,render:()=>r8}),o8={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},i8={render:r8}});function l8(e,t){return Ho(),Qo("svg",u8,[...t[0]||=[Xo("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 c8,u8,d8,p8=V(()=>{HK(),Bc(),c8=$K({default:()=>d8,render:()=>l8}),u8={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},d8={render:l8}});function h8(e,t){return Ho(),Qo("svg",f8,[...t[0]||=[Xo("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 m8,f8,g8,v8=V(()=>{HK(),Bc(),m8=$K({default:()=>g8,render:()=>h8}),f8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},g8={render:h8}});function b8(e,t){return Ho(),Qo("svg",w8,[...t[0]||=[Xo("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 y8,w8,x8,O8=V(()=>{HK(),Bc(),y8=$K({default:()=>x8,render:()=>b8}),w8={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},x8={render:b8}});function k8(e,t){return Ho(),Qo("svg",A8,[...t[0]||=[Xo("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 S8,A8,T8,_8=V(()=>{HK(),Bc(),S8=$K({default:()=>T8,render:()=>k8}),A8={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},T8={render:k8}});function C8(e,t){return Ho(),Qo("svg",P8,[...t[0]||=[Xo("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),Xo("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 E8,P8,M8,N8=V(()=>{HK(),Bc(),E8=$K({default:()=>M8,render:()=>C8}),P8={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},M8={render:C8}});function $8(e,t){return Ho(),Qo("svg",R8,[...t[0]||=[Xo("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 I8,R8,D8,L8=V(()=>{HK(),Bc(),I8=$K({default:()=>D8,render:()=>$8}),R8={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 593 593"},D8={render:$8}});function B8(e,t){return Ho(),Qo("svg",U8,[...t[0]||=[Xo("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 j8,U8,z8,H8=V(()=>{HK(),Bc(),j8=$K({default:()=>z8,render:()=>B8}),U8={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},z8={render:B8}});function Z8(e,t){return Ho(),Qo("svg",q8,[...t[0]||=[Xo("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 V8,q8,Q8,F8=V(()=>{HK(),Bc(),V8=$K({default:()=>Q8,render:()=>Z8}),q8={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Q8={render:Z8}});function W8(e,t){return Ho(),Qo("svg",X8,[...t[0]||=[Xo("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M22 6.8H2m20 10.4H2"},null,-1)]])}var G8,X8,Y8,K8=V(()=>{HK(),Bc(),G8=$K({default:()=>Y8,render:()=>W8}),X8={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Y8={render:W8}});function J8(e,t){return Ho(),Qo("svg",t4,[...t[0]||=[Xo("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 e4,t4,a4,r4=V(()=>{HK(),Bc(),e4=$K({default:()=>a4,render:()=>J8}),t4={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},a4={render:J8}});function n4(e,t){return Ho(),Qo("svg",i4,[...t[0]||=[Xo("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),Xo("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 o4,i4,s4,l4=V(()=>{HK(),Bc(),o4=$K({default:()=>s4,render:()=>n4}),i4={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},s4={render:n4}});function c4(e,t){return Ho(),Qo("svg",d4,[...t[0]||=[Xo("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 u4,d4,p4,h4=V(()=>{HK(),Bc(),u4=$K({default:()=>p4,render:()=>c4}),d4={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},p4={render:c4}});function m4(e,t){return Ho(),Qo("svg",g4,[...t[0]||=[Xo("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 f4,g4,v4,b4=V(()=>{HK(),Bc(),f4=$K({default:()=>v4,render:()=>m4}),g4={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},v4={render:m4}});function y4(e,t){return Ho(),Qo("svg",x4,[...t[0]||=[Xo("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 w4,x4,O4,k4=V(()=>{HK(),Bc(),w4=$K({default:()=>O4,render:()=>y4}),x4={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},O4={render:y4}});function S4(e,t){return Ho(),Qo("svg",T4,[...t[0]||=[Xo("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 A4,T4,_4,C4=V(()=>{HK(),Bc(),A4=$K({default:()=>_4,render:()=>S4}),T4={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},_4={render:S4}});function E4(e,t){return Ho(),Qo("svg",M4,[...t[0]||=[Xo("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 P4,M4,N4,$4=V(()=>{HK(),Bc(),P4=$K({default:()=>N4,render:()=>E4}),M4={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},N4={render:E4}});function I4(e,t){return Ho(),Qo("svg",D4,[...t[0]||=[Xo("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 R4,D4,L4,B4=V(()=>{HK(),Bc(),R4=$K({default:()=>L4,render:()=>I4}),D4={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},L4={render:I4}});function j4(e,t){return Ho(),Qo("svg",z4,[...t[0]||=[Xo("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),Xo("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),Xo("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)]])}var U4,z4,H4,Z4=V(()=>{HK(),Bc(),U4=$K({default:()=>H4,render:()=>j4}),z4={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},H4={render:j4}});function V4(e,t){return Ho(),Qo("svg",Q4,[...t[0]||=[Xo("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 q4,Q4,F4,W4=V(()=>{HK(),Bc(),q4=$K({default:()=>F4,render:()=>V4}),Q4={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},F4={render:V4}});function G4(e,t){return Ho(),Qo("svg",Y4,[...t[0]||=[Xo("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),Xo("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 X4,Y4,K4,J4=V(()=>{HK(),Bc(),X4=$K({default:()=>K4,render:()=>G4}),Y4={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},K4={render:G4}});function e6(e,t){return Ho(),Qo("svg",a6,[...t[0]||=[Xo("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M2 5.4h20M2 12h20M2 18.6h13.3"},null,-1)]])}var t6,a6,r6,n6=V(()=>{HK(),Bc(),t6=$K({default:()=>r6,render:()=>e6}),a6={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},r6={render:e6}});function o6(e,t){return Ho(),Qo("svg",s6,[...t[0]||=[Xo("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",d:"M13 15h5M6 9l4 3-4 3"},null,-1),Xo("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 i6,s6,l6,c6=V(()=>{HK(),Bc(),i6=$K({default:()=>l6,render:()=>o6}),s6={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},l6={render:o6}});function u6(e,t){return Ho(),Qo("svg",p6,[...t[0]||=[Xo("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 d6,p6,h6,m6=V(()=>{HK(),Bc(),d6=$K({default:()=>h6,render:()=>u6}),p6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},h6={render:u6}});function f6(e,t){return Ho(),Qo("svg",v6,[...t[0]||=[Xo("path",{d:"M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2"},null,-1),Xo("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 g6,v6,b6,y6=V(()=>{HK(),Bc(),g6=$K({default:()=>b6,render:()=>f6}),v6={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},b6={render:f6}});function w6(e,t){return Ho(),Qo("svg",O6,[...t[0]||=[Xo("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 x6,O6,k6,S6=V(()=>{HK(),Bc(),x6=$K({default:()=>k6,render:()=>w6}),O6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},k6={render:w6}});function A6(e,t){return Ho(),Qo("svg",_6,[...t[0]||=[Xo("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 T6,_6,C6,E6=V(()=>{HK(),Bc(),T6=$K({default:()=>C6,render:()=>A6}),_6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},C6={render:A6}});function P6(e,t){return Ho(),Qo("svg",N6,[...t[0]||=[Xo("path",{d:"M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z"},null,-1),Xo("circle",{cx:"12",cy:"6.2",r:"4.5"},null,-1)]])}var M6,N6,$6,I6=V(()=>{HK(),Bc(),M6=$K({default:()=>$6,render:()=>P6}),N6={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},$6={render:P6}});function R6(e,t){return Ho(),Qo("svg",L6,[...t[0]||=[Xo("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),Xo("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 D6,L6,B6,j6=V(()=>{HK(),Bc(),D6=$K({default:()=>B6,render:()=>R6}),L6={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},B6={render:R6}});function U6(e,t){return Ho(),Qo("svg",H6,[...t[0]||=[Xo("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 z6,H6,Z6,V6=V(()=>{HK(),Bc(),z6=$K({default:()=>Z6,render:()=>U6}),H6={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},Z6={render:U6}});function q6(e,t){return Ho(),Qo("svg",F6,[...t[0]||=[Xo("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 Q6,F6,W6,G6=V(()=>{HK(),Bc(),Q6=$K({default:()=>W6,render:()=>q6}),F6={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},W6={render:q6}});function X6(e,t){return Ho(),Qo("svg",K6,[...t[0]||=[Xo("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),Xo("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 Y6,K6,J6,e3=V(()=>{HK(),Bc(),Y6=$K({default:()=>J6,render:()=>X6}),K6={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},J6={render:X6}});function t3(e,t){return Ho(),Qo("svg",r3,[...t[0]||=[Xo("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 a3,r3,n3,o3=V(()=>{HK(),Bc(),a3=$K({default:()=>n3,render:()=>t3}),r3={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},n3={render:t3}});function i3(e,t){return Ho(),Qo("svg",l3,[...t[0]||=[Xo("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 s3,l3,c3,u3=V(()=>{HK(),Bc(),s3=$K({default:()=>c3,render:()=>i3}),l3={xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"},c3={render:i3}});function d3(e,t){return Ho(),Qo("svg",h3,[...t[0]||=[Xo("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 p3,h3,m3,f3=V(()=>{HK(),Bc(),p3=$K({default:()=>m3,render:()=>d3}),h3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},m3={render:d3}});function g3(e,t){return Ho(),Qo("svg",b3,[...t[0]||=[Xo("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 v3,b3,y3,w3=V(()=>{HK(),Bc(),v3=$K({default:()=>y3,render:()=>g3}),b3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},y3={render:g3}});function x3(e,t){return Ho(),Qo("svg",k3,[...t[0]||=[Xo("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 O3,k3,S3,A3=V(()=>{HK(),Bc(),O3=$K({default:()=>S3,render:()=>x3}),k3={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},S3={render:x3}});function T3(e,t){return Ho(),Qo("svg",C3,[...t[0]||=[Xo("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 _3,C3,E3,P3=V(()=>{HK(),Bc(),_3=$K({default:()=>E3,render:()=>T3}),C3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},E3={render:T3}});function M3(e,t){return Ho(),Qo("svg",$3,[...t[0]||=[Xo("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 N3,$3,I3,R3=V(()=>{HK(),Bc(),N3=$K({default:()=>I3,render:()=>M3}),$3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},I3={render:M3}});function D3(e,t){return Ho(),Qo("svg",B3,[...t[0]||=[Xo("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),Xo("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 L3,B3,j3,U3=V(()=>{HK(),Bc(),L3=$K({default:()=>j3,render:()=>D3}),B3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},j3={render:D3}});function z3(e,t){return Ho(),Qo("svg",Z3,[...t[0]||=[Xo("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 H3,Z3,V3,q3=V(()=>{HK(),Bc(),H3=$K({default:()=>V3,render:()=>z3}),Z3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},V3={render:z3}});function Q3(e,t){return Ho(),Qo("svg",W3,[...t[0]||=[Xo("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 F3,W3,G3,X3=V(()=>{HK(),Bc(),F3=$K({default:()=>G3,render:()=>Q3}),W3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},G3={render:Q3}});function Y3(e,t){return Ho(),Qo("svg",J3,[...t[0]||=[Xo("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 K3,J3,e5,t5=V(()=>{HK(),Bc(),K3=$K({default:()=>e5,render:()=>Y3}),J3={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},e5={render:Y3}});function a5(e,t){return Ho(),Qo("svg",n5,[...t[0]||=[Xo("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 r5,n5,o5,i5=V(()=>{HK(),Bc(),r5=$K({default:()=>o5,render:()=>a5}),n5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},o5={render:a5}});function s5(e,t){return Ho(),Qo("svg",c5,[...t[0]||=[Xo("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 l5,c5,u5,d5=V(()=>{HK(),Bc(),l5=$K({default:()=>u5,render:()=>s5}),c5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 50 50"},u5={render:s5}});function p5(e,t){return Ho(),Qo("svg",m5,[...t[0]||=[Xo("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 h5,m5,f5,g5=V(()=>{HK(),Bc(),h5=$K({default:()=>f5,render:()=>p5}),m5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},f5={render:p5}});function v5(e,t){return Ho(),Qo("svg",y5,[...t[0]||=[Xo("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 b5,y5,w5,x5=V(()=>{HK(),Bc(),b5=$K({default:()=>w5,render:()=>v5}),y5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},w5={render:v5}});function O5(e,t){return Ho(),Qo("svg",S5,[...t[0]||=[Xo("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 k5,S5,A5,T5=V(()=>{HK(),Bc(),k5=$K({default:()=>A5,render:()=>O5}),S5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},A5={render:O5}});function _5(e,t){return Ho(),Qo("svg",E5,[...t[0]||=[Xo("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 C5,E5,P5,M5=V(()=>{HK(),Bc(),C5=$K({default:()=>P5,render:()=>_5}),E5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},P5={render:_5}});function N5(e,t){return Ho(),Qo("svg",I5,[...t[0]||=[Xo("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),Xo("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),Xo("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 $5,I5,R5,D5=V(()=>{HK(),Bc(),$5=$K({default:()=>R5,render:()=>N5}),I5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},R5={render:N5}});function L5(e,t){return Ho(),Qo("svg",j5,[...t[0]||=[Xo("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 B5,j5,U5,z5=V(()=>{HK(),Bc(),B5=$K({default:()=>U5,render:()=>L5}),j5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},U5={render:L5}});function H5(e,t){return Ho(),Qo("svg",V5,[...t[0]||=[Xo("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),Xo("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 Z5,V5,q5,Q5=V(()=>{HK(),Bc(),Z5=$K({default:()=>q5,render:()=>H5}),V5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},q5={render:H5}});function F5(e,t){return Ho(),Qo("svg",G5,[...t[0]||=[Xo("circle",{cx:"64",cy:"36.57",r:"27.43"},null,-1),Xo("circle",{cx:"32.32",cy:"91.43",r:"27.43"},null,-1),Xo("circle",{cx:"95.68",cy:"91.43",r:"27.43"},null,-1)]])}var W5,G5,X5,Y5=V(()=>{HK(),Bc(),W5=$K({default:()=>X5,render:()=>F5}),G5={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},X5={render:F5}});function K5(e,t){return Ho(),Qo("svg",e7,[...t[0]||=[Xo("path",{d:"M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z"},null,-1)]])}var J5,e7,t7,a7=V(()=>{HK(),Bc(),J5=$K({default:()=>t7,render:()=>K5}),e7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},t7={render:K5}});function r7(e,t){return Ho(),Qo("svg",o7,[...t[0]||=[Xo("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),Xo("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 n7,o7,i7,s7=V(()=>{HK(),Bc(),n7=$K({default:()=>i7,render:()=>r7}),o7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},i7={render:r7}});function l7(e,t){return Ho(),Qo("svg",u7,[...t[0]||=[Xo("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),Xo("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 c7,u7,d7,p7=V(()=>{HK(),Bc(),c7=$K({default:()=>d7,render:()=>l7}),u7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},d7={render:l7}});function h7(e,t){return Ho(),Qo("svg",f7,[...t[0]||=[Xo("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 m7,f7,g7,v7=V(()=>{HK(),Bc(),m7=$K({default:()=>g7,render:()=>h7}),f7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},g7={render:h7}});function b7(e,t){return Ho(),Qo("svg",w7,[...t[0]||=[Xo("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 y7,w7,x7,O7=V(()=>{HK(),Bc(),y7=$K({default:()=>x7,render:()=>b7}),w7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},x7={render:b7}});function k7(e,t){return Ho(),Qo("svg",A7,[...t[0]||=[Xo("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 S7,A7,T7,_7=V(()=>{HK(),Bc(),S7=$K({default:()=>T7,render:()=>k7}),A7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 121 121"},T7={render:k7}});function C7(e,t){return Ho(),Qo("svg",P7,[...t[0]||=[Xo("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 E7,P7,M7,N7=V(()=>{HK(),Bc(),E7=$K({default:()=>M7,render:()=>C7}),P7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},M7={render:C7}});function $7(e,t){return Ho(),Qo("svg",R7,[...t[0]||=[Xo("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),Xo("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 I7,R7,D7,L7=V(()=>{HK(),Bc(),I7=$K({default:()=>D7,render:()=>$7}),R7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},D7={render:$7}});function B7(e,t){return Ho(),Qo("svg",U7,[...t[0]||=[Xo("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 j7,U7,z7,H7=V(()=>{HK(),Bc(),j7=$K({default:()=>z7,render:()=>B7}),U7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},z7={render:B7}});function Z7(e,t){return Ho(),Qo("svg",q7,[...t[0]||=[Xo("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 V7,q7,Q7,F7=V(()=>{HK(),Bc(),V7=$K({default:()=>Q7,render:()=>Z7}),q7={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Q7={render:Z7}});function W7(e,t){return Ho(),Qo("svg",X7,[...t[0]||=[Xo("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 G7,X7,Y7,K7=V(()=>{HK(),Bc(),G7=$K({default:()=>Y7,render:()=>W7}),X7={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},Y7={render:W7}});function J7(e,t){return Ho(),Qo("svg",t9,[...t[0]||=[Xo("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 e9,t9,a9,r9=V(()=>{HK(),Bc(),e9=$K({default:()=>a9,render:()=>J7}),t9={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 17 17"},a9={render:J7}});function n9(e,t){return Ho(),Qo("svg",i9,[...t[0]||=[Xo("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 o9,i9,s9,l9=V(()=>{HK(),Bc(),o9=$K({default:()=>s9,render:()=>n9}),i9={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"},s9={render:n9}});function c9(e,t){return Ho(),Qo("svg",d9,[...t[0]||=[Xo("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 u9,d9,p9,h9=V(()=>{HK(),Bc(),u9=$K({default:()=>p9,render:()=>c9}),d9={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},p9={render:c9}});function m9(e,t){return Ho(),Qo("svg",g9,[...t[0]||=[Xo("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 f9,g9,v9,b9=V(()=>{HK(),Bc(),f9=$K({default:()=>v9,render:()=>m9}),g9={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},v9={render:m9}});function y9(e,t){return Ho(),Qo("svg",x9,[...t[0]||=[Xo("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 w9,x9,O9,k9=V(()=>{HK(),Bc(),w9=$K({default:()=>O9,render:()=>y9}),x9={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},O9={render:y9}});function S9(e,t){return Ho(),Qo("svg",T9,[...t[0]||=[Xo("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 A9,T9,_9,C9=V(()=>{HK(),Bc(),A9=$K({default:()=>_9,render:()=>S9}),T9={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},_9={render:S9}});function E9(e,t){return Ho(),Qo("svg",M9,[...t[0]||=[Xo("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 P9,M9,N9,$9=V(()=>{HK(),Bc(),P9=$K({default:()=>N9,render:()=>E9}),M9={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},N9={render:E9}});function I9(e,t){return Ho(),Qo("svg",D9)}var R9,D9,L9,B9=V(()=>{HK(),Bc(),R9=$K({default:()=>L9,render:()=>I9}),D9={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},L9={render:I9}});function j9(e,t){return Ho(),Qo("svg",z9,[...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 U9,z9,H9,Z9=V(()=>{HK(),Bc(),U9=$K({default:()=>H9,render:()=>j9}),z9={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},H9={render:j9}});function V9(e,t){return Ho(),Qo("svg",Q9,[...t[0]||=[Xo("path",{fill:"#512BD4",d:"M22 2H2v20h20z"},null,-1),Xo("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 q9,Q9,F9,W9=V(()=>{HK(),Bc(),q9=$K({default:()=>F9,render:()=>V9}),Q9={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},F9={render:V9}});function G9(e,t){return Ho(),Qo("svg",Y9,[...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 X9,Y9,K9,J9=V(()=>{HK(),Bc(),X9=$K({default:()=>K9,render:()=>G9}),Y9={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},K9={render:G9}});function eee(e,t){return Ho(),Qo("svg",aee,[...t[0]||=[Xo("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 tee,aee,ree,nee=V(()=>{HK(),Bc(),tee=$K({default:()=>ree,render:()=>eee}),aee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},ree={render:eee}});function oee(e,t){return Ho(),Qo("svg",see,[...t[0]||=[Xo("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 iee,see,lee,cee=V(()=>{HK(),Bc(),iee=$K({default:()=>lee,render:()=>oee}),see={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},lee={render:oee}});function uee(e,t){return Ho(),Qo("svg",pee,[...t[0]||=[Xo("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 dee,pee,hee,mee=V(()=>{HK(),Bc(),dee=$K({default:()=>hee,render:()=>uee}),pee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},hee={render:uee}});function fee(e,t){return Ho(),Qo("svg",vee,[...t[0]||=[Xo("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),Xo("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 gee,vee,bee,yee=V(()=>{HK(),Bc(),gee=$K({default:()=>bee,render:()=>fee}),vee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},bee={render:fee}});function wee(e,t){return Ho(),Qo("svg",Oee,[...t[0]||=[Xo("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),Xo("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 xee,Oee,kee,See=V(()=>{HK(),Bc(),xee=$K({default:()=>kee,render:()=>wee}),Oee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},kee={render:wee}});function Aee(e,t){return Ho(),Qo("svg",_ee,[...t[0]||=[Xo("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 Tee,_ee,Cee,Eee=V(()=>{HK(),Bc(),Tee=$K({default:()=>Cee,render:()=>Aee}),_ee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Cee={render:Aee}});function Pee(e,t){return Ho(),Qo("svg",Nee,[...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 Mee,Nee,$ee,Iee=V(()=>{HK(),Bc(),Mee=$K({default:()=>$ee,render:()=>Pee}),Nee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},$ee={render:Pee}});function Ree(e,t){return Ho(),Qo("svg",Lee,[...t[0]||=[Xo("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 Dee,Lee,Bee,jee=V(()=>{HK(),Bc(),Dee=$K({default:()=>Bee,render:()=>Ree}),Lee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Bee={render:Ree}});function Uee(e,t){return Ho(),Qo("svg",Hee,[...t[0]||=[Xo("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 zee,Hee,Zee,Vee=V(()=>{HK(),Bc(),zee=$K({default:()=>Zee,render:()=>Uee}),Hee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Zee={render:Uee}});function qee(e,t){return Ho(),Qo("svg",Fee,[...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 Qee,Fee,Wee,Gee=V(()=>{HK(),Bc(),Qee=$K({default:()=>Wee,render:()=>qee}),Fee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Wee={render:qee}});function Xee(e,t){return Ho(),Qo("svg",Kee,[...t[0]||=[Xo("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 Yee,Kee,Jee,ete=V(()=>{HK(),Bc(),Yee=$K({default:()=>Jee,render:()=>Xee}),Kee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Jee={render:Xee}});function tte(e,t){return Ho(),Qo("svg",rte,[...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 ate,rte,nte,ote=V(()=>{HK(),Bc(),ate=$K({default:()=>nte,render:()=>tte}),rte={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},nte={render:tte}});function ite(e,t){return Ho(),Qo("svg",lte,[...t[0]||=[Xo("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),Xo("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 ste,lte,cte,ute=V(()=>{HK(),Bc(),ste=$K({default:()=>cte,render:()=>ite}),lte={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},cte={render:ite}});function dte(e,t){return Ho(),Qo("svg",hte,[...t[0]||=[Xo("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),Xo("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),Xo("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),Xo("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 pte,hte,mte,fte=V(()=>{HK(),Bc(),pte=$K({default:()=>mte,render:()=>dte}),hte={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},mte={render:dte}});function gte(e,t){return Ho(),Qo("svg",bte,[...t[0]||=[Xo("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 vte,bte,yte,wte=V(()=>{HK(),Bc(),vte=$K({default:()=>yte,render:()=>gte}),bte={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},yte={render:gte}});function xte(e,t){return Ho(),Qo("svg",kte,[...t[0]||=[Xo("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),Xo("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 Ote,kte,Ste,Ate=V(()=>{HK(),Bc(),Ote=$K({default:()=>Ste,render:()=>xte}),kte={xmlns:"http://www.w3.org/2000/svg",fill:"green",viewBox:"-2 0 24 24"},Ste={render:xte}});function Tte(e,t){return Ho(),Qo("svg",Cte,[...t[0]||=[Xo("path",{fill:"#41B883",d:"m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z"},null,-1),Xo("path",{fill:"#34495E",d:"m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z"},null,-1)]])}var _te,Cte,Ete,Pte,Mte,Nte,$te,Ite,Rte,Dte,Lte,Bte,jte,Ute,zte,Hte,Zte,Vte=V(()=>{HK(),Bc(),_te=$K({default:()=>Ete,render:()=>Tte}),Cte={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Ete={render:Tte}}),qte=V(()=>{FK(),KK(),rJ(),lJ(),hJ(),bJ(),kJ(),CJ(),$J(),BJ(),ZJ(),WJ(),JJ(),n0(),c0(),m0(),y0(),S0(),E0(),I0(),j0(),V0(),G0(),e1(),o1(),u1(),f1(),w1(),A1(),P1(),R1(),U1(),q1(),X1(),t2(),i2(),d2(),g2(),x2(),T2(),M2(),D2(),z2(),Q2(),Y2(),a8(),s8(),p8(),v8(),O8(),_8(),N8(),L8(),H8(),F8(),K8(),r4(),l4(),h4(),b4(),k4(),C4(),$4(),B4(),Z4(),W4(),J4(),n6(),c6(),m6(),y6(),S6(),E6(),I6(),j6(),V6(),G6(),e3(),o3(),u3(),f3(),w3(),A3(),P3(),R3(),U3(),q3(),X3(),t5(),i5(),d5(),g5(),x5(),T5(),M5(),D5(),z5(),Q5(),Y5(),a7(),s7(),p7(),v7(),O7(),_7(),N7(),L7(),H7(),F7(),K7(),r9(),l9(),h9(),b9(),k9(),C9(),$9(),B9(),Z9(),W9(),J9(),nee(),cee(),mee(),yee(),See(),Eee(),Iee(),jee(),Vee(),Gee(),ete(),ote(),ute(),fte(),wte(),Ate(),Vte(),Pte=Object.assign({"../icons/Add.svg":VK,"../icons/AddTab.svg":GK,"../icons/Alert.svg":eJ,"../icons/ArrowLeft.svg":oJ,"../icons/ArrowRight.svg":uJ,"../icons/Brackets.svg":fJ,"../icons/Branch.svg":wJ,"../icons/Changelog.svg":AJ,"../icons/Checkmark.svg":PJ,"../icons/ChevronDown.svg":RJ,"../icons/ChevronLeft.svg":UJ,"../icons/ChevronRight.svg":qJ,"../icons/ChevronUp.svg":XJ,"../icons/Clipboard.svg":t0,"../icons/Close.svg":i0,"../icons/CloseTab.svg":d0,"../icons/CloseTabs.svg":g0,"../icons/Cloud.svg":x0,"../icons/CodeFolder.svg":T0,"../icons/Cog.svg":M0,"../icons/Collection.svg":D0,"../icons/Cookie.svg":z0,"../icons/DarkMode.svg":Q0,"../icons/Delete.svg":Y0,"../icons/Discord.svg":a1,"../icons/DocsPage.svg":s1,"../icons/Download.svg":p1,"../icons/Duplicate.svg":v1,"../icons/Edit.svg":O1,"../icons/Ellipses.svg":_1,"../icons/Email.svg":N1,"../icons/Error.svg":L1,"../icons/Example.svg":H1,"../icons/ExternalLink.svg":F1,"../icons/FilterList.svg":K1,"../icons/Folder.svg":r2,"../icons/GitHub.svg":l2,"../icons/GitHubLine.svg":h2,"../icons/Globe.svg":b2,"../icons/Google.svg":k2,"../icons/Help.svg":C2,"../icons/Hide.svg":$2,"../icons/History.svg":B2,"../icons/House.svg":Z2,"../icons/Import.svg":W2,"../icons/Info.svg":J2,"../icons/Key.svg":n8,"../icons/Leave.svg":c8,"../icons/LightDarkModeToggle.svg":m8,"../icons/LightMode.svg":y8,"../icons/Link.svg":S8,"../icons/Lock.svg":E8,"../icons/Logo.svg":I8,"../icons/Magic.svg":j8,"../icons/Markdown.svg":V8,"../icons/Menu.svg":G8,"../icons/NotAllowed.svg":e4,"../icons/Page.svg":o4,"../icons/Pencil.svg":u4,"../icons/Play.svg":f4,"../icons/Refresh.svg":w4,"../icons/Roadmap.svg":A4,"../icons/Scribble.svg":P4,"../icons/Search.svg":R4,"../icons/Server.svg":U4,"../icons/Settings.svg":q4,"../icons/Show.svg":X4,"../icons/Sort.svg":t6,"../icons/Terminal.svg":i6,"../icons/Trash.svg":d6,"../icons/Unlock.svg":g6,"../icons/Unwatch.svg":x6,"../icons/Upload.svg":T6,"../icons/User.svg":M6,"../icons/UserSwitch.svg":D6,"../icons/Users.svg":z6,"../icons/Versions.svg":Q6,"../icons/Wallet.svg":Y6,"../icons/Watch.svg":a3,"../icons/Workspace.svg":s3,"../icons/programming-framework-angular.svg":p3,"../icons/programming-framework-astro.svg":v3,"../icons/programming-framework-laravel.svg":O3,"../icons/programming-framework-nextdotjs.svg":_3,"../icons/programming-framework-react.svg":N3,"../icons/programming-framework-vuedotjs.svg":L3,"../icons/programming-language-c.svg":H3,"../icons/programming-language-clojure.svg":F3,"../icons/programming-language-csharp.svg":K3,"../icons/programming-language-css3.svg":r5,"../icons/programming-language-dart.svg":l5,"../icons/programming-language-fsharp.svg":h5,"../icons/programming-language-go.svg":b5,"../icons/programming-language-html5.svg":k5,"../icons/programming-language-http.svg":C5,"../icons/programming-language-java.svg":$5,"../icons/programming-language-javascript.svg":B5,"../icons/programming-language-json.svg":Z5,"../icons/programming-language-julia.svg":W5,"../icons/programming-language-kotlin.svg":J5,"../icons/programming-language-node.svg":n7,"../icons/programming-language-objc.svg":c7,"../icons/programming-language-ocaml.svg":m7,"../icons/programming-language-php.svg":y7,"../icons/programming-language-powershell.svg":S7,"../icons/programming-language-python.svg":E7,"../icons/programming-language-r.svg":I7,"../icons/programming-language-ruby.svg":j7,"../icons/programming-language-rust.svg":V7,"../icons/programming-language-scala.svg":G7,"../icons/programming-language-shell.svg":e9,"../icons/programming-language-swift.svg":o9,"../icons/programming-language-typescript.svg":u9,"../icons/programming-script-code.svg":f9,"../icons/programming-tool-git.svg":w9,"../icons/programming-tool-tailwindcss.svg":A9}),Mte=Object.assign({"../logos/Adonisjs.svg":P9,"../logos/Astro.svg":R9,"../logos/Docusaurus.svg":U9,"../logos/Dotnet.svg":q9,"../logos/Elysiajs.svg":X9,"../logos/Express.svg":tee,"../logos/Fastapi.svg":iee,"../logos/Fastify.svg":dee,"../logos/Go.svg":gee,"../logos/Hono.svg":xee,"../logos/Laravel.svg":Tee,"../logos/Litestar.svg":Mee,"../logos/Nestjs.svg":Dee,"../logos/Nextjs.svg":zee,"../logos/Nitro.svg":Qee,"../logos/Nuxt.svg":Yee,"../logos/Openapi.svg":ate,"../logos/Platformatic.svg":ste,"../logos/React.svg":pte,"../logos/Rust.svg":vte,"../logos/Svelte.svg":Ote,"../logos/Vue.svg":_te}),Nte=e=>{let t=`../icons/${e}.svg`;return Pte[t]?Pte[t]:(console.warn(`Could not find icon: ${e}`),null)},$te=e=>{let t=`../logos/${e}.svg`;return Mte[t]?Mte[t]:(console.warn(`Could not find icon: ${e}`),null)}}),Qte=V(()=>{h_(),Ite=a_({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"}})}),Fte=V(()=>{qte(),Qte(),h_(),Bc(),Rte=Cn({inheritAttrs:!1,__name:"ScalarIcon",props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){yl(e=>({c07589c2:r.value}));let t=e,{cx:a}=c_(),r=il(()=>t.thickness??"2"),n=il(()=>t.label?{"aria-label":t.label}:{"aria-hidden":!0,role:"presentation"}),o=il(()=>t.icon?Nte(t.icon):t.logo?$te(t.logo):void 0);return(t,r)=>(Ho(),Fo(Fn(o.value),at(Ko({...qa(a)("scalar-icon",qa(Ite)({size:e.size})),...n.value})),null,16))}})}),Wte=V(()=>{zK(),Fte(),Dte=MK(Rte,[["__scopeId","data-v-b651bb23"]])}),Gte=V(()=>{Qte(),Wte(),h_(),Bc(),Lte=Cn({inheritAttrs:!1,__name:"ScalarIconLegacyAdapter",props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){let{cx:t}=c_();return(a,r)=>"string"==typeof e.icon?(Ho(),Fo(Dte,ii({key:0},{...a.$props,...a.$attrs},{icon:e.icon}),null,16,["icon"])):(Ho(),Fo(Fn(e.icon),ii({key:1,label:e.label,weight:e.weight},qa(t)(qa(Ite)({size:e.size}))),null,16,["label","weight"]))}})}),Xte=V(()=>{Gte(),Bte=Lte}),Yte=V(()=>{Wte()}),Kte=V(()=>{UK(),Bc(),Yte(),jte={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"},Ute={class:"filter-button context-bar-group-hover:text-c-1 absolute -right-[30px] flex items-center"},zte={class:"context-bar-group-hover:hidden mr-1.5"},Hte=Cn({__name:"SectionFilter",props:oo({filters:{default:()=>[]},filterIds:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=xo(e,"modelValue"),a=Ha(),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],Kr(()=>{if(a.value){let e=a.value.querySelector('button[aria-selected="true"]');e&&e.focus()}})};return(n,o)=>(Ho(),Qo("div",{ref_key:"tablist",ref:a,class:"filter-hover context-bar-group ml-auto hidden lg:flex",role:"tablist",onKeydown:[o[0]||=Pc(e=>r("prev"),["left"]),o[1]||=Pc(e=>r("next"),["right"])]},[Xo("div",jte,[(Ho(!0),Qo(Bs,null,Xn(e.filters,a=>(Ho(),Fo(PK,{key:a,class:"filter-hover-item",controls:e.filterIds?.[a],role:"tab",selected:t.value===a,onClick:e=>t.value=a},{default:sn(()=>[ei(Yt(a),1)]),_:2},1032,["controls","selected","onClick"]))),128)),Xo("div",Ute,[Xo("span",zte,Yt(t.value),1),Fs(qa(Dte),{icon:"FilterList",size:"md",thickness:"2"})])])],544))}})}),Jte=V(()=>{kh(),Kte(),Zte=yh(Hte,[["__scopeId","data-v-07ff8fc3"]])});function eae({multiple:e,accept:t,onChange:a,onError:r}={}){let n,o=Ha(null);return typeof document<"u"&&(n=document.createElement("input"),n.type="file",n.onchange=e=>{let t=e.target;o.value=t.files,a?.(o.value)},n.onerror=()=>r?.(),n.multiple=e,n.accept=t),{files:Na(o),open:()=>{if(!n)return r?.();n.click()}}}var tae,aae,rae,nae,oae,iae,sae,lae=V(()=>{Bc()}),cae=V(()=>{h_(),Bc(),tae={class:"circular-loader"},aae=Cn({inheritAttrs:!1,__name:"ScalarLoading",props:{loader:{},size:{}},setup(e){let{cx:t}=c_(),a=a_({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?(Ho(),Qo("div",at(ii({key:0},qa(t)("loader-wrapper",qa(a)({size:e.size})))),[(Ho(),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),Xo("g",tae,[Xo("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)}})}),uae=V(()=>{cae(),zK(),rae=MK(aae,[["__scopeId","data-v-27df5cd8"]])}),dae=V(()=>{nae={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"]}}),pae=V(()=>{uae(),dae(),h_(),Bc(),oae={key:3,class:"centered"},iae=Cn({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=a_({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:nae},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=a_({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=a_({variants:{size:{xs:"size-4",sm:"size-5",md:"size-6"}}}),{cx:n}=c_();return(o,i)=>(Ho(),Fo(Fn(e.is),ii({"aria-disabled":e.disabled||void 0,type:"button"===e.is?"button":void 0},qa(n)(qa(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{default:sn(()=>[o.$slots.icon||e.icon?(Ho(),Qo("div",{key:0,class:tt([qa(a)({size:e.size}),{invisible:e.loader?.isActive}])},[Kn(o.$slots,"icon",{},()=>[(Ho(),Fo(Fn(e.icon),{class:"size-full"}))])],2)):ai("",!0),e.loader?(Ho(),Qo("span",{key:1,class:tt({invisible:e.loader?.isActive})},[Kn(o.$slots,"default")],2)):Kn(o.$slots,"default",{},void 0,void 0,2),e.loader?.isActive?(Ho(),Qo("div",oae,[Fs(qa(rae),{class:tt(qa(r)({size:e.size})),loader:e.loader},null,8,["class","loader"])])):ai("",!0)]),_:3},16,["aria-disabled","type"]))}})}),hae=V(()=>{pae(),sae=iae}),mae=V(()=>{hae()});function fae(e){return!!e[0]&&function(e){return void 0!==e?.options}(e[0])}var gae,vae,bae,yae,wae,xae,Oae,kae,Sae,Aae,Tae,_ae,Cae,Eae,Pae,Mae,Nae,$ae,Iae,Rae,Dae,Lae=V(()=>{}),Bae=V(()=>{gae=(e,t)=>""===e?t:t.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()))}),jae=V(()=>{Bc(),Xk(),vae=Cn({__name:"ScalarListboxCheckbox",props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup:e=>(t,a)=>(Ho(),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?(Ho(),Fo(qa(mf),{key:0,class:"size-3",weight:"bold"})):ai("",!0)],2))})}),Uae=V(()=>{jae(),bae=vae}),zae=V(()=>{h_(),Bc(),yae=["aria-selected"],wae=Cn({__name:"ScalarComboboxOption",props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){let t=a_({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)=>(Ho(),Qo("li",{"aria-selected":e.selected,class:tt(qa(r_)(qa(t)({active:e.active,selected:e.selected}))),role:"option",tabindex:"-1"},[Kn(a.$slots,"default",{active:e.active,selected:e.selected})],10,yae))}})}),Hae=V(()=>{zae(),xae=wae}),Zae=V(()=>{Bc(),Oae=["id","aria-labelledby","role"],kae=["id"],Sae=Cn({__name:"ScalarComboboxOptionGroup",props:{id:{default:()=>En()},hidden:{type:Boolean,default:!1}},setup:e=>(t,a)=>(Ho(),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):(Ho(),Qo("div",{key:0,id:`${e.id}-label`,class:"min-w-0 truncate px-2.5 py-1.5 text-c-2"},[Kn(t.$slots,"label")],8,kae)),Kn(t.$slots,"default")],8,Oae))})}),Vae=V(()=>{Zae(),Aae=Sae}),qae=V(()=>{Bae(),Uae(),Hae(),Vae(),Lae(),Bc(),Xk(),Tae={class:"relative flex"},_ae=["aria-activedescendant","placeholder"],Cae=["aria-multiselectable"],Eae={class:"inline-block min-w-0 flex-1 truncate text-c-1"},Pae=Cn({inheritAttrs:!1,__name:"ScalarComboboxOptions",props:oo({options:{},placeholder:{},filterFn:{type:Function,default:gae},multiselect:{type:Boolean}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:oo(["add"],["update:modelValue"]),setup(e,{emit:t}){let a=t,r=xo(e,"modelValue"),n=to(),o=`scalar-combobox-items-${En()}`,i={id:`${En()}-add`,label:"Add a new option"};function s(e){return`${o}-${e.id}`}let l=il(()=>fae(e.options)?e.options.flatMap(e=>e.options):e.options),c=il(()=>fae(e.options)?e.options:[{label:"",options:e.options}]),u=Ha(""),d=Ha(r.value?.[0]??l.value[0]);as(()=>{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)}),hn(()=>u.value,()=>d.value=h.value[0]);let p=il(()=>e.filterFn(u.value,l.value,c.value)),h=il(()=>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=Ha(null);return as(()=>setTimeout(()=>v.value?.focus(),0)),(t,a)=>(Ho(),Qo(Bs,null,[Xo("div",Tae,[Fs(qa(Vb),{class:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4"}),ln(Xo("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]||=Pc(Cc(e=>f(1),["prevent"]),["down"]),a[2]||=Pc(Cc(e=>d.value&&m(d.value),["prevent"]),["enter"]),a[3]||=Pc(Cc(e=>f(-1),["prevent"]),["up"])]},null,40,_ae),[[xc,u.value]])]),ln(Xo("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"},[(Ho(!0),Qo(Bs,null,Xn(c.value,(n,i)=>(Ho(),Fo(Aae,{id:`${o}-group-${i}`,key:i,hidden:!n.options.some(e=>p.value.some(t=>t.id===e.id))||!n.label},{label:sn(()=>[t.$slots.group?Kn(t.$slots,"group",{group:n},void 0,void 0,0):(Ho(),Qo(Bs,{key:1},[ei(Yt(n.label),1)],64))]),default:sn(()=>[(Ho(!0),Qo(Bs,null,Xn(p.value,o=>(Ho(),Qo(Bs,{key:o.id},[n.options.some(e=>e.id===o.id)?(Ho(),Fo(xae,{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]||=Cc(()=>{},["prevent"]),onMouseenter:e=>d.value=o},{default:sn(({active:a,selected:n})=>[t.$slots.option?Kn(t.$slots,"option",{active:a,option:o,selected:n},void 0,void 0,0):(Ho(),Qo(Bs,{key:1},[Fs(qa(bae),{multiselect:e.multiselect,selected:r.value.some(e=>e.id===o.id)},null,8,["multiselect","selected"]),Xo("span",Eae,Yt(o.label),1)],64))]),_:2},1032,["id","active","selected","onClick","onMouseenter"])):ai("",!0)],64))),128))]),_:2},1032,["id","hidden"]))),128)),n.add?(Ho(),Fo(xae,{key:0,id:s(i),active:d.value?.id===i.id,onClick:g,onMousedown:a[5]||=Cc(()=>{},["prevent"]),onMouseenter:a[6]||=e=>d.value=i},{default:sn(({active:e})=>[Fs(qa(By),{class:"size-4 p-px"}),Kn(t.$slots,"add",{active:e})]),_:3},8,["id","active"])):ai("",!0)],8,Cae),[[nc,p.value.length||n.add]])],64))}})}),Qae=V(()=>{qae(),Mae=Pae}),Fae=V(()=>{Bc(),Nae=Symbol(),$ae=()=>dn(Nae,"body"),Iae=e=>{let t=e??`scalar-teleport-${En()}`;return un(Nae,`#${t}`),t}}),Wae=V(()=>{Fae(),Bc(),Rae=Cn({inheritAttrs:!1,__name:"ScalarTeleport",props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=$ae();return(a,r)=>(Ho(),Fo(Ri,{defer:!e.immediate,disabled:e.disabled,to:e.to||qa(t)},[Xo("div",ii({class:"scalar-app",style:{display:"contents"}},a.$attrs),[Kn(a.$slots,"default")],16)],8,["defer","disabled","to"]))}})}),Gae=V(()=>{Wae(),Dae=Rae});var Xae=V(()=>{Bc()});function Yae(e,t,a){return ure(e,cre(t,a))}function Kae(e,t){return"function"==typeof e?e(t):e}function Jae(e){return e.split("-")[0]}function ere(e){return e.split("-")[1]}function tre(e){return"x"===e?"y":"x"}function are(e){return"y"===e?"height":"width"}function rre(e){return gre.has(Jae(e))?"y":"x"}function nre(e){return tre(rre(e))}function ore(e){return e.replace(/start|end/g,e=>fre[e])}function ire(e,t,a,r){let n=ere(e),o=function(e,t,a){switch(e){case"top":case"bottom":return a?t?bre:vre:t?vre:bre;case"left":case"right":return t?yre:wre;default:return[]}}(Jae(e),"start"===a,r);return n&&(o=o.map(e=>e+"-"+n),t&&(o=o.concat(o.map(ore)))),o}function sre(e){return e.replace(/left|right|bottom|top/g,e=>mre[e])}function lre(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 cre,ure,dre,pre,hre,mre,fre,gre,vre,bre,yre,wre,xre=V(()=>{cre=Math.min,ure=Math.max,dre=Math.round,pre=Math.floor,hre=e=>({x:e,y:e}),mre={left:"right",right:"left",bottom:"top",top:"bottom"},fre={start:"end",end:"start"},gre=new Set(["top","bottom"]),vre=["left","right"],bre=["right","left"],yre=["top","bottom"],wre=["bottom","top"]});function Ore(e,t,a){let r,{reference:n,floating:o}=e,i=rre(t),s=nre(t),l=are(s),c=Jae(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(ere(t)){case"start":r[s]-=h*(a&&u?-1:1);break;case"end":r[s]+=h*(a&&u?-1:1)}return r}async function kre(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}=Kae(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=lre(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=lre(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 Sre,Are,Tre,_re,Cre,Ere,Pre=V(()=>{xre(),Sre=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}=Ore(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}=Ore(c,p,l))),a=-1)}return{x:u,y:d,placement:p,strategy:n,middlewareData:h}},Are=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}=Kae(e,t);if(null!=(a=n.arrow)&&a.alignmentOffset)return{};let g=Jae(r),v=rre(i),b=Jae(i)===i,y=await(null==s.isRTL?void 0:s.isRTL(l.floating)),w=d||(b||!m?[sre(i)]:function(e){let t=sre(e);return[ore(e),t,ore(t)]}(i)),x="none"!==h;!d&&x&&w.push(...ire(i,m,h,y));let O=[i,...w],k=await kre(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=ere(e),n=nre(e),o=are(n),i="x"===n?r===(a?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=sre(i)),[i,sre(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=O[e];if(t&&("alignment"!==u||v===rre(t)||A.every(e=>rre(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=rre(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{}}}},Tre=new Set(["left","top"]),_re=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=Jae(a),s=ere(a),l="y"===rre(a),c=Tre.has(i)?-1:1,u=o&&l?-1:1,d=Kae(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}}}}},Cre=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}=Kae(e,t),c={x:a,y:r},u=await kre(t,l),d=rre(Jae(n)),p=tre(d),h=c[p],m=c[d];if(o){let e="y"===p?"bottom":"right";h=Yae(h+u["y"===p?"top":"left"],h,h-u[e])}if(i){let e="y"===d?"bottom":"right";m=Yae(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}}}}}},Ere=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}=Kae(e,t),p=await kre(t,d),h=Jae(i),m=ere(i),f="y"===rre(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,w=cre(v-p[n],b),x=cre(g-p[o],y),O=!t.middlewareData.shift,k=w,S=x;if(null!=(a=t.middlewareData.shift)&&a.enabled.x&&(S=y),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(k=b),O&&!m){let e=ure(p.left,0),t=ure(p.right,0),a=ure(p.top,0),r=ure(p.bottom,0);f?S=g-2*(0!==e||0!==t?e+t:ure(p.left,p.right)):k=v-2*(0!==a||0!==r?a+r:ure(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 Mre(){return typeof window<"u"}function Nre(e){return Rre(e)?(e.nodeName||"").toLowerCase():"#document"}function $re(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ire(e){return((Rre(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Rre(e){return!!Mre()&&(e instanceof Node||e instanceof $re(e).Node)}function Dre(e){return!!Mre()&&(e instanceof Element||e instanceof $re(e).Element)}function Lre(e){return!!Mre()&&(e instanceof HTMLElement||e instanceof $re(e).HTMLElement)}function Bre(e){return!(!Mre()||typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof $re(e).ShadowRoot)}function jre(e){let{overflow:t,overflowX:a,overflowY:r,display:n}=qre(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+a)&&!Yre.has(n)}function Ure(e){return Kre.has(Nre(e))}function zre(e){return Jre.some(t=>{try{return e.matches(t)}catch{return!1}})}function Hre(e){let t=Zre(),a=Dre(e)?qre(e):e;return ene.some(e=>!!a[e]&&"none"!==a[e])||!!a.containerType&&"normal"!==a.containerType||!t&&!!a.backdropFilter&&"none"!==a.backdropFilter||!t&&!!a.filter&&"none"!==a.filter||tne.some(e=>(a.willChange||"").includes(e))||ane.some(e=>(a.contain||"").includes(e))}function Zre(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Vre(e){return rne.has(Nre(e))}function qre(e){return $re(e).getComputedStyle(e)}function Qre(e){return Dre(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Fre(e){if("html"===Nre(e))return e;let t=e.assignedSlot||e.parentNode||Bre(e)&&e.host||Ire(e);return Bre(t)?t.host:t}function Wre(e){let t=Fre(e);return Vre(t)?e.ownerDocument?e.ownerDocument.body:e.body:Lre(t)&&jre(t)?t:Wre(t)}function Gre(e,t,a){void 0===t&&(t=[]),void 0===a&&(a=!0);let r=Wre(e),n=r===e.ownerDocument?.body,o=$re(r);if(n){let e=Xre(o);return t.concat(o,o.visualViewport||[],jre(r)?r:[],e&&a?Gre(e):[])}return t.concat(r,Gre(r,[],a))}function Xre(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var Yre,Kre,Jre,ene,tne,ane,rne,nne=V(()=>{Yre=new Set(["inline","contents"]),Kre=new Set(["table","td","th"]),Jre=[":popover-open",":modal"],ene=["transform","translate","scale","rotate","perspective"],tne=["transform","translate","scale","rotate","perspective","filter"],ane=["paint","layout","strict","content"],rne=new Set(["html","body","#document"])});function one(e){let t=qre(e),a=parseFloat(t.width)||0,r=parseFloat(t.height)||0,n=Lre(e),o=n?e.offsetWidth:a,i=n?e.offsetHeight:r,s=dre(a)!==o||dre(r)!==i;return s&&(a=o,r=i),{width:a,height:r,$:s}}function ine(e){return Dre(e)?e:e.contextElement}function sne(e){let t=ine(e);if(!Lre(t))return hre(1);let a=t.getBoundingClientRect(),{width:r,height:n,$:o}=one(t),i=(o?dre(a.width):a.width)/r,s=(o?dre(a.height):a.height)/n;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}function lne(e){let t=$re(e);return Zre()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Tne}function cne(e,t,a,r){void 0===t&&(t=!1),void 0===a&&(a=!1);let n=e.getBoundingClientRect(),o=ine(e),i=hre(1);t&&(r?Dre(r)&&(i=sne(r)):i=sne(e));let s=function(e,t,a){return void 0===t&&(t=!1),!(!a||t&&a!==$re(e))&&t}(o,a,r)?lne(o):hre(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=$re(o),t=r&&Dre(r)?$re(r):r,a=e,n=Xre(a);for(;n&&r&&t!==a;){let e=sne(n),t=n.getBoundingClientRect(),r=qre(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=$re(n),n=Xre(a)}}return lre({width:u,height:d,x:l,y:c})}function une(e,t){let a=Qre(e).scrollLeft;return t?t.left+a:cne(Ire(e)).left+a}function dne(e,t){let a=e.getBoundingClientRect();return{x:a.left+t.scrollLeft-une(e,a),y:a.top+t.scrollTop}}function pne(e){let{elements:t,rect:a,offsetParent:r,strategy:n}=e,o="fixed"===n,i=Ire(r),s=!!t&&zre(t.floating);if(r===i||s&&o)return a;let l={scrollLeft:0,scrollTop:0},c=hre(1),u=hre(0),d=Lre(r);if((d||!d&&!o)&&(("body"!==Nre(r)||jre(i))&&(l=Qre(r)),Lre(r))){let e=cne(r);c=sne(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let p=!i||d||o?hre(0):dne(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 hne(e){return Array.from(e.getClientRects())}function mne(e,t,a){let r;if("viewport"===t)r=function(e,t){let a=$re(e),r=Ire(e),n=a.visualViewport,o=r.clientWidth,i=r.clientHeight,s=0,l=0;if(n){o=n.width,i=n.height;let e=Zre();(!e||e&&"fixed"===t)&&(s=n.offsetLeft,l=n.offsetTop)}let c=une(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<=_ne&&(o-=i)}else c<=_ne&&(o+=c);return{width:o,height:i,x:s,y:l}}(e,a);else if("document"===t)r=function(e){let t=Ire(e),a=Qre(e),r=e.ownerDocument.body,n=ure(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=ure(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),i=-a.scrollLeft+une(e),s=-a.scrollTop;return"rtl"===qre(r).direction&&(i+=ure(t.clientWidth,r.clientWidth)-n),{width:n,height:o,x:i,y:s}}(Ire(e));else if(Dre(t))r=function(e,t){let a=cne(e,!0,"fixed"===t),r=a.top+e.clientTop,n=a.left+e.clientLeft,o=Lre(e)?sne(e):hre(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=lne(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return lre(r)}function fne(e,t){let a=Fre(e);return!(a===t||!Dre(a)||Vre(a))&&("fixed"===qre(a).position||fne(a,t))}function gne(e,t){let a=t.get(e);if(a)return a;let r=Gre(e,[],!1).filter(e=>Dre(e)&&"body"!==Nre(e)),n=null,o="fixed"===qre(e).position,i=o?Fre(e):e;for(;Dre(i)&&!Vre(i);){let t=qre(i),a=Hre(i);!a&&"fixed"===t.position&&(n=null),(o?!a&&!n:!a&&"static"===t.position&&n&&Cne.has(n.position)||jre(i)&&!a&&fne(e,i))?r=r.filter(e=>e!==i):n=t,i=Fre(i)}return t.set(e,r),r}function vne(e){let{element:t,boundary:a,rootBoundary:r,strategy:n}=e,o=[..."clippingAncestors"===a?zre(t)?[]:gne(t,this._c):[].concat(a),r],i=o[0],s=o.reduce((e,a)=>{let r=mne(t,a,n);return e.top=ure(r.top,e.top),e.right=cre(r.right,e.right),e.bottom=cre(r.bottom,e.bottom),e.left=ure(r.left,e.left),e},mne(t,i,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function bne(e){let{width:t,height:a}=one(e);return{width:t,height:a}}function yne(e,t,a){let r=Lre(t),n=Ire(t),o="fixed"===a,i=cne(e,!0,o,t),s={scrollLeft:0,scrollTop:0},l=hre(0);function c(){l.x=une(n)}if(r||!r&&!o)if(("body"!==Nre(t)||jre(n))&&(s=Qre(t)),r){let e=cne(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?hre(0):dne(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 wne(e){return"static"===qre(e).position}function xne(e,t){if(!Lre(e)||"fixed"===qre(e).position)return null;if(t)return t(e);let a=e.offsetParent;return Ire(e)===a&&(a=a.ownerDocument.body),a}function One(e,t){let a=$re(e);if(zre(e))return a;if(!Lre(e)){let t=Fre(e);for(;t&&!Vre(t);){if(Dre(t)&&!wne(t))return t;t=Fre(t)}return a}let r=xne(e,t);for(;r&&Ure(r)&&wne(r);)r=xne(r,t);return r&&Vre(r)&&wne(r)&&!Hre(r)?a:r||function(e){let t=Fre(e);for(;Lre(t)&&!Vre(t);){if(Hre(t))return t;if(zre(t))return null;t=Fre(t)}return null}(e)||a}function kne(e){return"rtl"===qre(e).direction}function Sne(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ane(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=ine(e),u=n||o?[...c?Gre(c):[],...Gre(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=Ire(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:-pre(d)+"px "+-pre(n.clientWidth-(u+p))+"px "+-pre(n.clientHeight-(d+h))+"px "+-pre(u)+"px",threshold:ure(0,cre(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&&!Sne(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?cne(e):null;return l&&function t(){let r=cne(e);f&&!Sne(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 Tne,_ne,Cne,Ene,Pne,Mne,Nne,$ne,Ine,Rne,Dne=V(()=>{Pre(),xre(),nne(),Tne=hre(0),_ne=25,Cne=new Set(["absolute","fixed"]),Ene=async function(e){let t=this.getOffsetParent||One,a=this.getDimensions,r=await a(e.floating);return{reference:yne(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},Pne={convertOffsetParentRelativeRectToViewportRelativeRect:pne,getDocumentElement:Ire,getClippingRect:vne,getOffsetParent:One,getElementRects:Ene,getClientRects:hne,getDimensions:bne,getScale:sne,isElement:Dre,isRTL:kne},Mne=_re,Nne=Cre,$ne=Are,Ine=Ere,Rne=(e,t,a)=>{let r=new Map,n={platform:Pne,...a},o={...n.platform,_c:r};return Sre(e,t,{...n,platform:o})}}),Lne=V(()=>{Bc()});function Bne(e){if(function(e){return"object"==typeof e&&!!e&&"$el"in e}(e)){let t=e.$el;return Rre(t)&&"#comment"===Nre(t)?null:t}return e}function jne(e){return"function"==typeof e?e():qa(e)}function Une(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function zne(e,t){let a=Une(e);return Math.round(t*a)/a}function Hne(e,t,a){void 0===a&&(a={});let r,n=a.whileElementsMounted,o=il(()=>jne(a.open)??!0),i=il(()=>jne(a.middleware)),s=il(()=>jne(a.placement)??"bottom"),l=il(()=>jne(a.strategy)??"absolute"),c=il(()=>jne(a.transform)??!0),u=il(()=>Bne(e.value)),d=il(()=>Bne(t.value)),p=Ha(0),h=Ha(0),m=Ha(l.value),f=Ha(s.value),g=Za({}),v=Ha(!1),b=il(()=>{let e={position:m.value,left:"0",top:"0"};if(!d.value)return e;let t=zne(d.value,p.value),a=zne(d.value,h.value);return c.value?{...e,transform:"translate("+t+"px, "+a+"px)",...Une(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;Rne(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 w(){"function"==typeof r&&(r(),r=void 0)}return hn([i,s,l,o],y,{flush:"sync"}),hn([u,d],function(){w(),void 0!==n?null==u.value||null==d.value||(r=n(u.value,d.value,y)):y()},{flush:"sync"}),hn(o,function(){o.value||(v.value=!1)},{flush:"sync"}),ta()&&aa(w),{x:$a(p),y:$a(h),strategy:$a(m),placement:$a(f),middlewareData:$a(g),isPositioned:$a(v),floatingStyles:b,update:y}}var Zne,Vne,qne,Qne,Fne,Wne,Gne,Xne,Yne,Kne,Jne,eoe,toe,aoe,roe=V(()=>{Dne(),nne(),Lne()}),noe=V(()=>{Gae(),Xae(),Bc(),xre(),roe(),Zne=Cn({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=Ha(null),r=Ha(null),n=il(()=>{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:Ha(!0)}){let a=Ha(0),r=Ha(0),n=Ha();return typeof ResizeObserver<"u"&&(n.value=new ResizeObserver(([e])=>{e&&(a.value=e.borderBoxSize[0]?.inlineSize??0,r.value=e.borderBoxSize[0]?.blockSize??0)})),hn([()=>Qa(t.enabled),()=>Qa(e)],([e,t])=>{!t||!n.value||(e?n.value.observe(t):n.value.disconnect())},{immediate:!0}),{width:il(()=>Qa(t.enabled)?`${a.value}px`:void 0),height:il(()=>Qa(t.enabled)?`${r.value}px`:void 0)}}(n,{enabled:il(()=>e.resize)}),i=il(()=>"y"===rre(e.placement??"bottom")?o.width.value:void 0),s=il(()=>"x"===rre(e.placement??"bottom")?o.height.value:void 0),{floatingStyles:l,middlewareData:c}=Hne(n,a,{placement:il(()=>e.placement??"bottom"),whileElementsMounted:Ane,middleware:il(()=>[Mne(e.offset),$ne({padding:48}),Nne({padding:8}),Ine({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)=>(Ho(),Qo(Bs,null,[Xo("div",{ref_key:"wrapperRef",ref:r,class:tt({contents:!!t.$slots.default})},[Kn(t.$slots,"default")],2),t.$slots.floating?(Ho(),Fo(qa(Dae),{key:0,disabled:!e.teleport,to:"string"==typeof e.teleport?e.teleport:void 0},{default:sn(()=>[Xo("div",{ref_key:"floatingRef",ref:a,class:"relative z-context",style:Je(qa(l))},[Kn(t.$slots,"floating",{data:qa(c),height:s.value,width:i.value})],4)]),_:3},8,["disabled","to"])):ai("",!0)],64))}})}),ooe=V(()=>{noe(),Vne=Zne}),ioe=V(()=>{h_(),Bc(),qne=Cn({inheritAttrs:!1,__name:"ScalarFloatingBackdrop",setup(e){let{cx:t}=c_();return(e,a)=>(Ho(),Qo("div",at(Ko(qa(t)("absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"))),[Kn(e.$slots,"default")],16))}})}),soe=V(()=>{ioe(),Qne=qne}),loe=V(()=>{ooe(),soe(),h_(),Bc(),Oh(),Fne=Cn({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}=c_(),r=Ha(null),n=e=>{["ArrowUp","ArrowDown"].includes(e.key)&&(e.preventDefault(),e.target?.dispatchEvent(new KeyboardEvent("keydown",{key:"Enter"})))};return t({popoverButtonRef:r}),(e,t)=>(Ho(),Fo(qa(th),{as:"template"},{default:sn(({open:t})=>[Fs(qa(Vne),at(Ko(e.$props)),Yn({default:sn(()=>[Fs(qa(ah),{ref_key:"popoverButtonRef",ref:r,as:"template",onKeydown:n},{default:sn(()=>[Kn(e.$slots,"default",{open:t})]),_:2},1536)]),_:2},[t?{name:"floating",fn:sn(({width:r})=>[Fs(qa(rh),ii({style:{width:r}},qa(a)("relative flex flex-col max-h-[inherit] w-40 rounded text-sm")),{default:sn(({close:a})=>[Kn(e.$slots,"popover",{close:a,open:t}),Fs(qa(Qne))]),_:2},1040,["style"])]),key:"0"}:void 0]),1040)]),_:3}))}})}),coe=V(()=>{loe(),Wne=Fne}),uoe=V(()=>{Qae(),coe(),Bc(),Gne=Cn({__name:"ScalarCombobox",props:oo({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:oo(["add"],["update:modelValue"]),setup(e,{emit:t}){let a=t,r=xo(e,"modelValue");return(t,n)=>(Ho(),Fo(Wne,{middleware:e.middleware,offset:e.offset,placement:e.placement??"bottom-start",resize:e.resize,target:e.target,teleport:e.teleport},{default:sn(({open:e})=>[Kn(t.$slots,"default",{open:e})]),popover:sn(({open:n,close:o})=>[Fs(Mae,{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])},Yn({_:2},[t.$slots.option?{name:"option",fn:sn(e=>[Kn(t.$slots,"option",at(Ko(e)))]),key:"0"}:void 0,t.$slots.group?{name:"group",fn:sn(e=>[Kn(t.$slots,"group",at(Ko(e)))]),key:"1"}:void 0,t.$slots.add?{name:"add",fn:sn(e=>[Kn(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"]))}})}),doe=V(()=>{uoe(),Xne=Gne}),poe=V(()=>{Qae(),coe(),Bc(),Yne=Cn({__name:"ScalarComboboxMultiselect",props:oo({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:oo(["add"],["update:modelValue"]),setup(e,{expose:t,emit:a}){let r=a,n=xo(e,"modelValue"),o=Ha(null);return t({comboboxPopoverRef:o}),(t,a)=>(Ho(),Fo(Wne,{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:sn(({open:e})=>[Kn(t.$slots,"default",{open:e})]),popover:sn(({open:o})=>[e.options?.length?(Ho(),Fo(Mae,{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")},Yn({_:2},[t.$slots.option?{name:"option",fn:sn(e=>[Kn(t.$slots,"option",at(Ko(e)))]),key:"0"}:void 0,t.$slots.group?{name:"group",fn:sn(e=>[Kn(t.$slots,"group",at(Ko(e)))]),key:"1"}:void 0,t.$slots.add?{name:"add",fn:sn(e=>[Kn(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"]))}})}),hoe=V(()=>{poe(),Kne=Yne}),moe=V(()=>{doe(),hoe()}),foe=V(()=>{soe(),h_(),Bc(),Jne={class:"custom-scroll min-h-0 flex-1"},eoe={class:"flex flex-col p-0.75"},toe=Cn({inheritAttrs:!1,__name:"ScalarDropdownMenu",props:{is:{}},setup(e){let{cx:t}=c_();return(a,r)=>(Ho(),Fo(Fn(e.is??"div"),at(Ko(qa(t)("relative flex w-56"))),{default:sn(()=>[Xo("div",Jne,[Kn(a.$slots,"menu",{},()=>[Xo("div",eoe,[Kn(a.$slots,"default")])]),Kn(a.$slots,"backdrop",{},()=>[Fs(qa(Qne))])])]),_:3},16))}})}),goe=V(()=>{foe(),aoe=toe});var voe,boe=V(()=>{Bc(),voe=Symbol()});function yoe(e){return!!ta()&&(aa(e),!0)}function woe(...e){if(1!==e.length)return Ga(...e);let t=e[0];return"function"==typeof t?Na(Wa(()=>({get:t,set:Coe}))):Ha(t)}function xoe(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 Ooe(e,t={}){let a,r,n,o=Coe,i=e=>{clearTimeout(e),o(),o=Coe};return s=>{let l=Qa(e),c=Qa(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 koe(e){return Array.isArray(e)?e:[e]}var Soe,Aoe,Toe,_oe,Coe,Eoe,Poe,Moe=V(()=>{Bc(),Soe=typeof window<"u"&&typeof document<"u",typeof WorkerGlobalScope<"u"&&(globalThis,WorkerGlobalScope),Aoe=e=>null!=e,Toe=Object.prototype.toString,_oe=e=>"[object Object]"===Toe.call(e),Coe=()=>{},Eoe=Soe&&(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)),Poe=e=>e()});function Noe(e){let t=Qa(e);return t?.$el??t}function $oe(...e){let t=[],a=()=>{t.forEach(e=>e()),t.length=0},r=il(()=>{let t=koe(Qa(e[0])).filter(e=>null!=e);return t.every(e=>"string"!=typeof e)?t:void 0}),n=function(e,t,a){return hn(e,t,{...a,immediate:!0})}(()=>[r.value?.map(e=>Noe(e))??[Qoe].filter(e=>null!=e),koe(Qa(r.value?e[1]:e[0])),koe(qa(r.value?e[2]:e[1])),Qa(r.value?e[3]:e[2])],([e,r,n,o])=>{if(a(),!e?.length||!r?.length||!n?.length)return;let i=_oe(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 yoe(a),()=>{n(),a()}}function Ioe(e,t,a={}){let{window:r=Qoe,ignore:n=[],capture:o=!0,detectIframe:i=!1,controls:s=!1}=a;if(!r)return s?{stop:Coe,cancel:Coe,trigger:Coe}:Coe;if(Eoe&&!Goe){Goe=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener("click",Coe,e)),r.document.documentElement.addEventListener("click",Coe,e)}let l=!0,c=e=>Qa(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=Noe(t);return a&&(e.target===a||e.composedPath().includes(a))}});let u=a=>{let r=Noe(e);if(null!=a.target&&(r instanceof Element||!function(e){let t=Qa(e);return t&&16===t.$.subTree.shapeFlag}(e)||!function(e,t){let a=Qa(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=[$oe(r,"click",e=>{d||(d=!0,setTimeout(()=>{d=!1},0),u(e))},{passive:!0,capture:o}),$oe(r,"pointerdown",t=>{let a=Noe(e);l=!c(t)&&!(!a||t.composedPath().includes(a))},{passive:!0}),i&&$oe(r,"blur",a=>{setTimeout(()=>{let n=Noe(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 Roe(e){let t=function(){let e=Za(!1),t=Ys();return t&&as(()=>{e.value=!0},t),e}();return il(()=>(t.value,!!e()))}function Doe(e,t,a={}){let{window:r=Qoe,document:n=r?.document,flush:o="sync"}=a;if(!r||!n)return Coe;let i,s=e=>{i?.(),i=e},l=pn(()=>{let a=Noe(e);if(a){let{stop:e}=function(e,t,a={}){let r,{window:n=Qoe,...o}=a,i=Roe(()=>n&&"MutationObserver"in n),s=()=>{r&&=void r.disconnect()},l=hn(il(()=>{let t=koe(Qa(e)).map(Noe).filter(Aoe);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 yoe(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 yoe(c),c}function Loe(...e){let t,a,r={};3===e.length?(t=e[0],a=e[1],r=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,a=e[0],r=e[1]):(t=e[0],a=e[1]):(t=!0,a=e[0]);let{target:n=Qoe,eventName:o="keydown",passive:i=!1,dedupe:s=!1}=r,l=function(e){return"function"==typeof e?e:"string"==typeof e?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}(t);return $oe(n,o,e=>{e.repeat&&Qa(s)||l(e)&&a(e)},i)}function Boe(e={}){let{window:t=Qoe,deep:a=!0,triggerOnRemoval:r=!1}=e,n=e.document??t?.document,o=Za(),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};$oe(t,"blur",e=>{null===e.relatedTarget&&i()},e),$oe(t,"focus",i,e)}return r&&Doe(o,i,{document:n}),i(),o}function joe(e,t={}){let{controls:a=!1,navigator:r=Woe}=t,n=Roe(()=>r&&"permissions"in r),o=Za(),i="string"==typeof e?{name:e}:e,s=Za(),l=()=>{s.value=o.value?.state??"prompt"};$oe(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 ja(o.value)}});return c(),a?{state:s,isSupported:n,query:c}:s}function Uoe(e={}){let{navigator:t=Woe,read:a=!1,source:r,copiedDuring:n=1500,legacy:o=!1}=e,i=Roe(()=>t&&"clipboard"in t),s=joe("clipboard-read"),l=joe("clipboard-write"),c=il(()=>i.value||o),u=Za(""),d=Za(!1),p=function(e,t,a={}){let r,{immediate:n=!0,immediateCallback:o=!1}=a,i=Za(!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)},Qa(t))}return n&&(i.value=!0,Soe&&c()),yoe(l),{isPending:$a(i),start:c,stop:l}}(()=>d.value=!1,n,{immediate:!1});function h(e){return"granted"===e||"prompt"===e}return c.value&&a&&$oe(["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=Qa(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 zoe(e,t,a={}){let{root:r,rootMargin:n="0px",threshold:o=0,window:i=Qoe,immediate:s=!0}=a,l=Roe(()=>i&&"IntersectionObserver"in i),c=il(()=>koe(Qa(e)).map(Noe).filter(Aoe)),u=Coe,d=Za(s),p=l.value?hn(()=>[c.value,Noe(r),d.value],([e,a])=>{if(u(),!d.value||!e.length)return;let r=new IntersectionObserver(t,{root:Noe(a),rootMargin:n,threshold:o});e.forEach(e=>e&&r.observe(e)),u=()=>{r.disconnect(),u=Coe}},{immediate:s,flush:"post"}):Coe,h=()=>{u(),p(),d.value=!1};return yoe(h),{isSupported:l,isActive:d,pause(){u(),d.value=!1},resume(){d.value=!0},stop:h}}function Hoe(e=null,t={}){let{baseUrl:a="",rel:r="icon",document:n=Foe}=t,o=woe(e);return hn(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 Zoe(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Voe(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)&&Voe(t)}}function qoe(e){let t=e||window.event;return!Voe(t.target)&&(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))}var Qoe,Foe,Woe,Goe,Xoe,Yoe,Koe,Joe,eie,tie,aie,rie,nie,oie,iie=V(()=>{Moe(),Moe(),Bc(),Qoe=Soe?window:void 0,Foe=Soe?window.document:void 0,Woe=Soe?window.navigator:void 0,Soe&&window.location,Goe=!1,Xoe="focusin",Yoe="focusout",Koe=":focus-within",Joe=new WeakMap}),sie=V(()=>{ooe(),goe(),boe(),h_(),Bc(),iie(),eie=["id","aria-activedescendant","aria-labelledby","onKeydown"],tie=Cn({inheritAttrs:!1,__name:"ScalarDropdown",props:oo({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=Ha(),a=Ha(),r=xo(e,"open"),{active:n}=function(){let e=Ha();return un(voe,e),{active:e}}(),o=En(),i=Ha(o),s=En();async function l(){r.value=!r.value,await Kr(),r.value&&a.value?.focus()}async function c(e){["ArrowDown","ArrowUp"," ","Enter"].includes(e.key)&&(e.preventDefault(),r.value||=!0,await Kr(),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)}hn(()=>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}),hn(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}),Ioe(a,u,{ignore:[il(()=>t.value?.targetRef)]});let{cx:h}=c_();return(o,l)=>(Ho(),Fo(qa(Vne),ii({ref_key:"floatingRef",ref:t},o.$props,{placement:e.placement??"bottom-start"}),Yn({default:sn(()=>[Kn(o.$slots,"default",{open:r.value})]),_:2},[r.value?{name:"floating",fn:sn(({width:e})=>[Fs(aoe,ii({style:{width:e}},qa(h)("max-h-[inherit] max-w-[inherit]")),{menu:sn(()=>[Xo("div",{id:qa(s),ref_key:"menuRef",ref:a,"aria-activedescendant":qa(n),"aria-labelledby":i.value,class:"flex flex-col p-0.75 outline-none",role:"menu",tabindex:"-1",onClick:Cc(u,["stop"]),onKeydown:[l[0]||=Pc(Cc(e=>p(1),["prevent","stop"]),["down"]),Pc(Cc(d,["prevent","stop"]),["enter"]),Pc(Cc(u,["prevent","stop"]),["escape"]),Pc(Cc(d,["prevent","stop"]),["space"]),Pc(Cc(u,["prevent","stop"]),["tab"]),l[1]||=Pc(Cc(e=>p(-1),["prevent","stop"]),["up"])]},[Kn(o.$slots,"items",{open:r.value})],40,eie)]),_:3},16,["style"])]),key:"0"}:void 0]),1040,["placement"]))}})}),lie=V(()=>{sie(),aie=tie}),cie=V(()=>{h_(),Bc(),rie=Cn({__name:"ScalarDropdownButton",props:{is:{default:"button"},active:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=a_({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)=>(Ho(),Fo(Fn(e.is),{"aria-disabled":e.disabled,class:tt(["item",qa(r_)("scalar-dropdown-item",qa(t)({active:e.active,disabled:e.disabled}))]),type:"button"===e.is?"button":void 0},{default:sn(()=>[Kn(a.$slots,"default",{},void 0,!0)]),_:3},8,["aria-disabled","class","type"]))}})}),uie=V(()=>{zK(),cie(),nie=MK(rie,[["__scopeId","data-v-f5e0d3d8"]])}),die=V(()=>{oie={}});function pie(e,t,a,r,n,o){return Ho(),Qo("div",hie)}var hie,mie,fie,gie,vie,bie,yie,wie,xie,Oie,kie,Sie,Aie,Tie,_ie=V(()=>{zK(),die(),Bc(),hie={class:"-mx-0.75 my-0.75 h-border bg-border"},mie=MK(oie,[["render",pie]])}),Cie=V(()=>{boe(),uie(),Bc(),fie=Cn({__name:"ScalarDropdownItem",props:{id:{default:()=>En()},disabled:{type:Boolean}},emits:["click"],setup(e){let{active:t}=function(){let e=dn(voe);return e||console.warn("useDropdownItem must be used within a ScalarDropdown"),{active:e}}();return(a,r)=>(Ho(),Fo(nie,{id:e.id,active:qa(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:sn(()=>[Kn(a.$slots,"default",{},void 0,!0)]),_:3},8,["id","active","disabled"]))}})}),Eie=V(()=>{zK(),Cie(),gie=MK(fie,[["__scopeId","data-v-3402682d"]])}),Pie=V(()=>{lie(),_ie(),Eie()}),Mie=V(()=>{Bc(),mae(),Yte(),moe(),Pie(),vie={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"},bie={class:"text-c-1 whitespace-nowrap"},yie={class:"text-c-1 overflow-hidden text-ellipsis"},wie={class:"overflow-hidden text-ellipsis"},xie={class:"flex h-4 w-4 items-center justify-center"},Oie=Cn({__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=il(()=>a.value??[]),o=Ha(!1),i=Ha(""),s=Ha(null);hn(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;hn(o,e=>{e&&Kr(()=>{s.value?.focus()})});let p=il(()=>void 0===a.modelValue?a.default:a.modelValue),h=il(()=>n.value.map(e=>{let t=e.toString();return{id:t,label:t,value:t}})),m=il(()=>{let e=new Set(a.modelValue.toString().split(","));return h.value.filter(t=>e.has(t.id))}),f=e=>{let t=e.map(e=>e.value);r("update:modelValue",t.join(","))};return(t,a)=>(Ho(),Qo("div",vie,["array"===e.type?(Ho(),Fo(qa(Kne),{key:0,modelValue:m.value,options:h.value,"onUpdate:modelValue":f},{default:sn(()=>[Fs(qa(sae),{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:sn(()=>[Xo("span",bie,Yt(m.value.length>0?m.value.map(e=>e.label).join(", "):"Select a value"),1),Fs(qa(Dte),{class:"min-w-4",icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["modelValue","options"])):o.value?ln((Ho(),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:Pc(c,["enter"])},null,544)),[[xc,i.value]]):(Ho(),Fo(qa(aie),{key:2,resize:"",value:p.value},{items:sn(()=>[(Ho(!0),Qo(Bs,null,Xn(n.value,e=>(Ho(),Fo(qa(gie),{key:e,class:"group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap",value:e,onClick:t=>l(e)},{default:sn(()=>[Xo("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"])},[Fs(qa(Dte),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),Xo("span",wie,Yt(e),1)]),_:2},1032,["value","onClick"]))),128)),e.canAddCustomValue?(Ho(),Qo(Bs,{key:0},[n.value.length?(Ho(),Fo(qa(mie),{key:0})):ai("",!0),Fs(qa(gie),{class:"flex items-center gap-1.5",onClick:a[1]||=e=>o.value=!0},{default:sn(()=>[Xo("div",xie,[Fs(qa(Dte),{icon:"Add",size:"sm"})]),a[2]||=Xo("span",null,"Add value",-1)]),_:1})],64)):ai("",!0)]),default:sn(()=>[Fs(qa(sae),{class:"size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none",variant:"ghost"},{default:sn(()=>[Xo("span",yie,Yt(p.value??"Select a value"),1),Fs(qa(Dte),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["value"]))]))}})}),Nie=V(()=>{Mie(),kie=Oie}),$ie=V(()=>{Fae(),Bc(),Sie=["id"],Aie=Cn({inheritAttrs:!1,__name:"ScalarTeleportRoot",props:{id:{}},setup(e){let t=Iae(e.id);return(e,a)=>(Ho(),Qo(Bs,null,[Kn(e.$slots,"default"),Xo("div",{id:qa(t),class:"scalar-teleport-root contents"},null,8,Sie)],64))}})}),Iie=V(()=>{$ie(),Tie=Aie}),Rie=V(()=>{Gae(),Iie()});function Die(e){return Array.isArray?Array.isArray(e):"[object Array]"===Vie(e)}function Lie(e){return null==e?"":function(e){if("string"==typeof e)return e;if("bigint"==typeof e)return e.toString();let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}function Bie(e){return"string"==typeof e}function jie(e){return"number"==typeof e}function Uie(e){return!0===e||!1===e||function(e){return zie(e)&&null!==e}(e)&&"[object Boolean]"==Vie(e)}function zie(e){return"object"==typeof e}function Hie(e){return null!=e}function Zie(e){return!e.trim().length}function Vie(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function qie(e){let t=null,a=null,r=null,n=1,o=null;if(Bie(e)||Die(e))r=e,t=Qie(e),a=Fie(e);else{if(!yse.call(e,"name"))throw Error(vse("name"));let i=e.name;if(r=i,yse.call(e,"weight")&&void 0!==e.weight&&(n=e.weight,n<=0))throw Error(bse(Fie(i)));t=Qie(i),a=Fie(i),o=e.getFn??null}return{path:t,id:a,weight:n,src:r,getFn:o}}function Qie(e){return Die(e)?e:e.split(".")}function Fie(e){return Die(e)?e.join("."):e}function Wie(e,t){let a=[],r=!1,n=(e,t,o,i)=>{if(Hie(e))if(t[o]){let s=e[t[o]];if(!Hie(s))return;if(o===t.length-1&&(Bie(s)||jie(s)||Uie(s)||"bigint"==typeof s))a.push(void 0===i?Lie(s):{v:Lie(s),i:i});else if(Die(s)){r=!0;for(let e=0,a=s.length;e<a;e+=1)n(s[e],t,o+1,e)}else t.length&&n(s,t,o+1,i)}else a.push(void 0===i?e:{v:e,i:i})};return n(e,Bie(t)?t.split("."):t,0),r?a:a[0]}function Gie(e){return e>=9&&e<=13||32===e||160===e}function Xie(e,t,{getFn:a=Ase.getFn,fieldNormWeight:r=Ase.fieldNormWeight}={}){let n=new Tse({getFn:a,fieldNormWeight:r});return n.setKeys(e.map(qie)),n.setSources(t),n.create(),n}function Yie(e,{getFn:t=Ase.getFn,fieldNormWeight:a=Ase.fieldNormWeight}={}){let{keys:r,records:n}=e,o=new Tse({getFn:t,fieldNormWeight:a});return o.setKeys(r),o.setIndexRecords(n),o}function Kie(e,t,a,{location:r=Ase.location,distance:n=Ase.distance,threshold:o=Ase.threshold,findAllMatches:i=Ase.findAllMatches,minMatchCharLength:s=Ase.minMatchCharLength,includeMatches:l=Ase.includeMatches,ignoreLocation:c=Ase.ignoreLocation}={}){if(t.length>32)throw Error(gse(32));let u,d=t.length,p=e.length,h=Math.max(0,Math.min(r,p)),m=o,f=h,g=(e,t)=>{let a=e/d;if(c)return a;let r=Math.abs(h-t);return n?a+r/n:r?1:a},v=s>1||l,b=v?Array(p):[];for(;(u=e.indexOf(t,f))>-1;){let e=g(0,u);if(m=Math.min(e,m),f=u+d,v){let e=0;for(;e<d;)b[u+e]=1,e+=1}}f=-1;let y=[],w=1,x=0,O=d+p,k=1<<d-1;for(let t=0;t<d;t+=1){let r=0,n=O;for(;r<n;)g(t,h+n)<=m?r=n:O=n,n=Math.floor((O-r)/2+r);O=n;let o=Math.max(1,h-n+1),s=i?p:Math.min(h+n,p)+d,l=Array(s+2);l[s+1]=(1<<t)-1;for(let r=s;r>=o;--r){let n=r-1,i=a[e[n]];if(l[r]=(l[r+1]<<1|1)&i,t&&(l[r]|=(y[r+1]|y[r])<<1|1|y[r+1]),l[r]&k&&(w=g(t,n),w<=m)){if(m=w,f=n,x=t,f<=h)break;o=Math.max(1,2*h-f)}}if(g(t+1,h)>m)break;y=l}if(v&&f>=0){let t=Math.min(p-1,f+d-1+x);for(let r=f;r<=t;r+=1)a[e[r]]&&(b[r]=1)}let S={isMatch:f>=0,score:Math.max(.001,w)};if(v){let e=function(e=[],t=Ase.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}(b,s);e.length?l&&(S.indices=e):S.isMatch=!1}return S}function Jie(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 ese(e){if(e.length<=1)return e;e.sort((e,t)=>e[0]-t[0]||e[1]-t[1]);let t=[e[0]];for(let a=1,r=e.length;a<r;a+=1){let r=t[t.length-1],n=e[a];n[0]<=r[1]+1?r[1]=Math.max(r[1],n[1]):t.push(n)}return t}function tse(e){return e.startsWith("inverse")}function ase(e,t){let a=e.match(t);return a?a[1]:null}function rse(...e){Lse.push(...e)}function nse(e,t){for(let a=0,r=Lse.length;a<r;a+=1){let r=Lse[a];if(r.condition(e,t))return new r(e,t)}return new Pse(e,t)}function ose(e,t,{auto:a=!0}={}){let r=e=>{if(Bie(e)){let r={keyId:null,pattern:e};return a&&(r.searcher=nse(e,t)),r}let n=Object.keys(e),o=zse(e);if(!o&&n.length>1&&!Use(e))return r(Zse(e));if(Hse(e)){let r=o?e[jse.PATH]:n[0],i=o?e[jse.PATTERN]:e[r];if(!Bie(i))throw Error(fse(r));let s={keyId:Fie(r),pattern:i};return a&&(s.searcher=nse(i,t)),s}let i={children:[],operator:n[0]};return n.forEach(t=>{let a=e[t];Die(a)&&a.forEach(e=>{i.children.push(r(e))})}),i};return Use(e)||(e=Zse(e)),r(e)}function ise(e,{ignoreFieldNorm:t=Ase.ignoreFieldNorm}){let a=1;return e.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))}),a}function sse(e,t,{includeMatches:a=Ase.includeMatches,includeScore:r=Ase.includeScore}={}){return e.map(e=>{let{idx:n}=e,o={item:t[n],refIndex:n};return a&&(o.matches=function(e){let t=[];return e.matches.forEach(e=>{if(!Hie(e.indices)||!e.indices.length)return;let a={indices:e.indices,value:e.value};e.key&&(a.key=e.key.id),e.idx>-1&&(a.refIndex=e.idx),t.push(a)}),t}(e)),r&&(o.score=e.score),o})}function lse(e){if("function"==typeof e){let t=!1;return a=>{let r=e(a);if(!t&&(t=!0,!Array.isArray(r)||r.some(e=>"string"!=typeof e)))throw Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(r)?"array containing non-strings":typeof r}.`);return r}}return e instanceof RegExp?(e.global||function(e){Qse.has(e)||(Qse.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))}(e),t=>t.match(e)||[]):e=>e.match(qse)||[]}function cse({isCaseSensitive:e=!1,ignoreDiacritics:t=!1,tokenize:a}={}){let r=lse(a);return{tokenize:a=>(e||(a=a.toLowerCase()),t&&(a=Ese(a)),r(a))}}function use(e,t,a,r){let n=r.tokenize(t);if(!n.length)return;e.fieldCount++,e.docFieldCount.set(a,(e.docFieldCount.get(a)||0)+1);let o=new Set(n),i=e.docTermFieldHits.get(a);i||(i=new Map,e.docTermFieldHits.set(a,i));for(let t of o)i.set(t,(i.get(t)||0)+1),e.df.set(t,(e.df.get(t)||0)+1)}function dse(e,t,a,r){let{i:n,v:o,$:i}=t;if(void 0===o){if(i)for(let t=0;t<a;t++){let a=i[t];if(a)if(Array.isArray(a))for(let t of a)use(e,t.v,n,r);else use(e,a.v,n,r)}}else use(e,o,n,r)}function pse(e,t){let a=e.docFieldCount.get(t);if(void 0===a)return;e.fieldCount-=a,e.docFieldCount.delete(t);let r=e.docTermFieldHits.get(t);if(r){for(let[t,a]of r){let r=(e.df.get(t)||0)-a;r<=0?e.df.delete(t):e.df.set(t,r)}e.docTermFieldHits.delete(t)}}function hse(e,t){if(0===t.length)return;let a=Array.from(new Set(t)).sort((e,t)=>e-t);for(let t of a)pse(e,t);let r=e=>{let t=0,r=a.length;for(;t<r;){let n=t+r>>>1;a[n]<e?t=n+1:r=n}return e-t},n=a[0],o=new Map;for(let[t,a]of e.docFieldCount)o.set(t>n?r(t):t,a);e.docFieldCount=o;let i=new Map;for(let[t,a]of e.docTermFieldHits)i.set(t>n?r(t):t,a);e.docTermFieldHits=i}var mse,fse,gse,vse,bse,yse,wse,xse,Ose,kse,Sse,Ase,Tse,_se,Cse,Ese,Pse,Mse,Nse,$se,Ise,Rse,Dse,Lse,Bse,jse,Use,zse,Hse,Zse,Vse,qse,Qse,Fse,Wse,Gse,Xse,Yse,Kse,Jse,ele,tle,ale,rle,nle,ole=V(()=>{mse="Invalid doc index: must be a non-negative integer within the bounds of the docs array",fse=e=>`Invalid value for key ${e}`,gse=e=>`Pattern length exceeds max of ${e}.`,vse=e=>`Missing ${e} property in key`,bse=e=>`Property 'weight' in key '${e}' must be a positive integer`,yse=Object.prototype.hasOwnProperty,wse=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let a=qie(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)}},xse={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Ose={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},kse={location:0,threshold:.6,distance:100},Sse={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:"any",getFn:Wie,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},Ase=Object.freeze({...Ose,...xse,...kse,...Sse}),Tse=class{constructor({getFn:e=Ase.getFn,fieldNormWeight:t=Ase.fieldNormWeight}={}){this.norm=function(e=1,t=3){let a=new Map,r=10**t;return{get(t){let n=0,o=!1;for(let e=0;e<t.length;e++)Gie(t.charCodeAt(e))?o=!1:o||=(n++,!0);if(0===n&&(n=1),a.has(n))return a.get(n);let i=Math.round(r/n**(.5*e))/r;return a.set(n,i),i},clear(){a.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},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(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;let e=this.docs.length;this.records=Array(e);let t=0;if(Bie(this.docs[0]))for(let a=0;a<e;a++){let e=this._createStringRecord(this.docs[a],a);e&&(this.records[t++]=e)}else for(let a=0;a<e;a++)this.records[t++]=this._createObjectRecord(this.docs[a],a);this.records.length=t,this.norm.clear()}add(e,t){if(!Number.isInteger(t)||t<0)throw Error(mse);if(Bie(e)){let a=this._createStringRecord(e,t);return a&&this.records.push(a),a}let a=this._createObjectRecord(e,t);return this.records.push(a),a}removeAt(e){if(!Number.isInteger(e)||e<0)throw Error(mse);for(let t=0,a=this.records.length;t<a;t+=1)if(this.records[t].i===e){this.records.splice(t,1);break}for(let t=0,a=this.records.length;t<a;t+=1)this.records[t].i>e&&--this.records[t].i}removeAll(e){let t=new Set;for(let a of e)Number.isInteger(a)&&a>=0&&t.add(a);if(0===t.size)return;this.records=this.records.filter(e=>!t.has(e.i));let a=Array.from(t).sort((e,t)=>e-t);for(let e of this.records){let t=0,r=a.length;for(;t<r;){let n=t+r>>>1;a[n]<e.i?t=n+1:r=n}e.i-=t}}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_createStringRecord(e,t){return!Hie(e)||Zie(e)?null:{v:e,i:t,n:this.norm.get(e)}}_createObjectRecord(e,t){let a={i:t,$:{}};for(let t=0,r=this.keys.length;t<r;t++){let r=this.keys[t],n=r.getFn?r.getFn(e):this.getFn(e,r.path);if(Hie(n))if(Die(n)){let e=[];for(let t=0,a=n.length;t<a;t+=1){let a=n[t];if(Hie(a))if(Bie(a)){if(!Zie(a)){let r={v:a,i:t,n:this.norm.get(a)};e.push(r)}}else if(Hie(a.v)){let t=Bie(a.v)?a.v:Lie(a.v);if(!Zie(t)){let r={v:t,i:a.i,n:this.norm.get(t)};e.push(r)}}}a.$[t]=e}else if(Bie(n)&&!Zie(n)){let e={v:n,n:this.norm.get(n)};a.$[t]=e}}return a}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}},_se={"ł":"l","Ł":"L","đ":"d","Đ":"D","ø":"o","Ø":"O","ħ":"h","Ħ":"H","ŧ":"t","Ŧ":"T","ı":"i","ß":"ss"},Cse=RegExp("["+Object.keys(_se).join("")+"]","g"),Ese="function"==typeof 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,"").replace(Cse,e=>_se[e]):e=>e,Pse=class{constructor(e,{location:t=Ase.location,threshold:a=Ase.threshold,distance:r=Ase.distance,includeMatches:n=Ase.includeMatches,findAllMatches:o=Ase.findAllMatches,minMatchCharLength:i=Ase.minMatchCharLength,isCaseSensitive:s=Ase.isCaseSensitive,ignoreDiacritics:l=Ase.ignoreDiacritics,ignoreLocation:c=Ase.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?Ese(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:Jie(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0,t=d%32,a=d-t;for(;e<a;)u(this.pattern.substr(e,32),e),e+=32;if(t){let e=d-32;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?Ese(e):e,this.pattern===e){if(e.length<this.options.minMatchCharLength)return{isMatch:!1,score:1};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}=Kie(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.push(...g)});let h={isMatch:p,score:p?d/this.chunks.length:1};return p&&r&&(h.indices=ese(u)),h}},Mse=new Set(["fuzzy","include"]),Nse=[{type:"exact",multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:e=>({type:"exact",search(t){let a=t===e;return{isMatch:a,score:+!a,indices:[0,e.length-1]}}})},{type:"include",multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:e=>({type:"include",search(t){let a,r=0,n=[],o=e.length;for(;(a=t.indexOf(e,r))>-1;)r=a+o,n.push([a,r-1]);let i=!!n.length;return{isMatch:i,score:+!i,indices:n}}})},{type:"prefix-exact",multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:e=>({type:"prefix-exact",search(t){let a=t.startsWith(e);return{isMatch:a,score:+!a,indices:[0,e.length-1]}}})},{type:"inverse-prefix-exact",multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:e=>({type:"inverse-prefix-exact",search(t){let a=!t.startsWith(e);return{isMatch:a,score:+!a,indices:[0,t.length-1]}}})},{type:"inverse-suffix-exact",multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:e=>({type:"inverse-suffix-exact",search(t){let a=!t.endsWith(e);return{isMatch:a,score:+!a,indices:[0,t.length-1]}}})},{type:"suffix-exact",multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:e=>({type:"suffix-exact",search(t){let a=t.endsWith(e);return{isMatch:a,score:+!a,indices:[t.length-e.length,t.length-1]}}})},{type:"inverse-exact",multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:e=>({type:"inverse-exact",search(t){let a=-1===t.indexOf(e);return{isMatch:a,score:+!a,indices:[0,t.length-1]}}})},{type:"fuzzy",multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(e,t={})=>{let a=new Pse(e,{location:t.location??Ase.location,threshold:t.threshold??Ase.threshold,distance:t.distance??Ase.distance,includeMatches:t.includeMatches??Ase.includeMatches,findAllMatches:t.findAllMatches??Ase.findAllMatches,minMatchCharLength:t.minMatchCharLength??Ase.minMatchCharLength,isCaseSensitive:t.isCaseSensitive??Ase.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics??Ase.ignoreDiacritics,ignoreLocation:t.ignoreLocation??Ase.ignoreLocation});return{type:"fuzzy",search:e=>a.searchIn(e)}}}],$se=Nse.length,Ise="\0",Rse="|",Dse=class{constructor(e,{isCaseSensitive:t=Ase.isCaseSensitive,ignoreDiacritics:a=Ase.ignoreDiacritics,includeMatches:r=Ase.includeMatches,minMatchCharLength:n=Ase.minMatchCharLength,ignoreLocation:o=Ase.ignoreLocation,findAllMatches:i=Ase.findAllMatches,location:s=Ase.location,threshold:l=Ase.threshold,distance:c=Ase.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?Ese(e):e,this.pattern=e,this.query=function(e,t={}){return e.replace(/\\\|/g,Ise).split(Rse).map(e=>{let a=function(e){let t=[],a=e.length,r=0;for(;r<a;){for(;r<a&&" "===e[r];)r++;if(r>=a)break;let n=r;for(;n<a&&" "!==e[n]&&'"'!==e[n];)n++;if(n<a&&'"'===e[n]){for(n++;n<a;){if('"'===e[n]){let t=n+1;if(t>=a||" "===e[t]){n++;break}if("$"===e[t]&&(t+1>=a||" "===e[t+1])){n+=2;break}}n++}t.push(e.substring(r,n)),r=n}else{for(;n<a&&" "!==e[n];)n++;t.push(e.substring(r,n)),r=n}}return t}(e.replace(/\u0000/g,"|").trim()).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<$se;){let e=Nse[i],a=ase(n,e.multiRegex);a&&(r.push(e.create(a,t)),o=!0)}if(!o)for(i=-1;++i<$se;){let e=Nse[i],a=ase(n,e.singleRegex);if(a){r.push(e.create(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?Ese(e):e;let o=0,i=[],s=0,l=!1;for(let r=0,n=t.length;r<n;r+=1){let n=t[r];i.length=0,o=0,l=!1;for(let t=0,r=n.length;t<r;t+=1){let r=n[t],{isMatch:c,indices:u,score:d}=r.search(e);if(!c){s=0,o=0,i.length=0,l=!1;break}o+=1,s+=d,tse(r.type)&&(l=!0),a&&(Mse.has(r.type)?i.push(...u):i.push(u))}if(o){let e={isMatch:!0,score:s/o};return l&&(e.hasInverse=!0),a&&(e.indices=ese(i)),e}}return{isMatch:!1,score:1}}},Lse=[],Bse={AND:"$and",OR:"$or"},jse={PATH:"$path",PATTERN:"$val"},Use=e=>!(!e[Bse.AND]&&!e[Bse.OR]),zse=e=>!!e[jse.PATH],Hse=e=>!Die(e)&&zie(e)&&!Use(e),Zse=e=>({[Bse.AND]:Object.keys(e).map(t=>({[t]:e[t]}))}),Vse=class{constructor(e,t){this.limit=e,this.heap=[],this.comparator=t}get size(){return this.heap.length}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):this.comparator(e,this.heap[0])<0&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(){return this.heap.sort(this.comparator)}_bubbleUp(e){let t=this.heap;for(;e>0;){let a=e-1>>1;if(this.comparator(t[e],t[a])<=0)break;let r=t[e];t[e]=t[a],t[a]=r,e=a}}_sinkDown(e){let t=this.heap,a=t.length,r=e;do{let n=2*(e=r)+1,o=2*e+2;if(n<a&&this.comparator(t[n],t[r])>0&&(r=n),o<a&&this.comparator(t[o],t[r])>0&&(r=o),r!==e){let a=t[e];t[e]=t[r],t[r]=a}}while(r!==e)}},qse=/[\p{L}\p{M}\p{N}_]+/gu,Qse=new WeakSet,Fse=class{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=cse({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,tokenize:t.tokenize});let a=this.analyzer.tokenize(e),{df:r,fieldCount:n}=t._invertedIndex;this.termSearchers=[],this.idfWeights=[];for(let e of a){this.termSearchers.push(new Pse(e,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));let a=r.get(e)||0,o=Math.log(1+(n-a+.5)/(a+.5));this.idfWeights.push(o)}this.combineAll="all"===t.tokenMatch,this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};let t=[],a=0,r=0,n=0,o=0,i=this.combineAll&&!this.useMask?new Set:null;for(let s=0;s<this.termSearchers.length;s++){let l=this.termSearchers[s].searchIn(e),c=this.idfWeights[s];r+=c,l.isMatch&&(n++,a+=c*(1-l.score),l.indices&&t.push(...l.indices),this.combineAll&&(this.useMask?o|=1<<s:i.add(s)))}if(0===n)return{isMatch:!1,score:1};let s=r>0?1-a/r:0,l={isMatch:!0,score:Math.max(.001,s)};return this.options.includeMatches&&t.length&&(l.indices=ese(t)),this.combineAll&&(this.useMask?l.matchedMask=o:l.matchedTerms=i,l.termCount=this.numTerms),l}},Wse=class{constructor(e,t,a){this.options={...Ase,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new wse(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,a),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;let t=nse(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Tse))throw Error("Incorrect 'index' type");if(this._myIndex=t||Xie(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){let e=cse({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=function(e,t,a){let r={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(let n of e)dse(r,n,t,a);return r}(this._myIndex.records,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}add(e){if(!Hie(e))return;this._docs.push(e);let t=this._myIndex.add(e,this._docs.length-1);if(this._invertedIndex&&t){let e=cse({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});!function(e,t,a,r){dse(e,t,a,r)}(this._invertedIndex,t,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}remove(e=()=>!1){let t=[],a=[];for(let r=0,n=this._docs.length;r<n;r+=1)e(this._docs[r],r)&&(t.push(this._docs[r]),a.push(r));if(a.length){this._invertedIndex&&hse(this._invertedIndex,a);let e=new Set(a);this._docs=this._docs.filter((t,a)=>!e.has(a)),this._myIndex.removeAll(a),this._invalidateSearcherCache()}return t}removeAt(e){if(!Number.isInteger(e)||e<0||e>=this._docs.length)throw Error(mse);this._invertedIndex&&hse(this._invertedIndex,[e]);let t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),this._invalidateSearcherCache(),t}_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}_normalizedKeys(){return this._myIndex.keys.map(e=>this._keyStore.get(e.id)||e)}search(e,t){let{limit:a=-1}=t||{},{includeMatches:r,includeScore:n,shouldSort:o,sortFn:i,ignoreFieldNorm:s}=this.options;if(Bie(e)&&!e.trim()){let e=this._docs.map((e,t)=>({item:e,refIndex:t}));return jie(a)&&a>-1&&(e=e.slice(0,a)),e}let l,c=o&&jie(a)&&a>0&&Bie(e),u=i,d=(e,t)=>u(e,t)||e.idx-t.idx;if(c){let t=new Vse(a,d);Bie(this._docs[0])?this._searchStringList(e,{heap:t,ignoreFieldNorm:s}):this._searchObjectList(e,{heap:t,ignoreFieldNorm:s}),l=t.extractSorted()}else l=Bie(e)?Bie(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),function(e,{ignoreFieldNorm:t=Ase.ignoreFieldNorm}){e.forEach(e=>{e.score=ise(e.matches,{ignoreFieldNorm:t})})}(l,{ignoreFieldNorm:s}),o&&l.sort(Bie(e)?d:u),jie(a)&&a>-1&&(l=l.slice(0,a));return sse(l,this._docs,{includeMatches:r,includeScore:n})}_searchStringList(e,{heap:t,ignoreFieldNorm:a}={}){let r=this._getSearcher(e),n=this.options.useTokenSearch&&"all"===this.options.tokenMatch,{records:o}=this._myIndex,i=t?null:[];return o.forEach(({v:e,i:o,n:s})=>{if(!Hie(e))return;let l=r.searchIn(e);if(l.isMatch){let r={score:l.score,value:e,norm:s,indices:l.indices};n&&(r.matchedMask=l.matchedMask,r.matchedTerms=l.matchedTerms,r.termCount=l.termCount);let c=[r];if(!n||this._coversAllTokens(c)){let r={item:e,idx:o,matches:c};t?(r.score=ise(r.matches,{ignoreFieldNorm:a}),t.insert(r)):i.push(r)}}}),i}_searchLogical(e){let t=ose(e,this.options),a=this._normalizedKeys(),r=(e,t,n)=>{if(!("children"in e)){let r,{keyId:o,searcher:i}=e;return null===o?(r=[],a.forEach((e,a)=>{r.push(...this._findMatches({key:e,value:t[a],searcher:i}))})):r=this._findMatches({key:this._keyStore.get(o),value:this._myIndex.getValueForItemAtKeyId(t,o),searcher:i}),r&&r.length?[{idx:n,item:t,matches:r}]:[]}let{children:o,operator:i}=e,s=[];for(let e=0,a=o.length;e<a;e+=1){let a=o[e],l=r(a,t,n);if(l.length)s.push(...l);else if(i===Bse.AND)return[]}return s},n=this._myIndex.records,o=new Map,i=[];return n.forEach(({$:e,i:a})=>{if(Hie(e)){let n=r(t,e,a);n.length&&(o.has(a)||(o.set(a,{idx:a,item:e,matches:[]}),i.push(o.get(a))),n.forEach(({matches:e})=>{o.get(a).matches.push(...e)}))}}),i}_searchObjectList(e,{heap:t,ignoreFieldNorm:a}={}){let r=this._getSearcher(e),n=this.options.useTokenSearch&&"all"===this.options.tokenMatch,{records:o}=this._myIndex,i=this._normalizedKeys(),s=t?null:[];return o.forEach(({$:e,i:o})=>{if(!Hie(e))return;let l=[],c=!1,u=!1;if(i.forEach((t,a)=>{let n=this._findMatches({key:t,value:e[a],searcher:r});n.length?(l.push(...n),n[0].hasInverse&&(u=!0)):c=!0}),(!u||!c)&&l.length&&(!n||this._coversAllTokens(l))){let r={idx:o,item:e,matches:l};t?(r.score=ise(r.matches,{ignoreFieldNorm:a}),t.insert(r)):s.push(r)}}),s}_findMatches({key:e,value:t,searcher:a}){if(!Hie(t))return[];let r=[];if(Die(t))t.forEach(({v:t,i:n,n:o})=>{if(!Hie(t))return;let i=a.searchIn(t);if(i.isMatch){let a={score:i.score,key:e,value:t,idx:n,norm:o,indices:i.indices,hasInverse:i.hasInverse};void 0!==i.termCount&&(a.matchedMask=i.matchedMask,a.matchedTerms=i.matchedTerms,a.termCount=i.termCount),r.push(a)}});else{let{v:n,n:o}=t,i=a.searchIn(n);if(i.isMatch){let t={score:i.score,key:e,value:n,norm:o,indices:i.indices,hasInverse:i.hasInverse};void 0!==i.termCount&&(t.matchedMask=i.matchedMask,t.matchedTerms=i.matchedTerms,t.termCount=i.termCount),r.push(t)}}return r}_coversAllTokens(e){let t=e.length?e[0].termCount:void 0;if(void 0===t)return!0;if(t<=31){let a=0;for(let t=0;t<e.length;t++)a|=e[t].matchedMask||0;return a===2**t-1}let a=new Set;for(let t=0;t<e.length;t++){let r=e[t].matchedTerms;if(r)for(let e of r)a.add(e)}return a.size===t}},Wse.version="7.5.0",Wse.createIndex=Xie,Wse.parseIndex=Yie,Wse.config=Ase,Wse.match=function(e,t,a){if(a&&a.useTokenSearch)throw Error("Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.");return nse(e,{...Ase,...a}).searchIn(t)},Wse.parseQuery=ose,rse(Dse),rse(Fse),Wse.use=function(...e){e.forEach(e=>rse(e))},Gse=Wse}),ile=V(()=>{Bc(),mae(),Xk(),RK(),Rie(),iie(),ole(),Xse=["id"],Yse=["id","aria-selected","onClick"],Kse={class:"flex items-center gap-2 whitespace-nowrap"},Jse={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"},ele={class:"max-w-[9rem] overflow-hidden text-right text-ellipsis whitespace-nowrap"},tle=Cn({__name:"EnvironmentVariablesDropdown",props:{query:{},environment:{},dropdownPosition:{},contextFunctionItems:{default:()=>[]},listboxId:{}},emits:["select","redirect","close"],setup(e,{expose:t,emit:a}){let r=a,n=Ha(!0),o=Ha(null),i=Ha(0),s=()=>{r("redirect"),n.value=!1,r("close")},l=il(()=>(e.environment?.variables??[]).map(e=>({key:e.name,value:"string"==typeof e.value?e.value:e.value.default}))),c=il(()=>e.contextFunctionItems.map(e=>({kind:"context",key:e.key,secondary:e.description}))),u=il(()=>l.value.filter(({key:e,value:t})=>""!==e||""!==t).map(({key:e,value:t})=>({kind:"env",key:e,secondary:t}))),d=il(()=>u.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),p=il(()=>c.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),h=il(()=>new Gse(d.value,{keys:["fuseText"],threshold:.35})),m=il(()=>new Gse(p.value,{keys:["fuseText"],threshold:.35})),f=il(()=>{let t=new Map(e.contextFunctionItems.map(e=>[e.key,e]));return tX.flatMap(e=>{let a=t.get(e);return a?[{kind:"context",key:a.key,secondary:a.description}]:[]})}),g=il(()=>{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=t=>e.listboxId?`${e.listboxId}-option-${t}`:void 0,b=il(()=>g.value.length?v(i.value):void 0),y=e=>{r("select",e)};hn(()=>g.value.length,e=>{i.value>e-1&&(i.value=Math.max(0,e-1))}),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&&y(e.key)}},activeOptionId:b}),as(()=>{i.value=0});let w=il(()=>({left:(e.dropdownPosition?.left??0)+"px",top:(e.dropdownPosition?.top??0)+5+"px"}));return Ioe(o,()=>{n.value=!1,r("close")},{ignore:[o]}),(t,a)=>n.value?(Ho(),Fo(qa(Dae),{key:0,class:"scalar-client"},{default:sn(()=>[Xo("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(w.value),onMousedown:a[0]||=Cc(()=>{},["prevent"])},[Xo("ul",{id:e.listboxId,"aria-label":"Variable suggestions",class:"gap-1/2 flex flex-col",role:"listbox"},[(Ho(!0),Qo(Bs,null,Xn(g.value,(t,a)=>(Ho(),Qo("li",{key:`${t.kind}-${t.key}`,id:v(a),"aria-selected":a===i.value,class:tt(["font-code text-xxs hover:bg-b-3 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",{"bg-b-3":a===i.value}]),role:"option",onClick:e=>y(t.key)},[Xo("div",Kse,["env"===t.kind?(Ho(),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)):(Ho(),Qo("span",Jse," fn ")),ei(" "+Yt(t.key),1)]),Xo("span",ele,Yt(t.secondary),1)],10,Yse))),128))],8,Xse),g.value.length?ai("",!0):(Ho(),Fo(qa(sae),{key:0,class:"font-code text-xxs bg-b-inherit hover:bg-b-3 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",variant:"outlined",onClick:s},{default:sn(()=>[Fs(qa(By),{class:"size-3"}),a[1]||=ei(" Add Variable ",-1)]),_:1})),a[2]||=Xo("div",{class:"bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg"},null,-1)],36)]),_:1})):ai("",!0)}})}),sle=V(()=>{ile(),ale=tle}),lle=V(()=>{rle="scalar-tooltip",nle="scalar-tooltip"});function cle(e){(function(e){let t=qa(gle.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)&&(ple(),gle.value=void 0)}function ule(e){"Escape"===e.key&&(e.stopPropagation(),cle(e))}function dle(e){if(!fle.value)return!1;let t=function(e){let t=e?.closest("dialog");if(t)try{return t.matches(":modal")?t:void 0}catch{return}}(e)??document.body;return fle.value.parentElement!==t&&(t.appendChild(fle.value),!0)}function ple(){mle.value&&(clearTimeout(mle.value),mle.value=void 0)}function hle(e){function t(t){let r=qa(e.delay)??300;ple(),r>0?mle.value=setTimeout(()=>a(t),r):a(t)}function a(t){ple(),document.addEventListener("keydown",ule,{once:!0,capture:!0}),dle(qa(e.targetRef)),gle.value=e}!function(){if(typeof document>"u"||typeof window>"u"||fle.value)return;let e=document.getElementById(rle);e?fle.value=e:(fle.value=document.createElement("div"),fle.value.role="tooltip",fle.value.id=rle,fle.value.classList.add(nle),fle.value.classList.add("scalar-app"),fle.value.style.setProperty("display","none"),fle.value.addEventListener("mouseleave",cle),document.body.appendChild(fle.value))}(),hn(()=>qa(e.targetRef),(e,r)=>{r&&(r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",cle),r.removeEventListener("focus",a),r.removeEventListener("blur",cle),r.removeAttribute("aria-describedby")),e&&(e.addEventListener("mouseenter",t),e.addEventListener("mouseleave",cle),e.addEventListener("focus",a),e.addEventListener("blur",cle),e.setAttribute("aria-describedby",rle))},{immediate:!0}),aa(()=>{ple();let r=qa(e.targetRef);r&&(r.removeEventListener("mouseenter",t),r.removeEventListener("mouseleave",cle),r.removeEventListener("focus",a),r.removeEventListener("blur",cle),r.removeAttribute("aria-describedby")),qa(gle.value?.targetRef)===qa(e.targetRef)&&(gle.value=void 0)})}var mle,fle,gle,vle,ble,yle,wle,xle,Ole,kle,Sle,Ale=V(()=>{lle(),Bc(),roe(),mle=Ha(),fle=Ha(),gle=Ha(),({floatingStyles:vle,placement:ble,update:yle}=Hne(il(()=>qa(gle.value?.targetRef)),fle,{placement:il(()=>qa(gle.value?.placement)),whileElementsMounted:Ane,middleware:il(()=>[$ne(),Nne()])})),hn(ble,e=>{!fle.value||!e||(fle.value.dataset.side=e.split("-")[0])}),hn(vle,()=>{fle.value&&(fle.value.style.position=vle.value.position,fle.value.style.top=vle.value.top,fle.value.style.left=vle.value.left,fle.value.style.transform=vle.value.transform??"",fle.value.style.willChange=vle.value.willChange??"")}),hn(gle,e=>{if(fle.value)if(e){dle(qa(e.targetRef))&&yle();let t=qa(e?.contentTarget)??"textContent";fle.value[t]=qa(e?.content)??"";let a=qa(e?.offset)??4;fle.value.style.setProperty("--scalar-tooltip-offset",`${a}px`),fle.value.dataset.side=(qa(e?.placement)??"bottom").split("-")[0],fle.value.style.setProperty("display","block")}else fle.value.innerHTML="",fle.value.style.removeProperty("--scalar-tooltip-offset"),fle.value.style.setProperty("display","none"),dle(void 0)},{deep:!0})}),Tle=V(()=>{wle={"⌘":"Command","^":"Control",ctrl:"Control","⌥":"Option",alt:"Alt","⇧":"Shift","⇪":"Caps Lock","↵":"Enter","←":"Left Arrow","→":"Right Arrow","↑":"Up Arrow","↓":"Down Arrow"},xle={Meta:"⌘",Shift:"⇧",Alt:"⌥",Control:"^"},Ole={Meta:"ctrl",Shift:"⇧",Alt:"alt",Control:"ctrl"}}),_le=V(()=>{kle=e=>{let t=Reflect.get(e,"userAgentData");if(t&&"object"==typeof t&&"platform"in t&&"string"==typeof t.platform)return t.platform},Sle=()=>{if(typeof navigator>"u")return!1;let e=kle(navigator);return e?e.toLowerCase().includes("mac"):/Mac/.test(navigator.userAgent)}});function Cle(e,t){return[...t.map(e=>function(e){let t=function(e){return"default"===e}(e)?"Meta":e;return Ple()?xle[t]:Ole[t]}(e)),e]}function Ele(e){return e in wle?wle[e]:e}var Ple,Mle,Nle,$le,Ile,Rle,Dle,Lle,Ble,jle=V(()=>{Tle(),_le(),Ple=()=>Sle()}),Ule=V(()=>{jle(),h_(),Bc(),Mle={"aria-hidden":"true",class:"contents"},Nle={class:"sr-only"},$le=Cn({inheritAttrs:!1,__name:"ScalarHotkey",props:{hotkey:{},modifier:{default:()=>["Meta"]}},setup(e){let{cx:t}=c_(),a=il(()=>Cle(e.hotkey,e.modifier));return(e,r)=>(Ho(),Qo("div",at(Ko(qa(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"))),[(Ho(!0),Qo(Bs,null,Xn(a.value,(e,t)=>(Ho(),Qo("div",{key:t},[Xo("span",Mle,Yt(e),1),Xo("span",Nle,Yt(qa(Ele)(e)),1)]))),128))],16))}})}),zle=V(()=>{Ule(),Ile=$le}),Hle=V(()=>{Ale(),Bc(),Rle=Cn({__name:"ScalarTooltip",props:{content:{default:""},delay:{default:()=>300},placement:{default:"top"},offset:{default:()=>4}},setup(e){let t=Ha(null);return hle({content:il(()=>e.content),delay:il(()=>e.delay),placement:il(()=>e.placement),offset:il(()=>e.offset),targetRef:il(()=>t.value?.children?.[0]||t.value||void 0)}),(e,a)=>(Ho(),Qo("div",{ref_key:"wrapperRef",ref:t,class:tt({contents:!!e.$slots.default})},[Kn(e.$slots,"default")],2))}})}),Zle=V(()=>{Hle(),Dle=Rle}),Vle=V(()=>{Ale(),Zle()}),qle=V(()=>{Bc(),Vle(),Lle=Cn({name:"PillTooltipHost",__name:"PillTooltipHost",props:{context:{},target:{}},setup(e){let t=e,a="contextFunction"===t.context.type,r=il(()=>{if(!a||typeof document>"u"||"contextFunction"!==t.context.type)return"";let e=document.createElement("div");return Ic(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}),n=il(()=>"environment"===t.context.type?t.context.value:""),o=Ha(t.target);return hle({content:a?r:n,contentTarget:a?"innerHTML":"textContent",delay:0,placement:"bottom-start",offset:6,targetRef:o}),(e,t)=>null}})}),Qle=V(()=>{qle(),Ble=Lle});function Fle(e){if(e<768)return!1;for(let t=0,a=ace.length;;){let r=t+a>>1;if(e<ace[r])a=r;else{if(!(e>=rce[r]))return!0;t=r+1}if(t==a)return!1}}function Wle(e){return e>=127462&&e<=127487}function Gle(e,t,a=!0,r=!0){return(a?Xle:Yle)(e,t,r)}function Xle(e,t,a){if(t==e.length)return t;t&&Jle(e.charCodeAt(t))&&ece(e.charCodeAt(t-1))&&t--;let r=Kle(e,t);for(t+=tce(r);t<e.length;){let n=Kle(e,t);if(r==nce||n==nce||a&&Fle(n))t+=tce(n),r=n;else{if(!Wle(n))break;{let a=0,r=t-2;for(;r>=0&&Wle(Kle(e,r));)a++,r-=2;if(a%2==0)break;t+=2}}}return t}function Yle(e,t,a){for(;t>0;){let r=Xle(e,t-2,a);if(r<t)return r;t--}return 0}function Kle(e,t){let a=e.charCodeAt(t);if(!ece(a)||t+1==e.length)return a;let r=e.charCodeAt(t+1);return Jle(r)?r-56320+(a-55296<<10)+65536:a}function Jle(e){return e>=56320&&e<57344}function ece(e){return e>=55296&&e<56320}function tce(e){return e<65536?1:2}var ace,rce,nce,oce=V(()=>{ace=[],rce=[],(()=>{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?rce:ace).push(a+=e[t])})(),nce=8205});function ice(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 sce(e,t,a){return ice(e,[""],t,a)}function lce(e,t,a){return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,a))]}function cce(e,t,a=!0,r=!0){return Gle(e,t,a,r)}function uce(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 dce(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function pce(e){return e<65536?1:2}function hce(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 mce(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(Hce.empty);e.push(a)}}function fce(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=Hce.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 gce(e,t,a,r=!1){let n=[],o=r?[]:null,i=new Jce(e),s=new Jce(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);hce(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(hce(n,s.ins,-1);t;){let a=Math.min(i.len,t);i.ins>=0&&e<i.i&&i.len<=a&&(hce(n,0,i.ins),o&&mce(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?Kce.createSet(n,o):Yce.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()}hce(n,t,e<i.i?i.ins:0),o&&e<i.i&&mce(o,n,i.text),e=i.i,i.forward(i.len-a)}}}}function vce(e,t,a=!1){let r=[],n=a?[]:null,o=new Jce(e),i=new Jce(t);for(let e=!1;;){if(o.done&&i.done)return n?Kce.createSet(r,n):Yce.create(r);if(0==o.ins)hce(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;hce(r,t,a,e),n&&a&&mce(n,r,i.text)}else-1==i.ins?(hce(r,o.off?0:o.len,t,e),n&&mce(n,r,o.textBit(t))):(hce(r,o.off?0:o.len,i.off?0:i.ins,e),n&&!i.off&&mce(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 hce(r,0,i.ins,e),n&&mce(n,r,i.text),i.next()}}function bce(e,t){for(let a of e.ranges)if(a.to>t)throw RangeError("Selection points outside of document")}function yce(e,t){return e==t||e.length==t.length&&e.every((e,a)=>e===t[a])}function wce(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 xce(e,t){let a=!1;for(let r of t)1&Sce(e,r)&&(a=!0);return a}function Oce(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=Ace(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)Sce(e,t);return e.values[i]=s(e),1},update(e,a){if(!xce(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=xce(e,r),l=n.config.facets[t.id],c=n.facet(t);if(l&&!o&&yce(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 kce(e){return t=>new cue(t,e)}function Sce(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 Ace(e,t){return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}function Tce(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 _ce(e,t,a){let r,n,o;return a?(r=t.changes,n=Kce.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:kue.mapEffects(e.effects,r).concat(kue.mapEffects(t.effects,n)),annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function Cce(e,t,a){let r=t.selection,n=Pce(t.annotations);return t.userEvent&&(n=n.concat(Sue.userEvent.of(t.userEvent))),{changes:t.changes instanceof Kce?t.changes:Kce.of(t.changes||[],a,e.facet(fue)),selection:r&&(r instanceof tue?r:tue.single(r.anchor,r.head)),effects:Pce(t.effects),annotations:n,scrollIntoView:!!t.scrollIntoView}}function Ece(e,t,a){let r=Cce(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=_ce(r,Cce(e,t[n],o?r.changes.newLength:e.doc.length),o)}let n=Sue.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView);return function(e){let t=e.startState,a=t.facet(bue),r=e;for(let n=a.length-1;n>=0;n--){let o=a[n](e);o&&Object.keys(o).length&&(r=_ce(r,Cce(t,o,e.changes.newLength),!0))}return r==e?e:Sue.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(gue)){let t=r(e);if(!1===t){a=!1;break}Array.isArray(t)&&(a=!0===a?t:Tce(a,t))}if(!0!==a){let r,n;if(!1===a)n=e.changes.invertedDesc,r=Kce.empty(t.doc.length);else{let t=e.changes.filter(a);r=t.changes,n=t.filtered.mapDesc(t.changes).invertedDesc}e=Sue.create(t,r,e.selection&&e.selection.map(n),kue.mapEffects(e.effects,n),e.annotations,e.scrollIntoView)}let r=t.facet(vue);for(let a=r.length-1;a>=0;a--){let n=r[a](e);e=n instanceof Sue?n:Array.isArray(n)&&1==n.length&&n[0]instanceof Sue?n[0]:Ece(t,Pce(n),!1)}return e}(n):n)}function Pce(e){return null==e?Aue:Array.isArray(e)?e:[e]}function Mce(e){return t=>{if(!/\S/.test(t))return Tue.Space;if(function(e){if(Cue)return Cue.test(e);for(let t=0;t<e.length;t++){let a=e[t];if(/\w/.test(a)||a>""&&(a.toUpperCase()!=a.toLowerCase()||_ue.test(a)))return!0}return!1}(t))return Tue.Word;for(let a=0;a<e.length;a++)if(t.indexOf(e[a])>-1)return Tue.Word;return Tue.Other}}function Nce(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 $ce(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}function Ice(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 Rce(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 Dce(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))&&Lce(e.activeForPoint(e.to),a.activeForPoint(a.to))||o.comparePoint(s,c,e.point,a.point):c>s&&!Lce(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 Lce(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 Bce(e,t){for(let a=t,r=e.length-1;a<r;a++)e[a]=e[a+1];e.pop()}function jce(e,t,a){for(let a=e.length-1;a>=t;a--)e[a+1]=e[a];e[t]=a}function Uce(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 zce(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=cce(e,n));return r}var Hce,Zce,Vce,qce,Qce,Fce,Wce,Gce,Xce,Yce,Kce,Jce,eue,tue,aue,rue,nue,oue,iue,sue,lue,cue,uue,due,pue,hue,mue,fue,gue,vue,bue,yue,wue,xue,Oue,kue,Sue,Aue,Tue,_ue,Cue,Eue,Pue,Mue,Nue,$ue,Iue,Rue,Due,Lue,Bue,jue,Uue,zue,Hue,Zue,Vue=V(()=>{oce(),Hce=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]=lce(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),Vce.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]=lce(this,e,t);let a=[];return this.decompose(e,t,a,0),Vce.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 qce(this),n=new qce(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 qce(this,e)}iterRange(e,t=this.length){return new Qce(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 Fce(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 Zce(t):Vce.from(Zce.split(t,[])):e.empty}},Zce=class e extends Hce{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 Wce(r,i,a,o);r=i+1,a++}}decompose(t,a,r,n){let o=t<=0&&a>=this.length?this:new e(sce(this.text,t,a),Math.min(a,this.length)-Math.max(0,t));if(1&n){let t=r.pop(),a=ice(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]=lce(this,t,a);let n=ice(this.text,ice(r.text,sce(this.text,0,t)),a),o=this.length+r.length-(a-t);return n.length<=32?new e(n,o):Vce.from(e.split(n,[]),o)}sliceString(e,t=this.length,a="\n"){[e,t]=lce(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}},Vce=class e extends Hce{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|(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]=lce(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]=lce(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 Zce(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 Zce&&l&&(a=u[u.length-1])instanceof Zce&&t.lines+a.lines<=32?(l+=t.lines,c+=t.length+1,u[u.length-1]=new Zce(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)}},Hce.empty=new Zce([""],0),qce=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 Zce?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 Zce?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 Zce){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 Zce?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)}},Qce=class{constructor(e,t,a){this.value="",this.done=!1,this.cursor=new qce(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}},Fce=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"&&(Hce.prototype[Symbol.iterator]=function(){return this.iter()},qce.prototype[Symbol.iterator]=Qce.prototype[Symbol.iterator]=Fce.prototype[Symbol.iterator]=function(){return this}),Wce=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}},Gce=/\r\n?|\n/,Xce=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(Xce||={}),Yce=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){fce(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:vce(this,e)}mapDesc(e,t=!1){return e.empty?this:gce(this,e,t)}mapPos(e,t=-1,a=Xce.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!=Xce.Simple&&l>=e&&(a==Xce.TrackDel&&r<e&&l>e||a==Xce.TrackBefore&&r<e||a==Xce.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)}},Kce=class e extends Yce{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 fce(this,(t,a,r,n,o)=>e=e.replace(r,r+(a-t),o),!1),e}mapDesc(e,t=!1){return gce(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(Hce.empty);r.push(o?t.slice(n,n+o):Hce.empty)}n+=o}return new e(a,r)}compose(e){return this.empty?e:e.empty?this:vce(this,e,!0)}map(e,t=!1){return e.empty?this:gce(this,e,t,!0)}iterChanges(e,t=!1){fce(this,e,t)}get desc(){return Yce.create(this.sections)}filter(t){let a=[],r=[],n=[],o=new Jce(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);hce(n,e,-1);let t=-1==o.ins?-1:0==o.off?o.ins:0;hce(a,e,t),t>0&&mce(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);hce(a,e,-1),hce(n,e,-1==o.ins?-1:0==o.off?o.ins:0),o.forward(e),i+=e}}return{changes:new e(a,r),filtered:Yce.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&&hce(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?Hce.of(s.split(r||Gce)):s:Hce.empty,d=u.length;if(e==t&&0==d)return;e<i&&l(),e>i&&hce(n,e-i,-1),hce(n,t-e,d),mce(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(Hce.empty);r[e]=Hce.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)}},Jce=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?Hce.empty:e[t]}textBit(e){let{inserted:t}=this.set,a=this.i-2>>1;return a>=t.length&&!e?Hce.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)}},eue=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 tue.range(e,t);let a=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return tue.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 tue.range(e.anchor,e.head)}static create(t,a,r){return new e(t,a,r)}},tue=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=>eue.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 eue.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?eue.create(t,e,48|n):eue.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)}},aue=0,rue=class e{constructor(e,t,a,r,n){this.combine=e,this.compareInput=t,this.compare=a,this.isStatic=r,this.id=aue++,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:yce),!!t.static,t.enables)}of(e){return new nue([],this,0,e)}compute(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new nue(e,this,1,t)}computeN(e,t){if(this.isStatic)throw Error("Can't compute a static facet");return new nue(e,this,2,t)}from(e,t){return t||=e=>e,this.compute([e],a=>t(a.field(e)))}},nue=class{constructor(e,t,a,r){this.dependencies=e,this.facet=t,this.type=a,this.value=r,this.id=aue++}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)||xce(e,l)){let r=t(e);if(o?!wce(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=Ace(i,l);if(this.dependencies.every(t=>t instanceof rue?i.facet(t)===e.facet(t):!(t instanceof iue)||i.field(t,!1)==e.field(t,!1))||(o?wce(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}}}},oue=rue.define({static:!0}),iue=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(aue++,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(oue).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,oue.of({field:this,create:e})]}get extension(){return this}},lue={highest:kce((sue={lowest:4,low:3,default:2,high:1,highest:0}).highest),high:kce(sue.high),default:kce(sue.default),low:kce(sue.low),lowest:kce(sue.lowest)},cue=class{constructor(e,t){this.inner=e,this.prec=t}},uue=class e{of(e){return new due(this,e)}reconfigure(t){return e.reconfigure.of({compartment:this,extension:t})}get(e){return e.config.compartments.get(this)}},due=class{constructor(e,t){this.compartment=e,this.inner=t}},pue=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 due&&a.delete(o.compartment)}if(n.set(o,i),Array.isArray(o))for(let t of o)e(t,i);else if(o instanceof due){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 cue)e(o.inner,o.prec);else if(o instanceof iue)r[i].push(o),o.provides&&e(o.provides,i);else if(o instanceof nue)r[i].push(o),o.facet.extensions&&e(o.facet.extensions,sue.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,sue.default),r.reduce((e,t)=>e.concat(t))}(t,a,i))e instanceof iue?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,yce(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=>Oce(e,a,t))}}let d=c.map(e=>e(s));return new e(t,i,d,s,l,o)}},hue=rue.define(),mue=rue.define({combine:e=>e.some(e=>e),static:!0}),fue=rue.define({combine:e=>e.length?e[0]:void 0,static:!0}),gue=rue.define(),vue=rue.define(),bue=rue.define(),yue=rue.define({combine:e=>!!e.length&&e[0]}),wue=class{constructor(e,t){this.type=e,this.value=t}static define(){return new xue}},xue=class{of(e){return new wue(this,e)}},Oue=class{constructor(e){this.map=e}of(e){return new kue(this,e)}},kue=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 Oue(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}},kue.reconfigure=kue.define(),kue.appendConfig=kue.define(),Sue=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&&bce(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]))}},Sue.time=wue.define(),Sue.userEvent=wue.define(),Sue.addToHistory=wue.define(),Sue.remote=wue.define(),Aue=[],Tue=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(Tue||={}),_ue=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;try{Cue=RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}Eue=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++)Sce(this,e<<1);this.computeSlot=null}field(e,t=!0){let a=this.config.address[e.id];if(null!=a)return Sce(this,a),Ace(this,a);if(t)throw RangeError("Field is not present in this state")}update(...e){return Ece(this,e,!0)}applyTransaction(t){let a,r=this.config,{base:n,compartments:o}=r;for(let e of t.effects)e.is(uue.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(kue.reconfigure)?(r=null,n=e.value):e.is(kue.appendConfig)&&(r=null,n=Pce(n).concat(e.value));r?a=t.startState.values.slice():(r=pue.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(mue)?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:tue.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=Pce(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=kue.mapEffects(o,l).concat(kue.mapEffects(Pce(i.effects),c))}return{changes:r,selection:tue.create(n,t.mainIndex),effects:o}}changes(t=[]){return t instanceof Kce?t:Kce.of(t,this.doc.length,this.facet(e.lineSeparator))}toText(t){return Hce.of(t.split(this.facet(e.lineSeparator)||Gce))}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:(Sce(this,t),Ace(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 iue&&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:tue.fromJSON(t.selection),extensions:a.extensions?n.concat([a.extensions]):n})}static create(t={}){let a=pue.resolve(t.extensions||[],new Map),r=t.doc instanceof Hce?t.doc:Hce.of((t.doc||"").split(a.staticFacet(e.lineSeparator)||Gce)),n=t.selection?t.selection instanceof tue?t.selection:tue.single(t.selection.anchor,t.selection.head):tue.single(0);return bce(n,r.length),a.staticFacet(mue)||(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(yue)}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(hue))for(let o of n(this,t,a))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){return Mce(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=cce(t,o,!1);if(n(t.slice(e,o))!=Tue.Word)break;o=e}for(;i<r;){let e=cce(t,i);if(n(t.slice(i,e))!=Tue.Word)break;i=e}return o==i?null:tue.range(o+a,i+a)}},Eue.allowMultipleSelections=mue,Eue.tabSize=rue.define({combine:e=>e.length?e[0]:4}),Eue.lineSeparator=fue,Eue.readOnly=yue,Eue.phrases=rue.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])}}),Eue.languageData=hue,Eue.changeFilter=gue,Eue.transactionFilter=vue,Eue.transactionExtender=bue,uue.reconfigure=kue.define(),Pue=class{eq(e){return this==e}range(e,t=e){return Mue.create(e,t,this)}},Pue.prototype.startSide=Pue.prototype.endSide=0,Pue.prototype.point=!1,Pue.prototype.mapMode=Xce.TrackDel,Mue=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)}},Nue=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}}},$ue=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($ce)),this.isEmpty)return a.length?e.of(a):this;let s=new Rue(this,null,-1).goto(0),l=0,c=[],u=new Iue;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(Mue.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 Due.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,t=0){return Due.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=Ice(o,i,a),l=new Lue(o,s,n),c=new Lue(i,s,n);a.iterGaps((e,t,a)=>Dce(l,e,c,t,a,r)),a.empty&&0==a.length&&Dce(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=Ice(n,o),s=new Lue(n,i,0).goto(a),l=new Lue(o,i,0).goto(a);for(;;){if(s.to!=l.to||!Lce(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 Lue(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 Iue;for(let r of e instanceof Mue?[e]:t?function(e){if(e.length>1)for(let t=e[0],a=1;a<e.length;a++){let r=e[a];if($ce(t,r)>0)return e.slice().sort($ce);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}},$ue.empty=new $ue([],[],null,-1),$ue.empty.nextLayer=$ue.empty,Iue=class e{finishChunk(e){this.chunks.push(new Nue(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($ue.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e;let t=$ue.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,t}},Rue=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],a=e+t.from[this.rangeIndex];if(this.from=a,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}},Due=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 Rue(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--)Rce(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--)Rce(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(),Rce(this.heap,0)}}},Lue=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=Due.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){Bce(this.active,e),Bce(this.activeTo,e),Bce(this.activeRank,e),this.minActive=Uce(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++;jce(this.active,t,a),jce(this.activeTo,t,r),jce(this.activeRank,t,n),e&&jce(e,t,this.cursor.from),this.minActive=Uce(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&&Bce(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}}}),que=V(()=>{Bue=typeof Symbol>"u"?"__ͼ":Symbol.for("ͼ"),jue=typeof Symbol>"u"?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),Uue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{},zue=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=Uue[Bue]||1;return Uue[Bue]=e+1,"ͼ"+e.toString(36)}static mount(e,t,a){let r=e[jue],n=a&&a.nonce;r?n&&r.setNonce(n):r=new Zue(e,n),r.mount(Array.isArray(t)?t:[t],e)}},Hue=new Map,Zue=class{constructor(e,t){let a=e.ownerDocument||e,r=a.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=Hue.get(a);if(t)return e[jue]=t;this.sheet=new r.CSSStyleSheet,Hue.set(a,this)}else this.styleTag=a.createElement("style"),t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[jue]=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 Que,Fue,Wue,Gue,Xue,Yue=V(()=>{for(Que={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:"'"},Fue={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Wue=typeof navigator<"u"&&/Mac/.test(navigator.platform),Gue=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Xue=0;Xue<10;Xue++)Que[48+Xue]=Que[96+Xue]=String(Xue);for(Xue=1;Xue<=24;Xue++)Que[Xue+111]="F"+Xue;for(Xue=65;Xue<=90;Xue++)Que[Xue]=String.fromCharCode(Xue+32),Fue[Xue]=String.fromCharCode(Xue);for(var e in Que)Fue.hasOwnProperty(e)||(Fue[e]=Que[e])});function Kue(e){let t;return t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e,t.getSelection()}function Jue(e,t){return!!t&&(e==t||e.contains(1==t.nodeType?t:t.parentNode))}function ede(e,t){if(!t.anchorNode)return!1;try{return Jue(e,t.anchorNode)}catch{return!1}}function tde(e){return 3==e.nodeType?dde(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]}function ade(e,t,a,r){return!!a&&(ode(e,t,a,r,-1)||ode(e,t,a,r,1))}function rde(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t}function nde(e){return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function ode(e,t,a,r,n){for(;;){if(e==a&&t==r)return!0;if(t==(n<0?0:ide(e))){if("DIV"==e.nodeName)return!1;let a=e.parentNode;if(!a||1!=a.nodeType)return!1;t=rde(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?ide(e):0}}}function ide(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function sde(e,t){let a=t?e.left:e.right;return{left:a,right:a,top:e.top,bottom:e.bottom}}function lde(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 cde(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 ude(e){if(e.setActive)return e.setActive();if(qpe)return e.focus(qpe);let t=[];for(let a=e;a&&(t.push(a,a.scrollTop,a.scrollLeft),a!=a.ownerDocument);a=a.parentNode);if(e.focus(null==qpe?{get preventScroll(){return qpe={preventScroll:!0},!0}}:void 0),!qpe){qpe=!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 dde(e,t,a=t){let r=Qpe||=document.createRange();return r.setEnd(e,a),r.setStart(e,t),r}function pde(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 hde(e){for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])}function mde(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}function fde(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=ide(a)}else{if(!a.parentNode||nde(a))return null;r=rde(a),a=a.parentNode}}}function gde(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||nde(a))return null;r=rde(a)+1,a=a.parentNode}}}function vde(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}function bde(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 yde(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,bde(e,c,u,s,l,r,0,n,o)}function wde(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 Fpe(a,0)}function xde(e,t,a){let r,{children:n}=e;a>0&&t instanceof uhe&&n.length&&(r=n[n.length-1])instanceof uhe&&r.mark.eq(t.mark)?xde(r,t.children[0],a-1):(n.push(t),t.setParent(e)),e.length+=t.length}function Ode(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=tde(t);return a[a.length-1]||null}(e)}function kde(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 Sde(e,t,a){if(e==t)return!0;e||=hhe,t||=hhe;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 Ade(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 Tde(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 _de(e,t=!1){let{inclusiveStart:a,inclusiveEnd:r}=e;return a??=e.inclusive,r??=e.inclusive,{start:a??t,end:r??t}}function Cde(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 Ede(e,t){for(let a of t)e=new uhe(a,[e],e.length);return e}function Pde(e){let t=[];for(let a=0;a<e.length;a++)t.push(1<<e[a]);return t}function Mde(e){return e<=247?Che[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?Ehe[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1}function Nde(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||!Nde(r.inner,n.inner))return!1}return!0}function $de(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=Ihe[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(Ihe[e]==s)break e;break}e=o[t++].to}c++,d?d.push(m):(m.from>l&&i.push(new $he(l,m.from,p)),Ide(e,m.direction==The==!(p%2)?r:r+1,n,m.inner,m.from,m.to,i),l=m.to),h=m.to}else{if(h==a||(t?Ihe[h]!=s:Ihe[h]==s))break;h++}d?$de(e,l,h,r+1,n,d,i):l<h&&i.push(new $he(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=Ihe[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(Ihe[e-1]==s)break e;break}e=o[--a].from}d?d.push(m):(m.to<l&&i.push(new $he(m.to,l,p)),Ide(e,m.direction==The==!(p%2)?r:r+1,n,m.inner,m.from,m.to,i),l=m.from),h=m.from}else{if(h==t||(a?Ihe[h-1]!=s:Ihe[h-1]==s))break;h--}d?$de(e,h,l,r+1,n,d,i):h<l&&i.push(new $he(h,l,p)),l=h}}function Ide(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=Mde(e.charCodeAt(t));512==n?n=a:8==n&&4==r&&(n=16),Ihe[t]=4==n?2:n,7&n&&(r=n),a=n}for(let e=i,t=l,r=l;e<s;e++){let n=Ihe[e];if(128==n)e<s-1&&t==Ihe[e+1]&&24&t?n=Ihe[e]=t:Ihe[e]=256;else if(64==n){let n=e+1;for(;n<s&&64==Ihe[n];)n++;let o=e&&8==t||n<a&&8==Ihe[n]?1==r?1:8:256;for(let t=e;t<n;t++)Ihe[t]=o;e=n-1}else 8==n&&1==r&&(Ihe[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=Phe[t=e.charCodeAt(i)])if(a<0){for(let e=s-3;e>=0;e-=3)if(Mhe[e+1]==-a){let t=Mhe[e+2],a=2&t?n:4&t?1&t?o:n:0;a&&(Ihe[i]=Ihe[Mhe[e]]=a),s=e;break}}else{if(189==Mhe.length)break;Mhe[s++]=i,Mhe[s++]=t,Mhe[s++]=l}else if(2==(r=Ihe[i])||1==r){let e=r==n;l=+!e;for(let t=s-3;t>=0;t-=3){let a=Mhe[t+2];if(2&a)break;if(e)Mhe[t+2]|=2;else{if(4&a)break;Mhe[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=Ihe[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!=Ihe[i])break;i++}let c=1==o,u=c==(1==(i<t?Ihe[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),Ihe[--t]=u;l=i}else o=i,l++}}}(n,o,r,s),$de(e,n,o,t,a,r,i)}function Rde(e){return[new $he(0,e,0)]}function Dde(e,t,a,r,n){let o=r.head-e.from,i=$he.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=cce(e.text,o,s.forward(n,a));(c<s.from||c>s.to)&&(c=l),Rhe=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<s.level?tue.cursor(u.side(!n,a)+e.from,u.forward(n,a)?1:-1,u.level):tue.cursor(c+e.from,s.forward(n,a)?-1:1,s.level)}function Lde(e,t,a){for(let r=t;r<a;r++){let t=Mde(e.charCodeAt(r));if(1==t)return The;if(2==t||4==t)return _he}return The}function Bde(e,t,a){let r=e.facet(jhe);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 jde(e,t){let a=e.state.facet(sme);if(!a.length)return a;let r=a.map(t=>t instanceof Function?t(e):t),n=[];return $ue.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??=Lde(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 Ude(e){let t=0,a=0,r=0,n=0;for(let o of e.state.facet(lme)){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 zde(e,t){let a=e.observer.selectionRange;if(!a.focusNode)return null;let r=fde(a.focusNode,a.focusOffset),n=gde(a.focusNode,a.focusOffset),o=r||n;if(n&&r&&n.node!=r.node){let t=Gpe.get(n.node);if(!t||t instanceof che&&t.text!=n.node.nodeValue)o=n;else if(e.docView.lastCompositionAfterCursor){let e=Gpe.get(r.node);!e||e instanceof che&&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 Hde(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}function Zde(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function Vde(e,t){return e.top<t.bottom-1&&e.bottom>t.top+1}function qde(e,t){return t<e.top?{top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function Qde(e,t){return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function Fde(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=tde(p);for(let h=0;h<e.length;h++){let m=e[h];n&&Vde(n,m)&&(m=qde(Qde(m,n.bottom),n.top));let f=Hde(t,m),g=Zde(a,m);if(0==f&&0==g)return 3==p.nodeType?Wde(p,t,a):Fde(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&&Vde(c,m)?c=Qde(c,m.bottom):u&&Vde(u,m)&&(u=qde(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?Wde(r,p,a):d&&"false"!=r.contentEditable?Fde(r,p,a):{node:e,offset:Array.prototype.indexOf.call(e.childNodes,r)+ +(t>=(n.left+n.right)/2)}}function Wde(e,t,a){let r=e.nodeValue.length,n=-1,o=1e9,i=0;for(let s=0;s<r;s++){let r=dde(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((lhe.chrome||lhe.gecko)&&dde(e,s).getBoundingClientRect().left==c.right&&(r=!a),u<=0)return{node:e,offset:s+ +!!r};n=s+ +!!r,o=u}}}return{node:e,offset:n>-1?n:i>0?e.nodeValue.length:0}}function Gde(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!=fhe.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:Xde(e,o,n,l,c);if(d>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:a?null:Xde(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)||lhe.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 dde(e,r-1,r).getBoundingClientRect().left>a}(f,g,l)||lhe.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():dde(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()).left>5}(f,g,l))&&(f=void 0))}f&&(g=Math.min(ide(f),g))}if(!f||!e.docView.dom.contains(f)){let t=whe.find(e.docView,d);if(!t)return u>n.top+n.height/2?n.to:n.from;({node:f,offset:g}=Fde(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 Xde(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=cce(e,r)}return!0===r?-1:e.length}(i,o,e.state.tabSize)}function Yde(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==fhe.Text))return e;return a}(e,t.head),o=r&&n.type==fhe.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==Ahe.LTR)?t.right-1:t.left+1,y:(o.top+o.bottom)/2});if(null!=i)return tue.cursor(i,a?-1:1)}return tue.cursor(a?n.to:n.from,a?-1:1)}function Kde(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=Dde(n,o,i,s,a),c=Rhe;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 Jde(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 epe(e,t,a){let r=Jde(e.state.facet(ime).map(t=>t(e)),a.from,t.head>a.from?-1:1);return r==a.from?a:tue.cursor(r,r<a.from?1:-1)}function tpe(e,t,a){for(;;){if(!t||a<ide(t))return!1;if(t==e)return!0;a=rde(t)+1,t=t.parentNode}}function ape(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||lhe.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,mme),t.text,s-r,l);c&&(lhe.chrome&&13==o&&c.toB==c.from+2&&"￿￿"==t.text.slice(c.from,c.toB)&&c.toB--,a={from:r+c.from,to:r+c.toA,insert:Hce.of(t.text.slice(c.from,c.toB).split(mme))})}else r&&(!e.hasFocus&&e.state.facet(Yhe)||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))}:(lhe.mac||lhe.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=tue.single(r.main.anchor-1,r.main.head-1)),a={from:n.from,to:n.to,insert:Hce.of([" "])}):lhe.chrome&&a&&a.from==a.to&&a.from==n.head&&"\n "==a.insert.toString()&&e.lineWrapping&&(r&&=tue.single(r.main.anchor-1,r.main.head-1),a={from:n.from,to:n.to,insert:Hce.of([" "])}),a)return rpe(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 rpe(e,t,a,r=-1){if(lhe.ios&&e.inputState.flushIOSKey(t))return!0;let n=e.state.selection.main;if(lhe.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&&pde(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)&&pde(e.contentDOM,"Backspace",8)||t.from==n.from&&t.to==n.to+1&&0==t.insert.length&&pde(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&&zde(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?tue.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(zhe).some(a=>a(e,t.from,t.to,o,s))||e.dispatch(s()),!0}function npe(e,t){return(a,r)=>{try{return t.call(e,r,a)}catch(e){Bde(a.state,e)}}}function ope(e){return.7*Math.max(0,e)+8}function ipe(e,t,a){for(let r of e.facet(t))a=r(a,e);return a}function spe(e,t){t=ipe(e.state,Zhe,t);let a,{state:r}=e,n=1,o=r.toText(t),i=o.lines==r.selection.ranges.length;if(null!=Mme&&r.selection.ranges.every(e=>e.empty)&&Mme==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:tue.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:tue.cursor(e.from+t.length)}}):r.replaceSelection(o);e.dispatch(a,{userEvent:"input.paste",scrollIntoView:!0})}function lpe(e,t,a,r){if(1==r)return tue.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 tue.cursor(t);0==o?a=1:o==n.length&&(a=-1);let i=o,s=o;a<0?i=cce(n.text,o,!1):s=cce(n.text,o);let l=r(n.text.slice(i,s));for(;i>0;){let e=cce(n.text,i,!1);if(r(n.text.slice(e,i))!=l)break;i=e}for(;s<n.length;){let e=cce(n.text,s);if(r(n.text.slice(s,e))!=l)break;s=e}return tue.range(i+n.from,s+n.from)}(e.state,t,a);{let a=whe.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++,tue.range(n,o)}}function cpe(e,t,a,r){let n=whe.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&&Tme(a,r,i))return-1;let s=n.coordsAt(o,1);return s&&Tme(a,r,s)?1:i&&i.bottom>=r?-1:1}function upe(e,t){let a=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:a,bias:cpe(e,a,t.clientX,t.clientY)}}function dpe(e){if(!_me)return e.detail;let t=Cme,a=Pme;return Cme=e,Pme=Date.now(),Eme=!t||a>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(Eme+1)%3:1}function ppe(e,t){let a=upe(e,t),r=dpe(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=upe(e,t),c=lpe(e,l.pos,l.bias,r);if(a.pos!=l.pos&&!o){let t=lpe(e,a.pos,a.bias,r),n=Math.min(t.from,c.from),o=Math.max(t.to,c.to);c=n<c.from?tue.range(n,o):tue.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 tue.create(e.ranges.slice(0,a).concat(e.ranges.slice(a+1)),e.mainIndex==a?0:e.mainIndex-+(e.mainIndex>a))}return null}(n,l.pos))?s:i?n.addRange(c):tue.create([c])}}}function hpe(e,t,a,r){if(!(a=ipe(e.state,Zhe,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(Lhe);return a.length?a[0](t):lhe.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 mpe(e,t){let a=[];for(let r of e.facet(Hhe)){let n=r(e,t);n&&a.push(n)}return a?e.update({effects:a,annotations:Nme.of(!0)}):null}function fpe(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let a=mpe(e.state,t);a?e.dispatch(a):e.update([])}},10)}function gpe(){Rme=!1}function vpe(e,t){return e==t?e:(e.constructor!=t.constructor&&(Rme=!0),t)}function bpe(e,t){let a,r;null==e[t]&&(a=e[t-1])instanceof Vme&&(r=e[t+1])instanceof Vme&&e.splice(t-1,3,new Vme(a.length+1+r.length))}function ype(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 wpe(e,t){let a=e.getBoundingClientRect();return{left:0,right:a.right-a.left,top:t,bottom:a.bottom-(a.top+t)}}function xpe({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 Ope(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 kpe(e,t){if(1==t.scale)return e;let a=t.toDOM(e.top),r=t.toDOM(e.bottom);return new Bme(e.from,e.length,a,r-a,Array.isArray(e._content)?e._content.map(e=>kpe(e,t)):e._content)}function Spe(e,t,a){return new zue(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 Ape(e,t,a){for(;t;){let r=Gpe.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 Tpe(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 ade(i.node,i.offset,n,o)&&([a,r,n,o]=[n,o,a,r]),{anchorNode:a,anchorOffset:r,focusNode:n,focusOffset:o}}function _pe(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&&kde(o,a)}return a}function Cpe(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 Epe(e){let t=e.facet(vfe),a=bfe.get(t);return a||bfe.set(t,a=function(e,t=ffe){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=yfe={view:t,prefix:a,scope:e};return setTimeout(()=>{yfe==r&&(yfe=null)},wfe),!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,xfe))}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 Ppe(e,t,a,r){xfe=t;let n=function(e){var t=!(Wue&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Gue&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?Fue:Que)[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=pce(uce(n,0))==n.length&&" "!=n,i="",s=!1,l=!1,c=!1;yfe&&yfe.view==a&&yfe.scope==r&&(i=yfe.prefix+" ",xme.indexOf(t.keyCode)<0&&(l=!0,yfe=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+Cpe(n,t,!o)])?s=!0:o&&(t.altKey||t.metaKey||t.ctrlKey)&&!(lhe.windows&&t.ctrlKey&&t.altKey)&&(u=Que[t.keyCode])&&u!=n?(h(m[i+Cpe(u,t,!0)])||t.shiftKey&&(d=Fue[t.keyCode])!=n&&d!=u&&h(m[i+Cpe(d,t,!1)]))&&(s=!0):o&&t.shiftKey&&h(m[i+Cpe(n,t,!0)])&&(s=!0),!s&&h(m._any)&&(s=!0)),l&&(s=!0),s&&c&&t.stopPropagation(),xfe=null,s}function Mpe(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 Npe(e={}){return[Efe.of(e),Pfe||=eme.fromClass(class{constructor(e){this.view=e,this.decorations=ghe.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(Efe)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new Sfe({regexp:e.specialChars,decoration:(t,a,r)=>{let{doc:n}=a.state,o=uce(t[0],0);if(9==o){let e=n.lineAt(r),t=a.state.tabSize,o=zce(e.text,t,r-e.from);return ghe.replace({widget:new $fe((t-o%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[o]||(this.decorationCache[o]=ghe.replace({widget:new Nfe(e,o)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(Efe);e.startState.facet(Efe)==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 $pe(e){let{win:t}=e;return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}function Ipe(e,t){let a=parseInt(e.style.left,10);(isNaN(a)||Math.abs(t-a)>1)&&(e.style.left=t+"px")}function Rpe(e,t={}){let a=kue.define(),r=iue.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,Xce.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(Wfe)&&(e=[]);return e},provide:e=>Zfe.from(e)});return{active:r,extension:[r,eme.define(n=>new Qfe(n,e,r,a,t.hoverTime||300)),qfe]}}function Dpe(e,t){let a=e.plugin(jfe);if(!a)return null;let r=a.manager.tooltips.indexOf(t);return r<0?null:a.manager.tooltipViews[r]}function Lpe(e){let t=e.nextSibling;return e.remove(),t}function Bpe(e){return[jpe(),rge.of(Object.assign(Object.assign({},age),e))]}function jpe(e){let t=[oge];return e&&!1===e.fixed&&t.push(nge.of(!0)),t}function Upe(e){return Array.isArray(e)?e:[e]}function zpe(e,t,a){for(;e.value&&e.from<=a;)e.from==a&&t.push(e.value),e.next()}function Hpe(e,t){return e.state.facet(dge).formatNumber(t,e.state)}function Zpe(e){let t=9;for(;t<e;)t=10*t+9;return t}var Vpe,qpe,Qpe,Fpe,Wpe,Gpe,Xpe,Ype,Kpe,Jpe,ehe,the,ahe,rhe,nhe,ohe,ihe,she,lhe,che,uhe,dhe,phe,hhe,mhe,fhe,ghe,vhe,bhe,yhe,whe,xhe,Ohe,khe,She,Ahe,The,_he,Che,Ehe,Phe,Mhe,Nhe,$he,Ihe,Rhe,Dhe,Lhe,Bhe,jhe,Uhe,zhe,Hhe,Zhe,Vhe,qhe,Qhe,Fhe,Whe,Ghe,Xhe,Yhe,Khe,Jhe,eme,tme,ame,rme,nme,ome,ime,sme,lme,cme,ume,dme,pme,hme,mme,fme,gme,vme,bme,yme,wme,xme,Ome,kme,Sme,Ame,Tme,_me,Cme,Eme,Pme,Mme,Nme,$me,Ime,Rme,Dme,Lme,Bme,jme,Ume,zme,Hme,Zme,Vme,qme,Qme,Fme,Wme,Gme,Xme,Yme,Kme,Jme,efe,tfe,afe,rfe,nfe,ofe,ife,sfe,lfe,cfe,ufe,dfe,pfe,hfe,mfe,ffe,gfe,vfe,bfe,yfe,wfe,xfe,Ofe,kfe,Sfe,Afe,Tfe,_fe,Cfe,Efe,Pfe,Mfe,Nfe,$fe,Ife,Rfe,Dfe,Lfe,Bfe,jfe,Ufe,zfe,Hfe,Zfe,Vfe,qfe,Qfe,Ffe,Wfe,Gfe,Xfe,Yfe,Kfe,Jfe,ege,tge,age,rge,nge,oge,ige,sge,lge,cge,uge,dge,pge,hge,mge=V(()=>{Vue(),que(),Yue(),Vpe=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?ide(t):0),a,Math.min(e.focusOffset,a?ide(a):0))}set(e,t,a,r){this.anchorNode=e,this.anchorOffset=t,this.focusNode=a,this.focusOffset=r}},qpe=null,Fpe=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,rde(t),a)}static after(t,a){return new e(t.parentNode,rde(t)+1,a)}},Wpe=[],Gpe=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=vde(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=vde(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==ide(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=Wpe){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 Xpe(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}},Gpe.prototype.breakAfter=0,Xpe=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}}},Ype=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},Kpe=typeof document<"u"?document:{documentElement:{style:{}}},Jpe=/Edge\/(\d+)/.exec(Ype.userAgent),ehe=/MSIE \d/.test(Ype.userAgent),the=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ype.userAgent),rhe=!(ahe=!!(ehe||the||Jpe))&&/gecko\/(\d+)/i.test(Ype.userAgent),nhe=!ahe&&/Chrome\/(\d+)/.exec(Ype.userAgent),ohe="webkitFontSmoothing"in Kpe.documentElement.style,ihe=!ahe&&/Apple Computer/.test(Ype.vendor),she=ihe&&(/Mobile\/\w+/.test(Ype.userAgent)||Ype.maxTouchPoints>2),lhe={mac:she||/Mac/.test(Ype.platform),windows:/Win/.test(Ype.platform),linux:/Linux|X11/.test(Ype.platform),ie:ahe,ie_version:ehe?Kpe.documentMode||6:the?+the[1]:Jpe?+Jpe[1]:0,gecko:rhe,gecko_version:rhe?+(/Firefox\/(\d+)/.exec(Ype.userAgent)||[0,0])[1]:0,chrome:!!nhe,chrome_version:nhe?+nhe[1]:0,ios:she,android:/Android\b/.test(Ype.userAgent),webkit:ohe,safari:ihe,webkit_version:ohe?+(/\bAppleWebKit\/(\d+)/.exec(Ype.userAgent)||[0,0])[1]:0,tabSize:null==Kpe.documentElement.style.tabSize?"-moz-tab-size":"tab-size"},che=class e extends Gpe{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 Fpe(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?lhe.chrome||lhe.gecko||(t?(n--,i=1):o<r&&(o++,i=-1)):a<0?n--:o<r&&o++;let s=dde(e,n,o).getClientRects();if(!s.length)return null;let l=s[(i?i<0:a>=0)?0:s.length-1];return lhe.safari&&!i&&0==l.width&&(l=Array.prototype.find.call(s,e=>e.width)||l),i?sde(l,i<0):l||null}(this.dom,e,t)}},uhe=class e extends Gpe{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(hde(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))&&(yde(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 wde(this,e)}coordsAt(e,t){return Ode(this,e,t)}},dhe=class e extends Gpe{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 Hce.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):Hce.empty}domAtPos(e){return(this.length?0==e:this.side>0)?Fpe.before(this.dom):Fpe.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 sde(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)}},phe=class e extends Gpe{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?Fpe.before(this.dom):Fpe.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return Hce.empty}get isHidden(){return!0}},che.prototype.children=dhe.prototype.children=phe.prototype.children=Wpe,hhe=Object.create(null),mhe=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){}},fhe=function(e){return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e}(fhe||={}),ghe=class extends Pue{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 vhe(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 yhe(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}=_de(e,r);t=(n?r?-3e8:-1:5e8)-1,a=1+(o?r?2e8:1:-6e8)}return new yhe(e,t,a,r,e.widget||null,!0)}static line(e){return new bhe(e)}static set(e,t=!1){return $ue.of(e,t)}hasHeight(){return!!this.widget&&this.widget.estimatedHeight>-1}},ghe.none=$ue.empty,vhe=class e extends ghe{constructor(e){let{start:t,end:a}=_de(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)&&Sde(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)}},vhe.prototype.point=!1,bhe=class e extends ghe{constructor(e){super(-2e8,-2e8,null,e)}eq(t){return t instanceof e&&this.spec.class==t.spec.class&&Sde(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)}},bhe.prototype.mapMode=Xce.TrackBefore,bhe.prototype.point=!0,yhe=class e extends ghe{constructor(e,t,a,r,n,o){super(t,a,n,e),this.block=r,this.isReplace=o,this.mapMode=r?t<=0?Xce.TrackBefore:Xce.TrackAfter:Xce.TrackDel}get type(){return this.startSide==this.endSide?this.startSide<=0?fhe.WidgetBefore:fhe.WidgetAfter:fhe.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)}},yhe.prototype.point=!0,whe=class e extends Gpe{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),yde(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){Sde(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,t){xde(this,e,t)}addLineDeco(e){let t=e.spec.attributes,a=e.spec.class;t&&(this.attrs=kde(t,this.attrs||{})),a&&(this.attrs=kde({class:a},this.attrs||{}))}domAtPos(e){return wde(this,e)}reuseDOM(e){"DIV"==e.nodeName&&(this.setDOM(e),this.flags|=6)}sync(e,t){this.dom?4&this.flags&&(hde(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&&(Ade(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&&Gpe.get(a)instanceof uhe;)a=a.lastChild;if(!(a&&this.length&&("BR"==a.nodeName||0!=Gpe.get(a)?.isEditable||lhe.ios&&this.children.some(e=>e instanceof che)))){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 che)||/[^ -~]/.test(a.text))return null;let r=tde(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=Ode(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&&Sde(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}},xhe=class e extends Gpe{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?Fpe.before(this.dom):Fpe.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 Wpe}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):Hce.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 Ohe?null:sde(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)}},Ohe=class extends mhe{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}},khe=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 xhe&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new whe),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&=(this.curLine.append(Ede(new phe(-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 xhe)&&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(Ede(new che(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 yhe){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 yhe)if(a.block)a.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new xhe(a.widget||She.block,i,a));else{let o=dhe.create(a.widget||She.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(Ede(new phe(1),r),n),n=r.length+Math.max(0,n-r.length)),c.append(Ede(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=$ue.spans(n,a,r,i),i.openStart<0&&(i.openStart=i.openEnd),i.finish(i.openEnd),i}},She=class extends mhe{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}},She.inline=new She("span"),She.block=new She("div"),Ahe=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(Ahe||={}),The=Ahe.LTR,_he=Ahe.RTL,Che=Pde("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),Ehe=Pde("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),Phe=Object.create(null),Mhe=[];for(let e of["()","[]","{}"]){let t=e.charCodeAt(0),a=e.charCodeAt(1);Phe[t]=a,Phe[a]=-t}Nhe=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/,$he=class{get dir(){return this.level%2?_he:The}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}},Ihe=[],Rhe="",Dhe=rue.define(),Lhe=rue.define(),Bhe=rue.define(),jhe=rue.define(),Uhe=rue.define(),zhe=rue.define(),Hhe=rue.define(),Zhe=rue.define(),Vhe=rue.define(),qhe=rue.define({combine:e=>e.some(e=>e)}),Qhe=rue.define({combine:e=>e.some(e=>e)}),Fhe=rue.define(),Whe=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(tue.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}},Ghe=kue.define({map:(e,t)=>e.map(t)}),Xhe=kue.define(),Yhe=rue.define({combine:e=>!e.length||e[0]}),Khe=0,Jhe=rue.define(),eme=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(Khe++,t,r,n,e=>{let t=[Jhe.of(e)];return i&&t.push(nme.of(t=>{let a=t.plugin(e);return a?i(a):ghe.none})),o&&t.push(o(e)),t})}static fromClass(t,a){return e.define(e=>new t(e),a)}},tme=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(Bde(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){Bde(e.state,t,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){if(this.value?.destroy)try{this.value.destroy()}catch(t){Bde(e.state,t,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}},ame=rue.define(),rme=rue.define(),nme=rue.define(),ome=rue.define(),ime=rue.define(),sme=rue.define(),lme=rue.define(),cme=rue.define(),ume=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}}},dme=class e{constructor(e,t,a){this.view=e,this.state=t,this.transactions=a,this.flags=0,this.startState=e.state,this.changes=Kce.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 ume(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}},pme=class extends Gpe{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=ghe.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 whe],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new ume(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=zde(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 ume(l.mapPos(o),l.mapPos(i),o,i),u=[];for(let t=n.parentNode;;t=t.parentNode){let a=Gpe.get(t);if(a instanceof uhe)u.push({node:t,deco:a.mark});else{if(a instanceof whe||"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 vhe({inclusive:!0,attributes:Tde(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 ume(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,(lhe.ie||lhe.chrome)&&!r&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let n=function(e,t,a){let r=new hme;return $ue.compare(e,t,a,r),r.changes}(this.decorations,this.updateDeco(),e.changes);return t=ume.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=lhe.chrome||lhe.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 xhe&&e.widget instanceof Ohe&&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=khe.build(this.view.state.doc,d,a.range.fromB,this.decorations,this.dynamicDecorationMap),t=khe.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}=khe.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);bde(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(Xhe)&&(this.editContextFormatting=e.value)}compositionView(e){let t=new che(e.text.nodeValue);t.flags|=8;for(let{deco:a}of e.marks)t=new uhe(a,[t],t.length);let a=new whe;return a.append(t,0),a}fixCompositionDOM(e){let t=(e,t)=>{t.flags|=8|!!t.children.some(e=>7&e.flags),this.markedForComposition.add(t);let a=Gpe.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(Yhe)||this.dom.tabIndex>-1)&&ede(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(lhe.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 Fpe(e,0),o=!0}let c=this.view.observer.selectionRange;(o||!c.focusNode||(!ade(s.node,s.offset,c.anchorNode,c.anchorOffset)||!ade(l.node,l.offset,c.focusNode,c.focusOffset))&&!this.suppressWidgetCursorChange(c,i))&&(this.view.observer.ignore(()=>{lhe.android&&lhe.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=Kue(this.view.root);if(e)if(i.empty){if(lhe.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?fde:gde)(s.node,s.offset);t&&(s=new Fpe(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 Fpe(c.anchorNode,c.anchorOffset),this.impreciseHead=l.precise?null:new Fpe(c.focusNode,c.focusOffset)}suppressWidgetCursorChange(e,t){return this.hasComposition&&t.empty&&ade(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=Kue(e.root),{anchorNode:r,anchorOffset:n}=e.observer.selectionRange;if(!(a&&t.empty&&t.assoc&&a.modify))return;let o=whe.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=Gpe.get(a.childNodes[r]);e instanceof whe&&(t=e.domAtPos(0))}for(let r=e.offset-1;!t&&r>=0;r--){let e=Gpe.get(a.childNodes[r]);e instanceof whe&&(t=e.domAtPos(e.length))}return t?new Fpe(t.node,t.offset,!0):e}nearest(e){for(let t=e;t;){let e=Gpe.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 whe)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 whe&&!(a instanceof whe&&t>=0)))a=i,r=l;else if(a&&l==e&&s==e&&i instanceof xhe&&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 whe))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 che))return null;let n=cce(r.text,a);if(n==a)return null;let o=dde(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==Ahe.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?tde(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?Ahe.RTL:Ahe.LTR}measureTextSize(){for(let e of this.children)if(e instanceof whe){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=tde(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 Xpe(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(ghe.replace({widget:new Ohe(r),block:!0,inclusive:!0,isBlockGap:!0}).range(a,o))}if(!n)break;a=n.to+1}return ghe.set(e)}updateDeco(){let e=1,t=this.view.state.facet(nme).map(t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t),a=!1,r=this.view.state.facet(ome).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($ue.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(Fhe))try{if(t(this.view,e.range,e))return!0}catch(e){Bde(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=Ude(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=lde(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}=cde(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==Ahe.LTR)}},hme=class{constructor(){this.changes=[]}compareRange(e,t){Cde(e,t,this.changes)}comparePoint(e,t){Cde(e,t,this.changes)}boundChange(e){Cde(e,e,this.changes)}},mme="￿",fme=class{constructor(e,t){this.points=e,this.text="",this.lineSeparator=t.facet(Eue.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=mme}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=Gpe.get(r),i=Gpe.get(n);(o&&i?o.breakAfter:(o?o.breakAfter:nde(r))||nde(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=Gpe.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+(tpe(e,a.node,a.offset)?t:0))}},gme=class{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}},vme=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 gme(a,r)),(n!=a||o!=r)&&t.push(new gme(n,o))),t}(e),a=new fme(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?tue.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||!Jue(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||!Jue(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),i=e.viewport;if((lhe.ios||lhe.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=tue.single(r,a)}}},bme=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,lhe.safari&&e.contentDOM.addEventListener("input",()=>null),lhe.gecko&&function(e){$me.has(e)||($me.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=Gpe.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(npe(t.value,n))}if(e&&e.domEventObservers)for(let r in e.domEventObservers){let n=e.domEventObservers[r];n&&a(r).observers.push(npe(t.value,n))}}for(let e in kme)a(e).handlers.push(kme[e]);for(let e in Sme)a(e).observers.push(Sme[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&&xme.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),lhe.android&&lhe.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let t;return!lhe.ios||e.synthetic||e.altKey||e.metaKey||!((t=yme.find(t=>t.keyCode==e.keyCode))&&!e.ctrlKey||wme.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,pde(this.view.contentDOM,t.key,t.keyCode,t instanceof KeyboardEvent?t:void 0))}ignoreDuringComposition(e){return!!/^key/.test(e.type)&&(this.composing>0||!!(lhe.safari&&!lhe.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()}},yme=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],wme="dthko",xme=[16,17,18,20,91,92,224,225],Ome=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(ime).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(Eue.allowMultipleSelections)&&function(e,t){let a=e.state.facet(Dhe);return a.length?a[0](t):lhe.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=Kue(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!=dpe(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=Ude(this.view);e.clientX-s.left<=r+6?t=-ope(r-e.clientX):e.clientX+s.right>=o-6&&(t=ope(e.clientX-o)),e.clientY-s.top<=n+6?a=-ope(n-e.clientY):e.clientY+s.bottom>=i-6&&(a=ope(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=Jde(this.atoms,r.from,0);e!=r.from&&(n=tue.cursor(e,-1))}else{let e=Jde(this.atoms,r.from,-1),t=Jde(this.atoms,r.to,1);(e!=r.from||t!=r.to)&&(n=tue.range(r.from==r.anchor?e:t,r.from==r.head?e:t))}n&&(t||=e.ranges.slice(),t[a]=n)}return t?tue.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)}},kme=Object.create(null),Sme=Object.create(null),Ame=lhe.ie&&lhe.ie_version<15||lhe.ios&&lhe.webkit_version<604,Sme.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft},kme.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),!1),Sme.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")},Sme.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")},kme.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(Bhe))if(a=r(e,t),a)break;if(!a&&0==t.button&&(a=ppe(e,t)),a){let r=!e.hasFocus;e.inputState.startMouseSelection(new Ome(e,t,a,r)),r&&e.observer.ignore(()=>{ude(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},Tme=(e,t,a)=>t>=a.top&&t<=a.bottom&&e>=a.left&&e<=a.right,_me=lhe.ie&&lhe.ie_version<=11,Cme=null,Eme=0,Pme=0,kme.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=tue.range(e,t))}}let{inputState:r}=e;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=a,t.dataTransfer&&(t.dataTransfer.setData("Text",ipe(e.state,Vhe,e.state.sliceDoc(a.from,a.to))),t.dataTransfer.effectAllowed="copyMove"),!1},kme.dragend=e=>(e.inputState.draggedContent=null,!1),kme.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&&hpe(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 hpe(e,t,a,!0),!0}return!1},kme.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let a=Ame?null:t.clipboardData;return a?(spe(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(),spe(e,a.value)},50)}(e),!1)},Mme=null,kme.copy=kme.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:ipe(e,Vhe,t.join(e.lineBreak)),ranges:a,linewise:r}}(e.state);if(!a&&!n)return!1;Mme=n?a:null,"cut"==t.type&&!e.state.readOnly&&e.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let o=Ame?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)},Nme=wue.define(),Sme.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),fpe(e)},Sme.blur=e=>{e.observer.clearSelectionRange(),fpe(e)},Sme.compositionstart=Sme.compositionupdate=e=>{e.observer.editContext||(e.inputState.compositionFirstChange??(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))},Sme.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,lhe.chrome&&lhe.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))},Sme.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()},kme.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 rpe(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(lhe.chrome&&lhe.android&&(a=yme.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 lhe.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),lhe.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout(()=>Sme.compositionend(e,t),20),!1},$me=new Set,Ime=["pre-wrap","normal","pre-line","break-spaces"],Rme=!1,Dme=class{constructor(e){this.lineWrapping=e,this.doc=Hce.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 Ime.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=Ime.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}},Lme=class{constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){return this.index<this.heights.length}},Bme=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?fhe.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 yhe?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)}},jme=function(e){return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",e}(jme||={}),Ume=.001,zme=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)>Ume&&(Rme=!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,jme.ByPosNoHeight,a.setDoc(t),0,0),p=d.to>=l?d:n.lineAt(l,jme.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,jme.ByPosNoHeight,a,0,0));c+=d.from-s,s=d.from;let h=Qme.build(a.setDoc(o),e,c,u);n=vpe(n,n.replace(s,l,h))}return n.updateHeight(a,0)}static empty(){return new Zme(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 qme(e.of(t.slice(0,a)),i,e.of(t.slice(r)))}},zme.prototype.size=1,Hme=class extends zme{constructor(e,t,a){super(e,t),this.deco=a}blockAt(e,t,a,r){return new Bme(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})`}},Zme=class e extends Hme{constructor(e,t){super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,t,a,r){return new Bme(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 Vme&&4&n.flags)&&Math.abs(this.length-n.length)<10?(n instanceof Vme?n=new e(n.length,this.height):n.height=this.height,this.outdated||(n.outdated=!1),n):zme.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:""})`}},Vme=class e extends zme{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 Bme(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 Bme(s,l,a+i*r,i,0)}}lineAt(e,t,a,r,n){if(t==jme.ByHeight)return this.blockAt(e,a,r,n);if(t==jme.ByPosNoHeight){let{from:t,to:r}=a.doc.lineAt(e);return new Bme(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 Bme(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 Bme(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 zme.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)>=Ume&&(s=-2);let o=new Zme(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=zme.of(r);return(s<0||Math.abs(l.height-this.height)>=Ume||Math.abs(s-this.heightMetrics(t,a).perLine)>=Ume)&&(Rme=!0),vpe(this,l)}return(r||this.outdated)&&(this.setHeight(t.heightForGap(a,a+this.length)),this.outdated=!1),this}toString(){return`gap(${this.length})`}},qme=class extends zme{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==jme.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==jme.ByPosNoHeight?jme.ByPosNoHeight:jme.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,jme.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&&bpe(n,o-1),t<this.length){let e=n.length;this.decomposeRight(t,n),bpe(n,e)}return zme.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?zme.of(this.break?[e,null,t]:[e,t]):(this.left=vpe(this.left,e),this.right=vpe(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}},Qme=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 Zme?a.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new Zme(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 Hme(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 Zme(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,t){let a=new Vme(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 Zme)return e;let t=new Zme(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 Zme||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new Zme(0,-1));let a=e;for(let e of this.nodes)e instanceof Zme&&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 $ue.spans(a,r,n,o,0),o.finish(r)}},Fme=class{constructor(){this.changes=[]}compareRange(){}comparePoint(e,t,a,r){(e<t||a&&a.heightRelevant||r&&r.heightRelevant)&&Cde(e,t,this.changes,5)}},Wme=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 ghe.replace({widget:new Gme(this.displaySize*(t?e.scaleY:e.scaleX),t)}).range(this.from,this.to)}},Gme=class extends mhe{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}},Xme=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=Kme,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=Ahe.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let t=e.facet(rme).some(e=>"function"!=typeof e&&"cm-lineWrapping"==e.class);this.heightOracle=new Dme(t),this.stateDeco=e.facet(nme).filter(e=>"function"!=typeof e),this.heightMap=zme.empty().applyChanges(this.stateDeco,Hce.empty,this.heightOracle.setDoc(e.doc),[new ume(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=ghe.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 Yme(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?Kme:new Jme(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(kpe(e,this.scaler))})}update(e,t=null){this.state=e.state;let a=this.stateDeco;this.stateDeco=this.state.facet(nme).filter(e=>"function"!=typeof e);let r=e.changedRanges,n=ume.extendWithRanges(r,function(e,t,a){let r=new Fme;return $ue.compare(e,t,a,r,0),r.changes}(a,this.stateDeco,e?e.changes:Kce.empty(this.state.doc.length))),o=this.heightMap.height,i=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);gpe(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),n),(this.heightMap.height!=o||Rme)&&(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(Qhe)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let t=e.contentDOM,a=window.getComputedStyle(t),r=this.heightOracle,n=a.whiteSpace;this.defaultTextDirection="rtl"==a.direction?Ahe.RTL:Ahe.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}=cde(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=mde(e.scrollDOM);let h=(this.printing?wpe:ype)(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)),gpe();for(let a of this.viewports){let n=a.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(a);this.heightMap=(o?zme.empty().applyChanges(this.stateDeco,Hce.empty,this.heightOracle,[new ume(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new Lme(a.from,n))}Rme&&(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 Yme(r.lineAt(o-1e3*a,jme.ByHeight,n,0,0).from,r.lineAt(i+1e3*(1-a),jme.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,jme.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 Yme(r.lineAt(a-500,jme.ByHeight,n,0,0).from,r.lineAt(a+o+500,jme.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 Yme(this.heightMap.lineAt(a,jme.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,jme.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,jme.ByPos,this.heightOracle,0,0),{bottom:n}=this.heightMap.lineAt(t,jme.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 Wme(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!=Ahe.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(tue.cursor(o),!1,!0).head;e>r&&(o=e)}let e=this.gapSize(l,r,o,c);p=new Wme(r,o,e,a||e<2e6?e:2e6)}i.push(p)},l=t=>{if(t.length<o||t.type!=fhe.Text)return;let n=function(e,t,a){let r=[],n=e,o=0;return $ue.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=Ope(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=xpe(n,e),l=xpe(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=Ope(n,c),t=((h-p)/2+o)/a;u=e-t,d=e+t}else u=(p-o)/a,d=(h+o)/a;i=xpe(n,u),l=xpe(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=Ope(r,a)-Ope(r,t);return this.heightOracle.lineWrapping?e.height*n:r.total*this.heightOracle.charWidth*n}updateLineGaps(e){Wme.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=ghe.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=[];$ue.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)||kpe(this.heightMap.lineAt(e,jme.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)||kpe(this.heightMap.lineAt(this.scaler.fromDOM(e),jme.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 kpe(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}},Yme=class{constructor(e,t){this.from=e,this.to=t}},Kme={toDOM:e=>e,fromDOM:e=>e,scale:1,eq(e){return e==this}},Jme=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,jme.ByPos,e,0,0).top,i=t.lineAt(n,jme.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)}},efe=rue.define({combine:e=>e.join(" ")}),tfe=rue.define({combine:e=>e.indexOf(!0)>-1}),afe=zue.newName(),rfe=zue.newName(),nfe=zue.newName(),ife=Spe("."+afe,{"&":{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"}},ofe={"&light":"."+rfe,"&dark":"."+nfe}),sfe={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},lfe=lhe.ie&&lhe.ie_version<=11,cfe=class{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new Vpe,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);(lhe.ie&&lhe.ie_version<=11||lhe.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&&!(lhe.chrome&&lhe.chrome_version<126)&&(this.editContext=new ufe(e),e.state.facet(Yhe)&&(e.contentDOM.editContext=this.editContext.editContext)),lfe&&(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(Yhe)?a.root.activeElement!=this.dom:!ede(this.dom,r))return;let n=r.anchorNode&&a.docView.nearest(r.anchorNode);n&&n.ignoreEvent(e)?t||(this.selectionChanged=!1):(lhe.ie&&lhe.ie_version<=11||lhe.android&&lhe.chrome)&&!a.state.selection.main.empty&&r.focusNode&&ade(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,t=Kue(e.root);if(!t)return!1;let a=lhe.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 Tpe(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?Tpe(e,a):null}(this.view,t)||t;if(!a||this.selectionRange.eq(a))return!1;let r=ede(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,ide(a));;)if(r){if(1!=a.nodeType)return!1;let e=a.childNodes[r-1];"false"==e.contentEditable?r--:(a=e,r=ide(a))}else{if(a==e)return!0;r=rde(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,sfe),lfe&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),lfe&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(e,t){if(!this.delayedAndroidKey){let e=()=>{let e=this.delayedAndroidKey;e&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&e.force&&pde(this.dom,e.key,e.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(e)}(!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&&ede(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 vme(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=ape(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=Ape(t,e.previousSibling||e.target.previousSibling,-1),r=Ape(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(Yhe)!=e.state.facet(Yhe)&&(e.view.contentDOM.editContext=e.state.facet(Yhe)?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())}},ufe=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:Hce.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);rpe(e,o,tue.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(ghe.mark({attributes:{style:e}}).range(n,o))}}}e.dispatch({effects:Xhe.of(ghe.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=Kue(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])}},dfe=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 Xme(e.state||Eue.create(e)),e.scrollTo&&e.scrollTo.is(Ghe)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Jhe).map(e=>new tme(e));for(let e of this.plugins)e.update(this);this.observer=new cfe(this),this.inputState=new bme(this),this.inputState.ensureHandlers(this.plugins),this.docView=new pme(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 Sue?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(Nme))?(this.inputState.notifiedFocused=o,i=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,s=mpe(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(Eue.phrases)!=this.state.facet(Eue.phrases))return this.setState(n);t=dme.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 Whe(e.empty?e:tue.cursor(e.head,e.head>e.anchor?-1:1))}for(let e of t.effects)e.is(Ghe)&&(u=e.value.clip(this.state))}this.viewState.update(t,u),this.bidiCache=mfe.update(this.bidiCache,t.changes),t.empty||(this.updatePlugins(t),this.inputState.update(t)),a=this.docView.update(t),this.state.facet(cme)!=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(efe)!=t.state.facet(efe)&&(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(Uhe))try{a(t)}catch(e){Bde(this.state,e,"update listener")}(s||c)&&Promise.resolve().then(()=>{s&&this.state==s.startState&&this.dispatch(s),c&&!ape(this,c)&&l.force&&pde(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 Xme(e),this.plugins=e.facet(Jhe).map(e=>new tme(e)),this.pluginMap.clear();for(let e of this.plugins)e.update(this);this.docView.destroy(),this.docView=new pme(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(Jhe),a=e.state.facet(Jhe);if(t!=a){let r=[];for(let n of a){let a=t.indexOf(n);if(a<0)r.push(new tme(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){Bde(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(mde(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 Bde(this.state,e),hfe}}),u=dme.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]!=hfe)try{let e=l[t];e.write&&e.write(c[t],this)}catch(e){Bde(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(Uhe))e(t)}get themeClasses(){return afe+" "+(this.state.facet(tfe)?nfe:rfe)+" "+this.state.facet(efe)}updateAttrs(){let e=_pe(this,ame,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(Yhe)?"true":"false",class:"cm-content",style:`${lhe.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(t["aria-readonly"]="true"),_pe(this,rme,t);let a=this.observer.ignore(()=>{let a=Ade(this.contentDOM,this.contentAttrs,t),r=Ade(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(cme);let t=this.state.facet(e.cspNonce);zue.mount(this.root,this.styleModules.concat(ife).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 epe(this,e,Kde(this,e,t,a))}moveByGroup(e,t){return epe(this,e,Kde(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==Tue.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 tue.cursor(n.side(t,r)+e.from,n.forward(!t,r)?1:-1)}moveToLineBoundary(e,t,a=!0){return Yde(this,e,t,a)}moveVertically(e,t,a){return epe(this,e,function(e,t,a,r){let n=t.head,o=a?1:-1;if(n==(a?e.state.doc.length:0))return tue.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=Gde(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 tue.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(),Gde(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 sde(a,n[$he.find(n,e-r.from,-1,t)].dir==Ahe.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(qhe)||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>pfe)return Rde(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||Nde(r.isolates,t=jde(this,e))))return r.order;t||=jde(this,e);let r=function(e,t,a){if(!e)return[new $he(0,0,+(t==_he))];if(t==The&&!a.length&&!Nhe.test(e))return Rde(e.length);if(a.length)for(;e.length>Ihe.length;)Ihe[Ihe.length]=256;let r=[],n=t==The?0:1;return Ide(e,n,n,a,0,e.length,r),r}(e.text,a,t);return this.bidiCache.push(new mfe(e.from,e.to,a,t,!0,r)),r}get hasFocus(){return(this.dom.ownerDocument.hasFocus()||lhe.safari&&this.inputState?.lastContextMenu>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{ude(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 Ghe.of(new Whe("number"==typeof e?tue.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 Ghe.of(new Whe(tue.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 eme.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return eme.define(()=>({}),{eventObservers:e})}static theme(e,t){let a=zue.newName(),r=[efe.of(a),cme.of(Spe(`.${a}`,e))];return t&&t.dark&&r.push(tfe.of(!0)),r}static baseTheme(e){return lue.lowest(cme.of(Spe("."+afe,e,ofe)))}static findFromDOM(e){let t=e.querySelector(".cm-content");return(t&&Gpe.get(t)||Gpe.get(e))?.rootView?.view||null}},dfe.styleModule=cme,dfe.inputHandler=zhe,dfe.clipboardInputFilter=Zhe,dfe.clipboardOutputFilter=Vhe,dfe.scrollHandler=Fhe,dfe.focusChangeEffect=Hhe,dfe.perLineTextDirection=qhe,dfe.exceptionSink=jhe,dfe.updateListener=Uhe,dfe.editable=Yhe,dfe.mouseSelectionStyle=Bhe,dfe.dragMovesSelection=Lhe,dfe.clickAddsSelectionRange=Dhe,dfe.decorations=nme,dfe.outerDecorations=ome,dfe.atomicRanges=ime,dfe.bidiIsolatedRanges=sme,dfe.scrollMargins=lme,dfe.darkTheme=tfe,dfe.cspNonce=rue.define({combine:e=>e.length?e[0]:""}),dfe.contentAttributes=rme,dfe.editorAttributes=ame,dfe.lineWrapping=dfe.contentAttributes.of({class:"cm-lineWrapping"}),dfe.announce=kue.define(),pfe=4096,hfe={},mfe=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:Ahe.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}},ffe=lhe.mac?"mac":lhe.windows?"win":lhe.linux?"linux":"key",gfe=lue.default(dfe.domEventHandlers({keydown:(e,t)=>Ppe(Epe(t.state),e,t,"editor")})),vfe=rue.define({enables:gfe}),bfe=new WeakMap,yfe=null,wfe=4e3,xfe=null,Ofe=!(lhe.ios&&lhe.webkit&&lhe.webkit_version<534),kfe={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}},Ofe&&(kfe[".cm-line"].caretColor=kfe[".cm-content"].caretColor="transparent !important"),Sfe=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 Iue,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))Mpe(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 Mpe(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}},Afe=null==/x/.unicode?"g":"gu",Tfe=RegExp("[\0-\b\n--­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]",Afe),_fe={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"},Cfe=null,Efe=rue.define({combine(e){let t=Nce(e,{render:null,specialChars:Tfe,addSpecialChars:null});return(t.replaceTabs=!function(){if(null==Cfe&&typeof document<"u"&&document.body){let e=document.body.style;Cfe=null!=(e.tabSize??e.MozTabSize)}return Cfe||!1}())&&(t.specialChars=RegExp("\t|"+t.specialChars.source,Afe)),t.addSpecialChars&&(t.specialChars=RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,Afe)),t}}),Pfe=null,Mfe="•",Nfe=class extends mhe{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?Mfe:10==e?"␤":String.fromCharCode(9216+e)}(this.code),a=e.state.phrase("Control character")+" "+(_fe[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}},$fe=class extends mhe{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}},Ife=class extends mhe{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?tde(e.firstChild):[];if(!t.length)return null;let a=window.getComputedStyle(e.parentNode),r=sde(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}},Rfe="-10000px",Dfe=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}},Lfe=rue.define({combine:e=>({position:lhe.ios?"absolute":e.find(e=>e.position)?.position||"fixed",parent:e.find(e=>e.parent)?.parent||null,tooltipSpace:e.find(e=>e.tooltipSpace)?.tooltipSpace||$pe})}),Bfe=new WeakMap,jfe=eme.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(Lfe);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 Dfe(e,Hfe,(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(Lfe);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=Rfe,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(lhe.gecko)a=e.offsetParent!=this.container.ownerDocument.body;else if(e.style.top==Rfe&&"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=Ude(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(Lfe).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=Rfe;continue}let p=s.arrow?l.dom.querySelector(".cm-tooltip-arrow"):null,h=p?7:0,m=d.right-d.left,f=Bfe.get(l)??d.bottom-d.top,g=l.offset||zfe,v=this.view.textDirection==Ahe.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 w=(y?u.top-a.top:a.bottom-u.bottom)-h;if(w<f&&!1!==l.resize){if(w<this.view.defaultLineHeight){c.style.top=Rfe;continue}Bfe.set(l,f),c.style.height=(f=w)/n+"px"}else c.style.height&&(c.style.height="");let x=y?u.top-f-h-g.y:u.bottom+h+g.y,O=b+m;if(!0!==l.overlap)for(let e of o)e.left<O&&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",Ipe(c,(b-e.parent.left)/r)):(c.style.top=x/n+"px",Ipe(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:O,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=Rfe}},{eventObservers:{scroll(){this.maybeMeasure()}}}),Ufe=dfe.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"}}}),zfe={x:0,y:0},Hfe=rue.define({enables:[jfe,Ufe]}),Zfe=rue.define({combine:e=>e.reduce((e,t)=>e.concat(t),[])}),Vfe=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 Dfe(e,Zfe,(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")}},qfe=Hfe.compute([Zfe],e=>{let t=e.facet(Zfe);return 0===t.length?null:{pos:Math.min(...t.map(e=>e.pos)),end:Math.max(...t.map(e=>e.end??e.pos)),create:Vfe.create,above:t[0].above,arrow:t.some(e=>e.arrow)}}),Qfe=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 dhe)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==Ahe.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=>Bde(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(jfe),t=e?e.manager.tooltips.findIndex(e=>e.create==Vfe.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-Ffe&&t.clientX<=n+Ffe&&t.clientY>=o-Ffe&&t.clientY<=i+Ffe}(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)}},Ffe=4,Wfe=kue.define(),Gfe=rue.define({combine(e){let t,a;for(let r of e)t||=r.topContainer,a||=r.bottomContainer;return{topContainer:t,bottomContainer:a}}}),Xfe=eme.fromClass(class{constructor(e){this.input=e.state.facet(Kfe),this.specs=this.input.filter(e=>e),this.panels=this.specs.map(t=>t(e));let t=e.state.facet(Gfe);this.top=new Yfe(e,!0,t.topContainer),this.bottom=new Yfe(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(Gfe);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new Yfe(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new Yfe(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let a=e.state.facet(Kfe);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=>dfe.scrollMargins.of(t=>{let a=t.plugin(e);return a&&{top:a.top.scrollMargin(),bottom:a.bottom.scrollMargin()}})}),Yfe=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=Lpe(e);e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=Lpe(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)}}},Kfe=rue.define({enables:Xfe}),Jfe=class extends Pue{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}},Jfe.prototype.elementClass="",Jfe.prototype.toDOM=void 0,Jfe.prototype.mapMode=Xce.TrackBefore,Jfe.prototype.startSide=Jfe.prototype.endSide=-1,Jfe.prototype.point=!0,ege=rue.define(),tge=rue.define(),age={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>$ue.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},rge=rue.define(),nge=rue.define({combine:e=>e.some(e=>e)}),oge=eme.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(rge).map(t=>new sge(e,t));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!e.state.facet(nge),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(nge)!=!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=$ue.iter(this.view.state.facet(ege),this.view.viewport.from),r=[],n=this.gutters.map(e=>new ige(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==fhe.Text&&t){zpe(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==fhe.Text){zpe(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(rge),a=e.state.facet(rge),r=e.docChanged||e.heightChanged||e.viewportChanged||!$ue.eq(e.startState.facet(ege),e.state.facet(ege),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 sge(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=>dfe.scrollMargins.of(t=>{let a=t.plugin(e);return a&&0!=a.gutters.length&&a.fixed?t.textDirection==Ahe.LTR?{left:a.dom.offsetWidth*t.scaleX}:{right:a.dom.offsetWidth*t.scaleX}:null})}),ige=class{constructor(e,t,a){this.gutter=e,this.height=a,this.i=0,this.cursor=$ue.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 lge(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=[];zpe(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(tge)){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()}}},sge=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=Upe(t.markers(e)),t.initialSpacer&&(this.spacer=new lge(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=Upe(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!$ue.eq(this.markers,t,a.from,a.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)}destroy(){for(let e of this.elements)e.destroy()}},lge=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,[])}},cge=rue.define(),uge=rue.define(),dge=rue.define({combine:e=>Nce(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}})}),pge=class extends Jfe{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}},hge=rge.compute([dge],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers:e=>e.state.facet(cge),lineMarker:(e,t,a)=>a.some(e=>e.toDOM)?null:new pge(Hpe(e,e.state.doc.lineAt(t.from).number)),widgetMarker:(e,t,a)=>{for(let r of e.state.facet(uge)){let n=r(e,t,a);if(n)return n}return null},lineMarkerChange:e=>e.startState.facet(dge)!=e.state.facet(dge),initialSpacer:e=>new pge(Hpe(e,Zpe(e.state.doc.lines))),updateSpacer(e,t){let a=Hpe(t.view,Zpe(t.view.state.doc.lines));return a==e.number?e:new pge(a)},domEventHandlers:e.facet(dge).domEventHandlers}))});function fge(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 gge(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 Qge&&e.index<0?null:e.parent;if(!t)return e;e=t}let n=r?0:zge.IgnoreOverlays;if(r)for(let r=e,o=r.parent;o;r=o,o=r.parent)r instanceof Qge&&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 vge(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 bge(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 yge(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 Qge&&a.index<0?null:a.parent,n=e.slice();return r?n[t]=r:n.splice(t,1),new Gge(n,a)}function wge(e){return e.children.some(e=>e instanceof Vge||!e.type.isAnonymous||wge(e))}function xge(e){let{buffer:t,nodeSet:a,maxBufferLength:r=Mge,reused:n=[],minRepeatType:o=a.types.length}=e,i=Array.isArray(t)?new Zge(t,t.length):t,s=a.types,l=0,c=0;function u(e,t,f,g,v,b){let{id:y,start:w,end:x,size:O}=i,k=c,S=l;for(;O<0;){if(i.next(),-1==O){let t=n[y];return f.push(t),void g.push(w-e)}if(-3==O)return void(l=y);if(-4==O)return void(c=y);throw RangeError(`Unrecognized record size: ${O}`)}let A,T,_=s[y],C=w-e;if(x-w<=r&&(T=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(T.size-T.skip),r=i.pos-T.size,n=t.length;for(;i.pos>r;)n=m(T.start,t,n);A=new Vge(t,x-T.start,a),C=T.start-e}else{let e=i.pos-O;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,w,s,i.end,l,n,k,S),s=t.length,l=i.end),i.next()):b>2500?d(w,e,t,a):u(w,e,t,a,n,b+1);if(n>=0&&s>0&&s<t.length&&p(t,a,w,s,w,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 Hge){if(!l&&o.type==e&&o.length==n)return o;(i=o.prop(Ige.lookAhead))&&(s=r[l]+o.length+i)}return h(e,a,r,n,s,t)}}(_,S);A=kge(_,t,a,0,t.length,0,x-w,e,e)}else A=h(_,t,a,x-w,k-x,S)}f.push(A),g.push(C)}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 Vge(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=[Ige.contextHash,o];i=i?[e].concat(i):[e]}if(n>25){let e=[Ige.lookAhead,n];i=i?[e].concat(i):[e]}return new Hge(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 Hge(s[e.topID],f.reverse(),g.reverse(),v)}function Oge(e,t){if(!e.isAnonymous||t instanceof Vge||t.type!=e)return 1;let a=Yge.get(t);if(null==a){a=1;for(let r of t.children){if(r.type!=e||!(r instanceof Hge)){a=1;break}a+=Oge(e,r)}Yge.set(t,a)}return a}function kge(e,t,a,r,n,o,i,s,l){let c=0;for(let a=r;a<n;a++)c+=Oge(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=Oge(e,a[c]);for(c++;c<i;c++){let t=Oge(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(kge(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 Sge(e){if(!e.length||e.some(e=>e.from>=e.to))throw RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))}function Age(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 Tge(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 _ge(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=[];Tge(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),Tge(i,s[p+3],n,h,m,c),new Hge(o,h,m,u)}(0,s.length,Lge.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 Qge(a,r+e.from,t,e._tree))}}function Cge(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 $ge(e.from,i),e.to>s&&a.splice(o+1,0,new $ge(s,e.to))):e.to>s?a[o--]=new $ge(s,e.to):a.splice(o--,1))}}return r}function Ege(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 $ge(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 Pge(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=Ege(t,n.overlay.map(e=>new $ge(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 Jge(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 Jge(s,l,n.tree,-e,o.from>=e||o.openStart,o.to<=i||o.openEnd))}return a}var Mge,Nge,$ge,Ige,Rge,Dge,Lge,Bge,jge,Uge,zge,Hge,Zge,Vge,qge,Qge,Fge,Wge,Gge,Xge,Yge,Kge,Jge,eve,tve,ave,rve,nve,ove,ive,sve,lve=V(()=>{Mge=1024,Nge=0,$ge=class{constructor(e,t){this.from=e,this.to=t}},Ige=class{constructor(e={}){this.id=Nge++,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=Lge.match(e)),t=>{let a=e(t);return void 0===a?null:[this,a]}}},Ige.closedBy=new Ige({deserialize:e=>e.split(" ")}),Ige.openedBy=new Ige({deserialize:e=>e.split(" ")}),Ige.group=new Ige({deserialize:e=>e.split(" ")}),Ige.isolate=new Ige({deserialize:e=>{if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw RangeError("Invalid value for isolate: "+e);return e||"auto"}}),Ige.contextHash=new Ige({perNode:!0}),Ige.lookAhead=new Ige({perNode:!0}),Ige.mounted=new Ige({perNode:!0}),Rge=class{constructor(e,t,a){this.tree=e,this.overlay=t,this.parser=a}static get(e){return e&&e.props&&e.props[Ige.mounted.id]}},Dge=Object.create(null),Lge=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):Dge,r=!!t.top|(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(Ige.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(Ige.group),r=-1;r<(a?a.length:0);r++){let n=t[r<0?e.name:a[r]];if(n)return n}}}},Lge.none=new Lge("",Object.create(null),0,8),Bge=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 Lge(e.name,r,e.id,e.flags):e)}return new e(a)}},jge=new WeakMap,Uge=new WeakMap,function(e){e[e.ExcludeBuffers=1]="ExcludeBuffers",e[e.IncludeAnonymous=2]="IncludeAnonymous",e[e.IgnoreMounts=4]="IgnoreMounts",e[e.IgnoreOverlays=8]="IgnoreOverlays"}(zge||={}),Hge=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=Rge.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 Xge(this.topNode,e)}cursorAt(e,t=0,a=0){let r=jge.get(this)||this.topNode,n=new Xge(r);return n.moveTo(e,t),jge.set(this,n._tree),n}get topNode(){return new Qge(this,0,0,null)}resolve(e,t=0){let a=gge(jge.get(this)||this.topNode,e,t,!1);return jge.set(this,a),a}resolveInner(e,t=0){let a=gge(Uge.get(this)||this.topNode,e,t,!0);return Uge.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 Qge?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=Rge.get(e.tree);if(o&&o.overlay&&o.overlay[0].from<=t&&o.overlay[o.overlay.length-1].to>=t){let i=new Qge(o.tree,o.overlay[0].from+e.from,-1,e);(n||=[r]).push(gge(i,t,a,!1))}}return n?yge(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&zge.IncludeAnonymous)>0;for(let e=this.cursor(o|zge.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:kge(Lge.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(Lge.none,t,a,r)))}static build(e){return xge(e)}},Hge.empty=new Hge(Lge.none,[],[],0),Zge=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)}},Vge=class e{constructor(e,t,a){this.buffer=e,this.length=t,this.set=a}get type(){return Lge.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&&!(fge(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)}},qge=class{cursor(e=0){return new Xge(this,e)}getChild(e,t=null,a=null){let r=vge(this,e,t,a);return r.length?r[0]:null}getChildren(e,t=null,a=null){return vge(this,e,t,a)}resolve(e,t=0){return gge(this,e,t,!1)}resolveInner(e,t=0){return gge(this,e,t,!0)}matchContext(e){return bge(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}},Qge=class e extends qge{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(fge(n,r,u,u+c.length))if(c instanceof Vge){if(o&zge.ExcludeBuffers)continue;let e=c.findChild(0,c.buffer.length,a,r-u,n);if(e>-1)return new Wge(new Fge(i,c,t,u),null,e)}else if(o&zge.IncludeAnonymous||!c.type.isAnonymous||wge(c)){let s;if(!(o&zge.IgnoreMounts)&&(s=Rge.get(c))&&!s.overlay)return new e(s.tree,u,t,i);let l=new e(c,u,t,i);return o&zge.IncludeAnonymous||!l.type.isAnonymous?l:l.nextChild(a<0?c.children.length-1:0,a,r,n)}}if(o&zge.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&zge.IgnoreOverlays)&&(n=Rge.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()}},Fge=class{constructor(e,t,a,r){this.parent=e,this.buffer=t,this.index=a,this.start=r}},Wge=class e extends qge{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&zge.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 Hge(this.type,e,t,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}},Gge=class{constructor(e,t){this.heads=e,this.node=t}get next(){return yge(this.heads)}},Xge=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 Qge)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 Qge?(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&zge.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,a))}parent(){if(!this.buffer)return this.yieldNode(this.mode&zge.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&zge.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&zge.IncludeAnonymous||e instanceof Vge||!e.type.isAnonymous||wge(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 Wge(this.buffer,t,this.stack[e]);return this.bufferNode=new Wge(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 bge(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 bge(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}},Yge=new WeakMap,Kge=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 Wge?this.setBuffer(e.context.buffer,e.index,t):e instanceof Qge&&this.map.set(e.tree,t)}get(e){return e instanceof Wge?this.getBuffer(e.context.buffer,e.index):e instanceof Qge?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)}},Jge=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|(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}},eve=class{startParse(e,t,a){return"string"==typeof e&&(e=new tve(e)),a=a?a.length?a.map(e=>new $ge(e.from,e.to)):[new $ge(0,0)]:[new $ge(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}}},tve=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)}},ave=class{constructor(e,t,a,r,n){this.parser=e,this.parse=t,this.overlay=a,this.target=r,this.from=n}},rve=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=[]}},nve=new Ige({perNode:!0}),ove=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 Hge(e.type,e.children,e.positions,e.length,e.propValues.concat([[nve,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[Ige.mounted.id]=new Rge(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 sve(this.fragments),t=null,a=null,r=new Xge(new Qge(this.baseTree,this.ranges[0].from,0,null),zge.IncludeAnonymous|zge.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=Age(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||_ge(r);let o=e.findMounts(r.from,n.parser);if("function"==typeof n.overlay)t=new rve(n.parser,n.overlay,o,this.inner.length,r.from,r.tree,t);else{let e=Cge(this.ranges,n.overlay||(r.from<r.to?[new $ge(r.from,r.to)]:[]));e.length&&Sge(e),(e.length||!n.overlay)&&this.inner.push(new ave(n.parser,e.length?n.parser.startParse(this.input,Pge(o,e),e):n.parser.startParse(""),n.overlay?n.overlay.map(e=>new $ge(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 $ge(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=Cge(this.ranges,t.ranges);e.length&&(Sge(e),this.inner.splice(t.index,0,new ave(t.parser,t.parser.startParse(this.input,Pge(t.mounts,e),e),t.ranges.map(e=>new $ge(e.from-t.start,e.to-t.start)),t.target,e[0].from))),t=t.prev}a&&! --a.depth&&(a=a.prev)}}}},ive=class{constructor(e,t){this.offset=t,this.done=!1,this.cursor=e.cursor(zge.IncludeAnonymous|zge.IgnoreMounts)}moveTo(e){let{cursor:t}=this,a=e-this.offset;for(;!this.done&&t.from<a;)t.to>=e&&t.enter(a,1,zge.IgnoreOverlays|zge.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 Hge))break;t=t.children[0]}return!1}},sve=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(nve)??t.to,this.inner=new ive(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(nve)??e.to,this.inner=new ive(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(Ige.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 cve(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 vve(r,n,i>0?a.slice(0,i):null).sort(t[s])}}return gve.add(t)}function uve(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 dve(e,t,a,r=0,n=e.length){let o=new bve(r,Array.isArray(t)?t:[t],a);o.highlightRange(e.cursor(),r,n,"",o.highlighters),o.flush(n)}var pve,hve,mve,fve,gve,vve,bve,yve,wve,xve,Ove,kve,Sve,Ave,Tve,_ve,Cve,Eve,Pve,Mve,Nve,$ve,Ive,Rve=V(()=>{lve(),pve=0,hve=class e{constructor(e,t,a,r){this.name=e,this.set=t,this.base=a,this.modified=r,this.id=pve++}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 fve(e);return e=>e.modified.indexOf(t)>-1?e:fve.get(e.base||e,e.modified.concat(t).sort((e,t)=>e.id-t.id))}},mve=0,fve=class e{constructor(e){this.name=e,this.instances=[],this.id=mve++}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 hve(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}},gve=new Ige,vve=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}},vve.empty=new vve([],2,null),bve=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(gve);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}(e)||vve.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(Ige.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()}}},yve=hve.define,wve=yve(),xve=yve(),Ove=yve(xve),kve=yve(xve),Sve=yve(),Ave=yve(Sve),Tve=yve(Sve),_ve=yve(),Cve=yve(_ve),Eve=yve(),Pve=yve(),Mve=yve(),Nve=yve(Mve),$ve=yve(),Ive={comment:wve,lineComment:yve(wve),blockComment:yve(wve),docComment:yve(wve),name:xve,variableName:yve(xve),typeName:Ove,tagName:yve(Ove),propertyName:kve,attributeName:yve(kve),className:yve(xve),labelName:yve(xve),namespace:yve(xve),macroName:yve(xve),literal:Sve,string:Ave,docString:yve(Ave),character:yve(Ave),attributeValue:yve(Ave),number:Tve,integer:yve(Tve),float:yve(Tve),bool:yve(Sve),regexp:yve(Sve),escape:yve(Sve),color:yve(Sve),url:yve(Sve),keyword:Eve,self:yve(Eve),null:yve(Eve),atom:yve(Eve),unit:yve(Eve),modifier:yve(Eve),operatorKeyword:yve(Eve),controlKeyword:yve(Eve),definitionKeyword:yve(Eve),moduleKeyword:yve(Eve),operator:Pve,derefOperator:yve(Pve),arithmeticOperator:yve(Pve),logicOperator:yve(Pve),bitwiseOperator:yve(Pve),compareOperator:yve(Pve),updateOperator:yve(Pve),definitionOperator:yve(Pve),typeOperator:yve(Pve),controlOperator:yve(Pve),punctuation:Mve,separator:yve(Mve),bracket:Nve,angleBracket:yve(Nve),squareBracket:yve(Nve),paren:yve(Nve),brace:yve(Nve),content:_ve,heading:Cve,heading1:yve(Cve),heading2:yve(Cve),heading3:yve(Cve),heading4:yve(Cve),heading5:yve(Cve),heading6:yve(Cve),contentSeparator:yve(_ve),list:yve(_ve),quote:yve(_ve),emphasis:yve(_ve),strong:yve(_ve),link:yve(_ve),monospace:yve(_ve),strikethrough:yve(_ve),inserted:yve(),deleted:yve(),changed:yve(),invalid:yve(),meta:$ve,documentMeta:yve($ve),annotation:yve($ve),processingInstruction:yve($ve),definition:hve.defineModifier("definition"),constant:hve.defineModifier("constant"),function:hve.defineModifier("function"),standard:hve.defineModifier("standard"),local:hve.defineModifier("local"),special:hve.defineModifier("special")};for(let e in Ive){let t=Ive[e];t instanceof hve&&(t.name=e)}uve([{tag:Ive.link,class:"tok-link"},{tag:Ive.heading,class:"tok-heading"},{tag:Ive.emphasis,class:"tok-emphasis"},{tag:Ive.strong,class:"tok-strong"},{tag:Ive.keyword,class:"tok-keyword"},{tag:Ive.atom,class:"tok-atom"},{tag:Ive.bool,class:"tok-bool"},{tag:Ive.url,class:"tok-url"},{tag:Ive.labelName,class:"tok-labelName"},{tag:Ive.inserted,class:"tok-inserted"},{tag:Ive.deleted,class:"tok-deleted"},{tag:Ive.literal,class:"tok-literal"},{tag:Ive.string,class:"tok-string"},{tag:Ive.number,class:"tok-number"},{tag:[Ive.regexp,Ive.escape,Ive.special(Ive.string)],class:"tok-string2"},{tag:Ive.variableName,class:"tok-variableName"},{tag:Ive.local(Ive.variableName),class:"tok-variableName tok-local"},{tag:Ive.definition(Ive.variableName),class:"tok-variableName tok-definition"},{tag:Ive.special(Ive.variableName),class:"tok-variableName2"},{tag:Ive.definition(Ive.propertyName),class:"tok-propertyName tok-definition"},{tag:Ive.typeName,class:"tok-typeName"},{tag:Ive.namespace,class:"tok-namespace"},{tag:Ive.className,class:"tok-className"},{tag:Ive.macroName,class:"tok-macroName"},{tag:Ive.propertyName,class:"tok-propertyName"},{tag:Ive.operator,class:"tok-operator"},{tag:Ive.comment,class:"tok-comment"},{tag:Ive.meta,class:"tok-meta"},{tag:Ive.invalid,class:"tok-invalid"},{tag:Ive.punctuation,class:"tok-punctuation"}])});function Dve(e){return rue.define({combine:e?t=>t.concat(e):void 0})}function Lve(e,t,a){let r=e.facet(Tbe),n=Bve(e).topNode;if(!r||r.allowsNesting)for(let e=n;e;e=e.enter(t,a,zge.ExcludeBuffers))e.type.isTop&&(n=e);return n}function Bve(e){let t=e.field(vbe.state,!1);return t?t.tree:Hge.empty}function jve(e,t,a){return Jge.applyChanges(e,[{fromA:t,toA:a,fromB:t,toB:a}])}function Uve(e){let t=e.facet(Ebe);return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function zve(e,t){let a="",r=e.tabSize,n=e.facet(Ebe)[0];if("\t"==n){for(;t>=r;)a+="\t",t-=r;n=" "}for(let e=0;e<t;e++)a+=n;return a}function Hve(e,t){e instanceof Eue&&(e=new Pbe(e));for(let a of e.state.facet(Cbe)){let r=a(e,t);if(void 0!==r)return r}let a=Bve(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 Zve(r,e,a)}(e,a,t):null}function Zve(e,t,a){for(let r=e;r;r=r.next){let e=Vve(r.node);if(e)return e(Nbe.create(t,a,r))}return 0}function Vve(e){let t=e.type.prop(Mbe);if(t)return t;let a,r=e.firstChild;if(r&&(a=r.type.prop(Ige.closedBy))){let t=e.lastChild,r=t&&a.indexOf(t.name)>-1;return e=>Wve(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?qve:null}function qve(){return 0}function Qve(e,t){for(let a=t;a;a=a.parent)if(e==a)return!0;return!1}function Fve({closing:e,align:t=!0,units:a=1}){return r=>Wve(r,t,a,e)}function Wve(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 Gve({except:e,units:t=1}={}){return a=>{let r=e&&e.test(a.textAfter);return a.baseIndent+(r?0:t*a.unit)}}function Xve(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 Yve(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function Kve(e,t,a){for(let r of e.facet(Rbe)){let n=r(e,t,a);if(n)return n}return function(e,t,a){let r=Bve(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(Dbe);if(s&&(i.to<r.length-50||r.length==e.doc.length||!Yve(i))){let r=s(i,e);r&&r.from<=a&&r.from>=t&&r.to>a&&(n=r)}}return n}(e,t,a)}function Jve(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 ebe(e,t,a){var r;let n=null;return null==(r=e.field(jbe,!1))||r.between(t,a,(e,t)=>{(!n||n.from>e)&&(n={from:e,to:t})}),n}function tbe(e,t,a){let r=!1;return e.between(t,t,(e,n)=>{e==t&&n==a&&(r=!0)}),r}function abe(e){let t=[jbe,Qbe];return e&&t.push(zbe.of(e)),t}function rbe(e,t){let{state:a}=e,r=a.facet(zbe),n=t=>{let a=e.lineBlockAt(e.posAtDOM(t.target)),r=ebe(e.state,a.from,a.to);r&&e.dispatch({effects:Bbe.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 nbe(e={}){let t=Object.assign(Object.assign({},Vbe),e),a=new qbe(t,!0),r=new qbe(t,!1),n=eme.fromClass(class{constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}update(e){(e.docChanged||e.viewportChanged||e.startState.facet(Tbe)!=e.state.facet(Tbe)||e.startState.field(jbe,!1)!=e.state.field(jbe,!1)||Bve(e.startState)!=Bve(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))}buildMarkers(e){let t=new Iue;for(let n of e.viewportLineBlocks){let o=ebe(e.state,n.from,n.to)?r:Kve(e.state,n.from,n.to)?a:null;o&&t.add(n.from,n.from,o)}return t.finish()}}),{domEventHandlers:o}=t;return[n,Bpe({class:"cm-foldGutter",markers:e=>e.plugin(n)?.markers||$ue.empty,initialSpacer:()=>new qbe(t,!1),domEventHandlers:Object.assign(Object.assign({},o),{click:(e,t,a)=>{if(o.click&&o.click(e,t,a))return!0;let r=ebe(e.state,t.from,t.to);if(r)return e.dispatch({effects:Bbe.of(r)}),!0;let n=Kve(e.state,t.from,t.to);return!!n&&(e.dispatch({effects:Lbe.of(n)}),!0)}})}),abe()]}function obe(e){let t=e.facet(Wbe);return t.length?t:e.facet(Gbe)}function ibe(e,t){let a,r=[Ybe];return e instanceof Fbe&&(e.module&&r.push(dfe.styleModule.of(e.module)),a=e.themeType),t?.fallback?r.push(Gbe.of(e)):a?r.push(Wbe.computeN([dfe.darkTheme],t=>t.facet(dfe.darkTheme)==("dark"==a)?[e]:[])):r.push(Wbe.of(e)),r}function sbe(e){let t=[],a=e.matched?rye:nye;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 lbe(e={}){return[aye.of(e),oye]}function cbe(e,t,a){let r=e.prop(t<0?Ige.openedBy:Ige.closedBy);if(r)return r;if(1==e.name.length){let r=a.indexOf(e.name);if(r>-1&&r%2==+(t<0))return[a[r+t]]}return null}function ube(e){let t=e.type.prop(iye);return t?t(e.node):e}function dbe(e,t,a,r={}){let n=r.maxScanDistance||eye,o=r.brackets||tye,i=Bve(e),s=i.resolveInner(t,a);for(let r=s;r;r=r.parent){let n=cbe(r.type,a,o);if(n&&r.from<r.to){let i=ube(r);if(i&&(a>0?t>=i.from&&t<i.to:t>i.from&&t<=i.to))return pbe(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 pbe(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=ube(u);return{start:l,end:e?{from:e.from,to:e.to}:void 0,matched:!0}}if(cbe(u.type,a,i))c++;else if(cbe(u.type,-a,i)){if(0==c){let e=ube(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 hbe(e,t){cye.indexOf(e)>-1||(cye.push(e),console.warn(t))}function mbe(e,t){let a=[];for(let r of t.split(" ")){let t=[];for(let a of r.split(".")){let r=e[a]||Ive[a];r?"function"==typeof r?t.length?t=t.map(r):hbe(a,`Modifier ${a} used at start of tag`):t.length?hbe(a,`Tag ${a} used as modifier`):t=Array.isArray(r)?r:[r]:hbe(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=uye[n];if(o)return o.id;let i=uye[n]=Lge.define({id:lye.length,name:r,props:[cve({[r]:a})]});return lye.push(i),i.id}var fbe,gbe,vbe,bbe,ybe,wbe,xbe,Obe,kbe,Sbe,Abe,Tbe,_be,Cbe,Ebe,Pbe,Mbe,Nbe,$be,Ibe,Rbe,Dbe,Lbe,Bbe,jbe,Ube,zbe,Hbe,Zbe,Vbe,qbe,Qbe,Fbe,Wbe,Gbe,Xbe,Ybe,Kbe,Jbe,eye,tye,aye,rye,nye,oye,iye,sye,lye,cye,uye,dye,pye=V(()=>{lve(),Vue(),mge(),Rve(),que(),fbe=new Ige,gbe=new Ige,vbe=class{constructor(e,t,a=[],r=""){this.data=e,this.name=r,Eue.prototype.hasOwnProperty("tree")||Object.defineProperty(Eue.prototype,"tree",{get(){return Bve(this)}}),this.parser=t,this.extension=[Tbe.of(this),Eue.languageData.of((e,t,a)=>{let r=Lve(e,t,a),n=r.type.prop(fbe);if(!n)return[];let o=e.facet(n),i=r.type.prop(gbe);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 Lve(e,t,a).type.prop(fbe)==this.data}findRegions(e){let t=e.facet(Tbe);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(fbe)==this.data)return void a.push({from:t,to:t+e.length});let n=e.prop(Ige.mounted);if(n){if(n.tree.prop(fbe)==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 Hge&&r(n,e.positions[a]+t)}};return r(Bve(e),0),a}get allowsNesting(){return!0}},vbe.setState=kue.define(),bbe=class e extends vbe{constructor(e,t,a){super(e,t,[],a),this.parser=t}static define(t){let a=Dve(t.languageData);return new e(a,t.parser.configure({props:[fbe.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()}},ybe=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)}},wbe=null,xbe=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,[],Hge.empty,0,r,[],null)}startParse(){return this.parser.startParse(new ybe(this.state.doc),this.fragments)}work(e,t){return null!=t&&t>=this.state.doc.length&&(t=void 0),this.tree!=Hge.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(Jge.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(Jge.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let t=wbe;wbe=this;try{return e()}finally{wbe=t}}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=jve(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=Jge.applyChanges(r,e),n=Hge.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=jve(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 eve{createParse(t,a,r){let n=r[0].from,o=r[r.length-1].to;return{parsedPos:n,advance(){let t=wbe;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 Hge(Lge.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 wbe}},Obe=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=xbe.create(t.facet(Tbe).parser,t,{from:0,to:a});return r.work(20,a)||r.takeTree(),new e(r)}},vbe.state=iue.define({create:Obe.init,update(e,t){for(let e of t.effects)if(e.is(vbe.setState))return e.value;return t.startState.facet(Tbe)==t.state.facet(Tbe)?e.apply(t):Obe.init(t.state)}}),kbe=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)},typeof requestIdleCallback<"u"&&(kbe=e=>{let t=-1,a=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(a):cancelIdleCallback(t)}),Sbe=typeof navigator<"u"&&navigator.scheduling?.isInputPending?()=>navigator.scheduling.isInputPending():null,Abe=eme.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(vbe.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(vbe.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=kbe(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(vbe.state);if(n.tree==n.context.tree&&n.context.isDone(r+1e5))return;let o=Date.now()+Math.min(this.chunkBudget,100,e&&!Sbe?Math.max(25,e.timeRemaining()-5):1e9),i=n.context.treeLen<r&&a.doc.length>r+1e3,s=n.context.work(()=>Sbe&&Sbe()||Date.now()>o,r+(i?0:1e5));this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(n.context.takeTree(),this.view.dispatch({effects:vbe.setState.of(new Obe(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=>Bde(this.view.state,e)).then(()=>this.workScheduled--),null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Tbe=rue.define({combine:e=>e.length?e[0]:null,enables:e=>[vbe.state,Abe,dfe.contentAttributes.compute([e],t=>{let a=t.facet(e);return a&&a.name?{"data-language":a.name}:{}})]}),_be=class{constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}},Cbe=rue.define(),Ebe=rue.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}}),Pbe=class{constructor(e,t={}){this.state=e,this.options=t,this.unit=Uve(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 zce(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}},Mbe=new Ige,Nbe=class e extends Pbe{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(Qve(a,e))break;t=this.state.doc.lineAt(a.from)}return this.lineIndent(t.from)}continue(){return Zve(this.context.next,this.base,this.pos)}},$be=e=>e.baseIndent,Ibe=200,Rbe=rue.define(),Dbe=new Ige,Lbe=kue.define({map:Jve}),Bbe=kue.define({map:Jve}),jbe=iue.define({create:()=>ghe.none,update(e,t){e=e.map(t.changes);for(let a of t.effects)if(a.is(Lbe)&&!tbe(e,a.value.from,a.value.to)){let{preparePlaceholder:r}=t.state.facet(zbe),n=r?ghe.replace({widget:new Zbe(r(t.state,a.value))}):Hbe;e=e.update({add:[n.range(a.value.from,a.value.to)]})}else a.is(Bbe)&&(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=>dfe.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(Hbe.range(r,n))}return ghe.set(t,!0)}}),Ube={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},zbe=rue.define({combine:e=>Nce(e,Ube)}),Hbe=ghe.replace({widget:new class extends mhe{toDOM(e){return rbe(e,null)}}}),Zbe=class extends mhe{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return rbe(e,this.value)}},Vbe={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},qbe=class extends Jfe{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}},Qbe=dfe.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"}}),Fbe=class e{constructor(e,t){let a;function r(e){let t=zue.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 vbe?e=>e.prop(fbe)==o.data:o?e=>e==o:void 0,this.style=uve(e.map(e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{tag:null}))})),{all:n}).style,this.module=a?new zue(a):null,this.themeType=t.themeType}static define(t,a){return new e(t,a||{})}},Wbe=rue.define(),Gbe=rue.define({combine:e=>e.length?[e[0]]:null}),Xbe=class{constructor(e){this.markCache=Object.create(null),this.tree=Bve(e.state),this.decorations=this.buildDeco(e,obe(e.state)),this.decoratedTo=e.viewport.to}update(e){let t=Bve(e.state),a=obe(e.state),r=a!=obe(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 ghe.none;let a=new Iue;for(let{from:r,to:n}of e.visibleRanges)dve(this.tree,t,(e,t,r)=>{a.add(e,t,this.markCache[r]||(this.markCache[r]=ghe.mark({class:r})))},r,n);return a.finish()}},Ybe=lue.high(eme.fromClass(Xbe,{decorations:e=>e.decorations})),Kbe=Fbe.define([{tag:Ive.meta,color:"#404740"},{tag:Ive.link,textDecoration:"underline"},{tag:Ive.heading,textDecoration:"underline",fontWeight:"bold"},{tag:Ive.emphasis,fontStyle:"italic"},{tag:Ive.strong,fontWeight:"bold"},{tag:Ive.strikethrough,textDecoration:"line-through"},{tag:Ive.keyword,color:"#708"},{tag:[Ive.atom,Ive.bool,Ive.url,Ive.contentSeparator,Ive.labelName],color:"#219"},{tag:[Ive.literal,Ive.inserted],color:"#164"},{tag:[Ive.string,Ive.deleted],color:"#a11"},{tag:[Ive.regexp,Ive.escape,Ive.special(Ive.string)],color:"#e40"},{tag:Ive.definition(Ive.variableName),color:"#00f"},{tag:Ive.local(Ive.variableName),color:"#30a"},{tag:[Ive.typeName,Ive.namespace],color:"#085"},{tag:Ive.className,color:"#167"},{tag:[Ive.special(Ive.variableName),Ive.macroName],color:"#256"},{tag:Ive.definition(Ive.propertyName),color:"#00c"},{tag:Ive.comment,color:"#940"},{tag:Ive.invalid,color:"#f00"}]),Jbe=dfe.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),eye=1e4,tye="()[]{}",aye=rue.define({combine:e=>Nce(e,{afterCursor:!0,brackets:tye,maxScanDistance:eye,renderMatch:sbe})}),rye=ghe.mark({class:"cm-matchingBracket"}),nye=ghe.mark({class:"cm-nonmatchingBracket"}),oye=[iue.define({create:()=>ghe.none,update(e,t){if(!t.docChanged&&!t.selection)return e;let a=[],r=t.state.facet(aye);for(let e of t.state.selection.ranges){if(!e.empty)continue;let n=dbe(t.state,e.head,-1,r)||e.head>0&&dbe(t.state,e.head-1,1,r)||r.afterCursor&&(dbe(t.state,e.head,1,r)||e.head<t.state.doc.length&&dbe(t.state,e.head+1,-1,r));n&&(a=a.concat(r.renderMatch(n,t.state)))}return ghe.set(a,!0)},provide:e=>dfe.decorations.from(e)}),Jbe],iye=new Ige,sye=Object.create(null),lye=[Lge.none],cye=[],uye=Object.create(null),dye=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"]])dye[e]=mbe(sye,t);Ahe.RTL,Ahe.LTR});function hye(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(Ige.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=hye(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=Sye.exec(e);if(!t)return null;let[a,r,n,o,i]=t,s=function(e,t,a){return`#${fye(e)}${fye(t)}${fye(a)}`}(r,n,o);return{colorType:kye.rgb,color:s,alpha:i||""}}case"hsl":{let t=Aye.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=bye(e+.333),i=e,s=bye(e-.333),l=yye(r,n,o),c=yye(r,n,i),u=yye(r,n,s);return[Math.round(255*l),Math.round(255*c),Math.round(255*u)]}(Number(e),r,n);return`#${gye(o)}${gye(i)}${gye(s)}`}(r,n,o);return{colorType:kye.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(!Tye.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:kye.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=wye.get(e);return t?{colorType:kye.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 mye(e,t){let a=[],r=Bve(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(Tbe)?.name);if(s){if(!Array.isArray(s))return void a.push(ghe.widget({widget:new Cye(s),side:1}).range(s.from));for(let e of s)a.push(ghe.widget({widget:new Cye(e),side:1}).range(e.from))}}});return ghe.set(a)}function fye(e){let t;if(e.endsWith("%")){let a=Number(e.slice(0,-1));t=Math.round(a/100*255)}else t=Number(e);return gye(t)}function gye(e){let t=e.toString(16);return 1===t.length?"0"+t:t}function vye(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 bye(e){return e<0?e+1:e>1?e-1:e}function yye(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 wye,xye,Oye,kye,Sye,Aye,Tye,_ye,Cye,Eye,Pye,Mye,Nye=V(()=>{mge(),lve(),pye(),wye=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"]]),xye=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},Oye=new WeakMap,kye=function(e){return e.rgb="RGB",e.hex="HEX",e.named="NAMED",e.hsl="HSL",e}(kye||={}),Sye=/rgb(?:a)?\(\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*([,/]\s*0?\.?\d+%?)?\)/,Aye=/hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*0?\.\d+)?\)/,Tye=/(^|\b)(#[0-9a-f]{3,9})(\b|$)/i,_ye="cm-css-color-picker-wrapper",Cye=class extends mhe{constructor(e){var{color:t}=e,a=xye(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");Oye.set(e,this.state),e.type="color",e.value=this.color;let t=document.createElement("span");return t.appendChild(e),t.className=_ye,t}ignoreEvent(){return!1}},Eye=dfe.baseTheme({[`.${_ye}`]:{display:"inline-block",outline:"1px solid #eee",marginRight:"0.6ch",height:"1em",width:"1em",transform:"translateY(1px)"},[`.${_ye} 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"}}}),Pye=e=>eme.fromClass(class{constructor(t){this.decorations=mye(t,e.discoverColors)}update(t){(t.docChanged||t.viewportChanged)&&(this.decorations=mye(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=Oye.get(a),n=a.value+r.alpha;if(r.colorType===kye.rgb)n=`rgb(${vye(a.value).join(", ")}${r.alpha})`;else if(r.colorType===kye.named)for(let[e,t]of wye.entries())t===a.value&&(n=e);else if(r.colorType===kye.hsl){let[e,t,o]=vye(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}}}),Mye=[Pye({discoverColors:hye}),Eye]});function $ye(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 Iye(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=$ye(t)+$ye(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 Rye(e,t){return a=>{for(let t=Bve(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 Dye(e){return e.selection.main.from}function Lye(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 Bye(e){if(!Array.isArray(e))return e;let t=cwe.get(e);return t||cwe.set(e,t=Iye(e)),t}function jye(e,t){return e?t?e+" "+t:e:t}function Uye(e,t,a,r,n,o){let i,s,l=e.textDirection==Ahe.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 zye(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 Hye(e){return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+ +!!e.type}function Zye(e,t){let a={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e};return t>-1&&(a["aria-activedescendant"]=e+"-"+t),a}function Vye(e,t){if(e.isUserEvent("input.complete")){let a=e.annotation(lwe);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 qye(e,t){let a=t.completion.apply||t.completion.label,r=e.state.field(Awe).active.find(e=>e.source==t.source);return r instanceof Owe&&("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:tue.cursor(s.from+o+l.length)}})),{scrollIntoView:!0,userEvent:"input.complete"})}(e.state,a,r.from,r.to)),{annotations:lwe.of(t.completion)})):a(e,t.completion,r.from,r.to),!0)}function Qye(e,t="option"){return a=>{let r=a.state.field(Awe,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<a.state.facet(mwe).interactionDelay)return!1;let n,o=1;"page"==t&&(n=Dpe(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:Swe.of(s)}),!0}}function Fye(e,t){return tue.create(e.filter(e=>e.field==t).map(e=>tue.range(e.from,e.to)))}function Wye(e){let t=Lwe.parse(e);return(e,a,r,n)=>{let{text:o,ranges:i}=t.instantiate(e.state,r),s={changes:{from:r,to:n,insert:Hce.of(o)},scrollIntoView:!0,annotations:a?[lwe.of(a),Sue.userEvent.of("input.complete")]:void 0};if(i.length&&(s.selection=Fye(i,0)),i.some(e=>e.field>0)){let t=new Uwe(i,0),a=s.effects=[zwe.of(t)];void 0===e.state.field(Zwe,!1)&&a.push(kue.appendConfig.of([Zwe,Gwe,Xwe,Iwe]))}e.dispatch(e.state.update(s))}}function Gye(e){return({state:t,dispatch:a})=>{let r=t.field(Zwe,!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:Fye(r.ranges,n),effects:zwe.of(o?null:new Uwe(r.ranges,n)),scrollIntoView:!0})),!0}}function Xye(e,t){return Object.assign(Object.assign({},t),{apply:Wye(e)})}function Yye(e){for(let t=0;t<8;t+=2)if(txe.charCodeAt(t)==e)return txe.charAt(t+1);return dce(e<128?e:e+1)}function Kye(e,t){return e.languageDataAt("closeBrackets",t)[0]||Ywe}function Jye(e,t){let a=!1;return e.field(exe).between(0,e.doc.length,e=>{e==t&&(a=!0)}),a}function ewe(e,t){let a=e.sliceString(t,t+2);return a.slice(0,pce(uce(a,0)))}function twe(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:Kwe.of(o.to+t.length),range:tue.range(o.anchor+t.length,o.head+t.length)};let i=ewe(e.doc,o.head);return!i||/\s/.test(i)||r.indexOf(i)>-1?{changes:{insert:t+a,from:o.head},effects:Kwe.of(o.head+t.length),range:tue.cursor(o.head+t.length)}:{range:n=o}});return n?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function awe(e,t,a){let r=null,n=e.changeByRange(t=>t.empty&&ewe(e.doc,t.head)==a?{changes:{from:t.head,to:t.head+a.length,insert:a},range:tue.cursor(t.head+a.length)}:r={range:t});return r?null:e.update(n,{scrollIntoView:!0,userEvent:"input.type"})}function rwe(e,t,a,r){let n=r.stringPrefixes||Ywe.stringPrefixes,o=null,i=e.changeByRange(r=>{if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],effects:Kwe.of(r.to+t.length),range:tue.range(r.anchor+t.length,r.head+t.length)};let i,s=r.head,l=ewe(e.doc,s);if(l==t){if(nwe(e,s))return{changes:{insert:t+t,from:s},effects:Kwe.of(s+t.length),range:tue.cursor(s+t.length)};if(Jye(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:tue.cursor(s+r.length)}}}else{if(a&&e.sliceDoc(s-2*t.length,s)==t+t&&(i=owe(e,s-2*t.length,n))>-1&&nwe(e,i))return{changes:{insert:t+t+t+t,from:s},effects:Kwe.of(s+t.length),range:tue.cursor(s+t.length)};if(e.charCategorizer(s)(l)!=Tue.Word&&owe(e,s,n)>-1&&!function(e,t,a,r){let n=Bve(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:Kwe.of(s+t.length),range:tue.cursor(s+t.length)}}return{range:o=r}});return o?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function nwe(e,t){let a=Bve(e).resolveInner(t+1);return a.parent&&a.from==t}function owe(e,t,a){let r=e.charCategorizer(t);if(r(e.sliceDoc(t-1,t))!=Tue.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))!=Tue.Word)return a}return-1}var iwe,swe,lwe,cwe,uwe,dwe,pwe,hwe,mwe,fwe,gwe,vwe,bwe,ywe,wwe,xwe,Owe,kwe,Swe,Awe,Twe,_we,Cwe,Ewe,Pwe,Mwe,Nwe,$we,Iwe,Rwe,Dwe,Lwe,Bwe,jwe,Uwe,zwe,Hwe,Zwe,Vwe,qwe,Qwe,Fwe,Wwe,Gwe,Xwe,Ywe,Kwe,Jwe,exe,txe,axe,rxe,nxe,oxe,ixe,sxe,lxe=V(()=>{Vue(),mge(),pye(),iwe=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=Bve(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(Lye(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))}},swe=class{constructor(e,t,a,r){this.completion=e,this.source=t,this.match=a,this.score=r}},lwe=wue.define(),cwe=new WeakMap,uwe=kue.define(),dwe=kue.define(),pwe=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=uce(e,t),r=pce(a);this.chars.push(a);let n=e.slice(t,t+r),o=n.toUpperCase();this.folded.push(uce(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=uce(e,0),n=pce(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=uce(e,n);(o==t[l]||o==a[l])&&(r[l++]=n),n+=pce(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=uce(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):(b=dce(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+=pce(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?pce(uce(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)}},hwe=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)}},mwe=rue.define({combine:e=>Nce(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:Uye,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=>jye(e(a),t(a)),optionClass:(e,t)=>a=>jye(e(a),t(a)),addToOptions:(e,t)=>e.concat(t),filterStrict:(e,t)=>e||t})}),fwe=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(mwe);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=zye(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(mwe).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({effects:dwe.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=zye(r.length,n,e.state.facet(mwe).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=zye(t.options.length,t.selected,this.view.state.facet(mwe).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=>Bde(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(mwe).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()}},gwe=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,Zye(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(mwe);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 swe(t,r.source,e?e(t):[],1e9-a.length));else{let a,i=t.sliceDoc(r.from,r.to),s=o.filterStrict?new hwe(i):new pwe(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 swe(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):Hye(e.completion)>Hye(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(mwe).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,Zye(r,l),{pos:t.reduce((e,t)=>t.hasResult()?Math.min(e,t.from):e,1e8),create:Twe,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)}},vwe=class e{constructor(e,t,a){this.active=e,this.id=t,this.open=a}static start(){return new e(wwe,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}update(t){let{state:a}=t,r=a.facet(mwe),n=(r.override||a.languageDataAt("autocomplete",Dye(a)).map(Bye)).map(e=>(this.active.find(t=>t.source==e)||new xwe(e,+!!this.active.some(e=>0!=e.state))).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(kwe));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=gwe.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 xwe(e.source,0):e));for(let e of t.effects)e.is(Swe)&&(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?bwe:ywe}},bwe={"aria-autocomplete":"list"},ywe={},wwe=[],xwe=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=Vye(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(uwe))n=new e(n.source,1,a.value);else if(a.is(dwe))n=new e(n.source,0);else if(a.is(kwe))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(Dye(e.state))}},Owe=class e extends xwe{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=Dye(t.state);if(i>o||!r||2&a&&(Dye(t.startState)==this.from||i<this.limit))return new xwe(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):Lye(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 iwe(t.state,i,!1)))?new e(this.source,this.explicit,s,r,r.from,r.to??Dye(t.state)):new xwe(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 xwe(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}},kwe=kue.define({map:(e,t)=>e.map(e=>e.map(t))}),Swe=kue.define(),Awe=iue.define({create:()=>vwe.start(),update:(e,t)=>e.update(t),provide:e=>[Hfe.from(e,e=>e.tooltip),dfe.contentAttributes.from(e,e=>e.attrs)]}),Twe=function(e,t){return a=>new fwe(a,e,t)}(Awe,qye),_we=e=>{let t=e.state.field(Awe,!1);return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(mwe).interactionDelay)&&qye(e,t.open.options[t.open.selected])},Cwe=e=>!!e.state.field(Awe,!1)&&(e.dispatch({effects:uwe.of(!0)}),!0),Ewe=e=>{let t=e.state.field(Awe,!1);return!(!t||!t.active.some(e=>0!=e.state))&&(e.dispatch({effects:dwe.of(null)}),!0)},Pwe=class{constructor(e,t){this.active=e,this.context=t,this.time=Date.now(),this.updates=[],this.done=void 0}},Mwe=eme.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(Awe).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(Awe),a=e.state.facet(mwe);if(!e.selectionSet&&!e.docChanged&&e.startState.field(Awe)==t)return;let r=e.transactions.some(e=>{let t=Vye(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){Bde(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(uwe)))&&(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(Awe);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(mwe).updateSyncTime))}startQuery(e){let{state:t}=this.view,a=Dye(t),r=new iwe(t,a,e.explicit,this.view),n=new Pwe(e,r);this.running.push(n),Promise.resolve(e.source(r)).then(e=>{n.context.aborted||(n.done=e||null,this.scheduleAccept())},e=>{this.view.dispatch({effects:dwe.of(null)}),Bde(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(mwe).updateSyncTime))}accept(){this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],t=this.view.state.facet(mwe),a=this.view.state.field(Awe);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=Dye(n.updates.length?n.updates[0].startState:this.view.state),r=Math.min(a,n.done.from+ +!n.active.explicit),o=new Owe(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 xwe(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:kwe.of(e)})}},{eventHandlers:{blur(e){let t=this.view.state.field(Awe,!1);if(t&&t.tooltip&&this.view.state.facet(mwe).closeOnBlur){let a=t.open&&Dpe(this.view,t.open.tooltip);(!a||!a.dom.contains(e.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:dwe.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){3==this.composing&&setTimeout(()=>this.view.dispatch({effects:uwe.of(!1)}),20),this.composing=0}}}),Nwe="object"==typeof navigator&&/Win/.test(navigator.platform),$we=lue.highest(dfe.domEventHandlers({keydown(e,t){let a=t.state.field(Awe,!1);if(!a||!a.open||a.open.disabled||a.open.selected<0||e.key.length>1||e.ctrlKey&&(!Nwe||!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&&qye(t,r),!1}})),Iwe=dfe.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"}}}),Rwe=class{constructor(e,t,a,r){this.field=e,this.line=t,this.from=a,this.to=r}},Dwe=class e{constructor(e,t,a){this.field=e,this.from=t,this.to=a}map(t){let a=t.mapPos(this.from,-1,Xce.TrackDel),r=t.mapPos(this.to,1,Xce.TrackDel);return null==a||null==r?null:new e(this.field,a,r)}},Lwe=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(Ebe);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 Dwe(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 Rwe(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)}},Bwe=ghe.widget({widget:new class extends mhe{toDOM(){let e=document.createElement("span");return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}}),jwe=ghe.mark({class:"cm-snippetField"}),Uwe=class e{constructor(e,t){this.ranges=e,this.active=t,this.deco=ghe.set(e.map(e=>(e.from==e.to?Bwe:jwe).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))}},zwe=kue.define({map:(e,t)=>e&&e.map(t)}),Hwe=kue.define(),Zwe=iue.define({create:()=>null,update(e,t){for(let a of t.effects){if(a.is(zwe))return a.value;if(a.is(Hwe)&&e)return new Uwe(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=>dfe.decorations.from(e,e=>e?e.deco:ghe.none)}),Vwe=({state:e,dispatch:t})=>!!e.field(Zwe,!1)&&(t(e.update({effects:zwe.of(null)})),!0),qwe=Gye(1),Qwe=Gye(-1),Fwe=[{key:"Tab",run:qwe,shift:Qwe},{key:"Escape",run:Vwe}],Wwe=rue.define({combine:e=>e.length?e[0]:Fwe}),Gwe=lue.highest(vfe.compute([Wwe],e=>e.facet(Wwe))),Xwe=dfe.domEventHandlers({mousedown(e,t){let a,r=t.state.field(Zwe,!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:Fye(r.ranges,n.field),effects:zwe.of(r.ranges.some(e=>e.field>n.field)?new Uwe(r.ranges,n.field):null),scrollIntoView:!0}),!0)}}),Ywe={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Kwe=kue.define({map:(e,t)=>t.mapPos(e,-1,Xce.TrackAfter)??void 0}),(Jwe=new class extends Pue{}).startSide=1,Jwe.endSide=-1,exe=iue.define({create:()=>$ue.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(Kwe)&&(e=e.update({add:[Jwe.range(a.value,a.value+1)]}));return e}}),txe="()[]{}<>",axe="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),rxe=dfe.inputHandler.of((e,t,a,r)=>{if((axe?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let n=e.state.selection.main;if(r.length>2||2==r.length&&1==pce(uce(r,0))||t!=n.from||a!=n.to)return!1;let o=function(e,t){let a=Kye(e,e.selection.main.head),r=a.brackets||Ywe.brackets;for(let n of r){let o=Yye(uce(n,0));if(t==n)return o==n?rwe(e,n,r.indexOf(n+n+n)>-1,a):twe(e,n,o,a.before||Ywe.before);if(t==o&&Jye(e,e.selection.main.from))return awe(e,0,o)}return null}(e.state,r);return!!o&&(e.dispatch(o),!0)}),nxe=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let a=Kye(e,e.selection.main.head).brackets||Ywe.brackets,r=null,n=e.changeByRange(t=>{if(t.empty){let r=function(e,t){let a=e.sliceString(t-2,t);return pce(uce(a,0))==a.length?a:a.slice(1)}(e.doc,t.head);for(let n of a)if(n==r&&ewe(e.doc,t.head)==Yye(uce(n,0)))return{changes:{from:t.head-n.length,to:t.head+n.length},range:tue.cursor(t.head-n.length)}}return{range:r=t}});return r||t(e.update(n,{scrollIntoView:!0,userEvent:"delete.backward"})),!r},oxe=[{key:"Backspace",run:nxe}],ixe=[{key:"Ctrl-Space",run:Cwe},{mac:"Alt-`",run:Cwe},{key:"Escape",run:Ewe},{key:"ArrowDown",run:Qye(!0)},{key:"ArrowUp",run:Qye(!1)},{key:"PageDown",run:Qye(!0,"page")},{key:"PageUp",run:Qye(!1,"page")},{key:"Enter",run:_we}],sxe=lue.highest(vfe.computeN([mwe],e=>e.facet(mwe).defaultKeymap?[ixe]:[]))});function cxe(e={}){return[Oxe,xxe.of(e),dfe.domEventHandlers({beforeinput(e,t){let a="historyUndo"==e.inputType?kxe:"historyRedo"==e.inputType?Sxe:null;return!!a&&(e.preventDefault(),a(t))}})]}function uxe(e,t){return function({state:a,dispatch:r}){if(!t&&a.readOnly)return!1;let n=a.field(Oxe,!1);if(!n)return!1;let o=n.pop(e,a,t);return!!o&&(r(o),!0)}}function dxe(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 pxe(e,t){return e.length?t.length?e.concat(t):e:t}function hxe(e,t){if(e.length){let a=e[e.length-1],r=a.selectionsAfter.slice(Math.max(0,a.selectionsAfter.length-Exe));return r.length&&r[r.length-1].eq(t)?e:(r.push(t),dxe(e,e.length-1,1e9,a.setSelAfter(r)))}return[_xe.selection([t])]}function mxe(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 fxe(e,t){if(!e.length)return e;let a=e.length,r=Cxe;for(;a;){let n=gxe(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?[_xe.selection(r)]:Cxe}function gxe(e,t,a){let r=pxe(e.selectionsAfter.length?e.selectionsAfter.map(e=>e.map(t)):Cxe,a);if(!e.changes)return _xe.selection(r);let n=e.changes.map(t),o=t.mapDesc(e.changes,!0),i=e.mapped?e.mapped.composeDesc(o):o;return new _xe(n,kue.mapEffects(e.effects,t),i,e.startSelection.map(o),r)}function vxe(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:tue.range(o.mapPos(r.anchor,1),o.mapPos(r.head,1))}})}var bxe,yxe,wxe,xxe,Oxe,kxe,Sxe,Axe,Txe,_xe,Cxe,Exe,Pxe,Mxe,Nxe,$xe,Ixe,Rxe,Dxe,Lxe=V(()=>{Vue(),mge(),pye(),bxe=wue.define(),yxe=wue.define(),wxe=rue.define(),xxe=rue.define({combine:e=>Nce(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)})}),Oxe=iue.define({create:()=>Mxe.empty,update(e,t){let a=t.state.facet(xxe),r=t.annotation(bxe);if(r){let n=_xe.fromTransaction(t,r.selection),o=r.side,i=0==o?e.undone:e.done;return i=n?dxe(i,i.length,a.minDepth,n):hxe(i,t.startState.selection),new Mxe(0==o?r.rest:i,0==o?i:r.rest)}let n=t.annotation(yxe);if(("full"==n||"before"==n)&&(e=e.isolate()),!1===t.annotation(Sue.addToHistory))return t.changes.empty?e:e.addMapping(t.changes.desc);let o=_xe.fromTransaction(t),i=t.annotation(Sue.time),s=t.annotation(Sue.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 Mxe(e.done.map(_xe.fromJSON),e.undone.map(_xe.fromJSON))}),kxe=uxe(0,!1),Sxe=uxe(1,!1),Axe=uxe(0,!0),Txe=uxe(1,!0),_xe=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&&Kce.fromJSON(t.changes),[],t.mapped&&Yce.fromJSON(t.mapped),t.startSelection&&tue.fromJSON(t.startSelection),t.selectionsAfter.map(tue.fromJSON))}static fromTransaction(t,a){let r=Cxe;for(let e of t.startState.facet(wxe)){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,Cxe)}static selection(t){return new e(void 0,Cxe,void 0,void 0,t)}},Cxe=[],Exe=200,Pxe=/^(input\.type|delete)($|\.)/,Mxe=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||Pxe.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)?dxe(i,i.length-1,n.minDepth,new _xe(t.changes.compose(s.changes),pxe(kue.mapEffects(t.effects,s.changes),s.effects),s.mapped,s.startSelection,Cxe)):dxe(i,i.length,n.minDepth,t),new e(i,Cxe,a,r)}addSelection(t,a,r,n){let o=this.done.length?this.done[this.done.length-1].selectionsAfter:Cxe;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(hxe(this.done,t),this.undone,a,r)}addMapping(t){return new e(fxe(this.done,t),fxe(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:bxe.of({side:e,rest:mxe(r),selection:o}),userEvent:0==e?"select.undo":"select.redo",scrollIntoView:!0});if(n.changes){let a=1==r.length?Cxe:r.slice(0,r.length-1);return n.mapped&&(a=fxe(a,n.mapped)),t.update({changes:n.changes,selection:n.startSelection,effects:n.effects,annotations:bxe.of({side:e,rest:a,selection:o}),filter:!1,userEvent:0==e?"undo":"redo",scrollIntoView:!0})}return null}},Mxe.empty=new Mxe(Cxe,Cxe),Nxe=[{key:"Mod-z",run:kxe,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:Sxe,preventDefault:!0},{linux:"Ctrl-Shift-z",run:Sxe,preventDefault:!0},{key:"Mod-u",run:Axe,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:Txe,preventDefault:!0}],typeof Intl<"u"&&Intl.Segmenter,$xe=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:!0,userEvent:"input"})),!0),Ixe=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(vxe(e,(t,a)=>{a.push({from:t.from,insert:e.facet(Ebe)})}),{userEvent:"input.indent"})),!0),Rxe=({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(vxe(e,(t,a)=>{let r=/^\s*/.exec(t.text)[0];if(!r)return;let n=zce(r,e.tabSize),o=0,i=zve(e,Math.max(0,n-Uve(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),Dxe={key:"Tab",run:Ixe,shift:Rxe}});function Bxe(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 jxe(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||zxe(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 Uxe(e,t,a){for(let r,n=t;65535!=(r=e[n]);n++)if(r==a)return n-t;return-1}function zxe(e,t,a,r){let n=Uxe(a,r,t);return n<0||Uxe(a,r,e)<n}function Hxe(e,t,a){let r=e.cursor(zge.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 Zxe(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 Vxe(e,t){return e[t]|e[t+1]<<16}function qxe(e){if(e.external){let t=+!!e.extend;return(a,r)=>e.external(a,r)<<1|t}return e.get}var Qxe,Fxe,Wxe,Gxe,Xxe,Yxe,Kxe,Jxe,eOe,tOe,aOe,rOe,nOe,oOe,iOe,sOe,lOe,cOe,uOe,dOe=V(()=>{lve(),Qxe=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 Fxe(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 Wxe(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 Fxe(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()}},Fxe=class{constructor(e,t){this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}},Wxe=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);let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}},Gxe=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)}},Yxe=new(Xxe=class{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}),Kxe=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=Yxe,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),t=this.pos+e.length;this.chunk=t>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=Yxe,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}},Jxe=class{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:a}=t.p;jxe(this.data,e,t,this.id,a.data,a.tokenPrecTable)}},Jxe.prototype.contextual=Jxe.prototype.fallback=Jxe.prototype.extend=!1,eOe=class{constructor(e,t,a){this.precTable=t,this.elseToken=a,this.data="string"==typeof e?Bxe(e):e}token(e,t){let a=e.pos,r=0;for(;;){let a=e.next<0,n=e.resolveOffset(1,1);if(jxe(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))}},eOe.prototype.contextual=Jxe.prototype.fallback=Jxe.prototype.extend=!1,tOe=class{constructor(e,t={}){this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,this.extend=!!t.extend}},aOe=typeof process<"u"&&process.env&&/\bparse\b/.test(process.env.LOG),rOe=null,nOe=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?Hxe(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Hxe(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 Hge){if(o==e){if(o<this.safeFrom)return null;let e=o+n.length;if(e<=this.safeTo){let t=n.prop(Ige.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}}},oOe=class{constructor(e,t){this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(e=>new Xxe)}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 Xxe,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 Xxe,{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(Vxe(i,s+2),t,a,r));break}s=Vxe(i,s+2)}i[s]==t&&(r=this.putAction(Vxe(i,s+1),t,a,r))}return r}},iOe=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 Kxe(t,r),this.tokens=new oOe(e,this.stream),this.topTerm=e.top[1];let{from:n}=r[0];this.stacks=[Qxe.start(this,e.top[0],n)],this.fragments=a.length&&this.stream.end-n>4*e.bufferLength?new nOe(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 aOe&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t);if(this.parser.strict)throw aOe&&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 aOe&&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=aOe?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(Ige.contextHash)||0)==a))return e.useNode(i,r),aOe&&console.log(o+this.stackID(e)+` (via reuse of ${n.getName(i.type.id)})`),!0;if(!(i instanceof Hge)||0==i.children.length||i.positions[0]>0)break;let s=i.children[0];if(!(s instanceof Hge&&0==i.positions[0]))break;i=s}}let i=n.stateSlot(e.state,4);if(i>0)return e.reduce(i),aOe&&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),aOe&&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 Zxe(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=aOe?this.stackID(i)+" -> ":"";if(i.deadEnd&&(n||(n=!0,i.restart(),aOe&&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&&(aOe&&console.log(d+this.stackID(u)+" (via force-reduce)"),!this.advanceFully(u,a));e++)aOe&&(d=this.stackID(u)+" -> ");for(let e of i.recoverByInsert(s))aOe&&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),aOe&&console.log(c+this.stackID(i)+` (via recover-delete ${this.parser.getName(s)})`),Zxe(i,a)):(!r||r.score<i.score)&&(r=i)}return r}stackToTree(e){return e.close(),Hge.build({buffer:Gxe.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=(rOe||=new WeakMap).get(e);return t||rOe.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}},sOe=class{constructor(e,t,a){this.source=e,this.flags=t,this.disabled=a}allows(e){return!this.disabled||0==this.disabled[e]}},lOe=e=>e,cOe=class{constructor(e){this.start=e.start,this.shift=e.shift||lOe,this.reduce=e.reduce||lOe,this.reuse=e.reuse||lOe,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}},uOe=class e extends eve{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=Ige[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 Bge(t.map((t,n)=>Lge.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=Mge;let o=Bxe(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(qxe),this.states=Bxe(e.states,Uint32Array),this.data=Bxe(e.stateData),this.goto=Bxe(e.goto),this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map(e=>"number"==typeof e?new Jxe(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 iOe(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 Vxe(a,o+2);break}n=a[o=Vxe(a,o+2)]}if(n==t||0==n)return Vxe(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=Vxe(this.data,a+2)}r=t(Vxe(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=Vxe(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]=qxe(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 sOe(e,a,r)}static deserialize(t){return new e(t)}}});function pOe(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function hOe(e){return e>=48&&e<=57}var mOe,fOe,gOe,vOe,bOe,yOe,wOe,xOe,OOe,kOe=V(()=>{dOe(),Rve(),mOe=[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],fOe=new tOe((e,t)=>{for(let a=!1,r=0,n=0;;n++){let{next:o}=e;if(pOe(o)||45==o||95==o||a&&hOe(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}}}),gOe=new tOe(e=>{if(mOe.includes(e.peek(-1))){let{next:t}=e;(pOe(t)||95==t||35==t||46==t||91==t||58==t&&pOe(e.peek(1))||45==t||38==t)&&e.acceptToken(99)}}),vOe=new tOe(e=>{if(!mOe.includes(e.peek(-1))){let{next:t}=e;if(37==t&&(e.advance(),e.acceptToken(1)),pOe(t)){do{e.advance()}while(pOe(e.next)||hOe(e.next));e.acceptToken(1)}}}),bOe=cve({"AtKeyword import charset namespace keyframes media supports":Ive.definitionKeyword,"from to selector":Ive.keyword,NamespaceName:Ive.namespace,KeyframeName:Ive.labelName,KeyframeRangeName:Ive.operatorKeyword,TagName:Ive.tagName,ClassName:Ive.className,PseudoClassName:Ive.constant(Ive.className),IdName:Ive.labelName,"FeatureName PropertyName":Ive.propertyName,AttributeName:Ive.attributeName,NumberLiteral:Ive.number,KeywordQuery:Ive.keyword,UnaryQueryOp:Ive.operatorKeyword,"CallTag ValueName":Ive.atom,VariableName:Ive.variableName,Callee:Ive.operatorKeyword,Unit:Ive.unit,"UniversalSelector NestingSelector":Ive.definitionOperator,MatchOp:Ive.compareOperator,"ChildOp SiblingOp, LogicOp":Ive.logicOperator,BinOp:Ive.arithmeticOperator,Important:Ive.modifier,Comment:Ive.blockComment,ColorLiteral:Ive.color,"ParenthesizedContent StringLiteral":Ive.string,":":Ive.punctuation,"PseudoOp #":Ive.derefOperator,"; ,":Ive.separator,"( )":Ive.paren,"[ ]":Ive.squareBracket,"{ }":Ive.brace}),yOe={__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},wOe={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},xOe={__proto__:null,not:132,only:132},OOe=uOe.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:[bOe],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:[gOe,vOe,fOe,1,2,3,4,new eOe("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:e=>yOe[e]||-1},{term:58,get:e=>wOe[e]||-1},{term:101,get:e=>xOe[e]||-1}],tokenPrec:1200})});function SOe(){if(!COe&&"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)));COe=t.sort().map(e=>({type:"property",label:e,apply:e+": "}))}return COe||[]}function AOe(e){for(let t=e;;){if(t.type.isTop)return t;if(!(t=t.parent))return e}}function TOe(e,t,a){if(t.to-t.from>4096){let r=ROe.get(t);if(r)return r;let n=[],o=new Set,i=t.cursor(zge.IncludeAnonymous);if(i.firstChild())do{for(let t of TOe(e,i.node,a))o.has(t.label)||(o.add(t.label),n.push(t))}while(i.nextSibling());return ROe.set(t,n),n}{let r=[],n=new Set;return t.cursor().iterate(t=>{if(a(t)&&t.matchContext(DOe)&&":"==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 _Oe(){return new _be(jOe,jOe.data.of({autocomplete:BOe}))}var COe,EOe,POe,MOe,NOe,$Oe,IOe,ROe,DOe,LOe,BOe,jOe,UOe=V(()=>{kOe(),pye(),lve(),COe=null,EOe="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})),POe="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}))),MOe="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})),NOe=["@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})),$Oe=/^(\w[\w-]*|-\w[\w-]*|)$/,IOe=/^-(-[\w-]*)?$/,ROe=new Kge,DOe=["Declaration"],LOe=e=>t=>{let{state:a,pos:r}=t,n=Bve(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:SOe(),validFor:$Oe};if("ValueName"==n.name)return{from:n.from,options:POe,validFor:$Oe};if("PseudoClassName"==n.name)return{from:n.from,options:EOe,validFor:$Oe};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:TOe(a.doc,AOe(n),e),validFor:IOe};if("TagName"==n.name){for(let{parent:e}=n;e;e=e.parent)if("Block"==e.name)return{from:n.from,options:SOe(),validFor:$Oe};return{from:n.from,options:MOe,validFor:$Oe}}if("AtKeyword"==n.name)return{from:n.from,options:NOe,validFor:$Oe};if(!t.explicit)return null;let i=n.resolve(r),s=i.childBefore(r);return s&&":"==s.name&&"PseudoClassSelector"==i.name?{from:r,options:EOe,validFor:$Oe}:s&&":"==s.name&&"Declaration"==i.name||"ArgList"==i.name?{from:r,options:POe,validFor:$Oe}:"Block"==i.name||"Styles"==i.name?{from:r,options:SOe(),validFor:$Oe}:null},BOe=LOe(e=>"VariableName"==e.name),jOe=bbe.define({name:"css",parser:OOe.configure({props:[Mbe.add({Declaration:Gve()}),Dbe.add({"Block KeyframeList":Xve})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}})});function zOe(e){return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}function HOe(e){return 9==e||10==e||13==e||32==e}function ZOe(e,t){let a=e.pos+t;if(dke==a&&uke==e)return cke;let r=e.peek(t);for(;HOe(r);)r=e.peek(++t);let n="";for(;zOe(r);)n+=String.fromCharCode(r),r=e.peek(++t);return uke=e,dke=a,cke=n?n.toLowerCase():r==fke||r==gke?void 0:null}function VOe(e,t){this.name=e,this.parent=t}function qOe(e,t,a){let r=2+e.length;return new tOe(n=>{for(let o=0,i=0,s=0;;s++){if(n.next<0){s&&n.acceptToken(t);break}if(0==o&&n.next==pke||1==o&&n.next==mke||o>=2&&o<r&&n.next==e.charCodeAt(o-2))o++,i++;else if(2!=o&&o!=r||!HOe(n.next)){if(o==r&&n.next==hke){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 QOe(e,t){let a=Object.create(null);for(let r of e.getChildren(KOe)){let e=r.getChild(JOe),n=r.getChild(eke)||r.getChild(tke);e&&(a[t.read(e.from,e.to)]=n?n.type.id==eke?t.read(n.from+1,n.to-1):t.read(n.from,n.to):"")}return a}function FOe(e,t){let a=e.getChild(YOe);return a?t.read(a.from,a.to):" "}function WOe(e,t,a){let r;for(let n of a)if(!n.attrs||n.attrs(r||=QOe(e.node.parent.firstChild,t)))return{parser:n.parser};return null}function GOe(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 ove(t,e,a,r,n)}((e,t)=>{let s=e.type.id;if(s==ake)return WOe(e,t,a);if(s==rke)return WOe(e,t,r);if(s==nke)return WOe(e,t,n);if(s==XOe&&o.length){let a,r=e.node,n=r.firstChild,i=n&&FOe(n,t);if(i)for(let e of o)if(e.tag==i&&(!e.attrs||e.attrs(a||=QOe(n,t)))){let t=r.lastChild,a=t.type.id==oke?t.from:r.to;if(a>n.to)return{parser:e.parser,overlay:[{from:n.to,to:a}]}}}if(i&&s==KOe){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!=FOe(r.parent,t))continue;let e=r.lastChild;if(e.type.id==eke){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==tke)return{parser:a.parser,overlay:[{from:e.from,to:e.to}]}}}}return null})}var XOe,YOe,KOe,JOe,eke,tke,ake,rke,nke,oke,ike,ske,lke,cke,uke,dke,pke,hke,mke,fke,gke,vke,bke,yke,wke,xke,Oke,kke,Ske,Ake,Tke,_ke=V(()=>{dOe(),Rve(),lve(),XOe=20,YOe=22,KOe=23,JOe=24,eke=26,tke=27,ake=28,rke=31,nke=34,oke=37,ike={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},ske={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},lke={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}},cke=null,uke=null,dke=0,pke=60,hke=62,mke=47,fke=63,gke=33,vke=[6,10,7,8,9],bke=new cOe({start:null,shift:(e,t,a,r)=>vke.indexOf(t)>-1?new VOe(ZOe(r,1)||"",e):e,reduce:(e,t)=>t==XOe&&e?e.parent:e,reuse(e,t,a,r){let n=t.type.id;return 6==n||36==n?new VOe(ZOe(r,1)||"",e):e},strict:!1}),yke=new tOe((e,t)=>{if(e.next!=pke)return void(e.next<0&&t.context&&e.acceptToken(57));e.advance();let a=e.next==mke;a&&e.advance();let r=ZOe(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&&ske[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(ike.hasOwnProperty(r))return e.acceptToken(10);n&&lke[n]&&lke[n][r]?e.acceptToken(57,-1):e.acceptToken(6)}},{contextual:!0}),wke=new tOe(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==hke&&t>=2){a>=3&&e.acceptToken(58,-2);break}t=0}e.advance()}}),xke=new tOe((e,t)=>{if(e.next==mke&&e.peek(1)==hke){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==hke&&e.acceptToken(4,1)}),Oke=qOe("script",54,1),kke=qOe("style",55,2),Ske=qOe("textarea",56,3),Ake=cve({"Text RawText":Ive.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":Ive.angleBracket,TagName:Ive.tagName,"MismatchedCloseTag/TagName":[Ive.tagName,Ive.invalid],AttributeName:Ive.attributeName,"AttributeValue UnquotedAttributeValue":Ive.attributeValue,Is:Ive.definitionOperator,"EntityReference CharacterReference":Ive.character,Comment:Ive.blockComment,ProcessingInst:Ive.processingInstruction,DoctypeDecl:Ive.documentMeta}),Tke=uOe.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:bke,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:[Ake],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:[Oke,kke,Ske,xke,yke,wke,0,1,2,3,4,5],topRules:{Document:[0,15]},dialects:{noMatch:0,selfClosing:509},tokenPrec:511})});function Cke(e,t){return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}var Eke,Pke,Mke,Nke,$ke,Ike,Rke,Dke,Lke,Bke,jke,Uke=V(()=>{dOe(),Rve(),Eke=[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],Pke=new cOe({start:!1,shift:(e,t)=>5==t||6==t||315==t?e:316==t,strict:!1}),Mke=new tOe((e,t)=>{let{next:a}=e;(125==a||-1==a||t.context)&&e.acceptToken(313)},{contextual:!0,fallback:!0}),Nke=new tOe((e,t)=>{let a,{next:r}=e;Eke.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}),$ke=new tOe((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}),Ike=new tOe((e,t)=>{if(60!=e.next||!t.dialectEnabled(0)||(e.advance(),47==e.next))return;let a=0;for(;Eke.indexOf(e.next)>-1;)e.advance(),a++;if(Cke(e.next,!0)){for(e.advance(),a++;Cke(e.next,!1);)e.advance(),a++;for(;Eke.indexOf(e.next)>-1;)e.advance(),a++;if(44==e.next)return;for(let t=0;;t++){if(7==t){if(!Cke(e.next,!0))return;break}if(e.next!="extends".charCodeAt(t))break;e.advance(),a++}}e.acceptToken(4,-a)}),Rke=cve({"get set async static":Ive.modifier,"for while do if else switch try catch finally return throw break continue default case":Ive.controlKeyword,"in of await yield void typeof delete instanceof":Ive.operatorKeyword,"let var const using function class extends":Ive.definitionKeyword,"import export from":Ive.moduleKeyword,"with debugger as new":Ive.keyword,TemplateString:Ive.special(Ive.string),super:Ive.atom,BooleanLiteral:Ive.bool,this:Ive.self,null:Ive.null,Star:Ive.modifier,VariableName:Ive.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":Ive.function(Ive.variableName),VariableDefinition:Ive.definition(Ive.variableName),Label:Ive.labelName,PropertyName:Ive.propertyName,PrivatePropertyName:Ive.special(Ive.propertyName),"CallExpression/MemberExpression/PropertyName":Ive.function(Ive.propertyName),"FunctionDeclaration/VariableDefinition":Ive.function(Ive.definition(Ive.variableName)),"ClassDeclaration/VariableDefinition":Ive.definition(Ive.className),PropertyDefinition:Ive.definition(Ive.propertyName),PrivatePropertyDefinition:Ive.definition(Ive.special(Ive.propertyName)),UpdateOp:Ive.updateOperator,"LineComment Hashbang":Ive.lineComment,BlockComment:Ive.blockComment,Number:Ive.number,String:Ive.string,Escape:Ive.escape,ArithOp:Ive.arithmeticOperator,LogicOp:Ive.logicOperator,BitOp:Ive.bitwiseOperator,CompareOp:Ive.compareOperator,RegExp:Ive.regexp,Equals:Ive.definitionOperator,Arrow:Ive.function(Ive.punctuation),": Spread":Ive.punctuation,"( )":Ive.paren,"[ ]":Ive.squareBracket,"{ }":Ive.brace,"InterpolationStart InterpolationEnd":Ive.special(Ive.brace),".":Ive.derefOperator,", ;":Ive.separator,"@":Ive.meta,TypeName:Ive.typeName,TypeDefinition:Ive.definition(Ive.typeName),"type enum interface implements namespace module declare":Ive.definitionKeyword,"abstract global Privacy readonly override":Ive.modifier,"is keyof unique infer":Ive.operatorKeyword,JSXAttributeValue:Ive.attributeValue,JSXText:Ive.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":Ive.angleBracket,"JSXIdentifier JSXNameSpacedName":Ive.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":Ive.attributeName,"JSXBuiltin/JSXIdentifier":Ive.standard(Ive.tagName)}),Dke={__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},Lke={__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},Bke={__proto__:null,"<":187},jke=uOe.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:Pke,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:[Rke],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:[Nke,$ke,Ike,2,3,4,5,6,7,8,9,10,11,12,13,14,Mke,new eOe("$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 eOe("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=>Dke[e]||-1},{term:338,get:e=>Lke[e]||-1},{term:92,get:e=>Bke[e]||-1}],tokenPrec:14749})});function zke(e){return(t,a)=>{let r=t.node.getChild("VariableDefinition");return r&&a(r,e),!0}}function Hke(e,t){let a=Wke.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(zge.IncludeAnonymous).iterate(t=>{if(n)n=!1;else if(t.name){let e=Yke[t.name];if(e&&e(t,o)||Gke.has(t.name))return!1}else if(t.to-t.from>8192){for(let a of Hke(e,t.node))r.push(a);return!1}}),Wke.set(t,r),r}function Zke(e){let t=Bve(e.state).resolveInner(e.pos,-1);if(Jke.indexOf(t.name)>-1)return null;let a="VariableName"==t.name||t.to-t.from<20&&Kke.test(e.state.sliceDoc(t.from,t.to));if(!a&&!e.explicit)return null;let r=[];for(let a=t;a;a=a.parent)Gke.has(a.name)&&(r=r.concat(Hke(e.state.doc,a)));return{options:r,from:a?t.from:e.pos,validFor:Kke}}function Vke(e={}){let t=e.jsx?e.typescript?nSe:rSe:e.typescript?aSe:eSe,a=e.typescript?Fke.concat(sSe):Qke.concat(iSe);return new _be(t,[eSe.data.of({autocomplete:Rye(Jke,Iye(a))}),eSe.data.of({autocomplete:Zke}),e.jsx?cSe:[]])}function qke(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 Qke,Fke,Wke,Gke,Xke,Yke,Kke,Jke,eSe,tSe,aSe,rSe,nSe,oSe,iSe,sSe,lSe,cSe,uSe=V(()=>{Uke(),pye(),Vue(),mge(),lxe(),lve(),Qke=[Xye("function ${name}(${params}) {\n\t${}\n}",{label:"function",detail:"definition",type:"keyword"}),Xye("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{label:"for",detail:"loop",type:"keyword"}),Xye("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",detail:"of loop",type:"keyword"}),Xye("do {\n\t${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),Xye("while (${}) {\n\t${}\n}",{label:"while",detail:"loop",type:"keyword"}),Xye("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",detail:"/ catch block",type:"keyword"}),Xye("if (${}) {\n\t${}\n}",{label:"if",detail:"block",type:"keyword"}),Xye("if (${}) {\n\t${}\n} else {\n\t${}\n}",{label:"if",detail:"/ else block",type:"keyword"}),Xye("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{label:"class",detail:"definition",type:"keyword"}),Xye('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Xye('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Fke=Qke.concat([Xye("interface ${name} {\n\t${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Xye("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Xye("enum ${name} {\n\t${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),Wke=new Kge,Gke=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]),Xke=["FunctionDeclaration"],Yke={FunctionDeclaration:zke("function"),ClassDeclaration:zke("class"),ClassExpression:()=>!0,EnumDeclaration:zke("constant"),TypeAliasDeclaration:zke("type"),NamespaceDeclaration:zke("namespace"),VariableDefinition(e,t){e.matchContext(Xke)||t(e,"variable")},TypeDefinition(e,t){t(e,"type")},__proto__:null},Kke=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Jke=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."],eSe=bbe.define({name:"javascript",parser:jke.configure({props:[Mbe.add({IfStatement:Gve({except:/^\s*({|else\b)/}),TryStatement:Gve({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:$be,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:Fve({closing:"}"}),ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,"Statement Property":Gve({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}),Dbe.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Xve,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:"$"}}),tSe={test:e=>/^JSX/.test(e.name),facet:Dve({commentTokens:{block:{open:"{/*",close:"*/}"}}})},aSe=eSe.configure({dialect:"ts"},"typescript"),rSe=eSe.configure({dialect:"jsx",props:[gbe.add(e=>e.isTop?[tSe]:void 0)]}),nSe=eSe.configure({dialect:"jsx ts",props:[gbe.add(e=>e.isTop?[tSe]:void 0)]},"typescript"),oSe=e=>({label:e,type:"keyword"}),iSe="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(oSe),sSe=iSe.concat(["declare","implements","private","protected","public"].map(oSe)),lSe="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),cSe=dfe.inputHandler.of((e,t,a,r,n)=>{if((lSe?e.composing:e.compositionStarted)||e.state.readOnly||t!=a||">"!=r&&"/"!=r||!eSe.isActiveAt(e.state,t,-1))return!1;let o=n(),{state:i}=o,s=i.changeByRange(e=>{let t,{head:a}=e,n=Bve(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=qke(i.doc,r.firstChild,a))||"JSXFragmentTag"==r.firstChild?.name)){let e=`${t}>`;return{range:tue.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=qke(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 dSe(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 pSe(e,t=!1){for(;e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}function hSe(e,t,a){return a.tags[dSe(e,pSe(t))]?.children||a.allTags}function mSe(e,t){let a=[];for(let r=pSe(t);r&&!r.type.isTop;r=pSe(r.parent)){let n=dSe(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 fSe(e,t,a,r,n){let o=/\s*>/.test(e.sliceDoc(n,n+5))?"":">",i=pSe(a,!0);return{from:r,to:n,options:hSe(e.doc,i,t).map(e=>({label:e,type:"type"})).concat(mSe(e.doc,a).map((e,t)=>({label:"/"+e,apply:"/"+e+o,type:"type",boost:99-t}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function gSe(e,t,a,r){let n=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:a,to:r,options:mSe(e.doc,t).map((e,t)=>({label:e,apply:e+n,type:"type",boost:99-t})),validFor:PSe}}function vSe(e,t){let{state:a,pos:r}=t,n=Bve(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)?gSe(a,n,n.from,r):fSe(a,e,n,n.from,r):"StartTag"==n.name?fSe(a,e,n,r,r):"StartCloseTag"==n.name||"IncompleteCloseTag"==n.name?gSe(a,n,r,r):"OpenTag"==n.name||"SelfClosingTag"==n.name||"AttributeName"==n.name?function(e,t,a,r,n){let o=pSe(a),i=o?t.tags[dSe(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:PSe}}(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=pSe(a),n=r?t.tags[dSe(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 hSe(e.doc,a,t))n.push({label:"<"+r,type:"type"});for(let t of mSe(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 bSe(e){let{extraTags:t,extraGlobalAttributes:a}=e,r=a||t?new ESe(t,a):ESe.default;return e=>vSe(r,e)}function ySe(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=GOe((e.nestedLanguages||[]).concat(NSe),(e.nestedAttributes||[]).concat($Se))),new _be(t?ISe.configure({wrap:t,dialect:a}):a?RSe.configure({dialect:a}):RSe,[RSe.data.of({autocomplete:bSe(e)}),!1===e.autoCloseTags?[]:LSe,Vke().support,_Oe().support])}var wSe,xSe,OSe,kSe,SSe,ASe,TSe,_Se,CSe,ESe,PSe,MSe,NSe,$Se,ISe,RSe,DSe,LSe,BSe,jSe,USe=V(()=>{_ke(),UOe(),uSe(),mge(),Vue(),pye(),TSe={a:{attrs:{href:null,ping:null,type:null,media:null,target:wSe=["_blank","_self","_top","_parent"],hreflang:null}},abbr:ASe={},address:ASe,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:ASe,aside:ASe,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:ASe,base:{attrs:{href:null,target:wSe}},bdi:ASe,bdo:ASe,blockquote:{attrs:{cite:null}},body:ASe,br:ASe,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:kSe=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],formmethod:OSe=["get","post","put","delete"],formnovalidate:["novalidate"],formtarget:wSe,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:ASe,center:ASe,cite:ASe,code:ASe,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:ASe,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:ASe,div:ASe,dl:ASe,dt:ASe,em:ASe,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:ASe,figure:ASe,footer:ASe,form:{attrs:{action:null,name:null,"accept-charset":xSe=["ascii","utf-8","utf-16","latin1","latin1"],autocomplete:["on","off"],enctype:kSe,method:OSe,novalidate:["novalidate"],target:wSe}},h1:ASe,h2:ASe,h3:ASe,h4:ASe,h5:ASe,h6:ASe,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:ASe,hgroup:ASe,hr:ASe,html:{attrs:{manifest:null}},i:ASe,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:kSe,formmethod:OSe,formnovalidate:["novalidate"],formtarget:wSe,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:ASe,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:ASe,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:ASe,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:xSe,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:ASe,noscript:ASe,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:ASe,param:{attrs:{name:null,value:null}},pre:ASe,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:ASe,rt:ASe,ruby:ASe,samp:ASe,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:xSe}},section:ASe,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:ASe,source:{attrs:{src:null,type:null,media:null}},span:ASe,strong:ASe,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:ASe,summary:ASe,sup:ASe,table:ASe,tbody:ASe,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:ASe,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:ASe,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:ASe,time:{attrs:{datetime:null}},title:ASe,tr:ASe,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:ASe,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:ASe},_Se={accesskey:null,class:null,contenteditable:SSe=["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:SSe,autocorrect:SSe,autocapitalize:SSe,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":SSe,"aria-autocomplete":["inline","list","both","none"],"aria-busy":SSe,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":SSe,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":SSe,"aria-hidden":SSe,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":SSe,"aria-multiselectable":SSe,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":SSe,"aria-relevant":null,"aria-required":SSe,"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},CSe="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 CSe)_Se[e]=null;ESe=class{constructor(e,t){this.tags=Object.assign(Object.assign({},TSe),e),this.globalAttrs=Object.assign(Object.assign({},_Se),t),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}},ESe.default=new ESe,PSe=/^[:\-\.\w\u00b7-\uffff]*$/,MSe=eSe.parser.configure({top:"SingleExpression"}),NSe=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,parser:aSe.parser},{tag:"script",attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:rSe.parser},{tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:nSe.parser},{tag:"script",attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),parser:MSe},{tag:"script",attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),parser:eSe.parser},{tag:"style",attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),parser:jOe.parser}],$Se=[{name:"style",parser:jOe.parser.configure({top:"Styles"})}].concat(CSe.map(e=>({name:e,parser:eSe.parser}))),ISe=bbe.define({name:"html",parser:Tke.configure({props:[Mbe.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}}),Dbe.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}}),iye.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),RSe=ISe.configure({wrap:GOe(NSe,$Se)}),DSe=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),LSe=dfe.inputHandler.of((e,t,a,r,n)=>{if(e.composing||e.state.readOnly||t!=a||">"!=r&&"/"!=r||!RSe.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=Bve(i).resolveInner(n,-1);if(a&&">"==r&&"EndTag"==o.name){let a=o.parent;if("CloseTag"!=a.parent?.lastChild?.name&&(t=dSe(i.doc,a.parent,n))&&!DSe.has(t))return{range:e,changes:{from:n,to:n+ +(">"===i.doc.sliceString(n,n+1)),insert:`</${t}>`}}}else if(a&&"/"==r&&"IncompleteCloseTag"==o.name){let e=o.parent;if(o.from==n-2&&"CloseTag"!=e.lastChild?.name&&(t=dSe(i.doc,e,n))&&!DSe.has(t)){let e=n+ +(">"===i.doc.sliceString(n,n+1)),a=`${t}>`;return{range:tue.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)})}),zSe=V(()=>{dOe(),Rve(),BSe=cve({String:Ive.string,Number:Ive.number,"True False":Ive.bool,PropertyName:Ive.propertyName,Null:Ive.null,",":Ive.separator,"[ ]":Ive.squareBracket,"{ }":Ive.brace}),jSe=uOe.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:[BSe],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 HSe(){return new _be(ZSe)}var ZSe,VSe=V(()=>{zSe(),pye(),ZSe=bbe.define({name:"json",parser:jSe.configure({props:[Mbe.add({Object:Gve({except:/^\s*\}/}),Array:Gve({except:/^\s*\]/})}),Dbe.add({"Object Array":Xve})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}})});function qSe(e){return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}function QSe(e){return 9==e||10==e||13==e||32==e}function FSe(e,t){let a=e.pos+t;if(YSe==e&&KSe==a)return XSe;for(;QSe(e.peek(t));)t++;let r="";for(;;){let a=e.peek(t);if(!qSe(a))break;r+=String.fromCharCode(a),t++}return YSe=e,KSe=a,XSe=r||null}function WSe(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 GSe(e,t){return new tOe(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 XSe,YSe,KSe,JSe,eAe,tAe,aAe,rAe,nAe,oAe,iAe=V(()=>{dOe(),Rve(),XSe=null,YSe=null,KSe=0,JSe=new cOe({start:null,shift:(e,t,a,r)=>1==t?new WSe(FSe(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 WSe(FSe(r,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1}),eAe=new tOe((e,t)=>{if(60==e.next)if(e.advance(),47==e.next){e.advance();let a=FSe(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}),tAe=GSe(35,"--\x3e"),aAe=GSe(36,"?>"),rAe=GSe(37,"]]>"),nAe=cve({Text:Ive.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":Ive.angleBracket,TagName:Ive.tagName,"MismatchedCloseTag/TagName":[Ive.tagName,Ive.invalid],AttributeName:Ive.attributeName,AttributeValue:Ive.attributeValue,Is:Ive.definitionOperator,"EntityReference CharacterReference":Ive.character,Comment:Ive.blockComment,ProcessingInst:Ive.processingInstruction,DoctypeDecl:Ive.documentMeta,Cdata:Ive.special(Ive.string)}),oAe=uOe.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:JSe,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:[nAe],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:[eAe,tAe,aAe,rAe,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0})});function sAe(e,t){let a=t&&t.getChild("TagName");return a?e.sliceString(a.from,a.to):""}function lAe(e,t){let a=t&&t.firstChild;return a&&"OpenTag"==a.name?sAe(e,a):""}function cAe(e){for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}function uAe(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function dAe(e){return"string"==typeof e?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function pAe(e,t){let a=[],r=[],n=Object.create(null);for(let e of t){let t=uAe(e);a.push(t),e.global&&r.push(t),e.values&&(n[e.name]=e.values.map(dAe))}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(dAe)),uAe(e)))));let c=new fAe(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=Bve(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:cAe(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:cAe(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:cAe(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=lAe(t,u);return a&&(e=s[a]?.children||o),{from:c,options:e.map(e=>e.completion),validFor:gAe}}if("closeTag"==l){let a=lAe(t,u);return a?{from:c,to:e.pos+ +(">"==t.sliceString(e.pos,e.pos+1)),options:[s[a]?.closeNameCompletion||{label:a+">",type:"type"}],validFor:gAe}:null}if("attrName"==l)return{from:c,options:s[sAe(t,u)]?.attrs||r,validFor:gAe};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[sAe(t,u)]?.attrValues||n)[a];return r&&r.length?{from:c,to:e.pos+ +('"'==t.sliceString(e.pos,e.pos+1)),options:r,validFor:/^"[^"]*"?$/}:null}if("tag"==l){let a=lAe(t,u),r=s[a],n=[],l=u&&u.lastChild;a&&(!l||"CloseTag"!=l.name||sAe(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 hAe(e={}){let t=[vAe.data.of({autocomplete:pAe(e.elements||[],e.attributes||[])})];return!1!==e.autoCloseTags&&t.push(bAe),new _be(vAe,t)}function mAe(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 fAe,gAe,vAe,bAe,yAe=V(()=>{iAe(),pye(),Vue(),mge(),fAe=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"})):[]}},gAe=/^[:\-\.\w\u00b7-\uffff]*$/,vAe=bbe.define({name:"xml",parser:oAe.configure({props:[Mbe.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}),Dbe.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}}),iye.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}}),bAe=dfe.inputHandler.of((e,t,a,r,n)=>{if(e.composing||e.state.readOnly||t!=a||">"!=r&&"/"!=r||!vAe.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=Bve(i).resolveInner(a,-1);if(n&&">"==r&&"EndTag"==o.name){let r=o.parent;if("CloseTag"!=r.parent?.lastChild?.name&&(t=mAe(i.doc,r.parent,a)))return{range:e,changes:{from:a,to:a+ +(">"===i.doc.sliceString(a,a+1)),insert:`</${t}>`}}}else if(n&&"/"==r&&"StartCloseTag"==o.name){let e=o.parent;if(o.from==a-2&&"CloseTag"!=e.lastChild?.name&&(t=mAe(i.doc,e,a))){let e=a+ +(">"===i.doc.sliceString(a,a+1)),r=`${t}>`;return{range:tue.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 wAe(e,t){for(let a=0,r=t-e.pos-1;;r--,a++){let t=e.peek(r);if(OAe(t)||-1==t)return a}}function xAe(e){return 32==e||9==e}function OAe(e){return 10==e||13==e}function kAe(e){return xAe(e)||OAe(e)}function SAe(e){return e<0||kAe(e)}function AAe(e,t,a=0){return e.peek(a)==t&&e.peek(a+1)==t&&e.peek(a+2)==t&&SAe(e.peek(a+3))}function TAe(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function _Ae(e,t){return 37==e.next?(e.advance(),TAe(e.next)&&e.advance(),TAe(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 CAe(e){if(e.advance(),60==e.next){for(e.advance();;)if(!_Ae(e,!0)){62==e.next&&e.advance();break}}else for(;_Ae(e,!1););}function EAe(e){for(e.advance();!SAe(e.next)&&"f"!=NAe(e.tag);)e.advance()}function PAe(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(OAe(o)){if(t)return!1;r=!0}else if(t&&e.pos>=n+1024)return!1}return!r}function MAe(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(!PAe(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||OAe(e.next))return!1;e.advance()}}function NAe(e){return e<33?"u":e>125?"s":UAe[e-33]}function $Ae(e,t){let a=NAe(e);return"u"!=a&&!(t&&"f"==a)}function IAe(e,t,a,r){if("s"!=NAe(e.next)&&(63!=e.next&&58!=e.next&&45!=e.next||!$Ae(e.peek(1),a)))return!1;e.advance();let n=e.pos;for(;;){let o=e.next,i=0,s=r+1;for(;kAe(o);){if(OAe(o)){if(t)return!1;s=0}else s++;o=e.peek(++i)}if(!(o>=0&&(58==o?$Ae(e.peek(i+1),a):35==o?32!=e.peek(i-1):$Ae(o,a)))||!a&&s<=r||0==s&&!a&&(AAe(e,45,i)||AAe(e,46,i)))break;if(t&&"f"==NAe(o))return!1;for(let t=i;t>=0;t--)e.advance();if(t&&e.pos>n+1024)return!1}return!0}var RAe,DAe,LAe,BAe,jAe,UAe,zAe,HAe,ZAe,VAe,qAe=V(()=>{dOe(),Rve(),RAe=63,DAe=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}},DAe.top=new DAe(null,-1,0),LAe=new cOe({start:DAe.top,reduce:(e,t)=>3!=e.type||20!=t&&34!=t?e:e.parent,shift(e,t,a,r){if(3==t)return new DAe(e,wAe(r,r.pos),1);if(65==t||5==t)return new DAe(e,wAe(r,r.pos),2);if(t==RAe)return e.parent;if(19==t||33==t)return new DAe(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 DAe(e,e.depth+ +t[0],4)}return e},hash:e=>e.hash}),BAe=new tOe((e,t)=>{if(-1==e.next&&t.canShift(64))return e.acceptToken(64);let a=e.peek(-1);if((OAe(a)||a<0)&&3!=t.context.type){if(AAe(e,45)){if(!t.canShift(RAe))return e.acceptToken(1,3);e.acceptToken(RAe)}if(AAe(e,46)){if(!t.canShift(RAe))return e.acceptToken(2,3);e.acceptToken(RAe)}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||!SAe(e.peek(1))))&&-1!=e.next&&!OAe(e.next)&&35!=e.next&&e.acceptToken(RAe,-a)}},{contextual:!0}),jAe=new tOe((e,t)=>{if(3!=t.context.type)if(45==e.next)e.advance(),SAe(e.next)&&e.acceptToken(1==t.context.type&&t.context.depth==wAe(e,e.pos-1)?4:3);else if(63==e.next)e.advance(),SAe(e.next)&&e.acceptToken(2==t.context.type&&t.context.depth==wAe(e,e.pos-1)?6:5);else{let a=e.pos;for(;;)if(xAe(e.next)){if(e.pos==a)return;e.advance()}else if(33==e.next)CAe(e);else{if(38!=e.next){if(42==e.next){EAe(e);break}if(39==e.next||34==e.next){if(PAe(e,!0))break;return}if(91==e.next||123==e.next){if(!MAe(e))return;break}IAe(e,!0,!1,0);break}EAe(e)}for(;xAe(e.next);)e.advance();if(58==e.next){if(e.pos==a&&t.canShift(29))return;SAe(e.peek(1))&&e.acceptTokenTo(2==t.context.type&&t.context.depth==wAe(e,a)?66:65,a)}}else 63==e.next&&(e.advance(),SAe(e.next)&&e.acceptToken(7))},{contextual:!0}),UAe="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif",zAe=new tOe((e,t)=>{if(33==e.next)CAe(e),e.acceptToken(12);else if(38==e.next||42==e.next){let t=38==e.next?10:11;EAe(e),e.acceptToken(t)}else 39==e.next||34==e.next?(PAe(e,!1),e.acceptToken(9)):IAe(e,!1,3==t.context.type,t.context.depth)&&e.acceptToken(8)}),HAe=new tOe((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&&(AAe(e,45,n)||AAe(e,46,n))||!OAe(o)&&(a<0&&(a=Math.max(t.context.depth+1,n)),n<a))break;for(;;){if(e.next<0)break e;let t=OAe(e.next);if(e.advance(),t)continue e;r=e.pos}}e.acceptTokenTo(13,r)}),ZAe=cve({DirectiveName:Ive.keyword,DirectiveContent:Ive.attributeValue,"DirectiveEnd DocEnd":Ive.meta,QuotedLiteral:Ive.string,BlockLiteralHeader:Ive.special(Ive.string),BlockLiteralContent:Ive.content,Literal:Ive.content,"Key/Literal Key/QuotedLiteral":Ive.definition(Ive.propertyName),"Anchor Alias":Ive.labelName,Tag:Ive.typeName,Comment:Ive.lineComment,": , -":Ive.separator,"?":Ive.punctuation,"[ ]":Ive.squareBracket,"{ }":Ive.brace}),VAe=uOe.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:LAe,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[ZAe],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:[BAe,jAe,zAe,HAe,0,1],topRules:{Stream:[0,15]},tokenPrec:0})});function QAe(){return new _be(FAe)}var FAe,WAe=V(()=>{qAe(),pye(),Rve(),dOe(),FAe=bbe.define({name:"yaml",parser:VAe.configure({props:[Mbe.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:Fve({closing:"}"}),FlowSequence:Fve({closing:"]"})}),Dbe.add({"FlowMapping FlowSequence":Xve,"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}}),Ive.meta});function GAe(){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++)XAe(e,arguments[t]);return e}function XAe(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++)XAe(e,t[a])}}var YAe=V(()=>{});function KAe(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 lTe(r.from,a,r.diagnostic)}else r=new lTe(e,a,t||n.diagnostics[0])}),r}function JAe(e,t){let a=t.pos,r=t.end||a,n=e.state.facet(vTe).hideOn(e,a,r);if(null!=n)return n;let o=e.startState.doc.lineAt(t.pos);return!(!e.effects.some(e=>e.is(uTe))&&!e.changes.touchesRange(o.from,Math.max(o.to,r)))}function eTe(e,t){return e.field(hTe,!1)?t:t.concat(kue.appendConfig.of(OTe))}function tTe(e,t,a){let r,{diagnostics:n}=e.state.field(hTe),o=-1,i=-1;n.between(t-+(a<0),t+ +(a>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(vTe).tooltipFilter;return r&&s&&(r=s(r,e.state)),r?{pos:o,end:i,above:e.state.doc.lineAt(o).to<i,create:()=>({dom:aTe(e,r)})}:null}function aTe(e,t){return GAe("ul",{class:"cm-tooltip-lint"},t.map(t=>nTe(e,t,!1)))}function rTe(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 nTe(e,t,a){let r=a?rTe(t.actions):[];return GAe("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},GAe("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=KAe(e.state.field(hTe).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),GAe("u",s.slice(l,l+1)),s.slice(l+1)];return GAe("button",{type:"button",class:"cm-diagnosticAction",onclick:i,onmousedown:i,"aria-label":` Action: ${s}${l<0?"":` (access key "${r[n]})"`}.`},c)}),t.source&&GAe("div",{class:"cm-diagnosticSource"},t.source))}function oTe(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 iTe(e){return"error"==e?4:"warning"==e?3:"info"==e?2:1}function sTe(e){let t="hint",a=1;for(let r of e){let e=iTe(r.severity);e>a&&(a=e,t=r.severity)}return t}var lTe,cTe,uTe,dTe,pTe,hTe,mTe,fTe,gTe,vTe,bTe,yTe,wTe,xTe,OTe,kTe,STe,ATe,TTe,_Te=V(()=>{mge(),Vue(),YAe(),lTe=class{constructor(e,t,a){this.from=e,this.to=t,this.diagnostic=a}},cTe=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(vTe).markerFilter;o&&(n=o(n,r));let i=t.slice().sort((e,t)=>e.from-t.from||e.to-t.to),s=new Iue,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=sTe(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,ghe.widget({widget:new bTe(o),diagnostics:l.slice()}));else{let e=l.reduce((e,t)=>t.markClass?e+" "+t.markClass:e,"");s.add(t,a,ghe.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,KAe(u))}},uTe=kue.define(),dTe=kue.define(),pTe=kue.define(),hTe=iue.define({create:()=>new cTe(ghe.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=KAe(a,e.selected.diagnostic,n)||KAe(a,null,n)}!a.size&&n&&t.state.facet(vTe).autoPanel&&(n=null),e=new cTe(a,n,r)}for(let a of t.effects)if(a.is(uTe)){let r=t.state.facet(vTe).autoPanel?a.value.length?wTe.open:null:e.panel;e=cTe.init(a.value,r,t.state)}else a.is(dTe)?e=new cTe(e.diagnostics,a.value?wTe.open:null,e.selected):a.is(pTe)&&(e=new cTe(e.diagnostics,e.panel,a.value));return e},provide:e=>[Kfe.from(e,e=>e.panel),dfe.decorations.from(e,e=>e.diagnostics)]}),mTe=ghe.mark({class:"cm-lintRange cm-lintRange-active"}),fTe=e=>{let t=e.state.field(hTe,!1);return!(!t||!t.panel)&&(e.dispatch({effects:dTe.of(!1)}),!0)},gTe=eme.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(vTe);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(vTe);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:eTe(e,[uTe.of(t)])}}(this.view.state,t.reduce((e,t)=>e.concat(t))))},e=>{Bde(this.view.state,e)})}}update(e){let t=e.state.facet(vTe);(e.docChanged||t!=e.startState.facet(vTe)||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)}}),vTe=rue.define({combine:e=>Object.assign({sources:e.map(e=>e.source).filter(e=>null!=e)},Nce(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}))}),bTe=class extends mhe{constructor(e){super(),this.sev=e}eq(e){return e.sev==this.sev}toDOM(){return GAe("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}},yTe=class{constructor(e,t){this.diagnostic=t,this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),this.dom=nTe(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}},wTe=class e{constructor(e){this.view=e,this.items=[];this.list=GAe("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:t=>{if(27==t.keyCode)fTe(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=rTe(a.actions);for(let n=0;n<r.length;n++)if(r[n].toUpperCase().charCodeAt(0)==t.keyCode){let t=KAe(this.view.state.field(hTe).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=GAe("div",{class:"cm-panel-lint"},this.list,GAe("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>fTe(this.view)},"×")),this.update()}get selectedIndex(){let e=this.view.state.field(hTe).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(hTe),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 yTe(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 yTe(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=KAe(this.view.state.field(hTe).diagnostics,this.items[e].diagnostic);t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,effects:pTe.of(t)})}static open(t){return new e(t)}},xTe=dfe.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:oTe("#d11")},".cm-lintRange-warning":{backgroundImage:oTe("orange")},".cm-lintRange-info":{backgroundImage:oTe("#999")},".cm-lintRange-hint":{backgroundImage:oTe("#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}}}),OTe=[hTe,dfe.decorations.compute([hTe],e=>{let{selected:t,panel:a}=e.field(hTe);return t&&a&&t.from!=t.to?ghe.set([mTe.range(t.from,t.to)]):ghe.none}),Rpe(tTe,{hideOn:JAe}),xTe]}),CTe=V(()=>{pye(),mge(),kTe=({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}),[dfe.theme(r,{dark:"dark"===e}),ibe(Fbe.define(a))]}}),ETe=V(()=>{Rve(),CTe(),STe=kTe({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:[Ive.standard(Ive.tagName),Ive.tagName],color:"var(--scalar-color-purple)"},{tag:[Ive.comment],color:"var(--scalar-color-3)"},{tag:[Ive.className],color:"var(--scalar-color-orange)"},{tag:[Ive.variableName,Ive.propertyName,Ive.attributeName],color:"var(--scalar-color-1)"},{tag:[Ive.operator],color:"var(--scalar-color-2)"},{tag:[Ive.keyword,Ive.typeName,Ive.typeOperator],color:"var(--scalar-color-green)"},{tag:[Ive.string],color:"var(--scalar-color-blue)"},{tag:[Ive.bracket,Ive.regexp,Ive.meta],color:"var(--scalar-color-3)"},{tag:[Ive.number],color:"var(--scalar-color-orange)"},{tag:[Ive.name,Ive.quote],color:"var(--scalar-color-3)"},{tag:[Ive.heading],color:"var(--scalar-color-3)",fontWeight:"bold"},{tag:[Ive.emphasis],color:"var(--scalar-color-3)",fontStyle:"italic"},{tag:[Ive.deleted],color:"var(--scalar-color-3)",backgroundColor:"transparent"},{tag:[Ive.atom,Ive.bool,Ive.special(Ive.variableName)],color:"var(--scalar-color-3)"},{tag:[Ive.url,Ive.escape,Ive.regexp,Ive.link],color:"var(--scalar-color-1)"},{tag:Ive.link,textDecoration:"underline"},{tag:Ive.strikethrough,textDecoration:"line-through"},{tag:Ive.invalid,color:"var(--scalar-color-3)"}]})}),PTe=V(()=>{mge(),ATe=new Sfe({regexp:/(\{[^}]+\})/g,decoration:()=>ghe.mark({attributes:{class:"api-client-url-variable"}})}),TTe=()=>eme.fromClass(class{variables;constructor(e){this.variables=ATe.createDeco(e)}update(e){this.variables=ATe.updateDeco(e,this.variables)}},{decorations:e=>e.variables,provide:e=>dfe.atomicRanges.of(t=>t.plugin(e)?.variables||ghe.none)})});function MTe({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=[Npe(),cxe(),vfe.of(Nxe),ibe(Kbe,{fallback:!0}),dfe.theme({".cm-line":{lineHeight:"22px",padding:"0 2px 0 4px"},".cm-gutterElement":{lineHeight:"22px"},".cm-foldGutter .cm-gutterElement":{display:"flex",alignItems:"center",paddingLeft:"4px"},".cm-foldMarker":{display:"flex",alignItems:"center",justifyContent:"center",height:"22px",color:"var(--scalar-color-3)",cursor:"pointer"},".cm-foldMarker:hover":{color:"var(--scalar-color-1)"},".cm-foldMarker svg":{width:"16px",height:"16px"},".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)"}}),dfe.updateListener.of(t=>{t.docChanged&&e?.(t.state.doc.toString())}),dfe.domEventHandlers({blur:(e,a)=>{t?.(a.state.doc.toString(),e)},focus:(e,t)=>{a?.(t.state.doc.toString(),e)}}),dfe.editorAttributes.of({class:o.join(" ")}),...f];if(r&&v.push(r),h||v.push(STe),i?v.push(dfe.editable.of(!1)):(v.push(Eue.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+Ibe)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=Hve(i,t.from);if(null==a)continue;let r=/^\s*/.exec(t.text)[0],n=zve(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}),lbe(),function(e={}){return[$we,Awe,mwe.of(e),Mwe,sxe,Iwe]}(),vfe.of([...ixe,RTe]),lbe()),d||v.push([rxe,exe],vfe.of([...oxe])),p?v.push(vfe.of([{key:"Tab",run:()=>!1,shift:()=>!1}])):v.push(vfe.of([Dxe]))),g&&v.push(function(e){return eme.fromClass(class{constructor(t){this.view=t,this.placeholder=e?ghe.set([ghe.widget({widget:new Ife(e),side:1}).range(0)]):ghe.none}get decorations(){return this.view.state.doc.length?ghe.none:this.placeholder}},{decorations:e=>e.decorations})}(g)),s&&v.push(function(e={}){return[dge.of(e),jpe(),hge]}()),c&&v.push(nbe({markerDOM:e=>{let t=document.createElement("div");return t.classList.add("cm-foldMarker"),t.innerHTML=e?NTe:$Te,t}})),n&&LTe[n]&&(v.push(LTe[n]()),c||v.push(nbe({markerDOM:e=>{let t=document.createElement("div");return t.classList.add("cm-foldMarker"),t.innerHTML=e?NTe:$Te,t}}))),m&&"json"===n){let e=function(e,t={}){return[vTe.of({source:e,config:t}),gTe,OTe]}(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(TTe()),u?v.push(vfe.of([{key:"Enter",run:()=>!0},{key:"Ctrl-Enter",mac:"Cmd-Enter",run:()=>!0},{key:"Shift-Enter",run:()=>!0}])):v.push(vfe.of([{key:"Enter",run:$xe}])),v}var NTe,$Te,ITe,RTe,DTe,LTe,BTe=V(()=>{lxe(),Lxe(),UOe(),USe(),VSe(),yAe(),WAe(),pye(),_Te(),Vue(),mge(),Bc(),ETe(),PTe(),NTe='<svg width="1em" height="1em" 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-width="1" stroke-linecap="round" stroke-linejoin="round"/></svg>',$Te='<svg width="1em" height="1em" 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-width="1" stroke-linecap="round" stroke-linejoin="round"/></svg>',dfe.EDIT_CONTEXT=!1,ITe=e=>"provider"in e&&!!Qa(e.provider),RTe={key:"Mod-a",run:e=>(e.dispatch({selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},DTe=e=>{let t=Ha(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=il(()=>({onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,disableTabIndent:Qa(e.disableTabIndent),language:Qa(e.language),classes:Qa(e.classes),readOnly:Qa(e.readOnly),lineNumbers:Qa(e.lineNumbers),withVariables:Qa(e.withVariables),forceFoldGutter:Qa(e.forceFoldGutter),disableEnter:Qa(e.disableEnter),disableCloseBrackets:Qa(e.disableCloseBrackets),withoutTheme:Qa(e.withoutTheme),lint:Qa(e.lint),additionalExtensions:Qa(e.extensions),placeholder:Qa(e.placeholder)}));function n(){if(e.codeMirrorRef.value){let n=ITe(e)?Qa(e.provider):null,o=MTe({...r.value,provider:n});t.value=new dfe({parent:e.codeMirrorRef.value,extensions:o}),ITe(e)||a(Qa(e.content))}}return hn(e.codeMirrorRef,()=>{t.value?.destroy(),n()},{immediate:!0}),os(()=>t.value?.destroy()),hn(()=>ITe(e)?Qa(e.provider):null,()=>{ITe(e)&&(t.value?.destroy(),n())}),hn(r,()=>{if(!t.value)return;let a=ITe(e)?Qa(e.provider):null,n=MTe({...r.value,provider:a});requestAnimationFrame(()=>{t.value?.dispatch({effects:kue.reconfigure.of(n)})})},{immediate:!0}),hn(()=>Qa(e.content),()=>{ITe(e)||a(Qa(e.content))},{immediate:!0}),{setCodeMirrorContent:a,codeMirror:t}},LTe={html:ySe,json:HSe,yaml:QAe,css:_Oe,xml:hAe}});var jTe,UTe,zTe,HTe,ZTe,VTe,qTe,QTe,FTe,WTe,GTe,XTe,YTe,KTe,JTe,e_e,t_e,a_e,r_e,n_e,o_e,i_e=V(()=>{Bc()}),s_e=V(()=>{Vue(),mge(),Nye(),BTe(),i_e()}),l_e=V(()=>{Qle(),Bc(),s_e(),RK(),Yk(),jTe=class e extends mhe{variableName;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:eX(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=Rc(Ble,{context:this.variableInfo,target:e}),this.app.mount(document.createElement("div")),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}},UTe=e=>eme.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 Iue,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(Zx.VARIABLES.source,Zx.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,ghe.widget({widget:new jTe(l,e.environment,c),side:1}))}}return a.finish()}},{decorations:e=>e.decorations}),zTe=dfe.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)}})}),c_e=V(()=>{HTe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"}),u_e=V(()=>{c_e(),ZTe=(e=21)=>{let t="",a=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=HTe[63&a[e]];return t}}),d_e=V(()=>{Nie(),sle(),l_e(),Bc(),B_(),s_e(),RK(),u_e(),VTe={class:"whitespace-nowrap"},qTe=["id"],QTe={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"},FTe={key:5,class:"centered-y text-orange absolute right-7 text-xs"},WTe={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.cm-focused]:z-1"},GTe={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"},XTe=Cn({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=ao(),o=n.id||`id-${ZTe()}`,i=Ha(!1),s=il(()=>!e.enum?.length&&("boolean"===e.type||Array.isArray(e.type)&&e.type.includes("boolean"))),l=il(()=>e.nullable?["true","false","null"]:["true","false"]),c=il(()=>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(Mye),t},f=il(()=>e.withFakeData?aX.map(e=>({key:e,description:eX(e)})):[]),g=il(()=>UTe({environment:e.environment,isContextFunctionName:rX,isReadOnly:"modal"===e.layout})),v=il(()=>[...m(),g.value,zTe]),b=Ha(null),y=e=>"string"==typeof e?e:JSON.stringify(e),{codeMirror:w,setCodeMirrorContent:x}=DTe({content:Ga(()=>y(e.modelValue)),onChange:e=>{u(e),_()},onFocus:()=>{i.value=!0},onBlur:p,codeMirrorRef:b,disableTabIndent:Ga(()=>e.disableTabIndent),disableEnter:Ga(()=>e.disableEnter),disableCloseBrackets:Ga(()=>e.disableCloseBrackets),lineNumbers:Ga(()=>e.lineNumbers),language:Ga(()=>e.language),lint:Ga(()=>e.lint),extensions:v,placeholder:Ga(()=>e.placeholder)});hn(w,()=>{w.value&&Object.hasOwn(n,"autofocus")&&w.value.focus()});let O=Ha(!1),k=Ha(""),S=Ha({left:0,top:0}),A=Ha(null),{handleDropdownSelect:T,updateDropdownVisibility:_}=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 hn(a,s),hn(()=>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:w,query:k,showDropdown:O,dropdownPosition:S}),C=il(()=>O.value&&e.withVariables&&"modal"!==e.layout&&(!!e.environment||e.withFakeData)),E=(t,a)=>{O.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(w.value?.state.doc.toString()??"",a))};return t({focus:e=>{if(!w.value||(w.value.focus(),!N_(e)))return;let t="start"===e?0:"end"===e?w.value.state.doc.length:e;w.value.dispatch({selection:{anchor:t},scrollIntoView:!0})},isFocused:i,handleChange:u,handleSubmit:d,handleBlur:p,booleanOptions:l,codeMirror:w,codeMirrorRef:b,modelValue:e.modelValue,setCodeMirrorContent:x,cursorPosition:()=>w.value?.state.selection.main.head,serializeValue:y}),(t,a)=>(Ho(),Qo(Bs,null,[e.disabled?(Ho(),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"},[Xo("span",VTe,Yt(e.modelValue),1)],2)):e.enum?.length?(Ho(),Fo(kie,{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?(Ho(),Fo(kie,{key:2,default:e.default,modelValue:e.modelValue,value:l.value,"onUpdate:modelValue":h},null,8,["default","modelValue","value"])):e.examples?.length?(Ho(),Fo(kie,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":h},null,8,["default","modelValue","value"])):(Ho(),Qo("div",ii({key:4,id:qa(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]||=Pc(Cc(e=>E("down",e),["stop"]),["down"]),a[1]||=Pc(e=>E("enter",e),["enter"]),a[2]||=Pc(e=>E("escape",e),["escape"]),a[3]||=Pc(Cc(e=>E("up",e),["stop"]),["up"])]}),[e.disableTabIndent?ai("",!0):(Ho(),Qo("div",QTe,[...a[6]||=[ei(" Press ",-1),Xo("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Esc",-1),ei(" then ",-1),Xo("kbd",{class:"-mx-0.25 rounded border px-0.5 font-mono"},"Tab",-1),ei(" to exit ",-1)]]))],16,qTe)),t.$slots.warning?(Ho(),Qo("div",FTe,[Kn(t.$slots,"warning",{},void 0,!0)])):ai("",!0),t.$slots.icon?(Ho(),Qo("div",WTe,[Kn(t.$slots,"icon",{},void 0,!0)])):ai("",!0),e.required?(Ho(),Qo("div",GTe," Required ")):ai("",!0),C.value?(Ho(),Fo(ale,{key:8,ref_key:"dropdownRef",ref:A,contextFunctionItems:f.value,dropdownPosition:S.value,environment:e.environment,query:k.value,onClose:a[4]||=e=>O.value=!1,onRedirect:a[5]||=e=>r("navigate",{page:"document",path:"environment"}),onSelect:qa(T)},null,8,["contextFunctionItems","dropdownPosition","environment","query","onSelect"])):ai("",!0)],64))}})}),p_e=V(()=>{kh(),d_e(),YTe=yh(XTe,[["__scopeId","data-v-dfc591f4"]])}),h_e=V(()=>{Bc(),h_(),KTe=["role"],JTe={key:0,class:"sr-only"},e_e=Cn({__name:"DataTable",props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){let{cx:t}=c_();return(a,r)=>(Ho(),Qo("div",at(Ko(qa(t)(e.scroll?"overflow-x-auto custom-scroll":"overflow-visible","scalar-data-table"))),[Xo("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?(Ho(),Qo("caption",JTe,[Kn(a.$slots,"caption")])):ai("",!0),Kn(a.$slots,"default")],14,KTe)],16))}})}),m_e=V(()=>{h_e(),t_e=e_e}),f_e=V(()=>{Bc(),h_(),a_e=Cn({inheritAttrs:!1,__name:"DataTableCell",props:{is:{default:"td"}},setup(e){let{cx:t}=c_();return(a,r)=>(Ho(),Fo(Fn(e.is),ii(qa(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:sn(()=>[Kn(a.$slots,"default")]),_:3},16))}})}),g_e=V(()=>{f_e(),r_e=a_e}),v_e=V(()=>{g_e(),Bc(),h_(),n_e=Cn({__name:"DataTableHeader",setup(e){let{cx:t}=c_();return(e,a)=>(Ho(),Fo(r_e,ii({is:"th"},qa(t)("items-center font-medium px-2 min-w-0 -outline-offset-1")),{default:sn(()=>[Kn(e.$slots,"default")]),_:3},16))}})}),b_e=V(()=>{v_e(),o_e=n_e});function y_e(e,t){return Ho(),Qo("tr",w_e,[Kn(e.$slots,"default")])}var w_e,x_e,O_e,k_e,S_e,A_e,T_e,__e,C_e,E_e,P_e,M_e,N_e,$_e,I_e,R_e,D_e,L_e,B_e,j_e=V(()=>{kh(),Bc(),w_e={class:"group contents"},x_e=yh({},[["render",y_e]])}),U_e=V(()=>{O_e=e=>{if(e instanceof File)return e.name}}),z_e=V(()=>{k_e=(e,t)=>{let a=e?.variables?.find(e=>e.name===t);if(a)return"string"==typeof a.value?a.value:a.value?.default}}),H_e=V(()=>{z_e(),RK(),S_e=(e,t)=>{if(rX(e))return{type:"contextFunction",identifier:e,details:eX(e)};let a=k_e(t,e);return{type:"environment",name:e,value:a||"No value",isDefined:!!a}}}),Z_e=V(()=>{Yk(),A_e=(e,t)=>{if(!t||!e.includes("{{"))return"";let a,r=new RegExp(Zx.VARIABLES.source,Zx.VARIABLES.flags),n="";for(;null!==(a=r.exec(e));)n+=`|${a[1]??""}`;return n}}),V_e=V(()=>{T_e=e=>"string"==typeof e?e:null==e?"":JSON.stringify(e)}),q_e=V(()=>{Nie(),sle(),Qle(),z_e(),H_e(),Z_e(),V_e(),Bc(),B_(),RK(),u_e(),Yk(),__e={class:"whitespace-nowrap"},C_e=["id"],E_e=["aria-activedescendant","aria-autocomplete","aria-controls","aria-expanded","aria-invalid","aria-label","aria-readonly","aria-required","contenteditable","data-placeholder","role"],P_e={key:5,class:"centered-y text-orange absolute right-7 text-xs"},M_e={key:6,class:"centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.code-input-lite__editor:focus]:z-1"},N_e={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 peer-has-[.code-input-lite__editor:focus]:opacity-0"},$_e=Cn({inheritAttrs:!1,__name:"CodeInputLite",props:{modelValue:{type:[String,Number,Boolean,Array,Object]},environment:{},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},error:{type:Boolean,default:!1},layout:{default:"desktop"},placeholder:{},required:{type:Boolean,default:!1},emitOnBlur:{type:Boolean,default:!0},withVariables:{type:Boolean,default:!0},withFakeData:{type:Boolean,default:!1},alwaysEmitChange:{type:Boolean,default:!1},linethrough:{type:Boolean,default:!1},type:{},enum:{},examples:{},default:{type:[String,Number,Boolean,Array,Object]},nullable:{type:Boolean,default:!1}},emits:["update:modelValue","submit","blur","navigate"],setup(e,{expose:t,emit:a}){let r=a,n=ao(),o=Ha(null),i=il(()=>n.id??o.value??void 0),s=()=>{!n.id&&null===o.value&&(o.value=`id-${ZTe()}`)},l=Mn("editorRef"),c=Ha(null),u=il(()=>i.value?`${i.value}-listbox`:void 0),d=il(()=>c.value?.activeOptionId),p=Ha(!1),h=Ha(!0),m=Ha(!1),f=e=>0===e.trim().length,g=il(()=>!e.enum?.length&&("boolean"===e.type||Array.isArray(e.type)&&e.type.includes("boolean"))),v=il(()=>e.nullable?["true","false","null"]:["true","false"]),b=il(()=>Array.isArray(e.type)?e.type.find(e=>"null"!==e)??"string":e.type),y=e=>r("update:modelValue",e),w=[],x=!1,O=()=>{for(let e of w)e.unmount();w=[]},k=()=>{if(!l.value||"modal"===e.layout)return;let t=l.value.querySelectorAll(".scalar-pill");for(let a of t){let t=Rc(Ble,{context:S_e(a.dataset.variable??"",e.environment),target:a});t.mount(document.createElement("div")),w.push(t)}},S=(t,a,r)=>{let n=rX(t),o=document.createElement("span");o.className=n?"scalar-pill scalar-pill--context-fn":"scalar-pill",o.contentEditable="false",o.dataset.variable=t,o.dataset.pillStart=String(a),o.dataset.pillEnd=String(r);let i=n?"var(--scalar-color-3)":e.environment?.color||"var(--scalar-color-1)";return o.style.setProperty("--tw-bg-base",i),!n&&!k_e(e.environment,t)&&(o.style.opacity="0.5"),o.textContent=t,o},A=t=>{let a=l.value;if(!a)return;if(O(),a.replaceChildren(),!e.withVariables||!t.includes("{{"))return t&&a.appendChild(document.createTextNode(t)),void(h.value=f(t));let r,n=new RegExp(Zx.VARIABLES.source,Zx.VARIABLES.flags),o=0;for(;null!==(r=n.exec(t));){let e=r.index,n=e+r[0].length;e>o&&a.appendChild(document.createTextNode(t.slice(o,e))),a.appendChild(S(r[1]??"",e,n)),o=n}o<t.length&&a.appendChild(document.createTextNode(t.slice(o))),h.value=!1,x&&k()},T=e=>e.nodeType===Node.TEXT_NODE?(e.textContent??"").length:e instanceof HTMLElement&&e.classList.contains("scalar-pill")?`{{${e.dataset.variable??""}}}`.length:(e.textContent??"").length,_=()=>{let e=l.value;if(!e)return"";let t="";for(let a of Array.from(e.childNodes))a.nodeType===Node.TEXT_NODE?t+=a.textContent??"":a instanceof HTMLElement&&a.classList.contains("scalar-pill")?t+=`{{${a.dataset.variable??""}}}`:a instanceof HTMLElement&&(t+=a.textContent??"");return t},C=null,E="",P=()=>{let t=e.environment?.color??"",a=e.withVariables?"1":"0",r=e.environment?.variables??[],n="";for(let e of r){let t="string"==typeof e.value?e.value:e.value?.default??"";n+=`${e.name}${t}`}return`${t}|${a}|${n}`},M=()=>{x||(x=!0,k())},N=()=>{let e=l.value;if(!e)return null;let t=window.getSelection();if(!t||0===t.rangeCount)return null;let a=t.getRangeAt(0);if(a.startContainer!==e&&!e.contains(a.startContainer))return null;if(a.startContainer===e){let t=0;for(let r=0;r<a.startOffset&&r<e.childNodes.length;r++)t+=T(e.childNodes[r]);return t}let r=0;for(let t of Array.from(e.childNodes)){if(t===a.startContainer)return r+a.startOffset;if(t.contains(a.startContainer))return 0===a.startOffset?r:r+T(t);r+=T(t)}return r},$=e=>{let t=l.value;if(!t)return;let a=document.createRange(),r=0,n=!1;for(let o of Array.from(t.childNodes)){let t=T(o);if(r+t>=e){if(o.nodeType===Node.TEXT_NODE){let t=Math.max(0,Math.min(e-r,(o.textContent??"").length));a.setStart(o,t)}else e-r<=0?a.setStartBefore(o):a.setStartAfter(o);n=!0;break}r+=t}n?a.collapse(!0):(a.selectNodeContents(t),a.collapse(!1));let o=window.getSelection();o&&(o.removeAllRanges(),o.addRange(a))},I=Ha(!1),R=Ha(""),D=Ha({left:0,top:0}),L=il(()=>e.withFakeData?aX.map(e=>({key:e,description:eX(e)})):[]),B=il(()=>I.value&&e.withVariables&&"modal"!==e.layout&&(!!e.environment||e.withFakeData)),j=()=>{if(!l.value)return;let e=N();if(null===e)return void(I.value=!1);let t=_().slice(0,e),a=t.lastIndexOf("{{");a<=t.lastIndexOf("}}")?I.value=!1:(R.value=t.slice(a+2),s(),I.value=!0,Kr(()=>{let e=window.getSelection();if(!e||0===e.rangeCount||!l.value)return;let t=e.getRangeAt(0).cloneRange();t.collapse(!0);let a=t.getBoundingClientRect(),r=l.value.getBoundingClientRect();D.value={left:a.left||r.left,top:a.bottom||r.bottom}}))},U=t=>{if(e.readOnly)return;let a=N()??0,r=_(),n=Math.max(0,a-R.value.length-2),o=a,i=`${r.slice(0,n)}{{${t}}}${r.slice(o)}`,s=n+`{{${t}}}`.length;C=A_e(i,e.withVariables),A(i),$(s),I.value=!1,z(i,{skipDropdownCheck:!0})},z=(t,a={})=>{let n=t===T_e(e.modelValue);(e.alwaysEmitChange||!n)&&r("update:modelValue",t),a.skipDropdownCheck||j()},H=()=>{let t=_();h.value=f(t);let a=A_e(t,e.withVariables);if(!m.value&&a!==C){let e=N();C=a,A(t),null!==e&&$(e)}z(t)},Z=()=>{m.value=!0},V=()=>{m.value=!1,H()},q=()=>{p.value=!0,s(),M()},Q=t=>{p.value=!1,I.value=!1;let a=_();e.emitOnBlur&&a&&r("submit",a,t),r("blur",a,t)},F=e=>{e.preventDefault();let t=e.clipboardData?.getData("text/plain")??"";t&&(document.execCommand("insertText",!1,t.replace(/\r?\n/g," ")),H())},W=e=>{if(I.value){if("ArrowDown"===e.key||"ArrowUp"===e.key)return e.preventDefault(),e.stopPropagation(),void c.value?.handleArrowKey("ArrowDown"===e.key?"down":"up");if("Enter"===e.key)return e.preventDefault(),e.stopPropagation(),void c.value?.handleSelect();if("Escape"===e.key)return e.preventDefault(),e.stopPropagation(),void(I.value=!1)}if("Enter"===e.key)return e.preventDefault(),void r("submit",_(),e)},G=e=>{let t=e.target?.closest(".scalar-pill");if(!t)return;let a=l.value;if(!a)return;a.focus();let r=document.createRange();r.selectNode(t);let n=window.getSelection();n?.removeAllRanges(),n?.addRange(r),j()};return as(()=>{let t=T_e(e.modelValue);C=A_e(t,e.withVariables),E=P(),A(t),h.value=f(t),Object.hasOwn(n,"autofocus")&&l.value?.focus()}),hn(()=>e.modelValue,t=>{let a=T_e(t);h.value=f(a),_()!==a&&(C=A_e(a,e.withVariables),A(a))}),hn(l,t=>{if(!t||!f(_()))return;let a=T_e(e.modelValue);""!==a&&(C=A_e(a,e.withVariables),A(a))},{flush:"sync"}),hn([()=>e.environment,()=>e.withVariables],()=>{let t=P();if(t===E||(E=t,""===C))return;C=A_e(_(),e.withVariables);let a=N();A(_()),null!==a&&$(a)},{deep:!0}),os(()=>{O()}),t({focus:e=>{let t=l.value;if(!t||(t.focus(),!N_(e)))return;let a=_().length;$("start"===e?0:"end"===e?a:e)},setContent:(t="")=>{_()!==t&&(C=A_e(t,e.withVariables),A(t),h.value=f(t))},getValue:()=>_(),cursorPosition:()=>{let e=N();return null===e?void 0:e},isFocused:p,editorRef:l}),(t,a)=>(Ho(),Qo(Bs,null,[e.disabled?(Ho(),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-lite-disabled"},[Xo("span",__e,Yt(e.modelValue),1)],2)):e.enum?.length?(Ho(),Fo(kie,{key:1,default:e.default,modelValue:e.modelValue,type:b.value,value:e.enum,"onUpdate:modelValue":y},null,8,["default","modelValue","type","value"])):g.value?(Ho(),Fo(kie,{key:2,default:e.default,modelValue:e.modelValue,value:v.value,"onUpdate:modelValue":y},null,8,["default","modelValue","value"])):e.examples?.length?(Ho(),Fo(kie,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":y},null,8,["default","modelValue","value"])):(Ho(),Qo("div",ii({key:4,id:i.value},t.$attrs,{class:["code-input-lite group/code-input-lite peer relative w-full leading-[1.44] -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline",{"code-input-lite--error":e.error,"code-input-lite--empty":h.value,"line-through":e.linethrough}]}),[Xo("div",{ref_key:"editorRef",ref:l,"aria-activedescendant":B.value?d.value:void 0,"aria-autocomplete":e.withVariables?"list":void 0,"aria-controls":B.value?u.value:void 0,"aria-expanded":B.value?"true":void 0,"aria-invalid":e.error?"true":void 0,"aria-label":qa(n)["aria-label"],"aria-readonly":e.readOnly?"true":void 0,"aria-required":e.required?"true":void 0,class:"code-input-lite__editor",contenteditable:e.readOnly?"false":"true","data-placeholder":e.placeholder,role:e.withVariables?"combobox":"textbox",spellcheck:"false",onBlur:Q,onClick:G,onCompositionend:V,onCompositionstart:Z,onFocus:q,onInput:H,onKeydown:W,onPaste:F,onPointerover:M},null,40,E_e)],16,C_e)),t.$slots.warning?(Ho(),Qo("div",P_e,[Kn(t.$slots,"warning",{},void 0,!0)])):ai("",!0),t.$slots.icon?(Ho(),Qo("div",M_e,[Kn(t.$slots,"icon",{},void 0,!0)])):ai("",!0),e.required?(Ho(),Qo("div",N_e," Required ")):ai("",!0),B.value?(Ho(),Fo(ale,{key:8,ref_key:"dropdownRef",ref:c,contextFunctionItems:L.value,dropdownPosition:D.value,environment:e.environment,listboxId:u.value,query:R.value,onClose:a[0]||=e=>I.value=!1,onRedirect:a[1]||=e=>r("navigate",{page:"document",path:"environment"}),onSelect:U},null,8,["contextFunctionItems","dropdownPosition","environment","listboxId","query"])):ai("",!0)],64))}})}),Q_e=V(()=>{kh(),q_e(),I_e=yh($_e,[["__scopeId","data-v-4dfd05a3"]])}),F_e=V(()=>{g_e(),Bc(),h_(),Yte(),R_e=["aria-label","checked","disabled"],D_e=Cn({__name:"DataTableCheckbox",props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:"center"},ariaLabel:{default:"Toggle"}},emits:["update:modelValue"],setup(e){let t=a_({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)=>(Ho(),Fo(r_e,{class:"group/cell relative flex min-w-8"},{default:sn(()=>[Xo("input",{"aria-label":e.ariaLabel,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,R_e),Xo("div",{class:tt(qa(t)({align:e.align}))},[Xo("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),Fs(qa(Dte),{icon:"Checkmark",size:"xs",thickness:"2.5"})],2)]),_:1}))}})}),W_e=V(()=>{F_e(),L_e=D_e}),G_e=V(()=>{B_e=(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 X_e(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 Y_e(){return!0}function K_e(e,t,a,r){let n;"function"==typeof t&&"function"!=typeof a?(r=a,a=t):n=t;let o=eCe(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=tCe;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?tCe:[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 J_e(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),K_e(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 eCe,tCe,aCe,rCe=V(()=>{eCe=function(e){if(null==e)return Y_e;if("function"==typeof e)return X_e(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],a=-1;for(;++a<e.length;)t[a]=eCe(e[a]);return X_e(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 X_e(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 X_e(function(t){return t&&t.type===e})}(e);throw Error("Expected function, string, or object as test")},tCe=[],aCe="skip"});function nCe(e){return function(t,a,r){return!(!iCe(t)||!e.call(this,t,"number"==typeof a?a:void 0,r||void 0))}}function oCe(e){return!!(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}function iCe(e){return"object"==typeof e&&!!e&&"type"in e&&"tagName"in e}function sCe(e,t){let a=t||{},r="children"in e?e.children:[],n=LCe(e),o=dCe(e,{whitespace:a.whitespace||"normal",breakBefore:!1,breakAfter:!1}),i=[];("text"===e.type||"comment"===e.type)&&i.push(...cCe(e,{whitespace:o,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)i.push(...lCe(r[s],e,{whitespace:o,breakBefore:s?void 0:n,breakAfter:s<r.length-1?NCe(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 lCe(e,t,a){return"element"===e.type?function(e,t,a){let r,n,o=dCe(e,a),i=e.children||[],s=-1,l=[];if(DCe(e))return l;for(NCe(e)||RCe(e)&&_Ce(t,e,RCe)?n="\n":ICe(e)?(r=2,n=2):LCe(e)&&(r=1,n=1);++s<i.length;)l=l.concat(lCe(i[s],e,{whitespace:o,breakBefore:s?void 0:r,breakAfter:s<i.length-1?NCe(i[s+1]):n}));return $Ce(e)&&_Ce(t,e,$Ce)&&l.push("\t"),r&&l.unshift(r),n&&l.push(n),l}(e,t,a):"text"===e.type?"normal"===a.whitespace?cCe(e,a):function(e){return[String(e.value)]}(e):[]}function cCe(e,t){let a=String(e.value),r=[],n=[],o=0;for(;o<=a.length;){PCe.lastIndex=o;let e=PCe.exec(a),n=e&&"index"in e?e.index:a.length;r.push(uCe(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 uCe(e,t,a){let r,n=[],o=0;for(;o<e.length;){MCe.lastIndex=o;let a=MCe.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 dCe(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 pCe(e){return!!(e.properties||{}).hidden}function hCe(e){return"td"===e.tagName||"th"===e.tagName}function mCe(e){return"dialog"===e.tagName&&!(e.properties||{}).open}function fCe(e){let t=e||HCe,a=t.aliases,r=e?.detect??!1,n=t.languages,o=t.plainText,i=t.prefix,s=t.subset,l="string"==typeof t.className?[t.className]:t.className??[],c="hljs",u=e?.lowlight??function(e){let t=BCe.newInstance();return e&&n(e),{highlight:a,highlightAuto:function(e,n){let o,i=(n||jCe).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||jCe,o="string"==typeof n.prefix?n.prefix:UCe;if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:zCe,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&&u.registerAlias(a),i){let e=i.indexOf("-");c=e>-1?i.slice(0,e):i}return(e,t)=>{J_e(e,"element",(e,a,n)=>{if("code"!==e.tagName||!n||"element"!==n.type||"pre"!==n.tagName)return;let d,p=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 TCe[a||""]||a}(e);if(!("no-highlight"===p||!p&&!r||p&&o?.includes(p))){Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(c)||e.properties.className.unshift(c);for(let t of l)e.properties.className.includes(t)||e.properties.className.push(t);try{d=p?u.highlight(p,sCe(n),{prefix:i}):u.highlightAuto(sCe(n),{prefix:i,subset:s})}catch(a){let r=a;return p&&/Unknown language/.test(r.message)?void t.message(`Cannot highlight as \`${p}\`, it's not registered`,{ancestors:[n,e],cause:r,place:e.position,ruleId:"missing-language",source:"rehype-highlight"}):void t.message("Could not highlight code block",{ancestors:[n,e],cause:r,place:e.position,ruleId:"highlight-error",source:"rehype-highlight"})}!p&&d.data?.language&&e.properties.className.push("language-"+d.data.language),d.children.length>0&&(e.children=d.children)}})}}var gCe,vCe,bCe,yCe,wCe,xCe,OCe,kCe,SCe,ACe,TCe,_Ce,CCe,ECe,PCe,MCe,NCe,$Ce,ICe,RCe,DCe,LCe,BCe,jCe,UCe,zCe,HCe,ZCe=V(()=>{rCe(),gCe=Object.create,vCe=Object.defineProperty,bCe=Object.getOwnPropertyDescriptor,yCe=Object.getOwnPropertyNames,wCe=Object.getPrototypeOf,xCe=Object.prototype.hasOwnProperty,OCe=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),kCe=(e,t)=>{let a={};for(var r in e)vCe(a,r,{get:e[r],enumerable:!0});return t||vCe(a,Symbol.toStringTag,{value:"Module"}),a},SCe=(e,t,a,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var n,o=yCe(t),i=0,s=o.length;i<s;i++)n=o[i],!xCe.call(e,n)&&n!==a&&vCe(e,n,{get:(e=>t[e]).bind(null,n),enumerable:!(r=bCe(t,n))||r.enumerable});return e},ACe=(e,t,a)=>(a=null==e?{}:gCe(wCe(e)),SCe(!t&&e&&e.__esModule?a:vCe(a,"default",{value:e,enumerable:!0}),e)),TCe={ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp","c++":"cpp",node:"javascript"},_Ce=function(e,t,a){let r=eCe(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]},CCe=function(e,t,a,r,n){let o=ECe(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!!iCe(e)&&o.call(n,e,a,r)},ECe=function(e){if(null==e)return oCe;if("string"==typeof e)return function(e){return nCe(function(t){return t.tagName===e})}(e);if("object"==typeof e)return function(e){let t=[],a=-1;for(;++a<e.length;)t[a]=ECe(e[a]);return nCe(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 nCe(e);throw Error("Expected function, string, or array as `test`")},PCe=/\n/g,MCe=/[\t ]+/g,NCe=ECe("br"),$Ce=ECe(hCe),ICe=ECe("p"),RCe=ECe("tr"),DCe=ECe(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",pCe,mCe]),LCe=ECe("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(".")),BCe=ACe(OCe((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 w="[a-zA-Z]\\w*",x="[a-zA-Z_]\\w*",O="\\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},T={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[A]},_={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[A]},C=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},E=C("//","$"),P=C("/\\*","\\*/"),M=C("#","$"),N=Object.freeze({__proto__:null,APOS_STRING_MODE:T,BACKSLASH_ESCAPE:A,BINARY_NUMBER_MODE:{scope:"number",begin:S,relevance:0},BINARY_NUMBER_RE:S,COMMENT:C,C_BLOCK_COMMENT_MODE:P,C_LINE_COMMENT_MODE:E,C_NUMBER_MODE:{scope:"number",begin:k,relevance:0},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:w,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},NUMBER_MODE:{scope:"number",begin:O,relevance:0},NUMBER_RE:O,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:_,REGEXP_MODE:{scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[A,{begin:/\[/,end:/\]/,relevance:0,contains:[A]}]},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:{scope:"title",begin:w,relevance:0},UNDERSCORE_IDENT_RE:x,UNDERSCORE_TITLE_MODE:{scope:"title",begin:x,relevance:0}});function $(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function I(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function R(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=$,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function D(e,t){Array.isArray(e.illegal)&&(e.illegal=g(...e.illegal))}function L(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 B(e,t){void 0===e.relevance&&(e.relevance=1)}var j=(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},U=["of","and","for","in","not","or","if","then","parent","list","value"];function z(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,z(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,H(a[0],a[1])]})}}function H(e,t){return t?Number(t):+!function(e){return U.includes(e.toLowerCase())}(e)}var Z={},V=e=>{console.error(e)},q=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Q=(e,t)=>{Z[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Z[`${e}/${t}`]=!0)},F=Error();function W(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 G(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 V("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),F;if("object"!=typeof e.beginScope||null===e.beginScope)throw V("beginScope must be object"),F;W(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 V("skip, excludeEnd, returnEnd not compatible with endScope: {}"),F;if("object"!=typeof e.endScope||null===e.endScope)throw V("endScope must be object"),F;W(e,e.end,{key:"endScope"}),e.end=y(e.end,{joinWith:""})}}(e)}function X(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);let e=this.regexes.map(e=>e[1]);this.matcherRe=t(y(e,{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;[I,L,G,j].forEach(e=>e(r,o)),e.compilerExtensions.forEach(e=>e(r,o)),r.__beforeBegin=null,[R,D,B].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&&=z(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 K("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 Y(e){return!!e&&(e.endsWithParent||Y(e.starts))}function K(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return o(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Y(e)?o(e,{starts:e.starts?o(e.starts):null}):Object.isFrozen(e)?o(e):e}var J=class extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}},ee=n,te=o,ae=Symbol("nomatch"),re=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):(Q("10.7.0","highlight(lang, code, ...args) has been deprecated."),Q("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};_("before:highlight",o);let i=o.result?o.result:b(o.language,o.code,a);return i.code=o.code,_("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(!_.keywords)return void E.addText(P);let e=0;_.keywordPatternRe.lastIndex=0;let 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(_,r);if(n){let[e,o]=n;if(E.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=_.keywordPatternRe.lastIndex,t=_.keywordPatternRe.exec(P)}a+=P.substring(e),E.addText(a)}function p(){null==_.subLanguage?d():function(){if(""===P)return;let e=null;if("string"==typeof _.subLanguage){if(!t[_.subLanguage])return void E.addText(P);e=b(_.subLanguage,P,!0,C[_.subLanguage]),C[_.subLanguage]=e._top}else e=y(P,_.subLanguage.length?_.subLanguage:null);_.relevance>0&&(M+=e.relevance),E.__addSublanguage(e._emitter,e.language)}(),P=""}function h(e,t){""!==e&&(E.startScope(t),E.addText(e),E.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&&E.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="")),_=Object.create(e,{parent:{value:_}}),_}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===_.matcher.regexIndex?(P+=e[0],1):(I=!0,0)}function w(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 O(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 w(r);if("illegal"===r.type&&!n){let e=Error('Illegal lexeme "'+o+'" for mode "'+(_.scope||"<unnamed>")+'"');throw e.mode=_,e}if("end"===r.type){let e=function(e){let t=e[0],r=a.substring(e.index),n=g(_,e,r);if(!n)return ae;let o=_;_.endScope&&_.endScope._wrap?(p(),h(t,_.endScope._wrap)):_.endScope&&_.endScope._multi?(p(),m(_.endScope,e)):o.skip?P+=t:(o.returnEnd||o.excludeEnd||(P+=t),p(),o.excludeEnd&&(P=t));do{_.scope&&E.closeNode(),!_.skip&&!_.subLanguage&&(M+=_.relevance),_=_.parent}while(_!==n.parent);return n.starts&&f(n.starts,e),o.returnEnd?0:t.length}(r);if(e!==ae)return e}if("illegal"===r.type&&""===o)return P+="\n",1;if($>1e5&&$>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 V(s.replace("{}",e)),Error('Unknown language: "'+e+'"');let A=X(k),T="",_=o||A,C={},E=new c.__emitter(c);!function(){let e=[];for(let t=_;t!==k;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>E.openNode(e))}();let P="",M=0,N=0,$=0,I=!1;try{if(k.__emitTokens)k.__emitTokens(a,E);else{for(_.matcher.considerAll();;){$++,I?I=!1:_.matcher.considerAll(),_.matcher.lastIndex=N;let e=_.matcher.exec(a);if(!e)break;let t=O(a.substring(N,e.index),e);N=e.index+t}O(a.substring(N))}return E.finalize(),T=E.toHTML(),{language:e,value:T,relevance:M,illegal:!1,_emitter:E,_top:_}}catch(t){if(t.message&&t.message.includes("Illegal"))return{language:e,value:ee(a),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:N,context:a.slice(N-100,N+100),mode:t.mode,resultSoFar:T},_emitter:E};if(i)return{language:e,value:ee(a),illegal:!1,relevance:0,errorRaised:t,_emitter:E,_top:_};throw t}}function y(e,a){a=a||c.languages||Object.keys(t);let r=function(e){let t={value:ee(e),illegal:!1,relevance:0,_top:l,_emitter:new c.__emitter(c)};return t._emitter.addText(e),t}(e),n=a.filter(S).filter(T).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 w(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||(q(s.replace("{}",a[1])),q("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(_("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 J("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",w(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}),_("after:highlightElement",{el:e,result:n,text:r})}let O=!1;function k(){if("loading"===document.readyState)return O||window.addEventListener("DOMContentLoaded",function(){k()},!1),void(O=!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 T(e){let t=S(e);return t&&!t.disableAutodetect}function _(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 Q("10.7.0","highlightBlock will be removed entirely in v12.0"),Q("10.7.0","Please use highlightElement now."),x(e)},configure:function(e){c=te(c,e)},initHighlighting:()=>{k(),Q("10.6.0","initHighlighting() deprecated.  Use highlightAll() now.")},initHighlightingOnLoad:function(){k(),Q("10.6.0","initHighlightingOnLoad() deprecated.  Use highlightAll() now.")},registerLanguage:function(a,r){let n=null;try{n=r(e)}catch(e){if(V("Language definition for '{}' could not be registered.".replace("{}",a)),!i)throw e;V(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:T,inherit:te,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 N)"object"==typeof N[e]&&a(N[e]);return Object.assign(e,N),e},ne=re({});ne.newInstance=()=>re({}),t.exports=ne,ne.HighlightJS=ne,ne.default=ne})()).default,jCe={},UCe="hljs-",zCe=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""}},HCe={}});function VCe(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:"def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord 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:"\\[|(#::?[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*)?\\{",end:"[\\]\\}]",relevance:0},h={className:"symbol",begin:"[:]{1,2}[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*"},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 qCe(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 QCe(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 FCe(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=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],l=e=>({scope:"char.escape",begin:t.concat(/\\/,e),relevance:0}),c={className:"string",begin:"~[a-z](?=[/|([{<\"'])",contains:s.map(t=>e.inherit(t,{contains:[l(t.end),i,n]}))},u={className:"string",begin:"~[A-Z](?=[/|([{<\"'])",contains:s.map(t=>e.inherit(t,{contains:[l(t.end)]}))},d={className:"regex",variants:[{begin:"~r(?=[/|([{<\"'])",contains:s.map(a=>e.inherit(a,{end:t.concat(a.end,/[uismxfU]{0,7}/),contains:[l(a.end),i,n]}))},{begin:"~R(?=[/|([{<\"'])",contains:s.map(a=>e.inherit(a,{end:t.concat(a.end,/[uismxfU]{0,7}/),contains:[l(a.end)]}))}]},p={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:/"/}]},h={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})]},m=e.inherit(h,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),f=[p,d,u,c,e.HASH_COMMENT_MODE,m,h,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[p,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:"[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?:(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},o,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return n.contains=f,{name:"Elixir",aliases:["ex","exs"],keywords:r,contains:f}}function WCe(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function GCe(e){return e?"string"==typeof e?e:e.source:null}function XCe(e){return YCe("(?=",e,")")}function YCe(...e){return e.map(e=>GCe(e)).join("")}function KCe(...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=>GCe(e)).join("|")+")"}function JCe(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:YCe(u,/``.*?``/)},{match:YCe(u,e.UNDERSCORE_IDENT_RE)}],relevance:0},p=function({includeEqual:e}){let t;t=e?"!%&*+-/<=>@^|~?":"!%&*+-/<>@^|~?";let a=YCe("[",...Array.from(t).map(WCe),"]"),r=KCe(a,/\./);return{scope:"operator",match:KCe(KCe(YCe(YCe(r,XCe(r)),r,"*"),YCe(a,"+")),/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},h=p({includeEqual:!0}),m=p({includeEqual:!1}),f=function(t,a){return{begin:YCe(t,XCe(YCe(/\s*/,KCe(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:a,end:XCe(KCe(/\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:XCe(/\(|=|$/),keywords:s,contains:[l,e.inherit(c,{scope:null}),d,{scope:"operator",match:/<|>/},g]},y={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},w={begin:[/^\s*/,YCe(/#/,KCe(...r)),/\b/],beginScope:{2:"meta"},end:XCe(/\s|$/)},x={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},O={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},T={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,A]},_={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,A]},C={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},A],relevance:2},E={scope:"string",match:YCe(/'/,KCe(/[^\\']/,/\\(?:.|\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,O,E,a,l,c,g,y,w,x,d,h],{name:"F#",aliases:["fs","f#"],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[a,{variants:[C,_,T,S,k,O,E]},l,c,b,{scope:"meta",begin:/\[</,end:/>\]/,relevance:2,contains:[c,S,k,O,E,x]},v,g,y,w,x,d,h]}}function eEe(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 tEe(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:"^(?=HTTP/([32]|1\\.[01]) \\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]+ (.*?) HTTP/([32]|1\\.[01])$)",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 aEe(e){let t={$pattern:"[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",keyword:"baremodule.begin.break.catch.ccall.const.continue.do.else.elseif.end.export.false.finally.for.function.global.if.import.in.isa.let.local.macro.module.quote.return.true.try.using.where.while".split("."),literal:"ARGS.C_NULL.DEPOT_PATH.ENDIAN_BOM.ENV.Inf.Inf16.Inf32.Inf64.InsertionSort.LOAD_PATH.MergeSort.NaN.NaN16.NaN32.NaN64.PROGRAM_FILE.QuickSort.RoundDown.RoundFromZero.RoundNearest.RoundNearestTiesAway.RoundNearestTiesUp.RoundToZero.RoundUp.VERSION|0.devnull.false.im.missing.nothing.pi.stderr.stdin.stdout.true.undef.π.ℯ".split("."),built_in:"AbstractArray.AbstractChannel.AbstractChar.AbstractDict.AbstractDisplay.AbstractFloat.AbstractIrrational.AbstractMatrix.AbstractRange.AbstractSet.AbstractString.AbstractUnitRange.AbstractVecOrMat.AbstractVector.Any.ArgumentError.Array.AssertionError.BigFloat.BigInt.BitArray.BitMatrix.BitSet.BitVector.Bool.BoundsError.CapturedException.CartesianIndex.CartesianIndices.Cchar.Cdouble.Cfloat.Channel.Char.Cint.Cintmax_t.Clong.Clonglong.Cmd.Colon.Complex.ComplexF16.ComplexF32.ComplexF64.CompositeException.Condition.Cptrdiff_t.Cshort.Csize_t.Cssize_t.Cstring.Cuchar.Cuint.Cuintmax_t.Culong.Culonglong.Cushort.Cvoid.Cwchar_t.Cwstring.DataType.DenseArray.DenseMatrix.DenseVecOrMat.DenseVector.Dict.DimensionMismatch.Dims.DivideError.DomainError.EOFError.Enum.ErrorException.Exception.ExponentialBackOff.Expr.Float16.Float32.Float64.Function.GlobalRef.HTML.IO.IOBuffer.IOContext.IOStream.IdDict.IndexCartesian.IndexLinear.IndexStyle.InexactError.InitError.Int.Int128.Int16.Int32.Int64.Int8.Integer.InterruptException.InvalidStateException.Irrational.KeyError.LinRange.LineNumberNode.LinearIndices.LoadError.MIME.Matrix.Method.MethodError.Missing.MissingException.Module.NTuple.NamedTuple.Nothing.Number.OrdinalRange.OutOfMemoryError.OverflowError.Pair.PartialQuickSort.PermutedDimsArray.Pipe.ProcessFailedException.Ptr.QuoteNode.Rational.RawFD.ReadOnlyMemoryError.Real.ReentrantLock.Ref.Regex.RegexMatch.RoundingMode.SegmentationFault.Set.Signed.Some.StackOverflowError.StepRange.StepRangeLen.StridedArray.StridedMatrix.StridedVecOrMat.StridedVector.String.StringIndexError.SubArray.SubString.SubstitutionString.Symbol.SystemError.Task.TaskFailedException.Text.TextDisplay.Timer.Tuple.Type.TypeError.TypeVar.UInt.UInt128.UInt16.UInt32.UInt64.UInt8.UndefInitializer.UndefKeywordError.UndefRefError.UndefVarError.Union.UnionAll.UnitRange.Unsigned.Val.Vararg.VecElement.VecOrMat.Vector.VersionNumber.WeakKeyDict.WeakRef".split(".")},a={keywords:t,illegal:/<\//},r={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},n={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},o={className:"subst",begin:/\$\(/,end:/\)/,keywords:t},i={className:"variable",begin:"\\$[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*"},s={className:"string",contains:[e.BACKSLASH_ESCAPE,o,i],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},l={className:"string",contains:[e.BACKSLASH_ESCAPE,o,i],begin:"`",end:"`"};return a.name="Julia",a.contains=[r,n,s,l,{className:"meta",begin:"@[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*"},{className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]},e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],o.contains=a.contains,a}function rEe(e){let t={relevance:0,contains:[{begin:"('|\\.')+"}]};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:t},{begin:"[a-zA-Z][a-zA-Z_0-9]*('|\\.')+",relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:t},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:t},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:t},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}function nEe(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 oEe(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 iEe(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 sEe(e){return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:"([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]*[:=][ \\t\\f]*"},{begin:"([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]+"}],contains:[{className:"attr",begin:"([^\\\\:= \\t\\f\\n]|\\\\.)+",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:"([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]*$"}]}}function lEe(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 cEe(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 uEe(e){let t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="[a-zA-Z_]\\w*::",n="(decltype\\(auto\\)|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},i={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})"/})]},s={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},l={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(i,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},c={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},u=t.optional(r)+e.IDENT_RE+"\\s*\\(",d={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"},p=[l,o,a,e.C_BLOCK_COMMENT_MODE,s,i],h={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:d,contains:p.concat([{begin:/\(/,end:/\)/,keywords:d,contains:p.concat(["self"]),relevance:0}]),relevance:0},m={begin:"("+n+"[\\*&\\s]+)+"+u,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:d,relevance:0},{begin:u,returnBegin:!0,contains:[e.inherit(c,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,i,s,o,{begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,i,s,o]}]},o,a,e.C_BLOCK_COMMENT_MODE,l]};return{name:"C",aliases:["h"],keywords:d,disableAutodetect:!0,illegal:"</",contains:[].concat(h,m,p,[l,{begin:e.IDENT_RE+"::",keywords:d},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:l,strings:i,keywords:d}}}function dEe(e){let t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="[a-zA-Z_]\\w*::",n="(?!struct)(decltype\\(auto\\)|"+t.optional(r)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},i={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})"/})]},s={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},l={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(i,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},c={className:"title",begin:t.optional(r)+e.IDENT_RE,relevance:0},u=t.optional(r)+e.IDENT_RE+"\\s*\\(",d={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(".")},p={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*\(/))},h=[p,l,o,a,e.C_BLOCK_COMMENT_MODE,s,i],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:d,contains:h.concat([{begin:/\(/,end:/\)/,keywords:d,contains:h.concat(["self"]),relevance:0}]),relevance:0},f={className:"function",begin:"("+n+"[\\*&\\s]+)+"+u,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:d,relevance:0},{begin:u,returnBegin:!0,contains:[c],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[i,s]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,i,s,o,{begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,i,s,o]}]},o,a,e.C_BLOCK_COMMENT_MODE,l]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:d,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(m,f,p,h,[l,{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:d,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:d},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function pEe(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 hEe(e){let t=e.regex,a=QEe(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:":("+YEe.join("|")+")"},{begin:":(:)?("+KEe.join("|")+")"}]},a.CSS_VARIABLE,{className:"attribute",begin:"\\b("+JEe.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:XEe.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...r,a.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+GEe.join("|")+")\\b"}]}}function mEe(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 fEe(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 gEe(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 vEe(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 bEe(e,t,a){return-1===a?"":e.replace(t,r=>bEe(e,t,a-1))}function yEe(e){let t=e.regex,a="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=a+bEe("(?:<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*~~~(?:\\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-zA-Z_$][À-ʸa-zA-Z_$0-9]*",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,rPe,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},rPe,o]}}function wEe(e){let t=e.regex,a=nPe,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:nPe,keyword:oPe,literal:iPe,built_in:dPe,"variable.language":uPe},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-Za-z$_][0-9A-Za-z$_]*(?=\\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},w={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:{_:[...sPe,...lPe]}},O={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("|"),")")}([...cPe,"super","import"].map(e=>`${e}\\s*\\(`)),a,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},T={begin:t.concat(/\./,t.lookahead(t.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},_={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},C="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",E={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(C)],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}),O,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},E,{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:C,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},T,{match:"\\$[A-Za-z$_][0-9A-Za-z$_]*",relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},A,S,w,_,{match:/\$[(.]/}]}}function xEe(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 OEe(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=fPe,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 kEe(e){let t=gPe(e),a=SPe,r="([\\w-]+|@\\{[\\w-]+\\})",n=[],o=[],i=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},s=function(e,t,a){return{className:e,begin:t,relevance:a}},l={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:wPe.join(" ")},c={begin:"\\(",end:"\\)",contains:o,keywords:l,relevance:0};o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i("'"),i('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,c,s("variable","@@?[\\w-]+",10),s("variable","@\\{[\\w-]+\\}"),s("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);let u=o.concat({begin:/\{/,end:/\}/,contains:n}),d={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(o)},p={begin:"([\\w-]+|@\\{[\\w-]+\\})\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+kPe.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:o}}]},h={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:l,returnEnd:!0,contains:o,relevance:0}},m={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:u}},f={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:r,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,d,s("keyword","all\\b"),s("variable","@\\{[\\w-]+\\}"),{begin:"\\b("+yPe.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,s("selector-tag",r,0),s("selector-id","#([\\w-]+|@\\{[\\w-]+\\})"),s("selector-class","\\.([\\w-]+|@\\{[\\w-]+\\})",0),s("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+xPe.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+OPe.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:u},{begin:"!important"},t.FUNCTION_DISPATCH]},g={begin:`[\\w-]+:(:)?(${a.join("|")})`,returnBegin:!0,contains:[f]};return n.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,m,g,p,f,d,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:n}}function SEe(e){let t="\\[=*\\[",a="\\]=*\\]",r={begin:t,end:a,contains:["self"]},n=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[",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 AEe(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 TEe(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 _Ee(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={$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:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},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:"("+r.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:r,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function CEe(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 EEe(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+$/,"")),w={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(?!\\()"),O={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,O,e.C_BLOCK_COMMENT_MODE,h,m,w]},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 T=[k,O,e.C_BLOCK_COMMENT_MODE,h,m,w],_={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",...T]},...T,{scope:"meta",variants:[{match:n},{match:o}]}]};return{case_insensitive:!1,keywords:b,contains:[_,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,O,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},w,{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",_,i,O,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 PEe(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function MEe(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 NEe(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 $Ee(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".split("."),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 IEe(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="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("."),s=["true","false","Some","None","Ok","Err"],l="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("."),c=["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:c,keyword:i,literal:s,built_in:l},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_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{begin:"\\b0o([0-7_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{begin:"\\b0x([A-Fa-f0-9_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)([ui](8|16|32|64|128|size)|f(32|64))?"}],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:l,type:c}},{className:"punctuation",begin:"->"},o]}}function REe(e){let t=APe(e),a=MPe,r=PPe,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("+CPe.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("+NPe.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:EPe.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 DEe(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function LEe(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 BEe(e){return e?"string"==typeof e?e:e.source:null}function jEe(e){return UEe("(?=",e,")")}function UEe(...e){return e.map(e=>BEe(e)).join("")}function zEe(...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=>BEe(e)).join("|")+")"}function HEe(e){let t={match:/\s+/,relevance:0},a=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,a],n={match:[/\./,zEe(...IPe,...RPe)],className:{2:"keyword"}},o={match:UEe(/\./,zEe(...LPe)),relevance:0},i=LPe.filter(e=>"string"==typeof e).concat(["_|0"]),s={variants:[{className:"keyword",match:zEe(...LPe.filter(e=>"string"!=typeof e).concat(DPe).map($Pe),...RPe)}]},l={$pattern:zEe(/\b\w+/,/#\w+/),keyword:i.concat(UPe),literal:BPe},c=[n,o,s],u=[{match:UEe(/\./,zEe(...zPe)),relevance:0},{className:"built_in",match:UEe(/\b/,zEe(...zPe),/(?=\()/)}],d={match:/->/,relevance:0},p=[d,{className:"operator",relevance:0,variants:[{match:VPe},{match:`\\.(\\.|${ZPe})+`}]}],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:UEe(/\\/,e,/[0\\tnr"']/)},{match:UEe(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),v=(e="")=>({className:"subst",match:UEe(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),b=(e="")=>({className:"subst",label:"interpol",begin:UEe(/\\/,e,/\(/),end:/\)/}),y=(e="")=>({begin:UEe(e,/"""/),end:UEe(/"""/,e),contains:[g(e),v(e),b(e)]}),w=(e="")=>({begin:UEe(e,/"/),end:UEe(/"/,e),contains:[g(e),b(e)]}),x={className:"string",variants:[y(),y("#"),y("##"),y("###"),w(),w("#"),w("##"),w("###")]},O=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],k={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:O},S=e=>{let t=UEe(e,/\//),a=UEe(/\//,e);return{begin:t,end:a,contains:[...O,{scope:"comment",begin:`#(?!.*${a})`,end:/$/}]}},A={scope:"regexp",variants:[S("###"),S("##"),S("#"),k]},T={match:UEe(/`/,FPe,/`/)},_=[T,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${QPe}+`}],C=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:XPe,contains:[...p,f,x]}]}},{scope:"keyword",match:UEe(/@/,zEe(...GPe),jEe(zEe(/\(/,/\s+/)))},{scope:"meta",match:UEe(/@/,FPe)}],E={match:jEe(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:UEe(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,QPe,"+")},{className:"type",match:WPe,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:UEe(/\s+&\s+/,jEe(WPe)),relevance:0}]},P={begin:/</,end:/>/,keywords:l,contains:[...r,...c,...C,d,E]};E.contains.push(P);let M={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:UEe(FPe,/\s*:/),keywords:"_|0",relevance:0},...r,A,...c,...u,...p,f,x,..._,...C,E]},N={begin:/</,end:/>/,keywords:"repeat each",contains:[...r,E]},$={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:zEe(jEe(UEe(FPe,/\s*:/)),jEe(UEe(FPe,/\s+/,FPe,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:FPe}]},...r,...c,...p,f,x,...C,E,M],endsParent:!0,illegal:/["']/},I={match:[/(func|macro)/,/\s+/,zEe(T.match,FPe,VPe)],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+/,VPe],className:{1:"keyword",3:"title"}},L={begin:[/precedencegroup/,/\s+/,WPe],className:{1:"keyword",3:"title"},contains:[E],keywords:[...jPe,...BPe],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+/,FPe,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:l,contains:[N,...c,{begin:/:/,end:/\{/,keywords:l,contains:[{scope:"title.class.inherited",match:WPe},...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.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,..._,...C,E,M]}}function ZEe(e){let t=e.regex,a=function(e){let t=e.regex,a=YPe,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:YPe,keyword:KPe,literal:JPe,built_in:nMe,"variable.language":rMe},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-Za-z$_][0-9A-Za-z$_]*(?=\\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},w={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:{_:[...eMe,...tMe]}},O={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("|"),")")}([...aMe,"super","import"].map(e=>`${e}\\s*\\(`)),a,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},T={begin:t.concat(/\./,t.lookahead(t.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},_={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},C="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",E={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(C)],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}),O,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},E,{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:C,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},T,{match:"\\$[A-Za-z$_][0-9A-Za-z$_]*",relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},A,S,w,_,{match:/\$[(.]/}]}}(e),r=YPe,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:YPe,keyword:KPe.concat(["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"]),literal:JPe,built_in:nMe.concat(n),"variable.language":rMe},c={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},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 VEe(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 qEe(e){let t="true false yes no null",a={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},r={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},n={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},o={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},i=e.inherit(o,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),s={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"},l={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},c={begin:/\{/,end:/\}/,contains:[l],illegal:"\\n",relevance:0},u={begin:"\\[",end:"\\]",contains:[l],illegal:"\\n",relevance:0},d=[a,{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+![\\w#;/?:@&=+$,.~*'()[\\]]+"},{className:"type",begin:"!<[\\w#;/?:@&=+$,.~*'()[\\]]+>"},{className:"type",begin:"![\\w#;/?:@&=+$,.~*'()[\\]]+"},{className:"type",begin:"!![\\w#;/?:@&=+$,.~*'()[\\]]+"},{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}},s,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},c,u,n,o],p=[...d];return p.pop(),p.push(i),l.contains=p,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:d}}var QEe,FEe,WEe,GEe,XEe,YEe,KEe,JEe,ePe,tPe,aPe,rPe,nPe,oPe,iPe,sPe,lPe,cPe,uPe,dPe,pPe,hPe,mPe,fPe,gPe,vPe,bPe,yPe,wPe,xPe,OPe,kPe,SPe,APe,TPe,_Pe,CPe,EPe,PPe,MPe,NPe,$Pe,IPe,RPe,DPe,LPe,BPe,jPe,UPe,zPe,HPe,ZPe,VPe,qPe,QPe,FPe,WPe,GPe,XPe,YPe,KPe,JPe,eMe,tMe,aMe,rMe,nMe,oMe,iMe,sMe,lMe,cMe=V(()=>{QEe=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_-]*/}}),FEe="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("."),WEe="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("."),GEe=[...FEe,...WEe],XEe="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(),YEe="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(),KEe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),JEe="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(),rPe={className:"number",variants:[{begin:`(\\b(${ePe="[0-9](_*[0-9])*"})((${tPe=`\\.(${ePe})`})|\\.)?|(${tPe}))[eE][+-]?(${ePe})[fFdD]?\\b`},{begin:`\\b(${ePe})((${tPe})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${tPe})[fFdD]?\\b`},{begin:`\\b(${ePe})[fFdD]\\b`},{begin:`\\b0[xX]((${aPe="[0-9a-fA-F](_*[0-9a-fA-F])*"})\\.?|(${aPe})?\\.(${aPe}))[pP][+-]?(${ePe})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${aPe})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0},nPe="[A-Za-z$_][0-9A-Za-z$_]*",oPe="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("."),iPe=["true","false","null","undefined","NaN","Infinity"],sPe="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("."),uPe=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],dPe=[].concat(cPe=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],sPe,lPe=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]),fPe={className:"number",variants:[{begin:`(\\b(${pPe="[0-9](_*[0-9])*"})((${hPe=`\\.(${pPe})`})|\\.)?|(${hPe}))[eE][+-]?(${pPe})[fFdD]?\\b`},{begin:`\\b(${pPe})((${hPe})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${hPe})[fFdD]?\\b`},{begin:`\\b(${pPe})[fFdD]\\b`},{begin:`\\b0[xX]((${mPe="[0-9a-fA-F](_*[0-9a-fA-F])*"})\\.?|(${mPe})?\\.(${mPe}))[pP][+-]?(${pPe})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${mPe})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0},gPe=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_-]*/}}),vPe="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("."),bPe="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("."),yPe=[...vPe,...bPe],wPe="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(),xPe="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(),OPe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),kPe="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(),SPe=xPe.concat(OPe).sort().reverse(),APe=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_-]*/}}),TPe="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("."),_Pe="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("."),CPe=[...TPe,..._Pe],EPe="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(),PPe="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(),MPe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),NPe="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(),$Pe=e=>UEe(/\b/,e,/\w$/.test(e)?/\b/:/\B/),IPe=["Protocol","Type"].map($Pe),RPe=["init","self"].map($Pe),DPe=["Any","Self"],LPe=["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"],BPe=["false","nil","true"],jPe=["assignment","associativity","higherThan","left","lowerThan","none","right"],UPe=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],zPe="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("."),HPe=zEe(/[/=\-+!*%<>&|^~?]/,/[\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]/),ZPe=zEe(HPe,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),VPe=UEe(HPe,ZPe,"*"),qPe=zEe(/[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]/),QPe=zEe(qPe,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),FPe=UEe(qPe,QPe,"*"),WPe=UEe(/[A-Z]/,QPe,"*"),GPe=["attached","autoclosure",UEe(/convention\(/,zEe("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",UEe(/objc\(/,FPe,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],XPe=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"],YPe="[A-Za-z$_][0-9A-Za-z$_]*",KPe="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("."),JPe=["true","false","null","undefined","NaN","Infinity"],eMe="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("."),rMe=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],nMe=[].concat(aMe=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],eMe,tMe=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]),oMe=e=>{let t=MEe(e),{regex:a}=e,r=t.keywords,n=[...r.keyword??[],...r.built_in??[],...r.literal??[],...r.type??[]].map(e=>e.replace(/\|\d+$/,"")),o=a.concat("(?!(?:",n.join("|"),")\\b)"),i={scope:"title.function",relevance:0,match:a.concat(/\b/,o,/[\p{XID_Start}_]\p{XID_Continue}*/u,a.lookahead(/\s*\(/))};return{...t,contains:[...t.contains??[],i]}},iMe=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._-]+)+/}]}},sMe=e=>{let t=MEe(e),{regex:a}=e,r=t.keywords,n=["fn","struct","trait","var","let","alias","comptime","owned","borrowed","inout","ref","mut","read","out","raises","capturing"],o="Int.UInt.Int8.Int16.Int32.Int64.UInt8.UInt16.UInt32.UInt64.Float16.Float32.Float64.Bool.String.StringLiteral.StringSlice.SIMD.DType.Scalar.List.Dict.Set.Tuple.Optional.Variant.Span.Pointer.UnsafePointer.Reference.Error".split("."),i=(...e)=>Array.from(new Set(e.flat())),s={...r,keyword:i(r.keyword??[],n),type:i(r.type??[],o)},l=[...s.keyword??[],...r.built_in??[],...r.literal??[],...s.type??[]].map(e=>e.replace(/\|\d+$/,"")),c=a.concat("(?!(?:",l.join("|"),")\\b)"),u={scope:"title.function",relevance:0,match:a.concat(/\b/,c,/[\p{XID_Start}_]\p{XID_Continue}*/u,a.lookahead(/\(/))};return{...t,name:"Mojo",aliases:["mojo","🔥"],keywords:s,contains:[...t.contains??[],u]}},lMe={bash:cEe,c:uEe,clojure:VCe,cpp:dEe,csharp:pEe,css:hEe,curl:iMe,dart:qCe,diff:mEe,docker:QCe,dockerfile:QCe,elixir:FCe,fsharp:JCe,go:fEe,graphql:gEe,haskell:eEe,html:VEe,http:tEe,ini:vEe,java:yEe,javascript:wEe,json:xEe,julia:aEe,kotlin:OEe,less:kEe,lua:SEe,makefile:AEe,markdown:TEe,matlab:rEe,mojo:sMe,nginx:nEe,objectivec:_Ee,ocaml:oEe,perl:CEe,php:EEe,plaintext:PEe,powershell:iEe,properties:sEe,python:oMe,r:NEe,ruby:$Ee,rust:IEe,scala:lEe,scss:REe,shell:DEe,sql:LEe,swift:HEe,toml:vEe,typescript:ZEe,xml:VEe,yaml:qEe}});function uMe(e,t){let a={},r={};for(let t of e)Object.assign(a,t.property),Object.assign(r,t.normal);return new pIe(a,r,t)}function dMe(e){return e.toLowerCase()}function pMe(){return 2**++fIe}function hMe(e,t,a){a&&(e[t]=a)}function mMe(e){let t={},a={};for(let[r,n]of Object.entries(e.properties)){let o=new SIe(r,e.transform(e.attributes||{},r),n,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,a[dMe(r)]=r,a[dMe(o.attribute)]=r}return new pIe(t,a,e.space)}function fMe(e,t){return t in e?e[t]:t}function gMe(e,t){return fMe(e,t.toLowerCase())}function vMe(e,t){let a=dMe(t),r=t,n=hIe;if(a in e.normal)return e.property[e.normal[a]];if(a.length>4&&"data"===a.slice(0,4)&&$Ie.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(NIe,yMe);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!NIe.test(e)){let a=e.replace(MIe,bMe);"-"!==a.charAt(0)&&(a="-"+a),t="data"+a}}n=SIe}return new n(r,t)}function bMe(e){return"-"+e.toLowerCase()}function yMe(e){return e.charAt(1).toUpperCase()}function wMe(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 xMe(e,t){let a=t||{};return(""===e[e.length-1]?[...e,""]:e).join((a.padRight?" ":"")+","+(!1===a.padLeft?"":" ")).trim()}function OMe(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function kMe(e){return e.join(" ").trim()}function SMe(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;){DIe.lastIndex=i;let e=DIe.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&&BIe.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?LIe.has(e.type.toLowerCase()):!("value"in e)))}(n,i.tagName)){let t;for(t in n)BIe.call(n,t)&&AMe(e,i.properties,t,n[t])}else o.unshift(n);for(;++s<o.length;)TMe(i.children,o[s]);return"element"===i.type&&"template"===i.tagName&&(i.content={type:"root",children:i.children},i.children=[]),i}}function AMe(e,t,a,r){let n,o=vMe(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?OMe(r):o.commaSeparated?wMe(r):o.commaOrSpaceSeparated?OMe(wMe(r).join(" ")):_Me(o,o.property,r):Array.isArray(r)?r.concat():"style"===o.property?function(e){let t,a=[];for(t in e)BIe.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]=_Me(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 TMe(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;)TMe(e,t[a]);else{if("object"!=typeof t||!("type"in t))throw Error("Expected node, nodes, or string, got `"+t+"`");"root"===t.type?TMe(e,t.children):e.push(t)}}function _Me(e,t,a){if("string"==typeof a){if(e.number&&a&&!Number.isNaN(Number(a)))return Number(a);if((e.boolean||e.overloadedBoolean)&&(""===a||dMe(a)===dMe(t)))return!0}return a}function CMe(e,t){let a=t||{};return EMe({file:a.file||void 0,location:!1,schema:"svg"===a.space?RIe:IIe,verbose:a.verbose||!1},e)}function EMe(e,t){let a;switch(t.nodeName){case"#comment":{let r=t;return a={type:"comment",value:r.data},MMe(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:PMe(e,t.childNodes),data:{quirksMode:n}},e.file&&e.location){let t=String(e.file),r=function(e){let t=String(e),a=[];for(HIe.lastIndex=0;HIe.test(t);)a.push(HIe.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"},MMe(e,t,a),a;case"#text":{let r=t;return a={type:"text",value:r.value},MMe(e,r,a),a}default:return a=function(e,t){let a=e.schema;e.schema=t.namespaceURI===ZIe.svg?RIe:IIe;let r=-1,n={};for(;++r<t.attrs.length;){let e=t.attrs[r],a=(e.prefix?e.prefix+":":"")+e.name;VIe.call(qIe,a)||(n[a]=e.value)}let o=("svg"===e.schema.space?zIe:UIe)(t.tagName,n,PMe(e,t.childNodes));if(MMe(e,t,o),"template"===o.tagName){let a=t,r=a.sourceCodeLocation,n=r&&r.startTag&&NMe(r.startTag),i=r&&r.endTag&&NMe(r.endTag),s=EMe(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 PMe(e,t){let a=-1,r=[];for(;++a<t.length;){let n=EMe(e,t[a]);r.push(n)}return r}function MMe(e,t,a){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let r=function(e,t,a){let r=NMe(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)VIe.call(a.attrs,r)&&(n[vMe(e.schema,r).property]=NMe(a.attrs[r]));a.startTag;let o=NMe(a.startTag),i=a.endTag?NMe(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 NMe(e){let t=$Me({line:e.startLine,column:e.startCol,offset:e.startOffset}),a=$Me({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||a?{start:t,end:a}:void 0}function $Me(e){return e.line&&e.column?e:void 0}function IMe(e){return e>=55296&&e<=57343}function RMe(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function DMe(e){return e>=64976&&e<=65007||QIe.has(e)}function LMe(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 BMe(e){return e>=eRe.ZERO&&e<=eRe.NINE}function jMe(e){return e>=eRe.UPPER_A&&e<=eRe.UPPER_F||e>=eRe.LOWER_A&&e<=eRe.LOWER_F}function UMe(e){return e===eRe.EQUALS||function(e){return e>=eRe.UPPER_A&&e<=eRe.UPPER_Z||e>=eRe.LOWER_A&&e<=eRe.LOWER_Z||BMe(e)}(e)}function zMe(e,t,a,r){let n=(t&tRe.BRANCH_LENGTH)>>7,o=t&tRe.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 HMe(e){return uRe.get(e)??cRe.UNKNOWN}function ZMe(e){return e>=FIe.LATIN_CAPITAL_A&&e<=FIe.LATIN_CAPITAL_Z}function VMe(e){return function(e){return e>=FIe.LATIN_SMALL_A&&e<=FIe.LATIN_SMALL_Z}(e)||ZMe(e)}function qMe(e){return VMe(e)||function(e){return e>=FIe.DIGIT_0&&e<=FIe.DIGIT_9}(e)}function QMe(e){return e+32}function FMe(e){return e===FIe.SPACE||e===FIe.LINE_FEED||e===FIe.TABULATION||e===FIe.FORM_FEED}function WMe(e){return FMe(e)||e===FIe.SOLIDUS||e===FIe.GREATER_THAN_SIGN}function GMe(e,t){return t.some(t=>e.startsWith(t))}function XMe(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===HRe){e.attrs[t].name=ZRe;break}}function YMe(e){for(let t=0;t<e.attrs.length;t++){let a=VRe.get(e.attrs[t].name);null!=a&&(e.attrs[t].name=a)}}function KMe(e){for(let t=0;t<e.attrs.length;t++){let a=qRe.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 JMe(e,t,a,r){return(!r||r===oRe.HTML)&&function(e,t,a){if(t===oRe.MATHML&&e===cRe.ANNOTATION_XML)for(let e=0;e<a.length;e++)if(a[e].name===iRe.ENCODING){let t=a[e].value.toLowerCase();return t===zRe.TEXT_HTML||t===zRe.APPLICATION_XML}return t===oRe.SVG&&(e===cRe.FOREIGN_OBJECT||e===cRe.DESC||e===cRe.TITLE)}(e,t,a)||(!r||r===oRe.MATHML)&&function(e,t){return t===oRe.MATHML&&(e===cRe.MI||e===cRe.MO||e===cRe.MN||e===cRe.MS||e===cRe.MTEXT)}(e,t)}function eNe(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):TNe(e,t),a}function tNe(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 aNe(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>=XRe;!a||s?(s&&e.activeFormattingElements.removeEntry(a),e.openElements.remove(i)):(i=rNe(e,a),r===t&&(e.activeFormattingElements.bookmark=a),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r}function rNe(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 nNe(e,t,a){let r=HMe(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(a);else{let n=e.treeAdapter.getNamespaceURI(t);r===cRe.TEMPLATE&&n===oRe.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,a)}}function oNe(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 iNe(e,t){for(let a=0;a<GRe;a++){let a=eNe(e,t);if(!a)break;let r=tNe(e,a);if(!r)break;e.activeFormattingElements.bookmark=a;let n=aNe(e,r,a.element),o=e.openElements.getCommonAncestor(a.element);e.treeAdapter.detachNode(n),o&&nNe(e,o,n),oNe(e,r,a)}}function sNe(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function lNe(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 cNe(e,t){e._setDocumentType(t);let a=t.forceQuirks?sRe.QUIRKS:function(e){if(e.name!==$Re)return sRe.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===RRe)return sRe.QUIRKS;let{publicId:a}=e;if(null!==a){if(a=a.toLowerCase(),BRe.has(a))return sRe.QUIRKS;let e=null===t?LRe:DRe;if(GMe(a,e))return sRe.QUIRKS;if(e=null===t?jRe:URe,GMe(a,e))return sRe.LIMITED_QUIRKS}return sRe.NO_QUIRKS}(t);(function(e){return e.name===$Re&&null===e.publicId&&(null===e.systemId||e.systemId===IRe)})(t)||e._err(t,GIe.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,a),e.insertionMode=YRe.BEFORE_HTML}function uNe(e,t){e._err(t,GIe.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,sRe.QUIRKS),e.insertionMode=YRe.BEFORE_HTML,e._processToken(t)}function dNe(e,t){e._insertFakeRootElement(),e.insertionMode=YRe.BEFORE_HEAD,e._processToken(t)}function pNe(e,t){e._insertFakeElement(lRe.HEAD,cRe.HEAD),e.headElement=e.openElements.current,e.insertionMode=YRe.IN_HEAD,e._processToken(t)}function hNe(e,t){switch(t.tagID){case cRe.HTML:ANe(e,t);break;case cRe.BASE:case cRe.BASEFONT:case cRe.BGSOUND:case cRe.LINK:case cRe.META:e._appendElement(t,oRe.HTML),t.ackSelfClosing=!0;break;case cRe.TITLE:e._switchToTextParsing(t,fRe.RCDATA);break;case cRe.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,fRe.RAWTEXT):(e._insertElement(t,oRe.HTML),e.insertionMode=YRe.IN_HEAD_NO_SCRIPT);break;case cRe.NOFRAMES:case cRe.STYLE:e._switchToTextParsing(t,fRe.RAWTEXT);break;case cRe.SCRIPT:e._switchToTextParsing(t,fRe.SCRIPT_DATA);break;case cRe.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=YRe.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(YRe.IN_TEMPLATE);break;case cRe.HEAD:e._err(t,GIe.misplacedStartTagForHeadElement);break;default:fNe(e,t)}}function mNe(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==cRe.TEMPLATE&&e._err(t,GIe.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(cRe.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,GIe.endTagWithoutMatchingOpenElement)}function fNe(e,t){e.openElements.pop(),e.insertionMode=YRe.AFTER_HEAD,e._processToken(t)}function gNe(e,t){let a=t.type===YIe.EOF?GIe.openElementsLeftAfterEof:GIe.disallowedContentInNoscriptInHead;e._err(t,a),e.openElements.pop(),e.insertionMode=YRe.IN_HEAD,e._processToken(t)}function vNe(e,t){e._insertFakeElement(lRe.BODY,cRe.BODY),e.insertionMode=YRe.IN_BODY,bNe(e,t)}function bNe(e,t){switch(t.type){case YIe.CHARACTER:wNe(e,t);break;case YIe.WHITESPACE_CHARACTER:yNe(e,t);break;case YIe.COMMENT:sNe(e,t);break;case YIe.START_TAG:ANe(e,t);break;case YIe.END_TAG:_Ne(e,t);break;case YIe.EOF:CNe(e,t)}}function yNe(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function wNe(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function xNe(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,oRe.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ONe(e){let t=LMe(e,iRe.TYPE);return null!=t&&t.toLowerCase()===WRe}function kNe(e,t){e._switchToTextParsing(t,fRe.RAWTEXT)}function SNe(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,oRe.HTML)}function ANe(e,t){switch(t.tagID){case cRe.I:case cRe.S:case cRe.B:case cRe.U:case cRe.EM:case cRe.TT:case cRe.BIG:case cRe.CODE:case cRe.FONT:case cRe.SMALL:case cRe.STRIKE:case cRe.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,oRe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case cRe.A:!function(e,t){let a=e.activeFormattingElements.getElementEntryInScopeWithTagName(lRe.A);a&&(iNe(e,t),e.openElements.remove(a.element),e.activeFormattingElements.removeEntry(a)),e._reconstructActiveFormattingElements(),e._insertElement(t,oRe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case cRe.H1:case cRe.H2:case cRe.H3:case cRe.H4:case cRe.H5:case cRe.H6:!function(e,t){e.openElements.hasInButtonScope(cRe.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&hRe.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,oRe.HTML)}(e,t);break;case cRe.P:case cRe.DL:case cRe.OL:case cRe.UL:case cRe.DIV:case cRe.DIR:case cRe.NAV:case cRe.MAIN:case cRe.MENU:case cRe.ASIDE:case cRe.CENTER:case cRe.FIGURE:case cRe.FOOTER:case cRe.HEADER:case cRe.HGROUP:case cRe.DIALOG:case cRe.DETAILS:case cRe.ADDRESS:case cRe.ARTICLE:case cRe.SEARCH:case cRe.SECTION:case cRe.SUMMARY:case cRe.FIELDSET:case cRe.BLOCKQUOTE:case cRe.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(cRe.P)&&e._closePElement(),e._insertElement(t,oRe.HTML)}(e,t);break;case cRe.LI:case cRe.DD:case cRe.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===cRe.LI&&r===cRe.LI||(a===cRe.DD||a===cRe.DT)&&(r===cRe.DD||r===cRe.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==cRe.ADDRESS&&r!==cRe.DIV&&r!==cRe.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(cRe.P)&&e._closePElement(),e._insertElement(t,oRe.HTML)}(e,t);break;case cRe.BR:case cRe.IMG:case cRe.WBR:case cRe.AREA:case cRe.EMBED:case cRe.KEYGEN:xNe(e,t);break;case cRe.HR:!function(e,t){e.openElements.hasInButtonScope(cRe.P)&&e._closePElement(),e._appendElement(t,oRe.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case cRe.RB:case cRe.RTC:!function(e,t){e.openElements.hasInScope(cRe.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,oRe.HTML)}(e,t);break;case cRe.RT:case cRe.RP:!function(e,t){e.openElements.hasInScope(cRe.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(cRe.RTC),e._insertElement(t,oRe.HTML)}(e,t);break;case cRe.PRE:case cRe.LISTING:!function(e,t){e.openElements.hasInButtonScope(cRe.P)&&e._closePElement(),e._insertElement(t,oRe.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case cRe.XMP:!function(e,t){e.openElements.hasInButtonScope(cRe.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,fRe.RAWTEXT)}(e,t);break;case cRe.SVG:!function(e,t){e._reconstructActiveFormattingElements(),YMe(t),KMe(t),t.selfClosing?e._appendElement(t,oRe.SVG):e._insertElement(t,oRe.SVG),t.ackSelfClosing=!0}(e,t);break;case cRe.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case cRe.BASE:case cRe.LINK:case cRe.META:case cRe.STYLE:case cRe.TITLE:case cRe.SCRIPT:case cRe.BGSOUND:case cRe.BASEFONT:case cRe.TEMPLATE:hNe(e,t);break;case cRe.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 cRe.FORM:!function(e,t){let a=e.openElements.tmplCount>0;(!e.formElement||a)&&(e.openElements.hasInButtonScope(cRe.P)&&e._closePElement(),e._insertElement(t,oRe.HTML),a||(e.formElement=e.openElements.current))}(e,t);break;case cRe.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(cRe.NOBR)&&(iNe(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,oRe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case cRe.MATH:!function(e,t){e._reconstructActiveFormattingElements(),XMe(t),KMe(t),t.selfClosing?e._appendElement(t,oRe.MATHML):e._insertElement(t,oRe.MATHML),t.ackSelfClosing=!0}(e,t);break;case cRe.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==sRe.QUIRKS&&e.openElements.hasInButtonScope(cRe.P)&&e._closePElement(),e._insertElement(t,oRe.HTML),e.framesetOk=!1,e.insertionMode=YRe.IN_TABLE}(e,t);break;case cRe.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,oRe.HTML),ONe(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case cRe.PARAM:case cRe.TRACK:case cRe.SOURCE:!function(e,t){e._appendElement(t,oRe.HTML),t.ackSelfClosing=!0}(e,t);break;case cRe.IMAGE:!function(e,t){t.tagName=lRe.IMG,t.tagID=cRe.IMG,xNe(e,t)}(e,t);break;case cRe.BUTTON:!function(e,t){e.openElements.hasInScope(cRe.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(cRe.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,oRe.HTML),e.framesetOk=!1}(e,t);break;case cRe.APPLET:case cRe.OBJECT:case cRe.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,oRe.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case cRe.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,fRe.RAWTEXT)}(e,t);break;case cRe.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,oRe.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===YRe.IN_TABLE||e.insertionMode===YRe.IN_CAPTION||e.insertionMode===YRe.IN_TABLE_BODY||e.insertionMode===YRe.IN_ROW||e.insertionMode===YRe.IN_CELL?YRe.IN_SELECT_IN_TABLE:YRe.IN_SELECT}(e,t);break;case cRe.OPTION:case cRe.OPTGROUP:!function(e,t){e.openElements.currentTagId===cRe.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,oRe.HTML)}(e,t);break;case cRe.NOEMBED:case cRe.NOFRAMES:kNe(e,t);break;case cRe.FRAMESET:!function(e,t){let a=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&a&&(e.treeAdapter.detachNode(a),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,oRe.HTML),e.insertionMode=YRe.IN_FRAMESET)}(e,t);break;case cRe.TEXTAREA:!function(e,t){e._insertElement(t,oRe.HTML),e.skipNextNewLine=!0,e.tokenizer.state=fRe.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=YRe.TEXT}(e,t);break;case cRe.NOSCRIPT:e.options.scriptingEnabled?kNe(e,t):SNe(e,t);break;case cRe.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(cRe.P)&&e._closePElement(),e._insertElement(t,oRe.HTML),e.tokenizer.state=fRe.PLAINTEXT}(e,t);break;case cRe.COL:case cRe.TH:case cRe.TD:case cRe.TR:case cRe.HEAD:case cRe.FRAME:case cRe.TBODY:case cRe.TFOOT:case cRe.THEAD:case cRe.CAPTION:case cRe.COLGROUP:break;default:SNe(e,t)}}function TNe(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!==cRe.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 _Ne(e,t){switch(t.tagID){case cRe.A:case cRe.B:case cRe.I:case cRe.S:case cRe.U:case cRe.EM:case cRe.TT:case cRe.BIG:case cRe.CODE:case cRe.FONT:case cRe.NOBR:case cRe.SMALL:case cRe.STRIKE:case cRe.STRONG:iNe(e,t);break;case cRe.P:!function(e){e.openElements.hasInButtonScope(cRe.P)||e._insertFakeElement(lRe.P,cRe.P),e._closePElement()}(e);break;case cRe.DL:case cRe.UL:case cRe.OL:case cRe.DIR:case cRe.DIV:case cRe.NAV:case cRe.PRE:case cRe.MAIN:case cRe.MENU:case cRe.ASIDE:case cRe.BUTTON:case cRe.CENTER:case cRe.FIGURE:case cRe.FOOTER:case cRe.HEADER:case cRe.HGROUP:case cRe.DIALOG:case cRe.ADDRESS:case cRe.ARTICLE:case cRe.DETAILS:case cRe.SEARCH:case cRe.SECTION:case cRe.SUMMARY:case cRe.LISTING:case cRe.FIELDSET:case cRe.BLOCKQUOTE:case cRe.FIGCAPTION:!function(e,t){let a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a))}(e,t);break;case cRe.LI:!function(e){e.openElements.hasInListItemScope(cRe.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(cRe.LI),e.openElements.popUntilTagNamePopped(cRe.LI))}(e);break;case cRe.DD:case cRe.DT:!function(e,t){let a=t.tagID;e.openElements.hasInScope(a)&&(e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a))}(e,t);break;case cRe.H1:case cRe.H2:case cRe.H3:case cRe.H4:case cRe.H5:case cRe.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case cRe.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(lRe.BR,cRe.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case cRe.BODY:!function(e,t){if(e.openElements.hasInScope(cRe.BODY)&&(e.insertionMode=YRe.AFTER_BODY,e.options.sourceCodeLocationInfo)){let a=e.openElements.tryPeekProperlyNestedBodyElement();a&&e._setEndLocation(a,t)}}(e,t);break;case cRe.HTML:!function(e,t){e.openElements.hasInScope(cRe.BODY)&&(e.insertionMode=YRe.AFTER_BODY,qNe(e,t))}(e,t);break;case cRe.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:a}=e;t||(e.formElement=null),(a||t)&&e.openElements.hasInScope(cRe.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(cRe.FORM):a&&e.openElements.remove(a))}(e);break;case cRe.APPLET:case cRe.OBJECT:case cRe.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 cRe.TEMPLATE:mNe(e,t);break;default:TNe(e,t)}}function CNe(e,t){e.tmplInsertionModeStack.length>0?VNe(e,t):lNe(e,t)}function ENe(e,t){if(void 0!==e.openElements.currentTagId&&JRe.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=YRe.IN_TABLE_TEXT,t.type){case YIe.CHARACTER:INe(e,t);break;case YIe.WHITESPACE_CHARACTER:$Ne(e,t)}else NNe(e,t)}function PNe(e,t){switch(t.tagID){case cRe.TD:case cRe.TH:case cRe.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(lRe.TBODY,cRe.TBODY),e.insertionMode=YRe.IN_TABLE_BODY,BNe(e,t)}(e,t);break;case cRe.STYLE:case cRe.SCRIPT:case cRe.TEMPLATE:hNe(e,t);break;case cRe.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(lRe.COLGROUP,cRe.COLGROUP),e.insertionMode=YRe.IN_COLUMN_GROUP,DNe(e,t)}(e,t);break;case cRe.FORM:!function(e,t){!e.formElement&&0===e.openElements.tmplCount&&(e._insertElement(t,oRe.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case cRe.TABLE:!function(e,t){e.openElements.hasInTableScope(cRe.TABLE)&&(e.openElements.popUntilTagNamePopped(cRe.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case cRe.TBODY:case cRe.TFOOT:case cRe.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,oRe.HTML),e.insertionMode=YRe.IN_TABLE_BODY}(e,t);break;case cRe.INPUT:!function(e,t){ONe(t)?e._appendElement(t,oRe.HTML):NNe(e,t),t.ackSelfClosing=!0}(e,t);break;case cRe.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,oRe.HTML),e.insertionMode=YRe.IN_CAPTION}(e,t);break;case cRe.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,oRe.HTML),e.insertionMode=YRe.IN_COLUMN_GROUP}(e,t);break;default:NNe(e,t)}}function MNe(e,t){switch(t.tagID){case cRe.TABLE:e.openElements.hasInTableScope(cRe.TABLE)&&(e.openElements.popUntilTagNamePopped(cRe.TABLE),e._resetInsertionMode());break;case cRe.TEMPLATE:mNe(e,t);break;case cRe.BODY:case cRe.CAPTION:case cRe.COL:case cRe.COLGROUP:case cRe.HTML:case cRe.TBODY:case cRe.TD:case cRe.TFOOT:case cRe.TH:case cRe.THEAD:case cRe.TR:break;default:NNe(e,t)}}function NNe(e,t){let a=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,bNe(e,t),e.fosterParentingEnabled=a}function $Ne(e,t){e.pendingCharacterTokens.push(t)}function INe(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function RNe(e,t){let a=0;if(e.hasNonWhitespacePendingCharacterToken)for(;a<e.pendingCharacterTokens.length;a++)NNe(e,e.pendingCharacterTokens[a]);else for(;a<e.pendingCharacterTokens.length;a++)e._insertCharacters(e.pendingCharacterTokens[a]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}function DNe(e,t){switch(t.tagID){case cRe.HTML:ANe(e,t);break;case cRe.COL:e._appendElement(t,oRe.HTML),t.ackSelfClosing=!0;break;case cRe.TEMPLATE:hNe(e,t);break;default:LNe(e,t)}}function LNe(e,t){e.openElements.currentTagId===cRe.COLGROUP&&(e.openElements.pop(),e.insertionMode=YRe.IN_TABLE,e._processToken(t))}function BNe(e,t){switch(t.tagID){case cRe.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,oRe.HTML),e.insertionMode=YRe.IN_ROW;break;case cRe.TH:case cRe.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(lRe.TR,cRe.TR),e.insertionMode=YRe.IN_ROW,UNe(e,t);break;case cRe.CAPTION:case cRe.COL:case cRe.COLGROUP:case cRe.TBODY:case cRe.TFOOT:case cRe.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=YRe.IN_TABLE,PNe(e,t));break;default:PNe(e,t)}}function jNe(e,t){let a=t.tagID;switch(t.tagID){case cRe.TBODY:case cRe.TFOOT:case cRe.THEAD:e.openElements.hasInTableScope(a)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=YRe.IN_TABLE);break;case cRe.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=YRe.IN_TABLE,MNe(e,t));break;case cRe.BODY:case cRe.CAPTION:case cRe.COL:case cRe.COLGROUP:case cRe.HTML:case cRe.TD:case cRe.TH:case cRe.TR:break;default:MNe(e,t)}}function UNe(e,t){switch(t.tagID){case cRe.TH:case cRe.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,oRe.HTML),e.insertionMode=YRe.IN_CELL,e.activeFormattingElements.insertMarker();break;case cRe.CAPTION:case cRe.COL:case cRe.COLGROUP:case cRe.TBODY:case cRe.TFOOT:case cRe.THEAD:case cRe.TR:e.openElements.hasInTableScope(cRe.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=YRe.IN_TABLE_BODY,BNe(e,t));break;default:PNe(e,t)}}function zNe(e,t){switch(t.tagID){case cRe.TR:e.openElements.hasInTableScope(cRe.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=YRe.IN_TABLE_BODY);break;case cRe.TABLE:e.openElements.hasInTableScope(cRe.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=YRe.IN_TABLE_BODY,jNe(e,t));break;case cRe.TBODY:case cRe.TFOOT:case cRe.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(cRe.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=YRe.IN_TABLE_BODY,jNe(e,t));break;case cRe.BODY:case cRe.CAPTION:case cRe.COL:case cRe.COLGROUP:case cRe.HTML:case cRe.TD:case cRe.TH:break;default:MNe(e,t)}}function HNe(e,t){switch(t.tagID){case cRe.HTML:ANe(e,t);break;case cRe.OPTION:e.openElements.currentTagId===cRe.OPTION&&e.openElements.pop(),e._insertElement(t,oRe.HTML);break;case cRe.OPTGROUP:e.openElements.currentTagId===cRe.OPTION&&e.openElements.pop(),e.openElements.currentTagId===cRe.OPTGROUP&&e.openElements.pop(),e._insertElement(t,oRe.HTML);break;case cRe.HR:e.openElements.currentTagId===cRe.OPTION&&e.openElements.pop(),e.openElements.currentTagId===cRe.OPTGROUP&&e.openElements.pop(),e._appendElement(t,oRe.HTML),t.ackSelfClosing=!0;break;case cRe.INPUT:case cRe.KEYGEN:case cRe.TEXTAREA:case cRe.SELECT:e.openElements.hasInSelectScope(cRe.SELECT)&&(e.openElements.popUntilTagNamePopped(cRe.SELECT),e._resetInsertionMode(),t.tagID!==cRe.SELECT&&e._processStartTag(t));break;case cRe.SCRIPT:case cRe.TEMPLATE:hNe(e,t)}}function ZNe(e,t){switch(t.tagID){case cRe.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===cRe.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===cRe.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===cRe.OPTGROUP&&e.openElements.pop();break;case cRe.OPTION:e.openElements.currentTagId===cRe.OPTION&&e.openElements.pop();break;case cRe.SELECT:e.openElements.hasInSelectScope(cRe.SELECT)&&(e.openElements.popUntilTagNamePopped(cRe.SELECT),e._resetInsertionMode());break;case cRe.TEMPLATE:mNe(e,t)}}function VNe(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(cRe.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):lNe(e,t)}function qNe(e,t){if(t.tagID===cRe.HTML){if(e.fragmentContext||(e.insertionMode=YRe.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===cRe.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 QNe(e,t)}function QNe(e,t){e.insertionMode=YRe.IN_BODY,bNe(e,t)}function FNe(e,t){e.insertionMode=YRe.IN_BODY,bNe(e,t)}function WNe(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==oRe.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function GNe(e,t){if(function(e){let t=e.tagID;return t===cRe.FONT&&e.attrs.some(({name:e})=>e===iRe.COLOR||e===iRe.SIZE||e===iRe.FACE)||FRe.has(t)}(t))WNe(e),e._startTagOutsideForeignContent(t);else{let a=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(a);r===oRe.MATHML?XMe(t):r===oRe.SVG&&(function(e){let t=QRe.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=HMe(e.tagName))}(t),YMe(t)),KMe(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function XNe(e,t){return tDe.parse(e,t)}function YNe(e,t,a){"string"==typeof e&&(a=t,t=e,e=null);let r=tDe.getFragmentParser(e,a);return r.tokenizer.write(t,!0),r.getFragment()}function KNe(e){return e&&"object"==typeof e?"position"in e||"type"in e?e$e(e.position):"start"in e||"end"in e?e$e(e):"line"in e||"column"in e?JNe(e):"":""}function JNe(e){return t$e(e&&e.line)+":"+t$e(e&&e.column)}function e$e(e){return JNe(e&&e.start)+"-"+JNe(e&&e.end)}function t$e(e){return e&&"number"==typeof e?e:1}function a$e(e,t){if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');i$e(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 r$e(e){if(i$e(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 n$e(e){i$e(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 o$e(...e){let t,a=-1;for(;++a<e.length;)i$e(e[a]),e[a]&&(t=void 0===t?e[a]:t+"/"+e[a]);return void 0===t?".":function(e){i$e(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 i$e(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function s$e(){return"/"}function l$e(e){return!!("object"==typeof e&&e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function c$e(e){if("string"==typeof e)e=new URL(e);else if(!l$e(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 u$e(e,t){if(e&&e.includes(nDe.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+nDe.sep+"`")}function d$e(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function p$e(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function h$e(e,t){let a=t||mDe,r=a.onerror,n=e instanceof sDe?e:new sDe(e),o=a.fragment?YNe:XNe,i=String(n);return CMe(o(i,{sourceCodeLocationInfo:!0,onParseError:a.onerror?function(e){let t=e.code,o=function(e){return e.replace(uDe,m$e)}(t),s=a[o]??!0,l="number"==typeof s?s:+!!s;if(l){let a=lDe[o],i=new rDe(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=hDe[l],i.note=c(a.description),i.url=!1===a.url?void 0:cDe+t,r(i)}function c(t){return t.replace(dDe,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(pDe,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 m$e(e){return e.charAt(1).toUpperCase()}function f$e(e){let{emitParseErrors:t,...a}={...this.data("settings"),...e};this.parser=function(e,r){return h$e(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 g$e(e,t){let a=t||{};function r(t,...a){let n=r.invalid,o=r.handlers;if(t&&gDe.call(t,e)){let a=String(t[e]);n=gDe.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 v$e(e,t){return e=e.replace(t.subset?function(e){let t=xDe.get(e);return t||(t=function(e){let t=[],a=-1;for(;++a<e.length;)t.push(e[a].replace(wDe,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(e),xDe.set(e,t)),t}(t.subset):vDe,a),t.subset||t.escapeOnly?e:e.replace(bDe,function(e,a,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(a+2),t)}).replace(yDe,a);function a(e,a,r){return t.format(e.charCodeAt(0),r.charCodeAt(a+1),t)}}function b$e(e,t,a){let r,n=function(e,t,a){let r="&#x"+e.toString(16).toUpperCase();return a&&t&&!ODe.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(_De.call(CDe,n)){let e=CDe[n],o="&"+e;return a&&SDe.includes(e)&&!TDe.includes(e)&&(!r||t&&61!==t&&PDe.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&&!kDe.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 y$e(e,t){return v$e(e,Object.assign({format:b$e},t))}function w$e(e,t,a,r){return r.settings.bogusComments?"<?"+y$e(e.value,Object.assign({},r.settings.characterReferences,{subset:NDe}))+">":"\x3c!--"+e.value.replace(MDe,function(e){return y$e(e,Object.assign({},r.settings.characterReferences,{subset:$De}))})+"--\x3e"}function x$e(e,t,a,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function O$e(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 k$e(e){return"object"==typeof e?"text"===e.type&&S$e(e.value):S$e(e)}function S$e(e){return""===e.replace(IDe,"")}function A$e(e){return function(t,a,r){let n=t?t.children:LDe,o=(a||0)+e,i=n[o];if(!r)for(;i&&k$e(i);)o+=e,i=n[o];return i}}function T$e(e){return function(t,a,r){return BDe.call(e,t.tagName)&&e[t.tagName](t,a,r)}}function _$e(e,t,a){let r=RDe(a,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&k$e(r.value.charAt(0)))}function C$e(e,t,a){let r=RDe(a,t);return!r||"comment"!==r.type}function E$e(e,t,a){let r=RDe(a,t);return!r||"comment"!==r.type}function P$e(e,t,a){let r=RDe(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 M$e(e,t,a){let r=RDe(a,t);return!r||"element"===r.type&&"li"===r.tagName}function N$e(e,t,a){let r=RDe(a,t);return!(!r||"element"!==r.type||"dt"!==r.tagName&&"dd"!==r.tagName)}function $$e(e,t,a){let r=RDe(a,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)}function I$e(e,t,a){let r=RDe(a,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function R$e(e,t,a){let r=RDe(a,t);return!r||"element"===r.type&&"optgroup"===r.tagName}function D$e(e,t,a){let r=RDe(a,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)}function L$e(e,t,a){let r=RDe(a,t);return!(!r||"element"!==r.type||"tbody"!==r.tagName&&"tfoot"!==r.tagName)}function B$e(e,t,a){let r=RDe(a,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)}function j$e(e,t,a){return!RDe(a,t)}function U$e(e,t,a){let r=RDe(a,t);return!r||"element"===r.type&&"tr"===r.tagName}function z$e(e,t,a){let r=RDe(a,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}function H$e(e){let t=RDe(e,-1);return!t||"comment"!==t.type}function Z$e(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 V$e(e){let t=RDe(e,-1,!0);return!(t&&("comment"===t.type||"text"===t.type&&k$e(t.value.charAt(0))||"element"===t.type&&("meta"===t.tagName||"link"===t.tagName||"script"===t.tagName||"style"===t.tagName||"template"===t.tagName)))}function q$e(e,t,a){let r=DDe(a,t),n=RDe(e,-1,!0);return!(a&&r&&"element"===r.type&&"colgroup"===r.tagName&&jDe(r,a.children.indexOf(r),a))&&!(!n||"element"!==n.type||"col"!==n.tagName)}function Q$e(e,t,a){let r=DDe(a,t),n=RDe(e,-1);return(!a||!r||"element"!==r.type||"thead"!==r.tagName&&"tbody"!==r.tagName||!jDe(r,a.children.indexOf(r),a))&&!(!n||"element"!==n.type||"tr"!==n.tagName)}function F$e(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=RIe);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=W$e(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||!UDe(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||!jDe(e,t,a))&&l.push("</"+e.tagName+">"),l.join("")}function W$e(e,t,a){let r,n=vMe(e.schema,t),o=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,i=+!e.settings.allowDangerousCharacters,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=y$e(n.attribute,Object.assign({},e.settings.characterReferences,{subset:zDe.name[o][i]}));return!0===a||(a=Array.isArray(a)?(n.commaSeparated?xMe:kMe)(a,{padLeft:!e.settings.tightCommaSeparatedLists}):String(a),e.settings.collapseEmptyAttributes&&!a)?l:(e.settings.preferUnquoted&&(r=y$e(a,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:zDe.unquoted[o][i]}))),r!==a&&(e.settings.quoteSmart&&O$e(a,s)>O$e(a,e.alternative)&&(s=e.alternative),r=s+y$e(a,Object.assign({},e.settings.characterReferences,{subset:("'"===s?zDe.single:zDe.double)[o][i],attribute:!0}))+s),l+(r&&"="+r))}function G$e(e,t,a,r){return!a||"element"!==a.type||"script"!==a.tagName&&"style"!==a.tagName?y$e(e.value,Object.assign({},r.settings.characterReferences,{subset:HDe})):e.value}function X$e(e,t,a,r){return r.settings.allowDangerousHtml?e.value:G$e(e,0,a,r)}function Y$e(e,t,a,r){return r.all(e)}function K$e(e){throw Error("Expected node, not `"+e+"`")}function J$e(e){throw Error("Cannot compile unknown node `"+e.type+"`")}function eIe(e,t,a){return ZDe(e,t,a,this)}function tIe(e){let t=[],a=e&&e.children||QDe,r=-1;for(;++r<a.length;)t[r]=this.one(a[r],r,e);return t.join("")}function aIe(e){let t={...this.data("settings"),...e};this.compiler=function(e){return function(e,t){let a=t||VDe,r=a.quote||'"',n='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:eIe,all:tIe,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||fDe,characterReferences:a.characterReferences||qDe,closeSelfClosing:a.closeSelfClosing||!1,closeEmptyElements:a.closeEmptyElements||!1},schema:"svg"===a.space?RIe:IIe,quote:r,alternative:n}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}(e,t)}}function rIe(e){if(e)throw e}function nIe(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 oIe(){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 iIe(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function sIe(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function lIe(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 cIe(e){if(!nIe(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function uIe(e,t,a){if(!a)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function dIe(e){return function(e){return!!(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new sDe(e)}var pIe,hIe,mIe,fIe,gIe,vIe,bIe,yIe,wIe,xIe,OIe,kIe,SIe,AIe,TIe,_Ie,CIe,EIe,PIe,MIe,NIe,$Ie,IIe,RIe,DIe,LIe,BIe,jIe,UIe,zIe,HIe,ZIe,VIe,qIe,QIe,FIe,WIe,GIe,XIe,YIe,KIe,JIe,eRe,tRe,aRe,rRe,nRe,oRe,iRe,sRe,lRe,cRe,uRe,dRe,pRe,hRe,mRe,fRe,gRe,vRe,bRe,yRe,wRe,xRe,ORe,kRe,SRe,ARe,TRe,_Re,CRe,ERe,PRe,MRe,NRe,$Re,IRe,RRe,DRe,LRe,BRe,jRe,URe,zRe,HRe,ZRe,VRe,qRe,QRe,FRe,WRe,GRe,XRe,YRe,KRe,JRe,eDe,tDe,aDe,rDe,nDe,oDe,iDe,sDe,lDe,cDe,uDe,dDe,pDe,hDe,mDe,fDe,gDe,vDe,bDe,yDe,wDe,xDe,ODe,kDe,SDe,ADe,TDe,_De,CDe,EDe,PDe,MDe,NDe,$De,IDe,RDe,DDe,LDe,BDe,jDe,UDe,zDe,HDe,ZDe,VDe,qDe,QDe,FDe,WDe,GDe,XDe,YDe=V(()=>{for(EDe in ZCe(),pIe=class{constructor(e,t,a){this.normal=t,this.property=e,a&&(this.space=a)}},pIe.prototype.normal={},pIe.prototype.property={},pIe.prototype.space=void 0,hIe=class{constructor(e,t){this.attribute=t,this.property=e}},hIe.prototype.attribute="",hIe.prototype.booleanish=!1,hIe.prototype.boolean=!1,hIe.prototype.commaOrSpaceSeparated=!1,hIe.prototype.commaSeparated=!1,hIe.prototype.defined=!1,hIe.prototype.mustUseProperty=!1,hIe.prototype.number=!1,hIe.prototype.overloadedBoolean=!1,hIe.prototype.property="",hIe.prototype.spaceSeparated=!1,hIe.prototype.space=void 0,mIe=kCe({boolean:()=>gIe,booleanish:()=>vIe,commaOrSpaceSeparated:()=>OIe,commaSeparated:()=>xIe,number:()=>yIe,overloadedBoolean:()=>bIe,spaceSeparated:()=>wIe}),fIe=0,gIe=pMe(),vIe=pMe(),bIe=pMe(),yIe=pMe(),wIe=pMe(),xIe=pMe(),OIe=pMe(),kIe=Object.keys(mIe),SIe=class extends hIe{constructor(e,t,a,r){let n=-1;if(super(e,t),hMe(this,"space",r),"number"==typeof a)for(;++n<kIe.length;){let e=kIe[n];hMe(this,kIe[n],(a&mIe[e])===mIe[e])}}},SIe.prototype.defined=!0,AIe=mMe({properties:{ariaActiveDescendant:null,ariaAtomic:vIe,ariaAutoComplete:null,ariaBusy:vIe,ariaChecked:vIe,ariaColCount:yIe,ariaColIndex:yIe,ariaColSpan:yIe,ariaControls:wIe,ariaCurrent:null,ariaDescribedBy:wIe,ariaDetails:null,ariaDisabled:vIe,ariaDropEffect:wIe,ariaErrorMessage:null,ariaExpanded:vIe,ariaFlowTo:wIe,ariaGrabbed:vIe,ariaHasPopup:null,ariaHidden:vIe,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:wIe,ariaLevel:yIe,ariaLive:null,ariaModal:vIe,ariaMultiLine:vIe,ariaMultiSelectable:vIe,ariaOrientation:null,ariaOwns:wIe,ariaPlaceholder:null,ariaPosInSet:yIe,ariaPressed:vIe,ariaReadOnly:vIe,ariaRelevant:null,ariaRequired:vIe,ariaRoleDescription:wIe,ariaRowCount:yIe,ariaRowIndex:yIe,ariaRowSpan:yIe,ariaSelected:vIe,ariaSetSize:yIe,ariaSort:null,ariaValueMax:yIe,ariaValueMin:yIe,ariaValueNow:yIe,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()}),TIe=mMe({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:xIe,acceptCharset:wIe,accessKey:wIe,action:null,allow:null,allowFullScreen:gIe,allowPaymentRequest:gIe,allowUserMedia:gIe,alt:null,as:null,async:gIe,autoCapitalize:null,autoComplete:wIe,autoFocus:gIe,autoPlay:gIe,blocking:wIe,capture:null,charSet:null,checked:gIe,cite:null,className:wIe,cols:yIe,colSpan:null,content:null,contentEditable:vIe,controls:gIe,controlsList:wIe,coords:yIe|xIe,crossOrigin:null,data:null,dateTime:null,decoding:null,default:gIe,defer:gIe,dir:null,dirName:null,disabled:gIe,download:bIe,draggable:vIe,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:gIe,formTarget:null,headers:wIe,height:yIe,hidden:bIe,high:yIe,href:null,hrefLang:null,htmlFor:wIe,httpEquiv:wIe,id:null,imageSizes:null,imageSrcSet:null,inert:gIe,inputMode:null,integrity:null,is:null,isMap:gIe,itemId:null,itemProp:wIe,itemRef:wIe,itemScope:gIe,itemType:wIe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:gIe,low:yIe,manifest:null,max:null,maxLength:yIe,media:null,method:null,min:null,minLength:yIe,multiple:gIe,muted:gIe,name:null,nonce:null,noModule:gIe,noValidate:gIe,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:gIe,optimum:yIe,pattern:null,ping:wIe,placeholder:null,playsInline:gIe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:gIe,referrerPolicy:null,rel:wIe,required:gIe,reversed:gIe,rows:yIe,rowSpan:yIe,sandbox:wIe,scope:null,scoped:gIe,seamless:gIe,selected:gIe,shadowRootClonable:gIe,shadowRootDelegatesFocus:gIe,shadowRootMode:null,shape:null,size:yIe,sizes:null,slot:null,span:yIe,spellCheck:vIe,src:null,srcDoc:null,srcLang:null,srcSet:null,start:yIe,step:null,style:null,tabIndex:yIe,target:null,title:null,translate:null,type:null,typeMustMatch:gIe,useMap:null,value:vIe,width:yIe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:wIe,axis:null,background:null,bgColor:null,border:yIe,borderColor:null,bottomMargin:yIe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:gIe,declare:gIe,event:null,face:null,frame:null,frameBorder:null,hSpace:yIe,leftMargin:yIe,link:null,longDesc:null,lowSrc:null,marginHeight:yIe,marginWidth:yIe,noResize:gIe,noHref:gIe,noShade:gIe,noWrap:gIe,object:null,profile:null,prompt:null,rev:null,rightMargin:yIe,rules:null,scheme:null,scrolling:vIe,standby:null,summary:null,text:null,topMargin:yIe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:yIe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:gIe,disableRemotePlayback:gIe,prefix:null,property:null,results:yIe,security:null,unselectable:null},space:"html",transform:gMe}),_Ie=mMe({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:OIe,accentHeight:yIe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:yIe,amplitude:yIe,arabicForm:null,ascent:yIe,attributeName:null,attributeType:null,azimuth:yIe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:yIe,by:null,calcMode:null,capHeight:yIe,className:wIe,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:yIe,diffuseConstant:yIe,direction:null,display:null,dur:null,divisor:yIe,dominantBaseline:null,download:gIe,dx:null,dy:null,edgeMode:null,editable:null,elevation:yIe,enableBackground:null,end:null,event:null,exponent:yIe,externalResourcesRequired:null,fill:null,fillOpacity:yIe,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:xIe,g2:xIe,glyphName:xIe,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:yIe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:yIe,horizOriginX:yIe,horizOriginY:yIe,id:null,ideographic:yIe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:yIe,k:yIe,k1:yIe,k2:yIe,k3:yIe,k4:yIe,kernelMatrix:OIe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:yIe,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:yIe,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:yIe,overlineThickness:yIe,paintOrder:null,panose1:null,path:null,pathLength:yIe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:wIe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:yIe,pointsAtY:yIe,pointsAtZ:yIe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:OIe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:OIe,rev:OIe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:OIe,requiredFeatures:OIe,requiredFonts:OIe,requiredFormats:OIe,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:yIe,specularExponent:yIe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:yIe,strikethroughThickness:yIe,string:null,stroke:null,strokeDashArray:OIe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:yIe,strokeOpacity:yIe,strokeWidth:null,style:null,surfaceScale:yIe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:OIe,tabIndex:yIe,tableValues:null,target:null,targetX:yIe,targetY:yIe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:OIe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:yIe,underlineThickness:yIe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:yIe,values:null,vAlphabetic:yIe,vMathematical:yIe,vectorEffect:null,vHanging:yIe,vIdeographic:yIe,version:null,vertAdvY:yIe,vertOriginX:yIe,vertOriginY:yIe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:yIe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:fMe}),CIe=mMe({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()}),EIe=mMe({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:gMe}),PIe=mMe({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),MIe=/[A-Z]/g,NIe=/-[a-z]/g,$Ie=/^data[-\w.:]+$/i,IIe=uMe([AIe,TIe,CIe,EIe,PIe],"html"),RIe=uMe([AIe,_Ie,CIe,EIe,PIe],"svg"),DIe=/[#.]/g,LIe=new Set(["button","menu","reset","submit"]),BIe={}.hasOwnProperty,jIe="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("."),UIe=SMe(IIe,"div"),zIe=SMe(RIe,"g",jIe),HIe=/\r?\n|\r/g,ZIe={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/"},VIe={}.hasOwnProperty,qIe=Object.prototype,QIe=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"}(FIe||={}),WIe={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"}(GIe||={}),XIe=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,FIe.EOF;return this._err(GIe.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,FIe.EOF;let a=this.html.charCodeAt(t);return a===FIe.CARRIAGE_RETURN?FIe.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,FIe.EOF;let e=this.html.charCodeAt(this.pos);return e===FIe.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,FIe.LINE_FEED):e===FIe.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,IMe(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===FIe.LINE_FEED||e===FIe.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){RMe(e)?this._err(GIe.controlCharacterInInputStream):DMe(e)&&this._err(GIe.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"}(YIe||={}),KIe=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))),JIe=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"}(eRe||={}),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(tRe||={}),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"}(aRe||={}),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(rRe||={}),nRe=class{constructor(e,t,a){this.decodeTree=e,this.emitCodePoint=t,this.errors=a,this.state=aRe.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=rRe.Strict}startEntity(e){this.decodeMode=e,this.state=aRe.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case aRe.EntityStart:return e.charCodeAt(t)===eRe.NUM?(this.state=aRe.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=aRe.NamedEntity,this.stateNamedEntity(e,t));case aRe.NumericStart:return this.stateNumericStart(e,t);case aRe.NumericDecimal:return this.stateNumericDecimal(e,t);case aRe.NumericHex:return this.stateNumericHex(e,t);case aRe.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===eRe.LOWER_X?(this.state=aRe.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=aRe.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(!BMe(r)&&!jMe(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(!BMe(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===eRe.SEMI)this.consumed+=1;else if(this.decodeMode===rRe.Strict)return 0;return this.emitCodePoint(function(e){return e>=55296&&e<=57343||e>1114111?65533:JIe.get(e)??e}(this.result),this.consumed),this.errors&&(e!==eRe.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:a}=this,r=a[this.treeIndex],n=(r&tRe.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let o=e.charCodeAt(t);if(this.treeIndex=zMe(a,r,this.treeIndex+Math.max(1,n),o),this.treeIndex<0)return 0===this.result||this.decodeMode===rRe.Attribute&&(0===n||UMe(o))?0:this.emitNotTerminatedNamedEntity();if(r=a[this.treeIndex],n=(r&tRe.VALUE_LENGTH)>>14,0!==n){if(o===eRe.SEMI)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);this.decodeMode!==rRe.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]&tRe.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]&~tRe.VALUE_LENGTH:r[e+1],a),3===t&&this.emitCodePoint(r[e+2],a),a}end(){var e;switch(this.state){case aRe.NamedEntity:return 0===this.result||this.decodeMode===rRe.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case aRe.NumericDecimal:return this.emitNumericEntity(0,2);case aRe.NumericHex:return this.emitNumericEntity(0,3);case aRe.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case aRe.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/"}(oRe||={}),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"}(iRe||={}),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(sRe||={}),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"}(lRe||={}),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"}(cRe||={}),uRe=new Map([[lRe.A,cRe.A],[lRe.ADDRESS,cRe.ADDRESS],[lRe.ANNOTATION_XML,cRe.ANNOTATION_XML],[lRe.APPLET,cRe.APPLET],[lRe.AREA,cRe.AREA],[lRe.ARTICLE,cRe.ARTICLE],[lRe.ASIDE,cRe.ASIDE],[lRe.B,cRe.B],[lRe.BASE,cRe.BASE],[lRe.BASEFONT,cRe.BASEFONT],[lRe.BGSOUND,cRe.BGSOUND],[lRe.BIG,cRe.BIG],[lRe.BLOCKQUOTE,cRe.BLOCKQUOTE],[lRe.BODY,cRe.BODY],[lRe.BR,cRe.BR],[lRe.BUTTON,cRe.BUTTON],[lRe.CAPTION,cRe.CAPTION],[lRe.CENTER,cRe.CENTER],[lRe.CODE,cRe.CODE],[lRe.COL,cRe.COL],[lRe.COLGROUP,cRe.COLGROUP],[lRe.DD,cRe.DD],[lRe.DESC,cRe.DESC],[lRe.DETAILS,cRe.DETAILS],[lRe.DIALOG,cRe.DIALOG],[lRe.DIR,cRe.DIR],[lRe.DIV,cRe.DIV],[lRe.DL,cRe.DL],[lRe.DT,cRe.DT],[lRe.EM,cRe.EM],[lRe.EMBED,cRe.EMBED],[lRe.FIELDSET,cRe.FIELDSET],[lRe.FIGCAPTION,cRe.FIGCAPTION],[lRe.FIGURE,cRe.FIGURE],[lRe.FONT,cRe.FONT],[lRe.FOOTER,cRe.FOOTER],[lRe.FOREIGN_OBJECT,cRe.FOREIGN_OBJECT],[lRe.FORM,cRe.FORM],[lRe.FRAME,cRe.FRAME],[lRe.FRAMESET,cRe.FRAMESET],[lRe.H1,cRe.H1],[lRe.H2,cRe.H2],[lRe.H3,cRe.H3],[lRe.H4,cRe.H4],[lRe.H5,cRe.H5],[lRe.H6,cRe.H6],[lRe.HEAD,cRe.HEAD],[lRe.HEADER,cRe.HEADER],[lRe.HGROUP,cRe.HGROUP],[lRe.HR,cRe.HR],[lRe.HTML,cRe.HTML],[lRe.I,cRe.I],[lRe.IMG,cRe.IMG],[lRe.IMAGE,cRe.IMAGE],[lRe.INPUT,cRe.INPUT],[lRe.IFRAME,cRe.IFRAME],[lRe.KEYGEN,cRe.KEYGEN],[lRe.LABEL,cRe.LABEL],[lRe.LI,cRe.LI],[lRe.LINK,cRe.LINK],[lRe.LISTING,cRe.LISTING],[lRe.MAIN,cRe.MAIN],[lRe.MALIGNMARK,cRe.MALIGNMARK],[lRe.MARQUEE,cRe.MARQUEE],[lRe.MATH,cRe.MATH],[lRe.MENU,cRe.MENU],[lRe.META,cRe.META],[lRe.MGLYPH,cRe.MGLYPH],[lRe.MI,cRe.MI],[lRe.MO,cRe.MO],[lRe.MN,cRe.MN],[lRe.MS,cRe.MS],[lRe.MTEXT,cRe.MTEXT],[lRe.NAV,cRe.NAV],[lRe.NOBR,cRe.NOBR],[lRe.NOFRAMES,cRe.NOFRAMES],[lRe.NOEMBED,cRe.NOEMBED],[lRe.NOSCRIPT,cRe.NOSCRIPT],[lRe.OBJECT,cRe.OBJECT],[lRe.OL,cRe.OL],[lRe.OPTGROUP,cRe.OPTGROUP],[lRe.OPTION,cRe.OPTION],[lRe.P,cRe.P],[lRe.PARAM,cRe.PARAM],[lRe.PLAINTEXT,cRe.PLAINTEXT],[lRe.PRE,cRe.PRE],[lRe.RB,cRe.RB],[lRe.RP,cRe.RP],[lRe.RT,cRe.RT],[lRe.RTC,cRe.RTC],[lRe.RUBY,cRe.RUBY],[lRe.S,cRe.S],[lRe.SCRIPT,cRe.SCRIPT],[lRe.SEARCH,cRe.SEARCH],[lRe.SECTION,cRe.SECTION],[lRe.SELECT,cRe.SELECT],[lRe.SOURCE,cRe.SOURCE],[lRe.SMALL,cRe.SMALL],[lRe.SPAN,cRe.SPAN],[lRe.STRIKE,cRe.STRIKE],[lRe.STRONG,cRe.STRONG],[lRe.STYLE,cRe.STYLE],[lRe.SUB,cRe.SUB],[lRe.SUMMARY,cRe.SUMMARY],[lRe.SUP,cRe.SUP],[lRe.TABLE,cRe.TABLE],[lRe.TBODY,cRe.TBODY],[lRe.TEMPLATE,cRe.TEMPLATE],[lRe.TEXTAREA,cRe.TEXTAREA],[lRe.TFOOT,cRe.TFOOT],[lRe.TD,cRe.TD],[lRe.TH,cRe.TH],[lRe.THEAD,cRe.THEAD],[lRe.TITLE,cRe.TITLE],[lRe.TR,cRe.TR],[lRe.TRACK,cRe.TRACK],[lRe.TT,cRe.TT],[lRe.U,cRe.U],[lRe.UL,cRe.UL],[lRe.SVG,cRe.SVG],[lRe.VAR,cRe.VAR],[lRe.WBR,cRe.WBR],[lRe.XMP,cRe.XMP]]),dRe=cRe,pRe={[oRe.HTML]:new Set([dRe.ADDRESS,dRe.APPLET,dRe.AREA,dRe.ARTICLE,dRe.ASIDE,dRe.BASE,dRe.BASEFONT,dRe.BGSOUND,dRe.BLOCKQUOTE,dRe.BODY,dRe.BR,dRe.BUTTON,dRe.CAPTION,dRe.CENTER,dRe.COL,dRe.COLGROUP,dRe.DD,dRe.DETAILS,dRe.DIR,dRe.DIV,dRe.DL,dRe.DT,dRe.EMBED,dRe.FIELDSET,dRe.FIGCAPTION,dRe.FIGURE,dRe.FOOTER,dRe.FORM,dRe.FRAME,dRe.FRAMESET,dRe.H1,dRe.H2,dRe.H3,dRe.H4,dRe.H5,dRe.H6,dRe.HEAD,dRe.HEADER,dRe.HGROUP,dRe.HR,dRe.HTML,dRe.IFRAME,dRe.IMG,dRe.INPUT,dRe.LI,dRe.LINK,dRe.LISTING,dRe.MAIN,dRe.MARQUEE,dRe.MENU,dRe.META,dRe.NAV,dRe.NOEMBED,dRe.NOFRAMES,dRe.NOSCRIPT,dRe.OBJECT,dRe.OL,dRe.P,dRe.PARAM,dRe.PLAINTEXT,dRe.PRE,dRe.SCRIPT,dRe.SECTION,dRe.SELECT,dRe.SOURCE,dRe.STYLE,dRe.SUMMARY,dRe.TABLE,dRe.TBODY,dRe.TD,dRe.TEMPLATE,dRe.TEXTAREA,dRe.TFOOT,dRe.TH,dRe.THEAD,dRe.TITLE,dRe.TR,dRe.TRACK,dRe.UL,dRe.WBR,dRe.XMP]),[oRe.MATHML]:new Set([dRe.MI,dRe.MO,dRe.MN,dRe.MS,dRe.MTEXT,dRe.ANNOTATION_XML]),[oRe.SVG]:new Set([dRe.TITLE,dRe.FOREIGN_OBJECT,dRe.DESC]),[oRe.XLINK]:new Set,[oRe.XML]:new Set,[oRe.XMLNS]:new Set},hRe=new Set([dRe.H1,dRe.H2,dRe.H3,dRe.H4,dRe.H5,dRe.H6]),lRe.STYLE,lRe.SCRIPT,lRe.XMP,lRe.IFRAME,lRe.NOEMBED,lRe.NOFRAMES,lRe.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"}(mRe||={}),fRe={DATA:mRe.DATA,RCDATA:mRe.RCDATA,RAWTEXT:mRe.RAWTEXT,SCRIPT_DATA:mRe.SCRIPT_DATA,PLAINTEXT:mRe.PLAINTEXT,CDATA_SECTION:mRe.CDATA_SECTION},gRe=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=mRe.DATA,this.returnState=mRe.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new XIe(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new nRe(KIe,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(GIe.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(GIe.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){return e===FIe.NULL?GIe.nullCharacterReference:e>1114111?GIe.characterReferenceOutsideUnicodeRange:IMe(e)?GIe.surrogateCharacterReference:DMe(e)?GIe.noncharacterCharacterReference:RMe(e)||e===FIe.CARRIAGE_RETURN?GIe.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:YIe.START_TAG,tagName:"",tagID:cRe.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:YIe.END_TAG,tagName:"",tagID:cRe.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:YIe.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:YIe.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===LMe(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(GIe.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=HMe(e.tagName),e.type===YIe.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(GIe.endTagWithAttributes),e.selfClosing&&this._err(GIe.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 YIe.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case YIe.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case YIe.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:YIe.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=FMe(e)?YIe.WHITESPACE_CHARACTER:e===FIe.NULL?YIe.NULL_CHARACTER:YIe.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(YIe.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=mRe.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?rRe.Attribute:rRe.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===mRe.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===mRe.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===mRe.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case mRe.DATA:this._stateData(e);break;case mRe.RCDATA:this._stateRcdata(e);break;case mRe.RAWTEXT:this._stateRawtext(e);break;case mRe.SCRIPT_DATA:this._stateScriptData(e);break;case mRe.PLAINTEXT:this._statePlaintext(e);break;case mRe.TAG_OPEN:this._stateTagOpen(e);break;case mRe.END_TAG_OPEN:this._stateEndTagOpen(e);break;case mRe.TAG_NAME:this._stateTagName(e);break;case mRe.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case mRe.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case mRe.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case mRe.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case mRe.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case mRe.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case mRe.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case mRe.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case mRe.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case mRe.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case mRe.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case mRe.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case mRe.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case mRe.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case mRe.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case mRe.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case mRe.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case mRe.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case mRe.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case mRe.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case mRe.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case mRe.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case mRe.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case mRe.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case mRe.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case mRe.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case mRe.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case mRe.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case mRe.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case mRe.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case mRe.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case mRe.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case mRe.BOGUS_COMMENT:this._stateBogusComment(e);break;case mRe.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case mRe.COMMENT_START:this._stateCommentStart(e);break;case mRe.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case mRe.COMMENT:this._stateComment(e);break;case mRe.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case mRe.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case mRe.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case mRe.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case mRe.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case mRe.COMMENT_END:this._stateCommentEnd(e);break;case mRe.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case mRe.DOCTYPE:this._stateDoctype(e);break;case mRe.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case mRe.DOCTYPE_NAME:this._stateDoctypeName(e);break;case mRe.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case mRe.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case mRe.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case mRe.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case mRe.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case mRe.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case mRe.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case mRe.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case mRe.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case mRe.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case mRe.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case mRe.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case mRe.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case mRe.CDATA_SECTION:this._stateCdataSection(e);break;case mRe.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case mRe.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case mRe.CHARACTER_REFERENCE:this._stateCharacterReference();break;case mRe.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case FIe.LESS_THAN_SIGN:this.state=mRe.TAG_OPEN;break;case FIe.AMPERSAND:this._startCharacterReference();break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this._emitCodePoint(e);break;case FIe.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case FIe.AMPERSAND:this._startCharacterReference();break;case FIe.LESS_THAN_SIGN:this.state=mRe.RCDATA_LESS_THAN_SIGN;break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this._emitChars("�");break;case FIe.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case FIe.LESS_THAN_SIGN:this.state=mRe.RAWTEXT_LESS_THAN_SIGN;break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this._emitChars("�");break;case FIe.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case FIe.LESS_THAN_SIGN:this.state=mRe.SCRIPT_DATA_LESS_THAN_SIGN;break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this._emitChars("�");break;case FIe.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this._emitChars("�");break;case FIe.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(VMe(e))this._createStartTagToken(),this.state=mRe.TAG_NAME,this._stateTagName(e);else switch(e){case FIe.EXCLAMATION_MARK:this.state=mRe.MARKUP_DECLARATION_OPEN;break;case FIe.SOLIDUS:this.state=mRe.END_TAG_OPEN;break;case FIe.QUESTION_MARK:this._err(GIe.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=mRe.BOGUS_COMMENT,this._stateBogusComment(e);break;case FIe.EOF:this._err(GIe.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(GIe.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=mRe.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(VMe(e))this._createEndTagToken(),this.state=mRe.TAG_NAME,this._stateTagName(e);else switch(e){case FIe.GREATER_THAN_SIGN:this._err(GIe.missingEndTagName),this.state=mRe.DATA;break;case FIe.EOF:this._err(GIe.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(GIe.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=mRe.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:this.state=mRe.BEFORE_ATTRIBUTE_NAME;break;case FIe.SOLIDUS:this.state=mRe.SELF_CLOSING_START_TAG;break;case FIe.GREATER_THAN_SIGN:this.state=mRe.DATA,this.emitCurrentTagToken();break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),t.tagName+="�";break;case FIe.EOF:this._err(GIe.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(ZMe(e)?QMe(e):e)}}_stateRcdataLessThanSign(e){e===FIe.SOLIDUS?this.state=mRe.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=mRe.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){VMe(e)?(this.state=mRe.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=mRe.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 FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=mRe.BEFORE_ATTRIBUTE_NAME,!1;case FIe.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=mRe.SELF_CLOSING_START_TAG,!1;case FIe.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=mRe.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=mRe.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===FIe.SOLIDUS?this.state=mRe.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=mRe.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){VMe(e)?(this.state=mRe.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=mRe.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=mRe.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case FIe.SOLIDUS:this.state=mRe.SCRIPT_DATA_END_TAG_OPEN;break;case FIe.EXCLAMATION_MARK:this.state=mRe.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=mRe.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){VMe(e)?(this.state=mRe.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=mRe.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=mRe.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===FIe.HYPHEN_MINUS?(this.state=mRe.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=mRe.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===FIe.HYPHEN_MINUS?(this.state=mRe.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=mRe.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case FIe.HYPHEN_MINUS:this.state=mRe.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case FIe.LESS_THAN_SIGN:this.state=mRe.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this._emitChars("�");break;case FIe.EOF:this._err(GIe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case FIe.HYPHEN_MINUS:this.state=mRe.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case FIe.LESS_THAN_SIGN:this.state=mRe.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this.state=mRe.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case FIe.EOF:this._err(GIe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=mRe.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case FIe.HYPHEN_MINUS:this._emitChars("-");break;case FIe.LESS_THAN_SIGN:this.state=mRe.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case FIe.GREATER_THAN_SIGN:this.state=mRe.SCRIPT_DATA,this._emitChars(">");break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this.state=mRe.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case FIe.EOF:this._err(GIe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=mRe.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===FIe.SOLIDUS?this.state=mRe.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:VMe(e)?(this._emitChars("<"),this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=mRe.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){VMe(e)?(this.state=mRe.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=mRe.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=mRe.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(WIe.SCRIPT,!1)&&WMe(this.preprocessor.peek(WIe.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<WIe.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=mRe.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case FIe.HYPHEN_MINUS:this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case FIe.LESS_THAN_SIGN:this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this._emitChars("�");break;case FIe.EOF:this._err(GIe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case FIe.HYPHEN_MINUS:this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case FIe.LESS_THAN_SIGN:this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case FIe.EOF:this._err(GIe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case FIe.HYPHEN_MINUS:this._emitChars("-");break;case FIe.LESS_THAN_SIGN:this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case FIe.GREATER_THAN_SIGN:this.state=mRe.SCRIPT_DATA,this._emitChars(">");break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case FIe.EOF:this._err(GIe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===FIe.SOLIDUS?(this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(WIe.SCRIPT,!1)&&WMe(this.preprocessor.peek(WIe.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<WIe.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=mRe.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=mRe.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:break;case FIe.SOLIDUS:case FIe.GREATER_THAN_SIGN:case FIe.EOF:this.state=mRe.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case FIe.EQUALS_SIGN:this._err(GIe.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=mRe.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=mRe.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:case FIe.SOLIDUS:case FIe.GREATER_THAN_SIGN:case FIe.EOF:this._leaveAttrName(),this.state=mRe.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case FIe.EQUALS_SIGN:this._leaveAttrName(),this.state=mRe.BEFORE_ATTRIBUTE_VALUE;break;case FIe.QUOTATION_MARK:case FIe.APOSTROPHE:case FIe.LESS_THAN_SIGN:this._err(GIe.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(ZMe(e)?QMe(e):e)}}_stateAfterAttributeName(e){switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:break;case FIe.SOLIDUS:this.state=mRe.SELF_CLOSING_START_TAG;break;case FIe.EQUALS_SIGN:this.state=mRe.BEFORE_ATTRIBUTE_VALUE;break;case FIe.GREATER_THAN_SIGN:this.state=mRe.DATA,this.emitCurrentTagToken();break;case FIe.EOF:this._err(GIe.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=mRe.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:break;case FIe.QUOTATION_MARK:this.state=mRe.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case FIe.APOSTROPHE:this.state=mRe.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case FIe.GREATER_THAN_SIGN:this._err(GIe.missingAttributeValue),this.state=mRe.DATA,this.emitCurrentTagToken();break;default:this.state=mRe.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case FIe.QUOTATION_MARK:this.state=mRe.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case FIe.AMPERSAND:this._startCharacterReference();break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this.currentAttr.value+="�";break;case FIe.EOF:this._err(GIe.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case FIe.APOSTROPHE:this.state=mRe.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case FIe.AMPERSAND:this._startCharacterReference();break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this.currentAttr.value+="�";break;case FIe.EOF:this._err(GIe.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:this._leaveAttrValue(),this.state=mRe.BEFORE_ATTRIBUTE_NAME;break;case FIe.AMPERSAND:this._startCharacterReference();break;case FIe.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=mRe.DATA,this.emitCurrentTagToken();break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this.currentAttr.value+="�";break;case FIe.QUOTATION_MARK:case FIe.APOSTROPHE:case FIe.LESS_THAN_SIGN:case FIe.EQUALS_SIGN:case FIe.GRAVE_ACCENT:this._err(GIe.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case FIe.EOF:this._err(GIe.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:this._leaveAttrValue(),this.state=mRe.BEFORE_ATTRIBUTE_NAME;break;case FIe.SOLIDUS:this._leaveAttrValue(),this.state=mRe.SELF_CLOSING_START_TAG;break;case FIe.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=mRe.DATA,this.emitCurrentTagToken();break;case FIe.EOF:this._err(GIe.eofInTag),this._emitEOFToken();break;default:this._err(GIe.missingWhitespaceBetweenAttributes),this.state=mRe.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case FIe.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=mRe.DATA,this.emitCurrentTagToken();break;case FIe.EOF:this._err(GIe.eofInTag),this._emitEOFToken();break;default:this._err(GIe.unexpectedSolidusInTag),this.state=mRe.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case FIe.GREATER_THAN_SIGN:this.state=mRe.DATA,this.emitCurrentComment(t);break;case FIe.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(WIe.DASH_DASH,!0)?(this._createCommentToken(WIe.DASH_DASH.length+1),this.state=mRe.COMMENT_START):this._consumeSequenceIfMatch(WIe.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(WIe.DOCTYPE.length+1),this.state=mRe.DOCTYPE):this._consumeSequenceIfMatch(WIe.CDATA_START,!0)?this.inForeignNode?this.state=mRe.CDATA_SECTION:(this._err(GIe.cdataInHtmlContent),this._createCommentToken(WIe.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=mRe.BOGUS_COMMENT):this._ensureHibernation()||(this._err(GIe.incorrectlyOpenedComment),this._createCommentToken(2),this.state=mRe.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case FIe.HYPHEN_MINUS:this.state=mRe.COMMENT_START_DASH;break;case FIe.GREATER_THAN_SIGN:{this._err(GIe.abruptClosingOfEmptyComment),this.state=mRe.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=mRe.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case FIe.HYPHEN_MINUS:this.state=mRe.COMMENT_END;break;case FIe.GREATER_THAN_SIGN:this._err(GIe.abruptClosingOfEmptyComment),this.state=mRe.DATA,this.emitCurrentComment(t);break;case FIe.EOF:this._err(GIe.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=mRe.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case FIe.HYPHEN_MINUS:this.state=mRe.COMMENT_END_DASH;break;case FIe.LESS_THAN_SIGN:t.data+="<",this.state=mRe.COMMENT_LESS_THAN_SIGN;break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),t.data+="�";break;case FIe.EOF:this._err(GIe.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case FIe.EXCLAMATION_MARK:t.data+="!",this.state=mRe.COMMENT_LESS_THAN_SIGN_BANG;break;case FIe.LESS_THAN_SIGN:t.data+="<";break;default:this.state=mRe.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===FIe.HYPHEN_MINUS?this.state=mRe.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=mRe.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===FIe.HYPHEN_MINUS?this.state=mRe.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=mRe.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==FIe.GREATER_THAN_SIGN&&e!==FIe.EOF&&this._err(GIe.nestedComment),this.state=mRe.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case FIe.HYPHEN_MINUS:this.state=mRe.COMMENT_END;break;case FIe.EOF:this._err(GIe.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=mRe.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case FIe.GREATER_THAN_SIGN:this.state=mRe.DATA,this.emitCurrentComment(t);break;case FIe.EXCLAMATION_MARK:this.state=mRe.COMMENT_END_BANG;break;case FIe.HYPHEN_MINUS:t.data+="-";break;case FIe.EOF:this._err(GIe.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=mRe.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case FIe.HYPHEN_MINUS:t.data+="--!",this.state=mRe.COMMENT_END_DASH;break;case FIe.GREATER_THAN_SIGN:this._err(GIe.incorrectlyClosedComment),this.state=mRe.DATA,this.emitCurrentComment(t);break;case FIe.EOF:this._err(GIe.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=mRe.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:this.state=mRe.BEFORE_DOCTYPE_NAME;break;case FIe.GREATER_THAN_SIGN:this.state=mRe.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case FIe.EOF:{this._err(GIe.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(GIe.missingWhitespaceBeforeDoctypeName),this.state=mRe.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(ZMe(e))this._createDoctypeToken(String.fromCharCode(QMe(e))),this.state=mRe.DOCTYPE_NAME;else switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=mRe.DOCTYPE_NAME;break;case FIe.GREATER_THAN_SIGN:{this._err(GIe.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=mRe.DATA;break}case FIe.EOF:{this._err(GIe.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=mRe.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:this.state=mRe.AFTER_DOCTYPE_NAME;break;case FIe.GREATER_THAN_SIGN:this.state=mRe.DATA,this.emitCurrentDoctype(t);break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),t.name+="�";break;case FIe.EOF:this._err(GIe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(ZMe(e)?QMe(e):e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:break;case FIe.GREATER_THAN_SIGN:this.state=mRe.DATA,this.emitCurrentDoctype(t);break;case FIe.EOF:this._err(GIe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(WIe.PUBLIC,!1)?this.state=mRe.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(WIe.SYSTEM,!1)?this.state=mRe.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(GIe.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=mRe.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:this.state=mRe.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case FIe.QUOTATION_MARK:this._err(GIe.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=mRe.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case FIe.APOSTROPHE:this._err(GIe.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=mRe.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case FIe.GREATER_THAN_SIGN:this._err(GIe.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=mRe.DATA,this.emitCurrentDoctype(t);break;case FIe.EOF:this._err(GIe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(GIe.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=mRe.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:break;case FIe.QUOTATION_MARK:t.publicId="",this.state=mRe.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case FIe.APOSTROPHE:t.publicId="",this.state=mRe.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case FIe.GREATER_THAN_SIGN:this._err(GIe.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=mRe.DATA,this.emitCurrentDoctype(t);break;case FIe.EOF:this._err(GIe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(GIe.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=mRe.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case FIe.QUOTATION_MARK:this.state=mRe.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),t.publicId+="�";break;case FIe.GREATER_THAN_SIGN:this._err(GIe.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=mRe.DATA;break;case FIe.EOF:this._err(GIe.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 FIe.APOSTROPHE:this.state=mRe.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),t.publicId+="�";break;case FIe.GREATER_THAN_SIGN:this._err(GIe.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=mRe.DATA;break;case FIe.EOF:this._err(GIe.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 FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:this.state=mRe.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case FIe.GREATER_THAN_SIGN:this.state=mRe.DATA,this.emitCurrentDoctype(t);break;case FIe.QUOTATION_MARK:this._err(GIe.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=mRe.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case FIe.APOSTROPHE:this._err(GIe.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=mRe.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case FIe.EOF:this._err(GIe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(GIe.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=mRe.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:break;case FIe.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=mRe.DATA;break;case FIe.QUOTATION_MARK:t.systemId="",this.state=mRe.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case FIe.APOSTROPHE:t.systemId="",this.state=mRe.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case FIe.EOF:this._err(GIe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(GIe.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=mRe.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:this.state=mRe.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case FIe.QUOTATION_MARK:this._err(GIe.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=mRe.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case FIe.APOSTROPHE:this._err(GIe.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=mRe.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case FIe.GREATER_THAN_SIGN:this._err(GIe.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=mRe.DATA,this.emitCurrentDoctype(t);break;case FIe.EOF:this._err(GIe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(GIe.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=mRe.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:break;case FIe.QUOTATION_MARK:t.systemId="",this.state=mRe.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case FIe.APOSTROPHE:t.systemId="",this.state=mRe.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case FIe.GREATER_THAN_SIGN:this._err(GIe.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=mRe.DATA,this.emitCurrentDoctype(t);break;case FIe.EOF:this._err(GIe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(GIe.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=mRe.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case FIe.QUOTATION_MARK:this.state=mRe.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),t.systemId+="�";break;case FIe.GREATER_THAN_SIGN:this._err(GIe.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=mRe.DATA;break;case FIe.EOF:this._err(GIe.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 FIe.APOSTROPHE:this.state=mRe.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter),t.systemId+="�";break;case FIe.GREATER_THAN_SIGN:this._err(GIe.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=mRe.DATA;break;case FIe.EOF:this._err(GIe.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 FIe.SPACE:case FIe.LINE_FEED:case FIe.TABULATION:case FIe.FORM_FEED:break;case FIe.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=mRe.DATA;break;case FIe.EOF:this._err(GIe.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(GIe.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=mRe.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case FIe.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=mRe.DATA;break;case FIe.NULL:this._err(GIe.unexpectedNullCharacter);break;case FIe.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case FIe.RIGHT_SQUARE_BRACKET:this.state=mRe.CDATA_SECTION_BRACKET;break;case FIe.EOF:this._err(GIe.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===FIe.RIGHT_SQUARE_BRACKET?this.state=mRe.CDATA_SECTION_END:(this._emitChars("]"),this.state=mRe.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case FIe.GREATER_THAN_SIGN:this.state=mRe.DATA;break;case FIe.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=mRe.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(FIe.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&qMe(this.preprocessor.peek(1))?mRe.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){qMe(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===FIe.SEMICOLON&&this._err(GIe.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}},vRe=new Set([cRe.DD,cRe.DT,cRe.LI,cRe.OPTGROUP,cRe.OPTION,cRe.P,cRe.RB,cRe.RP,cRe.RT,cRe.RTC]),bRe=new Set([...vRe,cRe.CAPTION,cRe.COLGROUP,cRe.TBODY,cRe.TD,cRe.TFOOT,cRe.TH,cRe.THEAD,cRe.TR]),yRe=new Set([cRe.APPLET,cRe.CAPTION,cRe.HTML,cRe.MARQUEE,cRe.OBJECT,cRe.TABLE,cRe.TD,cRe.TEMPLATE,cRe.TH]),wRe=new Set([...yRe,cRe.OL,cRe.UL]),xRe=new Set([...yRe,cRe.BUTTON]),ORe=new Set([cRe.ANNOTATION_XML,cRe.MI,cRe.MN,cRe.MO,cRe.MS,cRe.MTEXT]),kRe=new Set([cRe.DESC,cRe.FOREIGN_OBJECT,cRe.TITLE]),SRe=new Set([cRe.TR,cRe.TEMPLATE,cRe.HTML]),ARe=new Set([cRe.TBODY,cRe.TFOOT,cRe.THEAD,cRe.TEMPLATE,cRe.HTML]),TRe=new Set([cRe.TABLE,cRe.TEMPLATE,cRe.HTML]),_Re=new Set([cRe.TD,cRe.TH]),CRe=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=cRe.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===cRe.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===oRe.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])!==oRe.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(hRe,oRe.HTML)}popUntilTableCellPopped(){this.popUntilPopped(_Re,oRe.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(TRe,oRe.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ARe,oRe.HTML)}clearBackToTableRowContext(){this.clearBackTo(SRe,oRe.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]===cRe.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]===cRe.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 oRe.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case oRe.SVG:if(kRe.has(r))return!1;break;case oRe.MATHML:if(ORe.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,yRe)}hasInListItemScope(e){return this.hasInDynamicScope(e,wRe)}hasInButtonScope(e){return this.hasInDynamicScope(e,xRe)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case oRe.HTML:if(hRe.has(t))return!0;if(yRe.has(t))return!1;break;case oRe.SVG:if(kRe.has(t))return!1;break;case oRe.MATHML:if(ORe.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===oRe.HTML)switch(this.tagIDs[t]){case e:return!0;case cRe.TABLE:case cRe.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===oRe.HTML)switch(this.tagIDs[e]){case cRe.TBODY:case cRe.THEAD:case cRe.TFOOT:return!0;case cRe.TABLE:case cRe.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===oRe.HTML)switch(this.tagIDs[t]){case e:return!0;case cRe.OPTION:case cRe.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&vRe.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&bRe.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&bRe.has(this.currentTagId);)this.pop()}},function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(ERe||={}),PRe={type:ERe.Marker},MRe=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===ERe.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(PRe)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:ERe.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let a=this.entries.indexOf(this.bookmark);this.entries.splice(a,0,{type:ERe.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(PRe);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===ERe.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===ERe.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===ERe.Element&&t.element===e)}},NRe={createDocument:()=>({nodeName:"#document",mode:sRe.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};NRe.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(NRe.isTextNode(a))return void(a.value+=t)}NRe.appendChild(e,NRe.createTextNode(t))},insertTextBefore(e,t,a){let r=e.childNodes[e.childNodes.indexOf(a)-1];r&&NRe.isTextNode(r)?r.value+=t:NRe.insertBefore(e,NRe.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}}},$Re="html",IRe="about:legacy-compat",RRe="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",DRe="+//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(","),LRe=[...DRe,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],BRe=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),jRe=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],URe=[...jRe,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],zRe={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},HRe="definitionurl",ZRe="definitionURL",VRe=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])),qRe=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:oRe.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:oRe.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:oRe.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:oRe.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:oRe.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:oRe.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:oRe.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:oRe.XML}],["xml:space",{prefix:"xml",name:"space",namespace:oRe.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:oRe.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:oRe.XMLNS}]]),QRe=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])),FRe=new Set([cRe.B,cRe.BIG,cRe.BLOCKQUOTE,cRe.BODY,cRe.BR,cRe.CENTER,cRe.CODE,cRe.DD,cRe.DIV,cRe.DL,cRe.DT,cRe.EM,cRe.EMBED,cRe.H1,cRe.H2,cRe.H3,cRe.H4,cRe.H5,cRe.H6,cRe.HEAD,cRe.HR,cRe.I,cRe.IMG,cRe.LI,cRe.LISTING,cRe.MENU,cRe.META,cRe.NOBR,cRe.OL,cRe.P,cRe.PRE,cRe.RUBY,cRe.S,cRe.SMALL,cRe.SPAN,cRe.STRONG,cRe.STRIKE,cRe.SUB,cRe.SUP,cRe.TABLE,cRe.TT,cRe.U,cRe.UL,cRe.VAR]),WRe="hidden",GRe=8,XRe=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"}(YRe||={}),KRe={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},JRe=new Set([cRe.TABLE,cRe.TBODY,cRe.TFOOT,cRe.THEAD,cRe.TR]),eDe={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:NRe,onParseError:null},tDe=class{constructor(e,t,a=null,r=null){this.fragmentContext=a,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=YRe.INITIAL,this.originalInsertionMode=YRe.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={...eDe,...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 gRe(this.options,this),this.activeFormattingElements=new MRe(this.treeAdapter),this.fragmentContextID=a?HMe(this.treeAdapter.getTagName(a)):cRe.UNKNOWN,this._setContextModes(a??this.document,this.fragmentContextID),this.openElements=new CRe(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={...eDe,...t};e??=a.treeAdapter.createElement(lRe.TEMPLATE,oRe.HTML,[]);let r=a.treeAdapter.createElement("documentmock",oRe.HTML,[]),n=new this(a,r,e);return n.fragmentContextID===cRe.TEMPLATE&&n.tmplInsertionModeStack.unshift(YRe.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??KRe,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)===oRe.HTML;this.currentNotInHTML=!a,this.tokenizer.inForeignNode=!a&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,oRe.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=YRe.TEXT}switchToPlaintextParsing(){this.insertionMode=YRe.TEXT,this.originalInsertionMode=YRe.IN_BODY,this.tokenizer.state=fRe.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)===lRe.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===oRe.HTML)switch(this.fragmentContextID){case cRe.TITLE:case cRe.TEXTAREA:this.tokenizer.state=fRe.RCDATA;break;case cRe.STYLE:case cRe.XMP:case cRe.IFRAME:case cRe.NOEMBED:case cRe.NOFRAMES:case cRe.NOSCRIPT:this.tokenizer.state=fRe.RAWTEXT;break;case cRe.SCRIPT:this.tokenizer.state=fRe.SCRIPT_DATA;break;case cRe.PLAINTEXT:this.tokenizer.state=fRe.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,oRe.HTML,[]);this._attachElementToTree(a,null),this.openElements.push(a,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,oRe.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(lRe.HTML,oRe.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,cRe.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===YIe.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!==cRe.SVG||this.treeAdapter.getTagName(t)!==lRe.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==oRe.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===cRe.MGLYPH||e.tagID===cRe.MALIGNMARK)&&void 0!==a&&!this._isIntegrationPoint(a,t,oRe.HTML))}_processToken(e){switch(e.type){case YIe.CHARACTER:this.onCharacter(e);break;case YIe.NULL_CHARACTER:this.onNullCharacter(e);break;case YIe.COMMENT:this.onComment(e);break;case YIe.DOCTYPE:this.onDoctype(e);break;case YIe.START_TAG:this._processStartTag(e);break;case YIe.END_TAG:this.onEndTag(e);break;case YIe.EOF:this.onEof(e);break;case YIe.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,a){return JMe(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===ERe.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=YRe.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(cRe.P),this.openElements.popUntilTagNamePopped(cRe.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case cRe.TR:return void(this.insertionMode=YRe.IN_ROW);case cRe.TBODY:case cRe.THEAD:case cRe.TFOOT:return void(this.insertionMode=YRe.IN_TABLE_BODY);case cRe.CAPTION:return void(this.insertionMode=YRe.IN_CAPTION);case cRe.COLGROUP:return void(this.insertionMode=YRe.IN_COLUMN_GROUP);case cRe.TABLE:return void(this.insertionMode=YRe.IN_TABLE);case cRe.BODY:return void(this.insertionMode=YRe.IN_BODY);case cRe.FRAMESET:return void(this.insertionMode=YRe.IN_FRAMESET);case cRe.SELECT:return void this._resetInsertionModeForSelect(e);case cRe.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case cRe.HTML:return void(this.insertionMode=this.headElement?YRe.AFTER_HEAD:YRe.BEFORE_HEAD);case cRe.TD:case cRe.TH:if(e>0)return void(this.insertionMode=YRe.IN_CELL);break;case cRe.HEAD:if(e>0)return void(this.insertionMode=YRe.IN_HEAD)}this.insertionMode=YRe.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===cRe.TEMPLATE)break;if(e===cRe.TABLE)return void(this.insertionMode=YRe.IN_SELECT_IN_TABLE)}this.insertionMode=YRe.IN_SELECT}_isElementCausesFosterParenting(e){return JRe.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 cRe.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===oRe.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case cRe.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 pRe[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 YRe.INITIAL:uNe(this,e);break;case YRe.BEFORE_HTML:dNe(this,e);break;case YRe.BEFORE_HEAD:pNe(this,e);break;case YRe.IN_HEAD:fNe(this,e);break;case YRe.IN_HEAD_NO_SCRIPT:gNe(this,e);break;case YRe.AFTER_HEAD:vNe(this,e);break;case YRe.IN_BODY:case YRe.IN_CAPTION:case YRe.IN_CELL:case YRe.IN_TEMPLATE:wNe(this,e);break;case YRe.TEXT:case YRe.IN_SELECT:case YRe.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case YRe.IN_TABLE:case YRe.IN_TABLE_BODY:case YRe.IN_ROW:ENe(this,e);break;case YRe.IN_TABLE_TEXT:INe(this,e);break;case YRe.IN_COLUMN_GROUP:LNe(this,e);break;case YRe.AFTER_BODY:QNe(this,e);break;case YRe.AFTER_AFTER_BODY:FNe(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 YRe.INITIAL:uNe(this,e);break;case YRe.BEFORE_HTML:dNe(this,e);break;case YRe.BEFORE_HEAD:pNe(this,e);break;case YRe.IN_HEAD:fNe(this,e);break;case YRe.IN_HEAD_NO_SCRIPT:gNe(this,e);break;case YRe.AFTER_HEAD:vNe(this,e);break;case YRe.TEXT:this._insertCharacters(e);break;case YRe.IN_TABLE:case YRe.IN_TABLE_BODY:case YRe.IN_ROW:ENe(this,e);break;case YRe.IN_COLUMN_GROUP:LNe(this,e);break;case YRe.AFTER_BODY:QNe(this,e);break;case YRe.AFTER_AFTER_BODY:FNe(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)sNe(this,e);else switch(this.insertionMode){case YRe.INITIAL:case YRe.BEFORE_HTML:case YRe.BEFORE_HEAD:case YRe.IN_HEAD:case YRe.IN_HEAD_NO_SCRIPT:case YRe.AFTER_HEAD:case YRe.IN_BODY:case YRe.IN_TABLE:case YRe.IN_CAPTION:case YRe.IN_COLUMN_GROUP:case YRe.IN_TABLE_BODY:case YRe.IN_ROW:case YRe.IN_CELL:case YRe.IN_SELECT:case YRe.IN_SELECT_IN_TABLE:case YRe.IN_TEMPLATE:case YRe.IN_FRAMESET:case YRe.AFTER_FRAMESET:sNe(this,e);break;case YRe.IN_TABLE_TEXT:RNe(this,e);break;case YRe.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case YRe.AFTER_AFTER_BODY:case YRe.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case YRe.INITIAL:cNe(this,e);break;case YRe.BEFORE_HEAD:case YRe.IN_HEAD:case YRe.IN_HEAD_NO_SCRIPT:case YRe.AFTER_HEAD:this._err(e,GIe.misplacedDoctype);break;case YRe.IN_TABLE_TEXT:RNe(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,GIe.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?GNe(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case YRe.INITIAL:uNe(this,e);break;case YRe.BEFORE_HTML:!function(e,t){t.tagID===cRe.HTML?(e._insertElement(t,oRe.HTML),e.insertionMode=YRe.BEFORE_HEAD):dNe(e,t)}(this,e);break;case YRe.BEFORE_HEAD:!function(e,t){switch(t.tagID){case cRe.HTML:ANe(e,t);break;case cRe.HEAD:e._insertElement(t,oRe.HTML),e.headElement=e.openElements.current,e.insertionMode=YRe.IN_HEAD;break;default:pNe(e,t)}}(this,e);break;case YRe.IN_HEAD:hNe(this,e);break;case YRe.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case cRe.HTML:ANe(e,t);break;case cRe.BASEFONT:case cRe.BGSOUND:case cRe.HEAD:case cRe.LINK:case cRe.META:case cRe.NOFRAMES:case cRe.STYLE:hNe(e,t);break;case cRe.NOSCRIPT:e._err(t,GIe.nestedNoscriptInHead);break;default:gNe(e,t)}}(this,e);break;case YRe.AFTER_HEAD:!function(e,t){switch(t.tagID){case cRe.HTML:ANe(e,t);break;case cRe.BODY:e._insertElement(t,oRe.HTML),e.framesetOk=!1,e.insertionMode=YRe.IN_BODY;break;case cRe.FRAMESET:e._insertElement(t,oRe.HTML),e.insertionMode=YRe.IN_FRAMESET;break;case cRe.BASE:case cRe.BASEFONT:case cRe.BGSOUND:case cRe.LINK:case cRe.META:case cRe.NOFRAMES:case cRe.SCRIPT:case cRe.STYLE:case cRe.TEMPLATE:case cRe.TITLE:e._err(t,GIe.abandonedHeadElementChild),e.openElements.push(e.headElement,cRe.HEAD),hNe(e,t),e.openElements.remove(e.headElement);break;case cRe.HEAD:e._err(t,GIe.misplacedStartTagForHeadElement);break;default:vNe(e,t)}}(this,e);break;case YRe.IN_BODY:ANe(this,e);break;case YRe.IN_TABLE:PNe(this,e);break;case YRe.IN_TABLE_TEXT:RNe(this,e);break;case YRe.IN_CAPTION:!function(e,t){let a=t.tagID;aDe.has(a)?e.openElements.hasInTableScope(cRe.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(cRe.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=YRe.IN_TABLE,PNe(e,t)):ANe(e,t)}(this,e);break;case YRe.IN_COLUMN_GROUP:DNe(this,e);break;case YRe.IN_TABLE_BODY:BNe(this,e);break;case YRe.IN_ROW:UNe(this,e);break;case YRe.IN_CELL:!function(e,t){let a=t.tagID;aDe.has(a)?(e.openElements.hasInTableScope(cRe.TD)||e.openElements.hasInTableScope(cRe.TH))&&(e._closeTableCell(),UNe(e,t)):ANe(e,t)}(this,e);break;case YRe.IN_SELECT:HNe(this,e);break;case YRe.IN_SELECT_IN_TABLE:!function(e,t){let a=t.tagID;a===cRe.CAPTION||a===cRe.TABLE||a===cRe.TBODY||a===cRe.TFOOT||a===cRe.THEAD||a===cRe.TR||a===cRe.TD||a===cRe.TH?(e.openElements.popUntilTagNamePopped(cRe.SELECT),e._resetInsertionMode(),e._processStartTag(t)):HNe(e,t)}(this,e);break;case YRe.IN_TEMPLATE:!function(e,t){switch(t.tagID){case cRe.BASE:case cRe.BASEFONT:case cRe.BGSOUND:case cRe.LINK:case cRe.META:case cRe.NOFRAMES:case cRe.SCRIPT:case cRe.STYLE:case cRe.TEMPLATE:case cRe.TITLE:hNe(e,t);break;case cRe.CAPTION:case cRe.COLGROUP:case cRe.TBODY:case cRe.TFOOT:case cRe.THEAD:e.tmplInsertionModeStack[0]=YRe.IN_TABLE,e.insertionMode=YRe.IN_TABLE,PNe(e,t);break;case cRe.COL:e.tmplInsertionModeStack[0]=YRe.IN_COLUMN_GROUP,e.insertionMode=YRe.IN_COLUMN_GROUP,DNe(e,t);break;case cRe.TR:e.tmplInsertionModeStack[0]=YRe.IN_TABLE_BODY,e.insertionMode=YRe.IN_TABLE_BODY,BNe(e,t);break;case cRe.TD:case cRe.TH:e.tmplInsertionModeStack[0]=YRe.IN_ROW,e.insertionMode=YRe.IN_ROW,UNe(e,t);break;default:e.tmplInsertionModeStack[0]=YRe.IN_BODY,e.insertionMode=YRe.IN_BODY,ANe(e,t)}}(this,e);break;case YRe.AFTER_BODY:!function(e,t){t.tagID===cRe.HTML?ANe(e,t):QNe(e,t)}(this,e);break;case YRe.IN_FRAMESET:!function(e,t){switch(t.tagID){case cRe.HTML:ANe(e,t);break;case cRe.FRAMESET:e._insertElement(t,oRe.HTML);break;case cRe.FRAME:e._appendElement(t,oRe.HTML),t.ackSelfClosing=!0;break;case cRe.NOFRAMES:hNe(e,t)}}(this,e);break;case YRe.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case cRe.HTML:ANe(e,t);break;case cRe.NOFRAMES:hNe(e,t)}}(this,e);break;case YRe.AFTER_AFTER_BODY:!function(e,t){t.tagID===cRe.HTML?ANe(e,t):FNe(e,t)}(this,e);break;case YRe.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case cRe.HTML:ANe(e,t);break;case cRe.NOFRAMES:hNe(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===cRe.P||t.tagID===cRe.BR)return WNe(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)===oRe.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 YRe.INITIAL:uNe(this,e);break;case YRe.BEFORE_HTML:!function(e,t){let a=t.tagID;(a===cRe.HTML||a===cRe.HEAD||a===cRe.BODY||a===cRe.BR)&&dNe(e,t)}(this,e);break;case YRe.BEFORE_HEAD:!function(e,t){let a=t.tagID;a===cRe.HEAD||a===cRe.BODY||a===cRe.HTML||a===cRe.BR?pNe(e,t):e._err(t,GIe.endTagWithoutMatchingOpenElement)}(this,e);break;case YRe.IN_HEAD:!function(e,t){switch(t.tagID){case cRe.HEAD:e.openElements.pop(),e.insertionMode=YRe.AFTER_HEAD;break;case cRe.BODY:case cRe.BR:case cRe.HTML:fNe(e,t);break;case cRe.TEMPLATE:mNe(e,t);break;default:e._err(t,GIe.endTagWithoutMatchingOpenElement)}}(this,e);break;case YRe.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case cRe.NOSCRIPT:e.openElements.pop(),e.insertionMode=YRe.IN_HEAD;break;case cRe.BR:gNe(e,t);break;default:e._err(t,GIe.endTagWithoutMatchingOpenElement)}}(this,e);break;case YRe.AFTER_HEAD:!function(e,t){switch(t.tagID){case cRe.BODY:case cRe.HTML:case cRe.BR:vNe(e,t);break;case cRe.TEMPLATE:mNe(e,t);break;default:e._err(t,GIe.endTagWithoutMatchingOpenElement)}}(this,e);break;case YRe.IN_BODY:_Ne(this,e);break;case YRe.TEXT:!function(e,t){var a;t.tagID===cRe.SCRIPT&&(null==(a=e.scriptHandler)||a.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case YRe.IN_TABLE:MNe(this,e);break;case YRe.IN_TABLE_TEXT:RNe(this,e);break;case YRe.IN_CAPTION:!function(e,t){let a=t.tagID;switch(a){case cRe.CAPTION:case cRe.TABLE:e.openElements.hasInTableScope(cRe.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(cRe.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=YRe.IN_TABLE,a===cRe.TABLE&&MNe(e,t));break;case cRe.BODY:case cRe.COL:case cRe.COLGROUP:case cRe.HTML:case cRe.TBODY:case cRe.TD:case cRe.TFOOT:case cRe.TH:case cRe.THEAD:case cRe.TR:break;default:_Ne(e,t)}}(this,e);break;case YRe.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case cRe.COLGROUP:e.openElements.currentTagId===cRe.COLGROUP&&(e.openElements.pop(),e.insertionMode=YRe.IN_TABLE);break;case cRe.TEMPLATE:mNe(e,t);break;case cRe.COL:break;default:LNe(e,t)}}(this,e);break;case YRe.IN_TABLE_BODY:jNe(this,e);break;case YRe.IN_ROW:zNe(this,e);break;case YRe.IN_CELL:!function(e,t){let a=t.tagID;switch(a){case cRe.TD:case cRe.TH:e.openElements.hasInTableScope(a)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(a),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=YRe.IN_ROW);break;case cRe.TABLE:case cRe.TBODY:case cRe.TFOOT:case cRe.THEAD:case cRe.TR:e.openElements.hasInTableScope(a)&&(e._closeTableCell(),zNe(e,t));break;case cRe.BODY:case cRe.CAPTION:case cRe.COL:case cRe.COLGROUP:case cRe.HTML:break;default:_Ne(e,t)}}(this,e);break;case YRe.IN_SELECT:ZNe(this,e);break;case YRe.IN_SELECT_IN_TABLE:!function(e,t){let a=t.tagID;a===cRe.CAPTION||a===cRe.TABLE||a===cRe.TBODY||a===cRe.TFOOT||a===cRe.THEAD||a===cRe.TR||a===cRe.TD||a===cRe.TH?e.openElements.hasInTableScope(a)&&(e.openElements.popUntilTagNamePopped(cRe.SELECT),e._resetInsertionMode(),e.onEndTag(t)):ZNe(e,t)}(this,e);break;case YRe.IN_TEMPLATE:!function(e,t){t.tagID===cRe.TEMPLATE&&mNe(e,t)}(this,e);break;case YRe.AFTER_BODY:qNe(this,e);break;case YRe.IN_FRAMESET:!function(e,t){t.tagID===cRe.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==cRe.FRAMESET&&(e.insertionMode=YRe.AFTER_FRAMESET))}(this,e);break;case YRe.AFTER_FRAMESET:!function(e,t){t.tagID===cRe.HTML&&(e.insertionMode=YRe.AFTER_AFTER_FRAMESET)}(this,e);break;case YRe.AFTER_AFTER_BODY:FNe(this,e)}}onEof(e){switch(this.insertionMode){case YRe.INITIAL:uNe(this,e);break;case YRe.BEFORE_HTML:dNe(this,e);break;case YRe.BEFORE_HEAD:pNe(this,e);break;case YRe.IN_HEAD:fNe(this,e);break;case YRe.IN_HEAD_NO_SCRIPT:gNe(this,e);break;case YRe.AFTER_HEAD:vNe(this,e);break;case YRe.IN_BODY:case YRe.IN_TABLE:case YRe.IN_CAPTION:case YRe.IN_COLUMN_GROUP:case YRe.IN_TABLE_BODY:case YRe.IN_ROW:case YRe.IN_CELL:case YRe.IN_SELECT:case YRe.IN_SELECT_IN_TABLE:CNe(this,e);break;case YRe.TEXT:!function(e,t){e._err(t,GIe.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case YRe.IN_TABLE_TEXT:RNe(this,e);break;case YRe.IN_TEMPLATE:VNe(this,e);break;case YRe.AFTER_BODY:case YRe.IN_FRAMESET:case YRe.AFTER_FRAMESET:case YRe.AFTER_AFTER_BODY:case YRe.AFTER_AFTER_FRAMESET:lNe(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===FIe.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 YRe.IN_HEAD:case YRe.IN_HEAD_NO_SCRIPT:case YRe.AFTER_HEAD:case YRe.TEXT:case YRe.IN_COLUMN_GROUP:case YRe.IN_SELECT:case YRe.IN_SELECT_IN_TABLE:case YRe.IN_FRAMESET:case YRe.AFTER_FRAMESET:this._insertCharacters(e);break;case YRe.IN_BODY:case YRe.IN_CAPTION:case YRe.IN_CELL:case YRe.IN_TEMPLATE:case YRe.AFTER_BODY:case YRe.AFTER_AFTER_BODY:case YRe.AFTER_AFTER_FRAMESET:yNe(this,e);break;case YRe.IN_TABLE:case YRe.IN_TABLE_BODY:case YRe.IN_ROW:ENe(this,e);break;case YRe.IN_TABLE_TEXT:$Ne(this,e)}}},aDe=new Set([cRe.CAPTION,cRe.COL,cRe.COLGROUP,cRe.TBODY,cRe.TD,cRe.TFOOT,cRe.TH,cRe.THEAD,cRe.TR]),lRe.AREA,lRe.BASE,lRe.BASEFONT,lRe.BGSOUND,lRe.BR,lRe.COL,lRe.EMBED,lRe.FRAME,lRe.HR,lRe.IMG,lRe.INPUT,lRe.KEYGEN,lRe.LINK,lRe.META,lRe.PARAM,lRe.SOURCE,lRe.TRACK,lRe.WBR,rDe=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=KNe(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}},rDe.prototype.file="",rDe.prototype.name="",rDe.prototype.reason="",rDe.prototype.message="",rDe.prototype.stack="",rDe.prototype.column=void 0,rDe.prototype.line=void 0,rDe.prototype.ancestors=void 0,rDe.prototype.cause=void 0,rDe.prototype.fatal=void 0,rDe.prototype.place=void 0,rDe.prototype.ruleId=void 0,rDe.prototype.source=void 0,nDe={basename:a$e,dirname:r$e,extname:n$e,join:o$e,sep:"/"},oDe={cwd:s$e},iDe=["history","path","basename","stem","extname","dirname"],sDe=class{constructor(e){let t;t=e?l$e(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?"":oDe.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a,r=-1;for(;++r<iDe.length;){let e=iDe[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(a in t)iDe.includes(a)||(this[a]=t[a])}get basename(){return"string"==typeof this.path?nDe.basename(this.path):void 0}set basename(e){d$e(e,"basename"),u$e(e,"basename"),this.path=nDe.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?nDe.dirname(this.path):void 0}set dirname(e){p$e(this.basename,"dirname"),this.path=nDe.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?nDe.extname(this.path):void 0}set extname(e){if(u$e(e,"extname"),p$e(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=nDe.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){l$e(e)&&(e=c$e(e)),d$e(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?nDe.basename(this.path,this.extname):void 0}set stem(e){d$e(e,"stem"),u$e(e,"stem"),this.path=nDe.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 rDe(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)}},lDe={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"}},cDe="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",uDe=/-[a-z]/g,dDe=/%c(?:([-+])(\d+))?/g,pDe=/%x/g,hDe={2:!0,1:!1,0:null},mDe={},fDe=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],gDe={}.hasOwnProperty,vDe=/["&'<>`]/g,bDe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,yDe=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,wDe=/[|\\{}()[\]^$+*?.]/g,xDe=new WeakMap,ODe=/[\dA-Fa-f]/,kDe=/\d/,SDe="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("."),TDe=["cent","copy","divide","gt","lt","not","para","times"],_De={}.hasOwnProperty,CDe={},ADe={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:"€"})_De.call(ADe,EDe)&&(CDe[ADe[EDe]]=EDe);PDe=/[^\dA-Za-z]/,MDe=/^>|^->|<!--|-->|--!>|<!-$/g,NDe=[">"],$De=["<",">"],IDe=/[ \t\n\f\r]/g,RDe=A$e(1),DDe=A$e(-1),LDe=[],BDe={}.hasOwnProperty,jDe=T$e({body:E$e,caption:_$e,colgroup:_$e,dd:$$e,dt:N$e,head:_$e,html:C$e,li:M$e,optgroup:R$e,option:D$e,p:P$e,rp:I$e,rt:I$e,tbody:B$e,td:z$e,tfoot:j$e,th:z$e,thead:L$e,tr:U$e}),UDe=T$e({body:V$e,colgroup:q$e,head:Z$e,html:H$e,tbody:Q$e}),zDe={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("")]]},HDe=["<","&"],ZDe=g$e("type",{invalid:K$e,unknown:J$e,handlers:{comment:w$e,doctype:x$e,element:F$e,raw:X$e,root:Y$e,text:G$e}}),VDe={},qDe={},QDe=[],FDe=ACe(OCe((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}})(),1),WDe=function(e){let t=this.constructor.prototype,a=t[e],r=function(){return a.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},GDe={}.hasOwnProperty,XDe=(new class e extends WDe{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=oIe()}copy(){let t=new e,a=-1;for(;++a<this.attachers.length;){let e=this.attachers[a];t.use(...e)}return t.data((0,FDe.default)(!0,{},this.namespace)),t}data(e,t){return"string"==typeof e?2===arguments.length?(lIe("data",this.frozen),this.namespace[e]=t,this):GDe.call(this.namespace,e)&&this.namespace[e]||void 0:e?(lIe("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=dIe(e),a=this.parser||this.Parser;return iIe("parse",a),a(String(t),t)}process(e,t){let a=this;return this.freeze(),iIe("process",this.parser||this.Parser),sIe("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,n){let o=dIe(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(),iIe("processSync",this.parser||this.Parser),sIe("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){a=!0,rIe(e),t=r}),uIe("processSync","process",a),t}run(e,t,a){cIe(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=dIe(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){rIe(e),a=t,r=!0}),uIe("runSync","run",r),a}stringify(e,t){this.freeze();let a=dIe(t),r=this.compiler||this.Compiler;return sIe("stringify",r),cIe(e),r(e,a)}use(e,...t){let a=this.attachers,r=this.namespace;if(lIe("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,FDe.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];nIe(i)&&nIe(r)&&(r=(0,FDe.default)(!0,i,r)),a[n]=[e,r,...o]}}}}).freeze()});function KDe(e){return"text"===e?.type}function JDe(e){return"element"===e?.type}function eLe(e){return{type:"text",value:e}}function tLe(){return e=>{J_e(e,"element",(e,t,a)=>{if("element"===a?.type&&"pre"===a.tagName&&"code"===e.tagName){let t=0;e.children=aLe(e),e.children.forEach(e=>{if("element"===e.type&&"span"===e.tagName){let a=e.children[e.children.length-1];a&&(!KDe(a)||KDe(a)&&!nLe(a))&&(e.children.push({type:"text",value:"\n"}),t++)}}),e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]}})}}function aLe(e,t=[],a){let r=()=>t[t.length-1]??(t.push(rLe())&&t[t.length-1]||void 0);return e.children.forEach(n=>{if(KDe(n)&&nLe(n)){let o=n.value.split(/\n/);o.forEach((n,i)=>{a?r()?.children.push({...e,children:[eLe(n)]}):r()?.children.push(eLe(n)),i!==o.length-1&&t.push(rLe())})}else JDe(n)&&n.children.some(nLe)?aLe(n,t,!0):r()?.children.push(n)}),t}function rLe(...e){return{type:"element",tagName:"span",properties:{class:["line"]},children:e}}function nLe(e){return KDe(e)&&/\r?\n/.test(e.value)||JDe(e)&&e.children.some(nLe)}function oLe(e,t){let a=("string"==typeof t?.maskCredentials?[t.maskCredentials]:t?.maskCredentials??[]).filter(e=>!(e.length<3)),r=`language-${TCe[t.lang]??t.lang}`,n=XDe().use(f$e,{fragment:!0}).use(function(e){return()=>t=>{J_e(t,"element",t=>{"code"===t.tagName&&t.children.push({type:"text",value:e})})}}(e)).use(fCe,{languages:t.languages}).use(t?.lineNumbers?tLe:()=>{}).use(aIe).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 iLe=V(()=>{ZCe(),YDe(),rCe()});function sLe(e){return"text"===e.type&&"string"==typeof e.value&&/^\s*$/.test(e.value)}function lLe(){return e=>{J_e(e,"element",(e,t,a)=>{if("blockquote"!==e.tagName||"number"!=typeof t||!a||"root"!==a.type)return;let r=e.children.findIndex(e=>!sLe(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(!cLe.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&&sLe(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 cLe,uLe=V(()=>{rCe(),cLe=["note","tip","important","warning","caution","success"]});function dLe(e){let t=e||uZe,a=t.protocols||lZe,r=ECe(t.test);return function(e){J_e(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!sZe.test(e)&&iZe.test(e)}(r)?a.includes(r.slice(0,r.indexOf(":"))):r.startsWith("//")){let a=pLe(t.content,e),r=a&&!Array.isArray(a)?[a]:a,n=pLe(t.rel,e)||cZe,o="string"==typeof n?OMe(n):n,i=pLe(t.target,e),s=pLe(t.properties,e);if(s&&Object.assign(e.properties,oZe(s)),o.length>0&&(e.properties.rel=[...o]),i&&(e.properties.target=i),r){let a=pLe(t.contentProperties,e)||{};e.children.push({type:"element",tagName:"span",properties:oZe(a),children:oZe(r)})}}}})}}function pLe(e,t){return"function"==typeof e?e(t):e}function hLe(e,t){if("children"in e){let a={...t};return("root"===e.type||vLe(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=hLe(n[i],{...t,after:mLe(n,i,r),before:a});e.remove?(n.splice(i,1),i--,o--):e.ignore||(a=e.stripAtStart),gLe(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&&yLe(a.charAt(0))&&n++,n!==o&&yLe(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:gZe(e),stripAtStart:!1,remove:!1}}function mLe(e,t,a){for(;++t<e.length;){let a=e[t],r=fLe(a);if(void 0===r&&"children"in a&&!bLe(a)&&(r=mLe(a.children,-1)),"boolean"==typeof r)return r}return a}function fLe(e){if("element"===e.type){if(gLe(e))return!1;if(vLe(e))return!0}else if("text"===e.type){if(!k$e(e))return!1}else if(!gZe(e))return!1}function gLe(e){return dZe(e)||CCe(e,hZe)}function vLe(e){return CCe(e,pZe)}function bLe(e){return!("element"!==e.type||!e.properties.hidden)||gZe(e)||CCe(e,mZe)}function yLe(e){return" "===e||"\n"===e}function wLe(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function xLe(){return" "}function OLe(e){return function(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}function kLe(e){return!!("text"===e.type||yZe(e)||dZe(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(!bZe.has(String(t[a])))return!1;return!0}(e)||wZe(e)&&function(e,t){let a="element"===e.type&&vZe.call(e.properties,t)&&e.properties[t];return null!=a&&!1!==a}(e,"itemProp"))}function SLe(e,t){let a=t||OZe,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=n&&k$e(n)?e[e.length-2]:n,i=(ALe(r,o)&&ALe(r,a)?"\n\n":"\n")+r.indent.repeat(Math.max(t,0));n&&"text"===n.type?n.value=k$e(n)?i:n.value+i:e.push({type:"text",value:i})}(function(e,t){hLe(e,{collapse:OLe((t||fZe).newlines?wLe:xLe),whitespace:"normal"})})(e,{newlines:!0}),K_e(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&&xZe.includes(e.tagName))return aCe;if(0===e.children.length||!TLe(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)(TLe(r,t)||o&&!i)&&(n(s,a,t),o=!0),i=t,s.push(t);i&&(o||TLe(r,i))&&(k$e(i)&&(s.pop(),i=s[s.length-1]),n(s,a-1)),e.children=s})}function ALe(e,t){return!!(t&&"element"===t.type&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function TLe(e,t){return"root"===t.type||"element"===t.type&&(e.head||"script"===t.tagName||dZe(t)||!kLe(t))}function _Le(e){return function(t){SLe(t,e)}}function CLe(e,t){let a={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return a.childNodes=ILe(e.children,a,t),RLe(e,a),a}function ELe(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return RLe(e,t),t}function PLe(e){let t={nodeName:"#text",value:e.value,parentNode:null};return RLe(e,t),t}function MLe(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return RLe(e,t),t}function NLe(e,t){let a=t,r=a;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===a.space&&(r=RIe);let n,o=[];if(e.properties)for(n in e.properties)if("children"!==n&&SZe.call(e.properties,n)){let t=$Le(r,n,e.properties[n]);t&&o.push(t)}let i=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:ZIe[i],childNodes:[],parentNode:null};return s.childNodes=ILe(e.children,s,r),RLe(e,s),"template"===e.tagName&&e.content&&(s.content=function(e,t){let a={nodeName:"#document-fragment",childNodes:[]};return a.childNodes=ILe(e.children,a,t),RLe(e,a),a}(e.content,r)),s}function $Le(e,t,a){let r=vMe(e,t);if(!1===a||null==a||"number"==typeof a&&Number.isNaN(a)||!a&&r.boolean)return;Array.isArray(a)&&(a=r.commaSeparated?xMe(a):kMe(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=ZIe[r.space]}return n}function ILe(e,t,a){let r=-1,n=[];if(e)for(;++r<e.length;){let o=AZe(e[r],a);o.parentNode=t,n.push(o)}return n}function RLe(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 DLe(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 LLe(e){let t=_Ze(e),a=TZe(e);if(t&&a)return{start:t,end:a}}function BLe(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=g$e("type",{handlers:{root:ULe,element:zLe,text:HLe,comment:qLe,doctype:ZLe,raw:QLe},unknown:FLe}),n={parser:a?new tDe(EZe):tDe.getFragmentParser(void 0,EZe),handle(e){r(e,n)},stitches:!1,options:t||{}};r(e,n),WLe(n,_Ze());let o=CMe(a?n.parser.document:n.parser.getFragment(),{file:n.options.file});return n.stitches&&J_e(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 jLe(e,t){let a=-1;if(e)for(;++a<e.length;)t.handle(e[a])}function ULe(e,t){jLe(e.children,t)}function zLe(e,t){(function(e,t){let a=e.tagName.toLowerCase();if(t.parser.tokenizer.state===fRe.PLAINTEXT)return;WLe(t,_Ze(e));let r=t.parser.openElements.current,n="namespaceURI"in r?r.namespaceURI:ZIe.html;n===ZIe.html&&"svg"===a&&(n=ZIe.svg);let o=function(e,t){let a=(t||kZe).space;return AZe(e,"svg"===a?RIe:IIe)}({...e,children:[]},{space:n===ZIe.svg?"svg":"html"}),i={type:YIe.START_TAG,tagName:a,tagID:HMe(a),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in o?o.attrs:[],location:XLe(e)};t.parser.currentToken=i,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=a})(e,t),jLe(e.children,t),function(e,t){let a=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&fDe.includes(a)||t.parser.tokenizer.state===fRe.PLAINTEXT)return;WLe(t,TZe(e));let r={type:YIe.END_TAG,tagName:a,tagID:HMe(a),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:XLe(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),a===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===fRe.RCDATA||t.parser.tokenizer.state===fRe.RAWTEXT||t.parser.tokenizer.state===fRe.SCRIPT_DATA)&&(t.parser.tokenizer.state=fRe.DATA)}(e,t)}function HLe(e,t){let a={type:YIe.CHARACTER,chars:e.value,location:XLe(e)};WLe(t,_Ze(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function ZLe(e,t){let a={type:YIe.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:XLe(e)};WLe(t,_Ze(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function VLe(e,t){t.stitches=!0;let a=function(e){return oZe("children"in e?{...e,children:[]}:e)}(e);"children"in e&&"children"in a&&(a.children=BLe({type:"root",children:e.children},t.options).children),qLe({type:"comment",value:{stitch:a}},t)}function qLe(e,t){let a=e.value,r={type:YIe.COMMENT,data:a,location:XLe(e)};WLe(t,_Ze(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function QLe(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,GLe(t,_Ze(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 FLe(e,t){let a=e;if(!t.options.passThrough||!t.options.passThrough.includes(a.type)){let e="";throw CZe.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)}VLe(a,t)}function WLe(e,t){GLe(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=fRe.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 GLe(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 XLe(e){let t=_Ze(e)||{line:void 0,column:void 0,offset:void 0},a=TZe(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 YLe(e){return function(t,a){return BLe(t,{...e,file:a})}}function KLe(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 aBe(r,t),r}}(e,a);case"doctype":return function(e,t){if(e.schema.allowDoctypes){let e={type:"doctype"};return aBe(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=JLe(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&&NZe.call(n,r)?n[r]:void 0,s=n&&NZe.call(n,"*")?n["*"]:void 0,l=t&&"object"==typeof t?t:{},c={};for(a in l)if(NZe.call(l,a)){let t=l[a],r=eBe(e,rBe(i,a),a,t);r??=eBe(e,rBe(s,a),a,t),null!=r&&(c[a]=r)}if(o&&NZe.call(o,r)){let e=o[r];for(a in e)NZe.call(e,a)&&!NZe.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&&NZe.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 aBe(i,t),i}(e,a);case"root":return function(e,t){let a={type:"root",children:JLe(e,t.children)};return aBe(a,t),a}(e,a);case"text":return function(e,t){let a={type:"text",value:"string"==typeof t.value?t.value:""};return aBe(a,t),a}(0,a)}}}function JLe(e,t){let a=[];if(Array.isArray(t)){let r=t,n=-1;for(;++n<r.length;){let t=KLe(e,r[n]);t&&(Array.isArray(t)?a.push(...t):a.push(t))}}return a}function eBe(e,t,a,r){return t?Array.isArray(r)?function(e,t,a,r){let n=-1,o=[];for(;++n<r.length;){let i=tBe(e,t,a,r[n]);("number"==typeof i||"string"==typeof i)&&o.push(i)}return o}(e,t,a,r):tBe(e,t,a,r):void 0}function tBe(e,t,a,r){if(("boolean"==typeof r||"number"==typeof r||"string"==typeof r)&&function(e,t,a){let r=e.schema.protocols&&NZe.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 aBe(e,t){let a=LLe(t);t.data&&(e.data=oZe(t.data)),a&&(e.position=a)}function rBe(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 nBe(e){return function(t){return function(e,t){let a={type:"root",children:[]},r=KLe({schema:t?{...MZe,...t}:MZe,stack:[]},e);return r&&(Array.isArray(r)?1===r.length?a=r[0]:a.children=r:a=r),a}(t,e)}}function oBe(e){return null!==e&&(e<32||127===e)}function iBe(e){return null!==e&&e<-2}function sBe(e){return null!==e&&(e<0||32===e)}function lBe(e){return-2===e||-1===e||32===e}function cBe(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function uBe(e,t,a){let r=eCe((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([dBe(e[0]),pBe(e[1])])}return t}(t),o=-1;for(;++o<n.length;)K_e(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 dBe(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 pBe(e){return"function"==typeof e?e:function(){return e}}function hBe(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function mBe(e){this.config.enter.autolinkProtocol.call(this,e)}function fBe(e){this.config.exit.autolinkProtocol.call(this,e)}function gBe(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 vBe(e){this.config.exit.autolinkEmail.call(this,e)}function bBe(e){this.exit(e)}function yBe(e){uBe(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,wBe],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,xBe]],{ignore:["link","linkReference"]})}function wBe(e,t,a,r,n){let o="";if(!OBe(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=O$e(e,"("),o=O$e(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 xBe(e,t,a,r){return!(!OBe(r,!0)||/[-\d_]$/.test(a))&&{type:"link",title:null,url:"mailto:"+t+"@"+a,children:[{type:"text",value:t+"@"+a}]}}function OBe(e,t){let a=e.input.charCodeAt(e.index-1);return(0===e.index||UZe(a)||jZe(a))&&(!t||47!==a)}function kBe(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}function SBe(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function ABe(){this.buffer()}function TBe(e){let t=this.resume(),a=this.stack[this.stack.length-1];a.type,a.label=t,a.identifier=kBe(this.sliceSerialize(e)).toLowerCase()}function _Be(e){this.exit(e)}function CBe(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function EBe(){this.buffer()}function PBe(e){let t=this.resume(),a=this.stack[this.stack.length-1];a.type,a.label=t,a.identifier=kBe(this.sliceSerialize(e)).toLowerCase()}function MBe(e){this.exit(e)}function NBe(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 $Be(){return"["}function IBe(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()),RBe)),i(),o}function RBe(e,t,a){return 0===t?e:(a?"":"    ")+e}function DBe(e){this.enter({type:"delete",children:[]},e)}function LBe(e){this.exit(e)}function BBe(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 jBe(){return"~"}function UBe(e){return null==e?"":String(e)}function zBe(e){return e.length}function HBe(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 ZBe(e,t){let a,r=-1;if(t.extensions)for(;++r<t.extensions.length;)ZBe(e,t.extensions[r]);for(a in t)if(VZe.call(t,a))switch(a){case"extensions":break;case"unsafe":case"join":VBe(e[a],t[a]);break;case"handlers":qBe(e[a],t[a]);break;default:e.options[a]=t[a]}return e}function VBe(e,t){t&&e.push(...t)}function qBe(e,t){t&&Object.assign(e,t)}function QBe(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()),FBe);return n(),i}function FBe(e,t,a){return">"+(a?"":" ")+e}function WBe(e,t){return GBe(e,t.inConstruct,!0)&&!GBe(e,t.notInConstruct,!1)}function GBe(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 XBe(e,t,a,r){let n=-1;for(;++n<a.unsafe.length;)if("\n"===a.unsafe[n].character&&WBe(a.stack,a.unsafe[n]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}function YBe(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 KBe(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(YBe(e,a)){let e=a.enter("codeIndented"),t=a.indentLines(o,JBe);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 JBe(e,t,a){return(a?"":"    ")+e}function eje(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function tje(e,t,a,r){let n=eje(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 aje(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 rje(e,t,a){return a.options.emphasis||"*"}function nje(e,t){let a=t||qZe;return oje(e,"boolean"!=typeof a.includeImageAlt||a.includeImageAlt,"boolean"!=typeof a.includeHtml||a.includeHtml)}function oje(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 ije(e.children,t,a)}return Array.isArray(e)?ije(e,t,a):""}function ije(e,t,a){let r=[],n=-1;for(;++n<e.length;)r[n]=oje(e[n],t,a);return r.join("")}function sje(e,t){let a=!1;return J_e(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)||!nje(e)||!t.options.setext&&!a)}function lje(e,t,a,r){let n=Math.max(Math.min(6,e.depth||1),1),o=a.createTracker(r);if(sje(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 cje(e){return e.value||""}function uje(){return"<"}function dje(e,t,a,r){let n=eje(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 pje(){return"!"}function hje(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 mje(){return"!"}function fje(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 gje(){return"`"}function vje(e,t){let a=nje(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 bje(e,t,a,r){let n,o,i=eje(a),s='"'===i?"Quote":"Apostrophe",l=a.createTracker(r);if(vje(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 yje(e,t,a){return vje(e,a)?"<":"["}function wje(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 xje(){return"["}function Oje(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 kje(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 Sje(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):Oje(a),s=e.ordered?"."===i?")":".":function(e){let t=Oje(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),kje(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 Aje(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||Oje(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 Tje(e,t,a,r){let n=a.enter("paragraph"),o=a.enter("phrasing"),i=a.containerPhrasing(e,r);return o(),n(),i}function _je(e,t,a,r){return(e.children.some(function(e){return QZe(e)})?a.containerPhrasing:a.containerFlow).call(a,e,r)}function Cje(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 Eje(e,t,a){return a.options.strong||"*"}function Pje(e,t,a,r){return a.safe(e.value,r)}function Mje(e,t,a){let r=(kje(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 Nje(e,t,a,r){return("code"!==t.type||!YBe(t,r)||!("list"===e.type||e.type===t.type&&YBe(e,r)))&&("spread"in a&&"boolean"==typeof a.spread?"paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&sje(t,r))?void 0:+!!a.spread:void 0)}function $je(e){return!!KZe.call(YZe,e)&&YZe[e]}function Ije(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 Rje(e){return e.replace(JZe,Dje)}function Dje(e,t,a){if(t)return t;if(35===a.charCodeAt(0)){let e=a.charCodeAt(1),t=120===e||88===e;return Ije(a.slice(t?2:1),t?16:10)}return $je(a)||e}function Lje(e){return e.label||!e.identifier?e.label||"":Rje(e.identifier)}function Bje(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 jje(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 Uje(e,t){let a,r=[],n=0,o=0;for(;a=eVe.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 zje(e,t){return e-t}function Hje(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 Zje(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 Vje(e,t={}){let a={enter:function(e){return a.stack.push(e),function(){a.stack.pop()}},indentLines:Uje,associationId:Lje,containerPhrasing:Wje,containerFlow:Gje,createTracker:Zje,compilePattern:Bje,safe:Xje,stack:[],unsafe:[...XZe],join:[...WZe],handlers:{...FZe},options:{},indexStack:[],handle:void 0};ZBe(a,t),a.options.tightDefinitions&&a.join.push(Fje),a.handle=g$e("type",{invalid:qje,unknown:Qje,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 qje(e){throw Error("Cannot handle value `"+e+"`, expected node")}function Qje(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function Fje(e,t){if("definition"===e.type&&e.type===t.type)return 0}function Wje(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 Gje(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(jje(a,n[s+1],e,t)))}return r.pop(),i.join("")}(e,this,t)}function Xje(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(!WBe(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(zje);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(Hje(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(Hje(r.slice(l,c),a.after)),o.join("")}(this,e,t)}function Yje(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 Kje(e){this.exit(e),this.data.inTable=void 0}function Jje(e){this.enter({type:"tableRow",children:[]},e)}function eUe(e){this.exit(e)}function tUe(e){this.enter({type:"tableCell",children:[]},e)}function aUe(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,rUe));let a=this.stack[this.stack.length-1];a.type,a.value=t,this.exit(e)}function rUe(e,t){return"|"===t?t:e}function nUe(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=FZe.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||zBe,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=UBe(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]=HBe(a[u]);else{let e=HBe(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 oUe(e){let t=this.stack[this.stack.length-2];t.type,t.checked="taskListCheckValueChecked"===e.type}function iUe(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 sUe(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=FZe.listItem(e,t,a,{...r,...s.current()});return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+i})),l}function lUe(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 cUe(e,t){return e.length>0?(lUe(e,e.length,0,t),e):t}function uUe(e){let t={},a=-1;for(;++a<e.length;)dUe(t,e[a]);return t}function dUe(e,t){let a;for(a in t){let r,n=(tVe.call(e,a)?e[a]:void 0)||(e[a]={}),o=t[a];if(o)for(r in o){tVe.call(n,r)||(n[r]=[]);let e=o[r];pUe(n[r],Array.isArray(e)?e:e?[e]:[])}}}function pUe(e,t){let a=-1,r=[];for(;++a<t.length;)("after"===t[a].add?e:r).push(t[a]);lUe(e,0,0,r)}function hUe(e,t,a){let r,n,o=this;return function(t){return SUe(t)&&kUe.call(o,o.previous)&&!AUe(o.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),i(t)):a(t)};function i(t){return SUe(t)?(e.consume(t),i):64===t?(e.consume(t),s):a(t)}function s(t){return 46===t?e.check(iVe,c,l)(t):45===t||95===t||IZe(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&&$Ze(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(i)):a(i)}}function mUe(e,t,a){let r=this;return function(t){return 87!==t&&119!==t||!xUe.call(r,r.previous)||AUe(r.events)?a(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(aVe,e.attempt(rVe,e.attempt(nVe,n),a),a)(t))};function n(a){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(a)}}function fUe(e,t,a){let r=this,n="",o=!1;return function(t){return 72!==t&&104!==t||!OUe.call(r,r.previous)||AUe(r.events)?a(t):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),n+=String.fromCodePoint(t),e.consume(t),i)};function i(t){if($Ze(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||oBe(t)||sBe(t)||UZe(t)||jZe(t)?a(t):e.attempt(rVe,e.attempt(nVe,c),a)(t)}function c(a){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(a)}}function gUe(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 vUe(e,t,a){let r,n,o;return i;function i(t){return 46===t||95===t?e.check(oVe,l,s)(t):null===t||sBe(t)||UZe(t)||45!==t&&jZe(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 bUe(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(oVe,t,o)(i):null===i||sBe(i)||UZe(i)?t(i):(e.consume(i),n)}function o(t){return 41===t&&r++,e.consume(t),n}}function yUe(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||sBe(i)||UZe(i)?t(i):a(i)}function n(e){return null===e||40===e||91===e||sBe(e)||UZe(e)?t(e):r(e)}function o(e){return $Ze(e)?i(e):a(e)}function i(t){return 59===t?(e.consume(t),r):$Ze(t)?(e.consume(t),i):a(t)}}function wUe(e,t,a){return function(t){return e.consume(t),r};function r(e){return IZe(e)?a(e):t(e)}}function xUe(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||sBe(e)}function OUe(e){return!$Ze(e)}function kUe(e){return!(47===e||SUe(e))}function SUe(e){return 43===e||45===e||46===e||95===e||IZe(e)}function AUe(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 TUe(e){let t=[],a=-1,r=0,n=0;for(;++a<e.length;){let o=e.charCodeAt(a),i="";if(37===o&&IZe(e.charCodeAt(a+1))&&IZe(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 _Ue(e){return null===e||sBe(e)||UZe(e)?1:jZe(e)?2:void 0}function CUe(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 EUe(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);MUe(d,-s),MUe(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=cUe(l,[["enter",e[a][1],t],["exit",e[a][1],t]])),l=cUe(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",n,t]]),l=cUe(l,CUe(t.parser.constructs.insideSpan.null,e.slice(a+1,u),t)),l=cUe(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=cUe(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,lUe(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 PUe(e,t){let a,r=this.parser.constructs.attentionMarkers.null,n=this.previous,o=_Ue(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=_Ue(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 MUe(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}function NUe(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 $Ze(t)?(e.consume(t),o):64===t?a(t):l(t)}function o(e){return 43===e||45===e||46===e||IZe(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||IZe(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||oBe(r)?a(r):(e.consume(r),s)}function l(t){return 64===t?(e.consume(t),c):RZe(t)?(e.consume(t),l):a(t)}function c(e){return IZe(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||IZe(t))&&r++<63){let a=45===t?d:u;return e.consume(t),a}return a(t)}}function $Ue(e,t,a,r){let n=r?r-1:1/0,o=0;return function(r){return lBe(r)?(e.enter(a),i(r)):t(r)};function i(r){return lBe(r)&&o++<n?(e.consume(r),i):(e.exit(a),t(r))}}function IUe(e,t,a){return function(t){return lBe(t)?$Ue(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||iBe(e)?t(e):a(e)}}function RUe(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 lBe(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function DUe(e,t,a){let r=this;return function(t){return lBe(t)?$Ue(e,n,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):n(t)};function n(r){return e.attempt(fVe,t,a)(r)}}function LUe(e){e.exit("blockQuote")}function BUe(e,t,a){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return BZe(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):a(r)}}function jUe(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=IZe,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=LZe,c):(e.enter("characterReferenceValue"),r=7,n=DZe,c(t))}function c(s){if(59===s&&i){let r=e.exit("characterReferenceValue");return n!==IZe||$je(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 UUe(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"),lBe(t)?$Ue(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"),lBe(t)?$Ue(e,u,"whitespace")(t):u(t)):a(t)}function u(r){return null===r||iBe(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"),lBe(t)?$Ue(e,u,"whitespace")(t):u(t))}function u(a){return null===a||iBe(a)?(e.exit("codeFencedFence"),n.interrupt?t(a):e.check(bVe,m,y)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(a))}function d(t){return null===t||iBe(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(t)):lBe(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),$Ue(e,p,"whitespace")(t)):96===t&&t===r?a(t):(e.consume(t),d)}function p(t){return null===t||iBe(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||iBe(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&&lBe(t)?$Ue(e,v,"linePrefix",i+1)(t):v(t)}function v(t){return null===t||iBe(t)?e.check(bVe,m,y)(t):(e.enter("codeFlowValue"),b(t))}function b(t){return null===t||iBe(t)?(e.exit("codeFlowValue"),v(t)):(e.consume(t),b)}function y(a){return e.exit("codeFenced"),t(a)}}function zUe(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 HUe(e,t,a){let r=this;return function(t){return e.enter("codeIndented"),$Ue(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):iBe(t)?e.attempt(xVe,o,s)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||iBe(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),i)}function s(a){return e.exit("codeIndented"),t(a)}}function ZUe(e,t,a){let r=this;return n;function n(t){return r.parser.lazy[r.now().line]?a(t):iBe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),n):$Ue(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):iBe(e)?n(e):a(e)}}function VUe(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 qUe(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}function QUe(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)):iBe(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||iBe(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 FUe(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 WUe(e){let t,a,r,n,o,i,s,l={},c=-1,u=new kVe(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,GUe(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 lUe(e,0,1/0,u.slice(0)),!s}function GUe(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 XUe(e){return WUe(e),e}function YUe(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):iBe(t)?e.check(AVe,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 KUe(e,t,a){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),$Ue(e,n,"linePrefix")};function n(n){if(null===n||iBe(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 JUe(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||oBe(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||iBe(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&&!sBe(n)?u<c&&40===n?(e.consume(n),u++,m):41===n?(e.consume(n),u--,m):null===n||32===n||40===n||oBe(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 eze(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):iBe(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||iBe(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),i||=!lBe(t),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function tze(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):iBe(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),$Ue(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||iBe(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 aze(e,t){let a;return function r(n){return iBe(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),a=!0,r):lBe(n)?$Ue(e,r,a?"linePrefix":"lineSuffix")(n):t(n)}}function rze(e,t,a){let r,n=this;return function(t){return e.enter("definition"),function(t){return eze.call(n,e,o,a,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return r=kBe(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 sBe(t)?aze(e,s)(t):s(t)}function s(t){return JUe(e,l,a,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(_Ve,c,c)(t)}function c(t){return lBe(t)?$Ue(e,u,"whitespace")(t):u(t)}function u(o){return null===o||iBe(o)?(e.exit("definition"),n.parser.defined.push(r),t(o)):a(o)}}function nze(e,t,a){return function(t){return sBe(t)?aze(e,r)(t):a(t)};function r(t){return tze(e,n,a,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function n(t){return lBe(t)?$Ue(e,o,"whitespace")(t):o(t)}function o(e){return null===e||iBe(e)?t(e):a(e)}}function oze(e,t,a){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return iBe(r)?(e.exit("hardBreakEscape"),t(r)):a(r)}}function ize(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"},lUe(e,o,n-o+1,[["enter",a,t],["enter",r,t],["exit",r,t],["exit",a,t]])),e}function sze(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||sBe(t)?(e.exit("atxHeadingSequence"),o(t)):a(t)}function o(a){return 35===a?(e.enter("atxHeadingSequence"),i(a)):null===a||iBe(a)?(e.exit("atxHeading"),t(a)):lBe(a)?$Ue(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||sBe(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}}function lze(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 cze(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):$Ze(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):$Ze(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:_:h):a(r)}function m(t){return $Ze(t)?(e.consume(t),o=String.fromCharCode(t),f):a(t)}function f(i){if(null===i||47===i||62===i||sBe(i)){let s=47===i,c=o.toLowerCase();return s||n||!MVe.includes(c)?PVe.includes(o.toLowerCase())?(r=6,s?(e.consume(i),g):l.interrupt?t(i):_(i)):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?a(i):n?v(i):b(i)):(r=1,l.interrupt?t(i):_(i))}return 45===i||IZe(i)?(e.consume(i),o+=String.fromCharCode(i),f):a(i)}function g(r){return 62===r?(e.consume(r),l.interrupt?t:_):a(r)}function v(t){return lBe(t)?(e.consume(t),v):A(t)}function b(t){return 47===t?(e.consume(t),A):58===t||95===t||$Ze(t)?(e.consume(t),y):lBe(t)?(e.consume(t),b):A(t)}function y(t){return 45===t||46===t||58===t||95===t||IZe(t)?(e.consume(t),y):w(t)}function w(t){return 61===t?(e.consume(t),x):lBe(t)?(e.consume(t),w):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,O):lBe(t)?(e.consume(t),x):k(t)}function O(t){return t===s?(e.consume(t),s=null,S):null===t||iBe(t)?a(t):(e.consume(t),O)}function k(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||sBe(t)?w(t):(e.consume(t),k)}function S(e){return 47===e||62===e||lBe(e)?b(e):a(e)}function A(t){return 62===t?(e.consume(t),T):a(t)}function T(t){return null===t||iBe(t)?_(t):lBe(t)?(e.consume(t),T):a(t)}function _(t){return 45===t&&2===r?(e.consume(t),M):60===t&&1===r?(e.consume(t),N):62===t&&4===r?(e.consume(t),D):63===t&&3===r?(e.consume(t),R):93===t&&5===r?(e.consume(t),I):!iBe(t)||6!==r&&7!==r?null===t||iBe(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),_):(e.exit("htmlFlowData"),e.check($Ve,L,C)(t))}function C(t){return e.check(IVe,E,L)(t)}function E(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return null===t||iBe(t)?C(t):(e.enter("htmlFlowData"),_(t))}function M(t){return 45===t?(e.consume(t),R):_(t)}function N(t){return 47===t?(e.consume(t),o="",$):_(t)}function $(t){if(62===t){let a=o.toLowerCase();return MVe.includes(a)?(e.consume(t),D):_(t)}return $Ze(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),$):_(t)}function I(t){return 93===t?(e.consume(t),R):_(t)}function R(t){return 62===t?(e.consume(t),D):45===t&&2===r?(e.consume(t),R):_(t)}function D(t){return null===t||iBe(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),D)}function L(a){return e.exit("htmlFlow"),t(a)}}function uze(e,t,a){let r=this;return function(t){return iBe(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 dze(e,t,a){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(mVe,t,a)}}function pze(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),w):63===t?(e.consume(t),b):$Ze(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):$Ze(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):iBe(t)?(o=u,N(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):iBe(t)?(o=m,N(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):iBe(t)?(o=v,N(t)):(e.consume(t),v)}function b(t){return null===t?a(t):63===t?(e.consume(t),y):iBe(t)?(o=b,N(t)):(e.consume(t),b)}function y(e){return 62===e?M(e):b(e)}function w(t){return $Ze(t)?(e.consume(t),x):a(t)}function x(t){return 45===t||IZe(t)?(e.consume(t),x):O(t)}function O(t){return iBe(t)?(o=O,N(t)):lBe(t)?(e.consume(t),O):M(t)}function k(t){return 45===t||IZe(t)?(e.consume(t),k):47===t||62===t||sBe(t)?S(t):a(t)}function S(t){return 47===t?(e.consume(t),M):58===t||95===t||$Ze(t)?(e.consume(t),A):iBe(t)?(o=S,N(t)):lBe(t)?(e.consume(t),S):M(t)}function A(t){return 45===t||46===t||58===t||95===t||IZe(t)?(e.consume(t),A):T(t)}function T(t){return 61===t?(e.consume(t),_):iBe(t)?(o=T,N(t)):lBe(t)?(e.consume(t),T):S(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?a(t):34===t||39===t?(e.consume(t),r=t,C):iBe(t)?(o=_,N(t)):lBe(t)?(e.consume(t),_):(e.consume(t),E)}function C(t){return t===r?(e.consume(t),r=void 0,P):null===t?a(t):iBe(t)?(o=C,N(t)):(e.consume(t),C)}function E(t){return null===t||34===t||39===t||60===t||61===t||96===t?a(t):47===t||62===t||sBe(t)?S(t):(e.consume(t),E)}function P(e){return 47===e||62===e||sBe(e)?S(e):a(e)}function M(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):a(r)}function N(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),$}function $(t){return lBe(t)?$Ue(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 hze(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 mze(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=cUe(o,e.slice(r+1,r+s+3)),o=cUe(o,[["enter",u,t]]),o=cUe(o,CUe(t.parser.constructs.insideSpan.null,e.slice(r+s+4,n-3),t)),o=cUe(o,[["exit",u,t],e[n-2],e[n-1],["exit",c,t]]),o=cUe(o,e.slice(n+1)),o=cUe(o,[["exit",l,t]]),lUe(e,r,e.length,o),e}function fze(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(kBe(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(LVe,c,n?c:u)(t):91===t?e.attempt(BVe,c,n?l:u)(t):n?c(t):u(t)}function l(t){return e.attempt(jVe,c,u)(t)}function c(e){return t(e)}function u(e){return r._balanced=!0,a(e)}}function gze(e,t,a){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return sBe(t)?aze(e,n)(t):n(t)}function n(t){return 41===t?c(t):JUe(e,o,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return sBe(t)?aze(e,s)(t):c(t)}function i(e){return a(e)}function s(t){return 34===t||39===t||40===t?tze(e,l,a,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return sBe(t)?aze(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 vze(e,t,a){let r=this;return function(t){return eze.call(r,e,n,o,"reference","referenceMarker","referenceString")(t)};function n(e){return r.parser.defined.includes(kBe(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):a(e)}function o(e){return a(e)}}function bze(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 yze(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 wze(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 xze(e,t){return function(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),$Ue(e,t,"linePrefix")}}function Oze(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||iBe(o))?(e.exit("thematicBreak"),t(o)):a(o)}function i(t){return t===r?(e.consume(t),n++,i):(e.exit("thematicBreakSequence"),lBe(t)?$Ue(e,o,"whitespace")(t):o(t))}}function kze(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:DZe(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(ZVe,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 DZe(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(mVe,r.interrupt?a:c,e.attempt(qVe,d,u))}function c(e){return r.containerState.initialBlankLine=!0,o++,d(e)}function u(t){return lBe(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 Sze(e,t,a){let r=this;return r.containerState._closeFlow=void 0,e.check(mVe,function(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,$Ue(e,t,"listItemIndent",r.containerState.size+1)(a)},function(a){return r.containerState.furtherBlankLines||!lBe(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(QVe,t,n)(a))});function n(n){return r.containerState._closeFlow=!0,r.interrupt=void 0,$Ue(e,e.attempt(VVe,t,a),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n)}}function Aze(e,t,a){let r=this;return $Ue(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 Tze(e){e.exit(this.containerState.type)}function _ze(e,t,a){let r=this;return $Ue(e,function(e){let n=r.events[r.events.length-1];return!lBe(e)&&n&&"listItemPrefixWhitespace"===n[1].type?t(e):a(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}function Cze(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 Eze(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"),lBe(t)?$Ue(e,s,"lineSuffix")(t):s(t))}function s(r){return null===r||iBe(r)?(e.exit("setextHeadingLine"),t(r)):a(r)}}function Pze(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=kBe(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 Mze(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 Nze(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||sBe(s))return a(s);if(93===s){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes(kBe(n.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):a(s)}return sBe(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 $ze(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||sBe(t))return a(t);if(93===t){e.exit("chunkString");let a=e.exit("gfmFootnoteDefinitionLabelString");return r=kBe(o.sliceSerialize(a)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return sBe(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),$Ue(e,p,"gfmFootnoteDefinitionWhitespace")):a(t)}function p(e){return t(e)}}function Ize(e,t,a){return e.check(mVe,t,e.attempt(WVe,t,a))}function Rze(e){e.exit("gfmFootnoteDefinition")}function Dze(e,t,a){let r=this;return $Ue(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 Lze(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=_Ue(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=_Ue(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&&lUe(i,i.length,0,CUe(s,e.slice(r+1,a),t)),lUe(i,i.length,0,[["exit",o,t],["enter",e[a][1],t],["exit",e[a][1],t],["exit",n,t]]),lUe(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 Bze(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 jze(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?w:s;return o===w&&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):iBe(t)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):a(t):lBe(t)?$Ue(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||sBe(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,lBe(t)?$Ue(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 lBe(t)?$Ue(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||iBe(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 lBe(t)?$Ue(e,b,"whitespace")(t):b(t)}function b(a){return 124===a?p(a):(null===a||iBe(a))&&r&&o===i?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):y(a)}function y(e){return a(e)}function w(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||iBe(a)?(e.exit("tableRow"),t(a)):lBe(a)?$Ue(e,x,"whitespace")(a):(e.enter("data"),O(a))}function O(t){return null===t||124===t||sBe(t)?(e.exit("data"),x(t)):(e.consume(t),92===t?k:O)}function k(t){return 92===t||124===t?(e.consume(t),O):O(t)}}function Uze(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 GVe;for(;++o<e.length;){let h=e[o],m=h[1];"enter"===h[0]?"tableHead"===m.type?(u=!1,0!==d&&(Hze(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=zze(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=zze(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=zze(p,t,c,s,o,n)):(c[0]=c[1],n=zze(p,t,l,s,o,n)),s=0):s&&("data"===m.type||"tableDelimiterMarker"===m.type||"tableDelimiterFiller"===m.type)&&(c[3]=o)}for(0!==d&&Hze(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=Bze(t.events,o))}return e}function zze(e,t,a,r,n,o){let i=1===r?"tableHeader":2===r?"tableDelimiter":"tableData";0!==a[0]&&(o.end=Object.assign({},Zze(t.events,a[0])),e.add(a[0],0,[["exit",o,t]]));let s=Zze(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=Zze(t.events,a[2]),o=Zze(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({},Zze(t.events,n)),e.add(n,0,[["exit",o,t]]),o=void 0),o}function Hze(e,t,a,r,n){let o=[],i=Zze(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 Zze(e,t){let a=e[t],r="enter"===a[0]?"start":"end";return a[1][r]}function Vze(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 sBe(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 iBe(r)?t(r):lBe(r)?e.check({tokenize:qze},t,a)(r):a(r)}}function qze(e,t,a){return $Ue(e,function(e){return null===e?a(e):t(e)},"whitespace")}function Qze(e){let t=e||YVe,a=this.data(),r=a.micromarkExtensions||=[],n=a.fromMarkdownExtensions||=[],o=a.toMarkdownExtensions||=[];r.push(function(e){return uUe([{text:uVe},{document:{91:{tokenize:$ze,continuation:{tokenize:Ize},exit:Rze}},text:{91:{tokenize:Nze},93:{add:"after",tokenize:Pze,resolveTo:Mze}}},Lze(e),{flow:{null:{tokenize:jze,resolveAll:Uze}}},{text:{91:XVe}}])}(t)),n.push([{transforms:[yBe],enter:{literalAutolink:hBe,literalAutolinkEmail:mBe,literalAutolinkHttp:mBe,literalAutolinkWww:mBe},exit:{literalAutolink:bBe,literalAutolinkEmail:vBe,literalAutolinkHttp:fBe,literalAutolinkWww:gBe}},{enter:{gfmFootnoteDefinition:SBe,gfmFootnoteDefinitionLabelString:ABe,gfmFootnoteCall:CBe,gfmFootnoteCallString:EBe},exit:{gfmFootnoteDefinition:_Be,gfmFootnoteDefinitionLabelString:TBe,gfmFootnoteCall:MBe,gfmFootnoteCallString:PBe}},{canContainEols:["delete"],enter:{strikethrough:DBe},exit:{strikethrough:LBe}},{enter:{table:Yje,tableData:tUe,tableHeader:tUe,tableRow:Jje},exit:{codeText:aUe,table:Kje,tableData:eUe,tableHeader:eUe,tableRow:eUe}},{exit:{taskListCheckValueChecked:oUe,taskListCheckValueUnchecked:oUe,paragraph:iUe}}]),o.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:zZe,notInConstruct:HZe},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:zZe,notInConstruct:HZe},{character:":",before:"[ps]",after:"\\/",inConstruct:zZe,notInConstruct:HZe}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:IBe,footnoteReference:NBe}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:ZZe}],handlers:{delete:BBe}},nUe(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:sUe}}]}}(t))}function Fze(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"),$Ue(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)):iBe(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),n)}}function Wze(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 lUe(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(eqe,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(eqe,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)):iBe(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++;lUe(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 Gze(e,t,a){return $Ue(e,e.attempt(this.parser.constructs.document,t,a),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Xze(e){let t=this,a=e.attempt(mVe,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,$Ue(e,e.attempt(this.parser.constructs.flow,r,e.attempt(SVe,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 Yze(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:Kze("text"===e?Jze:void 0)}}function Kze(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 Jze(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 eHe(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){iBe(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=cUe(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=CUe(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&&lUe(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 tHe(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(G),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:o(X),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:T,characterReferenceMarkerHexadecimal:z,characterReferenceMarkerNumeric:z,characterReferenceValue:H,characterReference:Z,codeFenced:l(g),codeFencedFence:f,codeFencedFenceInfo:h,codeFencedFenceMeta:m,codeFlowValue:T,codeIndented:l(v),codeText:l(M),codeTextData:T,data:T,definition:l(),definitionDestinationString:w,definitionLabelString:b,definitionTitleString:y,emphasis:l(),hardBreakEscape:l(C),hardBreakTrailing:l(C),htmlFlow:l(E),htmlFlowData:T,htmlText:l(P),htmlTextData:T,image:l($),label:R,labelText:I,lineEnding:_,link:l(N),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:U,resourceDestinationString:D,resourceTitleString:L,resource:B,setextHeading:l(S),setextHeadingLineSequence:k,setextHeadingText:O,strong:l(),thematicBreak:l()}};rHe(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]];gqe.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]||oHe).call(o,void 0,e[0])}for(r.position={start:aHe(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:aHe(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:aHe(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+"` ("+KNe({start:e.start,end:e.end})+"): it’s not open");r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||oHe).call(this,e,r[0])),a.position.end=aHe(e.end)}function u(){return nje(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=kBe(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume();this.stack[this.stack.length-1].title=e}function w(){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 O(){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:aHe(e.start),end:void 0},t.push(a)),this.stack.push(a)}function T(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=aHe(e.end)}function _(e){let a=this.stack[this.stack.length-1];if(this.data.atHardBreak){return a.children[a.children.length-1].position.end=aHe(e.end),void(this.data.atHardBreak=void 0)}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(a.type)&&(A.call(this,e),T.call(this,e))}function C(){this.data.atHardBreak=!0}function E(){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 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 $(){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=Rje(t),a.identifier=kBe(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=kBe(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=Ije(a,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=$je(a),this.stack[this.stack.length-1].value+=t}function Z(e){this.stack.pop().position.end=aHe(e.end)}function V(e){T.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function q(e){T.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 G(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function X(){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(;!WUe(e););return e}(function(e){let t={defined:[],lazy:{},constructs:uUe([oqe,...(e||{}).extensions||[]]),content:a(KVe),document:a(JVe),flow:a(tqe),string:a(rqe),text:a(nqe)};return t;function a(e){return function(a){return eHe(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(fqe.lastIndex=c,s=fqe.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 aHe(e){return{line:e.line,column:e.column,offset:e.offset}}function rHe(e,t){let a=-1;for(;++a<t.length;){let r=t[a];Array.isArray(r)?rHe(e,r):nHe(e,r)}}function nHe(e,t){let a;for(a in t)if(gqe.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 oHe(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+KNe({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+KNe({start:t.start,end:t.end})+") is open":"Cannot close document, a token (`"+t.type+"`, "+KNe({start:t.start,end:t.end})+") is still open")}function iHe(e){let t=this;t.parser=function(a){return tHe(a,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function sHe(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 lHe(e,t){let a={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,a),[e.applyData(t,a),{type:"text",value:"\n"}]}function cHe(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 uHe(e,t){let a={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function dHe(e,t){let a={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function pHe(e,t){let a,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),o=TUe(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 hHe(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 mHe(e,t){if(e.options.allowDangerousHtml){let a={type:"raw",value:t.value};return e.patch(t,a),e.applyData(t,a)}}function fHe(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 gHe(e,t){let a=String(t.identifier).toUpperCase(),r=e.definitionById.get(a);if(!r)return fHe(e,t);let n={src:TUe(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 vHe(e,t){let a={src:TUe(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 bHe(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 yHe(e,t){let a=String(t.identifier).toUpperCase(),r=e.definitionById.get(a);if(!r)return fHe(e,t);let n={href:TUe(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 wHe(e,t){let a={href:TUe(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 xHe(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=OHe(a[r])}return t}(a):OHe(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 OHe(e){return e.spread??e.children.length>1}function kHe(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 SHe(e,t){let a={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function AHe(e,t){let a={type:"root",children:e.wrap(e.all(t))};return e.patch(t,a),e.applyData(t,a)}function THe(e,t){let a={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function _He(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=_Ze(t.children[1]),i=TZe(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 CHe(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 EHe(e,t){let a={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function PHe(e){let t=String(e),a=/\r?\n|\r/g,r=a.exec(t),n=0,o=[];for(;r;)o.push(MHe(t.slice(n,r.index),n>0,!0),r[0]),n=r.index+r[0].length,r=a.exec(t);return o.push(MHe(t.slice(n),n>0,!1)),o.join("")}function MHe(e,t,a){let r=0,n=e.length;if(t){let t=e.codePointAt(r);for(;t===vqe||t===bqe;)r++,t=e.codePointAt(r)}if(a){let t=e.codePointAt(n-1);for(;t===vqe||t===bqe;)n--,t=e.codePointAt(n-1)}return n>r?e.slice(r,n):""}function NHe(e,t){let a={type:"text",value:PHe(String(t.value))};return e.patch(t,a),e.applyData(t,a)}function $He(e,t){let a={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,a),e.applyData(t,a)}function IHe(){}function RHe(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 DHe(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function LHe(e,t){let a=t||xqe,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=HHe(n.value)),!Array.isArray(n)&&"element"===n.type)){let e=n.children[0];e&&"text"===e.type&&(e.value=HHe(e.value))}Array.isArray(n)?t.push(...n):t.push(n)}}}return t},applyData:jHe,definitionById:r,footnoteById:n,footnoteCounts:new Map,footnoteOrder:[],handlers:{...yqe,...a.handlers},one:function(e,t){let a=e.type,r=o.handlers[a];if(wqe.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=oZe(a);return r.children=o.all(e),r}return oZe(e)}return(o.options.unknownHandler||UHe)(o,e,t)},options:a,patch:BHe,wrap:zHe};return J_e(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 BHe(e,t){e.position&&(t.position=LLe(e))}function jHe(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,oZe(n)),"children"in a&&a.children&&null!=r&&(a.children=r)}return a}function UHe(e,t){let a=t.data||{},r=!("value"in t)||wqe.call(a,"hProperties")||wqe.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 zHe(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 HHe(e){let t=0,a=e.charCodeAt(t);for(;9===a||32===a;)t++,a=e.charCodeAt(t);return e.slice(t)}function ZHe(e,t){let a=LHe(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||RHe,r=e.options.footnoteBackLabel||DHe,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=TUe(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:{...oZe(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 VHe(e,t){return e&&"run"in e?async function(a,r){let n=ZHe(a,{file:r,...t});await e.run(n,r)}:function(a,r){return ZHe(a,{file:r,...e||t})}}function qHe(e){let t=this;t.compiler=function(a){return Vje(a,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}function QHe(e){return XDe().use(iHe).use(Qze).parse(e)}function FHe(e){return"text"===e.type?e.value??"":"children"in e&&Array.isArray(e.children)?e.children.map(e=>FHe(e)).join(""):""}function WHe(e){let t=QHe(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 XDe().use(qHe).use(Qze).stringify({type:"root",children:e}).trim()}(e))}var GHe,XHe,YHe,KHe,JHe,eZe,tZe,aZe,rZe,nZe,oZe,iZe,sZe,lZe,cZe,uZe,dZe,pZe,hZe,mZe,fZe,gZe,vZe,bZe,yZe,wZe,xZe,OZe,kZe,SZe,AZe,TZe,_Ze,CZe,EZe,PZe,MZe,NZe,$Ze,IZe,RZe,DZe,LZe,BZe,jZe,UZe,zZe,HZe,ZZe,VZe,qZe,QZe,FZe,WZe,GZe,XZe,YZe,KZe,JZe,eVe,tVe,aVe,rVe,nVe,oVe,iVe,sVe,lVe,cVe,uVe,dVe,pVe,hVe,mVe,fVe,gVe,vVe,bVe,yVe,wVe,xVe,OVe,kVe,SVe,AVe,TVe,_Ve,CVe,EVe,PVe,MVe,NVe,$Ve,IVe,RVe,DVe,LVe,BVe,jVe,UVe,zVe,HVe,ZVe,VVe,qVe,QVe,FVe,WVe,GVe,XVe,YVe,KVe,JVe,eqe,tqe,aqe,rqe,nqe,oqe,iqe,sqe,lqe,cqe,uqe,dqe,pqe,hqe,mqe,fqe,gqe,vqe,bqe,yqe,wqe,xqe,Oqe,kqe,Sqe,Aqe,Tqe,_qe,Cqe,Eqe,Pqe,Mqe,Nqe,$qe,Iqe,Rqe,Dqe,Lqe,Bqe,jqe,Uqe,zqe,Hqe,Zqe,Vqe,qqe,Qqe,Fqe,Wqe,Gqe,Xqe,Yqe,Kqe,Jqe,eQe,tQe,aQe,rQe,nQe,oQe,iQe,sQe,lQe,cQe,uQe,dQe,pQe,hQe,mQe,fQe=V(()=>{for((ZCe(),YDe(),rCe(),cMe(),uLe(),GHe="object"==typeof self?self:globalThis,XHe=(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 GHe[e](t),n)}case 8:return a(BigInt(i),n);case"BigInt":return a(Object(BigInt(i)),n)}return a(new GHe[o](i),n)};return r},YHe=e=>XHe(new Map,e)(0),KHe="",({toString:JHe}={}),({keys:eZe}=Object),tZe=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let a=JHe.call(e).slice(8,-1);switch(a){case"Array":return[1,KHe];case"Object":return[2,KHe];case"Date":return[3,KHe];case"RegExp":return[4,KHe];case"Map":return[5,KHe];case"Set":return[6,KHe]}return a.includes("Array")?[1,a]:a.includes("Error")?[7,a]:[2,a]},aZe=([e,t])=>0===e&&("function"===t||"symbol"===t),rZe=(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]=tZe(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 eZe(r))(e||!aZe(tZe(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||!aZe(tZe(a))&&!aZe(tZe(n)))&&t.push([o(a),o(n)]);return a}case 6:{let t=[],a=n([i,t],r);for(let a of r)(e||!aZe(tZe(a)))&&t.push(o(a));return a}}let{message:l}=r;return n([i,{name:s,message:l}],r)};return o},nZe=(e,{json:t,lossy:a}={})=>{let r=[];return rZe(!(t||a),!!t,new Map,r)(e),r},oZe="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?YHe(nZe(e,t)):structuredClone(e):(e,t)=>YHe(nZe(e,t)),iZe=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,sZe=/^[a-zA-Z]:\\/,lZe=["http","https"],cZe=["nofollow"],uZe={},dZe=ECe(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}),pZe="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("."),hZe=["button","input","select","textarea"],mZe=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],fZe={},gZe=eCe(["comment","doctype"]),vZe={}.hasOwnProperty,bZe=new Set(["pingback","prefetch","stylesheet"]),yZe=ECe("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(".")),wZe=ECe("meta"),xZe=["pre","script","style","textarea"],OZe={},kZe={},SZe={}.hasOwnProperty,AZe=g$e("type",{handlers:{root:CLe,element:NLe,text:PLe,comment:MLe,doctype:ELe}}),TZe=DLe("end"),_Ze=DLe("start"),CZe=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),EZe={sourceCodeLocationInfo:!0,scriptingEnabled:!1},PZe=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],MZe={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...PZe,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...PZe],h2:[["className","sr-only"]],img:[...PZe,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...PZe,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...PZe],table:[...PZe],ul:[...PZe,["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(".")},NZe={}.hasOwnProperty,$Ze=cBe(/[A-Za-z]/),IZe=cBe(/[\dA-Za-z]/),RZe=cBe(/[#-'*+\--9=?A-Z^-~]/),DZe=cBe(/\d/),LZe=cBe(/[\dA-Fa-f]/),BZe=cBe(/[!-/:-@[-`{-~]/),jZe=cBe(/\p{P}|\p{S}/u),UZe=cBe(/\s/),zZe="phrasing",HZe=["autolink","link","image","label"],NBe.peek=$Be,ZZe=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],BBe.peek=jBe,VZe={}.hasOwnProperty,aje.peek=rje,qZe={},cje.peek=uje,dje.peek=pje,hje.peek=mje,fje.peek=gje,bje.peek=yje,wje.peek=xje,QZe=eCe(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]),Cje.peek=Eje,FZe={blockquote:QBe,break:XBe,code:KBe,definition:tje,emphasis:aje,hardBreak:XBe,heading:lje,html:cje,image:dje,imageReference:hje,inlineCode:fje,link:bje,linkReference:wje,list:Sje,listItem:Aje,paragraph:Tje,root:_je,strong:Cje,text:Pje,thematicBreak:Mje},WZe=[Nje],XZe=[{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:GZe=["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:GZe},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:GZe},{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:GZe},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:GZe},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:GZe},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:GZe},{atBreak:!0,character:"~"}],YZe={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:"‌"},KZe={}.hasOwnProperty,JZe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi,eVe=/\r?\n|\r/g,tVe={}.hasOwnProperty,aVe={tokenize:gUe,partial:!0},rVe={tokenize:vUe,partial:!0},nVe={tokenize:bUe,partial:!0},oVe={tokenize:yUe,partial:!0},iVe={tokenize:wUe,partial:!0},sVe={tokenize:mUe,previous:xUe},lVe={tokenize:fUe,previous:OUe},cVe={tokenize:hUe,previous:kUe},uVe={},dVe=48);dVe<123;)uVe[dVe]=cVe,58===++dVe?dVe=65:91===dVe&&(dVe=97);uVe[43]=cVe,uVe[45]=cVe,uVe[46]=cVe,uVe[95]=cVe,uVe[72]=[cVe,lVe],uVe[104]=[cVe,lVe],uVe[87]=[cVe,sVe],uVe[119]=[cVe,sVe],pVe={name:"attention",tokenize:PUe,resolveAll:EUe},hVe={name:"autolink",tokenize:NUe},mVe={tokenize:IUe,partial:!0},fVe={name:"blockQuote",tokenize:RUe,continuation:{tokenize:DUe},exit:LUe},gVe={name:"characterEscape",tokenize:BUe},vVe={name:"characterReference",tokenize:jUe},bVe={tokenize:zUe,partial:!0},yVe={name:"codeFenced",tokenize:UUe,concrete:!0},wVe={name:"codeIndented",tokenize:HUe},xVe={tokenize:ZUe,partial:!0},OVe={name:"codeText",tokenize:QUe,resolve:VUe,previous:qUe},kVe=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&&FUe(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),FUe(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),FUe(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);FUe(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);FUe(this.left,t.reverse())}}},SVe={tokenize:YUe,resolve:XUe},AVe={tokenize:KUe,partial:!0},TVe={name:"definition",tokenize:rze},_Ve={tokenize:nze,partial:!0},CVe={name:"hardBreakEscape",tokenize:oze},EVe={name:"headingAtx",tokenize:sze,resolve:ize},PVe="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("."),MVe=["pre","script","style","textarea"],NVe={name:"htmlFlow",tokenize:cze,resolveTo:lze,concrete:!0},$Ve={tokenize:dze,partial:!0},IVe={tokenize:uze,partial:!0},RVe={name:"htmlText",tokenize:pze},LVe={tokenize:gze},BVe={tokenize:vze},jVe={tokenize:bze},UVe={name:"labelStartImage",tokenize:yze,resolveAll:(DVe={name:"labelEnd",tokenize:fze,resolveTo:mze,resolveAll:hze}).resolveAll},zVe={name:"labelStartLink",tokenize:wze,resolveAll:DVe.resolveAll},HVe={name:"lineEnding",tokenize:xze},ZVe={name:"thematicBreak",tokenize:Oze},VVe={name:"list",tokenize:kze,continuation:{tokenize:Sze},exit:Tze},qVe={tokenize:_ze,partial:!0},QVe={tokenize:Aze,partial:!0},FVe={name:"setextUnderline",tokenize:Eze,resolveTo:Cze},WVe={tokenize:Dze,partial:!0},GVe=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}},XVe={tokenize:Vze},YVe={},KVe={tokenize:Fze},JVe={tokenize:Wze},eqe={tokenize:Gze},tqe={tokenize:Xze},aqe={resolveAll:Kze()},rqe=Yze("string"),nqe=Yze("text"),oqe=kCe({attentionMarkers:()=>hqe,contentInitial:()=>sqe,disable:()=>mqe,document:()=>iqe,flow:()=>cqe,flowInitial:()=>lqe,insideSpan:()=>pqe,string:()=>uqe,text:()=>dqe}),iqe={42:VVe,43:VVe,45:VVe,48:VVe,49:VVe,50:VVe,51:VVe,52:VVe,53:VVe,54:VVe,55:VVe,56:VVe,57:VVe,62:fVe},sqe={91:TVe},lqe={[-2]:wVe,[-1]:wVe,32:wVe},cqe={35:EVe,42:ZVe,45:[FVe,ZVe],60:NVe,61:FVe,95:ZVe,96:yVe,126:yVe},uqe={38:vVe,92:gVe},dqe={[-5]:HVe,[-4]:HVe,[-3]:HVe,33:UVe,38:vVe,42:pVe,60:[hVe,RVe],91:zVe,92:[CVe,gVe],93:DVe,95:pVe,96:OVe},pqe={null:[pVe,aqe]},hqe={null:[42,95]},mqe={null:[]},fqe=/[\0\t\n\r]/g,gqe={}.hasOwnProperty,vqe=9,bqe=32,yqe={blockquote:sHe,break:lHe,code:cHe,delete:uHe,emphasis:dHe,footnoteReference:pHe,heading:hHe,html:mHe,imageReference:gHe,image:vHe,inlineCode:bHe,linkReference:yHe,link:wHe,listItem:xHe,list:kHe,paragraph:SHe,root:AHe,strong:THe,table:_He,tableCell:EHe,tableRow:CHe,text:NHe,thematicBreak:$He,toml:IHe,yaml:IHe,definition:IHe,footnoteDefinition:IHe},wqe={}.hasOwnProperty,xqe={},Oqe=e=>"heading"===e.type&&"depth"in e&&"children"in e,kqe=(e,...t)=>t=>{!e?.transform||!e?.type||J_e(t,e?.type,t=>(e?.transform&&e?.transform(t),aCe))},Sqe=new Set(["dd","dt","li","p","summary","td","th"]),Aqe=/[`*_\[~]/,Tqe=()=>e=>{J_e(e,"html",(e,t,a)=>{"number"!=typeof t||!a||!("children"in a)||!Array.isArray(a.children)||(a.children[t]={type:"text",value:e.value??""})})},_qe=XDe().use(iHe).use(Qze).use(Tqe).use(VHe),Cqe=XDe().use(f$e,{fragment:!0}),Eqe=XDe().use(aIe),Pqe=e=>{let t=_qe.runSync(_qe.parse(e));if(1!==t.children.length)return[];let a=t.children.at(0);return a&&"element"===a.type&&"p"===a.tagName?a.children:[]},Mqe=()=>e=>{J_e(e,"element",e=>{Sqe.has(e.tagName)&&(e.children=e.children.flatMap(e=>{if("text"!==e.type||!Aqe.test(e.value))return[e];let t=Pqe(e.value);return t.length?t:[e]}))})},Nqe=()=>e=>{J_e(e,"raw",e=>{if("string"!=typeof e.value||!Aqe.test(e.value))return;let t=Cqe.parse(e.value);Mqe()(t),e.value=Eqe.stringify(t)})}}),gQe=V(()=>{cMe(),iLe(),fQe()}),vQe=V(()=>{h_(),Bc(),gQe(),$qe=["innerHTML"],Iqe=Cn({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}=c_();t({el:Mn("div")});let r=t=>{if(!e.withAnchors)return e.transform?.(t)||t;if(!Oqe(t))return t;let a=FHe(t).toLowerCase().replace(/\s+/g,"-");return t.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${a}`:a}},e.transform?e.transform(t):t},n=il(()=>function(e,t){let a=t?.removeTags??[],r=[...MZe.tagNames??[],...t?.allowTags??[]].filter(e=>!a.includes(e));return XDe().use(iHe).use(Qze).use(kqe,{transform:t?.transform,type:t?.transformType}).use(VHe,{allowDangerousHtml:!0}).use(lLe).use(Nqe).use(YLe).use(nBe,{...MZe,clobberPrefix:"",tagNames:r,attributes:{...MZe.attributes,abbr:["title"],"*":[...MZe.attributes?.["*"]??[],"className"]},strip:["script","style","object","embed","form"]}).use(fCe,{languages:lMe,detect:!0,className:"custom-scroll"}).use(dLe,{target:"_blank"}).use(_Le).use(aIe).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)=>(Ho(),Qo("div",ii({ref:"div"},qa(a)("markdown",{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:n.value}),null,16,$qe))}})}),bQe=V(()=>{vQe(),Rqe=Iqe}),yQe=V(()=>{bQe(),h_(),Bc(),iie(),Dqe=["aria-controls","aria-expanded"],Lqe=Cn({inheritAttrs:!1,__name:"ScalarMarkdownSummary",props:oo({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=En(),r=xo(e,"modelValue"),n=xo(e,"truncated"),o=Mn("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=Qoe,...o}=a,i=Roe(()=>n&&"ResizeObserver"in n),s=()=>{r&&=void r.disconnect()},l=hn(il(()=>{let t=Qa(e);return Array.isArray(t)?t.map(e=>Noe(e)):[Noe(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()};yoe(c)}(()=>o.value?.el,i),as(i);let{cx:s}=c_();return(o,i)=>(Ho(),Qo("div",at(Ko(qa(s)("group/summary flex gap-0.5",r.value?"flex-col":"flex-row items-baseline"))),[Fs(Rqe,ii(t,{id:qa(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):(Ho(),Qo("button",{key:0,"aria-controls":qa(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},[Kn(o.$slots,"button",{open:r.value},()=>[ei(Yt(r.value?" Show Less":"More"),1)])],10,Dqe))],16))}})}),wQe=V(()=>{yQe(),Bqe=Lqe}),xQe=V(()=>{bQe(),wQe()}),OQe=V(()=>{ooe(),soe(),h_(),Bc(),Oh(),jqe=Cn({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}=c_();return(a,r)=>(Ho(),Fo(qa(th),{as:"template"},{default:sn(({open:r})=>[Fs(qa(Vne),at(Ko(a.$props)),{floating:sn(({width:n,height:o})=>[Fs(qa(rh),ii({focus:e.focus,style:{width:n,height:o}},qa(t)("relative flex flex-col p-0.75")),{default:sn(({close:e})=>[Kn(a.$slots,"popover",{close:()=>e(),open:r}),Kn(a.$slots,"backdrop",{open:r},()=>[Fs(qa(Qne))])]),_:2},1040,["focus","style"])]),default:sn(()=>[Fs(qa(ah),{as:"template"},{default:sn(()=>[Kn(a.$slots,"default",{open:r})]),_:2},1024)]),_:2},1040)]),_:3}))}})}),kQe=V(()=>{OQe(),Uqe=jqe}),SQe=V(()=>{kQe()}),AQe=V(()=>{G_e(),Bc(),Xk(),xQe(),SQe(),zqe=["aria-label","role"],Hqe={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"},Zqe={key:0,class:"text-error-1"},Vqe={key:1,class:"schema text-c-2 truncate *:not-first:before:content-['_·_']"},qqe={key:0},Qqe={key:1},Fqe={key:2},Wqe={key:3},Gqe={key:4},Xqe=Cn({__name:"RequestTableTooltip",props:{schema:{},value:{},description:{}},setup(e){let t=il(()=>B_e(e.schema,e.value)),a=il(()=>!1===t.value.ok);return(r,n)=>(Ho(),Fo(qa(Uqe),{offset:4,placement:"left",teleport:""},{popover:sn(()=>[Xo("div",Hqe,[!1===t.value.ok?(Ho(),Qo("div",Zqe,Yt(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)?(Ho(),Qo("div",Vqe,["type"in e.schema?(Ho(),Qo("span",qqe,Yt(e.schema.type),1)):ai("",!0),"format"in e.schema?(Ho(),Qo("span",Qqe,Yt(e.schema.format),1)):ai("",!0),"minimum"in e.schema?(Ho(),Qo("span",Fqe,"min: "+Yt(e.schema.minimum),1)):ai("",!0),"maximum"in e.schema?(Ho(),Qo("span",Wqe,"max: "+Yt(e.schema.maximum),1)):ai("",!0),"default"in e.schema?(Ho(),Qo("span",Gqe,"default: "+Yt(e.schema.default),1)):ai("",!0)])):ai("",!0),e.description&&!a.value?(Ho(),Fo(qa(Rqe),{key:2,value:e.description},null,8,["value"])):ai("",!0)])]),default:sn(()=>[Xo("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?(Ho(),Fo(qa(ax),{key:0,class:"text-orange size-3.5 brightness-90 hover:brightness-75"})):(Ho(),Fo(qa(nb),{key:1,class:"text-c-2 hover:text-c-1 size-3.5"}))],8,zqe)]),_:1}))}})}),TQe=V(()=>{AQe(),Yqe=Xqe}),_Qe=V(()=>{dae(),Xte(),Ale(),h_(),Bc(),Kqe=["aria-disabled"],Jqe={key:0,class:"sr-only"},eQe=Cn({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=a_({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:nae},compoundVariants:[{size:"md",variant:"ghost",class:"size-8 p-2 m-1 -outline-offset-2 rounded-lg"}]}),{cx:a}=c_(),r=Mn("ref");return hle({content:il(()=>e.label),offset:il(()=>"ghost"===e.variant?0:4),placement:il(()=>"boolean"==typeof e.tooltip?void 0:e.tooltip),targetRef:il(()=>e.tooltip?r.value:void 0)}),(r,n)=>(Ho(),Qo("button",ii({ref:"ref","aria-disabled":e.disabled,type:"button"},qa(a)(qa(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[Fs(qa(Bte),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,["icon","thickness","weight"]),e.tooltip?ai("",!0):(Ho(),Qo("span",Jqe,Yt(e.label),1))],16,Kqe))}})}),CQe=V(()=>{_Qe(),tQe=eQe}),EQe=V(()=>{CQe()}),PQe=V(()=>{Nie(),Q_e(),g_e(),W_e(),j_e(),U_e(),G_e(),TQe(),Bc(),mae(),Xk(),Yte(),EQe(),BC(),sF(),aQe={class:"text-c-2 flex w-full max-w-[100%] items-center justify-center overflow-hidden p-1"},rQe=["title"],nQe={key:1,class:"p-0.5"},oQe=Cn({__name:"RequestTableRow",props:{data:{},hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},environment:{},showUploadButton:{type:Boolean}},emits:["upsertRow","deleteRow","uploadFile","removeFile","navigate","selectPreset"],setup(e,{emit:t}){let a=t,r=Ha(e.data.name??""),n=Ha(_C(e.data.value)??""),o=Ha(e.data.isDisabled??!1);hn(()=>e.data.name,e=>{!e&&r.value||(r.value=e??"")}),hn(()=>e.data.value,e=>n.value=_C(e)??""),hn(()=>e.data.isDisabled,e=>o.value=e??!1);let i=il(()=>n.value instanceof File),s=il(()=>(i.value?O_e(n.value):n.value)??""),l=il(()=>e.data.schema?.default),c=il(()=>{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=dV.schema(e.data.schema.items);if(t?.enum)return t.enum.map(e=>String(e))}return[]}),u=il(()=>e.data.schema&&"type"in e.data.schema?e.data.schema.type:void 0),d=il(()=>B_e(e.data.schema,n.value)),p=(t,i={})=>{void 0!==t.name&&(r.value=t.name),void 0!==t.value&&(n.value=t.value),void 0!==t.isDisabled&&(o.value=t.isDisabled),(void 0===t.name||!e.data.sourceParameterValuePath||i.shouldRenameExpandedRow)&&a("upsertRow",{name:r.value,value:n.value,isDisabled:o.value,...i.shouldRenameExpandedRow?{shouldRenameExpandedRow:!0}:{}})},h=t=>{t!==e.data.name&&(!t&&e.data.name||p({name:t,isDisabled:o.value},{shouldRenameExpandedRow:!!e.data.sourceParameterValuePath}))};return(t,m)=>(Ho(),Fo(qa(x_e),{id:e.data.name,class:tt({alert:!1===d.value.ok,error:!1===d.value.ok&&e.invalidParams?.has(e.data.name)})},{default:sn(()=>[Fs(qa(L_e),{ariaLabel:`Include ${e.data.name||"row"} in request`,class:"!border-r",disabled:e.hasCheckboxDisabled??!1,modelValue:!o.value,"onUpdate:modelValue":m[0]||=e=>p({isDisabled:!e})},null,8,["ariaLabel","disabled","modelValue"]),Fs(qa(r_e),null,{default:sn(()=>[Fs(qa(I_e),{"aria-label":`${e.label} Key`,disabled:e.data.isReadonly,environment:e.environment,modelValue:r.value,placeholder:"Key",required:!!e.data.isRequired,onBlur:m[1]||=e=>h(e),onNavigate:m[2]||=e=>a("navigate",e),"onUpdate:modelValue":m[3]||=e=>p({name:e})},null,8,["aria-label","disabled","environment","modelValue","required"])]),_:1}),Fs(qa(r_e),null,{default:sn(()=>[e.data.presetOptions?.length?(Ho(),Fo(qa(kie),{key:0,canAddCustomValue:!1,modelValue:s.value,value:e.data.presetOptions,"onUpdate:modelValue":m[4]||=e=>a("selectPreset",e)},null,8,["modelValue","value"])):(Ho(),Fo(qa(I_e),{key:1,"aria-label":`${e.label} Value`,class:"pr-6 group-hover:pr-10 group-has-[.code-input-lite__editor:focus]:pr-10",default:l.value,disabled:e.data.isReadonly,enum:c.value,environment:e.environment,examples:e.data.schema?.examples?.map(e=>String(e))??[],linethrough:e.data.isOverridden,modelValue:s.value,placeholder:"Value",type:u.value,withFakeData:"",onNavigate:m[7]||=e=>a("navigate",e),"onUpdate:modelValue":m[8]||=e=>p({value:e})},{icon:sn(()=>[!e.data.name&&!n.value||e.data.isRequired||!0===e.data.isReadonly?ai("",!0):(Ho(),Fo(qa(sae),{key:0,"aria-label":`Delete ${e.data.name||"row"}`,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-[.code-input-lite__editor:focus]:flex",size:"sm",variant:"ghost",onClick:m[5]||=e=>a("deleteRow")},{default:sn(()=>[Fs(qa(Uw),{class:"size-3.5"})]),_:1},8,["aria-label"])),void 0===e.data.globalRoute?ai("",!0):(Ho(),Fo(qa(tQe),{key:1,class:"text-c-2 hover:text-c-1 hover:bg-b-2 z-context -mr-0.5 h-fit",icon:qa(Tv),label:"Global cookies are shared across the whole workspace. Click to navigate.",size:"xs",tooltip:"top",variant:"ghost",onClick:m[6]||=t=>a("navigate",e.data.globalRoute)},null,8,["icon"])),e.data.isReadonly?(Ho(),Fo(Yqe,{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?(Ho(),Fo(Yqe,{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","modelValue","type"]))]),_:1}),e.showUploadButton?(Ho(),Fo(qa(r_e),{key:0,class:"group/upload flex items-center justify-center whitespace-nowrap"},{default:sn(()=>[i.value?(Ho(),Qo(Bs,{key:0},[Xo("div",aQe,[Xo("span",{class:"truncate",title:s.value},Yt(s.value),9,rQe)]),Xo("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:m[9]||=e=>a("removeFile")}," Delete ")],64)):(Ho(),Qo("div",nQe,[Fs(qa(sae),{class:"bg-b-2 hover:bg-b-3 text-c-2 h-fit border-0 py-px shadow-none",size:"sm",variant:"outlined",onClick:m[10]||=e=>a("uploadFile")},{default:sn(()=>[m[11]||=Xo("span",null,"Select File",-1),Fs(qa(Dte),{class:"ml-1",icon:"Upload",size:"xs",thickness:"2.5"})]),_:1})]))]),_:1})):ai("",!0)]),_:1},8,["id","class"]))}})}),MQe=V(()=>{PQe(),iQe=oQe}),NQe=V(()=>{m_e(),b_e(),j_e(),MQe(),Bc(),sQe=Cn({__name:"RequestTable",props:{data:{},hasCheckboxDisabled:{type:Boolean},invalidParams:{},label:{},showUploadButton:{type:Boolean},showAddRowPlaceholder:{type:Boolean,default:!0},environment:{}},emits:["upsertRow","deleteRow","uploadFile","removeFile","navigate","selectPreset"],setup(e,{emit:t}){let a=t,r=il(()=>e.showUploadButton?["36px","","","minmax(0, 1fr)"]:["36px","",""]),n=il(()=>{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}]}),o=(e,t)=>e.originalParameter?JSON.stringify([e.originalParameter.name,...e.sourceParameterValuePath??[]]):e.name||String(t);return(t,i)=>(Ho(),Fo(qa(t_e),{class:"group/table flex-1",columns:r.value},{default:sn(()=>[Fs(qa(x_e),{class:"sr-only !block"},{default:sn(()=>[Fs(qa(o_e),null,{default:sn(()=>[ei(Yt(e.label)+" Enabled",1)]),_:1}),Fs(qa(o_e),null,{default:sn(()=>[ei(Yt(e.label)+" Key",1)]),_:1}),Fs(qa(o_e),null,{default:sn(()=>[ei(Yt(e.label)+" Value",1)]),_:1})]),_:1}),(Ho(!0),Qo(Bs,null,Xn(n.value,(t,r)=>(Ho(),Fo(iQe,{key:o(t,r),data:t,environment:e.environment,hasCheckboxDisabled:e.hasCheckboxDisabled,invalidParams:e.invalidParams,label:e.label,showUploadButton:e.showUploadButton,onDeleteRow:e=>a("deleteRow",r),onNavigate:i[0]||=e=>a("navigate",e),onRemoveFile:e=>a("removeFile",r),onSelectPreset:e=>a("selectPreset",r,e),onUploadFile:e=>a("uploadFile",r),onUpsertRow:e=>a("upsertRow",r,e)},null,8,["data","environment","hasCheckboxDisabled","invalidParams","label","showUploadButton","onDeleteRow","onRemoveFile","onSelectPreset","onUploadFile","onUpsertRow"]))),128))]),_:1},8,["columns"]))}})}),$Qe=V(()=>{kh(),NQe(),lQe=yh(sQe,[["__scopeId","data-v-13500378"]])}),IQe=V(()=>{VY(),J_(),sF(),dF(),cQe=e=>e instanceof File?e.name:"object"==typeof e&&e?JSON.stringify(e):String(e),uQe=(e,t=[],a=!0)=>{if(!ZV(e)||!e.properties)return[];let r=new Set(e.required??[]),n=[];for(let[o,i]of vX(e.properties)){let e=dV.schema(i),s=[...t,String(o)],l=a&&r.has(String(o));e&&ZV(e)&&e.properties?n.push(...uQe(e,s,l)):n.push({path:s,schema:e,isRequired:l})}return n},dQe=(e,t,a=[])=>{let r=[],n=z_(e)?vX(e):[],o=new Map(n.map(([e,t])=>[String(e),t])),i=new Set,s=t&&ZV(t)?t.properties??{}:{};for(let[e,t]of vX(s)){let n=String(e);i.add(n);let s=dV.schema(t),l=[...a,n],c=o.get(n);s&&ZV(s)&&s.properties?r.push(...dQe(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},pQe=(e,t,a)=>{if(!e?.value||"multipart/form-data"!==t&&"application/x-www-form-urlencoded"!==t)return[];let r=a&&ZV(a)?a:void 0,n=r?new Set(r.required??[]):void 0,o=new Map;if(r)for(let e of uQe(r))o.set(e.path.join("."),e);let i=({name:e,value:t,isDisabled:a})=>{let i={name:e,value:t,isDisabled:a??!1};if(!r||!e)return i;let s=o.get(e),l=s?.schema??dV.schema(r.properties?.[e]);return i.schema=l,i.description=l?.description,i.isRequired=s?.isRequired??n?.has(e)??!1,void 0===a&&r.properties&&Object.hasOwn(r.properties,e)&&(i.isDisabled=!i.isRequired),i};return Array.isArray(e.value)?e.value.map(e=>{if(z_(e)){let t=String(e.name),a=e.value instanceof File?e.value:String(e.value),r=!!e.isDisabled;return i({name:t,value:a,isDisabled:r})}return{name:"",value:e,isDisabled:!1}}):"multipart/form-data"===t&&r&&"object"==typeof e.value?dQe(e.value,r).map(({path:e,value:t})=>{let a=t instanceof File?t:null==t?"":cQe(t);return i({name:e.join("."),value:a})}):"object"==typeof e.value&&e.value?vX(e.value).map(([e,t])=>i({name:String(e),value:cQe(t)})):[]}}),RQe=V(()=>{lae(),$Qe(),IQe(),Bc(),hQe=Cn({__name:"RequestBodyForm",props:{example:{},bodySchema:{},selectedContentType:{},environment:{}},emits:["update:formValue"],setup(e,{emit:t}){let a=t,r=Ha([]);hn(()=>[e.example,e.bodySchema,e.selectedContentType],([e,t,a])=>{r.value=pQe(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}=eae({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?(Ho(),Fo(lQe,{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"])):(Ho(),Fo(lQe,{key:1,data:r.value,environment:e.environment,onDeleteRow:i,onUpsertRow:o},null,8,["data","environment"]))}})}),DQe=V(()=>{RQe(),mQe=hQe});function LQe(e){if(e&&"object"==typeof e)switch(e[qQe]){case zQe:case VQe:return!0}return!1}function BQe(e){if(e&&"object"==typeof e)switch(e[qQe]){case jQe:case zQe:case ZQe:case VQe:return!0}return!1}var jQe,UQe,zQe,HQe,ZQe,VQe,qQe,QQe,FQe,WQe,GQe,XQe,YQe,KQe,JQe=V(()=>{jQe=Symbol.for("yaml.alias"),UQe=Symbol.for("yaml.document"),zQe=Symbol.for("yaml.map"),HQe=Symbol.for("yaml.pair"),ZQe=Symbol.for("yaml.scalar"),VQe=Symbol.for("yaml.seq"),qQe=Symbol.for("yaml.node.type"),QQe=e=>!!e&&"object"==typeof e&&e[qQe]===jQe,FQe=e=>!!e&&"object"==typeof e&&e[qQe]===UQe,WQe=e=>!!e&&"object"==typeof e&&e[qQe]===zQe,GQe=e=>!!e&&"object"==typeof e&&e[qQe]===HQe,XQe=e=>!!e&&"object"==typeof e&&e[qQe]===ZQe,YQe=e=>!!e&&"object"==typeof e&&e[qQe]===VQe,KQe=e=>(XQe(e)||LQe(e))&&!!e.anchor});function eFe(e,t){let a=nFe(t);FQe(e)?tFe(null,e.contents,a,Object.freeze([e]))===cFe&&(e.contents=null):tFe(null,e,a,Object.freeze([]))}function tFe(e,t,a,r){let n=oFe(e,t,a,r);if(BQe(n)||GQe(n))return iFe(e,r,n),tFe(e,n,a,r);if("symbol"!=typeof n)if(LQe(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let n=tFe(e,t.items[e],a,r);if("number"==typeof n)e=n-1;else{if(n===sFe)return sFe;n===cFe&&(t.items.splice(e,1),--e)}}}else if(GQe(t)){r=Object.freeze(r.concat(t));let e=tFe("key",t.key,a,r);if(e===sFe)return sFe;e===cFe&&(t.key=null);let n=tFe("value",t.value,a,r);if(n===sFe)return sFe;n===cFe&&(t.value=null)}return n}async function aFe(e,t){let a=nFe(t);FQe(e)?await rFe(null,e.contents,a,Object.freeze([e]))===cFe&&(e.contents=null):await rFe(null,e,a,Object.freeze([]))}async function rFe(e,t,a,r){let n=await oFe(e,t,a,r);if(BQe(n)||GQe(n))return iFe(e,r,n),rFe(e,n,a,r);if("symbol"!=typeof n)if(LQe(t)){r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){let n=await rFe(e,t.items[e],a,r);if("number"==typeof n)e=n-1;else{if(n===sFe)return sFe;n===cFe&&(t.items.splice(e,1),--e)}}}else if(GQe(t)){r=Object.freeze(r.concat(t));let e=await rFe("key",t.key,a,r);if(e===sFe)return sFe;e===cFe&&(t.key=null);let n=await rFe("value",t.value,a,r);if(n===sFe)return sFe;n===cFe&&(t.value=null)}return n}function nFe(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 oFe(e,t,a,r){return"function"==typeof a?a(e,t,r):WQe(t)?a.Map?.(e,t,r):YQe(t)?a.Seq?.(e,t,r):GQe(t)?a.Pair?.(e,t,r):XQe(t)?a.Scalar?.(e,t,r):QQe(t)?a.Alias?.(e,t,r):void 0}function iFe(e,t,a){let r=t[t.length-1];if(LQe(r))r.items[e]=a;else if(GQe(r))"key"===e?r.key=a:r.value=a;else{if(!FQe(r)){let e=QQe(r)?"alias":"scalar";throw Error(`Cannot replace node with ${e} parent`)}r.contents=a}}var sFe,lFe,cFe,uFe,dFe,pFe,hFe=V(()=>{JQe(),sFe=Symbol("break visit"),lFe=Symbol("skip children"),cFe=Symbol("remove node"),eFe.BREAK=sFe,eFe.SKIP=lFe,eFe.REMOVE=cFe,aFe.BREAK=sFe,aFe.SKIP=lFe,aFe.REMOVE=cFe}),mFe=V(()=>{JQe(),hFe(),uFe={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},dFe=e=>e.replace(/[!,[\]{}]/g,e=>uFe[e]),pFe=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+dFe(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&&BQe(e.contents)){let a={};eFe(e.contents,(e,t)=>{BQe(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")}},pFe.defaultYaml={explicit:!1,version:"1.2"},pFe.defaultTags={"!!":"tag:yaml.org,2002:"}});function fFe(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 gFe(e){let t=new Set;return eFe(e,{Value(e,a){a.anchor&&t.add(a.anchor)}}),t}function vFe(e,t){for(let a=1;;++a){let r=`${e}${a}`;if(!t.has(r))return r}}var bFe=V(()=>{JQe(),hFe()});function yFe(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=yFe(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=yFe(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=yFe(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=yFe(e,r,t,a);void 0===n?delete r[t]:n!==a&&(r[t]=n)}return e.call(t,a,r)}var wFe=V(()=>{});function xFe(e,t,a){if(Array.isArray(e))return e.map((e,t)=>xFe(e,String(t),a));if(e&&"function"==typeof e.toJSON){if(!a||!KQe(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 OFe,kFe=V(()=>{JQe()}),SFe=V(()=>{wFe(),JQe(),kFe(),OFe=class{constructor(e){Object.defineProperty(this,qQe,{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(!FQe(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=xFe(this,"",o);if("function"==typeof r)for(let{count:e,res:t}of o.anchors.values())r(t,e);return"function"==typeof n?yFe(n,{"":i},"",i):i}}});function AFe(e,t,a){if(QQe(t)){let r=t.resolve(e),n=a&&r&&a.get(r);return n?n.count*n.aliasCount:0}if(LQe(t)){let r=0;for(let n of t.items){let t=AFe(e,n,a);t>r&&(r=t)}return r}if(GQe(t)){let r=AFe(e,t.key,a),n=AFe(e,t.value,a);return Math.max(r,n)}return 1}var TFe,_Fe,CFe,EFe=V(()=>{bFe(),hFe(),JQe(),SFe(),kFe(),TFe=class extends OFe{constructor(e){super(jQe),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){if(0===t?.maxAliasCount)throw ReferenceError("Alias resolution is disabled");let a,r;t?.aliasResolveCache?a=t.aliasResolveCache:(a=[],eFe(e,{Node:(e,t)=>{(QQe(t)||KQe(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||=(xFe(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=AFe(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(fFe(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}}}),PFe=V(()=>{JQe(),SFe(),kFe(),_Fe=e=>!e||"function"!=typeof e&&"object"!=typeof e,CFe=class extends OFe{constructor(e){super(ZQe),this.value=e}toJSON(e,t){return t?.keep?this.value:xFe(this.value,e,t)}toString(){return String(this.value)}},CFe.BLOCK_FOLDED="BLOCK_FOLDED",CFe.BLOCK_LITERAL="BLOCK_LITERAL",CFe.PLAIN="PLAIN",CFe.QUOTE_DOUBLE="QUOTE_DOUBLE",CFe.QUOTE_SINGLE="QUOTE_SINGLE"});function MFe(e,t,a){if(FQe(e)&&(e=e.contents),BQe(e))return e;if(GQe(e)){let t=a.schema[zQe].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 TFe(r.anchor);r={anchor:null,node:null},l.set(e,r)}t?.startsWith("!!")&&(t=NFe+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 CFe(e);return r&&(r.node=t),t}c=e instanceof Map?s[zQe]:Symbol.iterator in Object(e)?s[VQe]:s[zQe]}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 CFe(e);return t?u.tag=t:c.default||(u.tag=c.tag),r&&(r.node=u),u}var NFe,$Fe=V(()=>{EFe(),JQe(),PFe(),NFe="tag:yaml.org,2002:"});function IFe(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 MFe(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}var RFe,DFe,LFe=V(()=>{$Fe(),JQe(),SFe(),RFe=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done,DFe=class extends OFe{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=>BQe(t)||GQe(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(RFe(e))this.add(t);else{let[a,...r]=e,n=this.get(a,!0);if(LQe(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,IFe(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(LQe(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&&XQe(n)?n.value:n:LQe(n)?n.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!GQe(t))return!1;let a=t.value;return null==a||e&&XQe(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!!LQe(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(LQe(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,IFe(this.schema,r,t))}}}}});function BFe(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}var jFe,UFe,zFe=V(()=>{jFe=e=>e.replace(/^(?!$)(?: $)?/gm,"#"),UFe=(e,t,a)=>e.endsWith("\n")?BFe(a,t):a.includes("\n")?"\n"+BFe(a,t):(e.endsWith(" ")?"":" ")+a});function HFe(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=ZFe(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=ZFe(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 ZFe(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 VFe,qFe,QFe,FFe=V(()=>{VFe="flow",qFe="block",QFe="quoted"});function WFe(e,t){let a=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return a;let{implicitKey:r}=t,n=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(eWe(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:HFe(i,o,QFe,JFe(t,!1))}function GFe(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return WFe(e,t);let a=t.indent||(eWe(e)?"  ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${a}`)+"'";return t.implicitKey?r:HFe(r,a,VFe,JFe(t,!1))}function XFe(e,t){let a,{singleQuote:r}=t.options;if(!1===r)a=WFe;else{let t=e.includes('"'),n=e.includes("'");a=t&&!n?GFe:n&&!t?WFe:r?GFe:WFe}return a(e,t)}function YFe({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 XFe(a,r);let c,u,d=r.indent||(r.forceBlockIndent||eWe(a)?"  ":""),p="literal"===i||"folded"!==i&&t!==CFe.BLOCK_FOLDED&&(t===CFe.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(tWe,`$&${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=JFe(r,!0);"folded"!==i&&t!==CFe.BLOCK_FOLDED&&(o.onOverflow=()=>{n=!0});let s=HFe(`${b}${e}${h}`,d,qFe,o);if(!n)return`>${y}\n${d}${s}`}return`|${y}\n${d}${b}${a=a.replace(/\n+/g,`$&${d}`)}${h}`}function KFe(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!==CFe.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(i.value)&&(s=CFe.QUOTE_DOUBLE);let l=e=>{switch(e){case CFe.BLOCK_FOLDED:case CFe.BLOCK_LITERAL:return n||o?XFe(i.value,t):YFe(i,t,a,r);case CFe.QUOTE_DOUBLE:return WFe(i.value,t);case CFe.QUOTE_SINGLE:return GFe(i.value,t);case CFe.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 XFe(o,t);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return s||u||!o.includes("\n")?XFe(o,t):YFe(e,t,a,r);if(!s&&!u&&n!==CFe.PLAIN&&o.includes("\n"))return YFe(e,t,a,r);if(eWe(o)){if(""===l)return t.forceBlockIndent=!0,YFe(e,t,a,r);if(s&&l===c)return XFe(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 XFe(o,t)}return s?d:HFe(d,l,VFe,JFe(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 JFe,eWe,tWe,aWe=V(()=>{PFe(),FFe(),JFe=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),eWe=e=>/^(%|---|\.\.\.)/m.test(e);try{tWe=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{tWe=/\n+(?!\n|$)/g}});function rWe(e,t){let a,r=Object.assign({blockQuote:!0,commentString:jFe,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 nWe(e,t,a,r){if(GQe(e))return e.toString(t,a,r);if(QQe(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=BQe(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(XQe(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=(XQe(e)||LQe(e))&&e.anchor;o&&fFe(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):XQe(o)?KFe(o,t,a,r):o.toString(t,a,r);return i?XQe(o)||"{"===s[0]||"["===s[0]?`${i} ${s}`:`${i}\n${t.indent}${s}`:s}var oWe=V(()=>{bFe(),JQe(),zFe(),aWe()});var iWe=V(()=>{JQe(),PFe(),oWe(),zFe()});function sWe(e,t){("debug"===e||"warn"===e)&&console.warn(t)}var lWe=V(()=>{});function cWe(e,t,a){let r=dWe(e,a);if(YQe(r))for(let a of r.items)uWe(e,t,a);else if(Array.isArray(r))for(let a of r)uWe(e,t,a);else uWe(e,t,r)}function uWe(e,t,a){let r=dWe(e,a);if(!WQe(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}function dWe(e,t){return e&&QQe(t)?t.resolve(e.doc,e):t}var pWe,hWe,mWe,fWe=V(()=>{JQe(),PFe(),pWe="<<",hWe={identify:e=>e===pWe||"symbol"==typeof e&&e.description===pWe,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new CFe(Symbol(pWe)),{addToJSMap:cWe}),stringify:()=>pWe},mWe=(e,t)=>(hWe.identify(t)||XQe(t)&&(!t.type||t.type===CFe.PLAIN)&&hWe.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===hWe.tag&&e.default)});function gWe(e,t,{key:a,value:r}){if(BQe(a)&&a.addToJSMap)a.addToJSMap(e,t,r);else if(mWe(e,a))cWe(e,t,r);else{let n=xFe(a,"",e);if(t instanceof Map)t.set(n,xFe(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(BQe(e)&&a?.doc){let t=rWe(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)+'..."'),sWe(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=xFe(r,o,e);o in t?Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0}):t[o]=i}}return t}var vWe=V(()=>{lWe(),fWe(),oWe(),JQe(),kFe()});function bWe(e,t,a){let r=MFe(e,void 0,a),n=MFe(t,void 0,a);return new yWe(r,n)}var yWe,wWe=V(()=>{$Fe(),iWe(),vWe(),JQe(),yWe=class e{constructor(e,t=null){Object.defineProperty(this,qQe,{value:HQe}),this.key=e,this.value=t}clone(t){let{key:a,value:r}=this;return BQe(a)&&(a=a.clone(t)),BQe(r)&&(r=r.clone(t)),new e(a,r)}toJSON(e,t){return gWe(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=BQe(e)&&e.comment||null;if(d){if(p)throw Error("With simple keys, key nodes cannot have comments");if(LQe(e)||!BQe(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||LQe(e)||(XQe(e)?e.type===CFe.BLOCK_FOLDED||e.type===CFe.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=nWe(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+=UFe(y,a.indent,c(p)):b&&n&&n(),y;v&&(p=null),h?(p&&(y+=UFe(y,a.indent,c(p))),y=`? ${y}\n${s}:`):(y=`${y}:`,p&&(y+=UFe(y,a.indent,c(p)))),BQe(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&&XQe(t)&&(a.indentAtStart=y.length+1),b=!1,!u&&l.length>=2&&!a.inFlow&&!h&&YQe(t)&&!t.flow&&!t.tag&&!t.anchor&&(a.indent=a.indent.substring(2));let w=!1,x=nWe(t,a,()=>w=!0,()=>b=!0),O=" ";if(p||m||f)O=m?"\n":"",f&&(O+=`\n${BFe(c(f),a.indent)}`),""!==x||a.inFlow?O+=`\n${a.indent}`:"\n"===O&&g&&(O="\n\n");else if(!h&&LQe(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||(O=`\n${a.indent}`)}}else(""===x||"\n"===x[0])&&(O="");return y+=O+x,a.inFlow?w&&r&&r():g&&!w?y+=UFe(y,a.indent,c(g)):b&&n&&n(),y}(this,e,t,a):JSON.stringify(this)}}});function xWe(e,t,a){return(t.inFlow??e.flow?kWe:OWe)(e,t,a)}function OWe({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(BQe(n))!p&&n.spaceBefore&&h.push(""),SWe(a,h,n.commentBefore,p),n.comment&&(i=n.comment);else if(GQe(n)){let e=BQe(n.key)?n.key:null;e&&(!p&&e.spaceBefore&&h.push(""),SWe(a,h,e.commentBefore,p))}p=!1;let s=nWe(n,d,()=>i=null,()=>p=!0);i&&(s+=UFe(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"+BFe(u(e),c),s&&s()):p&&i&&i(),l}function kWe({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(BQe(n))n.spaceBefore&&d.push(""),SWe(t,d,n.commentBefore,!1),n.comment&&(o=n.comment);else if(GQe(n)){let e=BQe(n.key)?n.key:null;e&&(e.spaceBefore&&d.push(""),SWe(t,d,e.commentBefore,!1),e.comment&&(c=!0));let a=BQe(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=nWe(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+=UFe(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 SWe({indent:e,options:{commentString:t}},a,r,n){if(r&&n&&(r=r.replace(/^\n+/,"")),r){let n=BFe(t(r),e);a.push(n.trimStart())}}var AWe=V(()=>{JQe(),oWe(),zFe()});function TWe(e,t){let a=XQe(t)?t.value:t;for(let r of e)if(GQe(r)&&(r.key===t||r.key===a||XQe(r.key)&&r.key.value===a))return r}var _We,CWe,EWe=V(()=>{AWe(),vWe(),LFe(),JQe(),wWe(),PFe(),_We=class extends DFe{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(zQe,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(bWe(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=GQe(e)?e:e&&"object"==typeof e&&"key"in e?new yWe(e.key,e.value):new yWe(e,e?.value);let r=TWe(this.items,a.key),n=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${a.key} already set`);XQe(r.value)&&_Fe(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=TWe(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let a=TWe(this.items,e)?.value;return(!t&&XQe(a)?a.value:a)??void 0}has(e){return!!TWe(this.items,e)}set(e,t){this.add(new yWe(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)gWe(t,r,e);return r}toString(e,t,a){if(!e)return JSON.stringify(this);for(let e of this.items)if(!GQe(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})),xWe(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:a,onComment:t})}}}),PWe=V(()=>{JQe(),EWe(),CWe={collection:"map",default:!0,nodeClass:_We,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(WQe(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,a)=>_We.from(e,t,a)}});function MWe(e){let t=XQe(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}var NWe,$We,IWe,RWe,DWe,LWe=V(()=>{$Fe(),AWe(),LFe(),JQe(),PFe(),kFe(),NWe=class extends DFe{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(VQe,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=MWe(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let a=MWe(e);if("number"!=typeof a)return;let r=this.items[a];return!t&&XQe(r)?r.value:r}has(e){let t=MWe(e);return"number"==typeof t&&t<this.items.length}set(e,t){let a=MWe(e);if("number"!=typeof a)throw Error(`Expected a valid index, not ${e}.`);let r=this.items[a];XQe(r)&&_Fe(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(xFe(e,String(r++),t));return a}toString(e,t,a){return e?xWe(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(MFe(o,void 0,a))}}return n}}}),BWe=V(()=>{JQe(),LWe(),$We={collection:"seq",default:!0,nodeClass:NWe,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(YQe(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,a)=>NWe.from(e,t,a)}}),jWe=V(()=>{aWe(),IWe={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,a,r)=>KFe(e,t=Object.assign({actualString:!0},t),a,r)}}),UWe=V(()=>{PFe(),RWe={identify:e=>null==e,createNode:()=>new CFe(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new CFe(null),stringify:({source:e},t)=>"string"==typeof e&&RWe.test.test(e)?e:t.options.nullStr}}),zWe=V(()=>{PFe(),DWe={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new CFe("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},a)=>e&&DWe.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?a.options.trueStr:a.options.falseStr}});function HWe({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)&&!o.includes("e")){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 ZWe,VWe,qWe,QWe=V(()=>{}),FWe=V(()=>{PFe(),QWe(),ZWe={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:HWe},VWe={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():HWe(e)}},qWe={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 CFe(parseFloat(e)),a=e.indexOf(".");return-1!==a&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-a-1),t},stringify:HWe}});function WWe(e,t,a){let{value:r}=e;return GWe(r)&&r>=0?a+r.toString(t):HWe(e)}var GWe,XWe,YWe,KWe,JWe,eGe,tGe=V(()=>{QWe(),GWe=e=>"bigint"==typeof e||Number.isInteger(e),XWe=(e,t,a,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),a),YWe={identify:e=>GWe(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,a)=>XWe(e,2,8,a),stringify:e=>WWe(e,8,"0o")},KWe={identify:GWe,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,a)=>XWe(e,0,10,a),stringify:HWe},JWe={identify:e=>GWe(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,a)=>XWe(e,2,16,a),stringify:e=>WWe(e,16,"0x")}}),aGe=V(()=>{PWe(),UWe(),BWe(),jWe(),zWe(),FWe(),tGe(),eGe=[CWe,$We,IWe,RWe,DWe,YWe,KWe,JWe,ZWe,VWe,qWe]});function rGe(e){return"bigint"==typeof e||Number.isInteger(e)}var nGe,oGe,iGe,sGe,lGe=V(()=>{PFe(),PWe(),BWe(),nGe=({value:e})=>JSON.stringify(e),oGe=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:nGe},{identify:e=>null==e,createNode:()=>new CFe(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:nGe},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:nGe},{identify:rGe,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})=>rGe(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:nGe}],iGe=[CWe,$We].concat(oGe,{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)})}),cGe=V(()=>{PFe(),aWe(),sGe={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??=CFe.BLOCK_LITERAL,t!==CFe.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===CFe.BLOCK_LITERAL?"\n":" ")}return KFe({comment:e,type:t,value:i},r,n,o)}}});function uGe(e,t){if(YQe(e))for(let a=0;a<e.items.length;++a){let r=e.items[a];if(!GQe(r)){if(WQe(r)){r.items.length>1&&t("Each pair must have its own sequence indicator");let e=r.items[0]||new yWe(new CFe(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]=GQe(r)?r:new yWe(r)}}else t("Expected a sequence for this tag");return e}function dGe(e,t,a){let{replacer:r}=a,n=new NWe(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(bWe(i,s,a))}return n}var pGe,hGe,mGe,fGe=V(()=>{JQe(),wWe(),PFe(),LWe(),pGe={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:uGe,createNode:dGe}}),gGe=V(()=>{JQe(),kFe(),EWe(),LWe(),fGe(),hGe=class e extends NWe{constructor(){super(),this.add=_We.prototype.add.bind(this),this.delete=_We.prototype.delete.bind(this),this.get=_We.prototype.get.bind(this),this.has=_We.prototype.has.bind(this),this.set=_We.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(GQe(e)?(r=xFe(e.key,"",t),n=xFe(e.value,r,t)):r=xFe(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=dGe(e,t,a),n=new this;return n.items=r.items,n}},hGe.tag="tag:yaml.org,2002:omap",mGe={collection:"seq",identify:e=>e instanceof Map,nodeClass:hGe,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let a=uGe(e,t),r=[];for(let{key:e}of a.items)XQe(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new hGe,a)},createNode:(e,t,a)=>hGe.from(e,t,a)}});function vGe({value:e,source:t},a){return t&&(e?bGe:yGe).test.test(t)?t:e?a.options.trueStr:a.options.falseStr}var bGe,yGe,wGe,xGe,OGe,kGe=V(()=>{PFe(),bGe={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 CFe(!0),stringify:vGe},yGe={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 CFe(!1),stringify:vGe}}),SGe=V(()=>{PFe(),QWe(),wGe={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:HWe},xGe={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():HWe(e)}},OGe={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 CFe(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:HWe}});function AGe(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 TGe(e,t,a){let{value:r}=e;if(_Ge(r)){let e=r.toString(t);return r<0?"-"+a+e.substr(1):a+e}return HWe(e)}var _Ge,CGe,EGe,PGe,MGe,NGe,$Ge,IGe=V(()=>{QWe(),_Ge=e=>"bigint"==typeof e||Number.isInteger(e),CGe={identify:_Ge,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,a)=>AGe(e,2,2,a),stringify:e=>TGe(e,2,"0b")},EGe={identify:_Ge,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,a)=>AGe(e,1,8,a),stringify:e=>TGe(e,8,"0")},PGe={identify:_Ge,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,a)=>AGe(e,0,10,a),stringify:HWe},MGe={identify:_Ge,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,a)=>AGe(e,2,16,a),stringify:e=>TGe(e,16,"0x")}}),RGe=V(()=>{JQe(),wWe(),EWe(),NGe=class e extends _We{constructor(t){super(t),this.tag=e.tag}add(e){let t;t=GQe(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new yWe(e.key,null):new yWe(e,null),TWe(this.items,t.key)||this.items.push(t)}get(e,t){let a=TWe(this.items,e);return!t&&GQe(a)?XQe(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=TWe(this.items,e);a&&!t?this.items.splice(this.items.indexOf(a),1):!a&&t&&this.items.push(new yWe(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(bWe(e,null,a));return n}},NGe.tag="tag:yaml.org,2002:set",$Ge={collection:"map",identify:e=>e instanceof Set,nodeClass:NGe,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,a)=>NGe.from(e,t,a),resolve(e,t){if(WQe(e)){if(e.hasAllNullValues(!0))return Object.assign(new NGe,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}}});function DGe(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 LGe(e){let{value:t}=e,a=e=>e;if("bigint"==typeof t)a=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return HWe(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 BGe,jGe,UGe,zGe,HGe=V(()=>{QWe(),BGe={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})=>DGe(e,a),stringify:LGe},jGe={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=>DGe(e,!1),stringify:LGe},UGe={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(UGe.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=DGe(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$/,"")??""}}),ZGe=V(()=>{PWe(),UWe(),BWe(),jWe(),cGe(),kGe(),SGe(),IGe(),fWe(),gGe(),fGe(),RGe(),HGe(),zGe=[CWe,$We,IWe,RWe,bGe,yGe,CGe,EGe,PGe,MGe,wGe,xGe,OGe,sGe,hWe,mGe,pGe,$Ge,BGe,jGe,UGe]});function VGe(e,t,a){let r=qGe.get(t);if(r&&!e)return a&&!r.includes(hWe)?r.concat(hWe):r.slice();let n=r;if(!n){if(!Array.isArray(e)){let e=Array.from(qGe.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(hWe)),n.reduce((e,t)=>{let a="string"==typeof t?QGe[t]:t;if(!a){let e=JSON.stringify(t),a=Object.keys(QGe).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 qGe,QGe,FGe,WGe,GGe,XGe=V(()=>{PWe(),UWe(),BWe(),jWe(),zWe(),FWe(),tGe(),aGe(),lGe(),cGe(),fWe(),gGe(),fGe(),ZGe(),RGe(),HGe(),qGe=new Map([["core",eGe],["failsafe",[CWe,$We,IWe]],["json",iGe],["yaml11",zGe],["yaml-1.1",zGe]]),QGe={binary:sGe,bool:DWe,float:qWe,floatExp:VWe,floatNaN:ZWe,floatTime:jGe,int:KWe,intHex:JWe,intOct:YWe,intTime:BGe,map:CWe,merge:hWe,null:RWe,omap:mGe,pairs:pGe,seq:$We,set:$Ge,timestamp:UGe},FGe={"tag:yaml.org,2002:binary":sGe,"tag:yaml.org,2002:merge":hWe,"tag:yaml.org,2002:omap":mGe,"tag:yaml.org,2002:pairs":pGe,"tag:yaml.org,2002:set":$Ge,"tag:yaml.org,2002:timestamp":UGe}}),YGe=V(()=>{JQe(),PWe(),BWe(),jWe(),XGe(),WGe=(e,t)=>e.key<t.key?-1:+(e.key>t.key),GGe=class e{constructor({compat:e,customTags:t,merge:a,resolveKnownTags:r,schema:n,sortMapEntries:o,toStringDefaults:i}){this.compat=Array.isArray(e)?VGe(e,"compat"):e?VGe(null,e):null,this.name="string"==typeof n&&n||"core",this.knownTags=r?FGe:{},this.tags=VGe(t,this.name,a),this.toStringOptions=i??null,Object.defineProperty(this,zQe,{value:CWe}),Object.defineProperty(this,ZQe,{value:IWe}),Object.defineProperty(this,VQe,{value:$We}),this.sortMapEntries="function"==typeof o?o:!0===o?WGe:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}});var KGe=V(()=>{JQe(),oWe(),zFe()});function JGe(e){if(LQe(e))return!0;throw Error("Expected a YAML collection as document contents")}var eXe,tXe,aXe,rXe,nXe,oXe=V(()=>{EFe(),LFe(),JQe(),wWe(),kFe(),YGe(),KGe(),bFe(),wFe(),$Fe(),mFe(),eXe=class e{constructor(e,t,a){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,qQe,{value:UQe});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 pFe({version:o}),this.setSchema(o,a),this.contents=void 0===e?null:this.createNode(e,r,a)}clone(){let t=Object.create(e.prototype,{[qQe]:{value:UQe}});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=BQe(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(e){JGe(this.contents)&&this.contents.add(e)}addIn(e,t){JGe(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let a=gFe(this);e.anchor=!t||a.has(t)?vFe(t||"a",a):t}return new TFe(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??=gFe(e);let o=vFe(t,n);return n.add(o),o},setAnchors:()=>{for(let e of a){let t=r.get(e);if("object"!=typeof t||!t.anchor||!XQe(t.node)&&!LQe(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=MFe(e,c,{aliasDuplicateObjects:n??!0,keepUndefined:s??!1,onAnchor:u,onTagObj:l,replacer:r,schema:this.schema,sourceObjects:p});return i&&LQe(h)&&(h.flow=!0),d(),h}createPair(e,t,a={}){return new yWe(this.createNode(e,null,a),this.createNode(t,null,a))}delete(e){return!!JGe(this.contents)&&this.contents.delete(e)}deleteIn(e){return RFe(e)?null!=this.contents&&(this.contents=null,!0):!!JGe(this.contents)&&this.contents.deleteIn(e)}get(e,t){return LQe(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return RFe(e)?!t&&XQe(this.contents)?this.contents.value:this.contents:LQe(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!LQe(this.contents)&&this.contents.has(e)}hasIn(e){return RFe(e)?void 0!==this.contents:!!LQe(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=IFe(this.schema,[e],t):JGe(this.contents)&&this.contents.set(e,t)}setIn(e,t){RFe(e)?this.contents=t:null==this.contents?this.contents=IFe(this.schema,Array.from(e),t):JGe(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 pFe({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 pFe({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 GGe(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=xFe(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?yFe(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=rWe(e,t),{commentString:o}=n.options;if(e.commentBefore){1!==a.length&&a.unshift("");let t=o(e.commentBefore);a.unshift(BFe(t,""))}let i=!1,s=null;if(e.contents){if(BQe(e.contents)){if(e.contents.spaceBefore&&r&&a.push(""),e.contents.commentBefore){let t=o(e.contents.commentBefore);a.push(BFe(t,""))}n.forceBlockIndent=!!e.comment,s=e.contents.comment}let t=s?void 0:()=>i=!0,l=nWe(e.contents,n,()=>s=null,t);s&&(l+=UFe(l,"",o(s))),"|"!==l[0]&&">"!==l[0]||"---"!==a[a.length-1]?a.push(l):a[a.length-1]=`--- ${l}`}else a.push(nWe(e.contents,n));if(e.directives?.docEnd)if(e.comment){let t=o(e.comment);t.includes("\n")?(a.push("..."),a.push(BFe(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(BFe(o(t),"")))}return a.join("\n")+"\n"}(this,e)}}}),iXe=V(()=>{tXe=class extends Error{constructor(e,t,a,r){super(),this.name=e,this.code=a,this.message=r,this.pos=t}},aXe=class extends tXe{constructor(e,t,a){super("YAMLParseError",e,t,a)}},rXe=class extends tXe{constructor(e,t,a){super("YAMLWarning",e,t,a)}},nXe=(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 sXe(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,w=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:(!w||"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`),w&&o(n,"UNEXPECTED_TOKEN",`Unexpected ${n.source} in ${t??"collection"}`),w=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 O=e[e.length-1],k=O?O.offset+O.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:w,spaceBefore:l,comment:d,hasNewline:h,anchor:g,tag:v,newlineAfterProp:b,end:k,start:x??k}}var lXe=V(()=>{});function cXe(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(cXe(t.key)||cXe(t.value))return!0}return!1;default:return!0}}var uXe=V(()=>{});function dXe(e,t,a){if("flow-collection"===t?.type){let r=t.end[0];r.indent===e&&("]"===r.source||"}"===r.source)&&cXe(t)&&a(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}var pXe=V(()=>{uXe()});function hXe(e,t,a){let{uniqueKeys:r}=e.options;if(!1===r)return!1;let n="function"==typeof r?r:(e,t)=>e===t||XQe(e)&&XQe(t)&&e.value===t.value;return t.some(e=>n(e.key,a))}var mXe=V(()=>{JQe()});var fXe,gXe=V(()=>{wWe(),EWe(),lXe(),uXe(),pXe(),mXe(),fXe="All mapping items must start at the same column"});var vXe=V(()=>{LWe(),lXe(),pXe()});function bXe(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 yXe=V(()=>{});var wXe,xXe,OXe=V(()=>{JQe(),wWe(),EWe(),LWe(),yXe(),lXe(),uXe(),mXe(),wXe="Block collections are not allowed within flow collections",xXe=e=>e&&("block-map"===e.type||"block-seq"===e.type)});function kXe(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??_We)(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=sXe(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",fXe)),!h.anchor&&!h.tag&&!d){l=h.end,h.comment&&(i.comment?i.comment+="\n"+h.comment:i.comment=h.comment);continue}(h.newlineAfterProp||cXe(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",fXe);a.atKey=!0;let f=h.end,g=u?e(a,u,h,n):t(a,f,c,null,h,n);a.schema.compat&&dXe(r.indent,u,n),a.atKey=!1,hXe(a,i.items,g)&&n(f,"DUPLICATE_KEY","Map keys must be unique");let v=sXe(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&&dXe(r.indent,p,n),s=l.range[2];let c=new yWe(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 yWe(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??NWe)(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=sXe(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&&dXe(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?_We:NWe))(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=sXe(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&&cXe(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];GQe(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);xXe(p)&&n(g.range,"BLOCK_IN_FLOW",wXe),a.atKey=!1;let v=sXe(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?xXe(m)&&n(b.range,"BLOCK_IN_FLOW",wXe):v.comment&&(g.comment?g.comment+="\n"+v.comment:g.comment=v.comment);let y=new yWe(g,b);if(a.options.keepSourceTokens&&(y.srcToken=c),i){let e=l;hXe(a,e.items,g)&&n(o,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(y)}else{let e=new _We(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],xXe(m)&&n(r.range,"BLOCK_IN_FLOW",wXe)}}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=bXe(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 SXe=V(()=>{JQe(),PFe(),EWe(),LWe(),gXe(),vXe(),OXe()});function AXe(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?CFe.BLOCK_FOLDED:CFe.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===CFe.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 TXe=V(()=>{PFe()});function _Xe(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=CFe.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}`),CXe(e)}(s,c);break;case"single-quoted-scalar":r=CFe.QUOTE_SINGLE,n=function(e,t){return("'"!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),CXe(e.slice(1,-1)).replace(/''/g,"'")}(s,c);break;case"double-quoted-scalar":r=CFe.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}=EXe(e,r);a+=t,r=n}else if("\\"===n){let n=e[++r],o=MXe[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"===n?2:"u"===n?4:8;a+=PXe(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=bXe(l,u,t,a);return{value:n,type:r,comment:d.comment,range:[o,u,d.offset]}}function CXe(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 EXe(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 PXe(e,t,a,r){let n=e.substr(t,a),o=n.length===a&&/^[0-9a-fA-F]+$/.test(n)?parseInt(n,16):NaN;try{return String.fromCodePoint(o)}catch{let n=e.substr(t-2,a+2);return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${n}`),n}}var MXe,NXe=V(()=>{PFe(),yXe(),MXe={0:"\0",a:"",b:"\b",e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"",_:" ",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"}});function $Xe(e,t,a,r){let n,o,{value:i,type:s,comment:l,range:c}="block-scalar"===t.type?AXe(e,t,r):_Xe(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[ZQe]:u?function(e,t,a,r,n){if("!"===a)return e[ZQe];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[ZQe])}(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[ZQe];if(a.compat){let e=a.compat.find(e=>e.default&&e.test?.test(r))??a[ZQe];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[ZQe];try{let s=n.resolve(i,e=>r(a??t,"TAG_RESOLVE_FAILED",e),e.options);o=XQe(s)?s:new CFe(s)}catch(e){let n=e instanceof Error?e.message:String(e);r(a??t,"TAG_RESOLVE_FAILED",n),o=new CFe(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 IXe=V(()=>{JQe(),PFe(),TXe(),NXe()});function RXe(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 DXe=V(()=>{});function LXe(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 TFe(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=bXe(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=$Xe(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===_We.tagName&&"map"===s||i===NWe.tagName&&"seq"===s)return kXe(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),kXe(e,t,a,n,i);t.schema.tags.push(Object.assign({},r,{default:!1})),l=r}let c=kXe(e,t,a,n,i,l),u=l.resolve?.(c,e=>n(o,"TAG_RESOLVE_FAILED",e),t.options)??c,d=BQe(u)?u:new CFe(u);return d.range=c.range,d.tag=i,l?.format&&(d.format=l.format),d}(jXe,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??=BXe(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&&(!XQe(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 BXe(e,t,a,r,{spaceBefore:n,comment:o,anchor:i,tag:s,end:l},c){let u=$Xe(e,{type:"scalar",offset:RXe(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 jXe,UXe=V(()=>{EFe(),JQe(),SXe(),IXe(),yXe(),DXe(),jXe={composeNode:LXe,composeEmptyNode:BXe}});var zXe=V(()=>{oXe(),UXe(),yXe(),lXe()});function HXe(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 ZXe(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 VXe,qXe=V(()=>{mFe(),oXe(),iXe(),JQe(),zXe(),yXe(),VXe=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,a,r)=>{let n=HXe(e);r?this.warnings.push(new rXe(n,t,a)):this.errors.push(new aXe(n,t,a))},this.directives=new pFe({version:e.version||"1.2"}),this.options=e}decorate(e,t){let{comment:a,afterEmptyLine:r}=ZXe(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(LQe(n)&&!n.flow&&n.items.length>0){let e=n.items[0];GQe(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}}if(t){for(let t=0;t<this.errors.length;++t)e.errors.push(this.errors[t]);for(let t=0;t<this.warnings.length;++t)e.warnings.push(this.warnings[t])}else e.errors=this.errors,e.warnings=this.warnings;this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:ZXe(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=HXe(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 eXe(void 0,Object.assign({_directives:t},e)),l={atKey:!1,atRoot:!0,directives:s.directives,options:s.options,schema:s.schema},c=sXe(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?LXe(l,n,c,i):BXe(l,c.end,r,null,c,i);let u=s.contents.range[2],d=bXe(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 aXe(HXe(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 aXe(HXe(e),"UNEXPECTED_TOKEN","Unexpected doc-end without preceding document"));break}this.doc.directives.docEnd=!0;let t=bXe(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 aXe(HXe(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 eXe(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 QXe(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 aXe([n,n+1],t,r);a(n,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return _Xe(e,t,r);case"block-scalar":return AXe({options:{strict:t}},e,r)}}return null}function FXe(e,t){let{implicitKey:a=!1,indent:r,inFlow:n=!1,offset:o=-1,type:i="PLAIN"}=t,s=KFe({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 GXe(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 WXe(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=KFe({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}];GXe(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'"':XXe(e,l,"double-quoted-scalar");break;case"'":XXe(e,l,"single-quoted-scalar");break;default:XXe(e,l,"scalar")}}function GXe(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 XXe(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 YXe=V(()=>{TXe(),NXe(),iXe(),aWe()});function KXe(e){switch(e.type){case"block-scalar":{let t="";for(let a of e.props)t+=KXe(a);return t+e.source}case"block-map":case"block-seq":{let t="";for(let a of e.items)t+=JXe(a);return t}case"flow-collection":{let t=e.start.source;for(let a of e.items)t+=JXe(a);for(let a of e.end)t+=a.source;return t}case"document":{let t=JXe(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 JXe({start:e,key:t,sep:a,value:r}){let n="";for(let t of e)n+=t.source;if(t&&(n+=KXe(t)),a)for(let e of a)n+=e.source;return r&&(n+=KXe(r)),n}var eYe,tYe=V(()=>{eYe=e=>"type"in e?KXe(e):JXe(e)});function aYe(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),rYe(Object.freeze([]),e,t)}function rYe(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=rYe(Object.freeze(e.concat([[n,t]])),o.items[t],a);if("number"==typeof r)t=r-1;else{if(r===nYe)return nYe;r===iYe&&(o.items.splice(t,1),--t)}}"function"==typeof r&&"key"===n&&(r=r(t,e))}}return"function"==typeof r?r(t,e):r}var nYe,oYe,iYe,sYe=V(()=>{nYe=Symbol("break visit"),oYe=Symbol("skip children"),iYe=Symbol("remove item"),aYe.BREAK=nYe,aYe.SKIP=oYe,aYe.REMOVE=iYe,aYe.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},aYe.parentCollection=(e,t)=>{let a=aYe.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")}}),lYe=q({BOM:()=>"\ufeff",DOCUMENT:()=>"",FLOW_END:()=>"",SCALAR:()=>"",createScalarToken:()=>FXe,isCollection:()=>dYe,isScalar:()=>pYe,prettyToken:()=>cYe,resolveAsScalar:()=>QXe,setScalarValue:()=>WXe,stringify:()=>eYe,tokenType:()=>uYe,visit:()=>aYe});function cYe(e){switch(e){case"\ufeff":return"<BOM>";case"":return"<DOC>";case"":return"<FLOW_END>";case"":return"<SCALAR>";default:return JSON.stringify(e)}}function uYe(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 dYe,pYe,hYe=V(()=>{YXe(),tYe(),sYe(),dYe=e=>!!e&&"items"in e,pYe=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type)});function mYe(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}var fYe,gYe,vYe,bYe,yYe,wYe,xYe,OYe=V(()=>{hYe(),fYe=new Set("0123456789ABCDEFabcdef"),gYe=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),vYe=new Set(",[]{}"),bYe=new Set(" ,[]{}\n\r\t"),yYe=e=>!e||bYe.has(e),wYe=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)&&mYe(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)&&mYe(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&&!mYe(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)&&mYe(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,"block-start"}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(yYe),"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("..."))&&mYe(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(yYe),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let e=this.charAt(1);if(this.flowKey||mYe(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=>mYe(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(mYe(e)||t&&vYe.has(e))break;a=r}else if(mYe(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&&vYe.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&&vYe.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(){let e=0;e:for(;;){switch(this.charAt(0)){case"!":e+=(yield*this.pushTag()),e+=(yield*this.pushSpaces(!0));continue e;case"&":e+=(yield*this.pushUntil(yYe)),e+=(yield*this.pushSpaces(!0));continue e;case"-":case"?":case":":{let t=this.flowLevel>0,a=this.charAt(1);if(mYe(a)||t&&vYe.has(a)){t?this.flowKey&&=!1:this.indentNext=this.indentValue+1,e+=(yield*this.pushCount(1)),e+=(yield*this.pushSpaces(!0));continue e}}}break e}return e}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!mYe(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(gYe.has(t))t=this.buffer[++e];else{if("%"!==t||!fYe.has(this.buffer[e+1])||!fYe.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)}}}),kYe=V(()=>{xYe=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 SYe(e,t){for(let a=0;a<e.length;++a)if(e[a].type===t)return!0;return!1}function AYe(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 TYe(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 _Ye(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 CYe(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 EYe(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let a=0;a<t.length;++a)e.push(t[a])}function PYe(e){if("flow-seq-start"===e.start.type)for(let t of e.items)t.sep&&!t.value&&!SYe(t.start,"explicit-key-ind")&&!SYe(t.sep,"map-value-ind")&&(t.key&&(t.value=t.key),delete t.key,TYe(t.value)?t.value.end?EYe(t.value.end,t.sep):t.value.end=t.sep:EYe(t.start,t.sep),delete t.sep)}var MYe,NYe=V(()=>{hYe(),OYe(),MYe=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 wYe,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=uYe(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&&PYe(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===AYe(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===AYe(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=CYe(_Ye(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 EYe(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(SYe(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(TYe(t.key)&&!SYe(t.sep,"newline")){let e=CYe(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(SYe(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=CYe(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]}):SYe(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&&!SYe(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 EYe(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||SYe(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=CYe(_Ye(t));PYe(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=CYe(_Ye(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=CYe(_Ye(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 $Ye(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new xYe||null,prettyErrors:t}}function IYe(e,t={}){let{lineCounter:a,prettyErrors:r}=$Ye(t),n=new MYe(a?.addNewLine),o=new VXe(t),i=Array.from(o.compose(n.parse(e)));if(r&&a)for(let t of i)t.errors.forEach(nXe(e,a)),t.warnings.forEach(nXe(e,a));return i.length>0?i:Object.assign([],{empty:!0},o.streamInfo())}function RYe(e,t={}){let{lineCounter:a,prettyErrors:r}=$Ye(t),n=new MYe(a?.addNewLine),o=new VXe(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 aXe(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(nXe(e,a)),i.warnings.forEach(nXe(e,a))),i}function DYe(e,t,a){let r;"function"==typeof t?r=t:void 0===a&&t&&"object"==typeof t&&(a=t);let n=RYe(e,a);if(!n)return null;if(n.warnings.forEach(e=>sWe(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 LYe(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 FQe(e)&&!r?e.toString(a):new eXe(e,r,a).toString(a)}var BYe,jYe,UYe,zYe,HYe,ZYe,VYe,qYe,QYe,FYe,WYe,GYe,XYe,YYe,KYe,JYe,eKe,tKe,aKe,rKe,nKe,oKe,iKe,sKe,lKe,cKe,uKe,dKe,pKe,hKe,mKe,fKe,gKe,vKe,bKe,yKe,wKe,xKe,OKe,kKe,SKe,AKe,TKe,_Ke,CKe,EKe,PKe,MKe,NKe,$Ke,IKe,RKe,DKe,LKe,BKe=V(()=>{qXe(),oXe(),iXe(),lWe(),JQe(),kYe(),NYe()}),jKe=q({Alias:()=>TFe,CST:()=>lYe,Composer:()=>VXe,Document:()=>eXe,Lexer:()=>wYe,LineCounter:()=>xYe,Pair:()=>yWe,Parser:()=>MYe,Scalar:()=>CFe,Schema:()=>GGe,YAMLError:()=>tXe,YAMLMap:()=>_We,YAMLParseError:()=>aXe,YAMLSeq:()=>NWe,YAMLWarning:()=>rXe,isAlias:()=>QQe,isCollection:()=>LQe,isDocument:()=>FQe,isMap:()=>WQe,isNode:()=>BQe,isPair:()=>GQe,isScalar:()=>XQe,isSeq:()=>YQe,parse:()=>DYe,parseAllDocuments:()=>IYe,parseDocument:()=>RYe,stringify:()=>LYe,visit:()=>eFe,visitAsync:()=>aFe}),UKe=V(()=>{qXe(),oXe(),YGe(),iXe(),EFe(),JQe(),wWe(),PFe(),EWe(),LWe(),hYe(),OYe(),kYe(),NYe(),BKe(),hFe()}),zKe=q({Alias:()=>TFe,CST:()=>lYe,Composer:()=>VXe,Document:()=>eXe,Lexer:()=>wYe,LineCounter:()=>xYe,Pair:()=>yWe,Parser:()=>MYe,Scalar:()=>CFe,Schema:()=>GGe,YAMLError:()=>tXe,YAMLMap:()=>_We,YAMLParseError:()=>aXe,YAMLSeq:()=>NWe,YAMLWarning:()=>rXe,default:()=>BYe,isAlias:()=>QQe,isCollection:()=>LQe,isDocument:()=>FQe,isMap:()=>WQe,isNode:()=>BQe,isPair:()=>GQe,isScalar:()=>XQe,isSeq:()=>YQe,parse:()=>DYe,parseAllDocuments:()=>IYe,parseDocument:()=>RYe,stringify:()=>LYe,visit:()=>eFe,visitAsync:()=>aFe}),HKe=V(()=>{UKe(),UKe(),BYe=jKe}),ZKe=V(()=>{kS(),HKe(),jYe={language:"json",parse:e=>JSON.parse(e),stringify:e=>JSON.stringify(e,null,2)},UYe={language:"yaml",parse:e=>DYe(e),stringify:e=>LYe(e)},zYe=new Set(["application/yaml","application/x-yaml","text/yaml","text/x-yaml"]),HYe=e=>{let t=hS(e).essence;return"application/json"===t||t.endsWith("+json")?jYe:zYe.has(t)||t.endsWith("+yaml")?UYe:void 0}}),VKe=V(()=>{RK(),XY(),ZYe=(e,t)=>{let a=eq(t),r={};for(let n of e){if(n.isDisabled||!n.name)continue;let e=n.value;if("string"!=typeof e||""===e)continue;let o=a(n.name,e)?n.name.split("."):[n.name],i=XV(t,o);MX(r,o,i&&"type"in i&&null!=i.type?KV(e,i):JV(e))}return r}}),qKe=V(()=>{IQe(),J_(),sF(),dF(),VYe=(e,t)=>{let a=t&&ZV(t)?t:void 0;if(!z_(e)&&!a)return[];let r=new Map;if(a)for(let e of uQe(a))r.set(e.path.join("."),e);let n=new Set(a?.required??[]);return dQe(z_(e)?e:{},a).map(({path:e,value:t})=>{let o=e.join("."),i={name:o,value:null==t?"":cQe(t),isDisabled:!1},s=r.get(o),l=s?.schema??(a?dV.schema(a.properties?.[o]):void 0);return i.schema=l,i.description=l?.description,i.isRequired=s?.isRequired??n.has(o),i})}}),QKe=V(()=>{$Qe(),VKe(),qKe(),ZKe(),Bc(),qYe=Cn({__name:"RequestBodyStructured",props:{parsedValue:{},bodySchema:{},contentType:{},environment:{}},emits:["update:value"],setup(e,{emit:t}){let a,r=t,n=il(()=>HYe(e.contentType)),o=Ha([]);hn(()=>[e.parsedValue,e.bodySchema,e.contentType],([e,t])=>{if(void 0!==a&&n.value)try{if(n.value.stringify(e)===a)return}catch{}a=void 0,o.value=VYe(e,t)},{immediate:!0});let i=()=>{if(!n.value)return;let t=n.value.stringify(ZYe(o.value,e.bodySchema));a=t,r("update:value",t)},s=(e,t)=>{if(e>=o.value.length)return o.value=[...o.value,{name:"",value:"",...t,isDisabled:!1}],void i();o.value=o.value.map((a,r)=>r===e?{...a,...t}:a),i()},l=e=>{o.value=o.value.filter((t,a)=>a!==e),i()};return(t,a)=>(Ho(),Fo(lQe,{data:o.value,environment:e.environment,label:"Body",onDeleteRow:l,onUpsertRow:s},null,8,["data","environment"]))}})}),FKe=V(()=>{QKe(),QYe=qYe}),WKe=V(()=>{Bc(),FYe={class:"text-c-3 text-xxs -my-1 mr-2 flex justify-center gap-0.5 rounded p-0.5"},WYe=["disabled","title"],GYe=Cn({__name:"RequestBodyViewToggle",props:{modelValue:{},disabled:{type:Boolean}},emits:["update:modelValue"],setup:e=>(t,a)=>(Ho(),Qo("div",FYe,[Xo("button",{class:tt(["rounded px-1",e.disabled?"cursor-not-allowed opacity-50":{"bg-b-3 text-c-1 cursor-default":"form"===e.modelValue,"hover:bg-b-3":"form"!==e.modelValue}]),disabled:e.disabled,title:e.disabled?"Fix the body to switch to the form view":void 0,type:"button",onClick:a[0]||=Cc(e=>t.$emit("update:modelValue","form"),["stop"])}," Form ",10,WYe),Xo("button",{class:tt(["hover:bg-b-3 rounded px-1",{"bg-b-3 text-c-1 cursor-default":"raw"===e.modelValue}]),type:"button",onClick:a[1]||=Cc(e=>t.$emit("update:modelValue","raw"),["stop"])}," Raw ",2)]))})}),GKe=V(()=>{WKe(),XYe=GYe}),XKe=V(()=>{Bc(),YYe=Cn({name:"ValueEmitter",props:{value:{}},emits:["change","unmount"],setup(e,{emit:t}){let a=t;return hn(()=>e.value,e=>a("change",e),{immediate:!0}),os(()=>a("unmount")),(e,t)=>null}})}),YKe=V(()=>{XKe(),KYe=YYe}),KKe=V(()=>{YKe(),Bc(),Yte(),Oh(),JYe=["aria-labelledby"],eKe={class:"text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]"},tKe=["id"],aKe={key:0,class:"sr-only"},rKe={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"},nKe={class:"sr-only"},oKe={key:0,class:"ui-not-open:hidden flex items-center gap-2 pr-0.75"},iKe=Cn({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=En();return(t,n)=>(Ho(),Fo(qa(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:sn(({open:o})=>[Fs(KYe,{value:o,onChange:n[0]||=e=>a("update:modelValue",e)},null,8,["value"]),Xo("section",{"aria-labelledby":qa(r),class:"contents"},[Xo("div",{class:tt(["bg-b-2 flex items-center",e.isStatic&&"rounded-t-xl border-x border-t"])},[Fs(qa(wp),{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:sn(()=>[e.isStatic?ai("",!0):(Ho(),Fo(qa(Dte),{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"})),Xo("h2",eKe,[Xo("span",{id:qa(r),class:"contents"},[Kn(t.$slots,"title",{open:o}),o?ai("",!0):(Ho(),Qo("span",aKe," (Collapsed) "))],8,tKe),!o&&e.itemCount?(Ho(),Qo("span",rKe,[ei(Yt(e.itemCount)+" ",1),Xo("span",nKe,"Item"+Yt(1===e.itemCount?"":"s"),1)])):ai("",!0)])]),_:2},1032,["class","disabled"]),t.$slots.actions?(Ho(),Qo("div",oKe,[Kn(t.$slots,"actions",{open:o})])):ai("",!0)],2),Fs(qa(xp),ii(t.$attrs,{class:"diclosure-panel h-full max-h-fit rounded-b"}),{default:sn(()=>[Kn(t.$slots,"default",{open:o})]),_:2},1040)],8,JYe)]),_:3},8,["class","defaultOpen","static"]))}})}),JKe=V(()=>{KKe(),sKe=iKe}),eJe=V(()=>{Uae(),h_(),Bc(),Oh(),lKe=Cn({__name:"ScalarListboxItem",props:{option:{},multiselect:{type:Boolean}},setup(e){let t=a_({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)=>(Ho(),Fo(qa(Bp),{as:"template",disabled:e.option.disabled,value:e.option},{default:sn(({active:a,selected:r})=>[Xo("li",{class:tt(qa(r_)(qa(t)({active:a,selected:r,disabled:e.option.disabled})))},[Fs(bae,{multiselect:e.multiselect,selected:r},null,8,["multiselect","selected"]),Xo("span",{class:tt(["inline-block min-w-0 flex-1 truncate",e.option.color?e.option.color:"text-c-1"])},Yt(e.option.label),3)],2)]),_:1},8,["disabled","value"]))}})}),tJe=V(()=>{eJe(),cKe=lKe}),aJe=V(()=>{ooe(),soe(),tJe(),h_(),Bc(),Oh(),uKe={class:"custom-scroll min-h-0 flex-1"},dKe=Cn({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}=c_();return(a,r)=>(Ho(),Fo(qa(Ip),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||=e=>a.$emit("update:modelValue",e)},{default:sn(({open:r})=>[e.label?(Ho(),Fo(qa(Rp),{key:0,class:"sr-only"},{default:sn(()=>[ei(Yt(e.label),1)]),_:1})):ai("",!0),Fs(qa(Vne),ii(a.$props,{placement:e.placement??"bottom-start"}),{floating:sn(({width:a})=>[r?(Ho(),Qo("div",ii({key:0,style:{width:a}},qa(t)("relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm")),[Xo("div",uKe,[Fs(qa(Lp),{class:"flex flex-col gap-0.75 p-0.75 -outline-offset-1"},{default:sn(()=>[(Ho(!0),Qo(Bs,null,Xn(e.options,t=>(Ho(),Fo(cKe,{key:t.id,multiselect:e.multiple,option:t},null,8,["multiselect","option"]))),128))]),_:1})]),Fs(qa(Qne))],16)):ai("",!0)]),default:sn(()=>[Fs(qa(Dp),{id:e.id,as:"template"},{default:sn(()=>[Kn(a.$slots,"default",{open:r})]),_:2},1032,["id"])]),_:2},1040,["placement"])]),_:3},8,["modelValue","multiple"]))}})}),rJe=V(()=>{aJe(),pKe=dKe}),nJe=V(()=>{Bc(),hKe=Symbol(),mKe=()=>dn(hKe,!1),fKe=()=>{un(hKe,!0)}}),oJe=V(()=>{nJe(),h_(),Bc(),gKe=Cn({inheritAttrs:!1,__name:"ScalarFormInput",props:{is:{default:"button"}},setup(e){let{cx:t}=c_(),a=mKe(),r=a_({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)=>(Ho(),Fo(Fn(e.is),ii({type:"button"===e.is?"button":void 0},qa(t)(qa(r)({button:"button"===e.is,grouped:qa(a)}))),{default:sn(()=>[Kn(n.$slots,"default")]),_:3},16,["type"]))}})}),iJe=V(()=>{oJe(),vKe=gKe}),sJe=V(()=>{Uae(),rJe()}),lJe=V(()=>{bKe={"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"}}),cJe=V(()=>{lae(),p_e(),m_e(),b_e(),j_e(),U_e(),DQe(),ZKe(),FKe(),GKe(),JKe(),Bc(),mae(),sJe(),VY(),Yte(),RK(),kS(),BC(),lJe(),J_(),sF(),dF(),yKe={key:0,class:"text-c-3 flex min-h-10 w-full items-center justify-center border-t p-2 text-sm"},wKe={key:1,class:"flex items-center justify-center overflow-hidden border-t p-1.5"},xKe={class:"text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap"},OKe=Cn({__name:"RequestBody",props:{requestBody:{},exampleKey:{},title:{},environment:{},requestBodyCompositionSelection:{},defaultView:{default:"raw"}},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=il(()=>HV(e.requestBody,e.exampleKey)??"none"),o=e=>hS(e).essence,i=il(()=>{let t=vX(bKe).map(([e,t])=>({id:e,label:t}));return[...t,...Object.keys(e.requestBody?.content??{}).filter(e=>!(e in bKe)&&!(o(e)in bKe)).map(e=>({id:e,label:o(e)}))]}),s=il({get:()=>{let e=i.value.find(e=>e.id===n.value);if(e)return e;let t=o(n.value),a=bKe[t]??t;return{id:n.value,label:a}},set:e=>{a("update:contentType",{value:e.id})}});let l=il(()=>e.requestBody&&zV(e.requestBody,n.value,e.exampleKey,e.requestBodyCompositionSelection)),c=il(()=>{if(!l.value)return"";let e=l.value.value;return"string"==typeof e?e:JSON.stringify(e,null,2)}),u=il(()=>dV.schema(e.requestBody?.content?.[n.value]?.schema)),d=il(()=>"none"===n.value?void 0:HYe(n.value)),p=il(()=>{let e=d.value;if(!e)return{ok:!1};let t=l.value?.value;if(null==t||""===t)return{ok:!0,value:{}};if("string"==typeof t)try{return{ok:!0,value:e.parse(t)}}catch{return{ok:!1}}return{ok:!0,value:t}});hn([()=>e.requestBody,()=>e.exampleKey,il(()=>JSON.stringify(e.requestBodyCompositionSelection??{}))],([,,t],[r,o,i])=>{if(e.requestBody!==r||e.exampleKey!==o||t===i||0===Object.keys(e.requestBodyCompositionSelection??{}).length)return;let s=d.value;if(!e.requestBody||!s)return;let l=UV(e.requestBody,n.value,e.requestBodyCompositionSelection);a("update:value",{payload:null==l?"":s.stringify(l),contentType:n.value})});let h=il(()=>p.value.ok&&z_(p.value.value)),m=il(()=>!!d.value&&(h.value||!(!u.value||!ZV(u.value)))),f=Ha(e.defaultView);return hn(h,e=>{e||(f.value="raw")}),(t,o)=>(Ho(),Fo(qa(sKe),null,{title:sn(()=>[ei(Yt(e.title),1)]),default:sn(()=>[Fs(qa(t_e),{columns:[""],presentational:""},{default:sn(()=>[Fs(qa(o_e),{class:"relative col-span-full flex h-8 cursor-pointer items-center justify-between border-r-0 !p-0"},{default:sn(()=>[Fs(qa(pKe),{modelValue:s.value,"onUpdate:modelValue":o[0]||=e=>s.value=e,options:i.value,teleport:""},{default:sn(()=>[Fs(qa(sae),{class:"text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-3 font-normal",fullWidth:"",variant:"ghost"},{default:sn(()=>[Xo("span",null,Yt(s.value.label),1),Fs(qa(Dte),{icon:"ChevronDown",size:"md"})]),_:1})]),_:1},8,["modelValue","options"]),m.value?(Ho(),Fo(XYe,{key:0,disabled:!h.value,modelValue:f.value,"onUpdate:modelValue":o[1]||=e=>f.value=e},null,8,["disabled","modelValue"])):ai("",!0)]),_:1}),Fs(qa(x_e),null,{default:sn(()=>["none"===n.value?(Ho(),Qo("div",yKe,[...o[7]||=[Xo("span",null,"No Body",-1)]])):"application/octet-stream"===n.value?(Ho(),Qo("div",wKe,[void 0===qa(O_e)(qa(_C)(l.value?.value))?(Ho(),Fo(qa(sae),{key:1,class:"bg-b-2 hover:bg-b-3 text-c-2 border-0 shadow-none",size:"sm",variant:"outlined",onClick:o[3]||=()=>function(e){let{open:t}=eae({onChange:t=>{let a=t?.[0];a&&e(a)},multiple:!1,accept:"*/*"});t()}(e=>a("update:value",{payload:e,contentType:n.value}))},{default:sn(()=>[o[9]||=Xo("span",null,"Select File",-1),Fs(qa(Dte),{class:"ml-1",icon:"Upload",size:"xs",thickness:"2.5"})]),_:1})):(Ho(),Qo(Bs,{key:0},[Xo("span",xKe,Yt(qa(O_e)(qa(_C)(l.value?.value))),1),Fs(qa(sae),{class:"bg-b-2 hover:bg-b-3 text-c-2 ml-1 border-0 shadow-none",size:"sm",variant:"outlined",onClick:o[2]||=e=>a("update:value",{payload:void 0,contentType:n.value})},{default:sn(()=>[...o[8]||=[ei(" Delete ",-1)]]),_:1})],64))])):"multipart/form-data"===n.value||"application/x-www-form-urlencoded"===n.value?(Ho(),Fo(mQe,{key:2,bodySchema:u.value,environment:e.environment,example:l.value,selectedContentType:n.value,"onUpdate:formValue":o[4]||=e=>a("update:formValue",{payload:e,contentType:n.value})},null,8,["bodySchema","environment","example","selectedContentType"])):(Ho(),Qo(Bs,{key:3},["form"===f.value&&h.value?(Ho(),Fo(QYe,{key:0,bodySchema:u.value,contentType:n.value,environment:e.environment,parsedValue:p.value.value,"onUpdate:value":o[5]||=e=>a("update:value",{payload:e,contentType:n.value})},null,8,["bodySchema","contentType","environment","parsedValue"])):(Ho(),Fo(qa(YTe),{key:1,class:"border-t px-3",content:"",environment:e.environment,language:r[n.value]??"plaintext",lineNumbers:"",lint:"",modelValue:c.value,withFakeData:"","onUpdate:modelValue":o[6]||=e=>a("update:value",{payload:e,contentType:n.value})},null,8,["environment","language","modelValue"]))],64))]),_:1})]),_:1})]),_:1}))}})}),uJe=V(()=>{kh(),cJe(),kKe=yh(OKe,[["__scopeId","data-v-928dfb0c"]])}),dJe=V(()=>{SKe=(e,t)=>{let a=t.toLowerCase();return e.label.toLowerCase().includes(a)||e.clientKey.toLowerCase().includes(a)||e.lang.toLowerCase().includes(a)},AKe=(e,t)=>{let a=t.toLowerCase();return e.label.toLowerCase().includes(a)||e.key.toLowerCase().includes(a)},TKe=(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)AKe(t,r)?e.push(...t.options):e.push(...t.options.filter(e=>SKe(e,r)));return e}return t.filter(e=>SKe(e,r))}}),pJe=V(()=>{VY(),CKe=vX(_Ke={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"],julia:["http"],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}`))}),hJe=V(()=>{pJe()}),mJe=V(()=>{EKe=e=>(e||"GET").toUpperCase(),PKe=e=>e.replaceAll("\\","\\\\").replaceAll('"','\\"').replaceAll("\n","\\n").replaceAll("\r","\\r").replaceAll("\t","\\t"),MKe=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}},NKe=(e,t)=>{let a=t?.length?t.map(e=>`${e.name}=${e.value}`).join("&"):"";return a?e?`${e}${e.includes("?")?"&":"?"}${a}`:`?${a}`:e},$Ke=e=>e?.length?e.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; "):null,IKe=e=>e?.length?e.map(e=>new URLSearchParams([[e.name,e.value??""]]).toString()).join("&"):null,RKe=e=>{if(void 0===e)return"";try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},DKe=e=>{let t=e.split("\n");return t.length<=1?[`  curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${PKe(e)}");`]:["  curl_easy_setopt(curl, CURLOPT_POSTFIELDS,",...t.map((e,a)=>{let r=a===t.length-1;return`    "${PKe(e)}${r?"":"\\n"}"${r?");":""}`})]},LKe={target:"c",client:"libcurl",title:"Libcurl",generate(e,t){if(!e)return"";let a=EKe(e.method),r=MKe(e.url??""),n=NKe(r,e.queryString),o=!!e.headers?.length,i=!!e.cookies?.length,s=e.postData,l="multipart/form-data"===s?.mimeType&&!!s.params?.length,c=e.headers??[],u=c.some(e=>"accept-encoding"===e.name.toLowerCase()&&/gzip|deflate/.test(e.value)),d=["#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, "${PKe(a)}");`,`  curl_easy_setopt(curl, CURLOPT_URL, "${PKe(n)}");`];if(t?.auth?.username&&t.auth.password&&d.push(`  curl_easy_setopt(curl, CURLOPT_USERPWD, "${PKe(`${t.auth.username}:${t.auth.password}`)}");`),o&&(d.push("","  struct curl_slist *headers = NULL;"),c.forEach(e=>{d.push(`  headers = curl_slist_append(headers, "${PKe(`${e.name}: ${e.value}`)}");`)}),d.push("  curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);")),i){let t=$Ke(e.cookies);t&&d.push("",`  curl_easy_setopt(curl, CURLOPT_COOKIE, "${PKe(t)}");`)}if(u&&d.push("",'  curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "");'),s)if(l&&s.params)d.push("","  curl_mime *mime = curl_mime_init(curl);"),s.params.forEach(e=>{d.push("","  {","    curl_mimepart *part = curl_mime_addpart(mime);"),e.name&&d.push(`    curl_mime_name(part, "${PKe(e.name)}");`),void 0===e.fileName?d.push(`    curl_mime_data(part, "${PKe(e.value??"")}", CURL_ZERO_TERMINATED);`):d.push(`    curl_mime_filedata(part, "${PKe(e.fileName)}");`),e.contentType&&d.push(`    curl_mime_type(part, "${PKe(e.contentType)}");`),d.push("  }")}),d.push("","  curl_easy_setopt(curl, CURLOPT_MIMEPOST, mime);");else if("application/x-www-form-urlencoded"===s.mimeType&&s.params?.length){let e=IKe(s.params);null!==e&&d.push("",`  curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${PKe(e)}");`)}else if("application/json"===s.mimeType&&void 0!==s.text)d.push("",...DKe(RKe(s.text)));else if(void 0!==s.text){let e="application/octet-stream"===s.mimeType?s.text:RKe(s.text);d.push("",...DKe(e))}return d.push("","  CURLcode res = curl_easy_perform(curl);"),d.push("  curl_easy_cleanup(curl);"),l&&d.push("  curl_mime_free(mime);"),o&&d.push("  curl_slist_free_all(headers);"),d.push("  curl_global_cleanup();","","  return (int)res;","}"),d.join("\n")}}}),fJe=V(()=>{mJe()});function gJe(e){return{...e,method:(e.method||"GET").toUpperCase()}}function vJe(e){return e?.length?`?${e.map(e=>`${e.name}=${e.value}`).join("&")}`:""}function bJe(e=[]){return e.reduce((e,{name:t,value:a})=>(kJe(e,t,a),e),{})}var yJe,wJe,xJe,OJe,kJe,SJe,AJe,TJe,_Je,CJe,EJe,PJe,MJe,NJe,$Je,IJe,RJe=V(()=>{yJe=e=>(e||"GET").toUpperCase(),wJe=e=>{if(!e)return"";try{let t=new URL(e);return"/"===t.pathname?`${t.origin}${t.search}${t.hash}`:t.toString()}catch{return e}},xJe=(e,t)=>{let a=vJe(t);return a?e?`${e}${e.includes("?")?"&":"?"}${a.slice(1)}`:a:e},OJe=(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}))},kJe=(e,t,a)=>{let r=e[t];void 0===r?e[t]=a:Array.isArray(r)?r.push(a):e[t]=[r,a]}}),DJe=V(()=>{RJe(),SJe=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),AJe=class{name;constructor(e){this.name=e}toString(){return`:${this.name}`}},TJe=class{path;constructor(e){this.path=e}toString(){return`(clojure.java.io/file "${SJe(this.path)}")`}},_Je=e=>!("object"!=typeof e||!e||Array.isArray(e)||e instanceof AJe||e instanceof TJe||0!==Object.keys(e).length),CJe=e=>{for(let t of Object.keys(e))_Je(e[t])&&delete e[t];return e},EJe=(e,t)=>t.replace(/\n/g,`\n${" ".repeat(e)}`),PJe=e=>{if(null==e)return"nil";if(e instanceof AJe||e instanceof TJe)return e.toString();if("string"==typeof e)return`"${SJe(e)}"`;if(Array.isArray(e)){let t=e.reduce((e,t)=>`${e} ${PJe(t)}`,"").trim();return`[${EJe(1,t)}]`}if("object"==typeof e){let t=Object.keys(e).reduce((t,a)=>`${t}:${a} ${EJe(a.length+2,PJe(e[a]))}\n `,"").trim();return`{${EJe(1,t)}}`}return String(e)},MJe=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),NJe=(e,t)=>{let a=MJe(e,t);a&&delete e[a]},$Je=["get","post","put","delete","patch","head","options"],IJe={target:"clojure",client:"clj_http",title:"clj-http",generate(e,t){let a=yJe(e?.method).toLowerCase();if(!$Je.includes(a))return"Method not supported";let r=new URL(e?.url??""),n="/"===r.pathname?r.origin:r.toString(),o=bJe([...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 AJe("json"),l.text)try{s["form-params"]=JSON.parse(l.text)}catch{s.body=l.text}NJe(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),{}),NJe(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 TJe(e.fileName)})),NJe(i,"content-type");break;default:l?.text&&(s.body=l.text,NJe(i,"content-type"))}let c=MJe(i,"accept");c&&"application/json"===i[c]&&(s.accept=new AJe("json"),delete i[c]);let u=CJe(s),d="(require '[clj-http.client :as client])\n",p=SJe(n);if(_Je(u))return`${d}\n(client/${a} "${p}")`;let h=11+a.length+p.length;return`${d}\n(client/${a} "${p}" ${EJe(h,PJe(u))})`}}}),LJe=V(()=>{DJe()});function BJe(e){let t=3;for(;e.includes('"'.repeat(t));)t++;let a='"'.repeat(t);return`${a}\n${e}\n${a}`}function jJe(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}function UJe(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 zJe,HJe,ZJe,VJe,qJe,QJe,FJe,WJe=V(()=>{NY(),RJe(),zJe={target:"csharp",client:"httpclient",title:"HttpClient",generate(e,t){let a={method:"GET",url:"",...e};a.method=a.method.toUpperCase();let r=vJe(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=HF(`${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()&&UJe(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=BJe(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=BJe(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("${jJe(a.fileName)}"));`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${a.contentType}");`),e.push(`content.Add(${r}, "${jJe(a.name)}", "${jJe(a.fileName)}");`)}else e.push(`content.Add(new StreamContent(File.OpenRead("${jJe(a.fileName)}")), "${jJe(a.name)}", "${jJe(a.fileName)}");`);else if(a.contentType){let r="stringContent"+t++;e.push(`var ${r} = new StringContent("${jJe(a.value??"")}");`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${a.contentType}");`),e.push(`content.Add(${r}, "${jJe(a.name)}");`)}else e.push(`content.Add(new StringContent("${jJe(a.value??"")}"), "${jJe(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=BJe(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")}}}),GJe=V(()=>{WJe()}),XJe=V(()=>{kS(),NY(),RJe(),HJe=e=>{if(!e)return!1;let{subtype:t}=hS(e);return"json"===t||t.endsWith("+json")},ZJe=e=>`Method.${e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}`,VJe=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"),qJe=e=>{let t=3;for(;e.includes('"'.repeat(t));)t++;let a='"'.repeat(t);return`${a}\n${e}\n${a}`},QJe={target:"csharp",client:"restsharp",title:"RestSharp",generate(e,t){let a={method:"GET",url:"",...e};a.method=a.method.toUpperCase();let r=xJe(a.url,a.queryString),n="";try{n=new URL(r).host}catch{}let o=[];o.push(`var client = new RestClient("${VJe(r)}");`),o.push(`var request = new RestRequest("", ${ZJe(a.method)});`);let{username:i,password:s}=t?.auth??{},l=!(!i||!s);if(l){let e=HF(`${i}:${s}`);o.push(`request.AddHeader("Authorization", "Basic ${e}");`)}if(a.headers?.forEach(e=>{l&&"authorization"===e.name.toLowerCase()||o.push(`request.AddHeader("${VJe(e.name)}", "${VJe(e.value)}");`)}),a.cookies?.forEach(e=>{o.push(`request.AddCookie("${VJe(e.name)}", "${VJe(e.value)}", "/", "${VJe(n)}");`)}),a.postData){let{mimeType:e,text:t,params:r}=a.postData,n=e?hS(e).essence:void 0;if(HJe(e)){if(t){let e=t;try{e=JSON.stringify(JSON.parse(t),null,2)}catch{}o.push(`request.AddStringBody(${qJe(e)}, ContentType.Json);`)}}else"application/x-www-form-urlencoded"===n&&r?r.forEach(e=>{o.push(`request.AddParameter("${VJe(e.name)}", "${VJe(e.value??"")}");`)}):"multipart/form-data"===n&&r?r.forEach(e=>{void 0===e.fileName?o.push(`request.AddParameter("${VJe(e.name)}", "${VJe(e.value??"")}");`):e.contentType?o.push(`request.AddFile("${VJe(e.name)}", "${VJe(e.fileName)}", "${VJe(e.contentType)}");`):o.push(`request.AddFile("${VJe(e.name)}", "${VJe(e.fileName)}");`)}):"application/octet-stream"===n&&t?o.push(`request.AddParameter("application/octet-stream", "${VJe(t)}", ParameterType.RequestBody);`):t&&o.push(`request.AddParameter("${VJe(e??"")}", "${VJe(t)}", ParameterType.RequestBody);`)}return o.push("var response = await client.ExecuteAsync(request);"),o.join("\n")}}}),YJe=V(()=>{XJe()}),KJe=V(()=>{FJe={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}}}),JJe=V(()=>{KJe()});function e0e(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=t0e(n.fileName??"");t+=`let fileStreamContent_${a} = new StreamContent(File.OpenRead("${e}"))\n`,n.contentType&&(t+=`fileStreamContent_${a}.Headers.ContentType <- MediaTypeHeaderValue("${t0e(n.contentType)}")\n`),t+=`content.Add(fileStreamContent_${a}, "${e}", "${e}")\n`,a++}else{let e=t0e(n.name??""),a=t0e(n.value??"");n.contentType?(t+=`let stringContent_${r} = new StringContent("${a}")\n`,t+=`stringContent_${r}.Headers.ContentType <- MediaTypeHeaderValue("${t0e(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("${t0e(a.name??"")}", "${t0e(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("${t0e(e.text??"")}", Encoding.UTF8, "${t0e(t??"")}")\n`;return a+=`content.Headers.ContentType <- MediaTypeHeaderValue("${t0e(t??"")}")\n`,a}(e,e.mimeType)}return t+="httpRequestMessage.Content <- content\n\n",t}function t0e(e){return null==e?"":e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}var a0e,r0e,n0e,o0e,i0e,s0e,l0e,c0e,u0e,d0e,p0e,h0e=V(()=>{a0e={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("${t0e(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("${t0e(a.name??"")}", "${t0e(a.value??"")}")\n`;return t+="\n",t}(e.headers)),e.postData&&(r+=e0e(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("${t0e(t)}"), Cookie("${t0e(r.name??"")}", "${t0e(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}}}),m0e=V(()=>{h0e()}),f0e=V(()=>{RJe(),r0e=e=>e.includes(" ")?e:n0e(e),n0e=e=>JSON.stringify(e),o0e=e=>{if(void 0===e)return"";try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},i0e=e=>!e.includes("`"),s0e=(e,t=!1)=>t&&i0e(e)?`\`${e}\``:n0e(e),l0e=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(${n0e(e.name)}, ${n0e(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(${n0e(e.name)}, ${n0e(e.value??"")})`):(a.push(`part, _ ${n?"=":":="} writer.CreateFormFile(${n0e(e.name)}, ${n0e(e.fileName)})`),a.push(""),a.push(`f, _ ${o?"=":":="} os.Open(${n0e(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}}t.add("strings");let a="application/json"===e.mimeType?o0e(e.text):e.text??"";return{imports:t,setupLines:[`payload := strings.NewReader(${s0e(a,"application/json"===e.mimeType)})`],requestBody:"payload",needsMultipartContentTypeHeader:!1}},c0e=e=>Array.from(new Set(["fmt","io","net/http",...e])).sort(),u0e={target:"go",client:"native",title:"NewRequest",generate(e,t){if(!e)return"";let a=yJe(e.method),r=wJe(xJe(e.url??"",e.queryString)),n=OJe(e.headers,e.cookies),o=l0e(e.postData),i=["package main","","import (",...c0e(o.imports).map(e=>`\t${r0e(e)}`),")","","func main() {",`\trequestUrl := ${n0e(r)}`,"",...o.setupLines.map(e=>e?`\t${e}`:"")];return o.setupLines.length&&i.push(""),i.push(`\treq, _ := http.NewRequest(${n0e(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(${n0e(t.auth.username)}, ${n0e(t.auth.password)})`),n.forEach(e=>{i.push(`\treq.Header.Add(${n0e(e.name)}, ${n0e(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")}}}),g0e=V(()=>{f0e()}),v0e=V(()=>{d0e={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}}}),b0e=V(()=>{v0e()}),y0e=V(()=>{p0e=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 w0e(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 x0e,O0e,k0e,S0e=V(()=>{x0e=e=>w0e(e,{delimiter:"'"}),O0e=e=>w0e(e,{delimiter:'"'})}),A0e=V(()=>{y0e(),S0e(),k0e={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 p0e({indent:{indent:"  ",...n}.indent});return i("AsyncHttpClient client = new DefaultAsyncHttpClient();"),i(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach(e=>{i(`.setHeader("${e}", "${O0e(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 T0e(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=bJe(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 _0e,C0e,E0e,P0e,M0e,N0e,$0e,I0e=V(()=>{RJe()}),R0e=V(()=>{A0e(),I0e(),_0e={target:"java",client:"asynchttp",title:"AsyncHttp",generate:e=>T0e(k0e,e)}}),D0e=V(()=>{R0e()}),L0e=V(()=>{y0e(),S0e(),C0e={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 p0e({indent:{indent:"  ",...n}.indent});return o("HttpRequest request = HttpRequest.newBuilder()"),o(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(t=>{o(`.header("${t}", "${O0e(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()}}}),B0e=V(()=>{L0e(),I0e(),E0e={target:"java",client:"nethttp",title:"java.net.http",generate:e=>T0e(C0e,e)}}),j0e=V(()=>{B0e()}),U0e=V(()=>{y0e(),S0e(),P0e={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 p0e({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}", "${O0e(r[e])}")`,1)}),o(".build();",1),i(),o("Response response = client.newCall(request).execute();"),s()}}}),z0e=V(()=>{U0e(),I0e(),M0e={target:"java",client:"okhttp",title:"OkHttp",generate:e=>T0e(P0e,e)}}),H0e=V(()=>{z0e()}),Z0e=V(()=>{y0e(),S0e(),N0e={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 p0e({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}", "${O0e(t[e])}")`,1)}),a?.text&&i(`.body(${JSON.stringify(a.text)})`,1),i(".asString();",1),o()}}}),V0e=V(()=>{Z0e(),I0e(),$0e={target:"java",client:"unirest",title:"Unirest",generate:e=>T0e(N0e,e)}}),q0e=V(()=>{V0e()});function Q0e(e){return!/^[$A-Z_][0-9A-Z_$]*$/i.test(e)}function F0e(e){return e.replaceAll("\\","\\\\").replaceAll("\n","\\n").replaceAll("\r","\\r").replaceAll("'","\\'")}function W0e(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=Q0e(r)?`'${F0e(r)}'`:r;if(o instanceof X0e){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?W0e(e):JSON.stringify(e));if(r.some(e=>e.includes("\n"))){let o=r.map(e=>G0e(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}: ${W0e(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 G0e(e,t){let a=" ".repeat(t);return e.split("\n").map(e=>`${a}${e}`).join("\n")}var X0e,Y0e,K0e,J0e,e1e,t1e,a1e,r1e,n1e,o1e=V(()=>{X0e=class{value;constructor(e){this.value=e}}}),i1e=V(()=>{RJe(),o1e(),Y0e=e=>e.replaceAll("\\","\\\\").replaceAll("\n","\\n").replaceAll("\r","\\r").replaceAll("'","\\'"),K0e=e=>"string"==typeof e?Y0e(e):Array.isArray(e)?e.map(e=>K0e(e)):!e||"object"!=typeof e||e instanceof X0e?e:Object.entries(e).reduce((e,[t,a])=>(e[t]=K0e(a),e),{}),J0e=(e,t,a)=>{""!==a?kJe(e,t,a):e[t]=a},e1e=e=>{let t={};if(e?.headers?.forEach(e=>{J0e(t,e.name,e.value)}),e?.cookies?.length){let a=e.cookies.map(e=>`${e.name}=${e.value}`).join("; ");J0e(t,"Cookie",a)}return Object.keys(t).length?t:void 0},t1e=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=Y0e(e.name),r=Y0e(e.value??"");t.push(`encodedParams.append('${a}', '${r}')`)}),{setup:t,data:new X0e("encodedParams")}):"multipart/form-data"===a.mimeType&&a.params?.length?(t.push("const formData = new FormData()"),a.params.forEach(e=>{let a=Y0e(e.name);if(void 0!==e.fileName){let r=Y0e(e.fileName),n=e.contentType?`, { type: '${Y0e(e.contentType)}' }`:"";return void t.push(`formData.append('${a}', new Blob([]${n}), '${r}')`)}if(e.contentType){let r=Y0e(e.contentType),n=Y0e(e.value??"");return void t.push(`formData.append('${a}', new Blob(['${n}'], { type: '${r}' }))`)}let r=Y0e(e.value??"");t.push(`formData.append('${a}', '${r}')`)}),{setup:t,data:new X0e("formData")}):a.text?{setup:t,data:a.text}:{setup:t}},a1e=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:Y0e(a.url??"")},n=bJe(a.queryString);Object.keys(n).length&&(r.params=K0e(n));let o=e1e(a);o&&(r.headers=K0e(o)),t?.auth?.username&&t?.auth?.password&&(r.auth={username:Y0e(t.auth.username),password:Y0e(t.auth.password)});let{setup:i,data:s}=t1e(a);return void 0!==s&&(r.data=s instanceof X0e?s:K0e(s)),`import axios from 'axios'\n\n${i.length?`${i.join("\n")}\n\n`:""}const options = ${W0e(r)}\n\ntry {\n  const { data } = await axios.request(options)\n  console.log(data)\n} catch (error) {\n  console.error(error)\n}`}})}),s1e=V(()=>{i1e(),r1e=a1e("js")}),l1e=V(()=>{s1e()}),c1e=V(()=>{RJe(),o1e(),n1e={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=vJe(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 X0e(`JSON.stringify(${W0e(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 X0e("formData")):r.body="application/x-www-form-urlencoded"===e&&o?new X0e(`new URLSearchParams(${W0e(Object.fromEntries(o.map(e=>[e.name,e.value])))})`):t.postData.text}let o=Object.keys(r).length?`, ${W0e(r)}`:"";return`${a}fetch('${t.url}${n}'${o})`}}}),u1e=V(()=>{c1e()});var d1e,p1e=V(()=>{({toString:d1e}=Object.prototype)});var h1e=V(()=>{});var m1e,f1e=V(()=>{({propertyIsEnumerable:m1e}=Object.prototype)});function g1e({includeGlobalProperties:e=!1}={}){return new Set([...v1e,...e?b1e:[]])}var v1e,b1e,y1e=V(()=>{v1e="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("."),b1e=["globalThis","Infinity","NaN","undefined"]});var w1e,x1e,O1e,k1e,S1e=V(()=>{y1e(),w1e=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u,x1e=`(?<![@#$_\\p{ID_Continue}\\p{ID_Start}])(?!(?:${[...g1e({includeGlobalProperties:!0})].join("|")})(?![$_\\p{ID_Continue}]))${w1e.source}`,O1e=new RegExp(x1e,"u"),k1e=RegExp(`^${x1e}$`,"u")});var A1e=V(()=>{}),T1e=((e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports))((e,t)=>{t.exports=Worker});var _1e,C1e,E1e,P1e,M1e=V(()=>{_1e=class extends Error{constructor(e){super(e),this.name="TimeoutError"}},C1e=class extends Error{constructor(e){super(),this.name="AbortError",this.message=e}},E1e=e=>void 0===globalThis.DOMException?new C1e(e):new DOMException(e),P1e=e=>{let t=void 0===e.reason?E1e("This operation was aborted."):e.reason;return t instanceof Error?t:E1e(t)}});function N1e(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}=I1e(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(P1e(e)),r=()=>{c(P1e(e))},e.addEventListener("abort",r,{once:!0})}if(n===1/0)return void e.then(l,c);let u=new _1e;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 $1e(e,t,a){"function"==typeof a&&(a={filter:a});let r=N1e(e,t,a={...a,count:1,resolveImmediately:!1}),n=r.then(e=>e[0]);return n.cancel=r.cancel,n}var I1e,R1e=V(()=>{M1e(),I1e=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 D1e(e){let t,a;return j1e?a=new B1e.default(z1e(e),{type:"module"}):(t=URL.createObjectURL(U1e(e)),a=new B1e.default(t,{type:"module"})),{worker:a,cleanup:()=>{t&&URL.revokeObjectURL(t),a?.terminate()}}}function L1e(e){let t=H1e(e),a=()=>D1e(t);async function r({worker:e,arguments_:t}){let a=$1e(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=$1e(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 B1e,j1e,U1e,z1e,H1e,Z1e,V1e=V(()=>{B1e=((e,t,a)=>(a=null==e?{}:B(H(e)),Q(!t&&e&&e.__esModule?a:j(a,"default",{value:e,enumerable:!0}),e)))(T1e(),1),R1e(),j1e=!!globalThis.process?.versions?.node,U1e=e=>new globalThis.Blob([e],{type:"text/javascript"}),z1e=e=>`data:text/javascript;base64,${globalThis.Buffer.from(e).toString("base64")}`,H1e=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`,Z1e=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 q1e(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),Q1e(a))()}catch(e){throw e}}var Q1e,F1e=V(()=>{A1e(),V1e(),Q1e=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},L1e((e,t,a)=>new RegExp(e,t).test(a)),L1e((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=Z1e(e),a=()=>D1e(t),r=(...e)=>({async*[Symbol.asyncIterator](){let{worker:t,cleanup:r}=a();try{let a=!0;for(;;){let r=$1e(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=$1e(e,[],{rejectionEvents:["abort"]});try{let e=!0;for(;;){let a=Promise.race([$1e(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 W1e,G1e=V(()=>{S1e(),F1e(),W1e=function({exact:e=!0}={}){return e?k1e:O1e}()});function X1e(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]"===d1e.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=>m1e.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)&&q1e(W1e,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=>Y1e[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 Y1e,K1e,J1e,e2e,t2e,a2e,r2e,n2e,o2e,i2e,s2e,l2e,c2e,u2e,d2e,p2e,h2e,m2e,f2e,g2e,v2e,b2e,y2e,w2e,x2e,O2e,k2e,S2e,A2e,T2e,_2e,C2e,E2e,P2e,M2e,N2e,$2e=V(()=>{p1e(),h1e(),f1e(),G1e(),Y1e={"\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`}}),I2e=V(()=>{K1e=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),J1e=(e,t)=>{let a=K1e(e,t);if(a)return e[a]},e2e=(e,t)=>!!K1e(e,t)}),R2e=V(()=>{$2e(),y0e(),I2e(),t2e={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 p0e({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]",e2e(a,"content-type")&&J1e(a,"content-type")?.includes("boundary")){let e=K1e(a,"content-type");e&&delete c.headers[e]}i();break;default:r?.text&&(c.data=r.text)}return s(`const settings = ${X1e(c,{indent:o.indent}).replace("'[form]'","form")};`),i(),s("$.ajax(settings).done(function (response) {"),s("console.log(response);",1),s("});"),l()}}}),D2e=V(()=>{R2e(),I0e(),a2e={target:"js",client:"jquery",title:"jQuery",generate:e=>T0e(t2e,e)}}),L2e=V(()=>{D2e()}),B2e=V(()=>{RJe(),o1e(),r2e={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=bJe(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?`, ${W0e(a)}`:"";return`import { ofetch } from 'ofetch'\n\nofetch('${t.url}'${r})`}}}),j2e=V(()=>{B2e()}),U2e=V(()=>{$2e(),y0e(),S0e(),I2e(),n2e={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 p0e({indent:o.indent});switch(e?.mimeType){case"application/json":s(`const data = JSON.stringify(${X1e(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||""}');`)}),e2e(t,"content-type")&&J1e(t,"content-type")?.includes("boundary")){let e=K1e(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}', '${x0e(t[e])}');`)}),i(),s("xhr.send(data);"),l()}}}),z2e=V(()=>{U2e(),I0e(),o2e={target:"js",client:"xhr",title:"XHR",generate:e=>T0e(n2e,e)}}),H2e=V(()=>{z2e()}),Z2e=V(()=>{i2e=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\$/g,"\\$").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"),s2e=e=>`"${i2e(e)}"`,l2e=(e,t)=>`${" ".repeat(4*e)}${t}`,c2e=(e,t,a,r)=>{if(0===e.length)return`${t}${a}`;let[n]=e;return 1===e.length&&n&&!n.includes("\n")?`${t}${n}${a}`:`${t}\n${e.map(e=>l2e(r+1,e)).join(",\n")}\n${l2e(r,a)}`},u2e=(e,t)=>c2e(e.map(({name:e,value:t})=>`${s2e(e)} => ${s2e(t)}`),"[","]",t),d2e=(e,t)=>c2e(e.map(({name:e,value:t})=>`${s2e(e)} => ${s2e(t)}`),"Dict(",")",t),p2e=(e,t)=>null==e?"nothing":"boolean"==typeof e?e?"true":"false":"number"==typeof e?Number.isFinite(e)?String(e):"nothing":"string"==typeof e?s2e(e):Array.isArray(e)?c2e(e.map(e=>p2e(e,t+1)),"[","]",t):"object"==typeof e?c2e(Object.entries(e).map(([e,a])=>`${s2e(e)} => ${p2e(a,t+1)}`),"Dict(",")",t):s2e(String(e))}),V2e=V(()=>{RJe(),Z2e(),h2e=["POST","PUT","PATCH","DELETE","QUERY"],m2e=["GET","HEAD","OPTIONS"],f2e=e=>{let t=s2e(e.name);if(void 0===e.fileName)return`${t} => ${s2e(e.value??"")}`;let a=s2e(e.fileName),r=[a,`open(${a})`];return e.contentType&&r.push(s2e(e.contentType)),`${t} => HTTP.Multipart(${r.join(", ")})`},g2e=e=>{if(!e)return;let{mimeType:t,text:a,params:r}=e;if("application/json"===t&&a)try{return{value:`JSON.json(${p2e(JSON.parse(a),1)})`,packages:["JSON"],omitContentType:!1}}catch{}return"multipart/form-data"===t&&r?.length?{value:c2e(r.map(f2e),"HTTP.Form([","])",1),packages:[],omitContentType:!0}:"application/x-www-form-urlencoded"===t&&r?.length?{value:d2e(r.map(e=>({name:e.name,value:e.value??""})),1),packages:[],omitContentType:!1}:a?{value:s2e(a),packages:[],omitContentType:!1}:void 0},v2e=(e,t,a,r)=>{let n=[...t,...a];if(0===a.length&&0===r.length)return[`response = ${e}(${n.join(", ")})`];let o=[`response = ${e}(`];return n.forEach((e,t)=>{let a=t===n.length-1?r.length?";":"":",";o.push(`${l2e(1,e)}${a}`)}),r.forEach((e,t)=>{o.push(`${l2e(1,e)}${t===r.length-1?"":","}`)}),o.push(")"),o},b2e={target:"julia",client:"http",title:"HTTP.jl",generate(e,t){let a={url:"https://example.com",...e},r=yJe(a.method),n=g2e(a.postData),o=new Map;for(let e of a.headers??[])!e.name||n?.omitContentType&&"content-type"===e.name.toLowerCase()||o.set(e.name,e.value??"");let i=[...h2e,...m2e].includes(r)?r.toLowerCase():void 0,s=i?`HTTP.${i}`:"HTTP.request",l=s2e(a.url),c=i?[l]:[s2e(r),l],u=[],d=[];if(o.size&&u.push(u2e([...o].map(([e,t])=>({name:e,value:t})),1)),n&&(m2e.includes(r)||0===o.size?d.push(`body = ${n.value}`):u.push(n.value)),a.queryString?.length&&d.push(`query = ${u2e(a.queryString,1)}`),a.cookies?.length&&d.push(`cookies = ${d2e(a.cookies,1)}`),t?.auth?.username&&t?.auth?.password){let{username:e,password:a}=t.auth;d.push(`basicauth = (${s2e(e)}, ${s2e(a)})`)}return[...["HTTP",...n?.packages??[]].map(e=>`using ${e}`),"",...v2e(s,c,u,d),"","println(String(response.body))"].join("\n")}}}),q2e=V(()=>{V2e()}),Q2e=V(()=>{S0e(),RJe(),y2e=["GET","POST","PUT","DELETE","PATCH","HEAD"],w2e=["POST","PUT","DELETE","PATCH"],x2e=e=>`"${O0e(e)}"`,O2e={target:"kotlin",client:"okhttp",title:"OkHttp",generate(e,t){let a=yJe(e?.method),r=wJe(xJe(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(${x2e(e.name??"")}, ${x2e(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(${x2e(e.name??"")}, ${x2e(e.value)})`):o.push(`  .addFormDataPart(${x2e(e.name??"")}, ${x2e(e.fileName)}, RequestBody.create(MediaType.parse("application/octet-stream"), File(${x2e(e.fileName)})))`)}),o.push("  .build()",""),i=!0):n&&(o.push(`val mediaType = MediaType.parse(${x2e(n.mimeType??"")})`),o.push(`val body = RequestBody.create(mediaType, ${JSON.stringify(n.text??"")})`),i=!0),o.push("val request = Request.Builder()",`  .url(${x2e(r)})`);let s=i?"body":"null";return y2e.includes(a)?w2e.includes(a)?o.push(`  .${a.toLowerCase()}(${s})`):o.push(`  .${a.toLowerCase()}()`):o.push(`  .method(${x2e(a)}, ${s})`),t?.auth?.username&&t?.auth?.password&&o.push(`  .addHeader("Authorization", Credentials.basic(${x2e(t.auth.username)}, ${x2e(t.auth.password)}))`),OJe(e?.headers,e?.cookies).forEach(e=>{o.push(`  .addHeader(${x2e(e.name)}, ${x2e(e.value)})`)}),o.push("  .build()","","val response = client.newCall(request).execute()"),o.join("\n")}}}),F2e=V(()=>{Q2e()}),W2e=V(()=>{i1e(),k2e=a1e("node")}),G2e=V(()=>{W2e()}),X2e=V(()=>{RJe(),o1e(),S2e={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=vJe(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 X0e(`JSON.stringify(${W0e(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 X0e("formData")):r.body="application/x-www-form-urlencoded"===e&&o?new X0e(`new URLSearchParams(${W0e(Object.fromEntries(o.map(e=>[e.name,e.value])))})`):t.postData.text}let o=Object.keys(r).length?`, ${W0e(r)}`:"";return`${a}fetch('${t.url}${n}'${o})`}}}),Y2e=V(()=>{X2e()}),K2e=V(()=>{RJe(),o1e(),A2e={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=bJe(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?`, ${W0e(a)}`:"";return`import { ofetch } from 'ofetch'\n\nofetch('${t.url}'${r})`}}}),J2e=V(()=>{K2e()}),e8e=V(()=>{RJe(),o1e(),T2e={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=vJe(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 X0e(`JSON.stringify(${W0e(JSON.parse(a.body))})`)));let n=Object.keys(a).length?`, ${W0e(a)}`:"";return`import { request } from 'undici'\n\nconst { statusCode, body } = await request('${t.url}${r}'${n})`}}}),t8e=V(()=>{e8e()}),a8e=V(()=>{RJe(),_2e=e=>`@"${e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}"`,C2e=(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=>C2e(e)).join(a)} ]`;case"[object Object]":return`@{ ${Object.entries(e).map(([e,t])=>`@"${e}": ${C2e(t)}`).join(a)} }`;case"[object Boolean]":return e?"@YES":"@NO";default:return null==e?"[NSNull null]":_2e(e.toString())}},E2e=(e,t,a)=>{let r=`${e} *${t} = `;return`${r}${C2e(a,r.length)};`},P2e={target:"objc",client:"nsurlsession",title:"NSURLSession",generate(e,t){if(!e)return"";let a=yJe(e.method),r=wJe(xJe(e.url??"",e.queryString)),n=OJe(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("",E2e("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("",E2e("NSDictionary","parameters",e)),o.push("","NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"),s=!0}catch{o.push("",`NSData *postData = [${_2e(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:[${_2e(`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`)} dataUsingEncoding:NSUTF8StringEncoding]];`),t.forEach(e=>{o.push(`[postData appendData:[${_2e(`&${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??"")}`)} dataUsingEncoding:NSUTF8StringEncoding]];`)})}else"multipart/form-data"===t&&r?.length?(s=!0,o.push("",E2e("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 = [${_2e(a??"")} dataUsingEncoding:NSUTF8StringEncoding];`)):void 0!==a&&(s=!0,o.push("",`NSData *postData = [${_2e(a)} dataUsingEncoding:NSUTF8StringEncoding];`))}if(o.push("",`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:${_2e(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=_2e(`${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")}}}),r8e=V(()=>{a8e()}),n8e=V(()=>{y0e(),S0e(),M2e={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 p0e({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]}" "${O0e(t[u[0]])}" in`):u.length>1&&(s("let headers = Header.add_list (Header.init ()) ["),u.forEach(e=>{s(`("${e}", "${O0e(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()}}}),o8e=V(()=>{n8e(),I0e(),N2e={target:"ocaml",client:"cohttp",title:"Cohttp",generate:e=>T0e(M2e,e)}}),i8e=V(()=>{o8e()});function s8e(e){return" ".repeat(2*e)}function l8e(e,t=0){if(null==e)return"null";if(e instanceof c8e){let a=e.value.split("\n");if(a.length>1){let e=s8e(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=>l8e(e,t+1)).join(",\n"+s8e(t+1));return`[\n${s8e(t+1)}${a}\n${s8e(t)}]`}if("object"==typeof e){let a=Object.entries(e);if(0===a.length)return"[]";let r=a.map(([e,a])=>`'${e}' => ${l8e(a,t+1)}`).join(",\n"+s8e(t+1));return`[\n${s8e(t+1)}${r}\n${s8e(t)}]`}return"null"}var c8e,u8e,d8e,p8e,h8e,m8e,f8e,g8e,v8e,b8e,y8e,w8e,x8e,O8e,k8e=V(()=>{c8e=class{value;constructor(e){this.value=e}}}),S8e=V(()=>{k8e(),u8e={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=l8e(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=l8e(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")}}}),A8e=V(()=>{S8e()}),T8e=V(()=>{RJe(),k8e(),d8e={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=bJe(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 c8e(`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}', ${l8e(a)});`}else o+=`$response = $client->request('${r}', '${n}');`;return o}}}),_8e=V(()=>{T8e()}),C8e=V(()=>{RJe(),k8e(),p8e=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),h8e=e=>`'${p8e(e)}'`,m8e=p8e,f8e=e=>Array.isArray(e)?e.map(e=>f8e(e)):e&&"object"==typeof e?Object.entries(e).reduce((e,[t,a])=>(e[m8e(t)]=f8e(a),e),{}):e,g8e=e=>{if(!e)return"localhost";try{return new URL(e).hostname||"localhost"}catch{return"localhost"}},v8e={target:"php",client:"laravel",title:"Laravel HTTP Client",generate(e,t){let a={method:"GET",...e};a.method=a.method.toUpperCase();let r,n=vJe(a.queryString),o=`${a.url??""}${n}`,i=[];if(t?.auth?.username&&t.auth.password&&i.push(`withBasicAuth(${h8e(t.auth.username)}, ${h8e(t.auth.password)})`),a.headers?.length){let e={};a.headers.forEach(t=>{kJe(e,t.name,t.value)}),i.push(`withHeaders(${l8e(f8e(e))})`)}if(a.cookies?.length){let e={};a.cookies.forEach(t=>{kJe(e,t.name,t.value)}),i.push(`withCookies(${l8e(f8e(e))}, ${h8e(g8e(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(${h8e(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=>{kJe(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=[h8e(t.name),`file_get_contents(${h8e(t.fileName)})`,h8e(t.fileName)];t.contentType&&e.push(l8e(f8e({"Content-Type":t.contentType}))),i.push(`attach(${e.join(", ")})`)}else t.contentType?i.push(`attach(${h8e(t.name)}, ${h8e(t.value??"")}, null, ${l8e(f8e({"Content-Type":t.contentType}))})`):kJe(e,t.name,t.value??"")}),Object.keys(e).length>0&&(r=e)}else if("application/octet-stream"===a.postData.mimeType)i.push(`withBody(${h8e(a.postData.text??"")}, 'application/octet-stream')`);else if(a.postData.text)try{r=JSON.parse(a.postData.text)}catch{i.push(`withBody(${h8e(a.postData.text)}, ${h8e(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}(${h8e(o)}, ${l8e(f8e(r),1)})`:`${s}(${h8e(o)})`:void 0===r?`send(${h8e(a.method)}, ${h8e(o)})`:`send(${h8e(a.method)}, ${h8e(o)}, ${l8e(f8e(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}`};`}}}),E8e=V(()=>{C8e()}),P8e=V(()=>{y0e(),S0e(),I2e(),b8e=e=>({method:t,headersObj:a,cookies:r,uriObj:n,fullUrl:o,postData:i,allHeaders:s})=>{let{push:l,join:c}=new p0e;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}", "${w0e(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 '${w0e(J1e(s,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${o}' -Method ${t} ${u.join(" ")}`),c()}}),M8e=V(()=>{P8e(),y8e={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:b8e("Invoke-RestMethod")}}),N8e=V(()=>{M8e(),I0e(),w8e={target:"powershell",client:"restmethod",title:"Invoke-RestMethod",generate:e=>T0e(y8e,e)}}),$8e=V(()=>{N8e()}),I8e=V(()=>{P8e(),x8e={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:b8e("Invoke-WebRequest")}}),R8e=V(()=>{I8e(),I0e(),O8e={target:"powershell",client:"webrequest",title:"Invoke-WebRequest",generate:e=>T0e(x8e,e)}}),D8e=V(()=>{R8e()});function L8e(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 B8e(e,t=4){return L8e(JSON.stringify(e,null,2).split("\n").map((e,a)=>0===a?e:" ".repeat(t)+e).join("\n"))}function j8e(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=bJe(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 kJe(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=>{kJe(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}=(${L8e(JSON.stringify(t[0]))}, ${L8e(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=B8e(t);i.push(`${e}=${a}`)}else if("data"===e&&"application/octet-stream"===r.postData?.mimeType)i.push(`${e}=b"${t}"`);else{let a=B8e(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 U8e,z8e,H8e,Z8e,V8e,q8e,Q8e,F8e,W8e,G8e,X8e,Y8e,K8e,J8e,e4e,t4e,a4e,r4e,n4e,o4e,i4e,s4e,l4e,c4e=V(()=>{RJe()}),u4e=V(()=>{RJe(),c4e(),U8e=(e,t="    ")=>e.split("\n").map(e=>""===e.trim()?e:`${t}${e}`).join("\n"),z8e=(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)`},H8e={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=${B8e(e)}`)}if(a.queryString?.length&&n.push(`params=${B8e(bJe(a.queryString))}`),a.cookies?.length){let e=Object.fromEntries(a.cookies.map(e=>[e.name,e.value]));o.push(`cookies=${B8e(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=${B8e(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=>{kJe(e,t.name,t.value??"")}),n.push(`data=${B8e(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=z8e("await session",r,a.url??"",n),c=[...i,l];return`${s}\n${U8e(c.join("\n"))}`}}}),d4e=V(()=>{u4e()}),p4e=V(()=>{c4e(),Z8e={target:"python",client:"httpx_async",title:"HTTPX (Async)",generate(e,t){let a=j8e("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}`}}}),h4e=V(()=>{c4e(),V8e={target:"python",client:"httpx_sync",title:"HTTPX (Sync)",generate:(e,t)=>j8e("httpx",e,t)}}),m4e=V(()=>{p4e(),h4e()}),f4e=V(()=>{RJe(),c4e(),q8e=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")},Q8e=e=>{if(!e)return new URL("https://example.com");try{return new URL(e)}catch{return new URL(e,"https://example.com")}},F8e=(e,t=[])=>{if(!t.length)return e.search;let a=vJe(t);return e.search?`${e.search}&${a.slice(1)}`:a},W8e=e=>`b"${JSON.stringify(e).slice(1,-1)}"`,G8e=(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(${B8e(e,0)})`],payloadVariable:"payload"}}catch{return{payloadLines:[`payload = ${JSON.stringify(o)}`],payloadVariable:"payload"}}if("application/octet-stream"===n&&o)return{payloadLines:[`payload = ${W8e(o)}`],payloadVariable:"payload"};if("application/x-www-form-urlencoded"===n&&i){a.add("import urllib.parse");let e={};return i.forEach(t=>{kJe(e,t.name,t.value??"")}),t["Content-Type"]||="application/x-www-form-urlencoded",{payloadLines:[`payload = urllib.parse.urlencode(${B8e(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(${B8e(e,0)})`],payloadVariable:"payload"}}catch{return{payloadLines:[`payload = ${JSON.stringify(o)}`],payloadVariable:"payload"}}return{payloadLines:[]}},X8e={target:"python",client:"python3",title:"http.client",generate(e,t){let a=gJe({url:"https://example.com",...e}),r=a.url??"https://example.com",n=Q8e(r),o=F8e(n,a.queryString),i=`${n.pathname||"/"}${o}`,s=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("; ");s.Cookie?s.Cookie=`${s.Cookie}; ${e}`:s.Cookie=e}t?.auth?.username&&t.auth.password&&(s.Authorization=`Basic ${q8e(`${t.auth.username}:${t.auth.password}`)}`);let l=new Set(["import http.client"]),c=[],u=G8e(a,s,l);c.push(...u.payloadLines),Object.keys(s).length&&c.push(`headers = ${B8e(s,0)}`);let d=[JSON.stringify(a.method),JSON.stringify(i)];u.payloadVariable&&d.push(`body=${u.payloadVariable}`),Object.keys(s).length&&d.push("headers=headers");let p=d.length<=2?`conn.request(${d.join(", ")})`:`conn.request(\n    ${d.join(",\n    ")},\n)`;return[...l,"",`conn = http.client.${"https:"===n.protocol?"HTTPSConnection":"HTTPConnection"}(${JSON.stringify(n.host)})`,...c.length?["",...c]:[],"",p,"","response = conn.getresponse()","print(response.read().decode())","","conn.close()"].join("\n")}}}),g4e=V(()=>{f4e()}),v4e=V(()=>{c4e(),Y8e={target:"python",client:"requests",title:"Requests",generate:(e,t)=>j8e("requests",e,t)}}),b4e=V(()=>{v4e()}),y4e=V(()=>{RJe(),K8e=(e,t)=>{try{let a=JSON.parse(e);return J8e(a,t)}catch{return`"${e}"`}},J8e=(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}  ${J8e(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} = ${J8e(a,t+"  ")}`).join(",\n")}\n${t})`}return String(e)},e4e={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=bJe(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=K8e(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")}}}),w4e=V(()=>{y4e()}),x4e=V(()=>{RJe(),t4e=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),a4e=e=>e.replace(/\\/g,"\\\\").replace(/'/g,"\\'"),r4e=e=>encodeURIComponent(e).replace(/'/g,"%27"),n4e=new Set(["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"]),o4e=e=>e.charAt(0)+e.slice(1).toLowerCase(),i4e=(e,t,a)=>{if(n4e.has(t))return;let r=o4e(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("")},s4e=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}},l4e={target:"ruby",client:"native",title:"net::http",generate(e,t){let a={method:"GET",...e};a.method=a.method.toUpperCase();let r=vJe(a.queryString),n=`${a.url??""}${r}`,o=s4e(n),i=["require 'uri'","require 'net/http'",""];i4e(i,a.method,!!a.postData?.text),i.push(`url = URI("${t4e(o)}")`,""),i.push("http = Net::HTTP.new(url.host, url.port)"),o.startsWith("https://")&&i.push("http.use_ssl = true"),i.push("");let s=o4e(a.method);if(i.push(`request = Net::HTTP::${s}.new(url)`),t?.auth?.username&&t?.auth?.password){let e=t4e(t.auth.username),a=t4e(t.auth.password);i.push(`request.basic_auth("${e}", "${a}")`)}if(a.headers?.length&&a.headers.forEach(e=>{i.push(`request["${t4e(e.name)}"] = '${a4e(e.value)}'`)}),a.cookies?.length){let e=a.cookies.map(e=>`${r4e(e.name)}=${r4e(e.value)}`).join("; ");i.push(`request["Cookie"] = '${a4e(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);i.push("request.body = <<~JSON"),i.push(a),i.push("JSON")}catch{i.push(`request.body = ${JSON.stringify(t)}`)}else if("application/x-www-form-urlencoded"===e&&r){let e=r.map(e=>`${r4e(e.name)}=${r4e(e.value??"")}`).join("&");i.push(`request.body = '${a4e(e)}'`)}else"multipart/form-data"===e&&r?(i.push("form_data = []"),r.forEach(e=>{let t=a4e(e.name);if(void 0!==e.fileName){let a=a4e(e.fileName);if(e.contentType){let r=a4e(e.contentType);i.push(`form_data << ['${t}', File.open('${a}'), { filename: '${a}', content_type: '${r}' }]`)}else i.push(`form_data << ['${t}', File.open('${a}')]`)}else if(e.contentType){let a=a4e(e.value??""),r=a4e(e.contentType);i.push(`form_data << ['${t}', '${a}', { content_type: '${r}' }]`)}else{let a=a4e(e.value??"");i.push(`form_data << ['${t}', '${a}']`)}}),i.push("request.set_form(form_data, 'multipart/form-data')")):"application/octet-stream"===e?i.push(`request.body = ${JSON.stringify(t??"")}`):void 0!==t&&i.push(`request.body = ${JSON.stringify(t)}`)}return i.push("","response = http.request(request)","puts response.read_body"),i.join("\n")}}}),O4e=V(()=>{x4e()});function k4e(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 S4e(e,t){return`${" ".repeat(4*e)}${t}`}function A4e(e,...t){return S4e(1,`.${e}(${t.join(", ")})`)}var T4e,_4e,C4e,E4e,P4e,M4e,N4e,$4e,I4e,R4e,D4e,L4e,B4e,j4e,U4e,z4e,H4e,Z4e,V4e,q4e,Q4e,F4e,W4e,G4e=V(()=>{}),X4e=V(()=>{RJe(),G4e(),T4e={target:"rust",client:"reqwest",title:"reqwest",generate(e,t){if(!e)return"";let a=gJe(e),r=vJe(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=C4e(t?.auth);s&&i.push(s),i.push(...E4e(o));let l=P4e(a.postData);return l&&i.push(l),M4e(n,a.method,i)}},_4e=e=>{if(e.fileName){let t=[S4e(2,`let part = reqwest::multipart::Part::text(${k4e(e.value||"")})`),S4e(3,`.file_name(${k4e(e.fileName)})`)];return e.contentType?(t.push(S4e(3,`.mime_str(${k4e(e.contentType)})`)),t.push(S4e(3,".unwrap();"))):t[t.length-1]+=";",t.push(S4e(2,`form = form.part(${k4e(e.name)}, part);`)),t.join("\n")}return e.contentType?[S4e(2,`let part = reqwest::multipart::Part::text(${k4e(e.value||"")})`),S4e(3,`.mime_str(${k4e(e.contentType)})`),S4e(3,".unwrap();"),S4e(2,`form = form.part(${k4e(e.name)}, part);`)].join("\n"):S4e(2,`form = form.text(${k4e(e.name)}, ${k4e(e.value||"")});`)},C4e=e=>e?.username&&e?.password?A4e("basic_auth",k4e(e.username),k4e(e.password)):null,E4e=e=>Object.entries(e).map(([e,t])=>A4e("header",k4e(e),k4e(t))),P4e=e=>{if(!e)return null;let{mimeType:t,text:a,params:r}=e;switch(t){case"application/json":return A4e("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,S4e(1,e))).join("\n")}catch{return e}}(a)})`);case"application/x-www-form-urlencoded":return A4e("form",`&[${r?.map(e=>`(${k4e(e.name)}, ${k4e(e.value||"")})`).join(", ")||""}]`);case"multipart/form-data":{let e=r?.map(_4e).join("\n")||"";return S4e(1,[".multipart({",S4e(2,"let mut form = reqwest::multipart::Form::new();"),e,S4e(3,"form"),S4e(2,"})")].join("\n"))}default:return A4e("body",k4e(a||""))}},M4e=(e,t,a)=>{let r=["let client = reqwest::Client::new();",""];a.length>0?(r.push("let request = client"),r.push(S4e(1,`.${t.toLowerCase()}(${k4e(e)})`)),r.push(...a)):r.push(`let request = client.${t.toLowerCase()}(${k4e(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")}}),Y4e=V(()=>{X4e()}),K4e=V(()=>{N4e=e=>e.replace(/'/g,"'\\''")}),J4e=V(()=>{kS(),K4e(),$4e=e=>{if(!e)return!1;let{subtype:t}=hS(e);return"json"===t||t.endsWith("+json")},I4e={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:`'${N4e(i)}'`}`,"GET"!==a.method&&r.push(`--request ${a.method}`),t?.auth?.username&&t?.auth?.password){let e=N4e(`${t.auth.username}:${t.auth.password}`);r.push(`--user '${e}'`)}if(a.headers?.length){a.headers.forEach(e=>{let t=N4e(`${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=N4e(a.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join("; "));r.push(`--cookie '${e}'`)}if(a.postData)if($4e(a.postData.mimeType)){if(a.postData.text)try{let e=JSON.parse(a.postData.text),t=N4e(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=N4e(a.postData.text??"");r.push(`--data '${e}'`)}}else if("application/octet-stream"===a.postData.mimeType){let e=N4e(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=N4e(e.value??""),a=N4e(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=N4e(e.name),a=e.contentType?`;type=${e.contentType}`:"";if(void 0!==e.fileName){let n=N4e(`${e.fileName}${a}`);r.push(`--form '${t}=@${n}'`)}else{let n=e.value??"",o=n;if($4e(e.contentType)&&n)try{o=JSON.stringify(JSON.parse(n),null,2)}catch{}let i=N4e(`${o}${a}`);r.push(`--form '${t}=${i}'`)}});else try{let e=JSON.parse(a.postData.text??""),t=N4e(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=N4e(a.postData.text??"");r.push(`--data '${e}'`)}return r.join(" \\\n  ")}}}),e6e=V(()=>{J4e()}),t6e=V(()=>{R4e=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`}),a6e=V(()=>{y0e(),t6e(),D4e={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 p0e({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}==${R4e(t)}`)}):l(`${e}==${R4e(t)}`)}),Object.keys(e).sort().forEach(t=>{l(`${t}:${R4e(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}=${R4e(e.value)}`)})):"multipart/form-data"===t?.mimeType?t?.params?.length&&(p.push("--multipart"),t.params.forEach(e=>{e.fileName?l(`${e.name}@${R4e(e.fileName)}`):l(`${e.name}='${R4e(e.value)}'`)})):d=!0,u(`http ${p.length?`${p.join(" ")} `:""}${n} ${o=R4e(s.queryParams?o:r)}`),d&&t?.text&&u(`echo ${R4e(t.text)} | `),c()}}}),r6e=V(()=>{a6e(),I0e(),L4e={target:"shell",client:"httpie",title:"HTTPie",generate:e=>T0e(D4e,e)}}),n6e=V(()=>{r6e()}),o6e=V(()=>{kS(),K4e(),B4e=e=>{if(!e)return!1;let{subtype:t}=hS(e);return"json"===t||t.endsWith("+json")},j4e=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},U4e={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:`'${N4e(o)}'`,s=["wget --quiet",`--method ${a.method}`];if(t?.auth?.username&&t?.auth?.password&&(s.push(`--user '${N4e(t.auth.username)}'`),s.push(`--password '${N4e(t.auth.password)}'`)),a.headers?.length&&a.headers.forEach(e=>{let t=N4e(`${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: ${N4e(e)}'`)}if(a.postData){let{mimeType:e,text:t,params:r}=a.postData;if(B4e(e))t&&s.push(`--body-data '${N4e(j4e(t))}'`);else if("application/octet-stream"===e)s.push(`--body-data '${N4e(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 '${N4e(e)}'`)}else"multipart/form-data"===e&&r?r.forEach(e=>{if(void 0!==e.fileName)s.push(`--body-file='${N4e(e.fileName)}'`);else{let t=e.value??"",a=B4e(e.contentType)&&t?j4e(t):t;s.push(`--body-data '${N4e(`${e.name}=${a}`)}'`)}}):t&&s.push(`--body-data '${N4e(j4e(t))}'`)}return s.push("--output-document",`- ${i}`),s.join(" \\\n  ")}}}),i6e=V(()=>{o6e()}),s6e=V(()=>{RJe(),z4e=e=>JSON.stringify(e),H4e=e=>{let t=1;for(;e.includes(`"""${"#".repeat(t)}`);)t+=1;return"#".repeat(t)},Z4e=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},V4e=e=>encodeURIComponent(e),q4e=e=>e.replace(/\\/g,"\\\\").replace(/"/g,'\\"'),Q4e=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=q4e(e.name),r=q4e(e.fileName??""),n=e.contentType?q4e(e.contentType):void 0;t.push('appendToBody("--\\(boundary)\\r\\n")'),void 0===e.fileName?(t.push(`appendToBody(${z4e(`Content-Disposition: form-data; name="${a}"\r\n`)})`),n&&t.push(`appendToBody(${z4e(`Content-Type: ${n}\r\n`)})`),t.push('appendToBody("\\r\\n")'),t.push(`appendToBody(${z4e(e.value??"")})`),t.push('appendToBody("\\r\\n")')):(t.push(`appendToBody(${z4e(`Content-Disposition: form-data; name="${a}"; filename="${r}"\r\n`)})`),n&&t.push(`appendToBody(${z4e(`Content-Type: ${n}\r\n`)})`),t.push('appendToBody("\\r\\n")'),t.push(`appendToBody(${z4e(`<# File data for ${e.fileName||"file"} #>\r\n`)})`)),t.push("")}),t.push('appendToBody("--\\(boundary)--\\r\\n")'),t},F4e={target:"swift",client:"nsurlsession",title:"NSURLSession",generate(e,t){if(!e)return"";let a=yJe(e.method),r=wJe(xJe(e.url??"",e.queryString)),n=OJe(e.headers,e.cookies),o=["import Foundation","",`var request = URLRequest(url: URL(string: ${z4e(r)})!)`];if(o.push(`request.httpMethod = ${z4e(a)}`),n.forEach(e=>{o.push(`request.setValue(${z4e(e.value)}, forHTTPHeaderField: ${z4e(e.name)})`)}),t?.auth?.username&&t?.auth?.password&&(o.push(`let credentials = ${z4e(`${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=Z4e(a),t=H4e(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=>`${V4e(e.name)}=${V4e(e.value??"")}`).join("&");o.push(`let formBody = ${z4e(e)}`),o.push("request.httpBody = formBody.data(using: .utf8)")}else"multipart/form-data"===t&&r?.length?(o.push(...Q4e(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(${z4e(a??"")}.utf8)`),o.push("request.httpBody = binaryBody")):void 0!==a&&(o.push(`let rawBody = ${z4e(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")}}}),l6e=V(()=>{s6e()}),c6e=V(()=>{fJe(),LJe(),GJe(),YJe(),JJe(),m0e(),g0e(),b0e(),D0e(),j0e(),H0e(),q0e(),l1e(),u1e(),L2e(),j2e(),H2e(),q2e(),F2e(),G2e(),Y2e(),J2e(),t8e(),r8e(),i8e(),A8e(),_8e(),E8e(),$8e(),D8e(),d4e(),m4e(),g4e(),b4e(),w4e(),O4e(),Y4e(),e6e(),n6e(),i6e(),l6e(),W4e=[{key:"c",title:"C",default:"libcurl",clients:[LKe]},{key:"csharp",title:"C#",default:"restsharp",clients:[zJe,QJe]},{key:"clojure",title:"Clojure",default:"clj_http",clients:[IJe]},{key:"dart",title:"Dart",default:"http",clients:[FJe]},{key:"fsharp",title:"F#",default:"httpclient",clients:[a0e]},{key:"go",title:"Go",default:"native",clients:[u0e]},{key:"http",title:"HTTP",default:"http1.1",clients:[d0e]},{key:"java",title:"Java",default:"unirest",clients:[_0e,E0e,M0e,$0e]},{key:"js",title:"JavaScript",default:"fetch",clients:[n1e,r1e,r2e,a2e,o2e]},{key:"julia",title:"Julia",default:"http",clients:[b2e]},{key:"kotlin",title:"Kotlin",default:"okhttp",clients:[O2e]},{key:"node",title:"Node.js",default:"fetch",clients:[S2e,k2e,A2e,T2e]},{key:"objc",title:"Objective-C",default:"nsurlsession",clients:[P2e]},{key:"ocaml",title:"OCaml",default:"cohttp",clients:[N2e]},{key:"php",title:"PHP",default:"curl",clients:[u8e,d8e,v8e]},{key:"powershell",title:"PowerShell",default:"webrequest",clients:[O8e,w8e]},{key:"python",title:"Python",default:"python3",clients:[X8e,Y8e,H8e,V8e,Z8e]},{key:"r",title:"R",default:"httr2",clients:[e4e]},{key:"ruby",title:"Ruby",default:"native",clients:[l4e]},{key:"rust",title:"Rust",default:"reqwest",clients:[T4e]},{key:"shell",title:"Shell",default:"curl",clients:[I4e,U4e,L4e]},{key:"swift",title:"Swift",default:"nsurlsession",clients:[F4e]}]});function u6e(){function e(e,t){return W4e.find(({key:t})=>t===e)?.clients.find(e=>e.client===t)}return{print:(t,a,r)=>e(t,a)?.generate(r),clients:()=>W4e,plugins:()=>W4e.flatMap(({key:e,clients:t})=>t.map(t=>({target:e,client:t.client}))),findPlugin:e,hasPlugin:(t,a)=>!!e(t,a)}}var d6e,p6e,h6e,m6e,f6e,g6e,v6e,b6e=V(()=>{c6e()}),y6e=V(()=>{hJe(),b6e()}),w6e=V(()=>{y6e(),d6e="shell/curl",p6e=e=>CKe.includes(e),h6e=e=>p6e(e)||"string"==typeof e&&e.startsWith("custom/"),m6e=(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])}}),x6e=V(()=>{Bc(),y6e(),f6e=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}`})},g6e=(e=CKe)=>{let t=new Set(e);return u6e().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}})}}),O6e=V(()=>{v6e="1.68.0"});function k6e(e){return e.replace(/[&<>"']/g,e=>A6e[e]??e)}function S6e(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)+'="'+k6e(e[t].toString())+'"');for(let t in e)if("#text"===t)l+=k6e(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+">"+k6e(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 A6e,T6e,_6e,C6e,E6e,P6e,M6e,N6e,$6e,I6e,R6e,D6e,L6e,B6e,j6e,U6e,z6e,H6e,Z6e,V6e,q6e,Q6e,F6e,W6e,G6e,X6e,Y6e,K6e,J6e,e3e,t3e,a3e,r3e,n3e,o3e,i3e,s3e,l3e,c3e,u3e,d3e,p3e,h3e,m3e,f3e,g3e,v3e,b3e,y3e,w3e,x3e,O3e,k3e,S3e,A3e,T3e,_3e,C3e,E3e,P3e,M3e,N3e,$3e,I3e=V(()=>{A6e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;"}}),R3e=V(()=>{jC(),eC(),RK(),I3e(),J_(),BC(),T6e=(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:cq(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=_C(i);n.push({name:e,value:`@${t.name}`,...l?{contentType:l}:{}})}else if(l&&"object"==typeof i)n.push({name:e,value:JSON.stringify(_C(i)),contentType:l});else if(!r||a||s||"object"!=typeof i||Array.isArray(i))if(Array.isArray(i)&&r&&!a&&!s&&i.some(e=>H_(e)&&!(e instanceof File)))n.push({name:e,value:JSON.stringify(_C(i)),contentType:"application/json"});else if(Array.isArray(i))for(let t of i)if(t instanceof File){let a=_C(t);n.push({name:e,value:`@${a.name}`})}else n.push({name:e,value:String(t)});else if("object"==typeof i){let t=T6e(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(_C(i)),contentType:"application/json"})}return n},_6e=({requestBody:e,contentType:t,example:a,requestBodyCompositionSelection:r})=>{let n=t||Object.keys(e.content)[0]||"",o="other"===n?"":n,i=e=>`@${_C(e).name||"filename"}`,s=e.content[n]?.encoding,l="multipart/form-data"===n||"application/x-www-form-urlencoded"===n,c="application/xml"===n,u=PC(e,a,t)?.value;if(void 0!==u){let e="object"==typeof u&&u?_C(u):u;return l&&"object"==typeof e&&e?{mimeType:o,params:T6e(e,s,void 0,"multipart/form-data"===n)}:c&&"object"==typeof e&&e?{mimeType:o,text:S6e(e)}:e instanceof File?{mimeType:o,text:i(e)}:{mimeType:o,text:"string"==typeof e?e:JSON.stringify(e)}}let d=q_(e.content[n]?.schema);if(void 0!==d){let e=jV(CC(d),{compositionSelection:r,mode:"write",xml:c},{schemaPath:["requestBody"]});if(void 0!==e)return l&&"object"==typeof e&&e?{mimeType:o,params:T6e(e,s,void 0,"multipart/form-data"===n)}:c&&"object"==typeof e&&e?{mimeType:o,text:S6e(e)}:{mimeType:o,text:"string"==typeof e?e:JSON.stringify(e)}}}}),D3e=V(()=>{eC(),RK(),C6e=e=>(e??[]).map(e=>q_(e)),E6e=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,P6e=(e,t)=>E6e(t)?e:encodeURIComponent(e),M6e=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}},N6e=(e,t,a,r)=>{let n=PC(e,t,a);if(fX(e,n,r))return;if(void 0!==n?.value)return uX(n.value,e);if(!("schema"in e)||!e.schema)return;let o="path"===e.in?{emptyString:`{${e.name}}`}:{};return jV(q_(e.schema),o)},$6e=({harRequest:e,parameters:t,example:a,defaultDisabled:r})=>{let n=[...e.headers],o=[...e.queryString],i=e.url,s=C6e(t);for(let t of s){if(!t.in||!t.name)continue;let s=N6e(t,a,void 0,r);if(void 0===s)continue;let{style:l,explode:c}=M6e(t);switch(t.in){case"path":i=I6e(i,t,s,l,c);break;case"query":if("content"in t&&t.content){let e=tq(s,Object.keys(t.content)[0]??"application/json");o.push({name:t.name,value:P6e(e,t)});break}switch(l){case"form":{let e=rq(s,c);if(Array.isArray(e))for(let a of e){let e=a.key||t.name;o.push({name:e,value:P6e(String(a.value),t)})}else o.push({name:t.name,value:P6e(String(e),t)});break}case"spaceDelimited":{let e=oq(s);o.push({name:t.name,value:P6e(e,t)});break}case"pipeDelimited":{let e=iq(s);o.push({name:t.name,value:P6e(e,t)});break}case"deepObject":if(Array.isArray(s)){let e=rq(s,!0);if(Array.isArray(e))for(let a of e){let e=a.key||t.name;o.push({name:e,value:P6e(String(a.value),t)})}else o.push({name:t.name,value:P6e(String(e),t)})}else{let e=sq(t.name,s);for(let a of e)o.push({name:a.key,value:P6e(a.value,t)})}break;default:o.push({name:t.name,value:P6e(String(s),t)})}break;case"header":{let e=aq(s,c);n.push({name:t.name,value:String(e)});break}case"cookie":{let a=nq(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}},I6e=(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=aq(a,n);return e.replace(`{${t.name}}`,String(r))}default:return e.replace(`{${t.name}}`,String(a))}}}),L3e=V(()=>{NY(),R6e=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":HF(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}}),B3e=V(()=>{wF(),vS(),D6e=(e,t)=>{if(!e?.url)return t;let a=e.url;return e.variables?tS(fF(a,Object.entries(e.variables).reduce((e,[t,a])=>(void 0!==a.default&&(e[t]=a.default),e),{})),t):tS(a,t)}}),j3e=V(()=>{O6e(),R3e(),D3e(),L3e(),B3e(),eC(),JS(),RK(),L6e=({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=kX(e?_X({method:r,operation:t,exampleName:i??"default",hideDisabledHeaders:!0,hideOverriddenHeaders:!0,options:{isElectron:NS(),appVersion:v6e}}):{}),p=t["x-scalar-disable-parameters"]?.["global-cookies"]?.[i??"default"]??{},h={method:r,url:D6e(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}=$6e({harRequest:h,parameters:t.parameters,example:i,defaultDisabled:u}),o=l?.filter(t=>VF({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=q_(t.requestBody);if(m?.content){let e=_6e({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}=R6e(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}}),U3e=V(()=>{y6e(),B6e="ws://replace.me",j6e=(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=`${B6e}${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(u6e().hasPlugin(n,t)){let e=u6e().print(n,t,a);return e?[null,e.replace(`${B6e}${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]}}),z3e=V(()=>{x6e(),U3e(),j3e(),U6e=({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[f6e(t).indexOf(e)]?.source??"Custom example not found";let h=L6e({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]=j6e(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"}}}),H3e=V(()=>{z6e=(e,t)=>Object.entries(e??{}).map(([e,a])=>({lang:e,source:a,...t?{label:t}:{}})),H6e=e=>e?(Array.isArray(e)?e:[e]).flatMap(e=>z6e(e.request,e.title)):[],Z6e=e=>(e??[]).map(e=>({lang:e.language,source:e.code,...e.name?{label:e.name}:{}})),V6e="SDK",q6e="Code Examples",Q6e=e=>{let t=e["x-scalar-examples"]??[];if(t.length)return{label:V6e,samples:t};let a=z6e(e["x-stainless-snippets"]);if(a.length)return{label:V6e,samples:a};let r=H6e(e["x-stainless-examples"]);if(r.length)return{label:V6e,samples:r};let n=Z6e(e["x-readme"]?.["code-samples"]);return n.length?{label:q6e,samples:n}:{label:q6e,samples:["x-custom-examples","x-codeSamples","x-code-samples"].flatMap(t=>e[t]??[])}}}),Z3e=V(()=>{F6e=(e="")=>(e[0]?.toUpperCase()??"")+e.slice(1)}),V3e=V(()=>{Z3e(),W6e={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",jl:"Julia",julia:"Julia",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"},G6e=e=>{if(e)return W6e[e.toLowerCase()]??F6e(e)}}),q3e=V(()=>{x6e(),V3e(),H3e(),X6e=(e,t,a=q6e)=>{if(e.length){let r=f6e(e);return[{label:a,key:"custom",options:e.map((e,t)=>{let a=r[t]??`custom/${t}`,n=e.label||G6e(e.lang)||a;return{id:a,lang:e.lang||"plaintext",title:n,label:n,clientKey:"custom"}})},...t]}return t}}),Q3e=V(()=>{NY(),Y6e=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"],HF(`${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)}),F3e=V(()=>{Bc(),mae(),Xk(),sJe(),K6e={class:"min-w-0 flex-1 truncate"},J6e=Cn({inheritAttrs:!1,__name:"ExamplePicker",props:oo({examples:{default:()=>({})}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=xo(e,"modelValue"),a=il(()=>Object.entries(e.examples).map(([e,t])=>({id:e,label:t?.summary??e}))),r=il({get:()=>a.value.find(({id:e})=>e===t.value),set:e=>t.value=e?.id??""});return(e,t)=>(Ho(),Fo(qa(pKe),{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:sn(()=>[Fs(qa(sae),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:sn(()=>[Xo("div",K6e,Yt(r.value?.label??"Select an example"),1),Fs(qa(Rm),{class:"ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100",weight:"bold"})]),_:1},16)]),_:1},8,["modelValue","options"]))}})}),W3e=V(()=>{F3e(),e3e=J6e}),G3e=V(()=>{t3e={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"}},a3e=e=>{let t=e.trim().toLowerCase();return t3e[t]??{short:t,color:"text-c-2",backgroundColor:"bg-c-2"}}}),X3e=V(()=>{nK(),r3e="get",n3e=e=>{if("string"!=typeof e)return console.warn(`Request method is not a string. Using ${r3e} as the default.`),r3e;let t=e.trim().toLowerCase();return YX(t)?t:(console.warn(`${e||"Request method"} is not a valid request method. Using ${r3e} as the default.`),r3e)}}),Y3e=V(()=>{Bc(),G3e(),X3e(),o3e=Cn({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,a=il(()=>a3e(String(t.method||""))),r=il(()=>n3e(t.method));return(t,n)=>(Ho(),Fo(Fn(e.as??"span"),{class:"uppercase",style:Je({[e.property||"color"]:a.value.colorVar})},{default:sn(()=>[Kn(t.$slots,"default"),ei(" "+Yt(e.short?a.value.short:r.value),1)]),_:3},8,["style"]))}})}),K3e=V(()=>{Y3e(),i3e=o3e}),J3e=V(()=>{Bc(),s3e=Symbol(),l3e=e=>{let t=dn(s3e,void 0);t&&(t.value=e)},c3e=()=>{let e=Ha();return un(s3e,e),{id:e}}}),e5e=V(()=>{J3e(),h_(),Bc(),u3e=Cn({inheritAttrs:!1,__name:"ScalarCard",props:{label:{}},setup(e){let{id:t}=c3e(),a=il(()=>e.label?{"aria-label":e.label}:t.value?{"aria-labelledby":t.value}:{}),{cx:r}=c_();return(e,t)=>(Ho(),Qo("div",ii({role:"group"},{...a.value,...qa(r)("scalar-card bg-b-2 flex flex-col divide-y rounded-xl border")}),[Kn(e.$slots,"default")],16))}})}),t5e=V(()=>{e5e(),d3e=u3e}),a5e=V(()=>{h_(),Bc(),p3e=Cn({inheritAttrs:!1,__name:"ScalarCardSection",setup(e){let{cx:t}=c_();return(e,a)=>(Ho(),Qo("div",at(Ko(qa(t)("scalar-card-content flex overflow-auto first:rounded-t-[inherit] last:rounded-b-[inherit]"))),[Kn(e.$slots,"default")],16))}})}),r5e=V(()=>{a5e(),h3e=p3e}),n5e=V(()=>{r5e(),h_(),Bc(),m3e=Cn({inheritAttrs:!1,__name:"ScalarCardFooter",setup(e){let{cx:t}=c_();return(e,a)=>(Ho(),Fo(h3e,at(Ko(qa(t)("scalar-card-footer"))),{default:sn(()=>[Kn(e.$slots,"default")]),_:3},16))}})}),o5e=V(()=>{n5e(),f3e=m3e}),i5e=V(()=>{J3e(),r5e(),h_(),Bc(),g3e=["id"],v3e={key:0,class:"flex"},b3e=Cn({inheritAttrs:!1,__name:"ScalarCardHeader",setup(e){let{cx:t}=c_(),a=En();return l3e(a),(e,r)=>(Ho(),Fo(h3e,at(Ko(qa(t)("scalar-card-header leading-[22px] font-medium py-[6.75px] px-3 shrink-0"))),{default:sn(()=>[Xo("div",{id:qa(a),class:"scalar-card-header-title min-w-0 flex-1 truncate"},[Kn(e.$slots,"default")],8,g3e),e.$slots.actions?(Ho(),Qo("div",v3e,[Kn(e.$slots,"actions")])):ai("",!0)]),_:3},16))}})}),s5e=V(()=>{i5e(),y3e=b3e}),l5e=V(()=>{t5e(),r5e(),o5e(),s5e()}),c5e=V(()=>{h_(),Bc(),w3e=Cn({inheritAttrs:!1,__name:"ScalarCopyBackdrop",setup(e){let{cx:t}=c_();return(e,a)=>(Ho(),Qo("div",at(Ko(qa(t)("absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded"))),null,16))}})}),u5e=V(()=>{c5e(),x3e=w3e}),d5e=V(()=>{u5e(),h_(),Bc(),Xk(),O3e={"aria-hidden":"true",class:"flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%"},k3e={key:0,class:"whitespace-nowrap px-1.5"},S3e={key:0,class:"sr-only",role:"alert"},A3e={key:1,class:"sr-only"},T3e=Cn({inheritAttrs:!1,__name:"ScalarCopyButton",props:oo({showLabel:{type:Boolean},placement:{default:"right"}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){let t=xo(e,"copied"),{cx:a}=c_(),r=il(()=>t.value?mf:Pf);return(n,o)=>(Ho(),Qo("button",ii({type:"button"},qa(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")),[Fs(Kl,{enterActiveClass:"transition-transform",enterFromClass:"scale-0",enterToClass:"scale-100",leaveActiveClass:"transition-transform",leaveFromClass:"scale-100",leaveToClass:"scale-0",mode:"out-in"},{default:sn(()=>[(Ho(),Fo(Fn(r.value),{class:"size-full"}))]),_:1}),o[4]||=Xo("div",{class:"bg-inherit rounded-[inherit] absolute inset-0 -z-1"},null,-1),Xo("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}])},[Xo("div",O3e,[Fs(Kl,{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:sn(()=>[t.value?(Ho(),Qo("div",k3e,[Kn(n.$slots,"copied",{},()=>[o[0]||=ei("Copied",-1)])])):(Ho(),Qo("div",{key:1,class:tt(["whitespace-nowrap px-1.5",{"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])},[Kn(n.$slots,"copy",{},()=>[o[1]||=ei("Copy",-1)])],2))]),_:3})]),t.value?(Ho(),Qo("div",S3e,[Kn(n.$slots,"copied",{},()=>[o[2]||=ei("Copied",-1)])])):(Ho(),Qo("div",A3e,[Kn(n.$slots,"copy",{},()=>[o[3]||=ei("Copy",-1)])])),Kn(n.$slots,"backdrop",{},()=>[Fs(x3e)])],2)],16))}})}),p5e=V(()=>{d5e(),_3e=T3e}),h5e=V(()=>{p5e(),Bc(),iie(),C3e=Cn({__name:"ScalarCopy",props:oo({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=xo(e,"copied");as(()=>{e.immediate&&a(e.content)});let{copy:a,copied:r}=Uoe({legacy:!0,copiedDuring:e.duration});return hn(r,e=>t.value=e),(n,o)=>(Ho(),Fo(_3e,{copied:t.value||qa(r),placement:e.placement,showLabel:e.showLabel,onClick:o[0]||=t=>qa(a)(e.content)},Yn({_:2},[n.$slots.copy?{name:"copy",fn:sn(()=>[Kn(n.$slots,"copy")]),key:"0"}:void 0,n.$slots.copied?{name:"copied",fn:sn(()=>[Kn(n.$slots,"copied")]),key:"1"}:void 0,n.$slots.backdrop?{name:"backdrop",fn:sn(()=>[Kn(n.$slots,"backdrop")]),key:"2"}:void 0]),1032,["copied","placement","showLabel"]))}})}),m5e=V(()=>{h5e(),E3e=C3e}),f5e=V(()=>{P3e={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",julia:"Julia",kotlin:"Kotlin",less:"Less",lua:"Lua",makefile:"Makefile",markdown:"Markdown",matlab:"MATLAB",mojo:"Mojo",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"}}),g5e=V(()=>{m5e(),f5e(),h_(),Bc(),M3e={class:"hidden group-hocus-within/code-block:inline"},N3e=Cn({inheritAttrs:!1,__name:"ScalarCodeBlockCopy",props:oo({showLang:{type:Boolean},content:{},lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:copied"],setup(e){let t=xo(e,"copied"),a=il(()=>"string"==typeof e.content?e.content:JSON.stringify(e.content,null,2)),r=e=>e in P3e,{cx:n}=c_();return(o,i)=>(Ho(),Fo(qa(E3e),ii({content:a.value,showLabel:"",copied:t.value,"onUpdate:copied":i[0]||=e=>t.value=e,placement:"left"},{...qa(n)(t.value?"opacity-100":"opacity-0 group-hocus-within/code-block:opacity-100")}),Yn({backdrop:sn(()=>[Kn(o.$slots,"backdrop")]),_:2},[e.lang?{name:"copy",fn:sn(()=>[Xo("span",M3e,[e.showLang?(Ho(),Qo("span",{key:0,class:tt(["group-hocus/copy-button:sr-only",{capitalize:!r(e.lang)}])},Yt(r(e.lang)?qa(P3e)[e.lang]:e.lang),3)):ai("",!0),Xo("span",{class:tt({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},"Copy",2)])]),key:"0"}:void 0]),1040,["content","copied"]))}})}),v5e=V(()=>{g5e(),$3e=N3e});var b5e,y5e,w5e,x5e,O5e,k5e,S5e,A5e,T5e,_5e,C5e,E5e,P5e,M5e,N5e,$5e,I5e,R5e,D5e,L5e,B5e,j5e,U5e,z5e,H5e,Z5e,V5e,q5e=V(()=>{b5e=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}if("object"==typeof e)try{return function(e){let t=[],a=0;return JSON.stringify(e,function(e,r){if(a+=1,a>y5e)throw w5e;if("object"!=typeof r||!r)return r;for(;t.length>0&&t[t.length-1]!==this;)t.pop();return t.includes(r)?"[Circular]":(t.push(r),r)},2)}(e)}catch(t){if(t===w5e)return 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);throw t}return e?.toString()??""},y5e=1e5,w5e=Error("Expanded JSON exceeded the node limit")}),Q5e=V(()=>{u5e(),v5e(),h_(),Bc(),gQe(),q5e(),x5e={tabindex:"0",class:"custom-scroll overflow-x-auto p-2 -outline-offset-2 rounded-[inherit] min-h-0 min-w-0 flex-1"},O5e=["id","innerHTML"],k5e=Cn({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=En(),a=il(()=>e.prettyPrintedContent||b5e(e.content??"")),r=il(()=>oLe(a.value,{lang:e.lang.trim(),languages:lMe,lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),n=il(()=>!a.value.includes("\n")),o=il(()=>null!==a.value&&"null"!==a.value&&"404 Not Found"!==a.value),i=il(()=>e.copy&&o.value),s=il(()=>n.value&&i.value),{cx:l}=c_();return(o,c)=>(Ho(),Qo("div",at(Ko(qa(l)("scalar-code-block group/code-block flex flex-col","relative bg-b-1 min-h-0 min-w-0 focus-visible:outline"))),[Xo("div",x5e,[Xo("pre",{id:qa(t),class:tt(["m-0 bg-transparent text-nowrap whitespace-pre w-fit",{"pr-6":s.value}]),innerHTML:r.value},null,10,O5e)]),i.value?(Ho(),Fo(qa($3e),{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":qa(t)},{backdrop:sn(()=>[Fs(x3e,{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))}})}),F5e=V(()=>{Q5e(),S5e=k5e}),W5e=V(()=>{F5e(),v5e()}),G5e=V(()=>{Bc(),Xk(),A5e={key:0,class:"shrink-0 whitespace-nowrap text-xs tabular-nums text-c-3"},T5e=["disabled"],_5e=["disabled"],C5e=Cn({__name:"ScalarVirtualTextSearch",props:{query:{},matchCount:{},activeMatchIndex:{}},emits:["update:query","next","prev","close"],setup(e,{expose:t,emit:a}){let r=e,n=a,o=Ha(null),i=Ha(r.query);hn(()=>r.query,e=>{i.value=e}),hn(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:()=>{Kr(()=>o.value?.focus())}}),(t,a)=>(Ho(),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]||=Cc(()=>{},["stop"])},[Fs(qa(Vb),{class:"pointer-events-none size-3.5 shrink-0 text-c-3"}),ln(Xo("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),[[xc,i.value]]),i.value?(Ho(),Qo("span",A5e,Yt(e.matchCount>0?`${e.activeMatchIndex+1} of ${e.matchCount}`:"No results"),1)):ai("",!0),a[5]||=Xo("span",{class:"mx-0.5 h-3.5 w-px bg-b-3"},null,-1),Xo("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")},[Fs(qa(Ym),{class:"size-3"})],8,T5e),Xo("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")},[Fs(qa(Rm),{class:"size-3"})],8,_5e),Xo("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")},[Fs(qa(Ix),{class:"size-3"})])]))}})}),X5e=V(()=>{zK(),G5e(),E5e=MK(C5e,[["__scopeId","data-v-95edadbb"]])}),Y5e=V(()=>{X5e(),Bc(),P5e={key:0,class:"sticky top-0 z-10 flex h-0 w-full justify-end overflow-visible"},M5e=Cn({__name:"ScalarVirtualText",props:{text:{},lineHeight:{default:20},containerClass:{default:""},contentClass:{default:""},lineClass:{default:""},searchable:{type:Boolean,default:!1}},setup(e){let t=e,a=Ha(null),r=Ha(null),n=Ha(0),o=Ha(0),i=Ha(""),s=Ha(!1),l=Ha(0),c=il(()=>t.text.split("\n")),u=il(()=>c.value.length*t.lineHeight),d=il(()=>Math.floor(n.value/t.lineHeight)),p=il(()=>Math.min(Math.ceil((n.value+o.value)/t.lineHeight),c.value.length)),h=il(()=>Math.max(0,d.value-10)),m=il(()=>{let e=Math.min(c.value.length,p.value+10);return c.value.slice(h.value,e)}),f=il(()=>h.value*t.lineHeight),g=il(()=>{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=il(()=>{let e=new Set;for(let t of g.value)e.add(t.line);return e});hn(()=>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))},w=()=>{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)},O=()=>{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,Kr(()=>r.value?.focus())),"Escape"===e.key&&s.value&&(e.preventDefault(),O()))};hn(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);as(()=>{A(),window.addEventListener("resize",A)}),os(()=>{window.removeEventListener("resize",A)});let T=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},_=e=>h.value+e;return(n,o)=>(Ho(),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?(Ho(),Qo("div",P5e,[Fs(E5e,{ref_key:"searchRef",ref:r,query:i.value,"onUpdate:query":o[0]||=e=>i.value=e,activeMatchIndex:l.value,matchCount:g.value.length,onClose:O,onNext:w,onPrev:x},null,8,["query","activeMatchIndex","matchCount"])])):ai("",!0),Xo("div",{style:Je({height:`${u.value}px`})},null,4),Xo("code",{class:tt(["scalar-virtual-text-content absolute left-0 right-0 top-0",e.contentClass]),style:Je({transform:`translateY(${f.value}px)`})},[(Ho(!0),Qo(Bs,null,Xn(m.value,(a,r)=>(Ho(),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(_(r))?(Ho(!0),Qo(Bs,{key:0},Xn(T(_(r)),(e,t)=>(Ho(),Qo(Bs,{key:t},[e.highlight?(Ho(),Qo("mark",{key:0,class:tt(["scalar-virtual-text-highlight",e.active?"scalar-virtual-text-highlight-active":""])},Yt(e.text),3)):(Ho(),Qo(Bs,{key:1},[ei(Yt(e.text),1)],64))],64))),128)):(Ho(),Qo(Bs,{key:1},[ei(Yt(a),1)],64))],6))),128))],6)],34))}})}),K5e=V(()=>{zK(),Y5e(),N5e=MK(M5e,[["__scopeId","data-v-77b9d685"]])}),J5e=V(()=>{K5e()}),e7e=V(()=>{$5e=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()}}}),t7e=V(()=>{dJe(),w6e(),j3e(),z3e(),H3e(),q3e(),Q3e(),W3e(),K3e(),Bc(),mae(),l5e(),W5e(),moe(),J5e(),e7e(),Xk(),eC(),I5e=["innerHTML"],R5e={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"},D5e=["id"],L5e={key:0,class:"request-card-footer-addon"},B5e={class:"request-header"},j5e=Cn({__name:"CodeExample",props:{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:{}},emits:["update:exampleKey"],setup(e,{emit:t}){let a=t,r=il(()=>{let t=q_(e.operation.requestBody)?.content??{},a=e.selectedContentType||Object.keys(t)[0];return a?t[a]?.examples??{}:{}}),n=Ha(""),o=e=>{let t=Object.keys(r.value);return e&&t.includes(e)?e:n.value&&t.includes(n.value)?n.value:t[0]??""};ts(()=>{n.value=o(e.selectedExample)}),hn(()=>e.selectedExample,e=>{n.value=o(e)}),hn(()=>e.selectedContentType,()=>{Object.keys(r.value).includes(n.value)||(n.value=o(e.selectedExample))}),pn(()=>{a("update:exampleKey",n.value)});let i=t=>{n.value=t,e.eventBus.emit("workspace:update:selected-example",t)},s=il(()=>Q6e(e.operation)),l=il(()=>X6e(s.value.samples,e.clientOptions,s.value.label)),c=il(()=>l.value.reduce((e,t)=>e+t.options.length,0)),u=Ha(m6e(l.value,e.selectedClient));hn([()=>e.selectedClient,l],([e])=>{let t=m6e(l.value,e);t&&(u.value=t)});let d=il(()=>{if(!e.isWebhook)return null;try{return L6e({operation:e.operation,method:e.method,path:e.path,example:n.value,requestBodyCompositionSelection:e.requestBodyCompositionSelection,defaultDisabledParameters:!0})}catch(e){return console.error("[webhookHar]",e),null}}),p=il(()=>e.isWebhook?d.value?.postData?.text??"":U6e({defaultDisabledParameters:!0,includeDefaultHeaders:"client"===e.integration,clientId:u.value?.id,customCodeSamples:s.value.samples,operation:e.operation,method:e.method,path:e.path,contentType:e.selectedContentType,server:e.selectedServer,securitySchemes:e.securitySchemes,example:n.value,globalCookies:e.globalCookies,requestBodyCompositionSelection:e.requestBodyCompositionSelection})),h=il(()=>e.isWebhook?m.value:u.value?.lang),m=il(()=>{if(!d.value?.postData)return"json";let e=d.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"}),f=il(()=>Y6e(e.securitySchemes)),g=Ha(null),v=t=>{if(g.value){let e=$5e(g.value.$el);setTimeout(()=>{e()},300)}u.value=t,t&&e.eventBus.emit("workspace:update:selected-client",t.id)},b=il(()=>(p.value.length??0)>2e4),y=En();return(t,a)=>p.value?(Ho(),Fo(qa(d3e),{key:0,ref_key:"elem",ref:g,class:"request-card dark-mode"},{default:sn(()=>[Fs(qa(y3e),{class:"pr-2.5"},Yn({default:sn(()=>[a[1]||=Xo("span",{class:"sr-only"},"Request Example for",-1),Fs(i3e,{as:"span",class:"request-method",method:e.method},null,8,["method"]),e.generateLabel?(Ho(),Qo("span",{key:0,innerHTML:e.generateLabel()},null,8,I5e)):ai("",!0),Kn(t.$slots,"header",{},void 0,!0)]),_:2},[!e.isWebhook&&c.value?{name:"actions",fn:sn(()=>[c.value>1?(Ho(),Fo(qa(Xne),{key:0,class:"max-h-80",filterFn:qa(TKe),modelValue:u.value,options:l.value,placement:"bottom-end",teleport:"","onUpdate:modelValue":a[0]||=e=>v(e)},{default:sn(()=>[Fs(qa(sae),{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:sn(()=>[ei(Yt(u.value?.title)+" ",1),Fs(qa(Rm),{class:"ui-open:rotate-180 mt-px size-3 transition-transform duration-100",weight:"bold"})]),_:1})]),_:1},8,["filterFn","modelValue","options"])):(Ho(),Qo("span",R5e,Yt(u.value?.title),1))]),key:"0"}:void 0]),1024),Fs(qa(h3e),{class:"request-editor-section custom-scroll p-0"},{default:sn(()=>[Xo("div",{id:`${qa(y)}-example`,class:"code-snippet"},[b.value?(Ho(),Fo(qa(N5e),{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:p.value},null,8,["text"])):(Ho(),Fo(qa(S5e),{key:0,class:"bg-b-2 h-full",content:p.value,hideCredentials:f.value,lang:h.value,lineNumbers:""},null,8,["content","hideCredentials","lang"]))],8,D5e)]),_:1}),Object.keys(r.value).length>1||t.$slots.footer?(Ho(),Fo(qa(f3e),{key:0,class:"request-card-footer bg-b-3"},{default:sn(()=>[Object.keys(r.value).length>1?(Ho(),Qo("div",L5e,[Object.keys(r.value).length?(Ho(),Fo(e3e,{key:0,examples:r.value,modelValue:n.value,"onUpdate:modelValue":i},null,8,["examples","modelValue"])):ai("",!0)])):ai("",!0),Kn(t.$slots,"footer",{exampleName:n.value},void 0,!0)]),_:3})):ai("",!0)]),_:3},512)):e.fallback?(Ho(),Fo(qa(d3e),{key:1,class:"request-card dark-mode"},{default:sn(()=>[Fs(qa(h3e),{class:"request-card-simple"},{default:sn(()=>[Xo("div",B5e,[Fs(i3e,{as:"span",class:"request-method",method:e.method},null,8,["method"]),Kn(t.$slots,"header",{},void 0,!0)]),Kn(t.$slots,"footer",{exampleName:n.value},void 0,!0)]),_:3})]),_:3})):ai("",!0)}})}),a7e=V(()=>{U5e=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a}}),r7e=V(()=>{t7e(),a7e(),z5e=U5e(j5e,[["__scopeId","data-v-e8761738"]])}),n7e=V(()=>{H5e=(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)}}}}),o7e=V(()=>{n7e(),BC(),Z5e=(e={})=>{let{debug:t=!1}=e,a=new Map,r=new Set,n=[],o=null,{execute:i,flushAll:s}=H5e({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:_C(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;if(!r?.debounceKey)return void m(t,a,r);let n=`${t}-${r.debounceKey}`;i(n,()=>m(t,a,r))},flushDebouncedEmits:()=>{s()}}}}),i7e=V(()=>{o7e(),Bc()}),s7e=V(()=>{eC(),V5e=(...e)=>{for(let t of e)if(t){if(!Array.isArray(t)){let e=q_(t);if(e?.url)return e;continue}for(let e of t){let t=q_(e);if(t?.url)return t}}return null}});async function l7e({defaultValue:e,validation:t,transformation:a,maxRetries:r=5}){let n=a?.(e)??e;return await t(n)?n:c7e({value:[n,1],validation:t,maxRetries:r,transformation:a})}async function c7e({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:c7e({value:[e[0],e[1]+1],validation:t,maxRetries:a,transformation:n,attempts:r+1})}var u7e,d7e,p7e,h7e,m7e,f7e,g7e,v7e,b7e,y7e,w7e,x7e,O7e,k7e,S7e,A7e,T7e,_7e,C7e,E7e,P7e,M7e,N7e,$7e,I7e,R7e,D7e,L7e,B7e,j7e,U7e,z7e,H7e,Z7e,V7e,q7e,Q7e,F7e,W7e,G7e,X7e,Y7e,K7e,J7e,e9e,t9e,a9e,r9e,n9e,o9e,i9e,s9e,l9e,c9e,u9e,d9e,p9e,h9e,m9e,f9e,g9e,v9e,b9e,y9e,w9e=V(()=>{}),x9e=V(()=>{u7e=e=>void 0!==e&&Object.keys(e).length>0}),O9e=V(()=>{oK(),w9e(),eC(),x9e(),mK(),BC(),pK(),aK(),d7e=e=>{if(QX(e)||FX(e))return e["x-scalar-navigation"]?.name||void 0},p7e=e=>QX(e)?e.components?.securitySchemes??{}:FX(e)?(e.components?q_(e.components):void 0)?.securitySchemes??{}:{},h7e=e=>FX(e)?"availableScopes":"scopes",m7e=async(e,t,{selectedRequirements:a,newSchemes:r,meta:n})=>{let o=d7e(t);if(!o)return;let i=[];if(QX(t)){let e=await Promise.all(r.map(async e=>{let a=await l7e({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]:[]}}));i.push(...e.filter(Boolean))}let 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})},f7e=(e,t,{meta:a})=>{let r=d7e(t);if(r)return"document"===a.type?e?.auth.clearAuthSelectedSchemas({type:"document",documentName:r}):e?.auth.clearAuthSelectedSchemas({type:"operation",documentName:r,path:a.path,method:a.method})},g7e=(e,{payload:t,name:a})=>{if(!QX(e)&&!FX(e))return;let r=q_(p7e(e)[a]);if(!r)return void console.error(`Security scheme ${a} not found`);let n=r.type;if(n===t.type||"httpApiKey"===n&&"apiKey"===t.type){let e=r.type;bY(r,t),r.type=e}return r},v7e=(e,t,{payload:a,name:r,overwrite:n=!1})=>{let o=d7e(t);if(!o)return;if(n)return void e?.auth.setAuthSecrets(o,r,a);let i=e?.auth.getAuthSecrets(o,r),s=bY(_C(i,{depth:1})??{},a);e?.auth.setAuthSecrets(o,r,s)},b7e=(e,t,{name:a})=>{let r=d7e(t);r&&e?.auth.clearAuthSecrets(r,a)},y7e=(e,t,{index:a,meta:r})=>{let n=d7e(t);if(!n||"operation"===r.type&&(!QX(t)||void 0===eY(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:_C(o.selectedSchemes,{depth:null})??[]})},w7e=(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)},x7e=(e,t,{id:a,name:r,scopes:n,scope:o,selected:i,meta:s})=>{let l=d7e(t);if(!l)return;let c=("document"===s.type?e?.auth.getAuthSelectedSchemas({type:"document",documentName:l}):e?.auth.getAuthSelectedSchemas({type:"operation",documentName:l,path:s.path,method:s.method}))??gY(void 0,void 0,[],p7e(t),1===a.length?a[0]:a),u=_C(c.selectedSchemes,{depth:1})??[],d=u.find(e=>w7e(e,a));if(!u7e(d))return;let p=(()=>{if(void 0!==o&&void 0!==i){let e=Array.isArray(d[r])?d[r]:[];return i?Array.from(new Set([...e,o])):e.filter(e=>e!==o)}return n})();if(void 0===p)return;let h=u.map(e=>e===d?{...d,[r]:p}:e);e?.auth.setAuthSelectedSchemas("document"===s.type?{type:"document",documentName:l}:{type:"operation",documentName:l,path:s.path,method:s.method},{selectedIndex:c.selectedIndex,selectedSchemes:h})},O7e=(e,t,a)=>{let r=q_(p7e(e)[t]);if(!r||"oauth2"!==r.type&&"openIdConnect"!==r.type)return null;let n=r.flows?.[a];return n?q_(n):null},k7e=(e,t,a)=>{let r=d7e(t);if(!e||!r)return;let n=t=>{let r=e.auth.getAuthSelectedSchemas(t);if(!r)return;let n=_C(r.selectedSchemes,{depth:1})??[];a(n),e.auth.setAuthSelectedSchemas(t,{selectedIndex:r.selectedIndex,selectedSchemes:n})};n({type:"document",documentName:r}),QX(t)&&Object.entries(t.paths??{}).forEach(([e,t])=>{nY(t,t=>{n({type:"operation",documentName:r,path:e,method:t})})})},S7e=(e,t,{name:a,flowType:r,scope:n,description:o,oldScope:i,enable:s})=>{if(!QX(t)&&!FX(t))return;let l=O7e(t,a,r);if(!l)return;let c=h7e(t);l[c]||(l[c]={});let u=l[c],d=!!i&&i!==n;if(d){if(!(i in u))return;delete u[i]}u[n]=o,(d||s)&&k7e(e,t,e=>{e.forEach(e=>{if(!u7e(e))return;let t=e[a];if(!Array.isArray(t))return;let r=t;d&&r.includes(i)&&(r=r.map(e=>e===i?n:e)),s&&!r.includes(n)&&(r=[...r,n]),r!==t&&(e[a]=r)})})},A7e=(e,t,{name:a,flowType:r,scope:n})=>{if(!QX(t)&&!FX(t))return;let o=O7e(t,a,r)?.[h7e(t)];o&&(delete o[n],k7e(e,t,e=>{e.forEach(e=>{if(!u7e(e))return;let t=e[a];!Array.isArray(t)||!t.includes(n)||(e[a]=t.filter(e=>e!==n))})}))},T7e=(e,t,{names:a})=>{if(!QX(t))return;let r=t["x-scalar-navigation"]?.name;if(!r)return;let n=q_(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=>(_C(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])=>{nY(a,(a,n)=>{let s=q_(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})}})})},_7e=({document:e,store:t})=>({updateSelectedSecuritySchemes:a=>m7e(t,e,a),clearSelectedSecuritySchemes:a=>f7e(t,e,a),updateSecurityScheme:t=>g7e(e,t),updateSecuritySchemeSecrets:a=>v7e(t,e,a),clearSecuritySchemeSecrets:a=>b7e(t,e,a),updateSelectedAuthTab:a=>y7e(t,e,a),updateSelectedScopes:a=>x7e(t,e,a),upsertScope:a=>S7e(t,e,a),deleteScope:a=>A7e(t,e,a),deleteSecurityScheme:a=>T7e(t,e,a)})}),k9e=V(()=>{Yq(),aK(),Bq(),C7e=(e,{payload:t,index:a})=>{if(!e||FX(e))return;if(e["x-scalar-cookies"]||=[],void 0!==a){if(a<0||a>=e["x-scalar-cookies"].length)return;let r=jj(fU,{...e["x-scalar-cookies"][a],...t});return e["x-scalar-cookies"][a]=r,r}let r=jj(fU,t);return e["x-scalar-cookies"].push(r),r},E7e=(e,{index:t})=>!(!e||FX(e)||!e["x-scalar-cookies"]||t<0||t>=e["x-scalar-cookies"].length)&&(e["x-scalar-cookies"].splice(t,1),!0),P7e=({collection:e})=>({upsertCookie:t=>C7e(e,t),deleteCookie:t=>E7e(e,t)})}),S9e=V(()=>{mK(),aK(),M7e=(e,t)=>{QX(e)&&bY(e,t)},N7e=(e,t)=>{QX(e)&&(e["x-scalar-watch-mode"]=t)},$7e=(e,t)=>{QX(e)&&(bY(e.info,t),e["x-scalar-navigation"]&&void 0!==t.title&&(e["x-scalar-navigation"].title=t.title?.trim()||"Untitled Document"))},I7e=(e,t)=>{!QX(e)||!e["x-scalar-navigation"]||(e["x-scalar-icon"]=t,e["x-scalar-navigation"].icon=t)},R7e=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)}},D7e=(e,t)=>{e&&e.deleteDocument(t.name)},L7e=({document:e,store:t})=>({updateDocumentExtension:t=>M7e(e,t),updateDocumentInfo:t=>$7e(e,t),updateWatchMode:t=>N7e(e,t),updateDocumentIcon:t=>I7e(e,t),createEmptyDocument:e=>R7e(t,e),deleteDocument:e=>D7e(t,e)})}),A9e=V(()=>{BC(),zq(),aK(),Bq(),B7e=(e,t,{environmentName:a,payload:r,oldEnvironmentName:n})=>{if(!t||!e||FX(t))return;t["x-scalar-environments"]||={};let o=!t["x-scalar-environments"][n??a],i=jj(qj,{..._C(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},j7e=(e,t,{environmentName:a})=>{!t||!e||FX(t)||delete t["x-scalar-environments"]?.[a]},U7e=(e,{environmentName:t,variable:a,index:r})=>{if(!e||FX(e))return;if(!e["x-scalar-environments"]?.[t])return void console.error("Environment not found",t);let n=jj(Zj,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},z7e=(e,{environmentName:t,index:a})=>{if(e&&!FX(e)){if(!e["x-scalar-environments"]?.[t])return void console.error("Environment not found",t);e["x-scalar-environments"][t]?.variables?.splice(a,1)}},H7e=({workspace:e,collection:t})=>({upsertEnvironment:a=>B7e(e,t,a),deleteEnvironment:a=>j7e(e,t,a),upsertEnvironmentVariable:e=>U7e(t,e),deleteEnvironmentVariable:e=>z7e(t,e)})}),T9e=V(()=>{Z7e=(e,t)=>e&&e.workspace.documents[t]||null}),_9e=V(()=>{oK(),eC(),BC(),aK(),V7e=(e,t,a)=>{if(!QX(e))return null;let r=q_(eY(e.paths?.[a.path],a.method));if(!r)return null;let n=q_(r.requestBody);return n||=(r.requestBody={content:{}},q_(r.requestBody)),n.content[t]||={},n.content[t].examples||={},n.content[t].examples[a.exampleKey]||={},q_(n.content[t].examples?.[a.exampleKey])??null},q7e=(e,{meta:t,payload:a})=>{if(!QX(e))return;let r=q_(eY(e.paths?.[t.path],t.method));if(!r)return;let n=q_(r.requestBody);n||=(r.requestBody={content:{}},q_(r.requestBody)),n["x-scalar-selected-content-type"]||={},n["x-scalar-selected-content-type"][t.exampleKey]=a.contentType},Q7e=(e,{meta:t,payload:a,contentType:r})=>{let n=V7e(e,r,t);n?n.value=a:console.error("Example not found",t.exampleKey)},F7e=(e,{meta:t,payload:a,contentType:r})=>{let n=V7e(e,r,t);n?n.value=_C(a,{depth:3}):console.error("Example not found",t.exampleKey)}}),C9e=V(()=>{oK(),eC(),mK(),aK(),W7e=(e,{meta:t,payload:a})=>{if(!QX(e))return;let r=q_(eY(e.paths?.[t.path],t.method));r&&bY(r,a)}}),E9e=V(()=>{G7e=async({requestPayload:e,includeBody:t=!0,httpVersion:a="HTTP/1.1",bodySizeLimit:r=1048576})=>{let[n,o]=e,i=globalThis.location?.origin,s=new URL(n,i&&"null"!==i?i:"http://localhost"),l=Array.from(s.searchParams.entries()).map(([e,t])=>({name:e,value:t})),c=new Headers(o.headers),u=c.get("content-type")?.split(";")[0]?.trim()??"text/plain",{headers:d,headersSize:p,cookies:h}=J7e(c),m=await(async()=>{if(t&&null!=o.body){let e=await X7e(o.body,u);if(e.size<=r)return e}return{text:"",size:-1}})();return{method:o.method??"GET",url:n,httpVersion:a,headers:d,cookies:h,queryString:l,headersSize:p,bodySize:m.size,postData:"params"in m?{mimeType:u,params:m.params}:{mimeType:u,text:m.text}}},X7e=async(e,t)=>e instanceof FormData?Y7e(e):e instanceof URLSearchParams?K7e(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},Y7e=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}),K7e=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}),J7e=e=>Array.from(e.entries()).reduce((e,[t,a])=>{if("cookie"===t.toLowerCase()){let t=e9e(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:[]}),e9e=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})}),P9e=V(()=>{t9e=async({response:e,includeBody:t=!0,httpVersion:a="HTTP/1.1",bodySizeLimit:r=1048576})=>{let{headers:n,headersSize:o,cookies:i}=a9e(e),s=e.headers.get("location")||"",l=e.headers.get("content-type")??"text/plain",c=await(async()=>{if(t&&e.body){let t=await r9e(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}},a9e=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=o9e(a);t&&e.cookies.push(t)}return e},{headers:[],headersSize:0,cookies:[]}),r9e=async e=>{let t=e.headers.get("content-type");if(!t||!n9e(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}}},n9e=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"))},o9e=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()}}}),M9e=V(()=>{eC(),dF(),i9e=(e,t,a)=>{e.forEach(e=>{let r=q_(e);WV(r)||(l9e(q_(e),a,!0),"path"===r.in&&(r.examples||={},r.examples[a]={value:t[r.name]??"","x-disabled":!1}))})},s9e=({harRequest:e,exampleKey:t,baseOperation:a={},pathVariables:r={}})=>{if(a.parameters||=[],i9e(a.parameters,r,t),e.queryString&&e.queryString.length>0)for(let r of e.queryString){let e=c9e(a.parameters,r.name,"query");!e||WV(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=c9e(a.parameters,r.name,"header");!e||WV(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=c9e(a.parameters,r.name,"cookie");!e||WV(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=q_(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},l9e=(e,t,a)=>{WV(e)||e.examples?.[t]&&(q_(e.examples[t])["x-disabled"]=a)},c9e=(e,t,a)=>{for(let r of e){let e=q_(r);if(!WV(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}}),N9e=V(()=>{oK(),eC(),aK(),dF(),E9e(),P9e(),M9e(),u9e=async(e,t,{payload:a,meta:r})=>{if(!QX(t))return;let n=t["x-scalar-navigation"]?.name;if(!n||!a)return;let o=q_(eY(t.paths?.[r.path],r.method));if(!o)return;let i=(o.parameters??[]).reduce((e,t)=>{let a=q_(t);return WV(a)||"path"===a.in&&(e[a.name]=q_(a.examples?.[r.exampleKey])?.value??""),e},{}),s=await G7e({requestPayload:a.requestPayload}),l=await t9e({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}})},d9e=(e,t,{meta:a,index:r,callback:n})=>{if(!QX(t))return void console.error("Document not found",a.path,a.method);let o=q_(eY(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?(s9e({harRequest:i.request,exampleKey:"draft",baseOperation:o,pathVariables:i.requestMetadata.variables}),n("success")):console.error("History item not found",r)}}),$9e=V(()=>{Yk(),p9e=(e,{includePath:t=!0,includeEnv:a=!0}={})=>[t&&Zx.PATH,a&&Zx.VARIABLES].flatMap(t=>t?[...e.matchAll(t)].map(e=>e[1]?.trim()).filter(e=>void 0!==e):[])}),I9e=V(()=>{h9e=(e,t)=>{let a={};for(let r of t){let t=e.indexOf(`{${r}}`);-1!==t&&(a[r]=t)}return a}}),R9e=V(()=>{$9e(),BC(),I9e(),m9e=(e,t,a,r)=>{let n=p9e(t,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),o=p9e(e,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),i=h9e(t,n),s=h9e(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=_C(e,{depth:1});"path"===t?.in?u.has(e)&&p.push(a):p.push(a)}return p.concat(d)}}),D9e=V(()=>{f9e=(e,t)=>{if(t)return t.type===e?t:f9e(e,t.parent)}}),L9e=V(()=>{oK(),eC(),aK(),D9e(),g9e=e=>"document"===e.type||"tag"===e.type||"operation"===e.type,v9e=({store:e,entry:t})=>{let a=f9e("document",t);if(!a)return null;let r=e.workspace.documents[a.name];return r?"document"===t.type?r:QX(r)?"tag"===t.type?r.tags?.find(e=>e.name===t.name)??null:"operation"===t.type?q_(eY(r.paths?.[t.path],t.method))??null:null:null:null}}),B9e=V(()=>{b9e=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)if("operation"===n.type){let e=`${n.path}|${n.method}`;a(e,{...n,parent:t})}else if("webhook"===n.type){let e=`${n.name}|${n.method}`;a(e,{...n,parent:t})}else"children"in n&&n.children&&r(n.children,{...n,parent:t})};return r(e.children,e),t}}),j9e=V(()=>{y9e=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 U9e(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 z9e,H9e,Z9e,V9e,q9e,Q9e,F9e,W9e,G9e,X9e=V(()=>{}),Y9e=V(()=>{z9e=e=>!(!e?.["x-internal"]&&!e?.["x-scalar-ignore"])}),K9e=V(()=>{H9e=/[^\p{L}\p{M}\p{N}\s_-]/gu,Z9e=/[\s_-]+/g,V9e=/^-+|-+$/g,q9e=/\p{M}/gu,Q9e=new Map,F9e=(e,t={})=>{let{allowedSpecialChars:a="",preserveCase:r=!1,normalizationForm:n="NFC",stripAccents:o=!1}=t,i=(()=>{if(0===a.length)return H9e;let e=Q9e.get(a);if(e)return e;let t=a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),r=RegExp(`[^\\p{L}\\p{M}\\p{N}\\s_\\-${t}]`,"gu");return Q9e.set(a,r),r})(),s=e.slice(0,255).trim(),l=o?s.normalize("NFD").replace(q9e,""):s.normalize(n);return(r?l:l.toLowerCase()).replace(i,"").replace(Z9e,"-").replace(V9e,"")}}),J9e=V(()=>{K9e(),W(),W9e=(e,t)=>{let a=t?.modelsSectionLabel??"Models",r=F9e(a),n=a=>{let o=F9e(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.isTagGroup?"tag-group":"tag";return t?.generateTagSlug?`${o}/${e}/${t.generateTagSlug(a.tag)}`:`${o}/${e}/${F9e(a.tag.name??"")}`}if("asyncapi-channel"===a.type)return`${a.parentTag?`${n({type:"tag",tag:a.parentTag.tag,parentId:a.parentTag.id})}/`:`${o}/`}channel/${F9e(a.channelName)}`;if("asyncapi-message"===a.type)return`${a.parentId}/message/${F9e(a.messageName)}`;if("asyncapi-operation"===a.type)return`${a.parentId}/operation/${F9e(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()}/${F9e(a.name,{allowedSpecialChars:"."})}`}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}/${F9e(a.name,{preserveCase:!0})}`}return"example"===a.type?`${a.parentId}/example/${F9e(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}}}),eet=V(()=>{G9e=({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 tet(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 aet,ret=V(()=>{}),net=V(()=>{K9e(),aet=(e={})=>{let t=new Map;return{slug(a){let r=F9e(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 oet(e){let{slug:t}=aet(),a=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=tet(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=tet(s);h&&(a.push({depth:"="===p[0]?1:2,value:h}),e++)}return a}(e);return iet(a,t)}var iet,set,cet,uet,det,pet,het,met,fet,get,vet,bet,yet,wet,xet,Oet,ket,Aet,Tet,_et,Cet,Eet,Pet,Met,Net,$et,Iet=V(()=>{ret(),net(),iet=(e,t)=>e.map(e=>({...e,slug:t(e.value)})),set=e=>{let t=Math.min(...e.map(e=>e.depth));return t>=1&&t<=6?t:1}}),Ret=V(()=>{Iet(),cet={TITLE:"Introduction",SLUG:"introduction"},uet=(e,t,a)=>({id:e({type:"text",depth:1,slug:cet.SLUG,parentId:t,info:a,value:cet.TITLE}),title:cet.TITLE,type:"text"}),det=({generateId:e,parentId:t,info:a})=>{let r=a.description?.trim();if(!r)return[uet(e,t,a)];let n=oet(r),o=set(n),i=[],s=null,l=null;if(!r.startsWith("#")){let r=uet(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}}),Det=V(()=>{eC(),Y9e(),eet(),pet=({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=q_(n);return{id:i,title:s&&"title"in s&&s.title||t,name:t,ref:e,type:"model"}},het=({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=q_(n[e],V_);if(z9e(i))continue;let s=`#/components/schemas/${e}`;i?.["x-tags"]?i["x-tags"].forEach(n=>{let{tag:o,id:i}=G9e({tagsMap:t,name:n,documentId:r,generateId:a});t.get(n)?.entries.push(pet({ref:s,name:e,generateId:a,parentTag:{tag:o,id:i},parentId:r}))}):o.push(pet({ref:s,name:e,generateId:a,_schema:q_(n[e]),parentId:r}))}return o}}),Let=V(()=>{X9e(),cK(),eC(),Y9e(),BC(),J9e(),eet(),Ret(),Det(),met=(...e)=>{for(let t of e){let e=t?.trim();if(e)return e}},fet=(e,t)=>"string"==typeof t.address&&t.address.length>0?t.address:e,get=(e,t)=>met(e.title,e.summary)??fet(t,e),vet=(e,t)=>met(e.title,e.summary)??t,bet=(e,t)=>met(e.title,e.summary,e.name)??t,yet=e=>e.match(/^#\/channels\/([^/]+)$/)?.[1],wet=(e,t)=>{let a=t.channel;if(!a||!("$ref"in a))return;let r=yet(a.$ref);if(!r)return;let n=e.channels?.[r];return n?{channelName:r,channel:q_(n,V_)}:void 0},xet=(e,t,a)=>{let r=t.messages??{};if(void 0===e.messages)return uY(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]},Oet=e=>{let t=q_(e,V_);return{name:t.name,description:t.description}},ket=(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))},Aet=e=>{e.sort((e,t)=>e.title.localeCompare(t.title))},Tet=({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=q_(o,V_);return z9e(i)?[]:[{type:"asyncapi-message",id:n({type:"asyncapi-message",messageName:r,channelName:e,parentId:a}),title:bet(i,r),messageName:r,channelName:e}]});return Aet(o),o},_et=({operationName:e,operation:t,channel:a,channelName:r,channelAddress:n,generateId:o,parentId:i})=>{if(z9e(t))return;let s=o({type:"asyncapi-operation",operationName:e,parentId:i}),l=Tet({channelName:r,channel:a,operationId:s,messageNames:xet(t,a,r),generateId:o});return{type:"asyncapi-operation",id:s,title:vet(t,e),operationName:e,action:t.action,channelName:r,channelAddress:n,children:l.length>0?l:void 0}},Cet=({bucket:e,operationEntries:t,generateId:a,parentId:r,parentTag:n,operationsSorter:o,document:i})=>{if(z9e(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=_et({operationName:t,operation:r,channel:e.channel,channelName:e.channelName,channelAddress:e.channelAddress,generateId:a,parentId:s});return n?[n]:[]});if(ket(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:get(e.channel,e.channelName),channelName:e.channelName,channelAddress:e.channelAddress,children:l}},Eet=({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}},Pet=({tagKeys:e,tagsMap:t,documentId:a,options:{tagsSorter:r,generateId:n},sortOrder:o})=>{let i=e.flatMap(e=>{let{tag:r,entries:o}=G9e({tagsMap:t,name:e,documentId:a,generateId:n});if(z9e(r))return[];let i=r["x-scalar-order"];return Eet({tag:r,generateId:n,children:i?U9e(o,i,e=>e.id):o,parentId:a})});return o?U9e(i,o,e=>e.id):("alpha"===r?i.sort((e,t)=>e.title.localeCompare(t.title)):"function"==typeof r&&i.sort((e,o)=>r(G9e({tagsMap:t,name:e.name,documentId:a,generateId:n}).tag,G9e({tagsMap:t,name:o.name,documentId:a,generateId:n}).tag)),i)},Met=(e,t,a)=>{let r=e.get(t);if(r)return r;let n={channelName:t,channel:a,channelAddress:fet(t,a),channelTags:a.tags?.map(Oet)??[],operations:[]};return e.set(t,n),n},Net=e=>{let t=new Map;for(let[a,r]of Object.entries(e.channels??{})){if(!r)continue;let e=q_(r,V_);z9e(e)||Met(t,a,e)}for(let[a,r]of Object.entries(e.operations??{})){if(!r)continue;let n=q_(r,V_);if(z9e(n))continue;let o=wet(e,n);o&&Met(t,o.channelName,o.channel).operations.push({operationName:a,operation:n})}return t},$et=(e,t,a)=>{let{generateId:r,operationsSorter:n,tagsSorter:o,hideModels:i,modelsSectionLabel:s}=W9e(e,a),l=r({type:"document",info:t.info,name:e}),c=Net(t),u=new Map,d=[];for(let e of c.values()){if(0===e.channelTags.length){let a=Cet({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}=G9e({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=Cet({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?q_(t.components,V_):void 0,h=!i&&p?.schemas?het({documentId:l,document:{components:p},generateId:r,tagsMap:u}):[],m=det({generateId:r,parentId:l,info:t.info});u.size>0&&m.push(...Pet({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?U9e(m,f,e=>e.id):m;return t["x-scalar-order"]=_C(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"]}}});function Bet(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}var jet,Uet,zet,Het,Zet,Vet,qet,Qet,Fet,Wet,Get,Xet,Yet,Ket,Jet,ett,ttt,att,rtt,ntt,ott,itt,stt,ltt,ctt,utt,dtt,ptt,htt,mtt,ftt,gtt,vtt,btt,ytt,wtt,xtt,Ott,ktt,Stt,Att,Ttt,_tt,Ctt,Ett,Ptt,Mtt,Ntt,$tt,Itt,Rtt,Dtt,Ltt,Btt,jtt,Utt,ztt,Htt,Ztt,Vtt,qtt,Qtt,Ftt,Wtt,Gtt=V(()=>{}),Xtt=V(()=>{eC(),jet=e=>{let t=new Set(e["x-draft-examples"]??[]);if(e.requestBody){let a=q_(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=q_(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)}}),Ytt=V(()=>{MQ(),NQ(),zQ(),RQ()}),Ktt=V(()=>{Gtt(),oK(),eC(),Y9e(),Xtt(),Ytt(),eet(),Uet=e=>e.deprecated||e["x-scalar-stability"]===YH.Deprecated,zet=({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=Uet(t),d=jet(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}},Het=({document:e,tagsMap:t,generateId:a,documentId:r,operationTitleSource:n})=>{let o=[];return Object.entries(e.paths??{}).forEach(([e,i])=>{nY(i,(i,s)=>{let l=q_(s,V_);if(!l||z9e(l))return;let c=`#/paths/${Bet(e)}/${i}`;l.tags?.length?l.tags.forEach(o=>{let{tag:s,id:u}=G9e({tagsMap:t,name:o,documentId:r,generateId:a});t.get(o)?.entries.push(zet({ref:c,operation:l,method:i,path:e,parentTag:{tag:s,id:u},generateId:a,parentId:u,operationTitleSource:n}))}):o.push(zet({ref:c,operation:l,method:i,path:e,generateId:a,parentId:r,operationTitleSource:n}))})}),{untaggedOperations:o}}}),Jtt=V(()=>{Zet=e=>e?Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith("x-"))):{}}),eat=V(()=>{X9e(),Y9e(),BC(),Jtt(),eet(),Vet=({tag:e,generateId:t,children:a,isGroup:r=!1,isTagGroup:n=!1,parentId:o})=>{let i=t({type:"tag",tag:e,parentId:o,isGroup:r,isTagGroup:n}),s=e["x-displayName"]??e.summary??e.name??"Untitled Tag";return e["x-scalar-order"]=a.map(e=>e.id),{id:i,title:s,name:e.name||s,description:e.description,children:a,isGroup:r,...n?{isTagGroup:!0}:{},isWebhooks:!1,type:"tag",xKeys:Zet(_C(e))}},qet=({_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}=G9e({tagsMap:t,name:e,documentId:o,generateId:n});if(z9e(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})})),Vet({tag:a,generateId:n,children:s?U9e(i,s,e=>e.id):i,parentId:o,isGroup:!1})});return i?U9e(s,i,e=>e.id):("alpha"===a?s.sort((e,t)=>(e.title||"Untitled Tag").localeCompare(t.title||"Untitled Tag")):"function"==typeof a&&s.sort((e,r)=>a(G9e({tagsMap:t,name:e.name,documentId:o,generateId:n}).tag,G9e({tagsMap:t,name:r.name,documentId:o,generateId:n}).tag)),s)},Qet=e=>{let t=new Set(e.flatMap(e=>"string"==typeof e.name?e.name:[])),a=new Map;for(let r of e)r.name&&r.parent&&r.parent!==r.name&&t.has(r.parent)&&a.set(r.name,r.parent);return a},Fet=(e,t)=>{let a=new Set([t]),r=e.get(t);for(;r;){if(a.has(r))return!0;a.add(r),r=e.get(r)}return!1},Wet=({flatEntries:e,document:t,originalOrders:a})=>{let r=new Map,n=new Map;for(let t of e)"tag"===t.type&&(r.set(t.name,t),n.set(t.name,(t.children?.length??0)>0));let o=Qet(t.tags??[]),i=new Set,s=new Set;for(let[e,t]of r){let a=o.get(e);if(void 0===a||Fet(o,e))continue;let n=r.get(a);n&&(n.children=n.children??[],n.children.push(t),i.add(e),s.add(a))}let l=new Map;for(let e of t.tags??[])e.name&&l.set(e.name,e);for(let e of s){let t=r.get(e);if(!t)continue;let n=a.get(e);n&&(t.children=U9e(t.children??[],n,e=>e.id));let o=l.get(e);o&&(o["x-scalar-order"]=(t.children??[]).map(e=>e.id))}for(let[e,t]of r)(t.children??[]).some(e=>"tag"===e.type)&&!n.get(e)&&(t.isGroup=!0);return e.filter(e=>!("tag"===e.type&&i.has(e.name)))},Get=({document:e,tagsMap:t,documentId:a,options:{generateId:r,tagsSorter:n,operationsSorter:o}})=>{let i=Qet(e.tags??[]);if(Array.from(i.keys()).some(e=>!Fet(i,e))){let i=new Map;for(let t of e.tags??[])t.name&&t["x-scalar-order"]&&i.set(t.name,t["x-scalar-order"]);let s=qet({_keys:Array.from(t.keys()),tagsMap:t,options:{generateId:r,tagsSorter:n,operationsSorter:o},documentId:a,sortOrder:e["x-scalar-order"]});return Wet({flatEntries:s,document:e,originalOrders:i})}if(e["x-tagGroups"])return e["x-tagGroups"].flatMap(e=>{let i=qet({_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?Vet({tag:e,generateId:r,children:i,parentId:a,isGroup:!0,isTagGroup:!0}):[]});let s=Array.from(t.keys());return qet({_keys:s,tagsMap:t,options:{generateId:r,tagsSorter:n,operationsSorter:o},documentId:a,sortOrder:e["x-scalar-order"]})}}),tat=V(()=>{oK(),eC(),Y9e(),Ktt(),eet(),Xet=({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}),Yet=({document:e,tagsMap:t,generateId:a,untaggedWebhooksParentId:r,documentId:n})=>{let o=[];return Object.entries(e.webhooks??{}).forEach(([e,i])=>{nY(i,(i,s)=>{let l=q_(s,V_);if(!l||z9e(l))return;let c=`#/webhooks/${e}/${i}`;l.tags?.length?l.tags.forEach(r=>{let{tag:o,id:s}=G9e({tagsMap:t,name:r,documentId:n,generateId:a});t.get(r)?.entries.push(Xet({ref:c,method:i,name:e,title:l.summary??e,webhook:l,generateId:a,parentTag:{tag:o,id:s},parentId:s,isDeprecated:Uet(l)}))}):o.push(Xet({ref:c,method:i,name:e,title:l.summary??e,generateId:a,isDeprecated:Uet(l),webhook:l,parentId:r}))})}),o}}),aat=V(()=>{BC(),J9e(),Ret(),Ktt(),Det(),eat(),tat(),Ket=(e,t,a)=>{let{hideModels:r,modelsSectionLabel:n,tagsSorter:o,operationsSorter:i,generateId:s,operationTitleSource:l}=W9e(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=det({generateId:s,parentId:c,info:t.info}),{untaggedOperations:p}=Het({document:t,tagsMap:u,generateId:s,documentId:c,operationTitleSource:l}),h=s({type:"webhook",name:"",parentId:c}),m=Yet({document:t,generateId:s,tagsMap:u,untaggedWebhooksParentId:h,documentId:c}),f=Get({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=het({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"]=_C(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"]}}}),rat=V(()=>{L9e(),B9e(),D9e(),j9e(),Let(),aat()}),nat=V(()=>{L9e(),D9e(),aK(),Jet=({store:e,generateId:t,...a})=>{a.entries?.forEach(r=>{if(!g9e(r.parent))return;let n=v9e({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=f9e("document",r),o=t?e.workspace.documents[t.name]:null,i=QX(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})})}}),oat=V(()=>{nK(),GY(),$9e(),oK(),eC(),BC(),R9e(),rat(),J9e(),nat(),aK(),ett=(e,t)=>{let a=e?.workspace.documents[t.documentName];if(!QX(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]={}),EX(i),EX(n),tY(a.paths[i],n,o);let{servers:s}=o,l=_C(s?.[0]);for(let e of s??[])a.servers?.some(t=>t.url===e.url)||(a.servers||=[],a.servers.push(_C(e)));l&&(a["x-scalar-selected-server"]=l.url);let c=o.parameters,u=m9e(i,i,c??[],q_);return(void 0!==c||u.length>0)&&(o.parameters=u),t.callback?.(!0),i},ttt=(e,t,{meta:a,payload:r})=>{if(!e||!QX(t))return;let n=t["x-scalar-navigation"]?.name;if(void 0===n)return;let o=q_(eY(t.paths?.[a.path],a.method));o?(Object.assign(o,r),e.buildSidebar(n)):console.error("Operation not found",{meta:a,document:t})},att=(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||!QX(e))return void console.error("Document or workspace not found",{document:e});if(eY(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=q_(eY(e.paths?.[a.path],a.method));if(!p)return void console.error("Operation not found",{meta:a,document:e});if(l){let e=p9e(a.path,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),t=p9e(u,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e);if(e.length>0||t.length>0){let e=p.parameters??[];p.parameters=m9e(u,a.path,e,q_)}}let{generateId:h}=W9e(d.name),m=b9e(d).get(`${a.path}|${a.method}`);m&&Jet({store:t,operation:p,generateId:h,method:c,path:u,entries:m}),e.paths||={},e.paths[u]||(e.paths[u]={}),EX(u),EX(a.path),EX(c),tY(e.paths[u],c,_C(p)),YX(a.method)&&(rY(e.paths[a.path],a.method),oY(e.paths[a.path])&&delete e.paths[a.path]),t.history.clearOperationHistory(e["x-scalar-navigation"]?.name??"",a.path,a.method),i("success",o)},rtt=(e,{meta:t,documentName:a})=>{let r=e?.workspace.documents[a];QX(r)&&(EX(t.path),EX(t.method),rY(r.paths?.[t.path],t.method),oY(r.paths?.[t.path])&&delete r.paths?.[t.path])},ntt=(e,{meta:{path:t,method:a},documentName:r,exampleName:n})=>{let o=e?.workspace.documents[r];if(!QX(o))return void console.error("Document not found",{documentName:r});let i=q_(eY(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)},ott=(e,{meta:{path:t,method:a,exampleKey:r},documentName:n})=>{let o=e?.workspace.documents[n];if(!QX(o))return;let i=q_(eY(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=q_(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=q_(i.requestBody);l&&Object.values(l.content??{}).forEach(e=>{delete e.examples?.[r]})},itt=(e,{meta:{path:t,method:a,exampleKey:r},documentName:n,payload:o})=>{let i=e?.workspace.documents[n];if(!QX(i))return;let s=q_(eY(i.paths?.[t],a));if(!s)return;let l=o.name.trim();if(!l||l===r)return;EX(l);let c=[];s.parameters?.forEach(e=>{let t=q_(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=q_(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]=_C(e[r]),delete e[r])}))}}),iat=V(()=>{oK(),eC(),BC(),aK(),stt=e=>{if(!e||"object"!=typeof e)return[];if("$ref"in e){let t=[],a=e;void 0!==a.parameters&&t.push(a);let r=q_(e);return r&&t.push(r),t}return[e]},ltt=(e,{meta:t,type:a,payload:r,originalParameter:n})=>{if(n){let e=n;(r.name||!e.name)&&(e.name=r.name),e.examples||={},e.examples[t.exampleKey]||(e.examples[t.exampleKey]={});let a=q_(e.examples[t.exampleKey]);return a.value=r.value,void(a["x-disabled"]=r.isDisabled)}if(!QX(e))return;let o=q_(eY(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})},ctt=(e,{type:t,meta:a,payload:r,in:n})=>{if(!QX(e))return;let o=q_(eY(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})},utt=(e,{meta:t,originalParameter:a})=>{if(!QX(e))return;let r=q_(eY(e.paths?.[t.path],t.method)),n=r?.parameters?.findIndex(e=>q_(e)===a)??-1;if(r&&n>=0)r.parameters=_C(r.parameters?.filter((e,t)=>t!==n),{depth:1});else for(let r of stt(e.paths?.[t.path])){let e=r.parameters?.findIndex(e=>q_(e)===a)??-1;if(e>=0)return void(r.parameters=_C(r.parameters?.filter((t,a)=>a!==e),{depth:1}))}},dtt=(e,{meta:t,type:a})=>{if(!QX(e))return;let r=q_(eY(e.paths?.[t.path],t.method));r&&(r.parameters=r.parameters?.filter(e=>q_(e).in!==a)??[])}}),sat=V(()=>{_9e(),C9e(),N9e(),oat(),iat(),ptt=({document:e,store:t})=>({createOperation:e=>ett(t,e),updateOperationMeta:a=>ttt(t,e,a),updateOperationPathMethod:a=>att(e,t,a),deleteOperation:e=>rtt(t,e),createOperationDraftExample:e=>ntt(t,e),deleteOperationExample:e=>ott(t,e),renameOperationExample:e=>itt(t,e),updateOperationExtension:t=>W7e(e,t),updateOperationExtraParameters:t=>ctt(e,t),upsertOperationParameter:t=>ltt(e,t),deleteOperationParameter:t=>utt(e,t),deleteAllOperationParameters:t=>dtt(e,t),updateOperationRequestBodyContentType:t=>q7e(e,t),updateOperationRequestBodyExample:t=>Q7e(e,t),updateOperationRequestBodyFormValue:t=>F7e(e,t),addResponseToHistory:a=>u9e(t,e,a),reloadOperationHistory:a=>d9e(t,e,a)})}),lat=V(()=>{$9e(),oK(),eC(),BC(),aK(),Bq(),iF(),htt=(e,t)=>QX(e)?"document"===t.type?e:q_(eY(e.paths?.[t.path],t.method))??null:null,mtt=(e,{meta:t})=>{let a=htt(e,t);if(a)return a.servers=[],a.servers;console.error("Target not found",t)},ftt=(e,{url:t,select:a,meta:r})=>{let n=htt(e,r);if(!n)return void console.error("Target not found",r);let o=jj(cV,{url:t});return n.servers||=[],n.servers.push(o),a&&(n["x-scalar-selected-server"]=o.url),o},gtt=(e,t)=>{let a={};for(let r of t){let t=e.indexOf(`{${r}}`);-1!==t&&(a[r]=t)}return a},vtt=(e,t,a)=>{let r=p9e(t,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),n=p9e(e,{includePath:!0,includeEnv:!1}).filter(e=>void 0!==e),o=gtt(t,r),i=gtt(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},btt=(e,{index:t,server:a,meta:r})=>{let n=htt(e,r);if(!n)return;let o=_C(n.servers?.[t],{depth:1});if(!o)return void console.error("Server not found at index:",t);let i=o.url,s=jj(cV,{...o,...a});if(i&&i!==s.url){let e=s.variables??{};s.variables=vtt(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},ytt=(e,{index:t,meta:a})=>{let r=htt(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)},wtt=(e,{meta:t})=>{let a=htt(e,t);a&&(a.servers=void 0,a["x-scalar-selected-server"]=void 0)},xtt=(e,{index:t,key:a,value:r,meta:n})=>{let o=htt(e,n)?.servers?.[t]?.variables?.[a];if(o)return o.default=r,o;console.error("Variable not found",a,t)},Ott=(e,{url:t,meta:a})=>{let r=htt(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"])},ktt=(e,{name:t})=>{if(FX(e))return e["x-scalar-selected-server"]=t,e["x-scalar-selected-server"]},Stt=(e,{name:t,key:a,value:r})=>{if(!FX(e))return;let n=q_(e.servers?.[t]),o=n?.variables?.[a]?q_(n.variables[a]):void 0;if(o)return o.default=r,o;console.error("Variable not found",a,t)},Att=({document:e})=>({initializeServers:t=>mtt(e,t),addServer:t=>ftt(e,t),updateServer:t=>btt(e,t),deleteServer:t=>ytt(e,t),clearServers:t=>wtt(e,t),updateServerVariables:t=>xtt(e,t),updateSelectedServer:t=>Ott(e,t),updateSelectedAsyncApiServer:t=>ktt(e,t),updateAsyncApiServerVariables:t=>Stt(e,t)})}),cat=V(()=>{BC(),Ttt=e=>null!==e&&void 0!==e["x-scalar-tabs"],_tt=e=>_C(e["x-scalar-tabs"],{depth:1}),Ctt=e=>e["x-scalar-active-tab"]??0,Ett=(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"]))},Ptt=(e,t)=>{if(!Ttt(e))return!1;let a=_tt(e),r=a[Ctt(e)];if(!r)return!1;let n=[...a,{...r}];return e["x-scalar-tabs"]=n,e["x-scalar-active-tab"]=n.length-1,!0},Mtt=(e,t)=>{if(!Ttt(e))return!1;let a="event"in t?t.event.code.startsWith("Digit")?Number.parseInt(t.event.key,10)-1:NaN:t.index,r=Ctt(e),n=_tt(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)},Ntt=(e,t)=>{if(!Ttt(e))return!1;let a=_tt(e);return!(a.length<=1)&&(e["x-scalar-tabs"]=a.filter((e,a)=>a===t.index),e["x-scalar-active-tab"]=0,!0)},$tt=(e,t)=>{if(!Ttt(e))return!1;let a=Ctt(e);return!(a<=0)&&(e["x-scalar-active-tab"]=a-1,!0)},Itt=(e,t)=>{if(!Ttt(e))return!1;let a=_tt(e),r=Ctt(e);return!(r>=a.length-1)&&(e["x-scalar-active-tab"]=r+1,!0)},Rtt=(e,t)=>{if(!Ttt(e))return!1;let a=_tt(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)},Dtt=(e,t)=>{if(!Ttt(e))return!1;let a=_tt(e);return!(a.length<=1)&&(e["x-scalar-active-tab"]=a.length-1,!0)},Ltt=({workspace:e})=>({updateTabs:t=>Ett(e,t),addTab:t=>Ptt(e),closeTab:t=>Mtt(e,t),closeOtherTabs:t=>Ntt(e,t),navigatePreviousTab:t=>$tt(e),navigateNextTab:t=>Itt(e),focusTab:t=>Rtt(e,t),focusLastTab:t=>Dtt(e)})}),uat=V(()=>{oK(),eC(),BC(),J9e(),j9e(),nat(),aK(),Btt=(e,t)=>{let a=e?.workspace.documents[t.documentName];QX(a)?(a.tags||=[],a.tags.push({name:t.name})):console.error("Document not found",{payload:t,store:e})},jtt=(e,t)=>{let a=e?.workspace.documents[t.documentName];if(!e||!QX(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=_C(e);return t.name===n?{...t,name:o}:t})),t.tag.children?.forEach(e=>{if("operation"===e.type){let t=q_(eY(a.paths?.[e.path],e.method));t&&"tags"in t&&(t.tags=_C(t.tags,{depth:null})?.map(e=>e===n?o:e))}else if("webhook"===e.type){let t=q_(eY(a.webhooks?.[e.name],e.method));t&&"tags"in t&&(t.tags=_C(t.tags,{depth:null})?.map(e=>e===n?o:e))}}),a["x-tagGroups"]&&=_C(a["x-tagGroups"],{depth:null}).map(e=>({...e,tags:e.tags.map(e=>e===n?o:e)}));let{generateId:i}=W9e(r.name),s=y9e(r).get(n);s&&Jet({store:e,tag:{name:o},generateId:i,entries:s})},Utt=(e,t)=>{let a=e?.workspace.documents[t.documentName];QX(a)&&(Object.values(a.paths??{}).forEach(e=>{nY(e,(e,a)=>{let r=q_(a);"tags"in r&&(r.tags=_C(r.tags,{depth:1})?.filter(e=>e!==t.name))})}),Object.values(a.webhooks??{}).forEach(e=>{nY(e,(e,a)=>{let r=q_(a);r.tags=_C(r.tags,{depth:1})?.filter(e=>e!==t.name)})}),a.tags=_C(a.tags,{depth:null})?.filter(e=>e.name!==t.name))},ztt=({store:e})=>({createTag:t=>Btt(e,t),editTag:t=>jtt(e,t),deleteTag:t=>Utt(e,t)})}),dat=V(()=>{Htt=(e,t)=>{e&&(e["x-scalar-active-proxy"]=t)},Ztt=(e,t)=>{e&&(e["x-scalar-color-mode"]=t)},Vtt=(e,t)=>{e&&(e["x-scalar-theme"]=t)},qtt=(e,t)=>{e&&(e["x-scalar-active-environment"]=t??void 0)},Qtt=(e,t)=>{e&&(e["x-scalar-default-client"]=t)},Ftt=(e,t)=>{e&&(e["x-scalar-default-example"]=t)},Wtt=({workspace:e})=>({updateActiveProxy:t=>Htt(e,t),updateColorMode:t=>Ztt(e,t),updateTheme:t=>Vtt(e,t),updateSelectedClient:t=>Qtt(e,t),updateSelectedExample:t=>Ftt(e,t),updateActiveEnvironment:t=>qtt(e,t)})});function pat(e){let t=t=>({auth:_7e({store:e,document:t}),cookie:P7e({collection:t}),document:L7e({document:t,store:e}),operation:ptt({document:t,store:e}),server:Att({document:t}),tag:ztt({store:e}),environment:H7e({workspace:e?.workspace??null,collection:t})});return{workspace:()=>({cookie:P7e({collection:e?.workspace??null}),tabs:Ltt({workspace:e?.workspace??null}),workspace:Wtt({workspace:e?.workspace??null}),environment:H7e({workspace:e?.workspace??null,collection:e?.workspace??null})}),active:()=>t(e?.workspace.activeDocument??null),doc:a=>t(Z7e(e,a))}}var hat,mat,fat,gat,vat,bat,yat,wat,xat,Oat,kat,Sat,Aat,Tat,_at,Cat,Eat,Pat,Mat,Nat,$at=V(()=>{O9e(),k9e(),S9e(),A9e(),T9e(),sat(),lat(),cat(),uat(),dat()}),Iat=V(()=>{dJe(),w6e(),x6e(),z3e(),H3e(),q3e(),Q3e(),W3e(),r7e(),jC()}),Rat=V(()=>{Bc(),hat={key:1,class:"rounded border bg-b-2 p-3 text-sm"},mat={key:0,class:"mt-2 rounded border bg-b-1 p-2 font-code text-c-2"},fat=Cn({__name:"ScalarErrorBoundary",setup(e){let t=Ha(!1),a=Ha();return qn((e,r,n)=>(console.error("[ERROR]",e,n),t.value=!0,a.value=e,!1)),(e,r)=>t.value?(Ho(),Qo("div",hat,[r[0]||=Xo("div",{class:"p-2"},"Oops, something went wrong here.",-1),a.value?(Ho(),Qo("div",mat,Yt(a.value?.name)+": "+Yt(a.value?.message),1)):ai("",!0)])):Kn(e.$slots,"default",{},void 0,void 0,0)}})}),Dat=V(()=>{Rat(),gat=fat}),Lat=V(()=>{Dat()}),Bat=V(()=>{m_e(),j_e(),JKe(),Bc(),mae(),Xk(),moe(),Iat(),Lat(),W5e(),vat={class:"flex flex-1"},bat={class:"overflow-hidden"},yat=Cn({__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=il(()=>Q6e(e.operation)),a=il(()=>X6e(t.value.samples,e.clientOptions,t.value.label)),r=Ha(m6e(a.value,e.selectedClient));hn([()=>e.selectedClient,a],([e])=>{let t=m6e(a.value,e);t&&(r.value=t)});let n=il(()=>Y6e(e.securitySchemes??[])),o=t=>{r.value=t,t&&e.eventBus.emit("workspace:update:selected-client",t.id)},i=il(()=>U6e({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=il(()=>a.value.some(e=>e.options.length>0));return(e,t)=>ln((Ho(),Fo(qa(sKe),{class:"group/preview w-full border-t",defaultOpen:!1},{title:sn(()=>[...t[1]||=[ei("Code Snippet",-1)]]),actions:sn(()=>[Xo("div",vat,[Fs(qa(Xne),{modelValue:r.value,options:a.value,placement:"bottom-end","onUpdate:modelValue":t[0]||=e=>o(e)},{default:sn(({open:e})=>[Fs(qa(sae),{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:sn(()=>[ei(Yt(r.value?.title)+" ",1),Fs(qa(Rm),{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:sn(()=>[Fs(qa(gat),null,{default:sn(()=>[Fs(qa(t_e),{columns:[""],presentational:""},{default:sn(()=>[Fs(qa(x_e),null,{default:sn(()=>[Xo("div",bat,[Fs(qa(S5e),{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)),[[nc,s.value]])}})}),jat=V(()=>{Bat(),wat=yat}),Uat=V(()=>{$Qe(),JKe(),Bc(),mae(),Vle(),xat={class:"text-c-2 request-meta-buttons flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100"},Oat={class:"sr-only"},kat=Cn({__name:"RequestParams",props:{rows:{},exampleKey:{},title:{},label:{},invalidParams:{},globalRoute:{},showAddRowPlaceholder:{type:Boolean,default:!0},environment:{},eventBus:{}},emits:["upsert","delete","deleteAll","selectPreset"],setup(e,{emit:t}){let a=t,r=il(()=>e.rows.length>1),n=(e,t)=>{let{value:r,...n}=t;r instanceof File||a("upsert",e,{...n,value:r??""})};return(t,o)=>(Ho(),Fo(qa(sKe),{class:"group/params",itemCount:e.rows.length},{title:sn(()=>[ei(Yt(e.title),1)]),actions:sn(()=>[Xo("div",xat,[r.value?(Ho(),Fo(qa(Dle),{key:0,content:"Clear optional parameters",placement:"left"},{default:sn(()=>[Fs(qa(sae),{class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:o[0]||=Cc(e=>a("deleteAll"),["stop"])},{default:sn(()=>[o[4]||=ei(" Clear ",-1),Xo("span",Oat,"All "+Yt(e.title),1)]),_:1})]),_:1})):ai("",!0)])]),default:sn(()=>[Fs(lQe,{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),onSelectPreset:o[3]||=(e,t)=>a("selectPreset",e,t),onUpsertRow:n},null,8,["data","environment","exampleKey","globalRoute","invalidParams","label","showAddRowPlaceholder"])]),_:1},8,["itemCount"]))}})}),zat=V(()=>{Uat(),Sat=kat}),Hat=V(()=>{RK(),XY(),Aat=e=>null==e||""===e,Tat=e=>e.endsWith("][]"),_at=e=>{let t=Tat(e)?e.slice(0,-2):e,a=[],r=t.match(/^[^[\]]*/)?.[0]??"";r&&a.push(r);for(let e of t.matchAll(/\[([^\]]*)\]/g))a.push(e[1]??"");return a},Cat=(e,t,a)=>{let r=_at(e);return 0===r.length?a:t&&r[0]===t&&r.length>1?r.slice(1):r},Eat=(e,t,a)=>{let r={},n=e.originalParameter,o=!(!n||!("style"in n)||"deepObject"!==n.style);for(let n of t){if(n.originalParameter!==e.originalParameter||!n.sourceParameterValuePath||n===e&&!a)continue;let t=n===e&&void 0!==a,i=t?a.value:n.value;if(Aat(i))continue;let s=t&&a.shouldRenameExpandedRow?Cat(a.name,e.originalParameter?.name,n.sourceParameterValuePath):n.sourceParameterValuePath,l=t&&!!a.shouldRenameExpandedRow,c=Tat(l?a.name:n.name)?{type:"array"}:l?void 0:n.schema;MX(r,s,o&&c?mX(i,c):i)}return{name:e.originalParameter?.name??a?.name??e.name,value:r,isDisabled:a?.isDisabled??e.isDisabled??!1}},Pat=(e,t,a,{context:r,defaultParameters:n=0,globalParameters:o=0,onDeleteExpandedRow:i,onRenameExpandedRow:s})=>{let l=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:Eat(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,c)=>{let u=r[i],{shouldRenameExpandedRow:d,...p}=c;if(i<n+o){let r=i<n?"default":"global";return t.emit("operation:update:extra-parameters",{type:r,in:e,meta:{...a,name:u?.name?.toLowerCase?.()??"NON_VALID"},payload:{isDisabled:c.isDisabled??!1}})}if(i>=l){let n=!(!u?.sourceParameterValuePath||!u.originalParameter);if(n&&u&&d&&c.name!==u.name){let e=Cat(c.name,u.originalParameter?.name,u.sourceParameterValuePath??[]);s?.(u,e)}let o=n&&u?Eat(u,r,c):p;return t.emit("operation:upsert:parameter",{type:e,payload:o,originalParameter:u?.originalParameter??null,meta:a},{skipUnpackProxy:!0,debounceKey:`update:parameter-${e}-${i-l}`})}}}}}),Zat=V(()=>{Mat=e=>{if("content"in e&&e.content){let t=Object.keys(e.content);return 1===t.length?e.content[t[0]]:void 0}}}),Vat=V(()=>{Zat(),eC(),Nat=e=>"schema"in e&&e.schema?q_(e.schema):q_(Mat(e)?.schema)});function qat(e,t){return t.reduce((e,t)=>{if(null!=e)return e[t]},e)}var Qat,Fat,Wat,Gat,Xat,Yat,Kat,Jat,ert,trt,art,rrt,nrt,ort,irt,srt,lrt=V(()=>{}),crt=V(()=>{Vat(),lrt(),RK(),eC(),J_(),dF(),Qat=e=>"schema"in e&&void 0!==e.schema,Fat=e=>q_(e),Wat=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}},Gat=(e,t)=>{if("query"!==e.in||!Qat(e)||!t||!ZV(t))return null;let{style:a,explode:r}=Wat(e);return r?"form"===a?"form":"deepObject"===a?"deepObject":null:null},Xat=e=>null==e?"":Array.isArray(e)?e.join(","):"object"==typeof e?JSON.stringify(e):String(e),Yat=e=>e.join("\0"),Kat=({parameter:e,name:t,value:a,description:r,schema:n,isRequired:o,isDisabled:i,sourceParameterValuePath:s})=>({name:t,value:Xat(a),description:r,schema:n,isRequired:o,isDisabled:i,originalParameter:e,sourceParameterValuePath:s}),Jat=(e,t,a)=>"deepObject"===a?`${e.name}${t.map(e=>`[${e}]`).join("")}`:t[0]??"",ert=(e,t,a)=>"deepObject"===t&&a?`${e}[]`:e,trt=(e,t,a,r)=>Kat({parameter:e,name:e.name,value:a,description:e.description,schema:t,isRequired:e.required,isDisabled:r}),art=({parameter:e,schema:t,value:a,pathPrefix:r,namePrefix:n,mode:o,isDisabled:i,hiddenValuePaths:s,renamedValuePaths:l,renameTargetPaths:c})=>{if(!t.properties)return[];let u=new Set(t.required??[]);return Object.entries(t.properties).flatMap(([t,d])=>{let p=Fat(d);if(!p)return[];let h=[...r,t],m=n?`${n}[${t}]`:t,f=l.get(Yat(h)),g=f??h;if(s.has(Yat(g)))return[];if(f){let t=qat(a,f),r=void 0===t?qat(a,h):t;return[Kat({parameter:e,name:ert(Jat(e,f,o),o,Array.isArray(r)),value:r,description:e.description,schema:void 0,isRequired:!1,isDisabled:i,sourceParameterValuePath:f})]}if(c.has(Yat(h)))return[];if("deepObject"===o&&ZV(p)&&p.properties)return art({parameter:e,schema:p,value:a,pathPrefix:h,namePrefix:m,mode:o,isDisabled:i,hiddenValuePaths:s,renamedValuePaths:l,renameTargetPaths:c});let v=qat(a,h);return[Kat({parameter:e,name:ert(m,o,VV(p)||Array.isArray(v)),value:v,description:p.description??e.description,schema:p,isRequired:u.has(t),isDisabled:i,sourceParameterValuePath:h})]})},rrt=(e,t)=>{if(!z_(e))return[];let a=[],r=(e,n)=>{for(let[o,i]of Object.entries(e)){let e=[...n,o];"deepObject"===t&&z_(i)?r(i,e):a.push(e)}};return r(e,[]),a},nrt=({parameter:e,value:t,schemaRows:a,mode:r,isDisabled:n,renamedValuePaths:o})=>{let i=new Set([...a.map(e=>Yat(e.sourceParameterValuePath??[])),...o.keys()]);return rrt(t,r).filter(e=>!i.has(Yat(e))).map(a=>{let o=qat(t,a);return Kat({parameter:e,name:ert(Jat(e,a,r),r,Array.isArray(o)),value:o,description:e.description,schema:void 0,isRequired:!1,isDisabled:n,sourceParameterValuePath:a})})},ort=(e,t,a={})=>{let r=PC(e,t,void 0),n=fX(e,r),o=Nat(e),i=Gat(e,o);if(null===i||!o||!ZV(o))return[trt(e,o,r?.value,n)];let s=void 0===r?.value?void 0:uX(r.value,e);if(!o.properties)return[trt(e,o,r?.value,n)];let l=new Set(a.hiddenValuePaths?.map(Yat)??[]),c=new Map((a.renamedValuePaths??[]).map(({from:e,to:t})=>[Yat(e),t])),u=new Set((a.renamedValuePaths??[]).map(({to:e})=>Yat(e))),d=art({parameter:e,schema:o,value:s,pathPrefix:[],namePrefix:"deepObject"===i?e.name:"",mode:i,isDisabled:n,hiddenValuePaths:l,renamedValuePaths:c,renameTargetPaths:u}),p=nrt({parameter:e,value:s,schemaRows:d,mode:i,isDisabled:n,renamedValuePaths:c});return[...d,...p]}}),urt=V(()=>{irt=(e,t,a)=>e.reduce((e,r)=>{let n=a?a(r):r;return(e[r[t]]??=[]).push(n),e},{})}),drt=V(()=>{srt=({sources:e,shouldInclude:t})=>{let a=[],r=new Map;for(let{location:n,cookies:o}of e)o.forEach((e,o)=>{!e.name||!t(e)||(r.has(e.name)||(r.set(e.name,[]),a.push(e.name)),r.get(e.name)?.push({location:n,value:e.value,isDisabled:e.isDisabled??!1,index:o}))});let n=[];for(let e of a){let t=r.get(e)??[],a=t[0];if(!a)continue;let o=t.filter(e=>!e.isDisabled),i=[...new Set(t.map(e=>e.value))],s=i.length>1;!s&&0===o.length||n.push({name:e,selectedValue:(o[0]??a).value,options:s?i:[],isPreset:s,location:a.location,siblings:t.map(({location:e,index:t,value:a})=>({location:e,index:t,value:a}))})}return n}});function prt(){return Pa({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var hrt,mrt,frt,grt,vrt,brt,yrt,wrt,xrt,Ort,krt,Srt,Art,Trt,_rt,Crt,Ert,Prt,Mrt,Nrt,$rt,Irt,Rrt,Drt,Lrt,Brt,jrt,Urt,zrt,Hrt,Zrt,Vrt,qrt,Qrt,Frt,Wrt,Grt,Xrt,Yrt,Krt,Jrt,ent,tnt,ant,rnt,nnt,ont,int,snt,lnt,cnt,unt,dnt,pnt,hnt,mnt,fnt,gnt,vnt,bnt,ynt,wnt,xnt,Ont=V(()=>{CQe(),h_(),Bc(),Xk(),Oh(),hrt={key:0,class:"close-button z-10 fixed right-2 top-2"},mrt={},frt=Cn({...mrt,__name:"ScalarModal",props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:"md"},variant:{}},emits:["close"],setup(e,{emit:t}){let a=t,r=a_({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=a_({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)=>(Ho(),Fo(qa(dp),{open:e.state.open,onClose:o[1]||=()=>{e.state.hide(),a("close")}},{default:sn(()=>[Xo("div",{class:tt(qa(r_)("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"))},[Fs(qa(pp),{class:tt(qa(r)({size:e.size,variant:e.variant})),style:Je({maxWidth:e.maxWidth})},{default:sn(()=>[e.title?(Ho(),Fo(qa(hp),{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:sn(()=>[ei(Yt(e.title),1)]),_:1})):ai("",!0),"full"===e.size?(Ho(),Qo("div",{key:1,class:tt(e.bodyClass)},[Kn(t.$slots,"default",{},void 0,!0)],2)):(Ho(),Qo("div",{key:2,class:tt(qa(r_)(qa(n)({size:e.size,variant:e.variant}),e.bodyClass))},[Kn(t.$slots,"default",{},void 0,!0)],2))]),_:3},8,["class","style"]),"full"===e.size?(Ho(),Qo("div",hrt,[Fs(qa(tQe),{class:"hover:bg-b-3 focus:outline-none",icon:qa(Ix),label:"Close modal",onClick:o[0]||=t=>e.state.hide()},null,8,["icon"])])):ai("",!0)],2)]),_:3},8,["open"]))}})}),knt=V(()=>{zK(),Ont(),grt=MK(frt,[["__scopeId","data-v-5bb1dcc2"]])}),Snt=V(()=>{Ont(),knt()}),Ant=V(()=>{Bc(),mae(),Snt(),vrt={class:"text-c-2 mb-4 text-sm leading-normal"},brt={class:"flex justify-between gap-2"},yrt=Cn({__name:"DeleteRequestAuthModal",props:{state:{},label:{}},emits:["close","delete"],setup(e,{emit:t}){let a=t,r=()=>{a("delete")};return(t,n)=>(Ho(),Fo(qa(grt),{size:"xxs",state:e.state,title:"Delete Security Scheme"},{default:sn(()=>[Xo("p",vrt," This cannot be undone. You're about to delete the "+Yt(e.label)+" security scheme from the collection. ",1),Xo("div",brt,[Fs(qa(sae),{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:sn(()=>[...n[1]||=[ei(" Cancel ",-1)]]),_:1}),Fs(qa(sae),{class:"flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none",type:"submit",onClick:r},{default:sn(()=>[ei(" Delete "+Yt(e.label),1)]),_:1})])]),_:1},8,["state"]))}})}),Tnt=V(()=>{Ant(),wrt=yrt}),_nt=V(()=>{xrt={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:{}}}}}}}),Cnt=V(()=>{Ort=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")}}),Ent=V(()=>{_nt(),eC(),Cnt(),Y9e(),krt=e=>JSON.stringify(Object.keys(e)),Srt=({name:e,value:t})=>({id:Ort(JSON.stringify(t)),label:e,value:t,isDeletable:!0}),Art=e=>Srt({name:Object.keys(e).join(" & "),value:e}),Trt=(e,t)=>{let a=Object.keys(e);if(a.length>1)return a.some(e=>{let a=q_(t[e]);return!!a&&z9e(a)})?void 0:Art(e);if(a[0]){let r=q_(t[a[0]]);return!r||z9e(r)?void 0:Srt({name:a[0],value:e})}},_rt=e=>{let t=null;for(let[a,r]of Object.entries(e)){let e=q_(r);if("oauth2"!==e?.type||z9e(e))continue;let n=e.flows;if(!n)continue;let o=e["x-default-scopes"]??[];if(n.authorizationCode&&!z9e(n.authorizationCode))return{name:a,flows:n,flowType:"authorizationCode",scopes:o};n.implicit&&!z9e(n.implicit)&&!t&&(t={name:a,flows:n,flowType:"implicit",scopes:o})}return t},Crt=(e,t,a,r=!1)=>{let n=new Map(a.map(e=>[krt(e),e])),{requiredFormatted:o,requiredSchemeNames:i,existingIds:s}=e.reduce((e,a)=>{let r=Trt(n.get(krt(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))continue;let t=q_(a);if(t&&!z9e(t)){let t=Srt({name:e,value:{[e]:[]}});l.push(t),s.add(t.id)}}for(let e of a){let a=Trt(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(xrt).map(([e,t])=>({id:e,label:t.label,value:{[e]:[]},payload:t.payload,isDeletable:!1}))}),c):o.length?c:l}}),Pnt=V(()=>{Ert=e=>{let t=new URL(e);return{searchParams:t.searchParams,hashParams:new URLSearchParams(t.hash.slice(1))}},Prt=(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}},Mrt=(e,t="access_token")=>{try{let{searchParams:a,hashParams:r}=Ert(e()),n=Prt(a,r,t),o=Prt(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}}}}),Mnt=V(()=>{Pnt(),RK(),bS(),wF(),Kk(),MY(),NY(),Nrt=(e,t={})=>vF(gF(e?.url??"",bX(e)),t),$rt=(e,t={})=>{let a=Nrt(e,t);return a?Vx(a)?typeof window>"u"?{}:{basePath:a}:{baseUrl:a}:{}},Irt=()=>{let e=new Uint8Array(32);return crypto.getRandomValues(e),LF(e,!0)},Rrt=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 LF(new Uint8Array(r),!0)},Drt=async(e,t,a,r,n,o={},i,s)=>{let l=e[t];try{if(!l)return[Error("Flow not found"),null];let c=a.join(" ");if("clientCredentials"===t||"password"===t)return Lrt(e,t,c,{proxyUrl:n,customFetch:i},r,o);let u=(Math.random()+1).toString(36).substring(2,10),d=aS(e[t]["x-scalar-secret-auth-url"]??e[t].authorizationUrl,$rt(r,o)),p=new URL(d),h=null;if("implicit"===t)p.searchParams.set("response_type","token");else if("authorizationCode"===t){let a=e[t];if(p.searchParams.set("response_type","code"),"no"!==a["x-usePkce"]){let e=Irt(),t=await Rrt(e,a["x-usePkce"]);h={codeVerifier:e,codeChallenge:t,codeChallengeMethod:"SHA-256"===a["x-usePkce"]?"S256":"plain"},p.searchParams.set("code_challenge",t),p.searchParams.set("code_challenge_method",h.codeChallengeMethod)}}let m=e[t];if(!s)if(m["x-scalar-secret-redirect-uri"].startsWith("/")){let e=Nrt(r,o)||window.location.origin+window.location.pathname,t=new URL(m["x-scalar-secret-redirect-uri"],e).toString();p.searchParams.set("redirect_uri",t)}else p.searchParams.set("redirect_uri",m["x-scalar-secret-redirect-uri"]);if(l["x-scalar-security-query"]&&Object.keys(l["x-scalar-security-query"]).forEach(e=>{let t=l["x-scalar-security-query"]?.[e];t&&p.searchParams.set(e,t)}),p.searchParams.set("client_id",l["x-scalar-secret-client-id"]),p.searchParams.set("state",u),c&&p.searchParams.set("scope",c),s){let[a,d]=await s({authorizationUrl:p.toString()});if(a||!d)return[a??Error("Failed to capture the OAuth2 redirect"),null];let{accessToken:m,accessTokenParams:f,code:g,codeParams:v,error:b,errorDescription:y,refreshToken:w}=Mrt(()=>d.callbackUrl,l["x-tokenName"]||"access_token");return b?[Error(`OAuth error: ${b}${y?` (${y})`:""}`),null]:m?(f?.get("state")??null)===u?[null,{accessToken:m,...w?{refreshToken:w}:{}}]:[Error("State mismatch"),null]:g&&"authorizationCode"===t?(v?.get("state")??null)===u?Lrt(e,t,c,{code:g,pkce:h,proxyUrl:n,customFetch:i,redirectUri:d.redirectUri},r,o):[Error("State mismatch"),null]:[Error("No authorization code or access token was returned"),null]}let f=window.open(p,"openAuth2Window","left=100,top=100,width=800,height=600");return f?new Promise(a=>{let s=setInterval(()=>{let{accessToken:d,accessTokenParams:p,code:m,codeParams:g,error:v,errorDescription:b,refreshToken:y}=Mrt(()=>f.location.href,l["x-tokenName"]||"access_token");if(f.closed||d||m||v){if(clearInterval(s),f.close(),v)return void a([Error(`OAuth error: ${v}${b?` (${b})`:""}`),null]);if(d)return void((p?.get("state")??null)===u?a([null,{accessToken:d,...y?{refreshToken:y}:{}}]):a([Error("State mismatch"),null]));if(m&&"authorizationCode"===t)return void((g?.get("state")??null)===u?Lrt(e,t,c,{code:m,pkce:h,proxyUrl:n,customFetch:i},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]}},Lrt=async(e,t,a,{code:r,pkce:n,proxyUrl:o,customFetch:i=fetch,redirectUri:s}={},l,c={})=>{let u=e[t];if(!u)return[Error("OAuth2 flow was not defined"),null];let d=new URLSearchParams;a&&("clientCredentials"===t||"password"===t)&&d.set("scope",a);let p="body"===u["x-scalar-credentials-location"],h=!!u["x-scalar-secret-client-secret"];if((p||"authorizationCode"===t&&!h)&&d.set("client_id",u["x-scalar-secret-client-id"]),p&&h&&d.set("client_secret",u["x-scalar-secret-client-secret"]),s?d.set("redirect_uri",s):"x-scalar-secret-redirect-uri"in u&&u["x-scalar-secret-redirect-uri"]&&d.set("redirect_uri",u["x-scalar-secret-redirect-uri"]),r)d.set("code",r),d.set("grant_type","authorization_code"),n&&d.set("code_verifier",n.codeVerifier);else if("password"===t){let a=e[t];d.set("grant_type","password"),d.set("username",a["x-scalar-secret-username"]),d.set("password",a["x-scalar-secret-password"])}else d.set("grant_type","client_credentials");u["x-scalar-security-body"]&&Object.entries(u["x-scalar-security-body"]).forEach(([e,t])=>{null!=t&&d.set(e,String(t))});try{let e={"Content-Type":"application/x-www-form-urlencoded"};!p&&h&&(e.Authorization=`Basic ${HF(`${u["x-scalar-secret-client-id"]}:${u["x-scalar-secret-client-secret"]}`)}`);let t=aS(u["x-scalar-secret-token-url"]??u.tokenUrl,$rt(l,c)),a=await(await i(EF(o,t)?`${o}?${new URLSearchParams([["scalar_url",t]]).toString()}`:t,{method:"POST",headers:e,body:d})).json(),r=a[u["x-tokenName"]||"access_token"],n=a.refresh_token;return r?[null,{accessToken:r,..."string"==typeof n?{refreshToken:n}:{}}]:[Error(a.error_description??a.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]}},Brt=async(e,t,a,r,n={},o=fetch)=>{let i=e[t];if(!i)return[Error("OAuth2 flow was not defined"),null];let s=i["x-scalar-secret-refresh-token"];if(!s)return[Error("No refresh token available"),null];let l=new URLSearchParams;l.set("grant_type","refresh_token"),l.set("refresh_token",s);let c="body"===i["x-scalar-credentials-location"],u=!!i["x-scalar-secret-client-secret"];(c||"authorizationCode"===t&&!u)&&l.set("client_id",i["x-scalar-secret-client-id"]),c&&u&&l.set("client_secret",i["x-scalar-secret-client-secret"]),i["x-scalar-security-body"]&&Object.entries(i["x-scalar-security-body"]).forEach(([e,t])=>{null!=t&&l.set(e,String(t))});try{let e={"Content-Type":"application/x-www-form-urlencoded"};!c&&u&&(e.Authorization=`Basic ${HF(`${i["x-scalar-secret-client-id"]}:${i["x-scalar-secret-client-secret"]}`)}`);let t=aS(i.refreshUrl||i["x-scalar-secret-token-url"]||i.tokenUrl,$rt(r,n)),d=await(await o(EF(a,t)?`${a}?${new URLSearchParams([["scalar_url",t]]).toString()}`:t,{method:"POST",headers:e,body:l})).json(),p=d[i["x-tokenName"]||"access_token"],h=d.refresh_token;return p?[null,{accessToken:p,..."string"==typeof h?{refreshToken:h}:{refreshToken:s}}]:[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]}}}),Nnt=V(()=>{Y9e(),jrt=e=>e?Object.entries(e).filter(e=>void 0!==e[1]&&!z9e(e[1])).map(([e,t],a)=>({key:e,order:t["x-order"],index:a})).sort((e,t)=>void 0!==e.order&&void 0!==t.order?e.order-t.order:void 0===e.order?void 0===t.order?e.index-t.index:1:-1).map(e=>e.key):[]}),$nt=V(()=>{Urt=e=>e.oauth2RedirectUri?e.oauth2RedirectUri:typeof window>"u"||"file:"===window.location.protocol?"":window.location.origin+window.location.pathname}),Int=V(()=>{Mnt(),$nt(),RK(),zrt=(e,t)=>{let{bearerSchemeName:a,oauth2Name:r,flowType:n,tokens:o}=t;e.emit("auth:update:security-scheme-secrets",{payload:{type:"http","x-scalar-secret-token":o.accessToken},name:a}),o.refreshToken&&e.emit("auth:update:security-scheme-secrets",{payload:{type:"oauth2",[n]:{"x-scalar-secret-refresh-token":o.refreshToken}},name:r})},Hrt=async e=>{let{eventBus:t,bearerSchemeName:a,oauth2Name:r,flows:n,flowType:o,scopes:i,server:s,proxyUrl:l,environment:c,options:u}=e,d=n[o],p=await Drt(!d||"authorizationCode"!==o&&"implicit"!==o?n:{...n,[o]:{...d,"x-scalar-secret-redirect-uri":d["x-scalar-secret-redirect-uri"]||Urt(u??{})||""}},o,i,s,l,gX(c),u?.customFetch,u?.captureOAuth2Callback),h=p[1];return h?.accessToken&&zrt(t,{bearerSchemeName:a,oauth2Name:r,flowType:o,tokens:h}),p}}),Rnt=V(()=>{Nie(),Q_e(),g_e(),Bc(),Xk(),EQe(),Zrt=["for"],Vrt={class:"relative flex min-w-0 flex-1"},qrt=["readOnly","type","value"],Qrt={key:1,class:"centered-y text-orange absolute right-7 text-xs"},Frt=Cn({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:{},environment:{},description:{},withFakeData:{type:Boolean,default:!0}},emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],setup(e,{emit:t}){let a=e,r=t,n=Ha(!0),o=Ha(!1),i=Mn("codeInput"),s=()=>!o.value&&r("inputBlur"),l=il(()=>"password"===a.type?"text":a.type??"text"),c=()=>{!a.enum?.length&&!a.readOnly&&i.value?.focus()};return(t,o)=>(Ho(),Fo(r_e,{class:tt(["relative flex",e.containerClass])},{default:sn(()=>[t.$slots.default?(Ho(),Qo("div",{key:0,class:"text-c-1 flex items-center pr-0 pl-3",for:e.id??"",onClick:c},[Kn(t.$slots,"default",{},void 0,!0),o[6]||=ei(": ",-1)],8,Zrt)):ai("",!0),Xo("div",Vrt,[a.enum&&a.enum.length?(Ho(),Fo(kie,{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"])):(Ho(),Qo(Bs,{key:1},[n.value&&"password"===e.type?(Ho(),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,qrt)):(Ho(),Fo(qa(I_e),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"]],environment:e.environment,modelValue:e.modelValue??"",readOnly:e.readOnly,required:!!e.required,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","environment","modelValue","readOnly","required","type","withFakeData"]))],64))]),t.$slots.warning?(Ho(),Qo("div",Qrt,[Kn(t.$slots,"warning",{},void 0,!0)])):ai("",!0),Kn(t.$slots,"icon",{},void 0,!0),e.modelValue?(Ho(),Fo(qa(tQe),{key:2,class:"-ml-.25 h-6 w-6 self-center p-1.25",icon:qa(Ix),label:"Clear Value",onClick:o[4]||=e=>r("update:modelValue","")},null,8,["icon"])):ai("",!0),"password"===e.type?(Ho(),Fo(qa(tQe),{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?qa(eg):qa(lg),label:n.value?"Show Password":"Hide Password",onClick:o[5]||=e=>n.value=!n.value},null,8,["icon","label"])):ai("",!0)]),_:3},8,["class"]))}})}),Dnt=V(()=>{kh(),Rnt(),Wrt=yh(Frt,[["__scopeId","data-v-a6f4752a"]])}),Lnt=V(()=>{Dnt(),Bc(),Grt=["for"],Xrt=Cn({__name:"RequestAuthDataTableInput",props:oo({containerClass:{},environment:{},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{modelValue:{default:"",required:!0},modelModifiers:{}}),emits:oo(["inputFocus","inputBlur","selectVariable"],["update:modelValue"]),setup(e,{emit:t}){let a=t,r=xo(e,"modelValue"),n=En();return(t,o)=>(Ho(),Fo(qa(Wrt),ii({id:qa(n)},t.$attrs,{modelValue:r.value,"onUpdate:modelValue":o[0]||=e=>r.value=e,canAddCustomEnumValue:!e.readOnly,containerClass:e.containerClass,environment:e.environment,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:sn(()=>[Xo("label",{for:qa(n)},[Kn(t.$slots,"default")],8,Grt)]),icon:sn(()=>[Kn(t.$slots,"icon")]),_:3},16,["id","modelValue","canAddCustomEnumValue","containerClass","environment","readOnly","required","type"]))}})}),Bnt=V(()=>{Lnt(),Yrt=Xrt}),jnt=V(()=>{Bc(),mae(),h_(),Krt={class:"flex gap-2"},Jrt={class:"flex max-h-8 flex-1"},ent=Cn({name:"CommandActionForm",props:{loader:{},disabled:{type:Boolean,default:!1}},emits:["submit","cancel","back"],setup(e,{emit:t}){let a=t,{cx:r}=c_(),n=()=>{e.disabled||a("submit")};return(t,a)=>(Ho(),Qo("form",{class:"flex w-full flex-col gap-3",onKeydown:a[0]||=Pc(Cc(()=>{},["stop"]),["enter"]),onSubmit:Cc(n,["prevent","stop"])},[Xo("div",at(Ko(qa(r)("relative flex min-h-20 flex-col rounded"))),[Kn(t.$slots,"default")],16),Xo("div",Krt,[Xo("div",Jrt,[Kn(t.$slots,"options")]),Fs(qa(sae),{class:"max-h-8 px-3 text-xs",disabled:e.disabled,loader:e.loader,type:"submit"},{default:sn(()=>[Kn(t.$slots,"submit",{},()=>[a[1]||=ei("Continue",-1)])]),_:3},8,["disabled","loader"])])],32))}})}),Unt=V(()=>{jnt(),tnt=ent}),znt=V(()=>{Bc(),ant=["placeholder"],rnt=Cn({name:"CommandActionInput",inheritAttrs:!1,props:{modelValue:{},placeholder:{},autofocus:{type:Boolean,default:!0}},emits:["update:modelValue","delete"],setup(e,{emit:t}){let a=t,r=Ha(null),n=il({get:()=>e.modelValue??"",set:e=>a("update:modelValue",e)});as(()=>{Kr(()=>{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)=>ln((Ho(),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:[Pc(i,["delete"]),Pc(o,["enter"])]}),null,16,ant)),[[xc,n.value]])}})}),Hnt=V(()=>{znt(),nnt=rnt}),Znt=V(()=>{Unt(),Hnt(),Bc(),Snt(),ont={class:"flex min-h-8 items-start gap-2 text-sm"},int={class:"flex min-h-8 items-start gap-2 text-sm"},snt={key:0,class:"text-red text-xs",role:"alert"},lnt=Cn({__name:"OAuthScopesAddModal",props:{state:{},scopes:{},scope:{default:null}},emits:["cancel","submit"],setup(e,{emit:t}){let a=t,r=il(()=>null!==e.scope),n=il(()=>r.value?"Edit Scope":"Add Scope"),o=il(()=>r.value?"Save":"Add Scope"),i=Ha({name:"",description:""}),s=Ha(!1);hn(()=>i.value.name,()=>{s.value=!0});let l=il(()=>i.value.name.trim()),c=il(()=>!(!l.value||r.value&&l.value===e.scope?.name)&&e.scopes.includes(l.value)),u=il(()=>c.value?`A scope named "${l.value}" already exists.`:s.value&&!l.value?"Scope name is required.":null),d=il(()=>!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 hn(()=>e.state.open,t=>{t&&(i.value=e.scope?{name:e.scope.name,description:e.scope.description}:{name:"",description:""},Kr(()=>{s.value=!1}))}),(t,r)=>(Ho(),Fo(qa(grt),{bodyClass:"overflow-y-auto",size:"xs",state:e.state,title:n.value},{default:sn(()=>[Fs(qa(tnt),{disabled:d.value,onCancel:r[2]||=e=>a("cancel"),onSubmit:p},{submit:sn(()=>[ei(Yt(o.value),1)]),default:sn(()=>[Xo("div",ont,[r[3]||=ei(" Name: ",-1),Fs(qa(nnt),{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"])]),Xo("div",int,[r[4]||=ei(" Description: ",-1),Fs(qa(nnt),{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?(Ho(),Qo("div",snt,Yt(u.value),1)):ai("",!0)]),_:1},8,["disabled"])]),_:1},8,["state","title"]))}})}),Vnt=V(()=>{Znt(),cnt=lnt}),qnt=V(()=>{uae(),CQe(),h_(),Bc(),Xk(),unt=["aria-label","placeholder"],dnt=Cn({inheritAttrs:!1,__name:"ScalarSearchInput",props:oo({loader:{},label:{},placeholder:{},clearLabel:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=xo(e,"modelValue"),a=Ha(null);function r(){t.value="",a.value&&a.value.focus()}let{stylingAttrsCx:n,otherAttrs:o}=c_();return(i,s)=>(Ho(),Qo("label",at(Ko(qa(n)("flex items-center text-lg font-medium h-10 pl-3 pr-1.5 py-2 gap-2.25"))),[Fs(qa(Vb),{class:"text-sidebar-c-search size-4"}),ln(Xo("input",ii({ref_key:"inputRef",ref:a},qa(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:e.placeholder??"Search...",spellcheck:"false",type:"search"}),null,16,unt),[[xc,t.value]]),e.loader&&e.loader.isActive?(Ho(),Fo(qa(rae),{key:0,class:"mr-1",loader:e.loader,size:"lg"},null,8,["loader"])):t.value?(Ho(),Fo(qa(tQe),{key:1,class:"-my-1",icon:qa(Ix),label:e.clearLabel??"Clear Search",size:"sm",weight:"bold",onClick:Cc(r,["stop","prevent"])},null,8,["icon","label"])):ai("",!0)],16))}})}),Qnt=V(()=>{qnt(),pnt=dnt}),Fnt=V(()=>{Qnt()}),Wnt=V(()=>{g_e(),W_e(),j_e(),Vnt(),Bc(),mae(),Xk(),Snt(),Yte(),EQe(),Oh(),Fnt(),hnt={class:"flex h-fit w-full"},mnt={class:"group/scopes-accordion flex h-auto min-h-8 items-center gap-1.5 pr-2.25 pl-3 text-left"},fnt={class:"flex shrink-0 items-center gap-1.75"},gnt={class:"grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-auto",style:{gridTemplateColumns:"1fr auto"}},vnt={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"},bnt={class:"font-code shrink-0 text-xs"},ynt={class:"whitespace-nowrap"},wnt=Cn({__name:"OAuthScopesInput",props:{flowType:{},flow:{},selectedScopes:{}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){let a=t,r=Ha(""),n=Ha(null),o=il(()=>Object.entries(e.flow?.scopes??{}).map(([e,t])=>({id:e,label:e,description:t}))),i=il(()=>Object.keys(e.flow?.scopes??{}).length),s=il(()=>i.value>=10),l=il(()=>{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=il(()=>Object.keys(e.flow?.scopes??{}).length>0),u=il(()=>e.selectedScopes.length===Object.keys(e.flow?.scopes??{}).length),d=(e,t)=>{a("update:selectedScopes",{scope:e,selected:t})},p=()=>a("update:selectedScopes",{scopes:Object.keys(e.flow?.scopes??{})}),h=()=>a("update:selectedScopes",{scopes:[]}),m=prt(),f=Ha(0),g=Ha(!1);hn(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 Kr(),g.value=!1)},w=t=>{a("delete:scope",{scope:t,flowType:e.flowType})};return(t,a)=>(Ho(),Fo(qa(r_e),{class:"h-auto !max-h-[initial] min-h-8 items-center"},{default:sn(()=>[Xo("div",hnt,[a[7]||=Xo("div",{class:"text-c-1 h-full items-center"},null,-1),(Ho(),Fo(qa(yp),{key:f.value,as:"div",class:"bl flex w-full flex-col",defaultOpen:g.value},{default:sn(()=>[Xo("div",mnt,[Fs(qa(wp),{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:sn(()=>[c.value?(Ho(),Qo(Bs,{key:0},[ei(" Scopes Selected "+Yt(e.selectedScopes.length||0)+" / "+Yt(Object.keys(e.flow?.scopes??{}).length||0),1)],64)):(Ho(),Qo(Bs,{key:1},[ei(" No Scopes Defined ")],64))]),_:1},8,["class","disabled"]),Xo("div",fnt,[Fs(qa(sae),{class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Cc(v,["stop"])},{default:sn(()=>[...a[3]||=[ei(" Add Scope ",-1)]]),_:1}),c.value&&u.value?(Ho(),Fo(qa(sae),{key:0,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Cc(h,["stop"])},{default:sn(()=>[...a[4]||=[ei(" Deselect All ",-1)]]),_:1})):ai("",!0),c.value&&!u.value?(Ho(),Fo(qa(sae),{key:1,class:"pr-0.75 pl-1 transition-none",size:"sm",variant:"ghost",onClick:Cc(p,["stop"])},{default:sn(()=>[...a[5]||=[ei(" Select All ",-1)]]),_:1})):ai("",!0),c.value?(Ho(),Fo(qa(wp),{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:sn(({open:e})=>[Fs(qa(Dte),{class:"group-hover/scopes-accordion:text-c-2",icon:e?"ChevronDown":"ChevronRight",size:"md"},null,8,["icon"])]),_:1})):ai("",!0)])]),Fs(qa(xp),{as:"template"},{default:sn(()=>[Xo("div",null,[s.value?(Ho(),Fo(qa(pnt),{key:0,modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,class:"flex items-center text-xs"},null,8,["modelValue"])):ai("",!0),Xo("table",gnt,[(Ho(!0),Qo(Bs,null,Xn(l.value,({id:t,label:r,description:n})=>(Ho(),Fo(qa(x_e),{key:t,class:"text-c-2 group/scope-row",onClick:a=>d(t,!e.selectedScopes.includes(t))},{default:sn(()=>[Fs(qa(r_e),{class:"box-border flex !max-h-[initial] w-full min-w-0 cursor-pointer items-stretch overflow-hidden px-0 py-0"},{default:sn(()=>[Xo("div",vnt,[Xo("span",bnt,Yt(r),1),String(n??"").trim()?(Ho(),Qo(Bs,{key:0},[a[6]||=Xo("span",{class:"shrink-0"},"–",-1),Xo("span",ynt,Yt(n),1)],64)):ai("",!0)]),Xo("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]||=Cc(()=>{},["stop"])},[Fs(qa(tQe),{icon:qa(my),label:`Edit ${r}`,size:"sm",onClick:Cc(e=>b({id:t,description:n??""}),["stop"])},null,8,["icon","label","onClick"]),Fs(qa(tQe),{icon:qa(Uw),label:`Delete ${r}`,size:"sm",onClick:Cc(e=>w(t),["stop"])},null,8,["icon","label","onClick"])])]),_:2},1024),Fs(qa(L_e),{ariaLabel:`Select ${r} scope`,modelValue:e.selectedScopes.includes(t),onClick:a[2]||=Cc(()=>{},["stop"]),"onUpdate:modelValue":e=>d(t,e)},null,8,["ariaLabel","modelValue","onUpdate:modelValue"])]),_:2},1032,["onClick"]))),128))])])]),_:1})]),_:1},8,["defaultOpen"]))]),Fs(cnt,{scope:n.value,scopes:Object.keys(e.flow.scopes??{}),state:qa(m),onSubmit:y},null,8,["scope","scopes","state"])]),_:1}))}})}),Gnt=V(()=>{Wnt(),xnt=wnt});function Xnt(e,t){let a=t?.id||sot++;return cot.create({message:e,id:a,type:"default",...t}),a}function Ynt(e){return void 0!==e.label}function Knt(e,t){return Ho(),Qo("svg",bot,t[0]||=[Xo("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),Xo("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)])}function Jnt(e,t){return Ho(),Qo("svg",kot,t[0]||=[Xo("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 eot(e,t){return Ho(),Qo("svg",Aot,t[0]||=[Xo("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 tot(e,t){return Ho(),Qo("svg",_ot,t[0]||=[Xo("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 aot(e,t){return Ho(),Qo("svg",Eot,t[0]||=[Xo("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 rot(...e){return e.filter(Boolean).join(" ")}var not,oot,iot,sot,lot,cot,uot,dot,pot,hot,mot,fot,got,vot,bot,yot,wot,xot,Oot,kot,Sot,Aot,Tot,_ot,Cot,Eot,Pot,Mot,Not,$ot,Iot,Rot,Dot=V(()=>{Bc(),not=Object.defineProperty,oot=(e,t,a)=>t in e?not(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,iot=(e,t,a)=>oot(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%)}"),sot=0,lot=class{constructor(){iot(this,"subscribers"),iot(this,"toasts"),iot(this,"subscribe",e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)})),iot(this,"publish",e=>{this.subscribers.forEach(t=>t(e))}),iot(this,"addToast",e=>{this.publish(e),this.toasts=[...this.toasts,e]}),iot(this,"create",e=>{let{message:t,...a}=e,r="number"==typeof e.id||e.id&&e.id?.length>0?e.id:sot++,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}),iot(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)),iot(this,"message",(e,t)=>this.create({...t,message:e,type:"default"})),iot(this,"error",(e,t)=>this.create({...t,type:"error",message:e})),iot(this,"success",(e,t)=>this.create({...t,type:"success",message:e})),iot(this,"info",(e,t)=>this.create({...t,type:"info",message:e})),iot(this,"warning",(e,t)=>this.create({...t,type:"warning",message:e})),iot(this,"loading",(e,t)=>this.create({...t,type:"loading",message:e})),iot(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],uot(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})}),iot(this,"custom",(e,t)=>{let a=t?.id||sot++;return this.publish({component:e,id:a,...t}),a}),this.subscribers=[],this.toasts=[]}},cot=new lot,uot=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,dot=Xnt,pot=()=>cot.toasts,hot=Object.assign(dot,{success:cot.success,info:cot.info,warning:cot.warning,error:cot.error,custom:cot.custom,message:cot.message,promise:cot.promise,dismiss:cot.dismiss,loading:cot.loading},{getHistory:pot}),mot=["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"],fot=["aria-label","data-disabled"],got=Cn({__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=Ha(!1),o=Ha(!1),i=Ha(!1),s=Ha(!1),l=Ha(!1),c=Ha(0),u=Ha(0),d=Ha(a.toast.duration||a.duration||4e3),p=Ha(null),h=Ha(null),m=il(()=>0===a.index),f=il(()=>a.index+1<=a.visibleToasts),g=il(()=>a.toast.type),v=il(()=>!1!==a.toast.dismissible),b=il(()=>a.toast.class||""),y=il(()=>a.descriptionClass||""),w=a.toast.style||{},x=il(()=>a.heights.findIndex(e=>e.toastId===a.toast.id)||0),O=il(()=>a.toast.closeButton??a.closeButton);il(()=>a.toast.duration||a.duration||4e3);let k=Ha(0),S=Ha(0),A=Ha(null),T=il(()=>a.position.split("-")),_=il(()=>T.value[0]),C=il(()=>T.value[1]),E=il(()=>"string"!=typeof a.toast.title),P=il(()=>"string"!=typeof a.toast.description),M=il(()=>a.heights.reduce((e,t,a)=>a>=x.value?e:e+t.height,0)),N=function(){let e=Ha(!1);return pn(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)}),{isDocumentHidden:e}}(),$=il(()=>a.toast.invert||a.invert),I=il(()=>"loading"===g.value),R=il(()=>x.value*a.gap+M.value||0);function D(){o.value=!0,c.value=R.value;let e=a.heights.filter(e=>e.toastId!==a.toast.id);r("update:heights",e),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"===_.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 as(()=>{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)}),pn(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&&N?(()=>{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)})}),hn(()=>a.toast.delete,()=>{a.toast.delete&&D()},{deep:!0}),as(()=>{if(n.value=!0,h.value){let e=h.value.getBoundingClientRect().height;u.value=e;let t=[{toastId:a.toast.id,height:e,position:a.toast.position},...a.heights];r("update:heights",t)}}),os(()=>{if(h.value){let e=a.heights.filter(e=>e.toastId!==a.toast.id);r("update:heights",e)}}),(e,t)=>{var r,l;return Ho(),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":_.value,"data-x-position":C.value,"data-index":e.index,"data-front":m.value,"data-swiping":i.value,"data-dismissible":v.value,"data-type":g.value,"data-invert":$.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,...qa(w)}),onPointerdown:B,onPointerup:j,onPointermove:U},[O.value&&!e.toast.component?(Ho(),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?(Ho(),Fo(Fn(e.icons?.close),{key:0})):Kn(e.$slots,"close-icon",{key:1})],10,fot)):ai("",!0),e.toast.component?(Ho(),Fo(Fn(e.toast.component),ii({key:1},e.toast.componentProps,{onCloseToast:L}),null,16)):(Ho(),Qo(Bs,{key:2},["default"!==g.value||e.toast.icon||e.toast.promise?(Ho(),Qo("div",{key:0,"data-icon":"",class:tt(e.cn(e.classes?.icon,e.toast?.classes?.icon))},[e.toast.icon?(Ho(),Fo(Fn(e.toast.icon),{key:0})):(Ho(),Qo(Bs,{key:1},["loading"===g.value?Kn(e.$slots,"loading-icon",{key:0}):"success"===g.value?Kn(e.$slots,"success-icon",{key:1}):"error"===g.value?Kn(e.$slots,"error-icon",{key:2}):"warning"===g.value?Kn(e.$slots,"warning-icon",{key:3}):"info"===g.value?Kn(e.$slots,"info-icon",{key:4}):ai("",!0)],64))],2)):ai("",!0),Xo("div",{"data-content":"",class:tt(e.cn(e.classes?.content,e.toast?.classes?.content))},[Xo("div",{"data-title":"",class:tt(e.cn(e.classes?.title,e.toast.classes?.title))},[E.value?(Ho(),Fo(Fn(e.toast.title),at(ii({key:0},e.toast.componentProps)),null,16)):(Ho(),Qo(Bs,{key:1},[ei(Yt(e.toast.title),1)],64))],2),e.toast.description?(Ho(),Qo("div",{key:0,"data-description":"",class:tt(e.cn(e.descriptionClass,y.value,e.classes?.description,e.toast.classes?.description))},[P.value?(Ho(),Fo(Fn(e.toast.description),at(ii({key:0},e.toast.componentProps)),null,16)):(Ho(),Qo(Bs,{key:1},[ei(Yt(e.toast.description),1)],64))],2)):ai("",!0)],2),e.toast.cancel?(Ho(),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;qa(Ynt)(e.toast.cancel)&&v.value&&(null==(r=(a=e.toast.cancel).onClick)||r.call(a,t),D())}},Yt(qa(Ynt)(e.toast.cancel)?e.toast.cancel?.label:e.toast.cancel),7)):ai("",!0),e.toast.action?(Ho(),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;qa(Ynt)(e.toast.action)&&(t.defaultPrevented||(null==(r=(a=e.toast.action).onClick)||r.call(a,t),!t.defaultPrevented&&D()))}},Yt(qa(Ynt)(e.toast.action)?e.toast.action?.label:e.toast.action),7)):ai("",!0)],64))],46,mot)}}}),vot=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a},bot={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"},yot=vot({},[["render",Knt]]),wot=["data-visible"],xot={class:"sonner-spinner"},Oot=Cn({__name:"Loader",props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,a)=>(Ho(),Qo("div",{class:"sonner-loading-wrapper","data-visible":e.visible},[Xo("div",xot,[(Ho(!0),Qo(Bs,null,Xn(qa(t),e=>(Ho(),Qo("div",{key:`spinner-bar-${e}`,class:"sonner-loading-bar"}))),128))])],8,wot))}}),kot={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Sot=vot({},[["render",Jnt]]),Aot={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Tot=vot({},[["render",eot]]),_ot={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Cot=vot({},[["render",tot]]),Eot={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Pot=vot({},[["render",aot]]),Mot=["aria-label"],Not=["dir","data-theme","data-rich-colors","data-y-position","data-x-position","data-lifted"],$ot="32px",Iot=typeof window<"u"&&typeof document<"u",Rot=Cn({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:$ot},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:rot}},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=ao(),n=Ha([]),o=il(()=>(e,t)=>n.value.filter(a=>!a.position&&0===t||a.position===e)),i=il(()=>{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=Ha([]),l=Ha(!1),c=Ha(!1),u=Ha("system"===t.theme?typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t.theme),d=Ha(null),p=Ha(null),h=Ha(!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||cot.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 pn(e=>{e(cot.subscribe(e=>{e.dismiss?n.value=n.value.map(t=>t.id===e.id?{...t,delete:!0}:t):Kr(()=>{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)]})}))}),hn(()=>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)}})}}),pn(()=>{d.value&&p.value&&(p.value.focus({preventScroll:!0}),p.value=null,h.value=!1)}),pn(()=>{n.value.length<=1&&(l.value=!1)}),pn(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)}Iot&&(document.addEventListener("keydown",a),e(()=>{document.removeEventListener("keydown",a)}))}),(e,u)=>(Ho(),Qo("section",{"aria-label":`${e.containerAriaLabel} ${qa(m)}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false"},[(Ho(!0),Qo(Bs,null,Xn(i.value,(i,p)=>(Ho(),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||$ot,"--width":"356px","--gap":`${e.gap}px`,...e.style,...qa(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}),[(Ho(!0),Qo(Bs,null,Xn(o.value(i,p),(t,a)=>(Ho(),Fo(got,{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":sn(()=>[Kn(e.$slots,"close-icon",{},()=>[Fs(yot)])]),"loading-icon":sn(()=>[Kn(e.$slots,"loading-icon",{},()=>[Fs(Oot,{visible:"loading"===t.type},null,8,["visible"])])]),"success-icon":sn(()=>[Kn(e.$slots,"success-icon",{},()=>[Fs(Sot)])]),"error-icon":sn(()=>[Kn(e.$slots,"error-icon",{},()=>[Fs(Pot)])]),"warning-icon":sn(()=>[Kn(e.$slots,"warning-icon",{},()=>[Fs(Cot)])]),"info-icon":sn(()=>[Kn(e.$slots,"info-icon",{},()=>[Fs(Tot)])]),_: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,Not))),128))],8,Mot))}})});function Lot(e){jot.toast=e}function Bot(){return{initializeToasts:Lot,toast:(e,t="info",a={timeout:3e3})=>{jot.toast(e,t,a)}}}var jot,Uot,zot=V(()=>{Bc(),Dot(),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)}}(),jot={toast:()=>null},Uot=Cn({__name:"ScalarToasts",setup(e){let t=Ha(!1);as(()=>t.value=!0);let a={success:hot.success,error:hot.error,warn:hot.warning,info:hot},{initializeToasts:r}=Bot();return r((e,t="info",r={})=>{(a[t]||a.info)(e,{duration:r.timeout||3e3,description:r.description})}),(e,a)=>t.value?(Ho(),Fo(qa(Rot),{key:0,class:"scalar-toaster"})):ai("",!0)}})});function Hot(){return Pa({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=>setTimeout(a?()=>e():()=>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=>setTimeout(a?()=>e():()=>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 Zot=V(()=>{Bc()}),Vot=V(()=>{uae(),Zot()});function qot(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 Qot(e){return e&&Object.assign(Xot,e),Xot}var Fot,Wot,Got,Xot,Yot=V(()=>{Wot=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Got=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}},(Fot=globalThis).__zod_globalConfig??(Fot.__zod_globalConfig={}),Xot=globalThis.__zod_globalConfig});function Kot(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 Jot(e,t){return"bigint"==typeof t?t.toString():t}function eit(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function tit(e){return null==e}function ait(e){let t=+!!e.startsWith("^"),a=e.endsWith("$")?e.length-1:e.length;return e.slice(t,a)}function rit(e,t,a){let r;Object.defineProperty(e,t,{get(){if(r!==wit)return void 0===r&&(r=wit,r=a()),r},set(a){Object.defineProperty(e,t,{value:a})},configurable:!0})}function nit(e,t,a){Object.defineProperty(e,t,{value:a,writable:!0,enumerable:!0,configurable:!0})}function oit(...e){let t={};for(let a of e){let e=Object.getOwnPropertyDescriptors(a);Object.assign(t,e)}return Object.defineProperties({},t)}function iit(e){return JSON.stringify(e)}function sit(e){return"object"==typeof e&&!!e&&!Array.isArray(e)}function lit(e){if(!1===sit(e))return!1;let t=e.constructor;if(void 0===t||"function"!=typeof t)return!0;let a=t.prototype;return!(!1===sit(a)||!1===Object.prototype.hasOwnProperty.call(a,"isPrototypeOf"))}function cit(e){return lit(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function uit(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function dit(e,t,a){let r=new e._zod.constr(t??e._zod.def);return(!t||a?.parent)&&(r._zod.parent=e),r}function pit(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 hit(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 mit(e,t=0){if(!0===e.aborted)return!0;for(let a=t;a<e.issues.length;a++)if(!1===e.issues[a]?.continue)return!0;return!1}function fit(e,t){return t.map(t=>{var a;return(a=t).path??(a.path=[]),t.path.unshift(e),t})}function git(e){return"string"==typeof e?e:e?.message}function vit(e,t,a){let r=e.message?e.message:git(e.inst?._zod.def?.error?.(e))??git(t?.error?.(e))??git(a.customError?.(e))??git(a.localeError?.(e))??"Invalid input",{inst:n,continue:o,input:i,...s}=e;return s.path??=[],s.message=r,t?.reportInput&&(s.input=i),s}function bit(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function yit(...e){let[t,a,r]=e;return"string"==typeof t?{message:t,code:"custom",input:a,inst:r}:{...t}}var wit,xit,Oit,kit,Sit,Ait=V(()=>{Yot(),wit=Symbol("evaluating"),xit="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{},Oit=eit(()=>{if(Xot.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch{return!1}}),kit=new Set(["string","number","symbol"]),Sit={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]}});var Tit,_it,Cit,Eit,Pit,Mit,Nit,$it,Iit,Rit,Dit,Lit,Bit,jit,Uit,zit,Hit,Zit=V(()=>{Yot(),Ait(),Tit=(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,Jot,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},_it=qot("$ZodError",Tit),Cit=qot("$ZodError",Tit,{Parent:Error})}),Vit=V(()=>{Yot(),Zit(),Ait(),Eit=e=>(t,a,r,n)=>{let o=r?{...r,async:!1}:{async:!1},i=t._zod.run({value:a,issues:[]},o);if(i instanceof Promise)throw new Wot;if(i.issues.length){let t=new(n?.Err??e)(i.issues.map(e=>vit(e,o,Qot())));throw xit(t,n?.callee),t}return i.value},Pit=e=>async(t,a,r,n)=>{let o=r?{...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=>vit(e,o,Qot())));throw xit(t,n?.callee),t}return i.value},Mit=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 Wot;return o.issues.length?{success:!1,error:new(e??_it)(o.issues.map(e=>vit(e,n,Qot())))}:{success:!0,data:o.value}},Nit=Mit(Cit),$it=e=>async(t,a,r)=>{let n=r?{...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=>vit(e,n,Qot())))}:{success:!0,data:o.value}},Iit=$it(Cit),Rit=e=>(t,a,r)=>{let n=r?{...r,direction:"backward"}:{direction:"backward"};return Eit(e)(t,a,n)},Dit=e=>(t,a,r)=>Eit(e)(t,a,r),Lit=e=>async(t,a,r)=>{let n=r?{...r,direction:"backward"}:{direction:"backward"};return Pit(e)(t,a,n)},Bit=e=>async(t,a,r)=>Pit(e)(t,a,r),jit=e=>(t,a,r)=>{let n=r?{...r,direction:"backward"}:{direction:"backward"};return Mit(e)(t,a,n)},Uit=e=>(t,a,r)=>Mit(e)(t,a,r),zit=e=>async(t,a,r)=>{let n=r?{...r,direction:"backward"}:{direction:"backward"};return $it(e)(t,a,n)},Hit=e=>async(t,a,r)=>$it(e)(t,a,r)});function qit(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 Qit,Fit,Wit,Git,Xit,Yit,Kit,Jit,est,tst,ast,rst,nst,ost,ist,sst,lst,cst,ust,dst,pst,hst,mst,fst,gst,vst,bst,yst,wst,xst,Ost,kst,Sst,Ast,Tst,_st,Cst,Est,Pst,Mst,Nst,$st,Ist,Rst,Dst,Lst,Bst,jst=V(()=>{Qit=/^[cC][0-9a-z]{6,}$/,Fit=/^[0-9a-z]+$/,Wit=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Git=/^[0-9a-vA-V]{20}$/,Xit=/^[A-Za-z0-9]{27}$/,Yit=/^[a-zA-Z0-9_-]{21}$/,Kit=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Jit=/^([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})$/,est=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)$/,tst=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,ast="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",rst=/^(?:(?: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])$/,nst=/^(([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}|:))$/,ost=/^((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])$/,ist=/^(([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])$/,sst=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,lst=/^[A-Za-z0-9_-]*$/,cst=/^https?$/,ust=/^\+[1-9]\d{6,14}$/,dst="(?:(?:\\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])))",pst=RegExp(`^${dst}$`),hst=e=>RegExp(`^${e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*"}$`),mst=/^-?\d+$/,fst=/^-?\d+(?:\.\d+)?$/,gst=/^(?:true|false)$/i,vst=/^null$/i,bst=/^[^A-Z]*$/,yst=/^[^a-z]*$/}),Ust=V(()=>{Yot(),jst(),Ait(),wst=qot("$ZodCheck",(e,t)=>{var a;e._zod??={},e._zod.def=t,(a=e._zod).onattach??(a.onattach=[])}),xst={number:"number",bigint:"bigint",object:"date"},Ost=qot("$ZodCheckLessThan",(e,t)=>{wst.init(e,t);let a=xst[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})}}),kst=qot("$ZodCheckGreaterThan",(e,t)=>{wst.init(e,t);let a=xst[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})}}),Sst=qot("$ZodCheckMultipleOf",(e,t)=>{wst.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/t,r=Math.round(a),n=2**-52*Math.max(Math.abs(a),1);return Math.abs(a-r)<n?0:a-r}(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})}}),Ast=qot("$ZodCheckNumberFormat",(e,t)=>{wst.init(e,t),t.format=t.format||"float64";let a=t.format?.includes("int"),r=a?"int":"number",[n,o]=Sit[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=mst)}),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})}}),Tst=qot("$ZodCheckMaxLength",(e,t)=>{var a;wst.init(e,t),(a=e._zod.def).when??(a.when=e=>{let t=e.value;return!tit(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=bit(r);a.issues.push({origin:n,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),_st=qot("$ZodCheckMinLength",(e,t)=>{var a;wst.init(e,t),(a=e._zod.def).when??(a.when=e=>{let t=e.value;return!tit(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=bit(r);a.issues.push({origin:n,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Cst=qot("$ZodCheckLengthEquals",(e,t)=>{var a;wst.init(e,t),(a=e._zod.def).when??(a.when=e=>{let t=e.value;return!tit(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=bit(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})}}),Est=qot("$ZodCheckStringFormat",(e,t)=>{var a,r;wst.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=()=>{})}),Pst=qot("$ZodCheckRegex",(e,t)=>{Est.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})}}),Mst=qot("$ZodCheckLowerCase",(e,t)=>{t.pattern??=bst,Est.init(e,t)}),Nst=qot("$ZodCheckUpperCase",(e,t)=>{t.pattern??=yst,Est.init(e,t)}),$st=qot("$ZodCheckIncludes",(e,t)=>{wst.init(e,t);let a=uit(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})}}),Ist=qot("$ZodCheckStartsWith",(e,t)=>{wst.init(e,t);let a=RegExp(`^${uit(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})}}),Rst=qot("$ZodCheckEndsWith",(e,t)=>{wst.init(e,t);let a=RegExp(`.*${uit(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})}}),Dst=qot("$ZodCheckOverwrite",(e,t)=>{wst.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}})}),zst=V(()=>{Lst=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"))}}}),Hst=V(()=>{Bst={major:4,minor:4,patch:3}});function Zst(e){if(""===e)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}function Vst(e,t,a){e.issues.length&&t.issues.push(...fit(a,e.issues)),t.value[a]=e.value}function qst(e,t,a,r,n,o){let i=a in r;if(e.issues.length){if(n&&o&&!i)return;t.issues.push(...fit(a,e.issues))}i||n?void 0===e.value?i&&(t.value[a]=void 0):t.value[a]=e.value:e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[a]})}function Qst(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 Fst(e,t,a,r,n,o){let i=[],s=n.keySet,l=n.catchall._zod,c=l.def.type,u="optional"===l.optin,d="optional"===l.optout;for(let n in t){if("__proto__"===n||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=>qst(e,a,n,t,u,d))):qst(o,a,n,t,u,d)}return i.length&&a.issues.push({code:"unrecognized_keys",keys:i,input:t,inst:o}),e.length?Promise.all(e).then(()=>a):a}function Wst(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=>!hit(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=>vit(e,r,Qot())))}),t)}function Gst(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(lit(e)&&lit(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=Gst(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=Gst(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 Xst(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}),hit(e))return e;let i=Gst(t.value,a.value);if(!i.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(i.mergeErrorPath)}`);return e.value=i.data,e}function Yst(e,t){return void 0===t&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}function Kst(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}function Jst(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 elt(e,t,a){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},a)}function tlt(e){return e.value=Object.freeze(e.value),e}function alt(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(yit(e))}}var rlt,nlt,olt,ilt,slt,llt,clt,ult,dlt,plt,hlt,mlt,flt,glt,vlt,blt,ylt,wlt,xlt,Olt,klt,Slt,Alt,Tlt,_lt,Clt,Elt,Plt,Mlt,Nlt,$lt,Ilt,Rlt,Dlt,Llt,Blt,jlt,Ult,zlt,Hlt,Zlt,Vlt,qlt,Qlt,Flt,Wlt,Glt,Xlt,Ylt,Klt,Jlt,ect,tct,act=V(()=>{Ust(),Yot(),zst(),Vit(),jst(),Ait(),Hst(),rlt=qot("$ZodType",(e,t)=>{var a;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Bst;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=hit(e);for(let o of t){if(o._zod.def.when){if(mit(e)||!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 Wot;if(r||i instanceof Promise)r=(r??Promise.resolve()).then(async()=>{await i,e.issues.length!==t&&(n||=hit(e,t))});else{if(e.issues.length===t)continue;n||=hit(e,t)}}return r?r.then(()=>e):e},a=(a,n,o)=>{if(hit(a))return a.aborted=!0,a;let i=t(n,r,o);if(i instanceof Promise){if(!1===o.async)throw new Wot;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 Wot;return i.then(e=>t(e,r,o))}return t(i,r,o)}}rit(e,"~standard",()=>({validate:t=>{try{let a=Nit(e,t);return a.success?{value:a.data}:{issues:a.error?.issues}}catch{return Iit(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}))}),nlt=qot("$ZodString",(e,t)=>{rlt.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??hst(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}}),olt=qot("$ZodStringFormat",(e,t)=>{Est.init(e,t),nlt.init(e,t)}),ilt=qot("$ZodGUID",(e,t)=>{t.pattern??=Jit,olt.init(e,t)}),slt=qot("$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??=est(e)}else t.pattern??=est();olt.init(e,t)}),llt=qot("$ZodEmail",(e,t)=>{t.pattern??=tst,olt.init(e,t)}),clt=qot("$ZodURL",(e,t)=>{olt.init(e,t),e._zod.check=a=>{try{let r=a.value.trim();if(!t.normalize&&t.protocol?.source===cst.source&&!/^https?:\/\//i.test(r))return void a.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:a.value,inst:e,continue:!t.abort});let 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})}}}),ult=qot("$ZodEmoji",(e,t)=>{t.pattern??=new RegExp(ast,"u"),olt.init(e,t)}),dlt=qot("$ZodNanoID",(e,t)=>{t.pattern??=Yit,olt.init(e,t)}),plt=qot("$ZodCUID",(e,t)=>{t.pattern??=Qit,olt.init(e,t)}),hlt=qot("$ZodCUID2",(e,t)=>{t.pattern??=Fit,olt.init(e,t)}),mlt=qot("$ZodULID",(e,t)=>{t.pattern??=Wit,olt.init(e,t)}),flt=qot("$ZodXID",(e,t)=>{t.pattern??=Git,olt.init(e,t)}),glt=qot("$ZodKSUID",(e,t)=>{t.pattern??=Xit,olt.init(e,t)}),vlt=qot("$ZodISODateTime",(e,t)=>{t.pattern??=function(e){let t=qit({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(`^${dst}T(?:${r})$`)}(t),olt.init(e,t)}),blt=qot("$ZodISODate",(e,t)=>{t.pattern??=pst,olt.init(e,t)}),ylt=qot("$ZodISOTime",(e,t)=>{t.pattern??=function(e){return RegExp(`^${qit(e)}$`)}(t),olt.init(e,t)}),wlt=qot("$ZodISODuration",(e,t)=>{t.pattern??=Kit,olt.init(e,t)}),xlt=qot("$ZodIPv4",(e,t)=>{t.pattern??=rst,olt.init(e,t),e._zod.bag.format="ipv4"}),Olt=qot("$ZodIPv6",(e,t)=>{t.pattern??=nst,olt.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})}}}),klt=qot("$ZodCIDRv4",(e,t)=>{t.pattern??=ost,olt.init(e,t)}),Slt=qot("$ZodCIDRv6",(e,t)=>{t.pattern??=ist,olt.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})}}}),Alt=qot("$ZodBase64",(e,t)=>{t.pattern??=sst,olt.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=a=>{Zst(a.value)||a.issues.push({code:"invalid_format",format:"base64",input:a.value,inst:e,continue:!t.abort})}}),Tlt=qot("$ZodBase64URL",(e,t)=>{t.pattern??=lst,olt.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=a=>{(function(e){if(!lst.test(e))return!1;let t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return Zst(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})}}),_lt=qot("$ZodE164",(e,t)=>{t.pattern??=ust,olt.init(e,t)}),Clt=qot("$ZodJWT",(e,t)=>{olt.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})}}),Elt=qot("$ZodNumber",(e,t)=>{rlt.init(e,t),e._zod.pattern=e._zod.bag.pattern??fst,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}}),Plt=qot("$ZodNumberFormat",(e,t)=>{Ast.init(e,t),Elt.init(e,t)}),Mlt=qot("$ZodBoolean",(e,t)=>{rlt.init(e,t),e._zod.pattern=gst,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}}),Nlt=qot("$ZodNull",(e,t)=>{rlt.init(e,t),e._zod.pattern=vst,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}}),$lt=qot("$ZodUnknown",(e,t)=>{rlt.init(e,t),e._zod.parse=e=>e}),Ilt=qot("$ZodNever",(e,t)=>{rlt.init(e,t),e._zod.parse=(t,a)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}),Rlt=qot("$ZodArray",(e,t)=>{rlt.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=>Vst(t,a,e))):Vst(s,a,e)}return o.length?Promise.all(o).then(()=>a):a}}),Dlt=qot("$ZodObject",(e,t)=>{if(rlt.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=eit(()=>Qst(t));rit(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=sit,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.optin,n="optional"===a._zod.optout,o=a._zod.run({value:s[e],issues:[]},i);o instanceof Promise?l.push(o.then(a=>qst(a,t,e,s,r,n))):qst(o,t,e,s,r,n)}return o?Fst(l,s,t,i,a.value,e):l.length?Promise.all(l).then(()=>t):t}}),Llt=qot("$ZodObjectJIT",(e,t)=>{Dlt.init(e,t);let a,r,n=e._zod.parse,o=eit(()=>Qst(t)),i=sit,s=!Xot.jitless,l=s&&Oit.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 Lst(["shape","payload","ctx"]),a=o.value,r=e=>{let t=iit(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=iit(o),s=e[o],l="optional"===s?._zod?.optin,c="optional"===s?._zod?.optout;t.write(`const ${a} = ${r(o)};`),l&&c?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      `):l?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(`\n        const ${a}_present = ${i} in input;\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        if (!${a}_present && !${a}.issues.length) {\n          payload.issues.push({\n            code: "invalid_type",\n            expected: "nonoptional",\n            input: undefined,\n            path: [${i}]\n          });\n        }\n\n        if (${a}_present) {\n          if (${a}.value === undefined) {\n            newResult[${i}] = undefined;\n          } else {\n            newResult[${i}] = ${a}.value;\n          }\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?Fst([],p,u,d,r,e):u):n(u,d):(u.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),u)}}),Blt=qot("$ZodUnion",(e,t)=>{rlt.init(e,t),rit(e._zod,"optin",()=>t.options.some(e=>"optional"===e._zod.optin)?"optional":void 0),rit(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),rit(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),rit(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=>ait(e.source)).join("|")})$`)}});let a=1===t.options.length?t.options[0]._zod.run:null;e._zod.parse=(r,n)=>{if(a)return a(r,n);let o=!1,i=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},n);if(t instanceof Promise)i.push(t),o=!0;else{if(0===t.issues.length)return t;i.push(t)}}return o?Promise.all(i).then(t=>Wst(t,r,e,n)):Wst(i,r,e,n)}}),jlt=qot("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Blt.init(e,t);let a=e._zod.parse;rit(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=eit(()=>{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(!sit(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||"backward"===o.direction?a(n,o):(n.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(r.value.keys()),input:i,path:[t.discriminator],inst:e}),n)}}),Ult=qot("$ZodIntersection",(e,t)=>{rlt.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])=>Xst(e,t,a)):Xst(e,n,o)}}),zlt=qot("$ZodRecord",(e,t)=>{rlt.init(e,t),e._zod.parse=(a,r)=>{let n=a.value;if(!lit(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 s of i)if("string"==typeof s||"number"==typeof s||"symbol"==typeof s){l.add("number"==typeof s?s.toString():s);let i=t.keyType._zod.run({value:s,issues:[]},r);if(i instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(i.issues.length){a.issues.push({code:"invalid_key",origin:"record",issues:i.issues.map(e=>vit(e,r,Qot())),input:s,path:[s],inst:e});continue}let c=i.value,u=t.valueType._zod.run({value:n[s],issues:[]},r);u instanceof Promise?o.push(u.then(e=>{e.issues.length&&a.issues.push(...fit(s,e.issues)),a.value[c]=e.value})):(u.issues.length&&a.issues.push(...fit(s,u.issues)),a.value[c]=u.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||!Object.prototype.propertyIsEnumerable.call(n,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&&fst.test(i)&&s.issues.length){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=>vit(e,r,Qot())),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(...fit(i,e.issues)),a.value[s.value]=e.value})):(l.issues.length&&a.issues.push(...fit(i,l.issues)),a.value[s.value]=l.value)}}return o.length?Promise.all(o).then(()=>a):a}}),Hlt=qot("$ZodEnum",(e,t)=>{rlt.init(e,t);let a=Kot(t.entries),r=new Set(a);e._zod.values=r,e._zod.pattern=RegExp(`^(${a.filter(e=>kit.has(typeof e)).map(e=>"string"==typeof e?uit(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}}),Zlt=qot("$ZodLiteral",(e,t)=>{if(rlt.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?uit(e):e?uit(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}}),Vlt=qot("$ZodTransform",(e,t)=>{rlt.init(e,t),e._zod.optin="optional",e._zod.parse=(a,r)=>{if("backward"===r.direction)throw new Got(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.fallback=!0,a));if(n instanceof Promise)throw new Wot;return a.value=n,a.fallback=!0,a}}),qlt=qot("$ZodOptional",(e,t)=>{rlt.init(e,t),e._zod.optin="optional",e._zod.optout="optional",rit(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),rit(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${ait(e.source)})?$`):void 0}),e._zod.parse=(e,a)=>{if("optional"===t.innerType._zod.optin){let r=e.value,n=t.innerType._zod.run(e,a);return n instanceof Promise?n.then(e=>Yst(e,r)):Yst(n,r)}return void 0===e.value?e:t.innerType._zod.run(e,a)}}),Qlt=qot("$ZodExactOptional",(e,t)=>{qlt.init(e,t),rit(e._zod,"values",()=>t.innerType._zod.values),rit(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(e,a)=>t.innerType._zod.run(e,a)}),Flt=qot("$ZodNullable",(e,t)=>{rlt.init(e,t),rit(e._zod,"optin",()=>t.innerType._zod.optin),rit(e._zod,"optout",()=>t.innerType._zod.optout),rit(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${ait(e.source)}|null)$`):void 0}),rit(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)}),Wlt=qot("$ZodDefault",(e,t)=>{rlt.init(e,t),e._zod.optin="optional",rit(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=>Kst(e,t)):Kst(r,t)}}),Glt=qot("$ZodPrefault",(e,t)=>{rlt.init(e,t),e._zod.optin="optional",rit(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))}),Xlt=qot("$ZodNonOptional",(e,t)=>{rlt.init(e,t),rit(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=>Jst(t,e)):Jst(n,e)}}),Ylt=qot("$ZodCatch",(e,t)=>{rlt.init(e,t),e._zod.optin="optional",rit(e._zod,"optout",()=>t.innerType._zod.optout),rit(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=>vit(e,a,Qot()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>vit(e,a,Qot()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),Klt=qot("$ZodPipe",(e,t)=>{rlt.init(e,t),rit(e._zod,"values",()=>t.in._zod.values),rit(e._zod,"optin",()=>t.in._zod.optin),rit(e._zod,"optout",()=>t.out._zod.optout),rit(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=>elt(e,t.in,a)):elt(r,t.in,a)}let r=t.in._zod.run(e,a);return r instanceof Promise?r.then(e=>elt(e,t.out,a)):elt(r,t.out,a)}}),Jlt=qot("$ZodReadonly",(e,t)=>{rlt.init(e,t),rit(e._zod,"propValues",()=>t.innerType._zod.propValues),rit(e._zod,"values",()=>t.innerType._zod.values),rit(e._zod,"optin",()=>t.innerType?._zod?.optin),rit(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(tlt):tlt(r)}}),ect=qot("$ZodLazy",(e,t)=>{rlt.init(e,t),rit(e._zod,"innerType",()=>{let e=t;return e._cachedInner||=t.getter(),e._cachedInner}),rit(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),rit(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),rit(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),rit(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,a)=>e._zod.innerType._zod.run(t,a)}),tct=qot("$ZodCustom",(e,t)=>{wst.init(e,t),rlt.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=>alt(t,a,r,e));alt(n,a,r,e)}})});var rct,nct,oct,ict=V(()=>{nct=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)}},(rct=globalThis).__zod_globalRegistry??(rct.__zod_globalRegistry=new nct),oct=globalThis.__zod_globalRegistry});function sct(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...pit(t)})}function lct(e,t){return new Ost({check:"less_than",...pit(t),value:e,inclusive:!1})}function cct(e,t){return new Ost({check:"less_than",...pit(t),value:e,inclusive:!0})}function uct(e,t){return new kst({check:"greater_than",...pit(t),value:e,inclusive:!1})}function dct(e,t){return new kst({check:"greater_than",...pit(t),value:e,inclusive:!0})}function pct(e,t){return new Sst({check:"multiple_of",...pit(t),value:e})}function hct(e,t){return new Tst({check:"max_length",...pit(t),maximum:e})}function mct(e,t){return new _st({check:"min_length",...pit(t),minimum:e})}function fct(e,t){return new Cst({check:"length_equals",...pit(t),length:e})}function gct(e){return new Dst({check:"overwrite",tx:e})}function vct(e,t){let a=function(e,t){let a=new wst({check:"custom",...pit(t)});return a._zod.check=e,a}(t=>(t.addIssue=e=>{if("string"==typeof e)t.issues.push(yit(e,t.value,a._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??="custom",r.input??=t.value,r.inst??=a,r.continue??=!a._zod.def.abort,t.issues.push(yit(r))}},e(t.value,t)),t);return a}var bct=V(()=>{Ust(),Ait()});function yct(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??oct,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 wct(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,wct(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&&kct(e)&&(delete i.schema.examples,delete i.schema.default),"input"===t.io&&"_prefault"in i.schema&&((r=i.schema).default??(r.default=i.schema._prefault)),delete i.schema._prefault,t.seen.get(e).schema}function xct(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 Oct(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&&a.def)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.metadataRegistry.get(t)?.id;void 0!==o&&n.id===o&&delete n.id;let i=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,i[e.defId]=e.def)}e.external||Object.keys(i).length>0&&("draft-2020-12"===e.target?n.$defs=i:n.definitions=i);try{let a=JSON.parse(JSON.stringify(n));return Object.defineProperty(a,"~standard",{value:{...t["~standard"],jsonSchema:{input:Act(t,"input",e.processors),output:Act(t,"output",e.processors)}},enumerable:!1,writable:!1}),a}catch{throw Error("Error converting schema to JSON.")}}function kct(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 kct(r.element,a);if("set"===r.type)return kct(r.valueType,a);if("lazy"===r.type)return kct(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 kct(r.innerType,a);if("intersection"===r.type)return kct(r.left,a)||kct(r.right,a);if("record"===r.type||"map"===r.type)return kct(r.keyType,a)||kct(r.valueType,a);if("pipe"===r.type)return!!e._zod.traits.has("$ZodCodec")||(kct(r.in,a)||kct(r.out,a));if("object"===r.type){for(let e in r.shape)if(kct(r.shape[e],a))return!0;return!1}if("union"===r.type){for(let e of r.options)if(kct(e,a))return!0;return!1}if("tuple"===r.type){for(let e of r.items)if(kct(e,a))return!0;return!(!r.rest||!kct(r.rest,a))}return!1}var Sct,Act,Tct=V(()=>{ict(),Sct=(e,t={})=>a=>{let r=yct({...a,processors:t});return wct(e,r),xct(r,e),Oct(r,e)},Act=(e,t,a={})=>r=>{let{libraryOptions:n,target:o}=r??{},i=yct({...n??{},target:o,io:t,processors:a});return wct(e,i),xct(i,e),Oct(i,e)}});var _ct,Cct,Ect,Pct,Mct,Nct,$ct,Ict,Rct,Dct,Lct,Bct,jct,Uct,zct,Hct,Zct,Vct,qct,Qct,Fct,Wct,Gct,Xct,Yct,Kct,Jct,eut,tut,aut,rut,nut,out,iut,sut,lut,cut,uut,dut,put,hut=V(()=>{Tct(),Ait(),_ct={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Cct=(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=_ct[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}))])}},Ect=(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";let d="number"==typeof u&&u>=(o??-1/0),p="number"==typeof c&&c<=(i??1/0),h="draft-04"===t.target||"openapi-3.0"===t.target;d?h?(n.minimum=u,n.exclusiveMinimum=!0):n.exclusiveMinimum=u:"number"==typeof o&&(n.minimum=o),p?h?(n.maximum=c,n.exclusiveMaximum=!0):n.exclusiveMaximum=c:"number"==typeof i&&(n.maximum=i),"number"==typeof l&&(n.multipleOf=l)},Pct=(e,t,a,r)=>{a.type="boolean"},Mct=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("BigInt cannot be represented in JSON Schema")},Nct=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Symbols cannot be represented in JSON Schema")},$ct=(e,t,a,r)=>{"openapi-3.0"===t.target?(a.type="string",a.nullable=!0,a.enum=[null]):a.type="null"},Ict=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Undefined cannot be represented in JSON Schema")},Rct=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Void cannot be represented in JSON Schema")},Dct=(e,t,a,r)=>{a.not={}},Bct=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Date cannot be represented in JSON Schema")},jct=(e,t,a,r)=>{let n=Kot(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},Uct=(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},zct=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("NaN cannot be represented in JSON Schema")},Hct=(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},Zct=(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)},Vct=(e,t,a,r)=>{a.type="boolean"},qct=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Custom types cannot be represented in JSON Schema")},Qct=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Function types cannot be represented in JSON Schema")},Fct=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema")},Wct=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Map cannot be represented in JSON Schema")},Gct=(e,t,a,r)=>{if("throw"===t.unrepresentable)throw Error("Set cannot be represented in JSON Schema")},Xct=(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=wct(o.element,t,{...r,path:[...r.path,"items"]})},Yct=(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]=wct(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=wct(o.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):"output"===t.io&&(n.additionalProperties=!1)},Kct=(e,t,a,r)=>{let n=e._zod.def,o=!1===n.inclusive,i=n.options.map((e,a)=>wct(e,t,{...r,path:[...r.path,o?"oneOf":"anyOf",a]}));o?a.oneOf=i:a.anyOf=i},Jct=(e,t,a,r)=>{let n=e._zod.def,o=wct(n.left,t,{...r,path:[...r.path,"allOf",0]}),i=wct(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]]},eut=(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)=>wct(e,t,{...r,path:[...r.path,i,a]})),c=o.rest?wct(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)},tut=(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=wct(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=wct(o.keyType,t,{...r,path:[...r.path,"propertyNames"]})),n.additionalProperties=wct(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)}},aut=(e,t,a,r)=>{let n=e._zod.def,o=wct(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"}]},rut=(e,t,a,r)=>{let n=e._zod.def;wct(n.innerType,t,r),t.seen.get(e).ref=n.innerType},nut=(e,t,a,r)=>{let n=e._zod.def;wct(n.innerType,t,r),t.seen.get(e).ref=n.innerType,a.default=JSON.parse(JSON.stringify(n.defaultValue))},out=(e,t,a,r)=>{let n=e._zod.def;wct(n.innerType,t,r),t.seen.get(e).ref=n.innerType,"input"===t.io&&(a._prefault=JSON.parse(JSON.stringify(n.defaultValue)))},iut=(e,t,a,r)=>{let n,o=e._zod.def;wct(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},sut=(e,t,a,r)=>{let n=e._zod.def,o=n.in._zod.traits.has("$ZodTransform"),i="input"===t.io?o?n.out:n.in:n.out;wct(i,t,r),t.seen.get(e).ref=i},lut=(e,t,a,r)=>{let n=e._zod.def;wct(n.innerType,t,r),t.seen.get(e).ref=n.innerType,a.readOnly=!0},cut=(e,t,a,r)=>{let n=e._zod.def;wct(n.innerType,t,r),t.seen.get(e).ref=n.innerType},uut=(e,t,a,r)=>{let n=e._zod.def;wct(n.innerType,t,r),t.seen.get(e).ref=n.innerType},dut=(e,t,a,r)=>{let n=e._zod.innerType;wct(n,t,r),t.seen.get(e).ref=n},put={string:Cct,number:Ect,boolean:Pct,bigint:Mct,symbol:Nct,null:$ct,undefined:Ict,void:Rct,never:Dct,any:(e,t,a,r)=>{},unknown:Lct=(e,t,a,r)=>{},date:Bct,enum:jct,literal:Uct,nan:zct,template_literal:Hct,file:Zct,success:Vct,custom:qct,function:Qct,transform:Fct,map:Wct,set:Gct,array:Xct,object:Yct,union:Kct,intersection:Jct,tuple:eut,record:tut,nullable:aut,nonoptional:rut,default:nut,prefault:out,catch:iut,pipe:sut,readonly:lut,promise:cut,optional:uut,lazy:dut}}),mut=V(()=>{Yot(),Vit(),Zit(),act(),Ust(),Hst(),Ait(),jst(),ict(),zst(),bct(),Tct(),hut(),Tct()}),fut=V(()=>{mut()});function gut(e){return function(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...pit(t)})}(wut,e)}function vut(e){return function(e,t){return new e({type:"string",format:"date",check:"string_format",...pit(t)})}(xut,e)}function but(e){return function(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...pit(t)})}(Out,e)}function yut(e){return function(e,t){return new e({type:"string",format:"duration",check:"string_format",...pit(t)})}(kut,e)}var wut,xut,Out,kut,Sut,Aut,Tut,_ut,Cut,Eut,Put,Mut,Nut,$ut,Iut,Rut,Dut,Lut,But=V(()=>{mut(),qpt(),wut=qot("ZodISODateTime",(e,t)=>{vlt.init(e,t),hdt.init(e,t)}),xut=qot("ZodISODate",(e,t)=>{blt.init(e,t),hdt.init(e,t)}),Out=qot("ZodISOTime",(e,t)=>{ylt.init(e,t),hdt.init(e,t)}),kut=qot("ZodISODuration",(e,t)=>{wlt.init(e,t),hdt.init(e,t)})}),jut=V(()=>{mut(),Ait(),Sut=(e,t)=>{_it.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>function(e,t=e=>e.message){let a={_errors:[]},r=(e,n=[])=>{for(let o of e.issues)if("invalid_union"===o.code&&o.errors.length)o.errors.map(e=>r({issues:e},[...n,...o.path]));else if("invalid_key"===o.code)r({issues:o.issues},[...n,...o.path]);else if("invalid_element"===o.code)r({issues:o.issues},[...n,...o.path]);else{let e=[...n,...o.path];if(0===e.length)a._errors.push(t(o));else{let r=a,n=0;for(;n<e.length;){let a=e[n];n===e.length-1?(r[a]=r[a]||{_errors:[]},r[a]._errors.push(t(o))):r[a]=r[a]||{_errors:[]},r=r[a],n++}}}};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,Jot,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,Jot,2)}},isEmpty:{get:()=>0===e.issues.length}})},Aut=qot("ZodError",Sut,{Parent:Error})}),Uut=V(()=>{mut(),jut(),Tut=Eit(Aut),_ut=Pit(Aut),Cut=Mit(Aut),Eut=$it(Aut),Put=Rit(Aut),Mut=Dit(Aut),Nut=Lit(Aut),$ut=Bit(Aut),Iut=jit(Aut),Rut=Uit(Aut),Dut=zit(Aut),Lut=Hit(Aut)});function zut(e,t,a){let r=Object.getPrototypeOf(e),n=cdt.get(r);if(n||(n=new Set,cdt.set(r,n)),!n.has(t)){n.add(t);for(let e in a){let t=a[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let a=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:a}),a},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}function Hut(e){return function(e,t){return new e({type:"string",...pit(t)})}(pdt,e)}function Zut(e){return function(e,t){return new e({type:"number",checks:[],...pit(t)})}($dt,e)}function Vut(e){return function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...pit(t)})}(Idt,e)}function qut(e){return function(e,t){return new e({type:"boolean",...pit(t)})}(Rdt,e)}function Qut(e){return function(e,t){return new e({type:"null",...pit(t)})}(Ddt,e)}function Fut(){return function(e){return new e({type:"unknown"})}(Ldt)}function Wut(e){return function(e,t){return new e({type:"never",...pit(t)})}(Bdt,e)}function Gut(e,t){return function(e,t,a){return new e({type:"array",element:t,...pit(a)})}(jdt,e,t)}function Xut(e,t){let a={type:"object",shape:e??{},...pit(t)};return new Udt(a)}function Yut(e,t){return new Udt({type:"object",shape:e,catchall:Wut(),...pit(t)})}function Kut(e,t){return new zdt({type:"union",options:e,...pit(t)})}function Jut(e,t,a){return new Hdt({type:"union",options:t,discriminator:e,...pit(a)})}function edt(e,t,a){return t&&t._zod?new Vdt({type:"record",keyType:e,valueType:t,...pit(a)}):new Vdt({type:"record",keyType:Hut(),valueType:e,...pit(t)})}function tdt(e,t){let a=Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e;return new qdt({type:"enum",entries:a,...pit(t)})}function adt(e,t){return new Qdt({type:"literal",values:Array.isArray(e)?e:[e],...pit(t)})}function rdt(e){return new Wdt({type:"optional",innerType:e})}function ndt(e){return new Xdt({type:"nullable",innerType:e})}function odt(e,t){return new tpt({type:"pipe",in:e,out:t})}function idt(e,t){return function(e,t,a){let r=pit(a);return r.abort??=!0,new e({type:"custom",check:"custom",fn:t,...r})}(npt,e??(()=>!0),t)}function sdt(e,t={}){return function(e,t,a){return new e({type:"custom",check:"custom",fn:t,...pit(a)})}(npt,e,t)}function ldt(e,t={}){let a=new npt({type:"custom",check:"custom",fn:t=>t instanceof e,abort:!0,...pit(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 cdt,udt,ddt,pdt,hdt,mdt,fdt,gdt,vdt,bdt,ydt,wdt,xdt,Odt,kdt,Sdt,Adt,Tdt,_dt,Cdt,Edt,Pdt,Mdt,Ndt,$dt,Idt,Rdt,Ddt,Ldt,Bdt,jdt,Udt,zdt,Hdt,Zdt,Vdt,qdt,Qdt,Fdt,Wdt,Gdt,Xdt,Ydt,Kdt,Jdt,ept,tpt,apt,rpt,npt,opt,ipt,spt,lpt,cpt,upt,dpt,ppt,hpt,mpt,fpt,gpt,vpt,bpt,ypt,wpt,xpt,Opt,kpt,Spt,Apt,Tpt,_pt,Cpt,Ept,Ppt,Mpt,Npt,$pt,Ipt,Rpt,Dpt,Lpt,Bpt,jpt,Upt,zpt,Hpt,Zpt,Vpt,qpt=V(()=>{mut(),hut(),Tct(),fut(),But(),Uut(),cdt=new WeakMap,udt=qot("ZodType",(e,t)=>(rlt.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Act(e,"input"),output:Act(e,"output")}}),e.toJSONSchema=Sct(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(t,a)=>Tut(e,t,a,{callee:e.parse}),e.safeParse=(t,a)=>Cut(e,t,a),e.parseAsync=async(t,a)=>_ut(e,t,a,{callee:e.parseAsync}),e.safeParseAsync=async(t,a)=>Eut(e,t,a),e.spa=e.safeParseAsync,e.encode=(t,a)=>Put(e,t,a),e.decode=(t,a)=>Mut(e,t,a),e.encodeAsync=async(t,a)=>Nut(e,t,a),e.decodeAsync=async(t,a)=>$ut(e,t,a),e.safeEncode=(t,a)=>Iut(e,t,a),e.safeDecode=(t,a)=>Rut(e,t,a),e.safeEncodeAsync=async(t,a)=>Dut(e,t,a),e.safeDecodeAsync=async(t,a)=>Lut(e,t,a),zut(e,"ZodType",{check(...e){let t=this.def;return this.clone(oit(t,{checks:[...t.checks??[],...e.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return dit(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(sdt(e,t))},superRefine(e,t){return this.check(function(e,t){return vct(e,t)}(e,t))},overwrite(e){return this.check(gct(e))},optional(){return rdt(this)},exactOptional(){return function(e){return new Gdt({type:"optional",innerType:e})}(this)},nullable(){return ndt(this)},nullish(){return rdt(ndt(this))},nonoptional(e){return function(e,t){return new Jdt({type:"nonoptional",innerType:e,...pit(t)})}(this,e)},array(){return Gut(this)},or(e){return Kut([this,e])},and(e){return function(e,t){return new Zdt({type:"intersection",left:e,right:t})}(this,e)},transform(e){return odt(this,function(e){return new Fdt({type:"transform",transform:e})}(e))},default(e){return function(e,t){return new Ydt({type:"default",innerType:e,get defaultValue(){return"function"==typeof t?t():cit(t)}})}(this,e)},prefault(e){return function(e,t){return new Kdt({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof t?t():cit(t)}})}(this,e)},catch(e){return function(e,t){return new ept({type:"catch",innerType:e,catchValue:"function"==typeof t?t:()=>t})}(this,e)},pipe(e){return odt(this,e)},readonly(){return function(e){return new apt({type:"readonly",innerType:e})}(this)},describe(e){let t=this.clone();return oct.add(t,{description:e}),t},meta(...e){if(0===e.length)return oct.get(this);let t=this.clone();return oct.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,"description",{get:()=>oct.get(e)?.description,configurable:!0}),e)),ddt=qot("_ZodString",(e,t)=>{nlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Cct(e,t,a,r);let a=e._zod.bag;e.format=a.format??null,e.minLength=a.minimum??null,e.maxLength=a.maximum??null,zut(e,"_ZodString",{regex(...e){return this.check(function(e,t){return new Pst({check:"string_format",format:"regex",...pit(t),pattern:e})}(...e))},includes(...e){return this.check(function(e,t){return new $st({check:"string_format",format:"includes",...pit(t),includes:e})}(...e))},startsWith(...e){return this.check(function(e,t){return new Ist({check:"string_format",format:"starts_with",...pit(t),prefix:e})}(...e))},endsWith(...e){return this.check(function(e,t){return new Rst({check:"string_format",format:"ends_with",...pit(t),suffix:e})}(...e))},min(...e){return this.check(mct(...e))},max(...e){return this.check(hct(...e))},length(...e){return this.check(fct(...e))},nonempty(...e){return this.check(mct(1,...e))},lowercase(e){return this.check(function(e){return new Mst({check:"string_format",format:"lowercase",...pit(e)})}(e))},uppercase(e){return this.check(function(e){return new Nst({check:"string_format",format:"uppercase",...pit(e)})}(e))},trim(){return this.check(gct(e=>e.trim()))},normalize(...e){return this.check(function(e){return gct(t=>t.normalize(e))}(...e))},toLowerCase(){return this.check(gct(e=>e.toLowerCase()))},toUpperCase(){return this.check(gct(e=>e.toUpperCase()))},slugify(){return this.check(gct(e=>function(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}(e)))}})}),pdt=qot("ZodString",(e,t)=>{nlt.init(e,t),ddt.init(e,t),e.email=t=>e.check(function(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...pit(t)})}(mdt,t)),e.url=t=>e.check(function(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...pit(t)})}(vdt,t)),e.jwt=t=>e.check(function(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...pit(t)})}(Ndt,t)),e.emoji=t=>e.check(function(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...pit(t)})}(bdt,t)),e.guid=t=>e.check(sct(fdt,t)),e.uuid=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...pit(t)})}(gdt,t)),e.uuidv4=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...pit(t)})}(gdt,t)),e.uuidv6=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...pit(t)})}(gdt,t)),e.uuidv7=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...pit(t)})}(gdt,t)),e.nanoid=t=>e.check(function(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...pit(t)})}(ydt,t)),e.guid=t=>e.check(sct(fdt,t)),e.cuid=t=>e.check(function(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...pit(t)})}(wdt,t)),e.cuid2=t=>e.check(function(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...pit(t)})}(xdt,t)),e.ulid=t=>e.check(function(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...pit(t)})}(Odt,t)),e.base64=t=>e.check(function(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...pit(t)})}(Edt,t)),e.base64url=t=>e.check(function(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...pit(t)})}(Pdt,t)),e.xid=t=>e.check(function(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...pit(t)})}(kdt,t)),e.ksuid=t=>e.check(function(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...pit(t)})}(Sdt,t)),e.ipv4=t=>e.check(function(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...pit(t)})}(Adt,t)),e.ipv6=t=>e.check(function(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...pit(t)})}(Tdt,t)),e.cidrv4=t=>e.check(function(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...pit(t)})}(_dt,t)),e.cidrv6=t=>e.check(function(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...pit(t)})}(Cdt,t)),e.e164=t=>e.check(function(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...pit(t)})}(Mdt,t)),e.datetime=t=>e.check(gut(t)),e.date=t=>e.check(vut(t)),e.time=t=>e.check(but(t)),e.duration=t=>e.check(yut(t))}),hdt=qot("ZodStringFormat",(e,t)=>{olt.init(e,t),ddt.init(e,t)}),mdt=qot("ZodEmail",(e,t)=>{llt.init(e,t),hdt.init(e,t)}),fdt=qot("ZodGUID",(e,t)=>{ilt.init(e,t),hdt.init(e,t)}),gdt=qot("ZodUUID",(e,t)=>{slt.init(e,t),hdt.init(e,t)}),vdt=qot("ZodURL",(e,t)=>{clt.init(e,t),hdt.init(e,t)}),bdt=qot("ZodEmoji",(e,t)=>{ult.init(e,t),hdt.init(e,t)}),ydt=qot("ZodNanoID",(e,t)=>{dlt.init(e,t),hdt.init(e,t)}),wdt=qot("ZodCUID",(e,t)=>{plt.init(e,t),hdt.init(e,t)}),xdt=qot("ZodCUID2",(e,t)=>{hlt.init(e,t),hdt.init(e,t)}),Odt=qot("ZodULID",(e,t)=>{mlt.init(e,t),hdt.init(e,t)}),kdt=qot("ZodXID",(e,t)=>{flt.init(e,t),hdt.init(e,t)}),Sdt=qot("ZodKSUID",(e,t)=>{glt.init(e,t),hdt.init(e,t)}),Adt=qot("ZodIPv4",(e,t)=>{xlt.init(e,t),hdt.init(e,t)}),Tdt=qot("ZodIPv6",(e,t)=>{Olt.init(e,t),hdt.init(e,t)}),_dt=qot("ZodCIDRv4",(e,t)=>{klt.init(e,t),hdt.init(e,t)}),Cdt=qot("ZodCIDRv6",(e,t)=>{Slt.init(e,t),hdt.init(e,t)}),Edt=qot("ZodBase64",(e,t)=>{Alt.init(e,t),hdt.init(e,t)}),Pdt=qot("ZodBase64URL",(e,t)=>{Tlt.init(e,t),hdt.init(e,t)}),Mdt=qot("ZodE164",(e,t)=>{_lt.init(e,t),hdt.init(e,t)}),Ndt=qot("ZodJWT",(e,t)=>{Clt.init(e,t),hdt.init(e,t)}),$dt=qot("ZodNumber",(e,t)=>{Elt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Ect(e,t,a,r),zut(e,"ZodNumber",{gt(e,t){return this.check(uct(e,t))},gte(e,t){return this.check(dct(e,t))},min(e,t){return this.check(dct(e,t))},lt(e,t){return this.check(lct(e,t))},lte(e,t){return this.check(cct(e,t))},max(e,t){return this.check(cct(e,t))},int(e){return this.check(Vut(e))},safe(e){return this.check(Vut(e))},positive(e){return this.check(uct(0,e))},nonnegative(e){return this.check(dct(0,e))},negative(e){return this.check(lct(0,e))},nonpositive(e){return this.check(cct(0,e))},multipleOf(e,t){return this.check(pct(e,t))},step(e,t){return this.check(pct(e,t))},finite(){return this}});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}),Idt=qot("ZodNumberFormat",(e,t)=>{Plt.init(e,t),$dt.init(e,t)}),Rdt=qot("ZodBoolean",(e,t)=>{Mlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Pct(e,t,a,r)}),Ddt=qot("ZodNull",(e,t)=>{Nlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>$ct(e,t,a,r)}),Ldt=qot("ZodUnknown",(e,t)=>{$lt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Lct(e,t,a,r)}),Bdt=qot("ZodNever",(e,t)=>{Ilt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Dct(e,t,a,r)}),jdt=qot("ZodArray",(e,t)=>{Rlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Xct(e,t,a,r),e.element=t.element,zut(e,"ZodArray",{min(e,t){return this.check(mct(e,t))},nonempty(e){return this.check(mct(1,e))},max(e,t){return this.check(hct(e,t))},length(e,t){return this.check(fct(e,t))},unwrap(){return this.element}})}),Udt=qot("ZodObject",(e,t)=>{Llt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Yct(e,t,a,r),rit(e,"shape",()=>t.shape),zut(e,"ZodObject",{keyof(){return tdt(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:Fut()})},loose(){return this.clone({...this._zod.def,catchall:Fut()})},strict(){return this.clone({...this._zod.def,catchall:Wut()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return function(e,t){if(!lit(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 dit(e,oit(e._zod.def,{get shape(){let a={...e._zod.def.shape,...t};return nit(this,"shape",a),a}}))}(this,e)},safeExtend(e){return function(e,t){if(!lit(t))throw Error("Invalid input to safeExtend: expected a plain object");return dit(e,oit(e._zod.def,{get shape(){let a={...e._zod.def.shape,...t};return nit(this,"shape",a),a}}))}(this,e)},merge(e){return function(e,t){if(e._zod.def.checks?.length)throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");return dit(e,oit(e._zod.def,{get shape(){let a={...e._zod.def.shape,...t._zod.def.shape};return nit(this,"shape",a),a},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}(this,e)},pick(e){return 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 dit(e,oit(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 nit(this,"shape",e),e},checks:[]}))}(this,e)},omit(e){return 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 dit(e,oit(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 nit(this,"shape",r),r},checks:[]}))}(this,e)},partial(...e){return 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 dit(t,oit(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 nit(this,"shape",n),n},checks:[]}))}(Wdt,this,e[0])},required(...e){return function(e,t,a){return dit(t,oit(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 nit(this,"shape",n),n}}))}(Jdt,this,e[0])}})}),zdt=qot("ZodUnion",(e,t)=>{Blt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Kct(e,t,a,r),e.options=t.options}),Hdt=qot("ZodDiscriminatedUnion",(e,t)=>{zdt.init(e,t),jlt.init(e,t)}),Zdt=qot("ZodIntersection",(e,t)=>{Ult.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Jct(e,t,a,r)}),Vdt=qot("ZodRecord",(e,t)=>{zlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>tut(e,t,a,r),e.keyType=t.keyType,e.valueType=t.valueType}),qdt=qot("ZodEnum",(e,t)=>{Hlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>jct(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 qdt({...t,checks:[],...pit(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 qdt({...t,checks:[],...pit(r),entries:n})}}),Qdt=qot("ZodLiteral",(e,t)=>{Zlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Uct(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]}})}),Fdt=qot("ZodTransform",(e,t)=>{Vlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>Fct(e,t,a,r),e._zod.parse=(a,r)=>{if("backward"===r.direction)throw new Got(e.constructor.name);a.addIssue=r=>{if("string"==typeof r)a.issues.push(yit(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(yit(t))}};let n=t.transform(a.value,a);return n instanceof Promise?n.then(e=>(a.value=e,a.fallback=!0,a)):(a.value=n,a.fallback=!0,a)}}),Wdt=qot("ZodOptional",(e,t)=>{qlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>uut(e,t,a,r),e.unwrap=()=>e._zod.def.innerType}),Gdt=qot("ZodExactOptional",(e,t)=>{Qlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>uut(e,t,a,r),e.unwrap=()=>e._zod.def.innerType}),Xdt=qot("ZodNullable",(e,t)=>{Flt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>aut(e,t,a,r),e.unwrap=()=>e._zod.def.innerType}),Ydt=qot("ZodDefault",(e,t)=>{Wlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>nut(e,t,a,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}),Kdt=qot("ZodPrefault",(e,t)=>{Glt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>out(e,t,a,r),e.unwrap=()=>e._zod.def.innerType}),Jdt=qot("ZodNonOptional",(e,t)=>{Xlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>rut(e,t,a,r),e.unwrap=()=>e._zod.def.innerType}),ept=qot("ZodCatch",(e,t)=>{Ylt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>iut(e,t,a,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}),tpt=qot("ZodPipe",(e,t)=>{Klt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>sut(e,t,a,r),e.in=t.in,e.out=t.out}),apt=qot("ZodReadonly",(e,t)=>{Jlt.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>lut(e,t,a,r),e.unwrap=()=>e._zod.def.innerType}),rpt=qot("ZodLazy",(e,t)=>{ect.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>dut(e,t,a,r),e.unwrap=()=>e._zod.def.getter()}),npt=qot("ZodCustom",(e,t)=>{tct.init(e,t),udt.init(e,t),e._zod.processJSONSchema=(t,a,r)=>qct(e,t,a,r)})}),Qpt=V(()=>{mut()}),Fpt=V(()=>{mut(),qpt(),fut(),jut(),Uut(),Qpt(),hut(),ict(),fut(),But(),qpt(),Ait()}),Wpt=V(()=>{Fpt(),Fpt()}),Gpt=V(()=>{u_e(),Wpt(),opt=Hut().min(7).default(()=>ZTe())}),Xpt=V(()=>{Wpt(),Gpt(),ipt=Xut({description:Hut().optional(),"x-scalar-ignore":qut().optional()}),spt=Xut({uid:opt.brand(),nameKey:Hut().optional().default("")}),lpt=ipt.extend({type:adt("apiKey"),name:Hut().optional().default(""),in:tdt(["query","header","cookie"]).optional().default("header").catch("header")}),cpt=Xut({value:Hut().default("")}),upt=lpt.merge(spt).merge(cpt),dpt=ipt.extend({type:adt("http"),scheme:Hut().toLowerCase().pipe(tdt(["basic","bearer"])).optional().default("basic"),bearerFormat:Kut([adt("JWT"),Hut()]).optional().default("JWT")}),ppt=Xut({username:Hut().default(""),password:Hut().default(""),token:Hut().default("")}),hpt=dpt.merge(spt).merge(ppt),mpt=ipt.extend({type:adt("openIdConnect"),openIdConnectUrl:Hut().optional().default("")}),fpt=mpt.merge(spt),gpt=Hut().default(""),vpt=Hut().default(""),bpt=Xut({refreshUrl:Hut().optional().default(""),scopes:edt(Hut(),Hut().optional().default("")).optional().default({}).catch({}),selectedScopes:Gut(Hut()).optional().default([]),"x-scalar-client-id":Hut().optional().default(""),token:Hut().default(""),"x-scalar-security-query":edt(Hut(),Hut()).optional(),"x-scalar-security-body":edt(Hut(),Hut()).optional(),"x-tokenName":Hut().optional(),"x-order":Zut().optional(),"x-scalar-ignore":qut().optional()}),ypt=typeof window<"u"?window.location.origin+window.location.pathname:"",wpt=["SHA-256","plain","no"],xpt=tdt(["header","body"]).optional(),Opt=ipt.extend({type:adt("oauth2"),"x-default-scopes":Gut(Hut()).optional(),flows:Xut({implicit:bpt.extend({type:adt("implicit").default("implicit"),authorizationUrl:gpt,"x-scalar-redirect-uri":Hut().optional().default(ypt)}),password:bpt.extend({type:adt("password").default("password"),tokenUrl:vpt,clientSecret:Hut().default(""),username:Hut().default(""),password:Hut().default(""),"x-scalar-credentials-location":xpt}),clientCredentials:bpt.extend({type:adt("clientCredentials").default("clientCredentials"),tokenUrl:vpt,clientSecret:Hut().default(""),"x-scalar-credentials-location":xpt}),authorizationCode:bpt.extend({type:adt("authorizationCode").default("authorizationCode"),authorizationUrl:gpt,"x-usePkce":tdt(wpt).optional().default("no"),"x-scalar-redirect-uri":Hut().optional().default(ypt),tokenUrl:vpt,clientSecret:Hut().default(""),"x-scalar-credentials-location":xpt})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":"",refreshUrl:"",token:"",type:"implicit",authorizationUrl:"http://localhost:8080","x-scalar-redirect-uri":ypt}})}),kpt=Opt.merge(spt),edt(Hut(),Gut(Hut()).optional().default([])),Kut([lpt,dpt,Opt,mpt]),Jut("type",[upt,hpt,fpt,kpt]).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))}),Ypt=V(()=>{Xpt()}),Kpt=V(()=>{j_e(),Mnt(),$nt(),Gnt(),Bnt(),Bc(),mae(),RK(),zot(),Vot(),Ypt(),Spt={class:"flex h-8 items-center justify-end gap-2 border-t"},Apt={class:"flex h-8 w-full items-center justify-end border-t"},Tpt=Cn({__name:"OAuth2",props:{environment:{},flows:{},type:{},selectedScopes:{},scheme:{},server:{},proxyUrl:{},name:{},eventBus:{},options:{default:()=>({})},hideActions:{type:Boolean}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){let a=t,r=Hot(),{toast:n}=Bot(),o=il(()=>e.flows[e.type]),i=il(()=>{let t=o.value.scopes;return t?e.selectedScopes.filter(e=>Object.hasOwn(t,e)):[]}),s=il(()=>"x-scalar-secret-client-secret"in o.value),l=il(()=>o.value["x-scalar-secret-client-secret"]??""),c=t=>{if("openIdConnect"===e.scheme.type)return u(t);"oauth2"===e.scheme.type&&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=Ha(null),m=Ha(!1);hn(()=>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=Urt(e.options);m.value=!0,!r&&n&&!e.options.captureOAuth2Callback&&u({"x-scalar-secret-redirect-uri":n})},{immediate:!0});let f=async()=>{if(r.isLoading)return;r.start();let[t,a]=await Drt(e.flows,e.type,i.value,e.server,e.proxyUrl,gX(e.environment),e.options.customFetch,e.options.captureOAuth2Callback);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=il(()=>"implicit"!==e.type),v=il(()=>"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 Brt(e.flows,e.type,e.proxyUrl,e.server,gX(e.environment),e.options.customFetch);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"]?(Ho(),Qo(Bs,{key:0},[Fs(qa(x_e),null,{default:sn(()=>[Fs(Yrt,{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:sn(()=>[...n[14]||=[ei(" Access Token ",-1)]]),_:1},8,["environment","modelValue"])]),_:1}),g.value?(Ho(),Fo(qa(x_e),{key:0},{default:sn(()=>[Fs(Yrt,{class:"border-r-transparent",environment:e.environment,modelValue:o.value.refreshUrl??"",placeholder:v.value,"onUpdate:modelValue":n[1]||=e=>c({refreshUrl:e})},{default:sn(()=>[...n[15]||=[ei(" Refresh URL ",-1)]]),_:1},8,["environment","modelValue","placeholder"])]),_:1})):ai("",!0),e.hideActions?ai("",!0):(Ho(),Fo(qa(x_e),{key:1,class:"min-w-full"},{default:sn(()=>[Xo("div",Spt,[g.value?(Ho(),Fo(qa(sae),{key:0,class:"p-0 px-2 py-0.5",loader:qa(r),size:"sm",variant:"outlined",onClick:b},{default:sn(()=>[...n[16]||=[ei(" Refresh ",-1)]]),_:1},8,["loader"])):ai("",!0),Fs(qa(sae),{class:"mr-1 p-0 px-2 py-0.5",disabled:qa(r).isLoading,size:"sm",variant:"outlined",onClick:p},{default:sn(()=>[...n[17]||=[ei(" Clear ",-1)]]),_:1},8,["disabled"])])]),_:1}))],64)):(Ho(),Qo(Bs,{key:1},[Fs(qa(x_e),null,{default:sn(()=>["authorizationUrl"in o.value?(Ho(),Fo(Yrt,{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:sn(()=>[...n[18]||=[ei(" Auth URL ",-1)]]),_:1},8,["environment","modelValue"])):ai("",!0),"tokenUrl"in o.value?(Ho(),Fo(Yrt,{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:sn(()=>[...n[19]||=[ei(" Token URL ",-1)]]),_:1},8,["environment","modelValue"])):ai("",!0)]),_:1}),"x-scalar-secret-redirect-uri"in o.value?(Ho(),Fo(qa(x_e),{key:0},{default:sn(()=>[Fs(Yrt,{environment:e.environment,modelValue:o.value["x-scalar-secret-redirect-uri"],placeholder:e.options.captureOAuth2Callback?`${qa(Urt)(e.options)||"http://127.0.0.1"} (handled automatically)`:"Optional redirect URL","onUpdate:modelValue":n[4]||=e=>{m.value=!0,u({"x-scalar-secret-redirect-uri":e})}},{default:sn(()=>[...n[20]||=[ei(" Redirect URL ",-1)]]),_:1},8,["environment","modelValue","placeholder"])]),_:1})):ai("",!0),"x-scalar-secret-username"in o.value&&"x-scalar-secret-password"in o.value?(Ho(),Qo(Bs,{key:1},[Fs(qa(x_e),null,{default:sn(()=>[Fs(Yrt,{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:sn(()=>[...n[21]||=[ei(" Username ",-1)]]),_:1},8,["environment","modelValue"])]),_:1}),Fs(qa(x_e),null,{default:sn(()=>[Fs(Yrt,{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:sn(()=>[...n[22]||=[ei(" Password ",-1)]]),_:1},8,["environment","modelValue"])]),_:1})],64)):ai("",!0),Fs(qa(x_e),null,{default:sn(()=>[Fs(Yrt,{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:sn(()=>[...n[23]||=[ei(" Client ID ",-1)]]),_:1},8,["environment","modelValue"])]),_:1}),s.value?(Ho(),Fo(qa(x_e),{key:2},{default:sn(()=>[Fs(Yrt,{environment:e.environment,modelValue:l.value,placeholder:"XYZ123",type:"password","onUpdate:modelValue":n[8]||=e=>u({"x-scalar-secret-client-secret":e})},{default:sn(()=>[...n[24]||=[ei(" Client Secret ",-1)]]),_:1},8,["environment","modelValue"])]),_:1})):ai("",!0),"x-usePkce"in o.value?(Ho(),Fo(qa(x_e),{key:3},{default:sn(()=>[Fs(Yrt,{enum:qa(wpt),environment:e.environment,modelValue:o.value["x-usePkce"],readOnly:"","onUpdate:modelValue":n[9]||=e=>c({"x-usePkce":e})},{default:sn(()=>[...n[25]||=[ei(" Use PKCE ",-1)]]),_:1},8,["enum","environment","modelValue"])]),_:1})):ai("",!0),"implicit"===e.type?ai("",!0):(Ho(),Fo(qa(x_e),{key:4},{default:sn(()=>[Fs(Yrt,{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:sn(()=>[...n[26]||=[ei(" Credentials Location ",-1)]]),_:1},8,["environment","modelValue"])]),_:1})),Fs(qa(x_e),null,{default:sn(()=>[Fs(xnt,{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}),e.hideActions?ai("",!0):(Ho(),Fo(qa(x_e),{key:5,class:"min-w-full"},{default:sn(()=>[Xo("div",Apt,["openIdConnect"===e.scheme.type?(Ho(),Fo(qa(sae),{key:0,class:"mr-1 p-0 px-2 py-0.5",disabled:qa(r).isLoading,size:"sm",variant:"outlined",onClick:d},{default:sn(()=>[...n[27]||=[ei(" Clear ",-1)]]),_:1},8,["disabled"])):ai("",!0),Fs(qa(sae),{class:"mr-0.75 p-0 px-2 py-0.5",loader:qa(r),size:"sm",variant:"outlined",onClick:f},{default:sn(()=>[...n[28]||=[ei(" Authorize ",-1)]]),_:1},8,["loader"])])]),_:1}))],64))}})}),Jpt=V(()=>{Kpt(),_pt=Tpt}),eht=V(()=>{MY(),EB(),Bq(),Cpt=OB.Object({authorization_endpoint:OB.Optional(OB.String()),token_endpoint:OB.Optional(OB.String()),scopes_supported:OB.Optional(OB.Array(OB.String())),grant_types_supported:OB.Optional(OB.Array(OB.String())),code_challenge_methods_supported:OB.Optional(OB.Array(OB.String()))}),Ept=async(e,t,a=fetch)=>{try{let r=e.trim();if(!r)return[Error("URL cannot be empty"),null];r.endsWith("/")&&(r=r.slice(0,-1)),r.includes("/.well-known/openid-configuration")||(r=`${r}/.well-known/openid-configuration`);let n=await a(CF(t,r));if(!n.ok)return[Error(`Failed to fetch OpenID Connect discovery document: ${n.status} ${n.statusText}`),null];let o=jj(Cpt,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]}}}),tht=V(()=>{EB(),PB(),OQ(),AQ(),CQ(),iF(),Ppt=kB(OB.Object({type:OB.Literal("apiKey")}),aH),Mpt=kB(OB.Object({type:OB.Literal("http")}),aH,lH),Npt=kB(uH,aH,rH),$pt=OB.Object({implicit:OB.Optional(kB(Npt,dH)),password:OB.Optional(kB(Npt,lH,cH,Xz)),clientCredentials:OB.Optional(kB(Npt,cH,Xz)),authorizationCode:OB.Optional(kB(Npt,cH,dH,Xz))}),Ipt=kB(OB.Object({type:OB.Literal("oauth2")}),$pt),Rpt=OB.Object({type:OB.Literal("openIdConnect"),implicit:OB.Optional(kB(wH,Npt,dH)),password:OB.Optional(kB(xH,Npt,lH,cH,Xz)),clientCredentials:OB.Optional(kB(OH,Npt,cH,Xz)),authorizationCode:OB.Optional(kB(kH,Npt,cH,dH,Xz))}),Dpt=kB(OB.Object({type:OB.Union([OB.Literal("userPassword"),OB.Literal("plain"),OB.Literal("scramSha256"),OB.Literal("scramSha512")])}),lH),Lpt=kB(OB.Object({type:OB.Literal("X509")}),pH,hH),Bpt=kB(OB.Object({type:OB.Union([OB.Literal("symmetricEncryption"),OB.Literal("asymmetricEncryption")])}),aH),jpt=kB(OB.Object({type:OB.Literal("gssapi")}),mH),Upt=OB.Union([Ppt,Mpt,Ipt,Rpt,Dpt,Lpt,Bpt,jpt]),zpt=OB.Record(OB.String(),Upt),Hpt=OB.Object({selectedIndex:OB.Number(),selectedSchemes:OB.Array(sV)}),Zpt=OB.Object({secrets:zpt,selected:OB.Object({document:OB.Optional(Hpt),path:OB.Optional(OB.Record(OB.String(),OB.Record(OB.String(),OB.Optional(Hpt))))})}),Vpt=OB.Record(OB.String(),Zpt)});var aht,rht,nht,oht,iht,sht,lht,cht,uht,dht,pht,hht,mht,fht,ght,vht,bht,yht,wht,xht,Oht,kht,Sht,Aht,Tht,_ht,Cht,Eht,Pht,Mht,Nht,$ht,Iht,Rht,Dht,Lht,Bht,jht,Uht,zht,Hht,Zht,Vht,qht,Qht,Fht=V(()=>{aht=(e,t)=>{Object.assign(e,t)}}),Wht=V(()=>{GY(),Bc(),tht(),Fht(),BC(),Bq(),rht=({hooks:e}={})=>{let t=Pa({});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);EX(a.method),EX(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]=jj(Upt,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{EX(a.path),EX(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=>{aht(t,jj(Vpt,a)),Object.keys(a).forEach(t=>{e?.onAuthChange?.(t)})},export:()=>_C(t)}}}),Ght=V(()=>{Bq(),Wht(),nht=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}),jj(Rpt,i)}}),Xht=V(()=>{j_e(),Bnt(),eht(),Ght(),Bc(),mae(),zot(),Vot(),oht={class:"flex h-8 w-full items-center justify-end border-t"},iht=Cn({__name:"OpenIDConnect",props:{environment:{},eventBus:{},getStaticBorderClass:{type:Function},name:{},proxyUrl:{},scheme:{},customFetch:{}},setup(e){let t=Hot(),{toast:a}=Bot(),r=async()=>{if(t.isLoading||!e.scheme.openIdConnectUrl)return;t.start();let[r,n]=await Ept(e.scheme.openIdConnectUrl,e.proxyUrl,e.customFetch);if(await t.clear(),r)return console.error(r),void a(r?.message??"Failed to fetch OpenID Connect configuration","error");let o=nht(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)=>(Ho(),Qo(Bs,null,[Fs(qa(x_e),null,{default:sn(()=>[Fs(Yrt,{containerClass:e.getStaticBorderClass(),environment:e.environment,modelValue:e.scheme.openIdConnectUrl,placeholder:"https://example.com/.well-known/openid-configuration",required:"","onUpdate:modelValue":n},{default:sn(()=>[...o[0]||=[ei(" Discovery URL ",-1)]]),_:1},8,["containerClass","environment","modelValue"])]),_:1}),Fs(qa(x_e),{class:"min-w-full"},{default:sn(()=>[Xo("div",oht,[Fs(qa(sae),{class:"mr-0.75 p-0 px-2 py-0.5",disabled:!e.scheme.openIdConnectUrl,loader:qa(t),size:"sm",variant:"outlined",onClick:r},{default:sn(()=>[...o[1]||=[ei(" Fetch Configuration ",-1)]]),_:1},8,["disabled","loader"])])]),_:1})],64))}})}),Yht=V(()=>{Xht(),sht=iht}),Kht=V(()=>{m_e(),g_e(),j_e(),Ent(),Mnt(),Nnt(),Int(),Bnt(),Jpt(),Yht(),Bc(),mae(),Xk(),Snt(),EQe(),RK(),zot(),eC(),xQe(),Vot(),aK(),lht={class:"bg-b-1 min-w-0 flex-1 px-3 py-1.25"},cht={class:"text-c-1 leading-5.5 font-medium"},uht={class:"flex h-8 items-center gap-2 border-t px-3"},dht={class:"flex min-h-8 border-t text-base"},pht={class:"flex h-8 max-w-full gap-2.5 overflow-x-auto px-3"},hht=["onClick"],mht={class:"relative z-10"},fht={key:9,class:"text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance"},ght={key:10,class:"text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance"},vht={class:"flex h-8 items-center justify-end gap-2 border-t"},bht=Cn({__name:"RequestAuthTab",props:{environment:{},isStatic:{type:Boolean},proxyUrl:{},selectedSecuritySchemas:{},securitySchemes:{},server:{},eventBus:{},options:{},documentType:{default:"openapi"}},emits:["update:selectedScopes","upsert:scope","delete:scope"],setup(e,{emit:t}){let a=il(()=>GX(e.documentType)),r=t,n=il(()=>Object.entries(e.selectedSecuritySchemas).map(([t,a=[]])=>{let r=q_(e.securitySchemes[t]);return{scheme:r,name:t,scopes:a,visibleFlowKeys:"oauth2"===r?.type||"openIdConnect"===r?.type?jrt(r.flows):[]}})),o=Ha(""),i=il(()=>n.value.flatMap(e=>e.visibleFlowKeys).some(e=>e===o.value)?o.value:""),s=e=>{o.value=e},l=il(()=>n.value.length>1),c=(e,t)=>{let a=Lt(e);switch(t.type){case"apiKey":return`${a}: ${t.in}`;case"openIdConnect":case"oauth2":{let e=jrt(t.flows)[0],r=i.value||e;return r?`${a}: ${r}`:a}case"http":return`${a}: ${t.scheme}`;default:return a}},u=e=>"user"!==e.in&&"password"!==e.in,d=e=>ZX(e?.type),p=e=>qX(e?.type),h=e=>"X509"===e?.type,m=e=>"gssapi"===e?.type,f=e=>e?.type,g=(e,t)=>i.value===e||0===t&&!i.value,v=()=>e.isStatic&&"border-t",b=(t,a)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:"http",...t},name:a}),y=(t,a)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:{type:"apiKey",...t},name:a}),w=(t,a)=>e.eventBus.emit("auth:update:security-scheme-secrets",{payload:t,name:a}),x=(t,a)=>e.eventBus.emit("auth:update:security-scheme",{payload:{type:"apiKey",...t},name:a}),O=(t,a)=>{r("update:selectedScopes",{id:Object.keys(e.selectedSecuritySchemas),name:t,...a})},k=(e,t)=>{r("upsert:scope",{...t,name:e})},S=(e,t)=>{r("delete:scope",{...t,name:e})},A=(t,a)=>{let r="floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium";return g(t,a)?`${r} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?"opacity-100":""}`:r},T=il(()=>_rt(e.securitySchemes)),_=il(()=>T.value?q_(e.securitySchemes[T.value.name]):void 0),C=Hot(),{toast:E}=Bot(),P=prt(),M=Ha(),N=async t=>{let a=T.value;if(!a||C.isLoading)return;C.start();let[r]=await Hrt({eventBus:e.eventBus,bearerSchemeName:t,oauth2Name:a.name,flows:a.flows,flowType:a.flowType,scopes:a.scopes,server:e.server,proxyUrl:e.proxyUrl,environment:e.environment,options:e.options});await C.clear(),r&&E(r?.message??"Failed to authorize","error")},$=async t=>{let a=T.value;if(!a||"authorizationCode"!==a.flowType||C.isLoading)return;C.start();let[r,n]=await Brt(a.flows,a.flowType,e.proxyUrl,e.server,gX(e.environment),e.options?.customFetch);await C.clear(),n?.accessToken?zrt(e.eventBus,{bearerSchemeName:t,oauth2Name:a.name,flowType:a.flowType,tokens:n}):r&&E(r?.message??"Failed to refresh","error")},I=()=>{let e=M.value;P.hide(),e&&N(e)};return(t,r)=>(Ho(),Qo(Bs,null,[(Ho(!0),Qo(Bs,null,Xn(n.value,({scheme:t,name:n,scopes:o,visibleFlowKeys:i})=>(Ho(),Qo(Bs,{key:n},[l.value&&t?(Ho(),Fo(qa(x_e),{key:0},{default:sn(()=>[Fs(qa(r_e),{"aria-label":c(n,t),class:"max-h-[auto]"},{default:sn(()=>[Xo("div",lht,[Xo("p",cht,Yt(c(n,t)),1),t.description?(Ho(),Fo(qa(Bqe),{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&&!l.value?(Ho(),Fo(qa(x_e),{key:1},{default:sn(()=>[Fs(qa(r_e),{"aria-label":t.description,class:"max-h-[auto]"},{default:sn(()=>[Fs(qa(Bqe),{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?(Ho(),Qo(Bs,{key:2},["bearer"===t.scheme?(Ho(),Fo(qa(x_e),{key:0},{default:sn(()=>[Fs(Yrt,{containerClass:v(),environment:e.environment,modelValue:t["x-scalar-secret-token"],placeholder:"Token",type:"password","onUpdate:modelValue":e=>b({"x-scalar-secret-token":e},n)},{default:sn(()=>[...r[4]||=[ei(" Bearer Token ",-1)]]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):ai("",!0),"bearer"===t.scheme&&T.value?(Ho(),Fo(qa(x_e),{key:1},{default:sn(()=>[Xo("div",uht,[r[6]||=Xo("span",{class:"text-c-3 mr-auto text-xs"},"Get a token",-1),Fs(qa(sae),{class:"p-0 px-2 py-0.5",loader:qa(C),size:"sm",type:"button",variant:"outlined",onClick:e=>N(n)},{default:sn(()=>[ei(" Authorize via "+Yt(T.value.name),1)]),_:2},1032,["loader","onClick"]),t["x-scalar-secret-token"]&&"authorizationCode"===T.value.flowType?(Ho(),Fo(qa(sae),{key:0,class:"p-0 px-2 py-0.5",disabled:qa(C).isLoading,size:"sm",type:"button",variant:"outlined",onClick:e=>$(n)},{default:sn(()=>[...r[5]||=[ei(" Refresh ",-1)]]),_:1},8,["disabled","onClick"])):ai("",!0),Fs(qa(tQe),{icon:qa(Wg),label:`Configure ${T.value.name}`,size:"xs",onClick:e=>(e=>{M.value=e,P.show()})(n)},null,8,["icon","label","onClick"])])]),_:2},1024)):"basic"===t?.scheme?(Ho(),Qo(Bs,{key:2},[Fs(qa(x_e),null,{default:sn(()=>[Fs(Yrt,{class:"text-c-2",environment:e.environment,modelValue:t["x-scalar-secret-username"],placeholder:"janedoe",required:"","onUpdate:modelValue":e=>b({"x-scalar-secret-username":e},n)},{default:sn(()=>[...r[7]||=[ei(" Username ",-1)]]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024),Fs(qa(x_e),null,{default:sn(()=>[Fs(Yrt,{environment:e.environment,modelValue:t["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":e=>b({"x-scalar-secret-password":e},n)},{default:sn(()=>[...r[8]||=[ei(" Password ",-1)]]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):ai("",!0)],64)):"apiKey"===t?.type?(Ho(),Qo(Bs,{key:3},[u(t)?(Ho(),Fo(qa(x_e),{key:0},{default:sn(()=>[Fs(Yrt,{containerClass:v(),environment:e.environment,modelValue:t.name,placeholder:"api-key","onUpdate:modelValue":e=>x({name:e},n)},{default:sn(()=>[...r[9]||=[ei(" Name ",-1)]]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):ai("",!0),Fs(qa(x_e),null,{default:sn(()=>[Fs(Yrt,{containerClass:u(t)?void 0:v(),environment:e.environment,modelValue:t["x-scalar-secret-token"],placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",type:"password","onUpdate:modelValue":e=>y({"x-scalar-secret-token":e},n)},{default:sn(()=>[...r[10]||=[ei(" Value ",-1)]]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):"oauth2"===t?.type||"openIdConnect"===t?.type?(Ho(),Qo(Bs,{key:4},["openIdConnect"!==t?.type||i.length?ai("",!0):(Ho(),Fo(sht,{key:0,customFetch:e.options?.customFetch,environment:e.environment,eventBus:e.eventBus,getStaticBorderClass:v,name:n,proxyUrl:e.proxyUrl,scheme:t},null,8,["customFetch","environment","eventBus","name","proxyUrl","scheme"])),i.length>1?(Ho(),Fo(qa(x_e),{key:1},{default:sn(()=>[Xo("div",dht,[Xo("div",pht,[(Ho(!0),Qo(Bs,null,Xn(i,(e,t)=>(Ho(),Qo("button",{key:e,class:tt(A(e,t)),type:"button",onClick:t=>s(e)},[Xo("span",mht,Yt(e),1)],10,hht))),128))])])]),_:2},1024)):ai("",!0),(Ho(!0),Qo(Bs,null,Xn(i,(a,r)=>(Ho(),Qo(Bs,{key:a},[t.flows&&g(a,r)?(Ho(),Fo(_pt,{key:0,environment:e.environment,eventBus:e.eventBus,flows:t.flows,name:n,options:e.options,proxyUrl:e.proxyUrl,scheme:t,selectedScopes:o,server:e.server,type:a,"onDelete:scope":e=>S(n,e),"onUpdate:selectedScopes":e=>O(n,e),"onUpsert:scope":e=>k(n,e)},null,8,["environment","eventBus","flows","name","options","proxyUrl","scheme","selectedScopes","server","type","onDelete:scope","onUpdate:selectedScopes","onUpsert:scope"])):ai("",!0)],64))),128))],64)):d(t)?(Ho(),Qo(Bs,{key:5},[Fs(qa(x_e),null,{default:sn(()=>[Fs(Yrt,{class:"text-c-2",containerClass:v(),environment:e.environment,modelValue:t["x-scalar-secret-username"],placeholder:"janedoe",required:"","onUpdate:modelValue":e=>w({type:t.type,"x-scalar-secret-username":e},n)},{default:sn(()=>[...r[11]||=[ei(" Username ",-1)]]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024),Fs(qa(x_e),null,{default:sn(()=>[Fs(Yrt,{environment:e.environment,modelValue:t["x-scalar-secret-password"],placeholder:"********",type:"password","onUpdate:modelValue":e=>w({type:t.type,"x-scalar-secret-password":e},n)},{default:sn(()=>[...r[12]||=[ei(" Password ",-1)]]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):h(t)?(Ho(),Qo(Bs,{key:6},[Fs(qa(x_e),null,{default:sn(()=>[Fs(Yrt,{containerClass:v(),environment:e.environment,modelValue:t["x-scalar-secret-client-certificate"],placeholder:"-----BEGIN CERTIFICATE-----",type:"password","onUpdate:modelValue":e=>w({type:t.type,"x-scalar-secret-client-certificate":e},n)},{default:sn(()=>[...r[13]||=[ei(" Client Certificate ",-1)]]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024),Fs(qa(x_e),null,{default:sn(()=>[Fs(Yrt,{environment:e.environment,modelValue:t["x-scalar-secret-private-key"],placeholder:"-----BEGIN PRIVATE KEY-----",type:"password","onUpdate:modelValue":e=>w({type:t.type,"x-scalar-secret-private-key":e},n)},{default:sn(()=>[...r[14]||=[ei(" Private Key ",-1)]]),_:1},8,["environment","modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):p(t)?(Ho(),Fo(qa(x_e),{key:7},{default:sn(()=>[Fs(Yrt,{containerClass:v(),environment:e.environment,modelValue:t["x-scalar-secret-token"],placeholder:"********",type:"password","onUpdate:modelValue":e=>w({type:t.type,"x-scalar-secret-token":e},n)},{default:sn(()=>[...r[15]||=[ei(" Key ",-1)]]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):m(t)?(Ho(),Fo(qa(x_e),{key:8},{default:sn(()=>[Fs(Yrt,{containerClass:v(),environment:e.environment,modelValue:t["x-scalar-secret-service-name"],placeholder:"kafka","onUpdate:modelValue":e=>w({type:t.type,"x-scalar-secret-service-name":e},n)},{default:sn(()=>[...r[16]||=[ei(" Service Name ",-1)]]),_:1},8,["containerClass","environment","modelValue","onUpdate:modelValue"])]),_:2},1024)):f(t)?(Ho(),Qo("div",fht,[r[17]||=ei(" The ",-1),Xo("code",null,Yt(f(t)),1),r[18]||=ei(" security scheme type is not supported yet. ",-1)])):(Ho(),Qo("div",ght," The security scheme is missing a type, please double check your "+Yt(a.value)+" document or Authentication Configuration ",1))],64))),128)),T.value&&_.value?(Ho(),Fo(qa(grt),{key:0,state:qa(P),size:"sm",title:`Configure ${T.value.name}`},{default:sn(()=>[Fs(qa(t_e),{columns:[""],presentational:""},{default:sn(()=>[Fs(_pt,{hideActions:"",environment:e.environment,eventBus:e.eventBus,flows:T.value.flows,name:T.value.name,options:e.options,proxyUrl:e.proxyUrl,scheme:_.value,selectedScopes:T.value.scopes,server:e.server,type:T.value.flowType,"onDelete:scope":r[0]||=e=>S(T.value.name,e),"onUpdate:selectedScopes":r[1]||=e=>O(T.value.name,e),"onUpsert:scope":r[2]||=e=>k(T.value.name,e)},null,8,["environment","eventBus","flows","name","options","proxyUrl","scheme","selectedScopes","server","type"])]),_:1}),Xo("div",vht,[Fs(qa(sae),{class:"p-0 px-2 py-0.5",size:"sm",variant:"outlined",onClick:r[3]||=e=>qa(P).hide()},{default:sn(()=>[...r[19]||=[ei(" Cancel ",-1)]]),_:1}),Fs(qa(sae),{class:"p-0 px-2 py-0.5",loader:qa(C),size:"sm",onClick:I},{default:sn(()=>[...r[20]||=[ei(" Authorize ",-1)]]),_:1},8,["loader"])])]),_:1},8,["state","title"])):ai("",!0)],64))}})}),Jht=V(()=>{Kht(),yht=bht}),emt=V(()=>{m_e(),Jht(),Bc(),wht=["onClick"],xht={class:"relative z-10 font-medium whitespace-nowrap"},Oht={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"},kht=Cn({__name:"RequestAuthDataTable",props:{environment:{},isStatic:{type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{},options:{},documentType:{}},setup(e,{expose:t}){let a=il(()=>e.selectedSchemeOptions[e.activeAuthIndex]),r=il(()=>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)=>(Ho(),Qo("form",{onSubmit:c[0]||=Cc(()=>{},["prevent"])},[r.value?(Ho(),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"},[(Ho(!0),Qo(Bs,null,Xn(e.selectedSchemeOptions,(e,t)=>(Ho(),Qo("div",{key:e.id,class:"relative z-1 -mb-[var(--scalar-border-width)] flex h-8"},[Xo("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)},[Xo("span",xht,Yt(e.label),1)],10,wht),l(t)?(Ho(),Qo("div",Oht)):ai("",!0)]))),128))],2)):ai("",!0),a.value?(Ho(),Fo(qa(t_e),{key:1,class:tt(["flex-1",{"bg-b-1 rounded-b-lg border-x border-b":e.isStatic}]),columns:[""],presentational:""},{default:sn(()=>[Fs(yht,{documentType:e.documentType,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,["documentType","environment","eventBus","isStatic","options","proxyUrl","securitySchemes","selectedSecuritySchemas","server"])]),_:1},8,["class"])):(Ho(),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))}})}),tmt=V(()=>{emt(),Sht=kht}),amt=V(()=>{JKe(),Tnt(),Ent(),tmt(),Bc(),mae(),sJe(),Xk(),Snt(),EQe(),RK(),moe(),eC(),BC(),Aht=["id"],Tht={class:"min-w-0 flex-1 truncate"},_ht=Cn({__name:"AuthSelector",props:{environment:{},eventBus:{},createAnySecurityScheme:{type:Boolean,default:!1},canDeleteSchemes:{type:Boolean,default:!0},defaultOpen:{type:Boolean,default:!0},isStatic:{type:Boolean,default:!1},meta:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},selectedSecurity:{},server:{},title:{},options:{},documentType:{}},setup(e,{expose:t}){let a=En(),r=Ha(null),n=Ha(!1),o=prt(),i=Ha(null),s=il(()=>{if(!e.securityRequirements?.length)return null;let t=pY(e.securityRequirements);return{icon:t?"Unlock":"Lock",text:t?"Optional":"Required"}}),l=il(()=>Crt(e.securityRequirements??[],e.securitySchemes??{},e.selectedSecurity?.selectedSchemes??[],e.createAnySecurityScheme)),c=il(()=>{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 Art(t);let r=a[0];return r&&q_(e.securitySchemes?.[r])?Srt({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=>_C(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)=>(Ho(),Fo(qa(sKe),{class:"group/params relative",defaultOpen:e.defaultOpen,isStatic:e.isStatic,itemCount:c.value.length,"onUpdate:modelValue":m[1]||=e=>n.value=e},{title:sn(()=>[Xo("div",{id:qa(a),class:"inline-flex items-center gap-0.5 leading-[20px]"},[Xo("span",null,Yt(e.title),1),s.value?(Ho(),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},Yt(s.value.text),3)):ai("",!0)],8,Aht)]),actions:sn(()=>[Fs(qa(Kne),{class:"w-72 text-xs",modelValue:c.value,multiple:"",options:l.value,placement:"bottom-end",teleport:"",onDelete:p,"onUpdate:modelValue":d},{option:sn(({option:t,selected:a})=>[Fs(qa(bae),{multiselect:"",selected:a},null,8,["selected"]),Xo("div",Tht,Yt(t.label),1),t.isDeletable&&e.canDeleteSchemes?(Ho(),Fo(qa(tQe),{key:0,class:"-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100",icon:qa(Uw),label:`Delete ${t.label}`,size:"xs",onClick:Cc(e=>p(t),["stop"])},null,8,["icon","label","onClick"])):ai("",!0)]),default:sn(()=>[Fs(qa(sae),{ref_key:"comboboxButtonRef",ref:r,"aria-describedby":qa(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:sn(()=>[1===c.value.length?(Ho(),Qo(Bs,{key:0},[m[2]||=Xo("span",{class:"sr-only"},"Selected Auth Type:",-1),ei(" "+Yt(c.value[0]?.label),1)],64)):c.value.length>1?(Ho(),Qo(Bs,{key:1},[m[3]||=ei(" Multiple ",-1),m[4]||=Xo("span",{class:"sr-only"},"Auth Types Selected",-1)],64)):(Ho(),Qo(Bs,{key:2},[m[5]||=Xo("span",{class:"sr-only"},"Select",-1),m[6]||=ei(" Auth Type ",-1)],64)),Fs(qa(Rm),{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:sn(()=>[Fs(Sht,{activeAuthIndex:e.selectedSecurity?.selectedIndex??0,documentType:e.documentType,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","documentType","environment","eventBus","isStatic","meta","options","proxyUrl","securitySchemes","selectedSchemeOptions","server"]),i.value?(Ho(),Fo(wrt,{key:0,label:i.value.label,scheme:i.value,state:qa(o),onClose:m[0]||=e=>qa(o).hide(),onDelete:h},null,8,["label","scheme","state"])):ai("",!0)]),_:1},8,["defaultOpen","isStatic","itemCount"]))}})}),rmt=V(()=>{amt(),Cht=_ht}),nmt=V(()=>{BK(),Jte(),uJe(),jat(),zat(),Hat(),crt(),urt(),drt(),rmt(),Bc(),RK(),Yk(),eA(),eC(),Lat(),wF(),BC(),Eht={class:"group pointer-events-none flex flex-1 items-center gap-1 lg:pr-24"},Pht=["for"],Mht=["id","placeholder","value"],Nht={key:2,class:"text-c-1 flex h-8 items-center"},$ht=["id","role"],Iht=Cn({__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:{},defaultRequestBodyView:{default:"raw"},options:{}},setup(e){let t=il(()=>({method:e.method,path:e.path,exampleKey:e.exampleKey})),a=Ha({}),r=Ha({}),n=e=>`${e.in}:${e.name}`,o=e=>a.value[n(e)]??[],i=e=>r.value[n(e)]??[],s=e=>{if(!e.originalParameter||!e.sourceParameterValuePath)return;let t=n(e.originalParameter);a.value={...a.value,[t]:[...a.value[t]??[],e.sourceParameterValuePath]}},l=(e,t)=>{if(!e.originalParameter||!e.sourceParameterValuePath)return;let a=e.sourceParameterValuePath,o=n(e.originalParameter),i=r.value[o]??[],s=i.find(e=>((e,t)=>e.length===t.length&&e.every((e,a)=>e===t[a]))(e.to,a)),l=s?i.map(e=>e===s?{from:e.from,to:t}:e):[...i,{from:a,to:t}];r.value={...r.value,[o]:l}},c=il(()=>irt(e.operation.parameters?.map(e=>q_(e)).flatMap(t=>ort(t,e.exampleKey,{hiddenValuePaths:"query"===t.in?o(t):[],renamedValuePaths:"query"===t.in?i(t):[]}).map(e=>({...e,in:t.in})))??[],"in",({in:e,...t})=>t)),u=il(()=>irt(c.value.header?.map(e=>({...e,name:e.name.toLowerCase()}))??[],"name")),d=il(()=>{let t=e.operation["x-scalar-disable-parameters"]?.["default-headers"]?.[e.exampleKey]??{},a=e=>{let t=u.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}))}),p=il(()=>[...d.value,...c.value.header??[]]),h=il(()=>{let t=gX(e.environment);return vF(yX({server:e.server,path:e.path}),t)}),m=il(()=>srt({sources:[{location:"workspace",cookies:e.workspaceCookies},{location:"document",cookies:e.documentCookies}],shouldInclude:e=>VF({cookie:{...e,isDisabled:!1},url:h.value,disabledGlobalCookies:{}})})),f=il(()=>{let t=e.operation["x-scalar-disable-parameters"]?.["global-cookies"]?.[e.exampleKey]??{};return m.value.map(e=>({name:e.name,value:e.selectedValue,globalRoute:{page:e.location,path:"cookies"},isReadonly:!0,isDisabled:t[e.name.toLowerCase()]??!1,presetOptions:e.isPreset?e.options:void 0}))}),g=(t,a)=>{let r=m.value[t];if(r)for(let t of r.siblings)e.eventBus.emit("cookie:upsert:cookie",{collectionType:t.location,index:t.index,payload:{isDisabled:t.value!==a}})},v=il(()=>[...f.value??[],...c.value.cookie??[]]),b=Ha("All"),y=["Auth","Variables","Cookies","Headers","Query","Body"],w={All:En(),Auth:En(),Variables:En(),Cookies:En(),Headers:En(),Query:En(),Body:En()},x=il(()=>{let t=new Set(["All",...y]);return c.value.path?.length||t.delete("Variables"),IS(e.method)||t.delete("Body"),k.value&&t.delete("Auth"),[...t]}),O=il(()=>Object.fromEntries(x.value.map(e=>[e,w[e]]))),k=il(()=>"modal"===e.layout&&!Object.keys(e.securitySchemes??{}).length),S=il(()=>"modal"!==e.layout||!(!e.securityRequirements?.length&&!e.selectedSecurity.selectedSchemes.length)),A=il(()=>e.operation.summary?e.operation.summary:e.path.replace(Zx.PROTOCOL,"")||"Request Name"),T=e=>"All"===b.value||b.value===e;hn(()=>e.method,e=>{"Body"===b.value&&!IS(e)&&(b.value="All")}),hn(()=>[e.method,e.path,e.exampleKey],()=>{a.value={},r.value={}});let _=a=>{let r=a.target.value;e.eventBus.emit("operation:update:meta",{meta:t.value,payload:{summary:r.trim()}})},C=il(()=>({path:Pat("path",e.eventBus,t.value,{context:c.value.path??[]}),cookie:{...Pat("cookie",e.eventBus,t.value,{context:v.value??[],globalParameters:f.value.length}),selectPreset:g},header:Pat("header",e.eventBus,t.value,{context:p.value,defaultParameters:d.value.length}),query:Pat("query",e.eventBus,t.value,{context:c.value.query??[],onDeleteExpandedRow:s,onRenameExpandedRow:l})})),E=a=>e.eventBus.emit("operation:update:requestBody:contentType",{payload:{contentType:a.value},meta:t.value}),P=({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})},M=({payload:a,contentType:r})=>{let n=`update:requestBody:${r}-form-value`;e.eventBus.emit("operation:update:requestBody:formValue",{payload:a.map(e=>_C(e,{depth:1})),contentType:r,meta:t.value},{debounceKey:n})},N=En(),$=il(()=>[...e.workspaceCookies,...e.documentCookies]),I=a=>e.eventBus.emit("operation:update:extension",{payload:a,meta:t.value});return(t,a)=>(Ho(),Fo(_K,{"aria-label":`Request: ${e.operation.summary}`},{title:sn(()=>[Xo("div",Eht,["modal"===e.layout?ai("",!0):(Ho(),Qo("label",{key:0,class:"pointer-events-auto absolute top-0 left-0 h-full w-full cursor-text opacity-0",for:qa(N)},null,8,Pht)),"modal"===e.layout?(Ho(),Qo("span",Nht,Yt(e.operation.summary),1)):(Ho(),Qo("input",{key:1,id:qa(N),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:A.value,value:e.operation.summary,onBlur:_},null,40,Mht))]),Fs(Zte,{modelValue:b.value,"onUpdate:modelValue":a[0]||=e=>b.value=e,filterIds:O.value,filters:x.value},null,8,["modelValue","filterIds","filters"])]),default:sn(()=>[Xo("div",{id:O.value.All,class:"request-section-content custom-scroll relative flex flex-1 flex-col",role:"All"===b.value?"tabpanel":"none"},[ln(Fs(qa(Cht),{id:O.value.Auth,createAnySecurityScheme:"modal"!==e.layout,defaultOpen:S.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"]),[[nc,T("Auth")&&!k.value]]),ln(Fs(Sat,ii({id:O.value.Variables,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:c.value.path??[],showAddRowPlaceholder:!1,title:"Variables"},eo(C.value.path)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[nc,T("Variables")&&c.value.path?.length]]),ln(Fs(Sat,ii({id:O.value.Cookies,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:v.value??[],showAddRowPlaceholder:!0,title:"Cookies"},eo(C.value.cookie)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[nc,T("Cookies")]]),ln(Fs(Sat,ii({id:O.value.Headers,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:p.value??[],title:"Headers"},eo(C.value.header)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[nc,T("Headers")]]),ln(Fs(Sat,ii({id:O.value.Query,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,rows:c.value.query??[],title:"Query Parameters"},eo(C.value.query)),null,16,["id","environment","eventBus","exampleKey","rows"]),[[nc,T("Query")]]),ln(Fs(kKe,{id:O.value.Body,defaultView:e.defaultRequestBodyView,environment:e.environment,exampleKey:e.exampleKey,requestBody:qa(q_)(e.operation.requestBody),requestBodyCompositionSelection:e.requestBodyCompositionSelection,title:"Request Body","onUpdate:contentType":E,"onUpdate:formValue":M,"onUpdate:value":P},null,8,["id","defaultView","environment","exampleKey","requestBody","requestBodyCompositionSelection"]),[[nc,T("Body")&&qa(IS)(e.method)]]),(Ho(!0),Qo(Bs,null,Xn(e.plugins,(t,a)=>(Ho(),Fo(qa(gat),{key:a},{default:sn(()=>[t?.components?.request?ln((Ho(),Fo(Fn(t.components.request.component),ii({key:0,operation:e.operation},{ref_for:!0},t.components.request.additionalProps,{"onOperation:update:extension":I}),null,16,["operation"])),[[nc,"All"===b.value]]):ai("",!0)]),_:2},1024))),128)),a[1]||=Xo("div",{class:"flex grow"},null,-1),ln(Fs(wat,{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:qa(q_)(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"]),[[nc,"All"===b.value]])],8,$ht)]),_:1},8,["aria-label"]))}})}),omt=V(()=>{kh(),nmt(),Rht=yh(Iht,[["__scopeId","data-v-bfd0db87"]])}),imt=V(()=>{g_e(),Bc(),Dht={class:"flex-1 px-2 py-1.5 whitespace-nowrap"},Lht=Cn({__name:"DataTableText",props:{text:{}},setup:e=>(t,a)=>(Ho(),Fo(r_e,{class:"relative flex"},{default:sn(()=>[Xo("span",Dht,[Kn(t.$slots,"default",{},()=>[ei(Yt(e.text),1)])])]),_:3}))})}),smt=V(()=>{imt(),Bht=Lht}),lmt=V(()=>{Bc(),jht=["href"],Uht=Cn({__name:"HelpfulLink",props:{href:{}},setup:e=>(t,a)=>(Ho(),Qo("a",{class:"decoration-c-3 cursor-help underline underline-offset-2",href:e.href,rel:"noopener noreferrer",target:"_blank"},[Kn(t.$slots,"default")],8,jht))})}),cmt=V(()=>{lmt(),zht=Uht}),umt=V(()=>{Hht={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"}}}),dmt=V(()=>{m_e(),b_e(),j_e(),smt(),JKe(),cmt(),Bc(),umt(),Zht={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},Vht={key:1,class:"text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm"},qht=Cn({__name:"Headers",props:{headers:{}},setup(e){let t=e=>Hht[e.toLowerCase()];return(a,r)=>(Ho(),Fo(qa(sKe),{class:"overflow-auto",defaultOpen:!1,itemCount:e.headers.length},{title:sn(()=>[Kn(a.$slots,"title")]),default:sn(()=>[e.headers.length?(Ho(),Qo("div",Zht,[Fs(qa(t_e),{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:sn(()=>[Fs(qa(x_e),{class:"sr-only !block"},{default:sn(()=>[Fs(qa(o_e),null,{default:sn(()=>[...r[0]||=[ei("Header Key",-1)]]),_:1}),Fs(qa(o_e),null,{default:sn(()=>[...r[1]||=[ei("Header Value",-1)]]),_:1})]),_:1}),(Ho(!0),Qo(Bs,null,Xn(e.headers,e=>(Ho(),Fo(qa(x_e),{key:e.name,class:"group/row text-c-1"},{default:sn(()=>[Fs(qa(Bht),{class:"bg-b-1 sticky left-0 z-1 max-w-full group-first/row:border-t-0"},{default:sn(()=>["string"==typeof t(e.name)?.url?(Ho(),Fo(zht,{key:0,class:"decoration-c-3",href:t(e.name).url},{default:sn(()=>[ei(Yt(e.name),1)]),_:2},1032,["href"])):(Ho(),Qo(Bs,{key:1},[ei(Yt(e.name),1)],64))]),_:2},1024),Fs(qa(Bht),{class:"z-0 group-first/row:border-t-0",text:e.value},null,8,["text"])]),_:2},1024))),128))]),_:1})])):(Ho(),Qo("div",Vht," No headers "))]),_:3},8,["itemCount"]))}})}),pmt=V(()=>{dmt(),Qht=qht});function hmt(e){let t="";if(e){let a=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1];a&&(t=mmt(a.trim()))}return t}var mmt,fmt=V(()=>{mmt=e=>{try{return decodeURIComponent(e)}catch{return e}}});function gmt({data:e,headers:t}){let a=fS(t.find(e=>"content-type"===e.name.toLowerCase())?.value);return{mimeType:a,attachmentFilename:hmt(t.find(e=>"content-disposition"===e.name.toLowerCase())?.value??""),dataUrl:vmt(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 vmt,bmt,ymt,wmt,xmt=V(()=>{SS(),fmt(),vmt=e=>e instanceof Blob}),Omt=V(()=>{XS(),Bc(),Yte(),bmt=["download","href"],ymt=Cn({__name:"ResponseBodyDownload",props:{href:{},type:{},filename:{}},setup(e){let t=e,a=il(()=>{let e=AS(t.type??"")?.extension??".unknown";return t.filename?t.filename:`response${e}`});return(t,r)=>(Ho(),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]||=Cc(()=>{},["stop"])},[Fs(qa(Dte),{icon:"Download",size:"xs"}),r[1]||=Xo("span",null,[Xo("span",null,"Download"),Xo("span",{class:"sr-only"},"Response Body")],-1)],8,bmt))}})}),kmt=V(()=>{Omt(),wmt=ymt});function Smt(e,t){return Ho(),Qo("div",Amt,[Xo("div",Tmt,[Kn(e.$slots,"default")])])}var Amt,Tmt,_mt,Cmt=V(()=>{kh(),Bc(),Amt={class:"flex justify-center px-2 py-3"},Tmt={class:"text-c-3 p-2 text-sm"},_mt=yh({},[["render",Smt]])});function Emt(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(Pmt(t)){do{r++,n+=String.fromCharCode(t),t=e.charCodeAt(r)}while(Pmt(t));return i=15}if(Mmt(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(Mmt(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&&!Mmt(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++,Mmt(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||!Nmt(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&&Nmt(e.charCodeAt(r));)r++;if(r<e.length&&46===e.charCodeAt(r)){if(r++,!(r<e.length&&Nmt(e.charCodeAt(r))))return d=3,e.substring(t,r);for(r++;r<e.length&&Nmt(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&&Nmt(e.charCodeAt(r))){for(r++;r<e.length&&Nmt(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(Pmt(e)||Mmt(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 Pmt(e){return 32===e||9===e}function Mmt(e){return 10===e||13===e}function Nmt(e){return e>=48&&e<=57}var $mt,Imt,Rmt,Dmt,Lmt,Bmt=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"}($mt||={})}),jmt=V(()=>{Imt=Array(20).fill(0).map((e,t)=>" ".repeat(t)),Rmt=200,Dmt={" ":{"\n":Array(Rmt).fill(0).map((e,t)=>"\n"+" ".repeat(t)),"\r":Array(Rmt).fill(0).map((e,t)=>"\r"+" ".repeat(t)),"\r\n":Array(Rmt).fill(0).map((e,t)=>"\r\n"+" ".repeat(t))},"\t":{"\n":Array(Rmt).fill(0).map((e,t)=>"\n"+"\t".repeat(t)),"\r":Array(Rmt).fill(0).map((e,t)=>"\r"+"\t".repeat(t)),"\r\n":Array(Rmt).fill(0).map((e,t)=>"\r\n"+"\t".repeat(t))}},Lmt=["\n","\r","\r\n"]});function Umt(e,t,a){let r,n,o,i,s;if(t){for(i=t.offset,s=i+t.length,o=i;o>0&&!Hmt(e,o-1);)o--;let l=s;for(;l<e.length&&!Hmt(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===Imt[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=Lmt.includes(c),d=0,p=0;l=a.insertSpaces?Imt[a.tabSize||4]??zmt(Imt[1],a.tabSize||4):"\t";let h="\t"===l?"\t":" ",m=Emt(n,!1),f=!1;function g(){if(d>1)return zmt(c,d)+zmt(l,r+p);let e=l.length*(r+p);return!u||e>Dmt[h][c].length?c+zmt(l,r+p):e<=0?c:Dmt[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 w=v();if(a.keepLines&&d>0&&y(zmt(c,d),0,0),17!==w){let e=m.getTokenOffset()+o;y(l.length*r<20&&a.insertSpaces?Imt[l.length*r]:zmt(l,r),o,e)}for(;17!==w;){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(Imt[1],e,a),e=m.getTokenOffset()+m.getTokenLength()+o,n=12===t,r=n?g():"",t=v()}if(2===t)1!==w&&p--,a.keepLines&&d>0||!a.keepLines&&1!==w?r=g():a.keepLines&&(r=Imt[1]);else if(4===t)3!==w&&p--,a.keepLines&&d>0||!a.keepLines&&3!==w?r=g():a.keepLines&&(r=Imt[1]);else{switch(w){case 3:case 1:p++,r=a.keepLines&&d>0||!a.keepLines?g():Imt[1];break;case 5:r=a.keepLines&&d>0||!a.keepLines?g():Imt[1];break;case 12:r=g();break;case 13:d>0?r=g():n||(r=Imt[1]);break;case 6:a.keepLines&&d>0?r=g():n||(r=Imt[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=Imt[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),w=t}return b}function zmt(e,t){let a="";for(let r=0;r<t;r++)a+=e;return a}function Hmt(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}var Zmt=V(()=>{Bmt(),jmt()});function Vmt(e,t){return e.substring(0,t.offset)+t.content+e.substring(t.offset+t.length)}var qmt=V(()=>{});var Qmt,Fmt,Wmt,Gmt=V(()=>{Zmt(),qmt(),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"}(Qmt||={}),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"}(Fmt||={}),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"}(Wmt||={})});function Xmt(e){try{let t=function(e,t,a){return Umt(e,t,a)}(e,void 0,Ymt);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=Vmt(e,n),r=n.offset}return e}(e,t)}catch{}return e}var Ymt,Kmt,Jmt,eft,tft,aft=V(()=>{Gmt(),Ymt={tabSize:2,insertSpaces:!0,eol:"\n"}}),rft=V(()=>{aft(),Bc(),s_e(),W5e(),Kmt={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"},Jmt={class:"custom-scroll relative pr-1",tabindex:"0"},eft=Cn({__name:"ResponseBodyRaw",props:{content:{},language:{},prettyPrintJson:{type:Boolean}},setup(e){let t=e,a=Ha(null),r=En(),{codeMirror:n}=DTe({codeMirrorRef:a,readOnly:!0,lineNumbers:!0,content:Ga(il(()=>{let{content:e,language:a,prettyPrintJson:r=!1}=t;return"string"==typeof e?r&&"json"===a?Xmt(e):e:null==e?"":String(e)})),language:Ga(()=>t.language),forceFoldGutter:!0}),o=()=>n.value?.state.doc.toString()||"";return(e,t)=>(Ho(),Qo("div",Kmt,[Xo("div",Jmt,[Xo("div",{ref_key:"codeMirrorRef",ref:a},null,512)]),o()?(Ho(),Fo(qa($3e),{key:0,"aria-controls":qa(r),class:"absolute top-2 right-2",content:o()},null,8,["aria-controls","content"])):ai("",!0)]))}})}),nft=V(()=>{kh(),rft(),tft=yh(eft,[["__scopeId","data-v-8c1df828"]])});var oft,ift,sft,lft,cft,uft,dft,pft,hft,mft,fft,gft,vft,bft,yft,wft,xft,Oft,kft,Sft,Aft,Tft,_ft=V(()=>{aft()}),Cft=V(()=>{Cmt(),_ft(),nft(),Bc(),oft=["src"],ift=["src","type"],sft=["src","type"],lft=["src","sandbox"],cft=Cn({__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1},content:{}},setup(e){let t=il(()=>{let t=e.content;return"string"==typeof t?t:null==t?"":String(t)}),a=il(()=>function(e){return e.split("\n").map(e=>e.trim()).filter(e=>e.length>0).map(e=>Xmt(e)).join("\n\n")}(t.value)),r=il(()=>{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""}),n=Ha(!1),o=il(()=>"application/pdf"===e.type.trim().toLowerCase());return hn(()=>e.src,()=>n.value=!1),(i,s)=>"json"===e.mode?(Ho(),Fo(tft,{key:0,content:t.value,language:"json",prettyPrintJson:""},null,8,["content"])):"ndjson"===e.mode?(Ho(),Fo(tft,{key:1,content:a.value,language:"json"},null,8,["content"])):!n.value&&r.value?(Ho(),Qo("div",{key:2,class:tt(["flex justify-center overflow-auto rounded-b",{"bg-preview p-2":e.alpha}])},["image"===e.mode?(Ho(),Qo("img",{key:0,class:tt(["h-full max-w-full",{rounded:e.alpha}]),src:r.value,referrerpolicy:"no-referrer",onError:s[0]||=e=>n.value=!0},null,42,oft)):"video"===e.mode?(Ho(),Qo("video",{key:1,autoplay:"",controls:"",referrerpolicy:"no-referrer",width:"100%",onError:s[1]||=e=>n.value=!0},[Xo("source",{src:r.value,type:e.type},null,8,ift)],32)):"audio"===e.mode?(Ho(),Qo("audio",{key:2,class:"my-12",controls:"",referrerpolicy:"no-referrer",onError:s[2]||=e=>n.value=!0},[Xo("source",{src:r.value,type:e.type},null,8,sft)],32)):(Ho(),Qo("iframe",{key:3,class:"aspect-[4/3] w-full border-0",src:r.value,sandbox:o.value?void 0:"",referrerpolicy:"no-referrer"},null,8,lft))],2)):(Ho(),Fo(_mt,{key:3},{default:sn(()=>[...s[3]||=[ei("Preview unavailable",-1)]]),_:1}))}})}),Eft=V(()=>{kh(),Cft(),uft=yh(cft,[["__scopeId","data-v-a10b4008"]])}),Pft=V(()=>{Bc(),dft={class:"text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5"},pft=Cn({__name:"ResponseBodyToggle",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup:e=>(t,a)=>(Ho(),Qo("div",dft,[Xo("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]||=Cc(e=>t.$emit("update:modelValue",!0),["stop"])}," Preview ",2),Xo("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]||=Cc(e=>t.$emit("update:modelValue",!1),["stop"])}," Raw ",2)]))})}),Mft=V(()=>{Pft(),hft=pft}),Nft=V(()=>{OS(),XS(),JKe(),xmt(),kmt(),Cmt(),nft(),Eft(),Mft(),Bc(),mft={key:0,class:"bg-b-1 flex max-h-[calc(100%-32px)] flex-col overflow-hidden"},fft={class:"box-content flex min-h-8 items-center justify-between border-y px-3"},gft={class:"text-xxs font-code leading-5"},vft=Cn({__name:"ResponseBody",props:{title:{},layout:{},data:{},headers:{},plugins:{default:()=>[]}},setup(e){let t=Ha(!0),a=il(()=>gmt({data:e.data,headers:e.headers})),r=il(()=>a.value.mimeType.essence),n=il(()=>AS(r.value)),o=il(()=>sS(r.value,e.plugins)),i=il(()=>!!o.value?.rawComponent||!!o.value?.decode||!!n.value?.raw),s=il(()=>!!o.value?.previewComponent||!!n.value?.preview),l=il(()=>i.value&&s.value),c=il(()=>t.value||!l.value),u=il(()=>!t.value||!l.value),d=il(()=>o.value?.language??n.value?.language);return(p,h)=>(Ho(),Fo(qa(sKe),{class:"max-h-content overflow-y-hidden",isStatic:"reference"===e.layout},Yn({title:sn(()=>[ei(Yt(e.title),1)]),default:sn(()=>[e.data?(Ho(),Qo("div",mft,[Xo("div",fft,[Xo("span",gft,Yt(r.value),1),l.value?(Ho(),Fo(hft,{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?(Ho(),Fo(Fn(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?(Ho(),Fo(uft,{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?(Ho(),Fo(Fn(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?(Ho(),Fo(tft,{key:`raw-${a.value.dataUrl}`,content:e.data,language:d.value},null,8,["content","language"])):ai("",!0),i.value||s.value?ai("",!0):(Ho(),Fo(_mt,{key:4},{default:sn(()=>[...h[1]||=[ei(" Binary file ",-1)]]),_:1}))])):ai("",!0)]),_:2},[e.data&&a.value.dataUrl?{name:"actions",fn:sn(()=>[Fs(wmt,{filename:a.value.attachmentFilename,href:a.value.dataUrl,type:a.value.mimeType?.essence},null,8,["filename","href","type"])]),key:"0"}:void 0]),1032,["isStatic"]))}})}),$ft=V(()=>{kh(),Nft(),bft=yh(vft,[["__scopeId","data-v-bb31ac6f"]])}),Ift=V(()=>{JKe(),Bc(),mae(),Vot(),yft={class:"flex w-full items-center justify-between"},wft={key:0,class:"mr-2 flex items-center gap-2"},xft={key:0,class:"text-red bg-b-danger sticky top-0 border-b p-2"},Oft={key:1,class:"p-2"},kft=Cn({__name:"ResponseBodyStreaming",props:{reader:{}},setup(e){let t=Hot(),a=Ha(""),r=Ha(null),n=Ha(null),o=Ha(null),i=Ha(null),s=()=>{n.value&&(n.value.scrollTop=n.value.scrollHeight)};hn(a,async()=>{await Kr(s)});let l=()=>{o.value&&=(o.value.cancel(),null),t.clear()};return hn(()=>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}),os(l),(e,o)=>(Ho(),Fo(qa(sKe),{class:"max-h-content overflow-y-hidden"},Yn({title:sn(()=>[Xo("div",yft,[o[1]||=Xo("div",null,"Body",-1),qa(t).isLoading?(Ho(),Qo("div",wft,[Fs(qa(rae),{loadingState:qa(t),size:"xs"},null,8,["loadingState"]),o[0]||=Xo("span",{class:"text-c-2"}," Listening… ",-1)])):ai("",!0)])]),default:sn(()=>[Xo("div",{ref_key:"contentContainer",ref:n,class:"text-xxs font-code h-full overflow-auto leading-6 whitespace-pre-wrap"},[r.value?(Ho(),Qo("div",xft,Yt(r.value.message),1)):ai("",!0),a.value?(Ho(),Qo("div",Oft,Yt(a.value),1)):ai("",!0)],512)]),_:2},[qa(t).isLoading?{name:"actions",fn:sn(()=>[Fs(qa(sae),{size:"sm",variant:"ghost",onClick:l},{default:sn(()=>[...o[2]||=[ei(" Cancel ",-1)]]),_:1})]),key:"0"}:void 0]),1024))}})}),Rft=V(()=>{Ift(),Sft=kft}),Dft=V(()=>{Aft=(e,t)=>t.on?e.onAny(t.on):()=>{},Tft=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}});var Lft,Bft,jft,Uft,zft,Hft,Zft,Vft,qft,Qft,Fft,Wft,Gft,Xft,Yft,Kft,Jft,egt,tgt,agt,rgt,ngt,ogt,igt=V(()=>{HKe(),Lft={parse:e=>{let t=DYe(e,{merge:!0,maxAliasCount:1e4});if("object"!=typeof t)throw Error("Invalid YAML object");return t},parseSafe(e,t){try{return Lft.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:LYe},Bft={parse:e=>{let t=JSON.parse(e);if("object"!=typeof t)throw Error("Invalid JSON object");return t},parseSafe(e,t){try{return Bft.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:e=>JSON.stringify(e)},jft=e=>{if("string"!=typeof e)return e;let t=Bft.parseSafe(e,null);if(t)return t;if(e.length>0&&["{","["].includes(e[0]??""))throw Error("Invalid JSON or YAML");return Lft.parseSafe(e,e=>{throw Error(e)})}}),sgt=V(()=>{Dft(),igt()}),lgt=V(()=>{JKe(),xmt(),kmt(),Bc(),sgt(),J5e(),Uft=Cn({__name:"ResponseBodyVirtual",props:{content:{},data:{},headers:{}},setup(e){let t=il(()=>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=il(()=>gmt({data:e.data,headers:e.headers}));return(e,r)=>(Ho(),Fo(qa(sKe),{class:"!max-h-100% response-body-virtual overflow-x-auto"},Yn({title:sn(()=>[r[0]||=ei("Body",-1)]),default:sn(()=>[r[1]||=Xo("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),Fs(qa(N5e),{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:sn(()=>[Fs(wmt,{filename:a.value.attachmentFilename,href:a.value.dataUrl,type:a.value.mimeType?.essence},null,8,["filename","href","type"])]),key:"0"}:void 0]),1024))}})}),cgt=V(()=>{lgt(),zft=Uft}),ugt=V(()=>{m_e(),b_e(),j_e(),smt(),JKe(),Bc(),Hft={key:0,class:"max-h-[calc(100%-32px)] overflow-y-auto"},Zft={key:1,class:"text-c-3 bg-b-1 flex min-h-[64px] items-center justify-center border-t px-4 text-sm"},Vft=Cn({__name:"ResponseCookies",props:{cookies:{}},setup:e=>(t,a)=>(Ho(),Fo(qa(sKe),{class:"overflow-auto",defaultOpen:!1,itemCount:e.cookies.length},{title:sn(()=>[...a[0]||=[ei("Cookies",-1)]]),default:sn(()=>[e.cookies.length?(Ho(),Qo("div",Hft,[Fs(qa(t_e),{columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{default:sn(()=>[Fs(qa(x_e),{class:"sr-only !block"},{default:sn(()=>[Fs(qa(o_e),null,{default:sn(()=>[...a[1]||=[ei("Cookie Name",-1)]]),_:1}),Fs(qa(o_e),null,{default:sn(()=>[...a[2]||=[ei("Cookie Value",-1)]]),_:1})]),_:1}),(Ho(!0),Qo(Bs,null,Xn(e.cookies,(e,t)=>(Ho(),Fo(qa(x_e),{key:e.name,class:"group/row text-c-1"},{default:sn(()=>[Fs(qa(Bht),{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"]),Fs(qa(Bht),{class:tt(["z-0",{"border-t-0":0===t}]),text:e.value},null,8,["class","text"])]),_:2},1024))),128))]),_:1})])):(Ho(),Qo("div",Zft," No cookies "))]),_:1},8,["itemCount"]))})}),dgt=V(()=>{ugt(),qft=Vft}),pgt=V(()=>{Bc(),Qft=Cn({__name:"ScalarAsciiArt",props:{art:{},animate:{type:Boolean}},setup(e){let t=e,a=il(()=>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)=>(Ho(),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:""},[(Ho(!0),Qo(Bs,null,Xn(a.value,(e,t)=>(Ho(),Qo("span",{key:t,class:"inline-block",style:Je({width:`calc(${e.length+1}ch)`})},[Xo("span",{class:"inline-block whitespace-pre overflow-hidden",style:Je(r(e.length,t))},Yt(e),5)],4))),128))],2))}})}),hgt=V(()=>{kh(),pgt(),Fft=yh(Qft,[["__scopeId","data-v-9a695e58"]])}),mgt=V(()=>{Wft="                         .,,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"}),fgt=V(()=>{zle()}),ggt=V(()=>{hgt(),mgt(),Bc(),fgt(),Gft={class:"flex-center relative flex flex-1 flex-col gap-6 p-2 capitalize"},Xft={key:0,class:"scalar-version-number"},Yft={class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"},Kft=Cn({__name:"ResponseEmpty",props:{layout:{},totalPerformedRequests:{},appVersion:{}},emits:["addRequest","sendRequest","openCommandPalette"],setup(e,{emit:t}){let a=t;return(t,r)=>(Ho(),Qo("div",Gft,[Xo("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):(Ho(),Qo("div",Xft,[ei(" Scalar App V"+Yt(e.appVersion)+" Beta ",1),r[3]||=Xo("div",{class:"mt-2"},[Xo("a",{href:"https://github.com/scalar/scalar/issues/2669",target:"_blank"}," Roadmap ")],-1)])),r[4]||=Xo("a",{class:"gitbook-show scalar-version-number",href:"https://www.scalar.com",target:"_blank"}," Powered By Scalar.com ",-1),Fs(qa(Fft),{art:qa(Wft),class:"text-c-3"},null,8,["art"])],2),Xo("div",Yft,["modal"===e.layout?ai("",!0):(Ho(),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),Fs(qa(Ile),{hotkey:"k",modifier:["default"]})])),"desktop"===e.layout?(Ho(),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),Fs(qa(Ile),{hotkey:"N"})])):ai("",!0),Xo("button",{class:"flex items-center gap-1.5",type:"button",onClick:r[2]||=e=>a("sendRequest")},[r[7]||=ei(" Send Request ",-1),Fs(qa(Ile),{hotkey:"↵"})])])]))}})}),vgt=V(()=>{kh(),ggt(),Jft=yh(Kft,[["__scopeId","data-v-0895623d"]])}),bgt=V(()=>{Bc(),mae(),Vot(),egt={key:0,class:"bg-b-1 z-overlay absolute inset-0 flex flex-col items-center justify-center gap-6"},tgt=Cn({__name:"ResponseLoadingOverlay",props:{eventBus:{}},setup(e){let t=Hot(),a=Ha(),r=()=>{clearTimeout(a.value),a.value=setTimeout(()=>t.start(),1e3)},n=()=>{clearTimeout(a.value),a.value=void 0,t.clear()};return as(()=>{e.eventBus.on("hooks:on:request:sent",r),e.eventBus.on("hooks:on:request:complete",n)}),os(()=>{e.eventBus.off("hooks:on:request:sent",r),e.eventBus.off("hooks:on:request:complete",n),n()}),(a,r)=>(Ho(),Fo(Kl,null,{default:sn(()=>[qa(t).isActive?(Ho(),Qo("div",egt,[Fs(qa(rae),{class:"text-c-3",loader:qa(t),size:"3xl"},null,8,["loader"]),Fs(qa(sae),{variant:"ghost",onClick:r[0]||=t=>e.eventBus.emit("operation:cancel:request")},{default:sn(()=>[...r[1]||=[ei(" Cancel ",-1)]]),_:1})])):ai("",!0)]),_:1}))}})}),ygt=V(()=>{kh(),bgt(),agt=yh(tgt,[["__scopeId","data-v-b80db6e2"]])}),wgt=V(()=>{rgt=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],ngt=(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),rgt.length-1));return Number((e/1e3**a).toPrecision(t))>=1e3&&a<rgt.length-1&&(a+=1),`${Number((e/1e3**a).toPrecision(t))} ${rgt[a]}`}}),xgt=V(()=>{wgt(),ogt=e=>{let t=Number.parseInt(e.headers?.["Content-Length"]||e.headers?.["content-length"]||"0",10);if(!(isNaN(t)||t<=0))return ngt(t)}});function Ogt(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(kgt(1e3*e)%1e3),nanoseconds:Math.trunc(kgt(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 kgt,Sgt=V(()=>{kgt=e=>Number.isFinite(e)?e:0});function Agt(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||!Tgt(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?" "+_gt(a,e):r;n.push(o)}},i=Ogt(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+Cgt);return(Math.round(a)/10**t).toFixed(t)})((a?Number(e%Egt):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 Tgt,_gt,Cgt,Egt,Pgt,Mgt,Ngt,$gt,Igt,Rgt,Dgt,Lgt,Bgt,jgt,Ugt,zgt,Hgt,Zgt,Vgt,qgt,Qgt,Fgt,Wgt,Ggt,Xgt,Ygt,Kgt,Jgt,evt,tvt,avt,rvt,nvt,ovt,ivt,svt,lvt,cvt,uvt,dvt,pvt,hvt,mvt,fvt,gvt,vvt,bvt,yvt,wvt,xvt,Ovt,kvt,Svt,Avt,Tvt,_vt,Cvt,Evt,Pvt,Mvt,Nvt,$vt,Ivt,Rvt,Dvt,Lvt,Bvt,jvt,Uvt,zvt,Hvt,Zvt,Vvt,qvt,Qvt,Fvt,Wvt,Gvt,Xvt,Yvt,Kvt,Jvt,ebt,tbt,abt=V(()=>{Sgt(),Tgt=e=>0===e||0n===e,_gt=(e,t)=>1===t||1n===t?e:`${e}s`,Cgt=1e-7,Egt=86400000n}),rbt=V(()=>{cmt(),xgt(),Bc(),tA(),abt(),Pgt={class:"text-c-1 flex gap-1.5"},Mgt={key:0},Ngt={key:0},$gt={key:1},Igt=Cn({__name:"ResponseMetaInformation",props:{response:{},eventBus:{}},setup(e){let t=Ha(),a=Ha(0),r=()=>{clearInterval(t.value),t.value=void 0,a.value=0},n=()=>{t.value=setInterval(()=>a.value+=1e3,1e3)};as(()=>{e.eventBus.on("hooks:on:request:sent",n),e.eventBus.on("hooks:on:request:complete",r)}),os(()=>{e.eventBus.off("hooks:on:request:sent",n),e.eventBus.off("hooks:on:request:complete",r),r()});let o=il(()=>{let t=e.response?.status;if(t)return DS[t]??void 0});return(r,n)=>(Ho(),Qo("div",Pgt,[t.value&&a.value?(Ho(),Qo("span",Mgt,Yt(qa(Agt)(a.value)),1)):(Ho(),Qo(Bs,{key:1},[Xo("span",null,[n[0]||=Xo("span",{class:"sr-only"},"Response Information, Duration:",-1),ei(" "+Yt(qa(Agt)(e.response.duration)),1)]),qa(ogt)(e.response)?(Ho(),Qo("span",Ngt,[n[1]||=Xo("span",{class:"sr-only"},", Size:",-1),ei(" "+Yt(qa(ogt)(e.response)),1)])):ai("",!0),o.value?(Ho(),Qo(Bs,{key:1},[n[2]||=Xo("span",{class:"sr-only"},", Status:",-1),o.value.url?(Ho(),Fo(zht,{key:0,class:"flex items-center gap-1.5",href:o.value.url},{default:sn(()=>[ei(Yt(e.response.status)+" "+Yt(o.value.name)+" ",1),Xo("span",{class:"block h-1.5 w-1.5 rounded-full",style:Je({backgroundColor:o.value.color})},null,4)]),_:1},8,["href"])):(Ho(),Qo("span",$gt,[ei(Yt(e.response.status)+" "+Yt(o.value.name)+" ",1),Xo("span",{class:"block h-1.5 w-1.5 rounded-full",style:Je({backgroundColor:o.value.color})},null,4)]))],64)):ai("",!0)],64))]))}})}),nbt=V(()=>{rbt(),Rgt=Igt}),obt=V(()=>{Dgt=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}}),ibt=V(()=>{BK(),XS(),Jte(),pmt(),$ft(),Rft(),cgt(),dgt(),vgt(),ygt(),nbt(),obt(),Bc(),B_(),Lat(),Lgt={class:"flex h-8 flex-1 items-center"},Bgt=["id","role"],jgt=2e5,Ugt=Cn({__name:"ResponseBlock",props:{response:{},requestPayload:{},layout:{},totalPerformedRequests:{},appVersion:{},plugins:{},eventBus:{}},setup(e,{expose:t}){let a=il(()=>{let t=e.response?.headers;return t?Object.keys(t).map(e=>({name:e,value:t[e]??""})):[]}),r=il(()=>e.response?.cookieHeaderKeys.map(e=>Dgt(e)).filter(N_)??[]),n=["Cookies","Headers","Body"],o=Ha("All"),i=il(()=>["All",...n]),s=il(()=>Object.fromEntries(i.value.map(e=>[e,En()]))),l=il(()=>{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)<=jgt||t.includes("text/html"))&&(_S.some(e=>t.includes(e))&&(e.response.size??0)>jgt)}),c=il(()=>{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)=>(Ho(),Fo(_K,{"aria-label":"Response"},{title:sn(()=>[Xo("div",Lgt,[Xo("div",{"aria-live":"polite",class:tt(["flex items-center",{"animate-response-heading":e.response}])},[n[4]||=Xo("span",{class:"response-heading pointer-events-none absolute"}," Response ",-1),e.response?(Ho(),Fo(Rgt,{key:0,class:"animate-response-children",eventBus:e.eventBus,response:e.response},null,8,["eventBus","response"])):ai("",!0)],2),Fs(Zte,{modelValue:o.value,"onUpdate:modelValue":n[0]||=e=>o.value=e,filterIds:s.value,filters:i.value},null,8,["modelValue","filterIds","filters"])])]),default:sn(()=>[Xo("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?(Ho(),Qo(Bs,{key:1},[u("Cookies")?(Ho(),Fo(qft,{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")?(Ho(),Fo(Qht,{key:1,id:s.value.Headers,class:"response-section-content-headers",headers:c.value,role:"All"===o.value?"none":"tabpanel"},{title:sn(()=>[...n[5]||=[ei("Request Headers",-1)]]),_:1},8,["id","headers","role"])):ai("",!0),u("Headers")?(Ho(),Fo(Qht,{key:2,id:s.value.Headers,class:"response-section-content-headers",headers:a.value,role:"All"===o.value?"none":"tabpanel"},{title:sn(()=>[...n[6]||=[ei("Response Headers",-1)]]),_:1},8,["id","headers","role"])):ai("",!0),(Ho(!0),Qo(Bs,null,Xn(e.plugins,(e,t)=>(Ho(),Fo(qa(gat),{key:t},{default:sn(()=>[e?.components?.response?ln((Ho(),Fo(Fn(e.components.response.component),ii({key:0,ref_for:!0},e.components.response.additionalProps),null,16)),[[nc,"All"===o.value]]):ai("",!0)]),_:2},1024))),128)),"All"===o.value||"Body"===o.value?(Ho(),Qo(Bs,{key:3},["reader"in e.response?(Ho(),Fo(Sft,{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?(Ho(),Fo(zft,{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"])):(Ho(),Fo(bft,{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)):(Ho(),Fo(Jft,{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"])),Fs(agt,{eventBus:e.eventBus},null,8,["eventBus"])],10,Bgt)]),_:1}))}})}),sbt=V(()=>{kh(),ibt(),zgt=yh(Ugt,[["__scopeId","data-v-7a7c6611"]])}),lbt=V(()=>{Bc(),sJe(),G3e(),VY(),h_(),Hgt=Cn({__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=il(()=>a3e(a.method)),o=vX(t3e).map(([e])=>({id:e,label:e.toUpperCase(),color:a3e(e).colorClass})),i=il({get:()=>o.find(({id:e})=>e===a.method),set:e=>e?.id&&r("change",e.id)}),s=a_({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=il(()=>n.value.short);return(t,a)=>e.isEditable?(Ho(),Fo(qa(pKe),{key:0,modelValue:i.value,"onUpdate:modelValue":a[0]||=e=>i.value=e,class:"font-code scalar-client mt-1 text-sm",options:qa(o)},{default:sn(()=>[Xo("div",{class:tt(["h-full",{"pointer-events-none":!e.isEditable}])},[Xo("button",{class:tt(["relative h-full",qa(r_)(qa(s)({isSquare:e.isSquare,isEditable:e.isEditable}),n.value.colorClass)]),type:"button"},[Xo("span",null,Yt(l.value),1)],2)],2)]),_:1},8,["modelValue","options"])):(Ho(),Qo("div",{key:1,class:tt(["relative gap-1 whitespace-nowrap",qa(r_)(qa(s)({isSquare:e.isSquare,isEditable:e.isEditable}),n.value.colorClass)]),type:"button"},Yt(n.value.short),3))}})}),cbt=V(()=>{lbt(),kh(),Zgt=yh(Hgt,[["__scopeId","data-v-86e2b3ea"]])}),ubt=V(()=>{Vgt=/^\/_scalar_temp[a-f0-9]*$/i,qgt=(e,t)=>"drafts"===t.toLowerCase()&&"/"===e||Vgt.test(e)}),dbt=V(()=>{Qgt=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()}}),pbt=V(()=>{Bc(),Fgt=()=>{let e=Ha(100),t=Ha(0),a=Ha(!1),r=Ha(),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}}}),hbt=V(()=>{Bc(),Wgt=({isReady:e,operationKey:t,shouldMask:a,onMask:r})=>{hn([e,t],([e])=>{e&&a()&&r()},{flush:"post"})}}),mbt=V(()=>{Bc(),mae(),sJe(),Xk(),Ggt={key:0,class:"sr-only"},Xgt=Cn({__name:"ServerVariablesSelect",props:{enum:{},value:{},controls:{}},emits:["change"],setup(e,{emit:t}){let a=e,r=t,n=il(()=>a.enum.map(e=>({id:e,label:e}))),o=il({get:()=>n.value.find(e=>e.id===a.value),set:e=>r("change",e?.id??"")});return(t,a)=>(Ho(),Fo(qa(pKe),{modelValue:o.value,"onUpdate:modelValue":a[0]||=e=>o.value=e,options:n.value},{default:sn(()=>[Fs(qa(sae),{"aria-controls":e.controls,class:"group/button h-8 gap-1.5 p-1.5 text-base font-normal",variant:"ghost"},{default:sn(()=>[Xo("span",{class:tt({"text-c-1":e.value})},[e.value?(Ho(),Qo("span",Ggt," Selected: ")):ai("",!0),ei(" "+Yt(e.value||"Select value"),1)],2),Fs(qa(Rm),{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"]))}})}),fbt=V(()=>{mbt(),Ygt=Xgt}),gbt=V(()=>{Bc(),Kgt=Cn({__name:"ServerVariablesTextbox",props:{value:{},controls:{}},emits:["change"],setup(e,{emit:t}){let a=e,r=t,n=il({get:()=>a.value,set:e=>r("change",e)});return(t,a)=>ln((Ho(),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)),[[xc,n.value]])}})}),vbt=V(()=>{gbt(),Jgt=Kgt}),bbt=V(()=>{fbt(),vbt(),Bc(),evt=["for"],tvt=Cn({__name:"ServerVariablesForm",props:{variables:{},values:{},controls:{},layout:{default:"client"}},emits:["update:variable"],setup(e,{emit:t}){let a=t,r=En();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?(Ho(!0),Qo(Bs,{key:0},Xn(Object.keys(e.variables),t=>(Ho(),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"])},[Xo("label",{class:"flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']",for:`${qa(r)}-${t}`},Yt(t),9,evt),e.variables?.[t]?.enum?.length?(Ho(),Fo(Ygt,{key:0,id:`${qa(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"])):(Ho(),Fo(Jgt,{key:1,id:`${qa(r)}-${t}`,controls:e.controls,value:o(t),onChange:e=>n(t,e)},null,8,["id","controls","value","onChange"]))],2))),128)):ai("",!0)}})}),ybt=V(()=>{bbt(),avt=tvt}),wbt=V(()=>{ybt(),Bc(),sJe(),xQe(),rvt=["aria-expanded"],nvt={class:"overflow-hidden text-ellipsis whitespace-nowrap"},ovt=["id"],ivt={key:0},svt={class:"description text-c-3 px-3 py-1.5"},lvt=Cn({__name:"ServerDropdownItem",props:{server:{},serverOption:{}},emits:["update:variable","update:selectedServer"],setup(e,{emit:t}){let a=t,r=En(),n=il(()=>e.serverOption.id===e.server?.url),o=il(()=>n.value&&Object.keys(e.server?.variables??{}).length>0);return(t,i)=>(Ho(),Qo("div",{class:tt(["group/item flex min-h-fit flex-col rounded border",{"border-transparent":!n.value}])},[Xo("button",ii(o.value?{"aria-controls":qa(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")}),[Fs(qa(bae),{selected:n.value},null,8,["selected"]),Xo("span",nvt,Yt(e.serverOption.label),1)],16,rvt),o.value?(Ho(),Qo("div",{key:0,id:qa(r),class:"bg-b-2 divide divide-y rounded-b border-t *:pl-4",onClick:i[2]||=Cc(()=>{},["stop"])},[Fs(avt,{variables:e.server?.variables,"onUpdate:variable":i[1]||=(e,t)=>a("update:variable",e,t)},null,8,["variables"]),e.server?.description?(Ho(),Qo("div",ivt,[Xo("div",svt,[Fs(qa(Rqe),{value:e.server.description},null,8,["value"])])])):ai("",!0)],8,ovt)):ai("",!0)],2))}})}),xbt=V(()=>{kh(),wbt(),cvt=yh(lvt,[["__scopeId","data-v-649f9a0d"]])}),Obt=V(()=>{ooe(),soe()}),kbt=V(()=>{YKe(),xbt(),Bc(),mae(),Xk(),SQe(),Obt(),uvt=["onClick"],dvt={class:"flex items-center justify-center"},pvt=Cn({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=il(()=>e.servers.map(e=>({id:e.url,label:e.url??"Unknown server"}))),n=il(()=>e.server?.url?.endsWith("/")?e.server.url.slice(0,-1):e.server?.url||"");return(t,o)=>(Ho(),Fo(qa(Uqe),{class:"max-h-[inherit] p-0 text-base",focus:"",offset:0,placement:"bottom",resize:"",target:e.target,teleport:`#${e.target}`},{popover:sn(({close:t})=>[Xo("div",{class:"custom-scroll flex max-h-[inherit] flex-col gap-1 p-1",onClick:t},[(Ho(!0),Qo(Bs,null,Xn(r.value,(t,r)=>(Ho(),Fo(cvt,{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):(Ho(),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")},[Xo("div",dvt,[Fs(qa(my),{class:"size-4"})]),o[5]||=Xo("span",null,"Update Servers",-1)]))],8,uvt)]),backdrop:sn(({open:e})=>[Fs(KYe,{value:e,onChange:o[1]||=e=>a("update:open",e),onUnmount:o[2]||=e=>a("update:open",!1)},null,8,["value"]),Fs(qa(Qne),{class:"inset-x-px rounded-none rounded-b-lg"})]),default:sn(()=>[Fs(qa(sae),{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:sn(()=>[e.server?(Ho(),Qo(Bs,{key:0},[o[3]||=Xo("span",{class:"sr-only"},"Server:",-1),ei(" "+Yt(n.value),1)],64)):(Ho(),Qo(Bs,{key:1},[o[4]||=Xo("span",{class:"sr-only"},"Add Server",-1),Fs(qa(By),{class:"size-3"})],64))]),_:1})]),_:1},8,["target","teleport"]))}})}),Sbt=V(()=>{kbt(),hvt=pvt}),Abt=V(()=>{mvt={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"}},fvt=e=>mvt[e]||{color:"text-grey"}}),Tbt=V(()=>{gvt=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+"s":e.toFixed(t)+"ms"}),_bt=V(()=>{cbt(),YKe(),Abt(),Bc(),Yte(),tA(),Oh(),Obt(),Tbt(),vvt={class:"min-w-0"},bvt={class:"text-c-1 min-w-0 truncate"},yvt=Cn({__name:"AddressBarHistory",props:{target:{},history:{}},emits:["select:history:item","update:open"],setup(e,{emit:t}){let a=t;return(t,r)=>(Ho(),Fo(qa(Vp),{as:"div"},{default:sn(({open:t})=>[Fs(KYe,{value:t,onChange:r[0]||=e=>a("update:open",e),onUnmount:r[1]||=e=>a("update:open",!1)},null,8,["value"]),Fs(qa(Vne),{offset:0,resize:"",target:e.target},Yn({default:sn(()=>[e.history.length?(Ho(),Fo(qa(qp),{key:0,class:"address-bar-history-button text-c-3 focus:text-c-1 relative mr-1 rounded-lg p-1.5"},{default:sn(()=>[Fs(qa(Dte),{icon:"History",size:"sm",thickness:"2.25"}),r[2]||=Xo("span",{class:"sr-only"},"Request History",-1)]),_:1})):ai("",!0)]),_:2},[t?{name:"floating",fn:sn(({width:t})=>[Fs(qa(Qp),{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:sn(()=>[(Ho(!0),Qo(Bs,null,Xn(e.history,(e,t)=>(Ho(),Fo(qa(Fp),{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:sn(()=>[Fs(qa(Zgt),{class:"text-[11px]",method:e.method},null,8,["method"]),Xo("div",vvt,[Xo("div",bvt,Yt(e.path),1)]),Xo("div",null,Yt(qa(gvt)(e.duration)),1),Xo("div",{class:tt([qa(fvt)(e.status).color])},Yt(e.status),3),Xo("div",null,Yt(qa(DS)[e.status]?.name),1)]),_:2},1032,["value","onClick"]))),128))]),_:1},8,["style"]),Fs(qa(Qne),{class:"inset-x-px rounded-none rounded-b-lg"})]),key:"0"}:void 0]),1032,["target"])]),_:1}))}})}),Cbt=V(()=>{kh(),_bt(),wvt=yh(yvt,[["__scopeId","data-v-12140f4f"]])}),Ebt=V(()=>{xvt={path:/[\/\.-]/,property:/[A-Z\_\.-]/}}),Pbt=V(()=>{Ebt(),Bc(),Ovt={key:0},kvt=Cn({inheritAttrs:!1,__name:"ScalarWrappingText",props:{text:{default:""},preset:{default:"path"},regex:{}},setup(e){let t=il(()=>{let t=new RegExp(e.regex??xvt[e.preset],"g");return e.text.replace(t,"⁠$&").split("⁠").filter(Boolean)});return(e,a)=>(Ho(!0),Qo(Bs,null,Xn(t.value,(e,t)=>(Ho(),Qo(Bs,{key:t},[0===t?ai("",!0):(Ho(),Qo("wbr",Ovt)),ei(Yt(e),1)],64))),128))}})}),Mbt=V(()=>{Pbt(),Svt=kvt}),Nbt=V(()=>{Mbt()}),$bt=V(()=>{Avt=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(" > ")}}),Ibt=V(()=>{Tvt=(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}}}),Rbt=V(()=>{cbt(),p_e(),K_(),ubt(),dbt(),pbt(),hbt(),Sbt(),Cbt(),Bc(),mae(),Xk(),G3e(),Yte(),s_e(),Nbt(),$bt(),Ibt(),_vt={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"},Cvt=["id"],Evt={class:"hidden @3xl:flex"},Pvt={class:"scroll-timeline-x scroll-timeline-x-hidden relative flex w-full bg-blend-normal"},Mvt={key:0,class:"z-context absolute inset-x-0 top-[calc(100%+4px)] flex flex-col items-center rounded px-6"},Nvt={class:"text-c-danger bg-b-danger border-c-danger flex items-center gap-1 rounded border p-1"},$vt={class:"min-w-0 flex-1"},Ivt={"aria-hidden":"true",class:"inline-flex items-center gap-1"},Rvt={class:"sr-only"},Dvt={class:"mt-2 flex h-(--scalar-address-bar-height) w-full items-stretch gap-1 @3xl:hidden"},Lvt={"aria-hidden":"true",class:"inline-flex items-center gap-1"},Bvt={class:"sr-only"},jvt=Cn({name:"AddressBar",props:{path:{},method:{},isWebhook:{type:Boolean,default:!1},documentSlug:{},exampleKey:{},server:{},servers:{},history:{},layout:{},eventBus:{},environment:{},serverMeta:{}},emits:["execute","select:history:item","update:webhook-url"],setup(e,{expose:t,emit:a}){let r=a,n=En(),o=Mn("sendButtonRef"),i=Mn("mobileSendButtonRef"),s=Mn("addressBarRef"),{percentage:l,startLoading:c,stopLoading:u,isLoading:d}=Fgt(),p=Ha(null),h=Ha(null),m=Ha(!1),f=Ha(!1),g=Ha(!1),v=dfe.scrollMargins.of(()=>({right:24})),b=il(()=>({backgroundColor:`color-mix(in srgb, transparent 90%, ${t3e[e.method].colorVar})`,transform:`translate3d(-${l.value}%,0,0)`})),y=il(()=>h.value||p.value),w=il(()=>e.server?"":e.isWebhook?"Enter the full webhook URL, e.g. https://example.com/hook":"Enter a URL"),x=il(()=>f.value||g.value),O=il(()=>j_(e.method,e.path,e.exampleKey,e.documentSlug));hn(O,()=>{p.value=null,h.value=null});let k=()=>{let e=o.value?.$el,t=i.value?.$el;e&&null!==e.offsetParent?e.focus():t?.focus()},S=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())};Wgt({isReady:()=>s.value?.codeMirror,operationKey:()=>O.value,shouldMask:()=>qgt(e.path,e.documentSlug),onMask:()=>requestAnimationFrame(()=>{let t=s.value?.codeMirror?.state.doc.toString();t&&t!==e.path||S({clear:!0})})});let A=(t,a,n=null)=>{if(e.isWebhook){let e=a.trim();return s.value?.setCodeMirrorContent(e),r("update:webhook-url",e),h.value=null,p.value=null,void Kr(()=>Qgt(n))}let o=(t=>{let a=Tvt(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),i=(e=>e.startsWith("/")?e:`/${e}`)(o);s.value?.setCodeMirrorContent(i),e.eventBus.emit("operation:update:pathMethod",{meta:{method:e.method,path:e.path},blurTargetSelector:n,payload:{method:t,path:i},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(i!==e.path&&(p.value=i));let n=s.value?.codeMirrorRef?.textContent;"no-change"===a&&n&&n!==o&&s.value?.setCodeMirrorContent(o),Kr(()=>Qgt(r))}})},T=t=>A(t,p.value??e.path),_=(t,a)=>{let r=a.relatedTarget,n=m.value||"sourceCapabilities"in a&&null===a.sourceCapabilities?null:Avt(r);m.value=!1,A(h.value??e.method,t,n)},C=(t,a)=>{a.stopPropagation(),A(h.value??e.method,t,'[data-addressbar-action="send"]')},E=t=>{if("\n"===t.target?.innerText){if(e.isWebhook)return;e.eventBus.emit("server:update:selected",{url:"",meta:e.serverMeta})}},P=t=>{e.eventBus.emit("server:update:selected",t)},M=t=>{e.eventBus.emit("server:update:variables",t)},N=()=>{e.eventBus.emit("copy-url:address-bar")},$=()=>{"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})},I=[];return as(()=>{I.push(e.eventBus.on("ui:focus:address-bar",S),e.eventBus.on("ui:focus:send-button",k),e.eventBus.on("hooks:on:request:sent",c),e.eventBus.on("hooks:on:request:complete",u))}),os(()=>{for(let e of I)e();u()}),t({methodConflict:h,pathConflict:p}),(t,a)=>(Ho(),Qo("div",_vt,[Xo("div",{id:qa(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":x.value}])},[Xo("div",{class:tt(["pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border",{"rounded-b-none":x.value}])},[Xo("div",{class:"absolute top-0 left-0 h-full w-full",style:Je(b.value)},null,4)],2),Xo("div",Evt,[Fs(qa(Zgt),{isEditable:"modal"!==e.layout&&!e.isWebhook,isSquare:"",method:h.value??e.method,teleport:"",onChange:T},null,8,["isEditable","method"])]),Xo("div",Pvt,[e.servers.length?(Ho(),Fo(qa(hvt),{key:0,layout:e.isWebhook?"modal":e.layout,meta:e.serverMeta,server:e.server,servers:e.servers,target:qa(n),"onUpdate:open":a[0]||=e=>f.value=e,"onUpdate:selectedServer":P,"onUpdate:servers":$,"onUpdate:variable":M},null,8,["layout","meta","server","servers","target"])):ai("",!0),Fs(qa(YTe),{ref_key:"addressBarRef",ref:s,alwaysEmitChange:"","aria-label":"Path",class:"ml-1 min-w-fit pl-px outline-none",disableCloseBrackets:"",disabled:"modal"===e.layout&&!e.isWebhook,disableEnter:"",disableTabIndent:"",emitOnBlur:!1,environment:e.environment,extensions:[qa(v)],importCurl:"",layout:e.layout,modelValue:e.path,placeholder:w.value,server:"",onBlur:_,onKeydown:[Pc(E,["delete"]),a[1]||=Pc(e=>m.value=!0,["tab"])],onSubmit:C},null,8,["disabled","environment","extensions","layout","modelValue","placeholder"])]),Fs(qa(sae),{class:"hover:bg-b-3 mx-1 hidden @3xl:flex",size:"xs",variant:"ghost",onClick:N},{default:sn(()=>[Fs(qa(Pf)),a[6]||=Xo("span",{class:"sr-only"},"Copy URL",-1)]),_:1}),Fs(wvt,{history:e.history,target:qa(n),"onSelect:history:item":a[2]||=e=>r("select:history:item",e),"onUpdate:open":a[3]||=e=>g.value=e},null,8,["history","target"]),y.value?(Ho(),Qo("div",Mvt,[Xo("div",Nvt,[Fs(qa(ux),{size:"sm"}),Xo("div",$vt,[a[7]||=ei(" A ",-1),Xo("em",null,Yt(h.value?.toUpperCase()??e.method.toUpperCase()),1),a[8]||=ei(" request to ",-1),Fs(qa(Svt),{text:p.value??e.path},null,8,["text"]),a[9]||=ei(" already exists in this document ",-1)])])])):ai("",!0),Fs(qa(sae),{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:qa(d),onClick:a[4]||=e=>r("execute")},{default:sn(()=>[Xo("span",Ivt,[Fs(qa(Dte),{class:"relative shrink-0 fill-current",icon:"Play",size:"xs"}),a[10]||=Xo("span",{class:"text-xxs flex"},"Send",-1)]),Xo("span",Rvt," Send "+Yt(e.method)+" request to "+Yt(e.server?.url??"")+Yt(e.path),1)]),_:1},8,["disabled"])],10,Cvt),Xo("div",Dvt,[Fs(qa(Zgt),{isEditable:"modal"!==e.layout&&!e.isWebhook,isSquare:"",method:h.value??e.method,teleport:"",onChange:T},null,8,["isEditable","method"]),Fs(qa(sae),{class:"hover:bg-b-3 ml-auto",size:"xs",variant:"ghost",onClick:N},{default:sn(()=>[Fs(qa(Pf)),a[11]||=Xo("span",{class:"sr-only"},"Copy URL",-1)]),_:1}),Fs(qa(sae),{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:qa(d),onClick:a[5]||=e=>r("execute")},{default:sn(()=>[Xo("span",Lvt,[Fs(qa(Dte),{class:"relative shrink-0 fill-current",icon:"Play",size:"xs"}),a[12]||=Xo("span",{class:"text-xxs"},"Send",-1)]),Xo("span",Bvt," Send "+Yt(e.method)+" request to "+Yt(e.server?.url??"")+Yt(e.path),1)]),_:1},8,["disabled"])])]))}})}),Dbt=V(()=>{kh(),Rbt(),Uvt=yh(jvt,[["__scopeId","data-v-c414dc68"]])}),Lbt=V(()=>{Bc(),mae(),Yte(),Pie(),zvt={class:"relative flex items-center"},Hvt={class:"flex max-w-[220px] min-w-0 items-center gap-1.5"},Zvt={class:"text-xxs block max-w-[160px] min-w-0 truncate text-left font-medium"},Vvt={class:"min-w-0 flex-1 truncate"},qvt={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]"},Qvt={class:"min-w-0 flex-1 text-left"},Fvt={class:"block truncate"},Wvt={class:"flex h-4 w-4 items-center justify-center"},Gvt={key:5,class:"text-c-3 px-2 py-1.5 text-xs"},Xvt=Cn({__name:"EnvironmentSelector",props:{environments:{default:()=>[]},activeEnvironment:{}},emits:["select:environment","add:environment"],setup(e,{emit:t}){let a=t,r=il(()=>!!e.activeEnvironment),n=il(()=>e.environments.length>0),o=il(()=>!!e.activeEnvironment&&e.environments.includes(e.activeEnvironment)),i=il(()=>r.value&&!o.value),s=il(()=>i.value?`${e.activeEnvironment} (Unavailable)`:r.value?e.activeEnvironment:n.value?"Select Environment":"Add Environment"),l=il(()=>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)=>(Ho(),Qo("div",zvt,[Fs(qa(aie),null,{items:sn(()=>[r.value?(Ho(),Fo(qa(gie),{key:0,class:"group/item flex w-full items-center gap-1.5",onClick:a[0]||=e=>u("")},{default:sn(()=>[Xo("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"])},[Fs(qa(Dte),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),a[1]||=Xo("span",{class:"text-c-2"},"No Environment",-1)]),_:1})):ai("",!0),r.value&&n.value?(Ho(),Fo(qa(mie),{key:1})):ai("",!0),(Ho(!0),Qo(Bs,null,Xn(e.environments,t=>(Ho(),Fo(qa(gie),{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:sn(()=>[Xo("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"])},[Fs(qa(Dte),{class:"size-2.5",icon:"Checkmark",thickness:"3"})],2),Xo("span",Vvt,Yt(t),1)]),_:2},1032,["onClick"]))),128)),i.value?(Ho(),Fo(qa(mie),{key:2})):ai("",!0),i.value?(Ho(),Fo(qa(gie),{key:3,class:"group/item flex h-auto w-full min-w-0 items-start gap-1.5 overflow-hidden",disabled:""},{default:sn(()=>[Xo("div",qvt,[Fs(qa(Dte),{class:"size-2.5",icon:"Checkmark",thickness:"3"})]),Xo("div",Qvt,[Xo("span",Fvt,Yt(e.activeEnvironment),1),a[2]||=Xo("span",{class:"text-c-3 block truncate text-xs"}," Not available in this context ",-1)])]),_:1})):ai("",!0),n.value?(Ho(),Fo(qa(mie),{key:4})):ai("",!0),Fs(qa(gie),{class:"text-c-accent flex items-center gap-1.5",onClick:c},{default:sn(()=>[Xo("div",Wvt,[Fs(qa(Dte),{icon:"Add",size:"sm"})]),Xo("span",null,Yt(n.value?"New Environment":"Create Environment"),1)]),_:1}),n.value||r.value?ai("",!0):(Ho(),Qo("div",Gvt,[...a[3]||=[Xo("p",{class:"mb-1"}," Environments let you manage variables like API keys and base URLs across different contexts. ",-1)]]))]),default:sn(()=>[Fs(qa(sae),{"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:sn(()=>[Xo("div",Hvt,[Fs(qa(Dte),{class:tt(["shrink-0",r.value&&!i.value?"text-c-accent":"text-c-3"]),icon:"Globe",size:"sm"},null,8,["class"]),Xo("span",Zvt,Yt(s.value),1),Fs(qa(Dte),{class:"shrink-0",icon:"ChevronDown",size:"xs"})])]),_:1},8,["aria-label","class"])]),_:1})]))}})}),Bbt=V(()=>{Lbt(),Yvt=Xvt}),jbt=V(()=>{wS(),Dbt(),Bbt(),Bc(),Xk(),Yte(),EQe(),Kvt={class:"lg:min-h-header t-app__top-container @container flex w-full flex-wrap items-center justify-center p-2"},Jvt={class:"mb-2 flex flex-1 items-center justify-end gap-2 @3xl:mb-0"},ebt=Cn({__name:"Header",props:{path:{},method:{},isWebhook:{type:Boolean},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","update:webhook-url"],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)=>(Ho(),Qo("div",Kvt,[o[9]||=Xo("div",{class:"flex flex-1"},null,-1),Fs(qa(Uvt),{activeEnvironment:e.activeEnvironment,documentSlug:e.documentSlug,environment:e.environment,environments:e.environments,eventBus:e.eventBus,exampleKey:e.exampleKey,history:e.history,isWebhook:e.isWebhook,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"),"onUpdate:webhookUrl":o[2]||=e=>a("update:webhook-url",e),"onSelect:history:item":o[3]||=e=>a("select:history:item",e)},null,8,["activeEnvironment","documentSlug","environment","environments","eventBus","exampleKey","history","isWebhook","layout","method","path","server","serverMeta","servers"]),Xo("div",Jvt,["modal"===e.layout?ai("",!0):(Ho(),Fo(Yvt,{key:0,activeEnvironment:e.activeEnvironment,environments:e.environments,"onAdd:environment":n,"onSelect:environment":r},null,8,["activeEnvironment","environments"])),"modal"===e.layout||e.isWebhook?ai("",!0):(Ho(),Fo(qa(tQe),{key:1,icon:qa(av),label:"Operation settings",size:"sm",weight:"bold",onClick:o[4]||=e=>a("navigate:settings")},null,8,["icon"])),"modal"===e.layout&&e.documentUrl&&!e.hideClientButton?(Ho(),Fo(oS,{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?(Ho(),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[5]||=t=>e.eventBus.emit("ui:close:client-modal")},[Fs(qa(Dte),{icon:"Close",size:"lg",thickness:"2"}),o[7]||=Xo("span",{class:"sr-only"},"Close Client",-1)])):ai("",!0),"modal"===e.layout&&"gitbook"===e.source?(Ho(),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[6]||=t=>e.eventBus.emit("ui:close:client-modal")},[Fs(qa(Dte),{icon:"Close",size:"md",thickness:"1.75"}),o[8]||=Xo("span",{class:"sr-only"},"Close Client",-1)])):ai("",!0)])]))}})}),Ubt=V(()=>{kh(),jbt(),tbt=yh(ebt,[["__scopeId","data-v-3769522e"]])});function zbt(e={}){let{notify:t=e=>a(e,"info")}=e,{toast:a}=Bot();return{copyToClipboard:async function(e){try{let a=Hbt(e);await navigator.clipboard.writeText(a),t("Copied to the clipboard")}catch(e){console.error(e.message),t("Failed to copy to clipboard")}}}}var Hbt,Zbt,Vbt,qbt,Qbt,Fbt,Wbt,Gbt,Xbt,Ybt,Kbt,Jbt,eyt,tyt=V(()=>{zot(),Hbt=e=>void 0===e?"undefined":"string"==typeof e?e:JSON.stringify(e)}),ayt=V(()=>{tyt()}),ryt=V(()=>{f_(),$_(),bA(),I_(),R_(),D_(),L_(),K_(),DK(),omt(),sbt(),Ubt(),Bc(),RK(),KS(),JS(),eA(),Iat(),sgt(),hJe(),ayt(),zot(),Zbt={class:"bg-b-1 flex h-full flex-col"},Vbt={class:"lg:min-h-header flex w-full flex-wrap items-center justify-center p-2 lg:p-0"},qbt=Cn({name:"OperationBlock",props:{eventBus:{},appVersion:{},document:{},documentSlug:{},workspaceCookies:{default:()=>[]},documentCookies:{default:()=>[]},path:{},method:{},isWebhook:{type:Boolean,default:!1},httpClients:{default:()=>CKe},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=il(()=>g6e(e.httpClients)),{toast:a}=Bot(),{copyToClipboard:r}=zbt(),n=Ha(null),o=Ha(null),i=Ha(null),s=Ha("");hn([()=>e.path,()=>e.method,()=>e.isWebhook],()=>{s.value=""},{immediate:!0});let l=il(()=>e.isWebhook?s.value:e.path),c=il(()=>e.isWebhook?null:e.server),u=()=>n.value?.abort(ES.REQUEST_ABORTED),d=async()=>{let{request:t}=zX({defaultHeaders:e.defaultHeaders,environment:e.environment,exampleName:e.exampleKey,globalCookies:[...e.workspaceCookies,...e.documentCookies],method:e.method,operation:e.operation,path:l.value,proxyUrl:e.proxyUrl,server:c.value,selectedSecuritySchemes:e.selectedSecuritySchemes,isElectron:NS(),requestBodyCompositionSelection:e.requestBodyCompositionSelection});await r(sX(t,gX(e.environment)))},p=async()=>{if(e.eventBus.flushDebouncedEmits?.(),e.isWebhook&&!l.value.trim())return void a("Webhook URL required. Enter a destination first.","error");if(!1===SK(e.operation.parameters??[],e.exampleKey).ok)return void a("Path parameters must have values.","error");let t=[...e.workspaceCookies,...e.documentCookies],{request:r}=zX({defaultHeaders:e.defaultHeaders,environment:e.environment,exampleName:e.exampleKey,globalCookies:t,method:e.method,operation:e.operation,path:l.value,proxyUrl:e.proxyUrl,server:c.value,selectedSecuritySchemes:e.selectedSecuritySchemes,isElectron:NS(),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]))}}(),u=gX(e.environment);s.setEnvironment?.(Object.entries(u).map(([e,t])=>({key:e,value:t})));let d=e.activeEnvironment?{environmentName:e.activeEnvironment,mergedVariables:[...e.environment.variables],documentVariables:[...e.document["x-scalar-environments"]?.[e.activeEnvironment]?.variables??[]],environmentExistsOnDocument:!!e.document["x-scalar-environments"]?.[e.activeEnvironment]}:null;await Tft({requestBuilder:r,document:e.document,operation:e.operation,variablesStore:s,server:c.value,customFetch:Qa(e.options)?.customFetch},"beforeRequest",e.plugins);let p=()=>{if(!d)return;let t=M_({...d,seededVariables:u,scriptVariables:s.getEnvironment()});for(let a of t)"delete"===a.type?e.eventBus.emit("environment:delete:environment-variable",{environmentName:a.environmentName,index:a.index,collectionType:a.collectionType}):e.eventBus.emit("environment:upsert:environment-variable",{environmentName:a.environmentName,variable:a.variable,index:a.index,collectionType:a.collectionType})},h=lX(r,{envVariables:s.getVariables(),allowMissingRequestServerBase:"modal"===e.layout});if(!h.ok)return p(),void a(h.message??h.error,"error");n.value=h.data.controller;let m=RS(...h.data.requestPayload);await Tft({request:m,requestBuilder:r,document:e.document,operation:e.operation,variablesStore:s},"requestBuilt",e.plugins),e.eventBus.emit("hooks:on:request:sent",{meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}});let[f,g]=await hA({isUsingProxy:h.data.isUsingProxy,requestPayload:h.data.requestPayload,request:m,plugins:e.plugins,customFetch:Qa(e.options)?.customFetch});if(g&&await Tft({response:g.originalResponse.clone(),requestBuilder:r,request:RS(...g.requestPayload),document:e.document,operation:e.operation,variablesStore:s},"responseReceived",e.plugins),p(),e.eventBus.emit("hooks:on:request:complete",{payload:g?{response:g.originalResponse.clone(),requestPayload:g.requestPayload,duration:g.response.duration,timestamp:g.timestamp}:void 0,meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}}),f)return o.value=null,i.value=null,n.value=null,void a(f.message,"error");o.value=g.response,i.value=g.requestPayload,(t=>{let a=E_({cookieHeaderKeys:t.response.cookieHeaderKeys??[],documentCookies:e.documentCookies,requestUrl:A_(String(t.requestPayload[0]))});for(let t of a)"delete"!==t.type?e.eventBus.emit("cookie:upsert:cookie",{collectionType:"document",payload:t.cookie,...void 0===t.index?{}:{index:t.index}}):e.eventBus.emit("cookie:delete:cookie",{collectionType:"document",cookieName:t.cookieName,index:t.index})})(g),function(e){return"reader"in e}(g.response)||U_.set(j_(e.method,e.path,e.exampleKey),{response:g.response,requestPayload:g.requestPayload})};as(()=>{e.eventBus.on("operation:send:request:hotkey",p),e.eventBus.on("operation:cancel:request",u),e.eventBus.on("copy-url:address-bar",d),Tft({document:e.document,operation:e.operation},"onRequestMount",e.plugins)}),os(()=>{e.eventBus.off("operation:send:request:hotkey",p),e.eventBus.off("operation:cancel:request",u),e.eventBus.off("copy-url:address-bar",d)});let h=il(()=>e.history.map(e=>({method:e.request.method,path:e.request.url,duration:e.time,status:e.response.status})).reverse()),m=({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=O_({harResponse:r.response,url:r.request.url,method:e.method,path:e.path,duration:r.time}),n=y_({harRequest:r.request});o.value=a,i.value=n}})})},f=()=>{e.eventBus.emit("ui:navigate",{page:"operation",path:"overview",operationPath:e.path,method:e.method})};return hn([()=>e.path,()=>e.method,()=>e.exampleKey],([t,a,r])=>{let n=U_.get(j_(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=O_({harResponse:n.response,url:n.request.url,method:a,path:t,duration:n.time}),i.value=null):(o.value=null,i.value=null)}u()},{immediate:!0}),os(()=>{u()}),(a,r)=>(Ho(),Qo("div",Zbt,[Xo("div",Vbt,[Fs(tbt,{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:h.value,integration:e.integration,isWebhook:e.isWebhook,layout:e.layout,method:e.method,path:l.value,server:c.value,serverMeta:e.serverMeta,servers:e.servers,source:e.source,onExecute:p,"onNavigate:settings":f,"onSelect:history:item":m,"onUpdate:webhookUrl":r[0]||=e=>s.value=e},null,8,["activeEnvironment","documentSlug","documentUrl","environment","environments","eventBus","exampleKey","hideClientButton","history","integration","isWebhook","layout","method","path","server","serverMeta","servers","source"])]),Fs(d_,{class:"border-t"},{default:sn(()=>[Fs(b_,{class:"flex-1"},{default:sn(()=>[Fs(qa(Rht),{authMeta:e.authMeta,clientOptions:t.value,defaultHeaders:e.defaultHeaders,defaultRequestBodyView:e.document["x-scalar-default-request-body-view"],documentCookies:e.documentCookies,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,layout:e.layout,method:e.method,operation:e.operation,options:Qa(e.options),path:l.value,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:c.value,workspaceCookies:e.workspaceCookies},null,8,["authMeta","clientOptions","defaultHeaders","defaultRequestBodyView","documentCookies","environment","eventBus","exampleKey","layout","method","operation","options","path","plugins","proxyUrl","requestBodyCompositionSelection","securityRequirements","securitySchemes","selectedClient","selectedSecurity","selectedSecuritySchemes","server","workspaceCookies"]),Fs(qa(zgt),{appVersion:e.appVersion,eventBus:e.eventBus,layout:e.layout,plugins:e.plugins,requestPayload:i.value,response:o.value,totalPerformedRequests:h.value.length},null,8,["appVersion","eventBus","layout","plugins","requestPayload","response","totalPerformedRequests"])]),_:1})]),_:1})]))}})}),nyt=V(()=>{ryt(),Qbt=qbt}),oyt=V(()=>{h_(),Bc(),Fbt=Cn({inheritAttrs:!1,__name:"ScalarColorModeToggleIcon",props:{is:{default:"button"},mode:{default:"light"}},setup(e){let{cx:t}=c_(),a=il(()=>"dark"===e.mode?"Set light mode":"Set dark mode");return(r,n)=>(Ho(),Fo(Fn(e.is),ii({"aria-label":a.value,class:`toggle-icon-${e.mode}`,type:"button"===e.is?"button":void 0},qa(t)("size-3 flex items-center justify-center text-c-1")),{default:sn(()=>[...n[0]||=[Xo("span",{class:"toggle-icon-sun-ray"},null,-1),Xo("span",{class:"toggle-icon-sun-ray"},null,-1),Xo("span",{class:"toggle-icon-sun-ray"},null,-1),Xo("span",{class:"toggle-icon-sun-ray"},null,-1),Xo("span",{class:"toggle-icon-ellipse"},[Xo("span",{class:"toggle-icon-moon-mask"})],-1)]]),_:1},16,["aria-label","class","type"]))}})}),iyt=V(()=>{zK(),oyt(),Wbt=MK(Fbt,[["__scopeId","data-v-60be8692"]])}),syt=V(()=>{iyt(),h_(),Bc(),Gbt=["aria-pressed"],Xbt=Cn({inheritAttrs:!1,__name:"ScalarColorModeToggleButton",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){let{cx:t}=c_(),a=xo(e,"modelValue");return(e,r)=>(Ho(),Qo("button",ii({"aria-pressed":a.value,type:"button"},qa(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]||=Xo("div",{class:"h-3 w-full bg-border mx-px rounded-xl group-focus-visible/toggle:outline -outline-offset-1"},null,-1),Xo("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}])},[Fs(Wbt,{is:"div",mode:a.value?"dark":"light"},null,8,["mode"])],2)],16,Gbt))}})}),lyt=V(()=>{syt(),Ybt=Xbt}),cyt=V(()=>{Kbt={light:"light-mode",dark:"dark-mode"},Jbt=(e,t=document.body)=>{t.classList.toggle(Kbt.dark,"dark"===e),t.classList.toggle(Kbt.light,"light"===e)},eyt=()=>typeof window>"u"?"light":"function"==typeof window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)")?.matches?"dark":"light":"dark"});function uyt(e={}){let{initialColorMode:t="system",overrideColorMode:a}=e;function r(e){dyt.value=e,!(typeof window>"u")&&window?.localStorage?.setItem("colorMode",dyt.value)}function n(){return eyt()}let i=il({get:()=>"system"===dyt.value?pyt.value:dyt.value,set:r}),s=il({get:()=>"dark"===i.value,set:e=>r(e?"dark":"light")});let l=typeof window>"u"?"system":window?.localStorage?.getItem("colorMode"),c=o(hyt,l)?l:null;dyt.value=a??c??t,hn([dyt,pyt],function(){typeof document>"u"||typeof window>"u"||Jbt("dark"===(a??("system"===dyt.value?pyt.value:dyt.value))?"dark":"light")},{immediate:!0});let u=()=>{pyt.value=n()},d=Ha(null);return as(()=>{pyt.value=n(),typeof window<"u"&&"function"==typeof window?.matchMedia&&(d.value=window.matchMedia("(prefers-color-scheme: dark)"),d.value?.addEventListener("change",u))}),is(()=>{d.value?.removeEventListener("change",u)}),{colorMode:il({get:()=>dyt.value,set:r}),darkLightMode:i,isDarkMode:s,toggleColorMode:function(){dyt.value="dark"===i.value?"light":"dark",!(typeof window>"u")&&window?.localStorage?.setItem("colorMode",dyt.value)},setColorMode:r,getSystemModePreference:n}}var dyt,pyt,hyt,myt,fyt,gyt,vyt,byt,yyt,wyt,xyt,Oyt,kyt,Syt,Ayt,Tyt,_yt,Cyt,Eyt,Pyt,Myt,Nyt,$yt,Iyt,Ryt,Dyt,Lyt,Byt,jyt,Uyt,zyt,Hyt,Zyt,Vyt,qyt,Qyt,Fyt,Wyt,Gyt,Xyt,Yyt,Kyt,Jyt,ewt,twt,awt,rwt,nwt,owt,iwt,swt,lwt,cwt,uwt,dwt,pwt,hwt,mwt,fwt=V(()=>{cyt(),J(),Bc(),dyt=Ha("dark"),pyt=Ha("light"),hyt=O([A("system"),A("dark"),A("light")])}),gwt=V(()=>{fwt()}),vwt=V(()=>{iyt(),lyt(),Bc(),gwt(),myt=Cn({__name:"ScalarColorModeToggle",props:{variant:{default:"switch"}},setup(e){let{isDarkMode:t,toggleColorMode:a,darkLightMode:r}=uyt(),n=il(()=>t.value?"Set light mode":"Set dark mode");return(o,i)=>"switch"===e.variant?(Ho(),Fo(Ybt,{key:0,modelValue:qa(t),"onUpdate:modelValue":i[0]||=e=>za(t)?t.value=e:null,"aria-label":n.value},null,8,["modelValue","aria-label"])):(Ho(),Fo(Wbt,{key:1,"aria-label":n.value,mode:qa(r),onClick:qa(a)},null,8,["aria-label","mode","onClick"]))}})}),bwt=V(()=>{vwt(),fyt=myt}),ywt=V(()=>{iyt(),lyt(),bwt()}),wwt=V(()=>{gyt="scalar-app",vyt="headlessui-portal-root",byt=e=>null!==e&&e instanceof HTMLElement,yyt=e=>{!e||e.classList.contains(gyt)||e.classList.add(gyt)},wyt=()=>{yyt(document.getElementById(vyt));let e=new MutationObserver(e=>e.forEach(({addedNodes:e})=>e.forEach(e=>{byt(e)&&e.id===vyt&&yyt(e)})));return e.observe(document.body,{childList:!0}),e}}),xwt=V(()=>{wwt()}),Owt=V(()=>{h_(),Bc(),xyt=Cn({inheritAttrs:!1,__name:"ScalarSidebar",setup(e){let{cx:t}=c_();return(e,a)=>(Ho(),Qo("aside",at(Ko(qa(t)("flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72"))),[Kn(e.$slots,"default")],16))}})}),kwt=V(()=>{Owt(),Oyt=xyt}),Swt=V(()=>{h_(),Bc(),kyt=Cn({inheritAttrs:!1,__name:"ScalarSidebarIndent",props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){let t=il(()=>Array.from({length:e.indent},(e,t)=>t)),{cx:a}=c_();return(r,n)=>(Ho(),Qo("div",at(Ko(qa(a)("scalar-sidebar-indent flex justify-center",{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[(Ho(!0),Qo(Bs,null,Xn(t.value,(a,r)=>(Ho(),Qo("div",{key:a,class:"relative w-[var(--scalar-sidebar-indent)]"},[n[0]||=Xo("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?(Ho(),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))}})}),Awt=V(()=>{zK(),Swt(),Syt=MK(kyt,[["__scopeId","data-v-3e080c68"]])}),Twt=V(()=>{Xte(),Awt(),h_(),Bc(),Ayt={key:0,class:"h-lh *:size-4 mr-1 flex items-center"},Tyt={class:"group/button-label flex-1 min-w-0"},_yt=Cn({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=a_({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}=c_();return(r,n)=>(Ho(),Fo(Fn(e.is),ii({"aria-current":e.selected?"page":void 0,type:"button"===e.is?"button":void 0},qa(a)(qa(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:sn(()=>[Kn(r.$slots,"indent",{},()=>[Fs(Syt,{class:"-my-2",disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,["disabled","indent","selected"])]),e.icon||r.$slots.icon?(Ho(),Qo("div",Ayt,[Kn(r.$slots,"icon",{},()=>[e.icon?(Ho(),Fo(qa(Bte),{key:0,icon:e.icon},null,8,["icon"])):ai("",!0)])])):ai("",!0),Xo("div",Tyt,[Kn(r.$slots,"default")]),Kn(r.$slots,"aside")]),_:3},16,["aria-current","type"]))}})}),_wt=V(()=>{Twt(),Cyt=_yt}),Cwt=V(()=>{bwt(),h_(),Bc(),Eyt={class:"flex items-center"},Pyt={class:"flex-1 min-w-0 flex items-center text-sm text-sidebar-c-2"},Myt=Cn({inheritAttrs:!1,__name:"ScalarSidebarFooter",setup(e){let{cx:t}=c_();return(e,a)=>(Ho(),Qo("div",at(Ko(qa(t)("flex flex-col gap-3 px-3 pb-3 border-sidebar-border"))),[Kn(e.$slots,"default"),Xo("div",Eyt,[Xo("div",Pyt,[Kn(e.$slots,"description",{},()=>[a[0]||=Xo("a",{class:"no-underline hover:underline",href:"https://www.scalar.com",target:"_blank"}," Powered by Scalar ",-1)])]),Kn(e.$slots,"toggle",{},()=>[Fs(qa(fyt))])])],16))}})}),Ewt=V(()=>{Cwt(),Nyt=Myt}),Pwt=V(()=>{Xte(),h_(),Bc(),Xk(),$yt={class:"sr-only"},Iyt=Cn({inheritAttrs:!1,__name:"ScalarSidebarGroupToggle",props:{is:{default:"div"},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){let t=a_({base:"size-4 flex items-center justify-center transition-transform duration-100",variants:{open:{true:"rotate-90"}},defaultVariants:{open:!1}}),{cx:a}=c_();return(r,n)=>(Ho(),Fo(Fn(e.is),ii({type:"button"===e.is?"button":void 0},qa(a)(qa(t)({open:e.open}))),{default:sn(()=>[Kn(r.$slots,"default",{open:e.open},()=>[e.icon?(Ho(),Fo(qa(Bte),{key:0,icon:e.icon},null,8,["icon"])):(Ho(),Fo(qa(Zm),{key:1,class:"size-3",weight:"bold"}))]),Xo("span",$yt,[Kn(r.$slots,"label",{open:e.open},()=>[ei(Yt(e.open?"Close":"Open")+" Group ",1)])])]),_:3},16,["type"]))}})}),Mwt=V(()=>{Pwt(),Ryt=Iyt}),Nwt=V(()=>{Mwt(),h_(),Bc(),Dyt=["aria-expanded"],Lyt=Cn({inheritAttrs:!1,__name:"ScalarSidebarGroupToggleButton",props:{open:{type:Boolean,default:!1},selected:{type:Boolean}},setup(e){let t=a_({base:["absolute top-[1lh] right-1.25 -translate-y-1/2","rounded p-0.75 text-sidebar-c-2"],variants:{selected:{true:"hover:bg-sidebar-b-1 hover:text-sidebar-c-1",false:"hover:bg-sidebar-b-hover hover:text-sidebar-c-hover"}},defaultVariants:{selected:!1}}),{cx:a}=c_();return(r,n)=>(Ho(),Qo("button",ii({"aria-expanded":e.open,type:"button"},qa(a)(qa(t)({selected:e.selected}))),[Kn(r.$slots,"default",{open:e.open},()=>[Fs(Ryt,{open:e.open},Yn({_:2},[r.$slots.label?{name:"label",fn:sn(()=>[Kn(r.$slots,"label",{open:e.open})]),key:"0"}:void 0]),1032,["open"])])],16,Dyt))}})}),$wt=V(()=>{Nwt(),Byt=Lyt}),Iwt=V(()=>{h_(),Bc(),jyt=Cn({inheritAttrs:!1,__name:"ScalarSidebarGroupToggleSpacer",setup(e){let{cx:t}=c_();return(e,a)=>(Ho(),Qo("div",at(Ko(qa(t)("size-4"))),null,16))}})}),Rwt=V(()=>{Iwt(),Uyt=jyt}),Dwt=V(()=>{Bc(),zyt=Symbol(),Hyt=(e={})=>{let{increment:t=!1,reset:a=!1}=e,r=dn(zyt,0);return un(zyt,a?0:t&&r<6?r+1:r),{level:r}}}),Lwt=V(()=>{_wt(),Dwt(),h_(),Bc(),Zyt=Cn({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}=Hyt(),{cx:r}=c_();return(n,o)=>(Ho(),Qo("li",at(Ko(qa(r)("group/item flex flex-col text-base"))),[Kn(n.$slots,"before"),Kn(n.$slots,"button",{level:qa(a)},()=>[Fs(Cyt,ii(t,{indent:e.indent??qa(a)}),Yn({_:2},[n.$slots.default?{name:"default",fn:sn(()=>[Kn(n.$slots,"default")]),key:"0"}:void 0,n.$slots.icon?{name:"icon",fn:sn(()=>[Kn(n.$slots,"icon")]),key:"1"}:void 0,n.$slots.aside?{name:"aside",fn:sn(()=>[Kn(n.$slots,"aside")]),key:"2"}:void 0]),1040,["indent"])]),Kn(n.$slots,"after")],16))}})}),Bwt=V(()=>{Lwt(),Vyt=Zyt}),jwt=V(()=>{Bwt(),Bc(),qyt=Cn({__name:"ScalarSidebarLoading",props:{items:{default:4}},setup:e=>(t,a)=>(Ho(!0),Qo(Bs,null,Xn(e.items,e=>(Ho(),Fo(Vyt,{key:e,class:"pointer-events-none"},{default:sn(()=>[...a[0]||=[Xo("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))})}),Uwt=V(()=>{jwt(),Qyt=qyt}),zwt=V(()=>{Awt(),_wt(),Mwt(),$wt(),Rwt(),Dwt(),Uwt(),h_(),Bc(),Fyt={class:"group/group-button relative flex flex-col text-base"},Wyt={key:0,class:"group/items flex flex-col gap-px"},Gyt=Cn({inheritAttrs:!1,__name:"ScalarSidebarGroup",props:oo({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:oo(["click","toggle"],["update:open"]),setup(e,{emit:t}){let a=t,r=xo(e,"open"),{level:n}=Hyt({increment:!0}),{cx:o}=c_(),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)=>(Ho(),Fo(Fn(e.is),at(Ko(qa(o)("group/item flex flex-col gap-px"))),{default:sn(()=>[Xo("div",Fyt,[Kn(t.$slots,"before",{open:r.value}),Kn(t.$slots,"button",{level:qa(n),open:r.value},()=>[Fs(Cyt,{is:"button",active:e.active,"aria-expanded":e.discrete?void 0:r.value,disabled:e.disabled,icon:e.icon,indent:qa(n),selected:e.selected,onClick:i},Yn({indent:sn(()=>[Fs(Syt,{class:"mr-0 -my-2",indent:qa(n),selected:e.selected},null,8,["indent","selected"])]),aside:sn(()=>[Kn(t.$slots,"aside",{open:r.value}),e.discrete?(Ho(),Fo(Uyt,{key:0})):Kn(t.$slots,"toggle",{open:r.value},()=>[Fs(Ryt,{class:"text-sidebar-c-2",open:r.value},null,8,["open"])],void 0,1)]),default:sn(()=>[Kn(t.$slots,"default",{open:r.value})]),_:2},[t.$slots.icon?{name:"icon",fn:sn(()=>[Kn(t.$slots,"icon",{open:r.value})]),key:"0"}:void 0]),1032,["active","aria-expanded","disabled","icon","indent","selected"]),e.discrete?(Ho(),Fo(Byt,{key:0,open:r.value,selected:e.selected,onClick:s},{default:sn(()=>[Kn(t.$slots,"toggle",{open:r.value},()=>[Fs(Ryt,{open:r.value},{label:sn(()=>[ei(Yt(r.value?"Close":"Open")+" ",1),Kn(t.$slots,"default",{open:r.value})]),_:3},8,["open"])])]),_:3},8,["open","selected"])):ai("",!0)]),Kn(t.$slots,"after",{open:r.value})]),r.value?(Ho(),Qo("ul",Wyt,[e.loading?(Ho(),Fo(Qyt,{key:0})):Kn(t.$slots,"items",{open:r.value},void 0,void 0,1)])):ai("",!0)]),_:3},16))}})}),Hwt=V(()=>{zwt(),Xyt=Gyt}),Zwt=V(()=>{Bc(),Yyt=Symbol(),Kyt=()=>{let e=Ma(new Set),t=il(()=>{for(let t of e)if(t())return!0;return!1});return un(Yyt,e),{open:t}}}),Vwt=V(()=>{Zwt(),h_(),Bc(),Jyt=Cn({inheritAttrs:!1,__name:"ScalarSidebarItems",props:{is:{default:"ul"}},setup(e){let{open:t}=Kyt(),{cx:a}=c_();return(r,n)=>(Ho(),Fo(Fn(e.is),at(Ko(qa(a)("group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300",qa(t)?"-translate-x-full":"translate-x-0"))),{default:sn(()=>[Kn(r.$slots,"default")]),_:3},16))}})}),qwt=V(()=>{Vwt(),ewt=Jyt}),Qwt=V(()=>{Awt(),h_(),Bc(),twt=Cn({inheritAttrs:!1,__name:"ScalarSidebarSpacer",props:{indent:{default:0}},setup(e){let{cx:t}=c_();return(a,r)=>(Ho(),Qo("div",at(Ko(qa(t)("flex px-2 h-1"))),[Fs(Syt,{indent:e.indent},null,8,["indent"])],16))}})}),Fwt=V(()=>{Qwt(),awt=twt}),Wwt=V(()=>{h_(),Bc(),Xk(),rwt={class:"flex-1 text-start leading-none"},nwt={key:0,class:"uppercase text-sidebar-c-2 leading-none py-1 px-1.25 rounded text-xs font-medium border"},owt={class:"sr-only"},iwt={dir:"ltr"},swt=Cn({inheritAttrs:!1,__name:"ScalarSidebarSearchButton",props:{shortcutLabel:{default:"Keyboard Shortcut:"}},setup(e){let{cx:t}=c_();return(a,r)=>(Ho(),Qo("button",ii({type:"button"},qa(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")),[Fs(qa(Vb),{"aria-hidden":"true",class:"size-4"}),Xo("span",rwt,[Kn(a.$slots,"default",{},()=>[r[0]||=ei("Search...",-1)])]),a.$slots.shortcut?(Ho(),Qo("span",nwt,[Xo("span",owt,Yt(e.shortcutLabel),1),Xo("kbd",iwt,[Kn(a.$slots,"shortcut")])])):ai("",!0)],16))}})}),Gwt=V(()=>{Wwt(),lwt=swt}),Xwt=V(()=>{uae(),CQe(),h_(),Bc(),Xk(),cwt=["aria-label"],uwt=Cn({inheritAttrs:!1,__name:"ScalarSidebarSearchInput",props:oo({autofocus:{type:Boolean},loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=Ha(null),a=xo(e,"modelValue");function r(){a.value="",t.value&&t.value.focus()}let{stylingAttrsCx:n,otherAttrs:o}=c_();return as(()=>e.autofocus&&t.value?.focus()),(i,s)=>(Ho(),Qo("label",at(Ko(qa(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"))),[Fs(qa(Vb),{class:"text-sidebar-c-search size-4"}),ln(Xo("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"},qa(o)),null,16,cwt),[[xc,a.value]]),e.loader&&e.loader.isActive?(Ho(),Fo(qa(rae),{key:0,class:"mr-3 self-center",loader:e.loader,size:"md"},null,8,["loader"])):a.value?(Ho(),Fo(qa(tQe),{key:1,class:"p-px size-4",icon:qa(Ix),label:"Clear Search",weight:"bold",onClick:Cc(r,["stop","prevent"])},null,8,["icon"])):ai("",!0)],16))}})}),Ywt=V(()=>{Xwt(),dwt=uwt}),Kwt=V(()=>{_wt(),Dwt(),Uwt(),Fwt(),h_(),Bc(),pwt={class:"flex flex-col gap-px"},hwt=Cn({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}=Hyt({increment:!1}),{cx:a}=c_();return(r,n)=>(Ho(),Fo(Fn(e.is),at(Ko(qa(a)("group/item group/sidebar-section contents"))),{default:sn(()=>[Fs(awt,{class:"group/spacer-before h-3",indent:qa(t)},null,8,["indent"]),r.$slots.default?(Ho(),Fo(Cyt,{key:0,is:"div",class:"text-sm/4 py-1.75 font-bold",disabled:"",icon:e.icon,indent:qa(t)},{default:sn(()=>[Kn(r.$slots,"default")]),_:3},8,["icon","indent"])):ai("",!0),Xo("ul",pwt,[e.loading?(Ho(),Fo(Qyt,{key:0})):Kn(r.$slots,"items",{},void 0,void 0,1)]),Fs(awt,{class:"group/spacer-after h-3",indent:qa(t)},null,8,["indent"])]),_:3},16))}})}),Jwt=V(()=>{Kwt(),mwt=hwt}),ext=V(()=>{kwt(),Awt(),_wt(),Ewt(),Mwt(),$wt(),Rwt(),Bwt(),Hwt(),qwt(),Gwt(),Ywt(),Jwt()});ywt(),xwt(),ext();var txt,axt,rxt=e=>e.replace(/~/g,"~0").replace(/\//g,"~1"),nxt=V(()=>{txt=class{data;next;constructor(e){this.data=e,this.next=null}},axt=class{front;rear;size;constructor(){this.front=null,this.rear=null,this.size=0}enqueue(e){let t=new txt(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(" -> ")}}});nxt();var oxt,ixt,sxt,lxt,cxt=(e,t={})=>{let{prefix:a="",cache:r=new WeakMap}=t,n=e=>({$ref:`#${e??""}`});if("object"!=typeof e||!e)return e;let o=a;r.set(e,o);let i=Array.isArray(e)?Array(e.length):{},s=new axt;for(s.enqueue({node:e,result:i,path:o});!s.isEmpty();){let e=s.dequeue();if(!e)continue;let{node:t,result:a,path:o}=e;if(Array.isArray(t)){let e=t,i=a;for(let t=0;t<e.length;t++){if(!(t in e))continue;let a=e[t],l=`${o}/${t}`;if("object"!=typeof a||!a){i[t]=a;continue}let c=r.get(a);if(void 0!==c){i[t]=n(c);continue}r.set(a,l);let u=Array.isArray(a)?Array(a.length):{};i[t]=u,s.enqueue({node:a,result:u,path:l})}continue}let i=a;for(let[e,a]of Object.entries(t)){let t=`${o}/${rxt(e)}`;if("object"!=typeof a||!a){i[e]=a;continue}let l=r.get(a);if(void 0!==l){i[e]=n(l);continue}r.set(a,t);let c=Array.isArray(a)?Array(a.length):{};i[e]=c,s.enqueue({node:a,result:c,path:t})}}return i},uxt=V(()=>{Bc(),G3e(),X3e(),oxt=Cn({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,a=il(()=>a3e(String(t.method||""))),r=il(()=>n3e(t.method));return(t,n)=>(Ho(),Fo(Fn(e.as??"span"),{class:"uppercase",style:Je({[e.property||"color"]:a.value.colorVar})},{default:sn(()=>[Kn(t.$slots,"default"),ei(" "+Yt(e.short?a.value.short:r.value),1)]),_:3},8,["style"]))}})}),dxt=V(()=>{uxt(),ixt=oxt}),pxt=V(()=>{sxt=new Set(["document","operation","example","tag","webhook"]),lxt=(e,t,a)=>a&&1===t.length&&"example"===t[0]?.type&&"default"===t[0]?.name?[]:"reference"===e?t:t.filter(e=>sxt.has(e.type))});function hxt(e){let{ceiling:t=.8,floor:a=.2,isDraggable:r=!0,isDroppable:n=!0,parentIds:o=[],id:i,onDragStart:s,onDragEnd:l}=e,c=il(()=>o.at(-1)??null),u=e=>"function"==typeof n?n(gxt.value,{id:i,parentId:c.value,offset:e}):Qa(n),d=mxt(e=>{if(!gxt.value||gxt.value.id===i||o.includes(gxt.value?.id??""))return;let r=vxt.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)&&(vxt.value={id:i,parentId:c.value,offset:d})},25),p=il(()=>{let e=i===vxt.value?.id?vxt.value.offset:void 0;return e?fxt({position:e}):""});return{draggableAttrs:il(()=>({class:p.value||void 0,draggable:!!Qa(r)||void 0})),draggableEvents:{dragend:()=>{if(!vxt.value||!gxt.value)return;let e={...gxt.value},t={...vxt.value};gxt.value=null,vxt.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(!(Qa(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};gxt.value=t,s?.(t)})(e)}},draggingItem:gxt,hoveredItem:vxt}}var mxt,fxt,gxt,vxt,bxt,yxt,wxt,xxt,Oxt=V(()=>{Bc(),h_(),mxt=(e,t)=>{let a=!1;return(...r)=>{a||(e(...r),a=!0,setTimeout(()=>a=!1,t))}},fxt=a_({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"}}}),gxt=Ha(null),vxt=Ha(null)}),kxt=V(()=>{bxt=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a}}),Sxt=V(()=>{dxt(),Bc(),G3e(),Xk(),yxt={class:"sr-only"},wxt=Cn({__name:"SidebarHttpBadge",props:{method:{},active:{type:Boolean},label:{},webhook:{type:Boolean}},setup:e=>(t,a)=>(Ho(),Fo(ixt,{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:sn(()=>[Xo("span",yxt,Yt(e.label??"HTTP Method")+": ",1),Kn(t.$slots,"default",{},()=>[e.webhook?(Ho(),Fo(qa(Tx),{key:0,style:Je({color:qa(a3e)(e.method).colorVar}),weight:"bold"},null,8,["style"])):ai("",!0)],!0)]),_:3},8,["class","method"]))})}),Axt=V(()=>{kxt(),Sxt(),xxt=bxt(wxt,[["__scopeId","data-v-bdef8365"]])});function Txt(e,t){return Ho(),Qo("div",_xt,[Kn(e.$slots,"default")])}var _xt,Cxt,Ext,Pxt,Mxt,Nxt,$xt,Ixt,Rxt,Dxt=V(()=>{kxt(),Bc(),_xt={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"},Cxt=bxt({},[["render",Txt]])}),Lxt=V(()=>{Ext=e=>"children"in e&&Array.isArray(e.children)&&e.children.length>0}),Bxt=V(()=>{Lxt(),Pxt=(e,t,a,r)=>Ext(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)}),jxt=V(()=>{Bc(),Nbt(),Mxt=Cn({__name:"SidebarItemLabel",props:{item:{},operationTitleSource:{}},setup:e=>(t,a)=>"model"===e.item.type||"example"===e.item.type?(Ho(),Fo(qa(Svt),{key:0,preset:"property",text:e.item.title},null,8,["text"])):(Ho(),Fo(qa(Svt),{key:1,text:"path"===e.operationTitleSource&&"path"in e.item?e.item.path:e.item.title},null,8,["text"]))})}),Uxt=V(()=>{jxt(),Nxt=Mxt}),zxt=V(()=>{$xt=e=>!(0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)}),Hxt=V(()=>{Ixt=Object.defineProperty,Rxt=(e,t)=>{let a={};for(var r in e)Ixt(a,r,{get:e[r],enumerable:!0});return t||Ixt(a,Symbol.toStringTag,{value:"Module"}),a}}),Zxt=q({default:()=>Fxt,interface_content_folder_exports:()=>qxt,render:()=>Vxt});function Vxt(e,t){return Ho(),Qo("svg",Qxt,[...t[0]||=[Xo("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 qxt,Qxt,Fxt,Wxt=V(()=>{Hxt(),Bc(),qxt=Rxt({default:()=>Fxt,render:()=>Vxt}),Qxt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Fxt={render:Vxt}}),Gxt=q({default:()=>Kxt,render:()=>Xxt});function Xxt(e,t){return Ho(),Qo("svg",Yxt,[...t[0]||=[Xo("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 Yxt,Kxt,Jxt=V(()=>{Bc(),Yxt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Kxt={render:Xxt}}),eOt=q({default:()=>rOt,render:()=>tOt});function tOt(e,t){return Ho(),Qo("svg",aOt,[...t[0]||=[Xo("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 aOt,rOt,nOt=V(()=>{Bc(),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 Ho(),Qo("svg",sOt,[...t[0]||=[Xo("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 sOt,lOt,cOt=V(()=>{Bc(),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 Ho(),Qo("svg",pOt,[...t[0]||=[Xo("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 pOt,hOt,mOt=V(()=>{Bc(),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 Ho(),Qo("svg",vOt,[...t[0]||=[Xo("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 vOt,bOt,yOt=V(()=>{Bc(),vOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},bOt={render:gOt}}),wOt=q({default:()=>kOt,render:()=>xOt});function xOt(e,t){return Ho(),Qo("svg",OOt,[...t[0]||=[Xo("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 OOt,kOt,SOt=V(()=>{Bc(),OOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},kOt={render:xOt}}),AOt=q({default:()=>COt,render:()=>TOt});function TOt(e,t){return Ho(),Qo("svg",_Ot,[...t[0]||=[Xo("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 _Ot,COt,EOt=V(()=>{Bc(),_Ot={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},COt={render:TOt}}),POt=q({default:()=>$Ot,render:()=>MOt});function MOt(e,t){return Ho(),Qo("svg",NOt,[...t[0]||=[Xo("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 NOt,$Ot,IOt=V(()=>{Bc(),NOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},$Ot={render:MOt}}),ROt=q({default:()=>BOt,render:()=>DOt});function DOt(e,t){return Ho(),Qo("svg",LOt,[...t[0]||=[Xo("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 LOt,BOt,jOt=V(()=>{Bc(),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 Ho(),Qo("svg",HOt,[...t[0]||=[Xo("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 HOt,ZOt,VOt=V(()=>{Bc(),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 Ho(),Qo("svg",FOt,[...t[0]||=[Xo("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 FOt,WOt,GOt=V(()=>{Bc(),FOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},WOt={render:QOt}}),XOt=q({default:()=>JOt,render:()=>YOt});function YOt(e,t){return Ho(),Qo("svg",KOt,[...t[0]||=[Xo("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 KOt,JOt,ekt=V(()=>{Bc(),KOt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},JOt={render:YOt}}),tkt=q({default:()=>nkt,render:()=>akt});function akt(e,t){return Ho(),Qo("svg",rkt,[...t[0]||=[Xo("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 rkt,nkt,okt=V(()=>{Bc(),rkt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},nkt={render:akt}}),ikt=q({default:()=>ckt,render:()=>skt});function skt(e,t){return Ho(),Qo("svg",lkt,[...t[0]||=[Xo("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 lkt,ckt,ukt=V(()=>{Bc(),lkt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ckt={render:skt}}),dkt=q({default:()=>mkt,render:()=>pkt});function pkt(e,t){return Ho(),Qo("svg",hkt,[...t[0]||=[Xo("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 hkt,mkt,fkt=V(()=>{Bc(),hkt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},mkt={render:pkt}}),gkt=q({default:()=>ykt,render:()=>vkt});function vkt(e,t){return Ho(),Qo("svg",bkt,[...t[0]||=[Xo("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 bkt,ykt,wkt=V(()=>{Bc(),bkt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ykt={render:vkt}}),xkt=q({default:()=>Skt,render:()=>Okt});function Okt(e,t){return Ho(),Qo("svg",kkt,[...t[0]||=[Xo("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 kkt,Skt,Akt=V(()=>{Bc(),kkt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Skt={render:Okt}}),Tkt=q({default:()=>Ekt,render:()=>_kt});function _kt(e,t){return Ho(),Qo("svg",Ckt,[...t[0]||=[Xo("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 Ckt,Ekt,Pkt=V(()=>{Bc(),Ckt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Ekt={render:_kt}}),Mkt=q({default:()=>Ikt,render:()=>Nkt});function Nkt(e,t){return Ho(),Qo("svg",$kt,[...t[0]||=[Xo("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 $kt,Ikt,Rkt=V(()=>{Bc(),$kt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Ikt={render:Nkt}}),Dkt=q({default:()=>jkt,render:()=>Lkt});function Lkt(e,t){return Ho(),Qo("svg",Bkt,[...t[0]||=[Xo("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 Bkt,jkt,Ukt=V(()=>{Bc(),Bkt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},jkt={render:Lkt}}),zkt=q({default:()=>Vkt,render:()=>Hkt});function Hkt(e,t){return Ho(),Qo("svg",Zkt,[...t[0]||=[Xo("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 Zkt,Vkt,qkt=V(()=>{Bc(),Zkt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Vkt={render:Hkt}}),Qkt=q({default:()=>Gkt,render:()=>Fkt});function Fkt(e,t){return Ho(),Qo("svg",Wkt,[...t[0]||=[Xo("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 Wkt,Gkt,Xkt=V(()=>{Bc(),Wkt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Gkt={render:Fkt}}),Ykt=q({default:()=>eSt,render:()=>Kkt});function Kkt(e,t){return Ho(),Qo("svg",Jkt,[...t[0]||=[Xo("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 Jkt,eSt,tSt=V(()=>{Bc(),Jkt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},eSt={render:Kkt}}),aSt=q({default:()=>oSt,render:()=>rSt});function rSt(e,t){return Ho(),Qo("svg",nSt,[...t[0]||=[Xo("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 nSt,oSt,iSt=V(()=>{Bc(),nSt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},oSt={render:rSt}}),sSt=q({default:()=>uSt,render:()=>lSt});function lSt(e,t){return Ho(),Qo("svg",cSt,[...t[0]||=[Xo("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 cSt,uSt,dSt=V(()=>{Bc(),cSt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},uSt={render:lSt}}),pSt=q({default:()=>fSt,render:()=>hSt});function hSt(e,t){return Ho(),Qo("svg",mSt,[...t[0]||=[Xo("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 mSt,fSt,gSt=V(()=>{Bc(),mSt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},fSt={render:hSt}}),vSt=q({default:()=>wSt,render:()=>bSt});function bSt(e,t){return Ho(),Qo("svg",ySt,[...t[0]||=[Xo("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 ySt,wSt,xSt=V(()=>{Bc(),ySt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},wSt={render:bSt}}),OSt=q({default:()=>ASt,render:()=>kSt});function kSt(e,t){return Ho(),Qo("svg",SSt,[...t[0]||=[Xo("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 SSt,ASt,TSt=V(()=>{Bc(),SSt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ASt={render:kSt}}),_St=q({default:()=>PSt,render:()=>CSt});function CSt(e,t){return Ho(),Qo("svg",ESt,[...t[0]||=[Xo("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 ESt,PSt,MSt=V(()=>{Bc(),ESt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},PSt={render:CSt}}),NSt=q({default:()=>RSt,render:()=>$St});function $St(e,t){return Ho(),Qo("svg",ISt,[...t[0]||=[Xo("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 ISt,RSt,DSt=V(()=>{Bc(),ISt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},RSt={render:$St}}),LSt=q({default:()=>USt,render:()=>BSt});function BSt(e,t){return Ho(),Qo("svg",jSt,[...t[0]||=[Xo("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 jSt,USt,zSt=V(()=>{Bc(),jSt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},USt={render:BSt}}),HSt=q({default:()=>qSt,render:()=>ZSt});function ZSt(e,t){return Ho(),Qo("svg",VSt,[...t[0]||=[Xo("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 VSt,qSt,QSt=V(()=>{Bc(),VSt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},qSt={render:ZSt}}),FSt=q({default:()=>XSt,render:()=>WSt});function WSt(e,t){return Ho(),Qo("svg",GSt,[...t[0]||=[Xo("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 GSt,XSt,YSt=V(()=>{Bc(),GSt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},XSt={render:WSt}}),KSt=q({default:()=>tAt,render:()=>JSt});function JSt(e,t){return Ho(),Qo("svg",eAt,[...t[0]||=[Xo("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 eAt,tAt,aAt=V(()=>{Bc(),eAt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},tAt={render:JSt}}),rAt=q({default:()=>iAt,render:()=>nAt});function nAt(e,t){return Ho(),Qo("svg",oAt,[...t[0]||=[Xo("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 oAt,iAt,sAt=V(()=>{Bc(),oAt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},iAt={render:nAt}}),lAt=q({default:()=>dAt,render:()=>cAt});function cAt(e,t){return Ho(),Qo("svg",uAt,[...t[0]||=[Xo("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 uAt,dAt,pAt=V(()=>{Bc(),uAt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},dAt={render:cAt}}),hAt=q({default:()=>gAt,render:()=>mAt});function mAt(e,t){return Ho(),Qo("svg",fAt,[...t[0]||=[Xo("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 fAt,gAt,vAt=V(()=>{Bc(),fAt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},gAt={render:mAt}}),bAt=q({default:()=>xAt,render:()=>yAt});function yAt(e,t){return Ho(),Qo("svg",wAt,[...t[0]||=[Xo("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 wAt,xAt,OAt=V(()=>{Bc(),wAt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},xAt={render:yAt}}),kAt=q({default:()=>TAt,render:()=>SAt});function SAt(e,t){return Ho(),Qo("svg",AAt,[...t[0]||=[Xo("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 AAt,TAt,_At=V(()=>{Bc(),AAt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},TAt={render:SAt}}),CAt=q({default:()=>MAt,render:()=>EAt});function EAt(e,t){return Ho(),Qo("svg",PAt,[...t[0]||=[Xo("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 PAt,MAt,NAt=V(()=>{Bc(),PAt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},MAt={render:EAt}}),$At=q({default:()=>DAt,render:()=>IAt});function IAt(e,t){return Ho(),Qo("svg",RAt,[...t[0]||=[Xo("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 RAt,DAt,LAt=V(()=>{Bc(),RAt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},DAt={render:IAt}}),BAt=q({default:()=>zAt,render:()=>jAt});function jAt(e,t){return Ho(),Qo("svg",UAt,[...t[0]||=[Xo("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 UAt,zAt,HAt=V(()=>{Bc(),UAt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},zAt={render:jAt}}),ZAt=q({default:()=>QAt,render:()=>VAt});function VAt(e,t){return Ho(),Qo("svg",qAt,[...t[0]||=[Xo("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 qAt,QAt,FAt=V(()=>{Bc(),qAt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},QAt={render:VAt}}),WAt=q({default:()=>YAt,render:()=>GAt});function GAt(e,t){return Ho(),Qo("svg",XAt,[...t[0]||=[Xo("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 XAt,YAt,KAt=V(()=>{Bc(),XAt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},YAt={render:GAt}}),JAt=q({default:()=>aTt,render:()=>eTt});function eTt(e,t){return Ho(),Qo("svg",tTt,[...t[0]||=[Xo("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 tTt,aTt,rTt=V(()=>{Bc(),tTt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},aTt={render:eTt}}),nTt=q({default:()=>sTt,render:()=>oTt});function oTt(e,t){return Ho(),Qo("svg",iTt,[...t[0]||=[Xo("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 iTt,sTt,lTt=V(()=>{Bc(),iTt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},sTt={render:oTt}}),cTt=q({default:()=>pTt,render:()=>uTt});function uTt(e,t){return Ho(),Qo("svg",dTt,[...t[0]||=[Xo("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 dTt,pTt,hTt=V(()=>{Bc(),dTt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},pTt={render:uTt}}),mTt=q({default:()=>vTt,render:()=>fTt});function fTt(e,t){return Ho(),Qo("svg",gTt,[...t[0]||=[Xo("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 gTt,vTt,bTt=V(()=>{Bc(),gTt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},vTt={render:fTt}}),yTt=q({default:()=>OTt,render:()=>wTt});function wTt(e,t){return Ho(),Qo("svg",xTt,[...t[0]||=[Xo("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 xTt,OTt,kTt=V(()=>{Bc(),xTt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},OTt={render:wTt}}),STt=q({default:()=>_Tt,render:()=>ATt});function ATt(e,t){return Ho(),Qo("svg",TTt,[...t[0]||=[Xo("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 TTt,_Tt,CTt=V(()=>{Bc(),TTt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},_Tt={render:ATt}}),ETt=q({default:()=>NTt,render:()=>PTt});function PTt(e,t){return Ho(),Qo("svg",MTt,[...t[0]||=[Xo("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 MTt,NTt,$Tt=V(()=>{Bc(),MTt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},NTt={render:PTt}}),ITt=q({default:()=>LTt,render:()=>RTt});function RTt(e,t){return Ho(),Qo("svg",DTt,[...t[0]||=[Xo("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 DTt,LTt,BTt=V(()=>{Bc(),DTt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},LTt={render:RTt}}),jTt=q({default:()=>HTt,render:()=>UTt});function UTt(e,t){return Ho(),Qo("svg",zTt,[...t[0]||=[Xo("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 zTt,HTt,ZTt=V(()=>{Bc(),zTt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},HTt={render:UTt}}),VTt=q({default:()=>FTt,render:()=>qTt});function qTt(e,t){return Ho(),Qo("svg",QTt,[...t[0]||=[Xo("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 QTt,FTt,WTt=V(()=>{Bc(),QTt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},FTt={render:qTt}}),GTt=q({default:()=>KTt,render:()=>XTt});function XTt(e,t){return Ho(),Qo("svg",YTt,[...t[0]||=[Xo("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 YTt,KTt,JTt=V(()=>{Bc(),YTt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},KTt={render:XTt}}),e_t=q({default:()=>r_t,render:()=>t_t});function t_t(e,t){return Ho(),Qo("svg",a_t,[...t[0]||=[Xo("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 a_t,r_t,n_t=V(()=>{Bc(),a_t={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},r_t={render:t_t}}),o_t=q({default:()=>l_t,render:()=>i_t});function i_t(e,t){return Ho(),Qo("svg",s_t,[...t[0]||=[Xo("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 s_t,l_t,c_t=V(()=>{Bc(),s_t={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},l_t={render:i_t}}),u_t=q({default:()=>h_t,render:()=>d_t});function d_t(e,t){return Ho(),Qo("svg",p_t,[...t[0]||=[Xo("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 p_t,h_t,m_t=V(()=>{Bc(),p_t={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},h_t={render:d_t}}),f_t=q({default:()=>b_t,render:()=>g_t});function g_t(e,t){return Ho(),Qo("svg",v_t,[...t[0]||=[Xo("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 v_t,b_t,y_t=V(()=>{Bc(),v_t={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},b_t={render:g_t}}),w_t=q({default:()=>k_t,render:()=>x_t});function x_t(e,t){return Ho(),Qo("svg",O_t,[...t[0]||=[Xo("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 O_t,k_t,S_t=V(()=>{Bc(),O_t={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},k_t={render:x_t}}),A_t=q({default:()=>C_t,render:()=>T_t});function T_t(e,t){return Ho(),Qo("svg",__t,[...t[0]||=[Xo("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 __t,C_t,E_t=V(()=>{Bc(),__t={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},C_t={render:T_t}}),P_t=q({default:()=>$_t,render:()=>M_t});function M_t(e,t){return Ho(),Qo("svg",N_t,[...t[0]||=[Xo("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 N_t,$_t,I_t=V(()=>{Bc(),N_t={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},$_t={render:M_t}}),R_t=q({default:()=>B_t,render:()=>D_t});function D_t(e,t){return Ho(),Qo("svg",L_t,[...t[0]||=[Xo("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 L_t,B_t,j_t=V(()=>{Bc(),L_t={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},B_t={render:D_t}}),U_t=q({default:()=>Z_t,render:()=>z_t});function z_t(e,t){return Ho(),Qo("svg",H_t,[...t[0]||=[Xo("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 H_t,Z_t,V_t=V(()=>{Bc(),H_t={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},Z_t={render:z_t}}),q_t=q({default:()=>W_t,render:()=>Q_t});function Q_t(e,t){return Ho(),Qo("svg",F_t,[...t[0]||=[Xo("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 F_t,W_t,G_t=V(()=>{Bc(),F_t={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},W_t={render:Q_t}}),X_t=q({default:()=>J_t,render:()=>Y_t});function Y_t(e,t){return Ho(),Qo("svg",K_t,[...t[0]||=[Xo("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 K_t,J_t,eCt=V(()=>{Bc(),K_t={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},J_t={render:Y_t}}),tCt=q({default:()=>nCt,render:()=>aCt});function aCt(e,t){return Ho(),Qo("svg",rCt,[...t[0]||=[Xo("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 rCt,nCt,oCt=V(()=>{Bc(),rCt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},nCt={render:aCt}}),iCt=q({default:()=>cCt,render:()=>sCt});function sCt(e,t){return Ho(),Qo("svg",lCt,[...t[0]||=[Xo("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 lCt,cCt,uCt=V(()=>{Bc(),lCt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},cCt={render:sCt}}),dCt=q({default:()=>mCt,render:()=>pCt});function pCt(e,t){return Ho(),Qo("svg",hCt,[...t[0]||=[Xo("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 hCt,mCt,fCt=V(()=>{Bc(),hCt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},mCt={render:pCt}}),gCt=q({default:()=>yCt,render:()=>vCt});function vCt(e,t){return Ho(),Qo("svg",bCt,[...t[0]||=[Xo("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 bCt,yCt,wCt=V(()=>{Bc(),bCt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},yCt={render:vCt}}),xCt=q({default:()=>SCt,render:()=>OCt});function OCt(e,t){return Ho(),Qo("svg",kCt,[...t[0]||=[Xo("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 kCt,SCt,ACt=V(()=>{Bc(),kCt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},SCt={render:OCt}}),TCt=q({default:()=>ECt,render:()=>_Ct});function _Ct(e,t){return Ho(),Qo("svg",CCt,[...t[0]||=[Xo("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 CCt,ECt,PCt=V(()=>{Bc(),CCt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ECt={render:_Ct}}),MCt=q({default:()=>ICt,render:()=>NCt});function NCt(e,t){return Ho(),Qo("svg",$Ct,[...t[0]||=[Xo("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 $Ct,ICt,RCt=V(()=>{Bc(),$Ct={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},ICt={render:NCt}}),DCt=q({default:()=>jCt,render:()=>LCt});function LCt(e,t){return Ho(),Qo("svg",BCt,[...t[0]||=[Xo("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 BCt,jCt,UCt=V(()=>{Bc(),BCt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},jCt={render:LCt}}),zCt=q({default:()=>VCt,render:()=>HCt});function HCt(e,t){return Ho(),Qo("svg",ZCt,[...t[0]||=[Xo("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 ZCt,VCt,qCt=V(()=>{Bc(),ZCt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},VCt={render:HCt}}),QCt=q({default:()=>GCt,render:()=>FCt});function FCt(e,t){return Ho(),Qo("svg",WCt,[...t[0]||=[Xo("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 WCt,GCt,XCt=V(()=>{Bc(),WCt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},GCt={render:FCt}}),YCt=q({default:()=>eEt,render:()=>KCt});function KCt(e,t){return Ho(),Qo("svg",JCt,[...t[0]||=[Xo("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 JCt,eEt,tEt=V(()=>{Bc(),JCt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},eEt={render:KCt}}),aEt=q({default:()=>oEt,render:()=>rEt});function rEt(e,t){return Ho(),Qo("svg",nEt,[...t[0]||=[Xo("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 nEt,oEt,iEt=V(()=>{Bc(),nEt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},oEt={render:rEt}}),sEt=q({default:()=>uEt,render:()=>lEt});function lEt(e,t){return Ho(),Qo("svg",cEt,[...t[0]||=[Xo("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 cEt,uEt,dEt=V(()=>{Bc(),cEt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},uEt={render:lEt}}),pEt=q({default:()=>fEt,render:()=>hEt});function hEt(e,t){return Ho(),Qo("svg",mEt,[...t[0]||=[Xo("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 mEt,fEt,gEt=V(()=>{Bc(),mEt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},fEt={render:hEt}}),vEt=q({default:()=>wEt,render:()=>bEt});function bEt(e,t){return Ho(),Qo("svg",yEt,[...t[0]||=[Xo("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 yEt,wEt,xEt=V(()=>{Bc(),yEt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},wEt={render:bEt}}),OEt=q({default:()=>AEt,render:()=>kEt});function kEt(e,t){return Ho(),Qo("svg",SEt,[...t[0]||=[Xo("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 SEt,AEt,TEt=V(()=>{Bc(),SEt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},AEt={render:kEt}}),_Et=q({default:()=>PEt,render:()=>CEt});function CEt(e,t){return Ho(),Qo("svg",EEt,[...t[0]||=[Xo("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 EEt,PEt,MEt=V(()=>{Bc(),EEt={xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 256 256"},PEt={render:CEt}});var NEt,$Et,IEt,REt,DEt,LEt,BEt,jEt,UEt,zEt,HEt,ZEt,VEt,qEt,QEt,FEt,WEt,GEt,XEt=V(()=>{Wxt(),Bc(),NEt=Object.assign({"./icons/basic-shape-diamond.svg":()=>Promise.resolve().then(()=>(Jxt(),Gxt)),"./icons/basic-shape-hexagon.svg":()=>Promise.resolve().then(()=>(nOt(),eOt)),"./icons/basic-shape-primary-circle-ellipse-round.svg":()=>Promise.resolve().then(()=>(cOt(),oOt)),"./icons/basic-shape-primary-square-rectangle.svg":()=>Promise.resolve().then(()=>(mOt(),uOt)),"./icons/basic-shape-shield.svg":()=>Promise.resolve().then(()=>(yOt(),fOt)),"./icons/computer-device-desktop-monitor.svg":()=>Promise.resolve().then(()=>(SOt(),wOt)),"./icons/computer-device-desktop.svg":()=>Promise.resolve().then(()=>(EOt(),AOt)),"./icons/computer-device-laptop.svg":()=>Promise.resolve().then(()=>(IOt(),POt)),"./icons/computer-device-mobile-phone-android-samsung-back.svg":()=>Promise.resolve().then(()=>(jOt(),ROt)),"./icons/computer-device-mobile-phone-android-samsung.svg":()=>Promise.resolve().then(()=>(VOt(),UOt)),"./icons/computer-device-mobile-phone-iphone-x-back.svg":()=>Promise.resolve().then(()=>(GOt(),qOt)),"./icons/computer-device-mobile-phone-iphone-x.svg":()=>Promise.resolve().then(()=>(ekt(),XOt)),"./icons/computer-device-mobile-tablet-touch.svg":()=>Promise.resolve().then(()=>(okt(),tkt)),"./icons/computer-device-mobile-tablet.svg":()=>Promise.resolve().then(()=>(ukt(),ikt)),"./icons/computer-device-network-ethernet-cat6.svg":()=>Promise.resolve().then(()=>(fkt(),dkt)),"./icons/computer-device-network-lan-www.svg":()=>Promise.resolve().then(()=>(wkt(),gkt)),"./icons/computer-device-network-wifi-connection.svg":()=>Promise.resolve().then(()=>(Akt(),xkt)),"./icons/computer-device-network-wifi-router.svg":()=>Promise.resolve().then(()=>(Pkt(),Tkt)),"./icons/ecology-science-erlenmeyer-flask.svg":()=>Promise.resolve().then(()=>(Rkt(),Mkt)),"./icons/image-flash-lightning.svg":()=>Promise.resolve().then(()=>(Ukt(),Dkt)),"./icons/image-picture-flower.svg":()=>Promise.resolve().then(()=>(qkt(),zkt)),"./icons/interface-alert-exclamation-diamond.svg":()=>Promise.resolve().then(()=>(Xkt(),Qkt)),"./icons/interface-alert-exclamation-triangle-warning.svg":()=>Promise.resolve().then(()=>(tSt(),Ykt)),"./icons/interface-alert-information-circle.svg":()=>Promise.resolve().then(()=>(iSt(),aSt)),"./icons/interface-award-crown.svg":()=>Promise.resolve().then(()=>(dSt(),sSt)),"./icons/interface-bookmark-tag.svg":()=>Promise.resolve().then(()=>(gSt(),pSt)),"./icons/interface-bookmark.svg":()=>Promise.resolve().then(()=>(xSt(),vSt)),"./icons/interface-calendar-date-one.svg":()=>Promise.resolve().then(()=>(TSt(),OSt)),"./icons/interface-content-book-open-pages.svg":()=>Promise.resolve().then(()=>(MSt(),_St)),"./icons/interface-content-book-page.svg":()=>Promise.resolve().then(()=>(DSt(),NSt)),"./icons/interface-content-file.svg":()=>Promise.resolve().then(()=>(zSt(),LSt)),"./icons/interface-content-folder.svg":()=>Promise.resolve().then(()=>(Wxt(),Zxt)),"./icons/interface-copy-clipboard.svg":()=>Promise.resolve().then(()=>(QSt(),HSt)),"./icons/interface-edit-attachment.svg":()=>Promise.resolve().then(()=>(YSt(),FSt)),"./icons/interface-edit-binocular.svg":()=>Promise.resolve().then(()=>(aAt(),KSt)),"./icons/interface-edit-magic-wand.svg":()=>Promise.resolve().then(()=>(sAt(),rAt)),"./icons/interface-edit-tool-paint-roller.svg":()=>Promise.resolve().then(()=>(pAt(),lAt)),"./icons/interface-edit-tool-pencil.svg":()=>Promise.resolve().then(()=>(vAt(),hAt)),"./icons/interface-favorite-award.svg":()=>Promise.resolve().then(()=>(OAt(),bAt)),"./icons/interface-favorite-flag.svg":()=>Promise.resolve().then(()=>(_At(),kAt)),"./icons/interface-favorite-heart.svg":()=>Promise.resolve().then(()=>(NAt(),CAt)),"./icons/interface-favorite-star.svg":()=>Promise.resolve().then(()=>(LAt(),$At)),"./icons/interface-favorite-stars-sparkles.svg":()=>Promise.resolve().then(()=>(HAt(),BAt)),"./icons/interface-hierarchy-flowchart.svg":()=>Promise.resolve().then(()=>(FAt(),ZAt)),"./icons/interface-home-house.svg":()=>Promise.resolve().then(()=>(KAt(),WAt)),"./icons/interface-hyperlink.svg":()=>Promise.resolve().then(()=>(rTt(),JAt)),"./icons/interface-lighting-brightness.svg":()=>Promise.resolve().then(()=>(lTt(),nTt)),"./icons/interface-lock-closed.svg":()=>Promise.resolve().then(()=>(hTt(),cTt)),"./icons/interface-lock-open-unlock.svg":()=>Promise.resolve().then(()=>(bTt(),mTt)),"./icons/interface-login-key.svg":()=>Promise.resolve().then(()=>(kTt(),yTt)),"./icons/interface-search.svg":()=>Promise.resolve().then(()=>(CTt(),STt)),"./icons/interface-setting-cog.svg":()=>Promise.resolve().then(()=>($Tt(),ETt)),"./icons/interface-share-megaphone-bullhorn.svg":()=>Promise.resolve().then(()=>(BTt(),ITt)),"./icons/interface-share-rocket.svg":()=>Promise.resolve().then(()=>(ZTt(),jTt)),"./icons/interface-share-satellite.svg":()=>Promise.resolve().then(()=>(WTt(),VTt)),"./icons/interface-share-space-ship.svg":()=>Promise.resolve().then(()=>(JTt(),GTt)),"./icons/interface-share.svg":()=>Promise.resolve().then(()=>(n_t(),e_t)),"./icons/interface-signal-square.svg":()=>Promise.resolve().then(()=>(c_t(),o_t)),"./icons/interface-time-clock-circle.svg":()=>Promise.resolve().then(()=>(m_t(),u_t)),"./icons/interface-time-hour-glass.svg":()=>Promise.resolve().then(()=>(y_t(),f_t)),"./icons/interface-users-multiple.svg":()=>Promise.resolve().then(()=>(S_t(),w_t)),"./icons/interface-weather-moon.svg":()=>Promise.resolve().then(()=>(E_t(),A_t)),"./icons/mail-chat-bubble-square.svg":()=>Promise.resolve().then(()=>(I_t(),P_t)),"./icons/mail-send-email-paper-airplane.svg":()=>Promise.resolve().then(()=>(j_t(),R_t)),"./icons/mail-send-envelope.svg":()=>Promise.resolve().then(()=>(V_t(),U_t)),"./icons/money-cashier-receipt.svg":()=>Promise.resolve().then(()=>(G_t(),q_t)),"./icons/money-currency-dollar-pay.svg":()=>Promise.resolve().then(()=>(eCt(),X_t)),"./icons/money-graph-arrow-increase.svg":()=>Promise.resolve().then(()=>(oCt(),tCt)),"./icons/money-graph-bar-chart-increase.svg":()=>Promise.resolve().then(()=>(uCt(),iCt)),"./icons/nature-ecology-leaf.svg":()=>Promise.resolve().then(()=>(fCt(),dCt)),"./icons/phone-telephone.svg":()=>Promise.resolve().then(()=>(wCt(),gCt)),"./icons/programming-bug.svg":()=>Promise.resolve().then(()=>(ACt(),xCt)),"./icons/programming-cloud.svg":()=>Promise.resolve().then(()=>(PCt(),TCt)),"./icons/programming-computer-database-server.svg":()=>Promise.resolve().then(()=>(RCt(),MCt)),"./icons/programming-computer-database.svg":()=>Promise.resolve().then(()=>(UCt(),DCt)),"./icons/programming-module-four-layout.svg":()=>Promise.resolve().then(()=>(qCt(),zCt)),"./icons/programming-module-three.svg":()=>Promise.resolve().then(()=>(XCt(),QCt)),"./icons/programming-module.svg":()=>Promise.resolve().then(()=>(tEt(),YCt)),"./icons/programming-script-code.svg":()=>Promise.resolve().then(()=>(iEt(),aEt)),"./icons/shopping-cart.svg":()=>Promise.resolve().then(()=>(dEt(),sEt)),"./icons/shopping-gift-present.svg":()=>Promise.resolve().then(()=>(gEt(),pEt)),"./icons/shopping-shipping-box-parcel-package.svg":()=>Promise.resolve().then(()=>(xEt(),vEt)),"./icons/tag-new-circle.svg":()=>Promise.resolve().then(()=>(TEt(),OEt)),"./icons/travel-map-earth-globe.svg":()=>Promise.resolve().then(()=>(MEt(),_Et))}),$Et=Object.assign({"./icons/interface-content-folder.svg":qxt})["./icons/interface-content-folder.svg"],Object.keys(NEt).map(e=>e.replace("./icons/","").replace(".svg","")).map(e=>({src:e,title:e.replaceAll("-"," "),tags:[]})),IEt=new Map,$Et?.default&&IEt.set("interface-content-folder",Ua($Et.default))}),YEt=V(()=>{XEt(),Bc(),REt=Cn({__name:"LibraryIcon",props:{src:{}},setup(e){let t=e,a=Za();return pn(async()=>{a.value=await async function(e){let t=IEt.get(e);if(t)return t;let a=NEt[`./icons/${e}.svg`];if(!a)return;let r=await a(),n=Ua(r.default??r);return IEt.set(e,n),n}(t.src)}),(e,t)=>a.value?(Ho(),Fo(Fn(a.value),{key:0})):ai("",!0)}})}),KEt=V(()=>{YEt(),DEt=REt}),JEt=V(()=>{KEt()}),ePt=V(()=>{pxt(),Dxt(),Lxt(),Bxt(),Oxt(),Axt(),Uxt(),Bc(),zxt(),JEt(),LEt={key:0,class:"line-through"},BEt={key:0,class:"line-through"},jEt=Cn({__name:"SidebarItem",props:{item:{},layout:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},getHref:{type:Function},isDraggable:{},isDroppable:{type:Function}},emits:["selectItem","onDragEnd","toggleGroup"],setup(e,{emit:t}){let a=t,r=to(),n=e=>("isDeprecated"in e&&e.isDeprecated)??!1,o=(e,t)=>{a("onDragEnd",e,t)},{draggableAttrs:i,draggableEvents:s}=hxt({id:e.item.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:o}),l=il(()=>Ext(e.item)?lxt(e.layout,e.item.children,e.options?.hideOperationDefaultExamples):[]),c=il(()=>e.getHref?.(e.item)||void 0),u=il(()=>!!c.value||"reference"===e.layout&&"text"===e.item.type),d=t=>{let a=t?e.options?.labels?.closeGroup??"Close Group":e.options?.labels?.openGroup??"Open Group";return e.item.title?`${a} - ${e.item.title}`:a},p=t=>{if(c.value){if((t.target instanceof Element?t.target.closest("a"):null)?.getAttribute("href")!==c.value||t.defaultPrevented||!$xt(t))return;t.preventDefault()}a("selectItem",e.item.id)};return(t,h)=>{let m=Qn("SidebarItem",!0);return l.value.length>0&&(e=>"isGroup"in e&&e.isGroup)(e.item)?(Ho(),Fo(qa(mwt),ii({key:0,"data-sidebar-id":e.item.id},qa(i),eo(qa(s))),{items:sn(()=>[(Ho(!0),Qo(Bs,null,Xn(l.value,n=>(Ho(),Fo(m,{key:n.id,getHref:e.getHref,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:n,layout:e.layout,options:e.options,onOnDragEnd:o,onSelectItem:h[0]||=e=>a("selectItem",e),onToggleGroup:h[1]||=e=>a("toggleGroup",e)},Yn({_:2},[r.decorator?{name:"decorator",fn:sn(e=>[Kn(t.$slots,"decorator",ii({ref_for:!0},e))]),key:"0"}:void 0,r.empty?{name:"empty",fn:sn(e=>[Kn(t.$slots,"empty",ii({ref_for:!0},e))]),key:"1"}:void 0,r.icon?{name:"icon",fn:sn(e=>[Kn(t.$slots,"icon",ii({ref_for:!0},e))]),key:"2"}:void 0]),1032,["getHref","isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128))]),default:sn(()=>[ei(Yt(e.item.title)+" ",1)]),_:3},16,["data-sidebar-id"])):qa(Pxt)(e.layout,e.item,void 0!==r.empty,e.options?.hideOperationDefaultExamples??!1)?(Ho(),Fo(qa(Xyt),ii({key:1,active:e.isSelected(e.item.id),class:"relative",controlled:"","data-sidebar-id":e.item.id},qa(i),{discrete:u.value,open:e.isExpanded(e.item.id)},eo(qa(s))),Yn({button:sn(({open:o,level:i})=>[Fs(qa(Cyt),{is:c.value?"a":"button",active:e.isSelected(e.item.id),"aria-expanded":u.value?void 0:o,href:c.value,indent:i,onClick:p},Yn({indent:sn(()=>[Fs(qa(Syt),{class:"-my-2 mr-0",indent:i},null,8,["indent"])]),aside:sn(()=>["method"in e.item?(Ho(),Fo(xxt,{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}]),label:e.options?.labels?.httpMethod,method:e.item.method,webhook:"webhook"===e.item.type},null,8,["active","class","label","method","webhook"])):ai("",!0),u.value?(Ho(),Fo(qa(Uyt),{key:1})):"method"in e.item?ai("",!0):(Ho(),Fo(qa(Ryt),{key:2,class:"text-sidebar-c-2",open:o},{label:sn(()=>[ei(Yt(o?e.options?.labels?.closeGroup??"Close Group":e.options?.labels?.openGroup??"Open Group"),1)]),_:2},1032,["open"]))]),default:sn(()=>[n(e.item)?(Ho(),Qo("span",LEt,[Fs(Nxt,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"])])):(Ho(),Fo(Nxt,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"]))]),_:2},["document"===e.item.type?{name:"icon",fn:sn(()=>[Kn(t.$slots,"icon",{item:e.item,open:o},()=>[Fs(qa(DEt),{class:"block",src:"icon"in e.item&&e.item.icon||"interface-content-folder"},null,8,["src"])])]),key:"0"}:void 0]),1032,["is","active","aria-expanded","href","indent"]),u.value?(Ho(),Fo(qa(Byt),{key:0,open:o,onClick:h[2]||=()=>a("toggleGroup",e.item.id)},{label:sn(()=>[ei(Yt(d(o)),1)]),_:2},1032,["open"])):ai("",!0)]),items:sn(()=>[(Ho(!0),Qo(Bs,null,Xn(l.value,n=>(Ho(),Fo(m,{key:n.id,getHref:e.getHref,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:n,layout:e.layout,options:e.options,parentIds:[],onOnDragEnd:o,onSelectItem:h[3]||=e=>a("selectItem",e),onToggleGroup:h[4]||=e=>a("toggleGroup",e)},Yn({_:2},[r.decorator?{name:"decorator",fn:sn(e=>[Kn(t.$slots,"decorator",ii({ref_for:!0},e))]),key:"0"}:void 0,r.empty?{name:"empty",fn:sn(e=>[Kn(t.$slots,"empty",ii({ref_for:!0},e))]),key:"1"}:void 0,r.icon?{name:"icon",fn:sn(e=>[Kn(t.$slots,"icon",ii({ref_for:!0},e))]),key:"2"}:void 0]),1032,["getHref","isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128)),r.empty&&0===(e.item.children?.length??0)?Kn(t.$slots,"empty",{item:e.item},void 0,void 0,0):ai("",!0)]),_:2},[r.decorator?{name:"after",fn:sn(()=>[Fs(Cxt,null,{default:sn(()=>[Kn(t.$slots,"decorator",{item:e.item})]),_:3})]),key:"0"}:void 0]),1040,["active","data-sidebar-id","discrete","open"])):(Ho(),Fo(qa(Vyt),ii({key:2},qa(i),{class:"relative","data-sidebar-id":e.item.id},eo(qa(s)),{onClick:p}),Yn({button:sn(({level:a})=>[Fs(qa(Cyt),{is:c.value?"a":"button",href:c.value,indent:a,selected:e.isSelected(e.item.id)},Yn({default:sn(()=>[n(e.item)?(Ho(),Qo("span",BEt,[Fs(Nxt,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"])])):(Ho(),Fo(Nxt,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,["item","operationTitleSource"]))]),_:2},[r.icon?{name:"icon",fn:sn(()=>[Kn(t.$slots,"icon",{item:e.item,open:!0})]),key:"0"}:void 0,"method"in e.item?{name:"aside",fn:sn(()=>[Fs(xxt,{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}]),label:e.options?.labels?.httpMethod,method:e.item.method,webhook:"webhook"===e.item.type},null,8,["active","class","label","method","webhook"])]),key:"1"}:void 0]),1032,["is","href","indent","selected"])]),_:2},[r.decorator?{name:"after",fn:sn(()=>[Fs(Cxt,null,{default:sn(()=>[Kn(t.$slots,"decorator",{item:e.item})]),_:3})]),key:"0"}:void 0]),1040,["data-sidebar-id"]))}}})}),tPt=V(()=>{ePt(),UEt=jEt}),aPt=V(()=>{pxt(),tPt(),Bc(),ext(),zEt=Cn({__name:"ScalarSidebar",props:{layout:{},items:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},indent:{default:20},getHref:{type:Function},isDraggable:{},isDroppable:{type:Function}},emits:["reorder","selectItem","toggleGroup"],setup(e,{emit:t}){let a=t,r=to(),n=(e,t)=>{a("reorder",e,t)};return(t,o)=>(Ho(),Fo(qa(Oyt),{class:"flex min-h-0 flex-col",style:Je({"--scalar-sidebar-indent":e.indent+"px"})},{default:sn(()=>[Kn(t.$slots,"header"),Kn(t.$slots,"default",{},()=>[Fs(qa(ewt),{class:"custom-scroll"},{default:sn(()=>[Kn(t.$slots,"before"),(Ho(!0),Qo(Bs,null,Xn(qa(lxt)(e.layout,e.items),i=>(Ho(),Fo(UEt,{key:i.id,getHref:e.getHref,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)},Yn({_:2},[r.decorator?{name:"decorator",fn:sn(e=>[Kn(t.$slots,"decorator",ii({ref_for:!0},e))]),key:"0"}:void 0,r.empty?{name:"empty",fn:sn(e=>[Kn(t.$slots,"empty",ii({ref_for:!0},e))]),key:"1"}:void 0,r.icon?{name:"icon",fn:sn(e=>[Kn(t.$slots,"icon",ii({ref_for:!0},e))]),key:"2"}:void 0]),1032,["getHref","isDraggable","isDroppable","isExpanded","isSelected","item","layout","options"]))),128))]),_:3}),Kn(t.$slots,"spacer",{},()=>[o[2]||=Xo("div",{class:"flex-1"},null,-1)])]),Kn(t.$slots,"footer")]),_:3},8,["style"]))}})}),rPt=V(()=>{aPt(),HEt=zEt}),nPt=V(()=>{ZEt=({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}}),oPt=V(()=>{nPt(),Bc(),VEt=(e,t)=>{let a=il(()=>ZEt({items:Qa(e),nestedKey:t?.key??"children"})),r=Ha({}),n=Ha({}),o=Ha(null);return{items:il(()=>Qa(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={}}}}}),iPt=V(()=>{qEt=(e,t)=>{if(t.type===e)return t;if("children"in t)for(let a of t.children??[]){let t=qEt(e,a);if(t)return t}return null}}),sPt=V(()=>{QEt=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},FEt=e=>"heading"===e.dataset.sidebarType?e.querySelector(".sidebar-heading")?.offsetHeight??0:0,WEt=(e,t)=>{let a=e.offsetTop,r=e.offsetParent;for(;r&&r!==t;)a+=r.offsetTop,r=r.offsetParent;return a},GEt=(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=WEt(QEt(a),r)+FEt(a)-t;r.scrollTo({top:n>0?n:0})}}),lPt=V(()=>{dxt(),pxt(),rPt(),nPt(),oPt(),iPt(),sPt()});lPt();var cPt=["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","laserwave","none"],uPt={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"},dPt={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, var(--scalar-background-1), transparent 10%);\n  --scalar-tooltip-color: var(--scalar-color-1);\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(dPt);J_(),VY(),wF(),vS(),eC();var pPt=["ws","wss"],hPt=e=>e?.variables?vX(e.variables).reduce((e,[t,a])=>{let r=q_(a);return null!=r.default&&(e[String(t)]=String(r.default)),e},{}):{},mPt=(e,t)=>{let a=e;return t.serverVariables&&(a=gF(a,t.serverVariables)),t.environmentVariables&&(a=vF(a,t.environmentVariables)),t.pathParameters&&(a=gF(a,t.pathParameters)),a},fPt=e=>e?.trim().toLowerCase()||void 0,gPt=(e,t)=>{let a=hPt(e),r=`${(e=>e.trim().toLowerCase())(e.protocol)}://${mPt(e.host,{serverVariables:a,environmentVariables:t})}`;return e.pathname?eS(r,mPt(e.pathname,{serverVariables:a,environmentVariables:t})):r},vPt=e=>{if(e)return q_(e).ws},bPt=(e,t)=>{let a=vPt(e.bindings),r=t?vPt(t.bindings):void 0;if(a||r)return{...a,...r,query:wPt(a?.query,r?.query)}},yPt=e=>{if(!e)return;let t=q_(e);return!0!==t&&!1!==t&&z_(t)?t:void 0},wPt=(e,t)=>{let a=yPt(e),r=yPt(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}})},xPt=e=>{if(!0!==e&&!1!==e&&z_(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]}},OPt=(e,t,a)=>{if(null!=a){if(Array.isArray(a))return void a.forEach(a=>OPt(e,t,a));if("object"==typeof a)return void e.append(t,JSON.stringify(a));e.append(t,String(a))}},kPt=(e,t)=>{let a=new URLSearchParams,r=yPt(e?.query),n=r&&"properties"in r?r.properties:void 0;if(z_(n))for(let[e,t]of Object.entries(n))OPt(a,e,xPt(t));if(t)for(let[e,r]of vX(t))a.delete(e),OPt(a,e,r);return a};aC(),SF();var SPt=(e,t)=>{let a=`#/${t.map(rxt).join("/")}/`;if(!e.startsWith(a))return;let r=OF(()=>F_(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};eC();var APt=(e,t)=>{let a=t.channel;if(!a)return;let r="$ref"in a?(e=>SPt(e,["channels"]))(a.$ref):void 0;if(r&&e.channels?.[r]){let t=q_(e.channels[r]);return{channelName:r,channel:t,channelAddress:"string"==typeof t.address&&t.address.length>0?t.address:r}}let n=q_(a),o=r??((e,t)=>{if(e.channels)for(let[a,r]of Object.entries(e.channels))if(q_(r)===t)return a})(e,n)??("string"==typeof n.address&&n.address.length>0?n.address:void 0);return o?{channelName:o,channel:n,channelAddress:"string"==typeof n.address&&n.address.length>0?n.address:o}:void 0};VY(),eC(),aK();var TPt=e=>SPt(e,["servers"]),_Pt=(e,t)=>{if(!t?.servers)return;let a=new Set;for(let r of t.servers){let t=TPt(r.$ref);t&&e.servers?.[t]&&a.add(t)}return a},CPt=(e,t={})=>{let{channel:a=null,operation:r=null,pathParameters:n={},queryParameters:o={},environmentVariables:i,webSocketOnly:s=!0}=t,l=e.servers??{},c=_Pt(e,a);return vX(l).filter(([e])=>c?.has(e)??!0).map(([e,t])=>{let s=(e=>q_(e))(t),l=s.protocol.trim().toLowerCase(),c=(e=>pPt.includes(e.trim().toLowerCase()))(l),u=gPt(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=hPt(e),s=gPt(e,o),l=t.address;return tS(s,null==l||""===l?"":mPt(l,{serverVariables:i,environmentVariables:o,pathParameters:r}),kPt(bPt(t,a),n),!0)})({server:s,channel:a,operation:r,pathParameters:n,queryParameters:o,environmentVariables:i})),d}).filter(e=>!s||e.isWebSocket)};VY(),cK(),eC();var EPt=e=>{let t=new Map;for(let[a,r]of vX(e.servers??{})){let e=fPt(q_(r).protocol);e&&t.set(a,e)}return t},PPt=e=>({serverProtocols:EPt(e),allServerNames:new Set(uY(e.servers??{}))});J_();var MPt=(e,t)=>{if(Object.is(e,t))return!0;if(!H_(e)||!H_(t))return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let a=0;a<e.length;a+=1)if(!MPt(e[a],t[a]))return!1;return!0}if(Array.isArray(t))return!1;let a=e,r=t,n=0;for(let e in a)if(Object.hasOwn(a,e)&&(n+=1,!Object.hasOwn(r,e)||!MPt(a[e],r[e])))return!1;let o=0;for(let e in r)Object.hasOwn(r,e)&&(o+=1);return n===o},NPt=e=>{let t=new Set;return e.filter(e=>{let a=JSON.stringify(e);return!t.has(a)&&(t.add(a),!0)})};eC();var $Pt=(e,t)=>{if("$ref"in t){let e=(e=>SPt(e,["components","securitySchemes"]))(t.$ref);if(e)return e}let a=(e=>{let t=q_(e);if(null==t)return;if(!("scopes"in t))return t;let{scopes:a,...r}=t;return r})(t);if(null==a)return;let r=e.components?q_(e.components):void 0;if(r?.securitySchemes)for(let[e,t]of Object.entries(r.securitySchemes)){let r=q_(t);if(r===a||MPt(r,a))return e}},IPt=(e,t)=>t?.length?t.map(t=>((e,t)=>{let a=$Pt(e,t);if(!a)return;let r=q_(t),n=null!=r&&"scopes"in r&&Array.isArray(r.scopes)?[...r.scopes]:[];return{[a]:n}})(e,t)).filter(e=>null!=e):[],RPt=(e,t,a)=>{let r=IPt(e,t?.security),n=IPt(e,a?.security);return NPt(0===r.length?n:0===n.length?r:[...r,...n])};eC();var DPt=e=>{let t=e.traits??[];if(0===t.length)return e;let a=(e=>e.reduce((e,t)=>{let a=q_(t);return void 0===a.security?e:a.security},void 0))(t),r=t.reduce((e,t)=>{let a=q_(t);if(!a.bindings)return e;let r=q_(a.bindings);return e?{...q_(e),...r}:r},void 0),n=void 0!==e.security,o=e.security??a,i=r&&e.bindings?{...q_(r),...q_(e.bindings)}:e.bindings??r;return{...e,...void 0!==o||n?{security:o}:{},...i===e.bindings?{}:{bindings:i}}};function LPt(e){let t=e;return z_(t)&&"string"==typeof t.asyncapi&&t.asyncapi.startsWith("1.")?(t.asyncapi=UPt,function(e){if(!Array.isArray(e.servers))return;let t={},a=new Set;for(let[r,n]of e.servers.entries()){if(!z_(n))continue;let e={};for(let[t,a]of Object.entries(n))"scheme"===t?e.protocol=a:"schemeVersion"===t?e.protocolVersion=a:e[t]=a;let o=BPt("string"==typeof n.description?n.description:"",r,a);a.add(o),t[o]=e}e.servers=t}(t),function(e){if(!z_(e.topics))return void("string"==typeof e.baseTopic&&delete e.baseTopic);let t="string"==typeof e.baseTopic?e.baseTopic:"",a={};for(let[r,n]of Object.entries(e.topics)){if(!z_(n))continue;let e=t?`${t}.${r}`:r,o={};for(let[e,t]of Object.entries(n))if("parameters"===e){let e=jPt(t);e&&(o.parameters=e)}else o[e]="publish"===e||"subscribe"===e?{message:t}:t;a[e]=o}e.channels=a,delete e.topics,delete e.baseTopic}(t),function(e){if(!z_(e.stream))return;let t={};Array.isArray(e.stream.read)&&(t.subscribe={message:{oneOf:e.stream.read}}),Array.isArray(e.stream.write)&&(t.publish={message:{oneOf:e.stream.write}});let a=z_(e.channels)?e.channels:{};a[zPt]=t,e.channels=a,delete e.stream}(t),function(e){if(!z_(e.events))return;let t={};Array.isArray(e.events.receive)&&(t.subscribe={message:{oneOf:e.events.receive}}),Array.isArray(e.events.send)&&(t.publish={message:{oneOf:e.events.send}});let a=z_(e.channels)?e.channels:{};a[zPt]=t,e.channels=a,delete e.events}(t),t):t}function BPt(e,t,a){let r=F9e(e)||`server-${t}`;if(!a.has(r))return r;let n=2;for(;a.has(`${r}-${n}`);)n+=1;return`${r}-${n}`}function jPt(e){if(!Array.isArray(e))return;let t={};for(let a of e){if(!z_(a))continue;if("string"==typeof a.$ref){let e=a.$ref.split("/").pop()??"";e&&(t[e]={$ref:a.$ref});continue}if("string"!=typeof a.name)continue;let{name:e,...r}=a;t[e]=r}return t}var UPt,zPt,HPt=V(()=>{J_(),K9e(),UPt="2.6.0",zPt="/"}),ZPt=V(()=>{HPt()});function VPt(e){let t=e;return z_(t)&&"string"==typeof t.asyncapi&&t.asyncapi.startsWith("2.")?(t.asyncapi=eMt,function(e){if(z_(e.components)&&z_(e.components.securitySchemes))for(let t of Object.values(e.components.securitySchemes))if(z_(t)&&"oauth2"===t.type&&z_(t.flows))for(let e of Object.values(t.flows))z_(e)&&"scopes"in e&&(e.availableScopes=e.scopes,delete e.scopes)}(t),function(e){if(!z_(e.servers))return;let t=FPt(e);for(let a of Object.values(e.servers))if(z_(a)){if("string"==typeof a.url){let{host:e,pathname:t}=qPt(a.url);a.host=e,t&&(a.pathname=t),delete a.url}Array.isArray(a.security)&&(a.security=QPt(a.security,t))}}(t),function(e){if(!z_(e.channels))return;let t=FPt(e),a={},r={},n=new Set,o=new Set;for(let[i,s]of Object.entries(e.channels)){if(!z_(s))continue;let e=JPt(KPt(i),n),l={address:i},c={};for(let[e,t]of Object.entries(s))if("publish"!==e&&"subscribe"!==e&&"parameters"!==e){if("servers"===e&&Array.isArray(t)){l.servers=t.map(e=>({$ref:`#/servers/${e}`}));continue}l[e]=t}z_(s.parameters)&&(l.parameters=s.parameters);let u=WPt(s.publish,c),d=WPt(s.subscribe,c);if(l.messages=c,a[e]=l,z_(s.publish)){r[JPt(XPt(s.publish,"receive",e),o)]=YPt(s.publish,"receive",e,u,t)}if(z_(s.subscribe)){r[JPt(XPt(s.subscribe,"send",e),o)]=YPt(s.subscribe,"send",e,d,t)}}e.channels=a,e.operations=r}(t),t):t}function qPt(e){let t=e.match(/^[a-zA-Z][a-zA-Z0-9+\-.]*:\/\/(.*)$/),a=t?t[1]:e,r=a.indexOf("/");return-1===r?{host:a,pathname:""}:{host:a.slice(0,r),pathname:a.slice(r)}}function QPt(e,t){return e.map(e=>function(e,t){if(!z_(e))return;let[a]=Object.entries(e);if(!a)return;let[r,n]=a,o=t[r];return z_(o)&&"oauth2"===o.type&&Array.isArray(n)?{...o,scopes:n}:{$ref:`#/components/securitySchemes/${r}`}}(e,t)).filter(e=>void 0!==e)}function FPt(e){if(!z_(e.components)||!z_(e.components.securitySchemes))return{};let t={};for(let[a,r]of Object.entries(e.components.securitySchemes))z_(r)&&(t[a]=r);return t}function WPt(e,t){if(!z_(e)||!z_(e.message))return[];let a=e.message,r=Array.isArray(a.oneOf)?a.oneOf:[a],n=[];for(let e of r){if(!z_(e))continue;let a=GPt(e,t);t[a]=e,n.push(a)}return n}function GPt(e,t){if("string"==typeof e.$ref){let t=e.$ref.split("/").pop();if(t)return t}if("string"==typeof e.name&&e.name)return e.name;let a=0;for(;`message-${a}`in t;)a+=1;return`message-${a}`}function XPt(e,t,a){return"string"==typeof e.operationId&&e.operationId?e.operationId:`${t}-${a}`}function YPt(e,t,a,r,n){let o={action:t,channel:{$ref:`#/channels/${a}`}};for(let[t,a]of Object.entries(e))if("message"!==t&&"operationId"!==t){if("security"===t&&Array.isArray(a)){o.security=QPt(a,n);continue}o[t]=a}return o.messages=r.map(e=>({$ref:`#/channels/${a}/messages/${e}`})),o}function KPt(e){return F9e(e.replace(/[^a-zA-Z0-9]+/g," "))}function JPt(e,t){if(!t.has(e))return t.add(e),e;let a=2;for(;t.has(`${e}-${a}`);)a+=1;let r=`${e}-${a}`;return t.add(r),r}var eMt,tMt=V(()=>{J_(),K9e(),eMt="3.0.0"}),aMt=V(()=>{tMt()});function rMt(e){let t=e;return z_(t)&&"string"==typeof t.asyncapi&&t.asyncapi.startsWith("3.0")?(t.asyncapi=iMt,function(e){if(!z_(e.operations)||!z_(e.channels))return;let t=e.channels;for(let a of Object.values(e.operations))z_(a)&&(nMt(a.messages,a.channel,t),z_(a.reply)&&nMt(a.reply.messages,a.reply.channel??a.channel,t))}(t),t):t}function nMt(e,t,a){if(!Array.isArray(e))return;let r=function(e){if(!z_(e)||"string"!=typeof e.$ref)return;let t=e.$ref.match(/^#\/channels\/([^/]+)$/);return t?t[1]:void 0}(t);if(!r)return;let n=a[r];if(z_(n)){for(let t=0;t<e.length;t+=1){let a=e[t];if(!z_(a)||"string"!=typeof a.$ref)continue;let[,o]=a.$ref.match(sMt)??[];o&&(oMt(n,o,a.$ref),e[t]={$ref:`#/channels/${r}/messages/${o}`})}!function(e){let t=new Set,a=0;for(let r of e){if(z_(r)&&"string"==typeof r.$ref){if(t.has(r.$ref))continue;t.add(r.$ref)}e[a]=r,a+=1}e.length=a}(e)}}function oMt(e,t,a){z_(e.messages)||(e.messages={});let r=e.messages;t in r||(r[t]={$ref:a})}var iMt,sMt,lMt=V(()=>{J_(),iMt="3.1.0",sMt=/^#\/components\/messages\/(.+)$/}),cMt=V(()=>{lMt()});var uMt,dMt,pMt=V(()=>{ZPt(),aMt(),cMt()}),hMt=V(()=>{pMt()}),mMt=V(()=>{uMt=(e,t)=>{let a=performance.now(),r=t(),n=performance.now(),o=Math.round(n-a);return console.info(`${e}: ${o} ms`),r},dMt=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 fMt(e){try{let t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch{return!1}}var gMt=V(()=>{});var vMt=V(()=>{J_()});var bMt=V(()=>{});function yMt(e){return!fMt(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 z_(JSON.parse(e))}catch{return!1}}(e)}var wMt=V(()=>{gMt(),vMt(),bMt()});function xMt(e=""){return e&&e.replace(/\\/g,"/").replace(_Mt,e=>e.toUpperCase())}function OMt(){return typeof process<"u"&&"function"==typeof process.cwd?process.cwd().replace(/\\/g,"/"):"/"}function kMt(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 SMt,AMt,TMt,_Mt,CMt,EMt,PMt,MMt,NMt,$Mt,IMt,RMt,DMt,LMt,BMt,jMt,UMt,zMt,HMt,ZMt,VMt,qMt,QMt,FMt,WMt,GMt,XMt,YMt,KMt,JMt=V(()=>{SMt=()=>{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 w(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=O(e);return w(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(O);return w(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(O);return w(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=O(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)=>O(e),w=(()=>{let e=0;return t=>{let a=O(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||=O(e()),t(a))},O=(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},T=(e,t)=>{if(t<e)return T(t,e);let a=[];for(;e<=t;)a.push(e++);return a},_=(e,t)=>T(A(e),A(t)).map(S),C=e=>e,E=e=>P(t=>((e,t,a={})=>{let r={cache:{},input:e,index:0,indexMax:0,options:a,output:[]};if(O(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(/^\*\*\/\*$/,".*"),N=u(/^\*\*\/(\*)?([ a-zA-Z0-9._-]+)$/,(e,t,a)=>`.*${t?"":"(?:^|/)"}${a.replaceAll(".","\\.")}`),$=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(/\\./,C),R=u(/[$.*+?^(){}[\]\|]/,e=>`\\${e}`),D=u(/./,C),L=v([u(/^(?:!!)*!(.*)$/,(e,t)=>`(?!^${ae(t)}$).*?`),u(/^(!!)+/,"")]),B=v([u(/\/(\*\*\/)+/,"(?:/.+/|/)"),u(/^(\*\*\/)+/,"(?:^|.*/)"),u(/\/(\*\*)$/,"(?:/.*|$)"),u(/\*\*/,".*")]),j=v([u(/\*\/(?!\*\*\/)/,"[^/]*/"),u(/\*/,"[^/]*")]),U=u("?","[^/]"),z=u("[",C),H=u("]",C),Z=u(/[!^]/,"^/"),V=u(/[a-z]-[a-z]|[0-9]-[0-9]/i,C),q=v([I,u(/[$.*+?^(){}[\|]/,e=>`\\${e}`),V,u(/[^\]]/,C)]),Q=g([z,(e=>m(e,0,1))(Z),f(q),H]),F=u("{","(?:"),W=u("}",")"),G=g([F,v([u(/(\d+)\.\.(\d+)/,(e,t,a)=>((e,t,a)=>T(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,a).join("|")),u(/([A-Z]+)\.\.([A-Z]+)/,(e,t,a)=>_(t.toLowerCase(),a.toLowerCase()).join("|").toUpperCase())]),W]),X=u("{","(?:"),Y=u("}",")"),K=u(",","|"),J=u(/[$.*+?^(){[\]\|]/,e=>`\\${e}`),ee=u(/[^}]/,C),te=g([X,f(v([B,j,U,Q,G,x(()=>te),I,J,K,ee])),Y]),ae=E(f(v([M,N,$,L,B,j,U,Q,G,te,I,R,D]))),re=u(/\\./,C),ne=u(/./,C),oe=E(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},TMt=(e,t)=>(AMt||(AMt=SMt(),SMt=null),AMt(e,t)),_Mt=/^[A-Za-z]:\//,CMt=/^[/\\]{2}/,EMt=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,PMt=/^[A-Za-z]:$/,MMt=/^\/([A-Za-z]:)?$/,NMt=/.(\.[^./]+|\.)$/,$Mt=/^[/\\]|^[a-zA-Z]:[/\\]/,IMt=function(e){if(0===e.length)return".";let t=(e=xMt(e)).match(CMt),a=LMt(e),r="/"===e[e.length-1];return 0===(e=kMt(e,!a)).length?a?"/":r?"./":".":(r&&(e+="/"),PMt.test(e)&&(e+="/"),t?a?`//${e}`:`//./${e}`:a&&!LMt(e)?`/${e}`:e)},RMt=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 IMt(t)},DMt=function(...e){let t="",a=!1;for(let r=(e=e.map(e=>xMt(e))).length-1;r>=-1&&!a;r--){let n=r>=0?e[r]:OMt();!n||0===n.length||(t=`${n}/${t}`,a=LMt(n))}return t=kMt(t,!a),a&&!LMt(t)?`/${t}`:t.length>0?t:"."},LMt=function(e){return EMt.test(e)},BMt=function(e){return xMt(e)},jMt=function(e){if(".."===e)return"";let t=NMt.exec(xMt(e));return t&&t[1]||""},UMt=function(e,t){let a=DMt(e).replace(MMt,"$1").split("/"),r=DMt(t).replace(MMt,"$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("/")},zMt=function(e){let t=xMt(e).replace(/\/$/,"").split("/").slice(0,-1);return 1===t.length&&PMt.test(t[0])&&(t[0]+="/"),t.join("/")||(LMt(e)?"/":".")},HMt=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 xMt(e.root?DMt(...a):a.join("/"))},ZMt=function(e,t){let a=xMt(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},VMt=function(e){let t=$Mt.exec(e)?.[0]?.replace(/\\/g,"/")||"",a=ZMt(e),r=jMt(a);return{root:t,dir:zMt(e),base:a,ext:r,name:a.slice(0,a.length-r.length)}},qMt=(e,t)=>TMt(t,IMt(e)),QMt={__proto__:null,basename:ZMt,dirname:zMt,extname:jMt,format:HMt,isAbsolute:LMt,join:RMt,matchesGlob:qMt,normalize:IMt,normalizeString:kMt,parse:VMt,relative:UMt,resolve:DMt,sep:"/",toNamespacedPath:BMt}}),eNt=V(()=>{JMt(),FMt="win32"===globalThis.process?.platform?";":":",WMt={posix:void 0,win32:void 0},GMt=(e=FMt)=>new Proxy(QMt,{get:(t,a)=>"delimiter"===a?e:"posix"===a?XMt:"win32"===a?YMt:WMt[a]||QMt[a]}),XMt=GMt(":"),YMt=GMt(";")}),tNt=V(()=>{eNt(),gMt(),KMt=(e,t)=>{if(fMt(t))return t;if(fMt(e)){let a=new URL(e);return a.pathname=XMt.posix.resolve("/",XMt.dirname(a.pathname),t),a.toString()}return XMt.resolve(XMt.dirname(e),t)}});function aNt(e){return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}var rNt=V(()=>{});function nNt(e){return e.split("/").slice(1).map(aNt)}var oNt=V(()=>{rNt()});function iNt(e,t,a){if(""===t)throw Error("Cannot set value at root ('') pointer");let r=nNt(t);r.forEach(e=>EX(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 sNt,lNt=V(()=>{GY(),oNt()}),cNt=V(()=>{eNt(),gMt(),sNt=(e,t)=>{if(fMt(e)&&fMt(t)){let a=new URL(e),r=new URL(t);if(a.origin!==r.origin)return e;let n=XMt.dirname(XMt.posix.resolve("/",r.pathname)),o=XMt.posix.resolve("/",a.pathname);return XMt.posix.relative(n,o)}if(fMt(t)){let a=new URL(t),r=XMt.dirname(XMt.posix.resolve("/",a.pathname));return a.pathname=XMt.posix.relative(r,XMt.posix.resolve("/",e)),a.toString()}if(fMt(e))return e;let a=XMt.dirname(XMt.resolve(t)),r=XMt.resolve(e);return XMt.relative(a,r)}});function uNt(e){let t=Ort(e).substring(0,7);return t.match(/^\d+$/)?"a"+t.substring(1):t}async function dNt(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?dNt(e,t,a,o,n+1):(a[o]=t,o)}var pNt,hNt=V(()=>{Cnt(),pNt=(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 dNt(e,r,t),i=o.match(/^\d+$/)?`a${o}`:o;return a[r]=i,i}}}});function mNt(e){return e.startsWith("#")}function fNt(e,t){let a=t.find(t=>t.validate(e));return a?a.exec(e):Promise.resolve({ok:!1})}function gNt(e,t){if(!mNt(e))throw"Please provide an internal ref";return`#/${t.map(Bet).join("/")}${e.substring(1)}`}function vNt(e,t){if(Array.isArray(e))e.forEach(e=>vNt(e,t));else if(z_(e)&&(Object.values(e).forEach(e=>vNt(e,t)),"object"==typeof e&&"$ref"in e&&"string"==typeof e.$ref)){let a=e.$ref;if(!mNt(a))return;e.$ref=gNt(a,t)}}async function bNt(e,t){t.externalDocumentsKey=t.externalDocumentsKey??xNt.externalDocuments,t.externalDocumentsMappingsKey=t.externalDocumentsMappingsKey??xNt.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 fNt(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=Y_(i),l=void 0!==t.root&&t.root!==o||void 0!==t.depth,c=t.visitedNodes??new Set,u=G_(i)||(t.origin?t.origin:"string"==typeof e&&(fMt(e)||yMt(e))?e:"/");void 0===i[t.externalDocumentsMappingsKey]&&(i[t.externalDocumentsMappingsKey]={});let{generate:d}=pNt(t.compress??uNt,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||!z_(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=G_(e);if(yNt(e)){let c=e.$ref,f="$global"in e&&"boolean"==typeof e.$global&&e.$global,g=W_(c,b??n,s);if(void 0!==g){if(l){let e=nNt(`/${g}`),t=e.length>0?oC(i,e.slice(0,-1)).value:void 0,a=oC(i,e);await h(a.value,a.context,o,m+1,e,t)}return void await p("onAfterNodeProcess",e,v)}let[y,w=""]=c.split("#",2),x=KMt(b??n,y),O=sNt(x,u),k=await d(O),S=a.has(O);S||a.set(O,fNt(x,r)),await p("onResolveStart",e);let A=await a.get(O);return A.ok?(S||(f||vNt(A.data,[xNt.externalDocuments,k]),await h(A.data,f?n:x,f,m+1,[t.externalDocumentsKey,k,i[t.externalDocumentsMappingsKey]]),iNt(i,`/${t.externalDocumentsMappingsKey}/${Bet(k)}`,O)),!0===t.treeShake?wNt(i,{[t.externalDocumentsKey]:{[k]:A.data}},gNt(`#${w}`,[t.externalDocumentsKey,k]).substring(1),t.externalDocumentsKey,k):S||iNt(i,`/${t.externalDocumentsKey}/${k}`,A.data),e.$ref=gNt(`#${w}`,[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 yNt,wNt,xNt,ONt=V(()=>{J_(),rC(),nC(),iC(),wMt(),gMt(),tNt(),lNt(),cNt(),Gtt(),oNt(),hNt(),yNt=e=>z_(e)&&"$ref"in e&&"string"==typeof e.$ref,wNt=(e,t,a,r,n,o=!1,i=new Set)=>{let s=oC(t,nNt(a)).value;if(i.has(s))return;i.add(s),iNt(e,a,s);let l=a=>{if(a&&"object"==typeof a){"$ref"in a&&"string"==typeof a.$ref&&(a.$ref.startsWith(`#/${r}/${Bet(n)}`)||o)&&wNt(e,t,a.$ref.substring(1),r,n,o,i);for(let e of Object.values(a))l(e)}};l(s)},xNt={externalDocuments:"x-ext",externalDocumentsMappings:"x-ext-urls"}}),kNt=V(()=>{ONt()});function SNt(e){let t=0,a=new axt;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 ANt=V(()=>{nxt()});function TNt(e){if(null!==e){if("string"==typeof e){let t=_Nt(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:DYe(t,{maxAliasCount:1e4,merge:!0})}}return e}}var _Nt,CNt,ENt,PNt,MNt,NNt,$Nt,INt,RNt,DNt,LNt,BNt,jNt,UNt=V(()=>{HKe(),_Nt=e=>e.startsWith("\ufeff")?e.slice(1):e}),zNt=V(()=>{ANt(),gMt(),UNt(),CNt=e=>{try{return new URL(e).host}catch{return null}},ENt=async(e,t,a)=>{try{let r=CNt(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:TNt(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}}},PNt=e=>{let t=e?.limit?SNt(e.limit):e=>e();return{type:"loader",validate:fMt,exec:a=>ENt(a,t,e)}}}),HNt=V(()=>{zNt(),vMt(),HKe()}),ZNt=V(()=>{GY(),MNt=class extends Error{constructor(e){super(e),this.name="InvalidChangesDetectedError"}},NNt=(e,t)=>{let a=(e,t,r,n=0)=>{if(void 0===t[n])throw new MNt(`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 MNt("Process aborted, check diff object");a(e[t[n]],t,r,n+1)}};for(let e of t){if(0===e.path.length)throw new MNt("Process aborted. Root-level replacement is not supported, the change targets the document itself instead of a property inside it");let t=e.path.find(PX);if(void 0!==t)throw new MNt(`Process aborted. Path ${e.path.join(".")} contains the unsafe segment "${t}", which can modify the prototype chain`)}for(let r of t)a(e,r.path,r);return e}}),VNt=V(()=>{GY(),$Nt=(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){if(Array.isArray(e)!==Array.isArray(t))return void a.push({path:n,changes:t,type:"update"});let o=[...new Set([...Object.keys(e),...Object.keys(t)])].filter(e=>!PX(e)),i=Array.isArray(e)&&Array.isArray(t)&&e.length>=t.length?o.reverse():o;for(let a of i)r(e[a],t[a],[...n,a]);return}e!==t&&a.push({path:n,changes:t,type:"update"})};return r(e,t),a}}),qNt=V(()=>{INt=class{value;children=Object.create(null);constructor(e){this.value=e}},RNt=class{root;constructor(){this.root=new INt(null)}addPath(e,t){let a=this.root;for(let t of e)a.children[t]||(a.children[t]=new INt(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)}}}),QNt=V(()=>{GY(),DNt=(e,t)=>{if(typeof e!=typeof t)return!0;if("object"==typeof e&&"object"==typeof t&&null!==e&&null!==t){if(Array.isArray(e)!==Array.isArray(t))return!0;let a=new Set([...Object.keys(e),...Object.keys(t)]);for(let r of a)if(!PX(r)&&void 0!==e[r]&&void 0!==t[r]&&DNt(e[r],t[r]))return!0;return!1}return e!==t},LNt=(e,t)=>{for(let a in t)if(!PX(a))if(a in e){let r=e[a],n=t[a];"object"==typeof r&&r&&"object"==typeof n&&n&&(e[a]=LNt(r,n))}else e[a]=t[a];return e},BNt=(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}}),FNt=V(()=>{qNt(),QNt(),jNt=(e,t)=>{let a=new RNt;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(e);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(BNt(s.path,t.changes.path)&&"delete"!==t.changes.type&&!DNt(s.changes,t.changes.changes))return r.add(t.index),void("object"==typeof s.changes&&LNt(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}}}),WNt=V(()=>{ZNt(),VNt(),FNt()});function GNt(e){if("object"==typeof e&&e){if(Array.isArray(e)){for(let t of e)GNt(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)&&GNt(e[t])}}function XNt(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),GNt(t),t):t}var YNt=V(()=>{}),KNt=V(()=>{YNt()});function JNt(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:JNt(a,t,[...e,r.toString()])):r[n]="object"==typeof o&&o?JNt(o,t,e):o}return t(r,a)}var e$t=V(()=>{});function t$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 a$t(e){return"object"==typeof e&&!!e&&!Array.isArray(e)&&Object.keys(e).length>0}function r$t(e){return a$t(e)&&Object.values(e).every(e=>"object"==typeof e&&!!e&&!Array.isArray(e))}function n$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 o$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&&n$t(t.schema)&&delete e[a]}}function i$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=>b$t.has(e));return a&&r}function s$t(e){return i$t(e)?e:{value:e}}function l$t(e){return y$t.test(e)}function c$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 u$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 d$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 k$t&&t in k$t[e.in]?k$t[e.in][t]:{}}(e),a=c$t(e),{xExample:r,xExamples:n}=t$t(e);if(a$t(r)?e.examples=function(e){return Object.entries(e).reduce((e,[t,a])=>(e[t]={value:a},e),{})}(r):a$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:u$t(e.in)}}function p$t(e){if(Object.hasOwn(e,"$ref")&&"string"==typeof e.$ref)return{$ref:e.$ref};let t=c$t(e);return{...e,schema:t}}function h$t(e){if("array"!==e.type||"string"!=typeof e.collectionFormat)return;let t=x$t[e.collectionFormat];return t&&0!==Object.keys(t).length?t:void 0}function m$t(e,t){let{xExample:a,xExamples:r}=t$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},a$t(r)&&e in r){let t=r[e];a$t(t)&&Object.values(t).every(e=>i$t(e))?i.content[e].examples=t:r$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 a$t(r)&&!Object.keys(r).some(l$t)&&(i.content[e].examples=Object.entries(r).reduce((e,[t,a])=>(e[t]=s$t(a),e),{}));!i.content[e].examples&&a$t(a)&&e in a&&(i.content[e].example=a[e])}return i}function f$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)if(t.name&&r.schema.properties){r.schema.properties[t.name]={...c$t(structuredClone(t)),...void 0===t.description?{}:{description:t.description}};let e=h$t(t);e&&(r.encoding??={},r.encoding[t.name]=e),t.required&&Array.isArray(r.schema.required)&&r.schema.required.push(t.name)}}return a}function g$t(e,t){let a={parameters:e.filter(e=>!("body"===e.in||"formData"===e.in)).map(e=>d$t(e))},r=structuredClone(e.find(e=>"body"===e.in)??{});r&&Object.keys(r).length&&(a.requestBody=m$t(r,t));let n=e.filter(e=>"formData"===e.in);if(n.length>0){let e=f$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 v$t,b$t,y$t,w$t,x$t,O$t,k$t,S$t=V(()=>{e$t(),v$t="application/json",b$t=new Set(["summary","description","value","externalValue"]),y$t=/^[a-zA-Z0-9*+.-]+\/[a-zA-Z0-9*+.+-]+$/,w$t=e=>{switch(e){case"application":return"clientCredentials";case"accessCode":return"authorizationCode";case"implicit":return"implicit";case"password":return"password";default:return e}},k$t={header:O$t={ssv:{},pipes:{},multi:{},csv:{style:"simple",explode:!1},tsv:{}},query:x$t={ssv:{style:"spaceDelimited",explode:!1},pipes:{style:"pipeDelimited",explode:!1},multi:{style:"form",explode:!0},csv:{style:"form",explode:!1},tsv:{}},path:O$t}}),A$t=V(()=>{S$t()});function T$t(e){let t=e?.[e.length-1];return void 0!==t&&("schemas"===t&&"components"===e?.[e.length-2]||C$t.has(t))}var _$t,C$t,E$t,P$t,M$t=V(()=>{e$t(),_$t=new Set(["properties","items","allOf","anyOf","oneOf","not","additionalProperties","schema"]),C$t=new Set(["properties","patternProperties","$defs","definitions"]),E$t=new Set(["example","default","const","enum"]),P$t=(e,t)=>{if(function(e){if(!e)return!1;for(let[t,a]of e.entries())if(E$t.has(a)&&!T$t(e.slice(0,t))||"value"===a&&"examples"===e[t-2]&&!T$t(e.slice(0,t-2)))return!0;return!1}(t))return e;if(void 0!==e.type&&!0===e.nullable)e.type=[e.type,"null"],delete e.nullable;else if(!0===e.nullable&&void 0===e.type){if("string"==typeof e.$ref){let{nullable:t,$ref:a,...r}=e;return{...r,anyOf:[{$ref:a},{type:"null"}]}}if(Array.isArray(e.allOf)){let{nullable:t,allOf:a,...r}=e;return{...r,anyOf:[1===a.length?a[0]:{allOf:a},{type:"null"}]}}}!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&&!T$t(t.slice(0,a)));if(void 0!==e.example&&!a&&!T$t(t)&&(function(e){return!!e&&!!(e.some(e=>_$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"]&&(void 0===t||0===t.length)&&(e.webhooks=e["x-webhooks"],delete e["x-webhooks"]),e}}),N$t=V(()=>{M$t()});function $$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=JNt(t,e=>("string"==typeof e.$ref&&e.$ref.startsWith("#/definitions/")&&(e.$ref=e.$ref.replace(/^#\/definitions\//,"#/components/schemas/")),e))),t=JNt(t,e=>("file"===e.type&&(e.type="string",e.format="binary"),e)),Object.hasOwn(t,"parameters")){t=JNt(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]=d$t(o):"in"in o&&("body"===o.in?a[n]=m$t(o,t.consumes??[v$t]):"formData"===o.in?a[n]=f$t([o],t.consumes):e[n]=d$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=JNt(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??[v$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]??v$t;for(let[t,r]of Object.entries(a.examples))if(l$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&&o$t(a.content),a.headers&&"object"==typeof a.headers&&(a.headers=Object.entries(a.headers).reduce((e,[t,a])=>a&&"object"==typeof a?{[t]:p$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=g$t(r.parameters,t.consumes??[v$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=g$t(n.parameters,n.consumes??t.consumes??[v$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]:p$t(a),...e}:e,{})),a.schema){let e=t.produces??n.produces??[v$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??[v$t])[0]??v$t;for(let[t,r]of Object.entries(a.examples))if(l$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&&o$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:{[w$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=JNt(t,P$t),t):t}(a);return"3.1"===t?r:XNt(r)}var 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,G$t,X$t,Y$t,K$t,J$t,eIt,tIt,aIt,rIt,nIt,oIt,iIt,sIt,lIt,cIt,uIt,dIt,pIt,hIt,mIt,fIt,gIt,vIt,bIt,yIt,wIt,xIt,OIt,kIt,SIt,AIt,TIt,_It,CIt,EIt,PIt,MIt,NIt,$It,IIt,RIt,DIt,LIt,BIt,jIt,UIt,zIt,HIt,ZIt,VIt,qIt,QIt,FIt,WIt,GIt,XIt,YIt,KIt,JIt,eRt,tRt,aRt,rRt,nRt,oRt,iRt,sRt,lRt,cRt,uRt,dRt,pRt,hRt,mRt,fRt,gRt,vRt,bRt,yRt,wRt,xRt,ORt,kRt,SRt,ARt,TRt,_Rt,CRt,ERt,PRt,MRt,NRt,$Rt,IRt,RRt,DRt,LRt,BRt,jRt,URt,zRt,HRt,ZRt=V(()=>{KNt(),A$t(),N$t()}),VRt=V(()=>{ZRt()}),qRt=V(()=>{I$t=(e,t)=>`\`\`\`${e}\n${t.trimEnd()}\n\`\`\``,R$t=(e,t)=>`@example\n${I$t(e,t)}`,D$t=e=>`\`${e}\``,L$t=(...e)=>e.join("\n\n"),B$t=(e,t)=>L$t(e,R$t(t.language,t.body))}),QRt=V(()=>{J(),qRt(),j$t=x({"x-internal":S(m({typeComment:"When true, hides the entity from public documentation"}))},{typeName:"XInternal",typeComment:B$t("Marks an entity as internal (hidden from external consumers).",{language:"yaml",body:"x-internal: true"})})}),FRt=V(()=>{J(),qRt(),U$t=x({"x-original-aas-version":S(h({typeComment:"Original AsyncAPI Specification version the document was loaded with."}))},{typeName:"XOriginalAasVersion",typeComment:B$t("Original AsyncAPI Specification version of the source document before ingestion.",{language:"yaml",body:'x-original-aas-version: "3.0.0"'})})}),WRt=V(()=>{J(),qRt(),z$t=x({"x-scalar-ignore":S(m({typeComment:"When true, the entity is hidden or ignored in the UI"}))},{typeName:"XScalarIgnore",typeComment:B$t("Internal extension to mark an entity as ignored in the Scalar UI.",{language:"yaml",body:"x-scalar-ignore: true"})})}),GRt=V(()=>{J(),qRt(),H$t=x({"x-scalar-is-dirty":S(m({typeComment:"When true, the document has unsaved changes"}))},{typeName:"XScalarIsDirty",typeComment:B$t("Tracks whether the document has been modified since it was last saved.",{language:"yaml",body:"x-scalar-is-dirty: true"})})}),XRt=V(()=>{J(),Z$t=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."})}),YRt=V(()=>{J(),qRt(),V$t=x({"x-scalar-original-document-hash":h({typeComment:"Hash of the document as originally loaded from an external source"})},{typeName:"XScalarOriginalDocumentHash",typeComment:B$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"'})})}),KRt=V(()=>{J(),qRt(),q$t=x({"x-scalar-original-source-url":S(h({typeComment:"Original document source URL when loaded from an external source"}))},{typeName:"XScalarOriginalSourceUrl",typeComment:B$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"})})}),JRt=V(()=>{J(),qRt(),Q$t=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"}),F$t=x({"x-scalar-registry-meta":S(Q$t)},{typeName:"XScalarRegistryMeta",typeComment:B$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"'})})}),eDt=V(()=>{J(),qRt(),W$t=x({"x-scalar-watch-mode":S(m({typeComment:"When true, the document is watched for external file changes"}))},{typeName:"XScalarWatchMode",typeComment:B$t("Whether the document is in watch mode (reloads when the source file changes).",{language:"yaml",body:"x-scalar-watch-mode: true"})})}),tDt=V(()=>{J(),qRt(),G$t=x({"x-tags":S(y(h(),{typeComment:"Ordered list of tag names for this schema object"}))},{typeName:"XTags",typeComment:B$t("Custom tag ordering hints for schema objects in the sidebar.",{language:"yaml",body:"x-tags:\n  - users\n  - admin"})})}),aDt=V(()=>{QRt(),FRt(),J(),qRt(),WRt(),GRt(),XRt(),YRt(),KRt(),JRt(),eDt(),tDt()}),rDt=V(()=>{J(),qRt(),X$t=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:B$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"})})}),nDt=V(()=>{rDt()}),oDt=V(()=>{J(),qRt(),Y$t=x({"x-additionalPropertiesName":S(h({typeComment:"Human-readable label for additional properties on this schema"}))},{typeName:"XAdditionalPropertiesName",typeComment:B$t("Display name for additional properties on a schema object.",{language:"yaml",body:"x-additionalPropertiesName: metadata"})})}),iDt=V(()=>{J(),qRt(),K$t=O([w(h(),h()),y(h())]),J$t=x({"x-enumDescriptions":S(K$t,{typeComment:"Map or list of descriptions keyed by enum value (camelCase spelling)"}),"x-enum-descriptions":S(K$t,{typeComment:"Map or list of descriptions keyed by enum value (kebab-case spelling)"})},{typeName:"XEnumDescriptions",typeComment:B$t("Descriptions for enum values. Keys must match enum values.",{language:"yaml",body:"x-enumDescriptions:\n  other: Other reason"})})}),sDt=V(()=>{J(),qRt(),eIt=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:B$t(`Display names for enum values. Must match the order of the ${D$t("enum")} array.`,{language:"yaml",body:"enum: [moon, asteroid]\nx-enum-varnames: [Moon, Asteroid]"})})}),lDt=V(()=>{J(),qRt(),tIt=x({"x-examples":S(w(h(),g(),{typeComment:"Map of example name to example value"}))},{typeName:"XExamples",typeComment:B$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"})})}),cDt=V(()=>{J(),qRt(),aIt=x({"x-variable":S(h({typeComment:"Variable name used for substitution in the API client"}))},{typeName:"XVariable",typeComment:B$t("References a variable for schema property substitution in the API client.",{language:"yaml",body:"x-variable: userId"})})}),uDt=V(()=>{oDt(),iDt(),sDt(),lDt(),cDt()}),dDt=V(()=>{J(),rIt=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(w(h(),h(),{typeComment:"An object to hold mappings between payload values and schema names or URI references."}))},{typeName:"DiscriminatorObject"})}),pDt=V(()=>{J(),nIt=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"})}),hDt=V(()=>{J(),oIt=x({$status:S(O([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"})}),mDt=V(()=>{J(),iIt=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"}),sIt=e=>O([iIt,e])}),fDt=V(()=>{J(),lIt=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"})}),gDt=V(()=>{J(),aDt(),uDt(),dDt(),pDt(),mDt(),fDt(),cIt=[z$t,j$t,aIt,tIt,J$t,eIt,Y$t,G$t],uIt=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(sIt(T(()=>OIt))),deprecated:S(m({typeComment:"Whether the schema is deprecated."})),discriminator:S(rIt),readOnly:S(m({typeComment:"Whether the schema is read-only."})),writeOnly:S(m({typeComment:"Whether the schema is write-only."})),xml:S(lIt),externalDocs:S(nIt),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(sIt(T(()=>OIt)),{typeName:"SchemaObjectAllOf"})),oneOf:S(y(sIt(T(()=>OIt)),{typeName:"SchemaObjectOneOf"})),anyOf:S(y(sIt(T(()=>OIt)),{typeName:"SchemaObjectAnyOf"})),not:S(sIt(T(()=>OIt)))}),dIt=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)."}))}),pIt=k([x({type:O([A("number"),A("integer")]),format:S(h({typeComment:"Different subtypes."}))}),dIt],{typeName:"NumberSchemaObject"}),hIt=x({maxLength:S(p({typeComment:"Maximum string length."})),minLength:S(p({typeComment:"Minimum string length."})),pattern:S(h({typeComment:"Regular expression pattern."}))}),mIt=k([x({type:A("string"),format:S(h({typeComment:"Different subtypes."}))}),hIt],{typeName:"StringSchemaObject"}),fIt=x({maxProperties:S(p({typeComment:"Maximum number of properties."})),minProperties:S(p({typeComment:"Minimum number of properties."})),properties:S(w(h(),sIt(T(()=>OIt)),{typeName:"SchemaObjectProperties"})),required:S(y(h(),{typeName:"SchemaObjectRequired"})),additionalProperties:S(O([sIt(T(()=>OIt)),x({}),m()],{typeName:"SchemaObjectAdditionalProperties"})),patternProperties:S(w(h(),sIt(T(()=>OIt)),{typeName:"SchemaObjectPatternProperties"})),propertyNames:S(sIt(T(()=>OIt)))}),gIt=k([x({type:A("object")}),fIt],{typeName:"ObjectSchemaObject"}),vIt=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(sIt(T(()=>OIt))),prefixItems:S(y(sIt(T(()=>OIt)),{typeComment:"Schema for tuple validation."}))}),bIt=k([x({type:A("array")}),vIt],{typeName:"ArraySchemaObject"}),yIt=O([A("null"),A("boolean"),A("string"),A("number"),A("integer"),A("object"),A("array")],{typeName:"SchemaObjectMultiTypeKeywords"}),wIt=x({type:O([A("null"),A("boolean")],{typeName:"SchemaObjectOtherTypeKeyword"})}),xIt=k([x({type:y(yIt,{typeName:"SchemaObjectMultiTypeKeywordArray"}),format:S(h({typeComment:"Different subtypes."}))}),dIt,hIt,vIt,fIt],{typeName:"MultiTypeSchemaObject"}),OIt=k([uIt,...cIt,O([wIt,pIt,mIt,gIt,bIt,xIt,x({})])],{typeName:"SchemaObject"})}),vDt=V(()=>{J_(),J(),hDt(),kIt=x({$ref:h({typeComment:"REQUIRED. The reference string."})},{typeName:"AsyncApiReferenceObject",typeComment:"JSON Reference for AsyncAPI components."}),SIt=e=>z_(e)&&"$ref"in e?SIt(e["$ref-value"]):e,AIt=e=>k([kIt,x({"$ref-value":S(_(SIt,e))}),oIt]),TIt=e=>O([e,AIt(e)])}),bDt=V(()=>{J(),gDt(),vDt(),_It=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"}),CIt=O([A(!0),A(!1),OIt],{typeName:"AsyncApiSchemaJsonShape"}),EIt=TIt(CIt),PIt=TIt(O([_It,CIt],{typeName:"AsyncApiMultiFormatSchemaOrSchemaObject"}))}),yDt=V(()=>{J(),bDt(),MIt=x({method:S(O([A("GET"),A("POST")],{typeComment:"HTTP method used when establishing the WebSocket connection (typically GET)."})),query:S(EIt,{typeComment:"Schema Object describing WebSocket handshake query parameters (type object with properties). May be a Reference Object."}),headers:S(EIt,{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."})}),wDt=V(()=>{J(),yDt(),NIt=["http","ws","kafka","anypointmq","amqp","amqp1","mqtt","mqtt5","nats","jms","sns","solace","sqs","stomp","redis","mercure","ibmmq","googlepubsub","pulsar","ros2"],$It=()=>S(v({typeComment:"Protocol-specific binding definition (see AsyncAPI protocol bindings)."})),IIt=()=>{let e={};for(let t of NIt)e[t]="ws"===t?S(MIt):$It();return e},RIt=(e,t)=>x(IIt(),{typeName:e,typeComment:t}),DIt=RIt("AsyncApiServerBindingsObject","Map describing protocol-specific definitions for a server (AsyncAPI 3.1.0)."),LIt=RIt("AsyncApiChannelBindingsObject","Map describing protocol-specific definitions for a channel (AsyncAPI 3.1.0)."),BIt=RIt("AsyncApiOperationBindingsObject","Map describing protocol-specific definitions for an operation (AsyncAPI 3.1.0)."),jIt=RIt("AsyncApiMessageBindingsObject","Map describing protocol-specific definitions for a message (AsyncAPI 3.1.0).")}),xDt=V(()=>{J(),vDt(),UIt=TIt(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"}))}),ODt=V(()=>{J(),vDt(),zIt=TIt(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"}))}),kDt=V(()=>{J(),HIt=x({headers:S(w(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"})}),SDt=V(()=>{J(),xDt(),vDt(),ZIt=TIt(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(UIt)},{typeName:"AsyncApiTagObject"})),VIt=y(ZIt,{typeName:"AsyncApiTagsObject",typeComment:"A list of Tag Objects (entries MAY be Reference Objects)."})}),ADt=V(()=>{J(),wDt(),ODt(),xDt(),kDt(),vDt(),bDt(),SDt(),qIt=TIt(x({headers:S(PIt),correlationId:S(zIt),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(VIt),externalDocs:S(UIt),bindings:S(TIt(jIt)),examples:S(y(TIt(HIt)))},{typeName:"AsyncApiMessageTraitObject"}))}),TDt=V(()=>{J(),wDt(),ODt(),xDt(),kDt(),ADt(),vDt(),bDt(),SDt(),QIt=T(()=>TIt(x({headers:S(PIt),payload:S(PIt),correlationId:S(zIt),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(VIt),externalDocs:S(UIt),bindings:S(TIt(jIt)),examples:S(y(TIt(HIt))),traits:S(y(qIt))},{typeName:"AsyncApiMessageObject"}))),FIt=w(h(),QIt,{typeName:"AsyncApiMessagesObject",typeComment:"Map of messageId to Message Object or Reference Object."})}),_Dt=V(()=>{J(),vDt(),WIt=TIt(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"}))}),CDt=V(()=>{J(),_Dt(),GIt=w(h(),WIt,{typeName:"AsyncApiParametersObject",typeComment:"Map of parameter name to Parameter Object or Reference Object."})}),EDt=V(()=>{J(),vDt(),XIt=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(w(h(),h(),{typeComment:"REQUIRED for OAuth2 flows. Map of scope name to a short description."}))},{typeName:"AsyncApiOAuthFlowObject"}),YIt=x({implicit:S(TIt(XIt)),password:S(TIt(XIt)),clientCredentials:S(TIt(XIt)),authorizationCode:S(TIt(XIt))},{typeName:"AsyncApiOAuthFlowsObject"})}),PDt=V(()=>{J(),EDt(),vDt(),KIt=TIt(x({type:O([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(O([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(TIt(YIt)),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"}))}),MDt=V(()=>{J(),vDt(),JIt=TIt(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"}))}),NDt=V(()=>{J(),wDt(),xDt(),vDt(),PDt(),MDt(),SDt(),eRt=TIt(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(w(h(),JIt,{typeComment:"Map between a variable name and its Server Variable Object or Reference Object."})),security:S(y(KIt,{typeComment:"Alternative security schemes for this server; only one of the security scheme objects need to be satisfied."})),tags:S(VIt),externalDocs:S(UIt),bindings:S(TIt(DIt))},{typeName:"AsyncApiServerObject"})),tRt=w(h(),eRt,{typeName:"AsyncApiServersObject",typeComment:"Map of server name to Server Object or Reference Object."})}),$Dt=V(()=>{J(),wDt(),xDt(),TDt(),CDt(),vDt(),NDt(),SDt(),aRt=T(()=>x({address:S(O([h(),f()],{typeComment:"Channel address or null when unknown."})),messages:S(FIt),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(AIt(eRt),{typeComment:"References to Server definitions where this channel is available (Reference Objects only in the raw document)."})),parameters:S(GIt),tags:S(VIt),externalDocs:S(UIt),bindings:S(TIt(LIt))},{typeName:"AsyncApiChannelObject"})),rRt=w(h(),TIt(aRt),{typeName:"AsyncApiChannelsObject",typeComment:"Map of channelId to Channel Object or Reference Object."})}),IDt=V(()=>{J(),vDt(),nRt=TIt(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"}))}),RDt=V(()=>{J(),$Dt(),TDt(),IDt(),vDt(),oRt=T(()=>TIt(x({address:S(nRt),channel:S(AIt(aRt)),messages:S(y(AIt(QIt),{typeComment:"List of $ref pointers to Message Objects used as reply payloads (Reference Objects only in the raw document)."}))},{typeName:"AsyncApiOperationReplyObject"})))}),DDt=V(()=>{J(),wDt(),xDt(),vDt(),PDt(),SDt(),iRt=TIt(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(KIt,{typeComment:"Security schemes for this operation. Only one of the security scheme objects MUST be satisfied."})),tags:S(VIt),externalDocs:S(UIt),bindings:S(TIt(BIt))},{typeName:"AsyncApiOperationTraitObject"}))}),LDt=V(()=>{J(),wDt(),$Dt(),xDt(),TDt(),RDt(),DDt(),vDt(),PDt(),SDt(),sRt=T(()=>TIt(x({action:O([A("send"),A("receive")],{typeComment:"REQUIRED. send when the application sends to the channel; receive when it receives from the channel."}),channel:AIt(aRt),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(KIt,{typeComment:"Security schemes for this operation. Only one of the security scheme objects MUST be satisfied."})),tags:S(VIt),externalDocs:S(UIt),bindings:S(TIt(BIt)),traits:S(y(iRt)),messages:S(y(AIt(QIt),{typeComment:"Subset of channel messages as Reference Objects only. Omit to include all channel messages; use [] for none."})),reply:S(oRt)},{typeName:"AsyncApiOperationObject"}))),lRt=w(h(),sRt,{typeName:"AsyncApiOperationsObject",typeComment:"Map of operationId to Operation Object or Reference Object."})}),BDt=V(()=>{J(),wDt(),$Dt(),ODt(),xDt(),TDt(),ADt(),LDt(),RDt(),IDt(),DDt(),_Dt(),vDt(),bDt(),PDt(),NDt(),MDt(),SDt(),cRt=T(()=>x({schemas:S(w(h(),PIt,{typeComment:"Reusable Multi Format Schema, Schema Object, or Reference Object."})),servers:S(w(h(),eRt)),channels:S(rRt),operations:S(w(h(),sRt)),messages:S(w(h(),QIt)),securitySchemes:S(w(h(),KIt)),serverVariables:S(w(h(),JIt)),parameters:S(w(h(),WIt)),correlationIds:S(w(h(),zIt)),replies:S(w(h(),oRt)),replyAddresses:S(w(h(),nRt)),externalDocs:S(w(h(),UIt)),tags:S(w(h(),ZIt)),operationTraits:S(w(h(),iRt)),messageTraits:S(w(h(),qIt)),serverBindings:S(w(h(),TIt(DIt))),channelBindings:S(w(h(),TIt(LIt))),operationBindings:S(w(h(),TIt(BIt))),messageBindings:S(w(h(),TIt(jIt)))},{typeName:"AsyncApiComponentsObject",typeComment:"Reusable objects. Definitions here have no effect unless referenced from outside components."}))}),jDt=V(()=>{J(),uRt=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"})}),UDt=V(()=>{J(),vDt(),dRt=TIt(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"}))}),zDt=V(()=>{J(),jDt(),xDt(),UDt(),SDt(),pRt=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(uRt),license:S(dRt),tags:S(VIt),externalDocs:S(UIt)},{typeName:"AsyncApiInfoObject"})}),HDt=V(()=>{J(),aDt(),nDt(),$Dt(),BDt(),zDt(),LDt(),vDt(),NDt(),hRt=k([U$t,Z$t,q$t,V$t,H$t,W$t,F$t,X$t],{typeName:"AsyncApiExtensions",typeComment:"AsyncAPI document-level Scalar extensions shared with workspace tooling."}),mRt=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:pRt,servers:S(tRt),defaultContentType:S(h({typeComment:"Default content type when encoding/decoding a message payload (for example application/json)."})),channels:S(rRt),operations:S(lRt),components:S(TIt(cRt))},{typeName:"AsyncApiDocumentCore",typeComment:"Root AsyncAPI 3.1.0 document combining resource listing and API declaration."}),fRt=k([mRt,hRt],{typeName:"AsyncApiObject",typeComment:"Root AsyncAPI 3.1.0 document including Scalar workspace extensions (AsyncApiExtensionsSchema)."})}),ZDt=V(()=>{HDt(),wDt(),$Dt(),BDt(),jDt(),ODt(),xDt(),zDt(),UDt(),TDt(),kDt(),ADt(),EDt(),LDt(),RDt(),IDt(),DDt(),_Dt(),CDt(),vDt(),bDt(),PDt(),NDt(),MDt(),SDt(),yDt()}),VDt=V(()=>{EB(),gRt=OB.Object({name:OB.String(),value:OB.String()}),vRt=OB.Object({url:OB.String(),method:OB.String(),httpVersion:OB.String(),headers:OB.Array(gRt),cookies:OB.Array(gRt),headersSize:OB.Number(),queryString:OB.Array(gRt),bodySize:OB.Number(),postData:OB.Optional(OB.Union([OB.Object({mimeType:OB.String(),text:OB.String()}),OB.Object({mimeType:OB.String(),params:OB.Array(OB.Object({name:OB.String(),value:OB.Optional(OB.String())}))})]))}),bRt=OB.Object({status:OB.Number(),statusText:OB.String(),headers:OB.Array(gRt),cookies:OB.Array(gRt),httpVersion:OB.String(),redirectURL:OB.String(),headersSize:OB.Number(),bodySize:OB.Number(),content:OB.Object({size:OB.Number(),mimeType:OB.String(),encoding:OB.Optional(OB.String()),text:OB.Optional(OB.String())})}),yRt=OB.Object({time:OB.Number(),timestamp:OB.Number(),request:vRt,response:bRt,meta:OB.Object({example:OB.String()}),requestMetadata:OB.Object({variables:OB.Record(OB.String(),OB.String())})}),wRt=OB.Record(OB.String(),OB.Record(OB.String(),OB.Array(yRt))),xRt=OB.Record(OB.String(),wRt)}),qDt=V(()=>{Bc(),VDt(),Fht(),BC(),Bq(),ORt=({hooks:e})=>{let t=Pa({});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]=_C(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=jj(xRt,a);aht(t,r),Object.keys(r).forEach(t=>{e?.onHistoryChange?.(t)})},export:()=>_C(t)}}}),QDt=V(()=>{MY(),kRt=e=>e.fetch?e.fetch:(t,a)=>fetch(CF(e.proxyUrl,t.toString()),a)}),FDt=V(()=>{lrt(),oNt(),SRt=(e,t)=>{if(e&&"object"==typeof e&&"$ref"in e&&"string"==typeof e.$ref&&e.$ref.startsWith("#")){let a=nNt(e.$ref.slice(1));return SRt(qat(t.rootNode,a),t)}return e}}),WDt=V(()=>{tQ(),J_(),Fht(),R9e(),FDt(),ARt=()=>({type:"lifecycle",onResolveStart:e=>{e.$status="loading"},onResolveError:e=>{e.$status="error"},onResolveSuccess:e=>{delete e.$status}}),TRt=()=>({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)}}),_Rt=()=>({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)}}}),CRt=()=>({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)}}),ERt=()=>({type:"lifecycle",onAfterNodeProcess:(e,t)=>{let{path:a}=t;if(3===a.length&&"components"===a[0]&&"securitySchemes"===a[1]){let a=SRt(e,t);"object"==typeof a&&a&&"scheme"in a&&"string"==typeof a.scheme&&a.scheme.toLowerCase()!==a.scheme&&(a.scheme=a.scheme.toLowerCase())}}}),PRt=()=>({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","$id","$anchor","$dynamicAnchor","$dynamicRef","$defs"]);Object.keys(e).forEach(a=>{t.has(a)||delete e[a]})}}}),MRt=()=>({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 _U){let n=SRt(e[a],t);if(!z_(n))continue;let o=e=>{let a=SRt(e,t);return z_(a)&&"name"in a&&"string"==typeof a.name&&"in"in a&&"string"==typeof a.in},i=e=>{let a=SRt(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=>SRt(e,t)).filter(i).map(e=>e.name)),c=("parameters"in e&&Array.isArray(e.parameters)?e.parameters:[]).filter(e=>{let a=SRt(e,t);if(!i(a))return!1;let r=!l.has(a.name);return r&&l.add(a.name),r}),u=m9e(r,r,[...s,...c],e=>SRt(e,t));u.length>0&&(n.parameters=u)}}}),NRt=["__scalar_","$status"],$Rt=()=>({type:"lifecycle",onBeforeNodeProcess:e=>{if(z_(e))for(let t of NRt)t in e&&delete e[t]}})}),GDt=V(()=>{J(),jq(),PQ(),Uq(),zq(),Hq(),wQ(),Zq(),mQ(),Vq(),qq(),Qq(),fQ(),Fq(),qQ(),uQ(),Wq(),Gq(),Xq(),Yq(),Kq(),MQ(),NQ(),$Q(),IQ(),zQ(),RQ(),LQ(),QQ(),FQ(),WQ(),GQ(),xQ(),XQ(),JQ(),OQ(),kQ(),SQ(),AQ(),TQ(),_Q(),Jq(),rF(),eQ(),IRt=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"}),RRt=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"}),DRt=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(w(h(),h(),{typeComment:"An object to hold mappings between payload values and schema names or URI references."}))},{typeName:"DiscriminatorObject"}),LRt=e=>{let t=[Fz,TH,TZ,SZ,wZ,OZ,vZ,Gz,fZ],a=x({name:S(h({typeComment:"Schema name (extension)."})),$id:S(h({typeComment:"JSON Schema 2020-12 schema identifier."})),$anchor:S(h({typeComment:"JSON Schema 2020-12 plain-name anchor."})),$dynamicAnchor:S(h({typeComment:"JSON Schema 2020-12 dynamic anchor; the target a matching `$dynamicRef` resolves to."})),$dynamicRef:S(h({typeComment:"JSON Schema 2020-12 dynamic reference, resolved against the active `$dynamicAnchor`."})),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(T(()=>_))),deprecated:S(m({typeComment:"Whether the schema is deprecated."})),discriminator:S(DRt),readOnly:S(m({typeComment:"Whether the schema is read-only."})),writeOnly:S(m({typeComment:"Whether the schema is write-only."})),xml:S(RRt),externalDocs:S(IRt),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(T(()=>_)),{typeName:"SchemaObjectAllOf"})),oneOf:S(y(e(T(()=>_)),{typeName:"SchemaObjectOneOf"})),anyOf:S(y(e(T(()=>_)),{typeName:"SchemaObjectAnyOf"})),not:S(e(T(()=>_)))}),r=x({__scalar_:h({typeComment:"Internal marker for schema object disambiguation."})}),n=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)."}))}),o=k([x({type:O([A("number"),A("integer")]),format:S(h({typeComment:"Different subtypes."}))}),n],{typeName:"NumberSchemaObject"}),i=x({maxLength:S(p({typeComment:"Maximum string length."})),minLength:S(p({typeComment:"Minimum string length."})),pattern:S(h({typeComment:"Regular expression pattern."}))}),s=k([x({type:A("string"),format:S(h({typeComment:"Different subtypes."}))}),i],{typeName:"StringSchemaObject"}),l=x({maxProperties:S(p({typeComment:"Maximum number of properties."})),minProperties:S(p({typeComment:"Minimum number of properties."})),properties:S(w(h(),e(T(()=>_)),{typeName:"SchemaObjectProperties"})),required:S(y(h(),{typeName:"SchemaObjectRequired"})),additionalProperties:S(O([m(),e(T(()=>_))],{typeName:"SchemaObjectAdditionalProperties"})),patternProperties:S(w(h(),e(T(()=>_)),{typeName:"SchemaObjectPatternProperties"})),propertyNames:S(e(T(()=>_)))}),c=k([x({type:A("object")}),l],{typeName:"ObjectSchemaObject"}),u=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(T(()=>_))),prefixItems:S(y(e(T(()=>_)),{typeComment:"Schema for tuple validation."}))}),d=k([x({type:A("array")}),u],{typeName:"ArraySchemaObject"}),f=O([A("null"),A("boolean"),A("string"),A("number"),A("integer"),A("object"),A("array")],{typeName:"SchemaObjectMultiTypeKeywords"}),v=x({type:O([A("null"),A("boolean")],{typeName:"SchemaObjectOtherTypeKeyword"})}),b=k([x({type:y(f,{typeName:"SchemaObjectMultiTypeKeywordArray"}),format:S(h({typeComment:"Different subtypes."}))}),n,i,u,l],{typeName:"MultiTypeSchemaObject"}),_=k([a,...t,O([r,v,o,s,c,d,b])],{typeName:"SchemaObject"});return _},BRt=(e,t={})=>{let a=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"}),r=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"}),n=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(a),license:S(r)},{typeName:"InfoObject"}),zz,Lz]),o=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"}),i=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(w(h(),o,{typeComment:"A map between a variable name and its value. The value is used for substitution in the server's URL template."}))},{typeName:"ServerObject"}),s=t.schemaObject??LRt(e),l=k([x({name:h({typeComment:"REQUIRED. The name of the tag."}),summary:S(h({typeComment:"A short summary of the tag, used for display purposes. (OpenAPI 3.2)"})),description:S(h({typeComment:"A description for the tag. CommonMark syntax MAY be used for rich text representation."})),parent:S(h({typeComment:"The name of a tag that this tag is nested under. The named tag MUST exist in the API description, and circular references MUST NOT be used. (OpenAPI 3.2)"})),kind:S(h({typeComment:"A machine-readable string to categorize what sort of tag it is, for example `nav`, `badge` or `audience`. (OpenAPI 3.2)"})),externalDocs:S(IRt)},{typeName:"TagObject"}),eV,TH,Fz,wU]),c=w(h(),y(h()),{typeName:"SecurityRequirementObject",typeComment:"Lists the required security schemes to execute this operation. An empty object ({}) indicates anonymous access is supported."}),u=x({description:S(h({typeComment:"A description for security scheme. CommonMark syntax MAY be used for rich text representation."}))}),d=x({...u.properties,type:A("apiKey"),name:h({typeComment:"REQUIRED. The name of the header, query or cookie parameter to be used."}),in:O([A("query"),A("header"),A("cookie")],{typeComment:'REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie".'})},{typeName:"ApiKeySecuritySchemeObject"}),p=x({...u.properties,type:A("http"),scheme:O([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"}),f=[tH,Jz,gH,oH,sH],v=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:w(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"}),b=k([v,...f,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"})]),_=k([v,...f,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"}),Yz]),C=k([v,...f,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"}),Yz]),E=k([v,...f,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"}),bH,Yz]),P=x({implicit:S(b),password:S(_),clientCredentials:S(C),authorizationCode:S(E)},{typeName:"OAuthFlowsObject"}),M=O([d,p,k([x({...u.properties,type:A("oauth2"),flows:P},{typeName:"OAuth2SecuritySchemeObject"}),VZ]),x({...u.properties,type:A("openIdConnect"),openIdConnectUrl:h({typeComment:"REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata."})},{typeName:"OpenIdConnectSecuritySchemeObject"})],{typeName:"SecuritySchemeObject"}),N=x({schemas:S(w(h(),e(s),{typeName:"ComponentsSchemas"})),responses:S(w(h(),e(T(()=>z)),{typeName:"ComponentsResponses"})),parameters:S(w(h(),e(T(()=>B)),{typeName:"ComponentsParameters"})),examples:S(w(h(),e(T(()=>$)),{typeName:"ComponentsExamples"})),requestBodies:S(w(h(),e(T(()=>j)),{typeName:"ComponentsRequestBodies"})),headers:S(w(h(),e(T(()=>R)),{typeName:"ComponentsHeaders"})),securitySchemes:S(w(h(),e(T(()=>M)),{typeName:"ComponentsSecuritySchemes"})),links:S(w(h(),e(T(()=>U)),{typeName:"ComponentsLinks"})),callbacks:S(w(h(),e(T(()=>Z)),{typeName:"ComponentsCallbacks"})),pathItems:S(w(h(),T(()=>q),{typeName:"ComponentsPathItems"}))},{typeName:"ComponentsObject"}),$=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"}),Cz]),I=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"}),R=O([k([I,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(T(()=>s))),example:S(g()),examples:S(w(h(),e(T(()=>$)),{typeName:"HeaderExamples"}))},{typeName:"HeaderObjectWithSchema"})]),k([I,x({content:S(w(h(),T(()=>L),{typeName:"HeaderContent"}))},{typeName:"HeaderObjectWithContent"})])],{typeName:"HeaderObject"}),D=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(w(h(),e(T(()=>R)),{typeName:"EncodingHeaders"}))},{typeName:"EncodingObject"}),L=x({schema:S(e(T(()=>s))),example:S(g({typeComment:"Example of the media type."})),examples:S(w(h(),e(T(()=>$)),{typeName:"MediaTypeExamples"})),encoding:S(w(h(),D,{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"}),B=O([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:O([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(T(()=>s))),example:S(g()),examples:S(w(h(),e(T(()=>$)),{typeName:"ParameterExamples"}))},{typeName:"ParameterObjectWithSchema"}),aZ,TH,Fz]),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:O([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(w(h(),T(()=>L),{typeName:"ParameterContent"}))},{typeName:"ParameterObjectWithContent"}),aZ,TH,Fz])],{typeName:"ParameterObject"}),j=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:w(h(),T(()=>L),{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"}),uZ]),U=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(w(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(i)},{typeName:"LinkObject"}),z=x({description:h({typeComment:"REQUIRED. A description of the response. CommonMark syntax MAY be used for rich text representation."}),headers:S(w(h(),e(T(()=>R)),{typeName:"ResponseHeaders"})),content:S(w(h(),T(()=>L),{typeName:"ResponseContent"})),links:S(w(h(),e(T(()=>U)),{typeName:"ResponseLinks"}))},{typeName:"ResponseObject"}),H=w(h(),e(T(()=>z)),{typeName:"ResponsesObject"}),Z=w(h(),e(T(()=>q)),{typeName:"CallbackObject"}),V=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(IRt),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(T(()=>B)),{typeName:"OperationParameters"})),requestBody:S(e(T(()=>j))),responses:S(T(()=>H)),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(c,{typeName:"OperationSecurity"})),servers:S(y(i,{typeName:"OperationServers"})),callbacks:S(w(h(),e(T(()=>Z)),{typeName:"OperationCallbacks"}))},{typeName:"OperationObject"}),PH,TH,Fz,zH,JH,XH,uU,pU,ZH,OU]),q=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(T(()=>V))),put:S(e(T(()=>V))),post:S(e(T(()=>V))),delete:S(e(T(()=>V))),patch:S(e(T(()=>V))),connect:S(e(T(()=>V))),options:S(e(T(()=>V))),head:S(e(T(()=>V))),trace:S(e(T(()=>V))),servers:S(y(i,{typeName:"PathItemServers"})),parameters:S(y(e(T(()=>B)),{typeName:"PathItemParameters"}))},{typeName:"PathItemObject"}),Q=x({"x-original-oas-version":S(h({typeComment:"Original OpenAPI Specification version of the source document."})),[Uj.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:n,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(i,{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(w(h(),q,{typeComment:"The available paths and operations for the API.",typeName:"PathsObject"})),webhooks:S(w(h(),q,{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(N),security:S(y(c,{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(l,{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(IRt)},{typeName:"OpenApiDocumentCore"}),Q,aU,TU,Wj,OU,Xj,wU,bU,eU,Kj,mU,lU,iU,Hj,pU,uU],{typeName:"OpenApiDocument",typeComment:"Root OpenAPI 3.1 document including Scalar workspace extensions (OpenApiExtensionsSchema)."})}}),XDt=V(()=>{J_(),J(),jRt=x({$status:S(O([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"}),URt=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"}),zRt=e=>z_(e)&&"$ref"in e?zRt(e["$ref-value"]):e,HRt=e=>O([e,k([URt,x({"$ref-value":_(zRt,e)}),jRt])])});function YDt(e){if("url"in e)return PNt({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 KDt,JDt,eLt,tLt,aLt,rLt=V(()=>{hMt(),lrt(),J_(),GY(),Cnt(),mMt(),kNt(),HNt(),WNt(),xC(),VRt(),ZDt(),Lq(),J(),Bc(),HKe(),Wht(),qDt(),hK(),OC(),Fht(),QDt(),mK(),LC(),BC(),rat(),WDt(),jq(),aK(),GDt(),XDt(),iF(),$at(),KDt=e=>"url"in e?e.url:"path"in e?e.path:void 0,JDt=BRt(HRt),eLt=new Set(["x-scalar-is-dirty","x-scalar-registry-meta"]),tLt=e=>{let t=vY(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},aLt=e=>{let{verbose:t=!1}=e??{},a=(e,a)=>t?uMt(e,a):a(),r=(e,a)=>t?dMt(e,a):a(),n={},o=t=>{e?.plugins?.forEach(e=>e.hooks?.onWorkspaceStateChanges?.(t))},i=Pa(vC({...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:_C(a),path:e.slice(2)};return r.path.length>0&&!eLt.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:_C(a),path:e.slice(2)};return r.path.length>0&&!eLt.has(r.path[0])&&(a["x-scalar-is-dirty"]=!0),void o(r)}let{activeDocument:a,documents:r,...n}=i,s={type:"meta",value:_C(n,{depth:1})};o(s)}}})),{originalDocuments:s,intermediateDocuments:l,overrides:c}=vC({originalDocuments:{},intermediateDocuments:{},overrides:{}},{hooks:{onAfterChange(e){let t=e[0];if(!t||e.length<2)return;let a=e[1];if("originalDocuments"===t){let r={type:t,documentName:a,value:_C(s[a]??{}),path:e.splice(2)};o(r)}if("intermediateDocuments"===t){let r={type:t,documentName:a,value:_C(l[a]??{}),path:e.splice(2)};o(r)}if("overrides"===t){let e={type:t,documentName:a,value:_C(c[a]??{})};o(e)}}}}),u=ORt({hooks:{onHistoryChange:e=>{o({type:"history",documentName:e,value:u.export()[e]??{}})}}}),p=rht({hooks:{onAuthChange:e=>{o({type:"auth",documentName:e,value:p.export()[e]??{secrets:{},selected:{document:{selectedIndex:0,selectedSchemes:[]},path:{}}}})}}});function h(){return i[Uj.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):BYe.stringify(r)}async function f(t,o){let{name:u}=t,p=vY(t.meta),h=a("deepClone",()=>vY(t.document));a("initialize",()=>{!1!==t.initialize&&(s[u]=vY(h),l[u]=vY(h),c[u]=t.overrides??{},n[u]={fetch:t.fetch})});let m=[PNt({fetch:n[u]?.fetch??e?.fetch,limit:10})];if(e?.fileLoader&&m.push(e.fileLoader),FX(h)){let e=h.asyncapi,n=hC({...a("upgrade",()=>function(e){return rMt(VPt(LPt(e)))}(vY(h))),...p,"x-original-aas-version":e,"x-scalar-original-document-hash":t.documentHash,"x-scalar-original-source-url":t.documentSource});await r("bundle",async()=>await bNt(lC(n),{treeShake:!1,plugins:m,urlMap:!0,origin:t.documentSource}));let s=a("coerceValue",()=>d(fRt,vY(lC(n))));if(a("mergeObjects",()=>bY(n,s)),void 0===n[Uj.document.navigation]){let e=$et(u,n,o);n[Uj.document.navigation]=e}return void(i.documents[u]=AC(n,{overrides:_C(c[u])}))}let f=hC({...a("upgrade",()=>$$t(vY(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[Uj.document.navigation]){await r("bundle",async()=>await bNt(lC(f),{treeShake:!1,plugins:[...m,PRt(),TRt(),_Rt(),ERt(),MRt()],urlMap:!0,origin:t.documentSource}));let e=a("coerceValue",()=>d(JDt,vY(f)));a("mergeObjects",()=>bY(f,e))}if(!ij(iV,f)){let e=Array.from(function(...e){let t=3===e.length?hj(e[0],e[1],"",e[2]):hj(e[0],[],"",e[1]);return new gj(t)}(iV,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[Uj.document.navigation]){let e=Ket(u,f,o);f[Uj.document.navigation]=e}i.documents[u]=AC(hC(lC(f)),{overrides:_C(c[u])})}async function g(t,a){let{name:n,meta:o}=t,s=kRt({fetch:t.fetch??e?.fetch,proxyUrl:i["x-scalar-active-proxy"]??void 0}),l=await r("loadDocument",async()=>await YDt({...t,fetch:s,fileLoader:e?.fileLoader}));return await r("addDocument",async()=>l.ok?z_(l.data)?(await f({...t,document:l.data,documentSource:KDt(t),documentHash:Ort(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=_C(i.documents[e],{depth:1});if(!t)return null;let a=await bNt(vY(t),{plugins:[CRt(),$Rt()],treeShake:!1,urlMap:!0});return tLt(a)},b=new Set;return{get workspace(){return i},get history(){return u},get auth(){return p},update(e,t){EX(e),Object.assign(i,{[e]:t})},getEditableDocument:v,getOriginalDocument:e=>_C(s[e],{depth:1})||null,getIntermediateDocument:e=>_C(l[e],{depth:1})||null,updateDocument(e,t,a){let r=i.documents["active"===e?h():e];return!!r&&(EX(t),Object.assign(r,{[t]:a}),!0)},async replaceDocument(e,t){let a=_C(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=qat(t,e);return z_(a)?bNt(a,{root:t,treeShake:!1,plugins:[PNt(),ARt(),TRt()],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(!QX(t))return!1;let a=Ket(e,t);return t[Uj.document.navigation]=a,!0},saveDocument:async e=>{let t=i.documents[e],a=await v(e);return t&&a?(s[e]=a,l[e]=vY(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=_C(i.documents[e],{depth:1}),a=_C(s[e],{depth:1});!t||!a||(l[e]=vY(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}=_C(i);return{documents:{...Object.fromEntries(Object.entries(t).map(([e,t])=>[e,_C(t)]))},meta:_C(a)??{},originalDocuments:_C(s),intermediateDocuments:_C(l),overrides:_C(c),history:u.export(),auth:p.export()}},loadWorkspace(e){aht(i.documents,Object.fromEntries(Object.entries(e.documents).map(([t,a])=>[t,AC(hC(a),{overrides:e.overrides[t]})]))),aht(s,e.originalDocuments),aht(l,e.intermediateDocuments),aht(c,e.overrides),aht(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 aht(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=_C(s[a],{depth:1}),u=_C(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 YDt({...t,fetch:t.fetch??e?.fetch,fileLoader:e?.fileLoader}));if(!p.ok||!z_(p.data))return{ok:!1,type:"FETCH_FAILED",message:`Failed to fetch document '${a}': request was not successful or returned invalid data`};let h=Ort(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=$Nt(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=jNt(g,$Nt(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 NNt(vY(o),t)}return e.resolvedDocument})(),n=$Nt(m,r).length>0;s[a]=r,l[a]=vY(r);let i=QX(u),c=i?u["x-scalar-environments"]:void 0,d=i?u["x-scalar-order"]:void 0,h=r.servers,g=u.servers,v=Array.isArray(h)&&h.length>0,y=Array.isArray(g)&&g.length>0,w=FX(r)||v||!y?void 0:vY(g);await f({...t,document:{...r,[Uj.document.navigation]:void 0},documentSource:KDt(t),documentHash:Ort(p.raw),initialize:!1,meta:{...t.meta,"x-scalar-registry-meta":u["x-scalar-registry-meta"],"x-scalar-watch-mode":u["x-scalar-watch-mode"],"x-scalar-selected-server":u["x-scalar-selected-server"],...void 0===c?{}:{"x-scalar-environments":c},...void 0===d?{}:{"x-scalar-order":d},...void 0===w?{}:{servers:w},"x-scalar-is-dirty":n}})}}}}}});i7e(),rLt();var nLt={Date:!0,RegExp:!0,String:!0,Number:!0};function oLt(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)||nLt[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,oLt(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}Bc(),sJe(),ext(),Xk();var iLt={class:"asyncapi-sidebar-filter min-w-0"},sLt={class:"text-c-1 truncate"},lLt=Cn({__name:"SidebarFilter",props:{label:{},options:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){let a=e,r=t,n=il(()=>a.options.find(e=>e.id===a.modelValue)??a.options[0]);return(t,a)=>(Ho(),Qo("li",iLt,[Fs(qa(pKe),{label:e.label,modelValue:n.value,options:e.options,resize:"",teleport:"","onUpdate:modelValue":a[0]||=e=>r("update:modelValue",e.id)},{default:sn(()=>[Fs(qa(Cyt),{is:"button",class:"w-full items-center text-left"},{aside:sn(()=>[Fs(qa(of),{class:"text-c-1 ml-1 size-3 shrink-0 self-center",weight:"bold"})]),default:sn(()=>[Xo("span",sLt,Yt(n.value?.label),1)]),_:1})]),_:1},8,["label","modelValue","options"])]))}});Bc(),ext();var cLt=Cn({__name:"AsyncApiSidebarFilters",props:oo({document:{},is:{default:"li"}},{protocol:{default:""},protocolModifiers:{},server:{default:""},serverModifiers:{}}),emits:["update:protocol","update:server"],setup(e){let t=xo(e,"protocol"),a=xo(e,"server"),r=il(()=>e.document?(e=>[{id:"all",label:"All protocols"},...[...new Set(EPt(e).values())].sort((e,t)=>e.localeCompare(t)).map(e=>({id:e,label:e.toUpperCase()}))])(e.document):[]),n=il(()=>e.document?(e=>[{id:"all",label:"All servers"},...vX(e.servers??{}).map(([e,t])=>{let a=fPt(q_(t).protocol);return{id:e,label:a?`${e} (${a})`:e}})])(e.document):[]),o=il(()=>r.value.length>2),i=il(()=>n.value.length>2);return(s,l)=>o.value||i.value?(Ho(),Fo(qa(mwt),{key:0,is:e.is,class:"asyncapi-sidebar-filters"},{items:sn(()=>[o.value?(Ho(),Fo(lLt,{key:0,modelValue:t.value,"onUpdate:modelValue":l[0]||=e=>t.value=e,label:"Protocol",options:r.value},null,8,["modelValue","options"])):ai("",!0),i.value?(Ho(),Fo(lLt,{key:1,modelValue:a.value,"onUpdate:modelValue":l[1]||=e=>a.value=e,label:"Server",options:n.value},null,8,["modelValue","options"])):ai("",!0)]),default:sn(()=>[l[2]||=ei(" Filters ",-1)]),_:1},8,["is"])):ai("",!0)}});eC();var uLt=(e,t)=>!t||"all"===t||e.has(t),dLt=(e,t,a,r)=>{if("asyncapi-operation"===e.type){let n=t.operations?.[e.operationName];if(!n)return e;let{protocols:o,serverNames:i}=((e,t,a=PPt(e))=>{let r=_Pt(e,APt(e,t)?.channel??null),n=r?new Set([...r].filter(e=>a.allServerNames.has(e))):new Set(a.allServerNames),o=new Set;for(let[e,t]of a.serverProtocols)n.has(e)&&o.add(t);return{serverNames:n,protocols:o}})(t,q_(n,V_),r);return uLt(o,a.protocol)&&uLt(i,a.server)?e:null}if("asyncapi-channel"===e.type||"tag"===e.type){let n=e.children??[],o=n.flatMap(e=>{let n=dLt(e,t,a,r);return n?[n]:[]});return n.length>0&&0===o.length?null:{...e,children:o}}return e};J_();var pLt=(e,t)=>{if(!t||!z_(t))return{...e};let a={...e};for(let[e,r]of Object.entries(t)){if(void 0===r)continue;let t=a[e];a[e]=z_(t)&&z_(r)?pLt(t,r):r}return a},hLt={en:{common:{additionalProperties:"additional properties",const:"const",deprecated:"deprecated",description:"Description",discriminator:"Discriminator",enum:"enum",format:"Format",greaterThan:"greater than",httpMethod:"HTTP Method",keys:"keys",lessThan:"less than",max:"max",min:"min",maxLength:"max length",minLength:"min length",multipleOf:"multiple of",nullable:"nullable",path:"Path",propertyNames:"property names",pattern:"Pattern",copyPattern:"Copy pattern",readOnly:"read-only",required:"required",hideValues:"Hide values",showAllValues:"Show all values",type:"Type",unique:"unique",values:"values",writeOnly:"write-only"},search:{label:"Search",inputLabel:"Enter search query",open:"Open Search",placeholder:"Search...",clear:"Clear Search",keyboardShortcut:"Keyboard Shortcut:",command:"Command",control:"Control",results:"Reference Search Results",navigate:"Navigate",select:"Select",instructions:"Press up arrow / down arrow to navigate, enter to select, type to filter results",entryHeading:"Heading",entryOperation:"Operation",entryTag:"Tag",entryTagGroup:"Tag Group",entryWebhook:"Webhook"},navigation:{introduction:"Introduction",closeGroup:"Close Group",closeMenu:"Close Menu",openGroup:"Open Group",openMenu:"Open Menu",operations:"Operations",endpoints:"{name} endpoints",showAllEndpoints:"Show all {name} endpoints",sidebarFor:"Sidebar for {name}",mainContent:"API documentation for {name}",collapsed:"Collapsed",webhooks:"Webhooks",channels:"Channels"},server:{label:"Server",select:"Select a server"},info:{termsOfService:"Terms of Service"},asyncapi:{servers:"Servers",protocols:"Protocols"},clientLibraries:{heading:"Client Libraries",more:"More",selectAll:"Select from all clients"},operation:{body:"Body",cookies:"Cookies",headers:"Headers",pathParameters:"Path Parameters",queryParameters:"Query Parameters",requestBody:"Request Body",responses:"Responses",testRequest:"Test Request",webhook:"Webhook",selectedContentType:"Selected Content Type",hideHeaders:"Hide Headers",showHeaders:"Show Headers",callbacks:"Callbacks"},response:{exampleResponses:"Example Responses",noBody:"No Body",showSchema:"Show Schema",status:"Status"},schema:{example:"Example",examples:"Examples",default:"Default",schema:"Schema",emptyObject:"Empty object",showAdditionalProperties:"Show additional properties",childAttributes:"Child Attributes",hideChildAttributes:"Hide {name}",showChildAttributes:"Show {name}",forName:"for {name}",showSchemaDetails:"Show Schema Details",oneOf:"One of",anyOf:"Any of",allOf:"All of",not:"Not",unknownType:"unknown type"},download:{openapi:"Download OpenAPI Document",asyncapi:"Download AsyncAPI Document"},models:{label:"Models"},actions:{copyLink:"Copy link",copyLinkTo:"Copy link to {name}",copyToClipboard:"Copy link to clipboard",copyEndpointUrl:"Copy endpoint URL",showMore:"Show More"},agent:{askAi:"Ask AI",askAiAgent:"Ask AI Agent",close:"Close Client"},mcp:{generate:"Generate MCP",connect:"Connect MCP"},developerTools:{title:"Developer Tools",configure:"Configure",share:"Share",deploy:"Deploy",scalarConfiguration:"Scalar Configuration",theme:"Theme",layout:"Layout",layoutOptions:"Layout Options",intro:"The developer tools allow you to customize the appearance and behavior of your documentation. You can also share your documentation using the Scalar Registry.",disableToolbarBefore:"To disable the toolbar, set",disableToolbarAfter:"in your configuration.",localhostOnly:"The developer tools will only appear when running on localhost.",layoutModern:"Modern",layoutClassic:"Classic",showSidebar:"Show Sidebar",defaultOpenFirstTag:"Default Open First Tag",defaultOpenAllTags:"Default Open All Tags",expandAll:"Expand All {label}",expandAllResponses:"Expand All Responses",hideClientButton:"Hide Client Button",hideDarkModeToggle:"Hide Dark Mode Toggle",hideModels:"Hide {label}",hideSearch:"Hide Search",showOperationId:"Show Operation ID",hideTestRequestButton:"Hide Test Request Button",scalarDocs:"Scalar Docs",deployDescription:"Deploy your documentation on Scalar, the modern documentation platform for your API and everything else.",shareTitle:"Share your API Reference",shareDescription:"Upload your OpenAPI document to share your API Reference with others. As easy as pressing a button.",uploadDocument:"Upload Document",temporaryLinkExpiration:"Your document will automatically be deleted after 7 days.",deployOnScalar:"Deploy on Scalar",deployFree:"Deploy your documentation for free.",additionalFeaturesMightRequire:"Additional features might require",generate:"Generate",passwordProtection:"Password Protection",customDomains:"Custom Domains",freeFormContent:"Free-form content",cdnInfrastructure:"CDN Infrastructure",pullFromGitHub:"Pull from GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Spectral Linting",jsonSchemaHosting:"JSON Schema Hosting",askAi:"Ask AI",mcpServers:"MCP Servers",unableToExportDocument:"Unable to export active document",unknownError:"An unknown error occurred"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Welcome to the Scalar API References + Swagger Editor, a Free & Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references.",showExample:"Show Example",uploadFile:"Upload File",integrations:"INTEGRATIONS",theming:"THEMING",features:"Features",customize:"Customize",customizeDescription:"Bring your typography & color palettes, or use our themes!",testing:"Testing",testingDescription:"A deeply integrated Rest API Client (Also Free & Open-Source)",search:"Search",searchDescription:"Fully integrated Search (Using fuse.js)",hosting:"Hosting",hostingDescription:"Free subdomain hosting on https://apidocumentation.com",openApiSwagger:"OpenAPI & Swagger",openApiSwaggerDescription:"Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0",codeSamples:"Code Samples",codeSamplesDescription:"Code samples to show off your API in most popular languages"},footer:{poweredByScalar:"Powered by Scalar"},authentication:{title:"Authentication",accepts:"Accepts",allOf:"all of:",authentication:"authentication",optional:"Auth Optional",oneOf:"one of:",required:"Auth Required",requires:"Requires",scopes:"OAuth scopes"}},ru:{common:{additionalProperties:"дополнительные свойства",const:"константа",deprecated:"устарело",description:"Описание",discriminator:"Дискриминатор",enum:"enum",format:"Формат",greaterThan:"больше чем",httpMethod:"HTTP-метод",keys:"ключи",lessThan:"меньше чем",max:"макс.",min:"мин.",maxLength:"макс. длина",minLength:"мин. длина",multipleOf:"кратно",nullable:"может быть null",path:"Путь",propertyNames:"имена свойств",pattern:"Шаблон",copyPattern:"Скопировать шаблон",readOnly:"только чтение",required:"обязательно",hideValues:"Скрыть значения",showAllValues:"Показать все значения",type:"Тип",unique:"уникально",values:"значения",writeOnly:"только запись"},search:{label:"Поиск",inputLabel:"Введите поисковый запрос",open:"Открыть поиск",placeholder:"Поиск...",clear:"Очистить поиск",keyboardShortcut:"Сочетание клавиш:",command:"Command",control:"Control",results:"Результаты поиска по документации",navigate:"Навигация",select:"Выбрать",instructions:"Нажмите стрелку вверх или вниз для навигации, Enter для выбора, вводите текст для фильтрации результатов",entryHeading:"Заголовок",entryOperation:"Операция",entryTag:"Тег",entryTagGroup:"Группа тегов",entryWebhook:"Вебхук"},navigation:{introduction:"Введение",closeGroup:"Закрыть группу",closeMenu:"Закрыть меню",openGroup:"Открыть группу",openMenu:"Открыть меню",operations:"Операции",endpoints:"Эндпоинты {name}",showAllEndpoints:"Показать все эндпоинты {name}",sidebarFor:"Боковая панель для {name}",mainContent:"Документация API для {name}",collapsed:"Свернуто",webhooks:"Вебхуки",channels:"Каналы"},server:{label:"Сервер",select:"Выберите сервер"},info:{termsOfService:"Условия использования"},asyncapi:{servers:"Серверы",protocols:"Протоколы"},clientLibraries:{heading:"Клиентские библиотеки",more:"Ещё",selectAll:"Выбрать из всех клиентов"},operation:{body:"Тело",cookies:"Cookie",headers:"Заголовки",pathParameters:"Параметры пути",queryParameters:"Query-параметры",requestBody:"Тело запроса",responses:"Ответы",testRequest:"Проверить запрос",webhook:"Вебхук",selectedContentType:"Выбранный тип содержимого",hideHeaders:"Скрыть заголовки",showHeaders:"Показать заголовки",callbacks:"Обратные вызовы"},response:{exampleResponses:"Примеры ответов",noBody:"Нет тела",showSchema:"Показать схему",status:"Статус"},schema:{example:"Пример",examples:"Примеры",default:"Значение по умолчанию",schema:"Схема",emptyObject:"Пустой объект",showAdditionalProperties:"Показать дополнительные свойства",childAttributes:"Дочерние атрибуты",hideChildAttributes:"Скрыть {name}",showChildAttributes:"Показать {name}",forName:"для {name}",showSchemaDetails:"Показать детали схемы",oneOf:"Один из",anyOf:"Любой из",allOf:"Все из",not:"Не",unknownType:"неизвестный тип"},download:{openapi:"Скачать OpenAPI-документ",asyncapi:"Скачать AsyncAPI-документ"},models:{label:"Модели"},actions:{copyLink:"Скопировать ссылку",copyLinkTo:"Скопировать ссылку на {name}",copyToClipboard:"Скопировать ссылку в буфер обмена",copyEndpointUrl:"Скопировать URL endpoint-а",showMore:"Показать ещё"},agent:{askAi:"Спросить AI",askAiAgent:"Спросить AI-агента",close:"Закрыть клиент"},mcp:{generate:"Создать MCP",connect:"Подключить MCP"},developerTools:{title:"Инструменты разработчика",configure:"Настроить",share:"Поделиться",deploy:"Опубликовать",scalarConfiguration:"Конфигурация Scalar",theme:"Тема",layout:"Макет",layoutOptions:"Параметры макета",intro:"Инструменты разработчика позволяют настроить внешний вид и поведение документации. Также можно поделиться документацией через Scalar Registry.",disableToolbarBefore:"Чтобы отключить панель, установите",disableToolbarAfter:"в конфигурации.",localhostOnly:"Инструменты разработчика отображаются только при запуске на localhost.",layoutModern:"Современный",layoutClassic:"Классический",showSidebar:"Показать боковую панель",defaultOpenFirstTag:"Открывать первый тег по умолчанию",defaultOpenAllTags:"Открывать все теги по умолчанию",expandAll:"Развернуть все {label}",expandAllResponses:"Развернуть все ответы",hideClientButton:"Скрыть кнопку клиента",hideDarkModeToggle:"Скрыть переключатель тёмной темы",hideModels:"Скрыть {label}",hideSearch:"Скрыть поиск",showOperationId:"Показать ID операции",hideTestRequestButton:"Скрыть кнопку тестового запроса",scalarDocs:"Scalar Docs",deployDescription:"Опубликуйте документацию на Scalar — современной платформе документации для вашего API и не только.",shareTitle:"Поделиться API Reference",shareDescription:"Загрузите документ OpenAPI, чтобы поделиться API Reference с другими. Так же просто, как нажать кнопку.",uploadDocument:"Загрузить документ",temporaryLinkExpiration:"Документ будет автоматически удалён через 7 дней.",deployOnScalar:"Опубликовать на Scalar",deployFree:"Опубликуйте документацию бесплатно.",additionalFeaturesMightRequire:"Для дополнительных возможностей может потребоваться",generate:"Создать",passwordProtection:"Защита паролем",customDomains:"Пользовательские домены",freeFormContent:"Произвольный контент",cdnInfrastructure:"CDN-инфраструктура",pullFromGitHub:"Загрузка из GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Линтинг Spectral",jsonSchemaHosting:"Хостинг JSON Schema",askAi:"Спросить AI",mcpServers:"MCP-серверы",unableToExportDocument:"Не удалось экспортировать активный документ",unknownError:"Произошла неизвестная ошибка"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Добро пожаловать в Scalar API References + Swagger Editor — бесплатный инструмент с открытым исходным кодом, который принимает файл Swagger/OAS и создаёт красивые API Reference.",showExample:"Показать пример",uploadFile:"Загрузить файл",integrations:"ИНТЕГРАЦИИ",theming:"ТЕМЫ",features:"Возможности",customize:"Настройка",customizeDescription:"Используйте свою типографику и цветовые палитры или наши темы!",testing:"Тестирование",testingDescription:"Глубоко интегрированный REST API Client (тоже бесплатный и с открытым исходным кодом)",search:"Поиск",searchDescription:"Полностью интегрированный поиск (с использованием fuse.js)",hosting:"Хостинг",hostingDescription:"Бесплатный хостинг на поддомене https://apidocumentation.com",openApiSwagger:"OpenAPI и Swagger",openApiSwaggerDescription:"Поддержка OpenAPI 3.1, OpenAPI 3.0 и Swagger 2.0",codeSamples:"Примеры кода",codeSamplesDescription:"Примеры кода для демонстрации вашего API на самых популярных языках"},footer:{poweredByScalar:"Работает на Scalar"},authentication:{title:"Аутентификация",accepts:"Принимает",allOf:"все из:",authentication:"аутентификация",optional:"Аутентификация необязательна",oneOf:"одно из:",required:"Требуется аутентификация",requires:"Требуется",scopes:"Области OAuth"}},es:{common:{additionalProperties:"propiedades adicionales",const:"constante",deprecated:"obsoleto",description:"Descripción",discriminator:"Discriminador",enum:"enum",format:"Formato",greaterThan:"mayor que",httpMethod:"Método HTTP",keys:"claves",lessThan:"menor que",max:"máx.",min:"mín.",maxLength:"longitud máx.",minLength:"longitud mín.",multipleOf:"múltiplo de",nullable:"admite null",path:"Ruta",propertyNames:"nombres de propiedades",pattern:"Patrón",copyPattern:"Copiar patrón",readOnly:"solo lectura",required:"obligatorio",hideValues:"Ocultar valores",showAllValues:"Mostrar todos los valores",type:"Tipo",unique:"único",values:"valores",writeOnly:"solo escritura"},search:{label:"Buscar",inputLabel:"Introduce tu consulta de búsqueda",open:"Abrir búsqueda",placeholder:"Buscar...",clear:"Borrar búsqueda",keyboardShortcut:"Atajo de teclado:",command:"Comando",control:"Control",results:"Resultados de búsqueda de la referencia",navigate:"Navegar",select:"Seleccionar",instructions:"Pulsa flecha arriba o abajo para navegar, Enter para seleccionar y escribe para filtrar resultados",entryHeading:"Encabezado",entryOperation:"Operación",entryTag:"Etiqueta",entryTagGroup:"Grupo de etiquetas",entryWebhook:"Webhook"},navigation:{introduction:"Introducción",closeGroup:"Cerrar grupo",closeMenu:"Cerrar menú",openGroup:"Abrir grupo",openMenu:"Abrir menú",operations:"Operaciones",endpoints:"Endpoints de {name}",showAllEndpoints:"Mostrar todos los endpoints de {name}",sidebarFor:"Barra lateral de {name}",mainContent:"Documentación de la API de {name}",collapsed:"Contraído",webhooks:"Webhooks",channels:"Canales"},server:{label:"Servidor",select:"Seleccionar un servidor"},info:{termsOfService:"Términos del servicio"},asyncapi:{servers:"Servidores",protocols:"Protocolos"},clientLibraries:{heading:"Bibliotecas cliente",more:"Más",selectAll:"Seleccionar entre todos los clientes"},operation:{body:"Cuerpo",cookies:"Cookies",headers:"Encabezados",pathParameters:"Parámetros de ruta",queryParameters:"Parámetros de consulta",requestBody:"Cuerpo de la solicitud",responses:"Respuestas",testRequest:"Probar solicitud",webhook:"Webhook",selectedContentType:"Tipo de contenido seleccionado",hideHeaders:"Ocultar encabezados",showHeaders:"Mostrar encabezados",callbacks:"Callbacks"},response:{exampleResponses:"Ejemplos de respuesta",noBody:"Sin cuerpo",showSchema:"Mostrar esquema",status:"Estado"},schema:{example:"Ejemplo",examples:"Ejemplos",default:"Predeterminado",schema:"Esquema",emptyObject:"Objeto vacío",showAdditionalProperties:"Mostrar propiedades adicionales",childAttributes:"Atributos secundarios",hideChildAttributes:"Ocultar {name}",showChildAttributes:"Mostrar {name}",forName:"para {name}",showSchemaDetails:"Mostrar detalles del esquema",oneOf:"Uno de",anyOf:"Cualquiera de",allOf:"Todos de",not:"No",unknownType:"tipo desconocido"},download:{openapi:"Descargar documento OpenAPI",asyncapi:"Descargar documento AsyncAPI"},models:{label:"Modelos"},actions:{copyLink:"Copiar enlace",copyLinkTo:"Copiar enlace a {name}",copyToClipboard:"Copiar enlace al portapapeles",copyEndpointUrl:"Copiar URL del endpoint",showMore:"Mostrar más"},agent:{askAi:"Preguntar a IA",askAiAgent:"Preguntar al agente de IA",close:"Cerrar cliente"},mcp:{generate:"Generar MCP",connect:"Conectar MCP"},developerTools:{title:"Herramientas de desarrollo",configure:"Configurar",share:"Compartir",deploy:"Desplegar",scalarConfiguration:"Configuración de Scalar",theme:"Tema",layout:"Diseño",layoutOptions:"Opciones de diseño",intro:"Las herramientas de desarrollo te permiten personalizar la apariencia y el comportamiento de tu documentación. También puedes compartir tu documentación con Scalar Registry.",disableToolbarBefore:"Para desactivar la barra de herramientas, configura",disableToolbarAfter:"en tu configuración.",localhostOnly:"Las herramientas de desarrollo solo aparecerán al ejecutarse en localhost.",layoutModern:"Moderno",layoutClassic:"Clásico",showSidebar:"Mostrar barra lateral",defaultOpenFirstTag:"Abrir la primera etiqueta por defecto",defaultOpenAllTags:"Abrir todas las etiquetas por defecto",expandAll:"Expandir todo {label}",expandAllResponses:"Expandir todas las respuestas",hideClientButton:"Ocultar botón del cliente",hideDarkModeToggle:"Ocultar selector de modo oscuro",hideModels:"Ocultar {label}",hideSearch:"Ocultar búsqueda",showOperationId:"Mostrar ID de operación",hideTestRequestButton:"Ocultar botón de solicitud de prueba",scalarDocs:"Scalar Docs",deployDescription:"Despliega tu documentación en Scalar, la plataforma moderna de documentación para tu API y mucho más.",shareTitle:"Comparte tu API Reference",shareDescription:"Sube tu documento OpenAPI para compartir tu API Reference con otras personas. Tan fácil como pulsar un botón.",uploadDocument:"Subir documento",temporaryLinkExpiration:"Tu documento se eliminará automáticamente después de 7 días.",deployOnScalar:"Desplegar en Scalar",deployFree:"Despliega tu documentación gratis.",additionalFeaturesMightRequire:"Las funciones adicionales pueden requerir",generate:"Generar",passwordProtection:"Protección con contraseña",customDomains:"Dominios personalizados",freeFormContent:"Contenido libre",cdnInfrastructure:"Infraestructura CDN",pullFromGitHub:"Importar desde GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Linting de Spectral",jsonSchemaHosting:"Alojamiento de JSON Schema",askAi:"Preguntar a IA",mcpServers:"Servidores MCP",unableToExportDocument:"No se pudo exportar el documento activo",unknownError:"Se produjo un error desconocido"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Bienvenido a Scalar API References + Swagger Editor, una herramienta gratuita y de código abierto que toma tu archivo Swagger/OAS y genera API References elegantes.",showExample:"Mostrar ejemplo",uploadFile:"Subir archivo",integrations:"INTEGRACIONES",theming:"TEMAS",features:"Funciones",customize:"Personalizar",customizeDescription:"Usa tu tipografía y paletas de colores, o nuestros temas.",testing:"Pruebas",testingDescription:"Un REST API Client profundamente integrado (también gratuito y de código abierto)",search:"Búsqueda",searchDescription:"Búsqueda completamente integrada (con fuse.js)",hosting:"Hosting",hostingDescription:"Hosting gratuito en un subdominio de https://apidocumentation.com",openApiSwagger:"OpenAPI y Swagger",openApiSwaggerDescription:"Compatibilidad con OpenAPI 3.1, OpenAPI 3.0 y Swagger 2.0",codeSamples:"Ejemplos de código",codeSamplesDescription:"Ejemplos de código para mostrar tu API en los lenguajes más populares"},footer:{poweredByScalar:"Desarrollado por Scalar"},authentication:{title:"Autenticación",accepts:"Acepta",allOf:"todo lo siguiente:",authentication:"autenticación",optional:"Autenticación opcional",oneOf:"uno de:",required:"Autenticación requerida",requires:"Requiere",scopes:"Ámbitos de OAuth"}},fr:{common:{additionalProperties:"propriétés supplémentaires",const:"constante",deprecated:"obsolète",description:"Description",discriminator:"Discriminateur",enum:"enum",format:"Format",greaterThan:"supérieur à",httpMethod:"Méthode HTTP",keys:"clés",lessThan:"inférieur à",max:"max.",min:"min.",maxLength:"longueur max.",minLength:"longueur min.",multipleOf:"multiple de",nullable:"nullable",path:"Chemin",propertyNames:"noms des propriétés",pattern:"Motif",copyPattern:"Copier le motif",readOnly:"lecture seule",required:"obligatoire",hideValues:"Masquer les valeurs",showAllValues:"Afficher toutes les valeurs",type:"Type",unique:"unique",values:"valeurs",writeOnly:"écriture seule"},search:{label:"Rechercher",inputLabel:"Saisissez votre recherche",open:"Ouvrir la recherche",placeholder:"Rechercher...",clear:"Effacer la recherche",keyboardShortcut:"Raccourci clavier :",command:"Commande",control:"Contrôle",results:"Résultats de recherche de la référence",navigate:"Naviguer",select:"Sélectionner",instructions:"Appuyez sur flèche haut ou bas pour naviguer, Entrée pour sélectionner, saisissez du texte pour filtrer les résultats",entryHeading:"Titre",entryOperation:"Opération",entryTag:"Balise",entryTagGroup:"Groupe de balises",entryWebhook:"Webhook"},navigation:{introduction:"Introduction",closeGroup:"Fermer le groupe",closeMenu:"Fermer le menu",openGroup:"Ouvrir le groupe",openMenu:"Ouvrir le menu",operations:"Opérations",endpoints:"Endpoints de {name}",showAllEndpoints:"Afficher tous les endpoints de {name}",sidebarFor:"Barre latérale pour {name}",mainContent:"Documentation de l’API pour {name}",collapsed:"Réduit",webhooks:"Webhooks",channels:"Canaux"},server:{label:"Serveur",select:"Sélectionner un serveur"},info:{termsOfService:"Conditions d’utilisation"},asyncapi:{servers:"Serveurs",protocols:"Protocoles"},clientLibraries:{heading:"Bibliothèques clientes",more:"Plus",selectAll:"Sélectionner parmi tous les clients"},operation:{body:"Corps",cookies:"Cookies",headers:"En-têtes",pathParameters:"Paramètres de chemin",queryParameters:"Paramètres de requête",requestBody:"Corps de la requête",responses:"Réponses",testRequest:"Tester la requête",webhook:"Webhook",selectedContentType:"Type de contenu sélectionné",hideHeaders:"Masquer les en-têtes",showHeaders:"Afficher les en-têtes",callbacks:"Callbacks"},response:{exampleResponses:"Exemples de réponses",noBody:"Aucun corps",showSchema:"Afficher le schéma",status:"Statut"},schema:{example:"Exemple",examples:"Exemples",default:"Par défaut",schema:"Schéma",emptyObject:"Objet vide",showAdditionalProperties:"Afficher les propriétés supplémentaires",childAttributes:"Attributs enfants",hideChildAttributes:"Masquer {name}",showChildAttributes:"Afficher {name}",forName:"pour {name}",showSchemaDetails:"Afficher les détails du schéma",oneOf:"Un parmi",anyOf:"N’importe lequel parmi",allOf:"Tous parmi",not:"Non",unknownType:"type inconnu"},download:{openapi:"Télécharger le document OpenAPI",asyncapi:"Télécharger le document AsyncAPI"},models:{label:"Modèles"},actions:{copyLink:"Copier le lien",copyLinkTo:"Copier le lien vers {name}",copyToClipboard:"Copier le lien dans le presse-papiers",copyEndpointUrl:"Copier l’URL de l’endpoint",showMore:"Afficher plus"},agent:{askAi:"Demander à l’IA",askAiAgent:"Demander à l’agent IA",close:"Fermer le client"},mcp:{generate:"Générer MCP",connect:"Connecter MCP"},developerTools:{title:"Outils de développement",configure:"Configurer",share:"Partager",deploy:"Déployer",scalarConfiguration:"Configuration Scalar",theme:"Thème",layout:"Mise en page",layoutOptions:"Options de mise en page",intro:"Les outils de développement vous permettent de personnaliser l’apparence et le comportement de votre documentation. Vous pouvez aussi partager votre documentation avec Scalar Registry.",disableToolbarBefore:"Pour désactiver la barre d’outils, définissez",disableToolbarAfter:"dans votre configuration.",localhostOnly:"Les outils de développement apparaissent uniquement lors d’une exécution sur localhost.",layoutModern:"Moderne",layoutClassic:"Classique",showSidebar:"Afficher la barre latérale",defaultOpenFirstTag:"Ouvrir le premier tag par défaut",defaultOpenAllTags:"Ouvrir tous les tags par défaut",expandAll:"Tout développer pour {label}",expandAllResponses:"Développer toutes les réponses",hideClientButton:"Masquer le bouton client",hideDarkModeToggle:"Masquer le sélecteur de mode sombre",hideModels:"Masquer {label}",hideSearch:"Masquer la recherche",showOperationId:"Afficher l’ID d’opération",hideTestRequestButton:"Masquer le bouton de requête de test",scalarDocs:"Scalar Docs",deployDescription:"Déployez votre documentation sur Scalar, la plateforme moderne de documentation pour votre API et bien plus encore.",shareTitle:"Partager votre API Reference",shareDescription:"Téléversez votre document OpenAPI pour partager votre API Reference avec d’autres personnes. Aussi simple qu’un clic.",uploadDocument:"Téléverser le document",temporaryLinkExpiration:"Votre document sera automatiquement supprimé après 7 jours.",deployOnScalar:"Déployer sur Scalar",deployFree:"Déployez votre documentation gratuitement.",additionalFeaturesMightRequire:"Les fonctionnalités supplémentaires peuvent nécessiter",generate:"Générer",passwordProtection:"Protection par mot de passe",customDomains:"Domaines personnalisés",freeFormContent:"Contenu libre",cdnInfrastructure:"Infrastructure CDN",pullFromGitHub:"Import depuis GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Linting Spectral",jsonSchemaHosting:"Hébergement JSON Schema",askAi:"Demander à l’IA",mcpServers:"Serveurs MCP",unableToExportDocument:"Impossible d’exporter le document actif",unknownError:"Une erreur inconnue est survenue"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Bienvenue dans Scalar API References + Swagger Editor, un outil gratuit et open source qui transforme votre fichier Swagger/OAS en belles API References.",showExample:"Afficher l’exemple",uploadFile:"Téléverser un fichier",integrations:"INTÉGRATIONS",theming:"THÈMES",features:"Fonctionnalités",customize:"Personnaliser",customizeDescription:"Utilisez votre typographie et vos palettes de couleurs, ou nos thèmes !",testing:"Tests",testingDescription:"Un REST API Client profondément intégré (également gratuit et open source)",search:"Recherche",searchDescription:"Recherche entièrement intégrée (avec fuse.js)",hosting:"Hébergement",hostingDescription:"Hébergement gratuit sur un sous-domaine de https://apidocumentation.com",openApiSwagger:"OpenAPI et Swagger",openApiSwaggerDescription:"Prise en charge d’OpenAPI 3.1, OpenAPI 3.0 et Swagger 2.0",codeSamples:"Exemples de code",codeSamplesDescription:"Des exemples de code pour présenter votre API dans les langages les plus populaires"},footer:{poweredByScalar:"Propulsé par Scalar"},authentication:{title:"Authentification",accepts:"Accepte",allOf:"tous les éléments :",authentication:"authentification",optional:"Authentification optionnelle",oneOf:"l’un des éléments :",required:"Authentification requise",requires:"Requiert",scopes:"Portées OAuth"}},de:{common:{additionalProperties:"zusätzliche Eigenschaften",const:"Konstante",deprecated:"veraltet",description:"Beschreibung",discriminator:"Diskriminator",enum:"enum",format:"Format",greaterThan:"größer als",httpMethod:"HTTP-Methode",keys:"Schlüssel",lessThan:"kleiner als",max:"max.",min:"min.",maxLength:"max. Länge",minLength:"min. Länge",multipleOf:"Vielfaches von",nullable:"nullable",path:"Pfad",propertyNames:"Eigenschaftsnamen",pattern:"Muster",copyPattern:"Muster kopieren",readOnly:"nur lesbar",required:"erforderlich",hideValues:"Werte ausblenden",showAllValues:"Alle Werte anzeigen",type:"Typ",unique:"eindeutig",values:"Werte",writeOnly:"nur schreibbar"},search:{label:"Suchen",inputLabel:"Suchbegriff eingeben",open:"Suche öffnen",placeholder:"Suchen...",clear:"Suche löschen",keyboardShortcut:"Tastenkürzel:",command:"Befehl",control:"Steuerung",results:"Suchergebnisse der Referenz",navigate:"Navigieren",select:"Auswählen",instructions:"Drücken Sie Pfeil nach oben oder unten zum Navigieren, Enter zum Auswählen und tippen Sie zum Filtern der Ergebnisse",entryHeading:"Überschrift",entryOperation:"Operation",entryTag:"Tag",entryTagGroup:"Tag-Gruppe",entryWebhook:"Webhook"},navigation:{introduction:"Einführung",closeGroup:"Gruppe schließen",closeMenu:"Menü schließen",openGroup:"Gruppe öffnen",openMenu:"Menü öffnen",operations:"Operationen",endpoints:"{name}-Endpunkte",showAllEndpoints:"Alle {name}-Endpunkte anzeigen",sidebarFor:"Seitenleiste für {name}",mainContent:"API-Dokumentation für {name}",collapsed:"Eingeklappt",webhooks:"Webhooks",channels:"Kanäle"},server:{label:"Server",select:"Server auswählen"},info:{termsOfService:"Nutzungsbedingungen"},asyncapi:{servers:"Server",protocols:"Protokolle"},clientLibraries:{heading:"Client-Bibliotheken",more:"Mehr",selectAll:"Aus allen Clients auswählen"},operation:{body:"Body",cookies:"Cookies",headers:"Header",pathParameters:"Pfadparameter",queryParameters:"Query-Parameter",requestBody:"Request Body",responses:"Antworten",testRequest:"Request testen",webhook:"Webhook",selectedContentType:"Ausgewählter Inhaltstyp",hideHeaders:"Header ausblenden",showHeaders:"Header anzeigen",callbacks:"Callbacks"},response:{exampleResponses:"Beispielantworten",noBody:"Kein Body",showSchema:"Schema anzeigen",status:"Status"},schema:{example:"Beispiel",examples:"Beispiele",default:"Standard",schema:"Schema",emptyObject:"Leeres Objekt",showAdditionalProperties:"Zusätzliche Eigenschaften anzeigen",childAttributes:"Untergeordnete Attribute",hideChildAttributes:"{name} ausblenden",showChildAttributes:"{name} anzeigen",forName:"für {name}",showSchemaDetails:"Schema-Details anzeigen",oneOf:"Eines von",anyOf:"Beliebiges von",allOf:"Alle von",not:"Nicht",unknownType:"unbekannter Typ"},download:{openapi:"OpenAPI-Dokument herunterladen",asyncapi:"AsyncAPI-Dokument herunterladen"},models:{label:"Modelle"},actions:{copyLink:"Link kopieren",copyLinkTo:"Link zu {name} kopieren",copyToClipboard:"Link in die Zwischenablage kopieren",copyEndpointUrl:"Endpoint-URL kopieren",showMore:"Mehr anzeigen"},agent:{askAi:"KI fragen",askAiAgent:"KI-Agent fragen",close:"Client schließen"},mcp:{generate:"MCP generieren",connect:"MCP verbinden"},developerTools:{title:"Entwicklertools",configure:"Konfigurieren",share:"Teilen",deploy:"Bereitstellen",scalarConfiguration:"Scalar-Konfiguration",theme:"Theme",layout:"Layout",layoutOptions:"Layout-Optionen",intro:"Mit den Entwicklertools kannst du das Aussehen und Verhalten deiner Dokumentation anpassen. Du kannst deine Dokumentation auch über Scalar Registry teilen.",disableToolbarBefore:"Um die Toolbar zu deaktivieren, setze",disableToolbarAfter:"in deiner Konfiguration.",localhostOnly:"Die Entwicklertools werden nur angezeigt, wenn sie auf localhost ausgeführt werden.",layoutModern:"Modern",layoutClassic:"Klassisch",showSidebar:"Seitenleiste anzeigen",defaultOpenFirstTag:"Ersten Tag standardmäßig öffnen",defaultOpenAllTags:"Alle Tags standardmäßig öffnen",expandAll:"Alle {label} erweitern",expandAllResponses:"Alle Antworten erweitern",hideClientButton:"Client-Schaltfläche ausblenden",hideDarkModeToggle:"Dark-Mode-Umschalter ausblenden",hideModels:"{label} ausblenden",hideSearch:"Suche ausblenden",showOperationId:"Operation-ID anzeigen",hideTestRequestButton:"Test-Request-Schaltfläche ausblenden",scalarDocs:"Scalar Docs",deployDescription:"Veröffentliche deine Dokumentation auf Scalar, der modernen Dokumentationsplattform für deine API und alles Weitere.",shareTitle:"API Reference teilen",shareDescription:"Lade dein OpenAPI-Dokument hoch, um deine API Reference mit anderen zu teilen. So einfach wie ein Klick.",uploadDocument:"Dokument hochladen",temporaryLinkExpiration:"Dein Dokument wird nach 7 Tagen automatisch gelöscht.",deployOnScalar:"Auf Scalar veröffentlichen",deployFree:"Veröffentliche deine Dokumentation kostenlos.",additionalFeaturesMightRequire:"Zusätzliche Funktionen erfordern möglicherweise",generate:"Generieren",passwordProtection:"Passwortschutz",customDomains:"Eigene Domains",freeFormContent:"Freiform-Inhalte",cdnInfrastructure:"CDN-Infrastruktur",pullFromGitHub:"Von GitHub laden",markdownMdx:"Markdown/MDX",spectralLinting:"Spectral-Linting",jsonSchemaHosting:"JSON-Schema-Hosting",askAi:"KI fragen",mcpServers:"MCP-Server",unableToExportDocument:"Aktives Dokument konnte nicht exportiert werden",unknownError:"Ein unbekannter Fehler ist aufgetreten"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"Willkommen bei Scalar API References + Swagger Editor, einem kostenlosen Open-Source-Tool, das deine Swagger/OAS-Datei in schöne API References verwandelt.",showExample:"Beispiel anzeigen",uploadFile:"Datei hochladen",integrations:"INTEGRATIONEN",theming:"THEMES",features:"Funktionen",customize:"Anpassen",customizeDescription:"Nutze deine Typografie und Farbpaletten oder unsere Themes!",testing:"Testen",testingDescription:"Ein tief integrierter REST API Client (ebenfalls kostenlos und Open Source)",search:"Suche",searchDescription:"Vollständig integrierte Suche (mit fuse.js)",hosting:"Hosting",hostingDescription:"Kostenloses Subdomain-Hosting auf https://apidocumentation.com",openApiSwagger:"OpenAPI und Swagger",openApiSwaggerDescription:"Unterstützung für OpenAPI 3.1, OpenAPI 3.0 und Swagger 2.0",codeSamples:"Codebeispiele",codeSamplesDescription:"Codebeispiele, um deine API in den beliebtesten Sprachen zu präsentieren"},footer:{poweredByScalar:"Bereitgestellt von Scalar"},authentication:{title:"Authentifizierung",accepts:"Akzeptiert",allOf:"alle von:",authentication:"Authentifizierung",optional:"Authentifizierung optional",oneOf:"eines von:",required:"Authentifizierung erforderlich",requires:"Erfordert",scopes:"OAuth-Scopes"}},"zh-CN":{common:{additionalProperties:"附加属性",const:"常量",deprecated:"已弃用",description:"描述",discriminator:"鉴别器",enum:"枚举",format:"格式",greaterThan:"大于",httpMethod:"HTTP 方法",keys:"键",lessThan:"小于",max:"最大值",min:"最小值",maxLength:"最大长度",minLength:"最小长度",multipleOf:"倍数",nullable:"可为 null",path:"路径",propertyNames:"属性名称",pattern:"模式",copyPattern:"复制模式",readOnly:"只读",required:"必填",hideValues:"隐藏值",showAllValues:"显示所有值",type:"类型",unique:"唯一",values:"值",writeOnly:"只写"},search:{label:"搜索",inputLabel:"输入搜索查询",open:"打开搜索",placeholder:"搜索...",clear:"清除搜索",keyboardShortcut:"键盘快捷键：",command:"Command 键",control:"Control 键",results:"参考文档搜索结果",navigate:"导航",select:"选择",instructions:"按上/下箭头导航，按 Enter 选择，输入内容筛选结果",entryHeading:"标题",entryOperation:"操作",entryTag:"标签",entryTagGroup:"标签组",entryWebhook:"Webhook"},navigation:{introduction:"简介",closeGroup:"关闭分组",closeMenu:"关闭菜单",openGroup:"打开分组",openMenu:"打开菜单",operations:"操作",endpoints:"{name} 端点",showAllEndpoints:"显示 {name} 的所有端点",sidebarFor:"{name} 的侧边栏",mainContent:"{name} 的 API 文档",collapsed:"已折叠",webhooks:"Webhooks",channels:"频道"},server:{label:"服务器",select:"选择服务器"},info:{termsOfService:"服务条款"},asyncapi:{servers:"服务器",protocols:"协议"},clientLibraries:{heading:"客户端库",more:"更多",selectAll:"从所有客户端中选择"},operation:{body:"请求体",cookies:"Cookie",headers:"请求头",pathParameters:"路径参数",queryParameters:"查询参数",requestBody:"请求体",responses:"响应",testRequest:"测试请求",webhook:"Webhook",selectedContentType:"已选内容类型",hideHeaders:"隐藏标头",showHeaders:"显示标头",callbacks:"回调"},response:{exampleResponses:"响应示例",noBody:"无内容",showSchema:"显示 Schema",status:"状态"},schema:{example:"示例",examples:"示例",default:"默认值",schema:"架构",emptyObject:"空对象",showAdditionalProperties:"显示附加属性",childAttributes:"子属性",hideChildAttributes:"隐藏 {name}",showChildAttributes:"显示 {name}",forName:"对于 {name}",showSchemaDetails:"显示架构详情",oneOf:"其中一个",anyOf:"任意一个",allOf:"全部",not:"非",unknownType:"未知类型"},download:{openapi:"下载 OpenAPI 文档",asyncapi:"下载 AsyncAPI 文档"},models:{label:"模型"},actions:{copyLink:"复制链接",copyLinkTo:"复制指向 {name} 的链接",copyToClipboard:"复制链接到剪贴板",copyEndpointUrl:"复制端点 URL",showMore:"显示更多"},agent:{askAi:"询问 AI",askAiAgent:"询问 AI 助手",close:"关闭客户端"},mcp:{generate:"生成 MCP",connect:"连接 MCP"},developerTools:{title:"开发者工具",configure:"配置",share:"分享",deploy:"部署",scalarConfiguration:"Scalar 配置",theme:"主题",layout:"布局",layoutOptions:"布局选项",intro:"开发者工具可用于自定义文档的外观和行为。你也可以通过 Scalar Registry 分享文档。",disableToolbarBefore:"要禁用工具栏，请在配置中设置",disableToolbarAfter:"。",localhostOnly:"开发者工具只会在 localhost 上运行时显示。",layoutModern:"现代",layoutClassic:"经典",showSidebar:"显示侧边栏",defaultOpenFirstTag:"默认打开第一个标签",defaultOpenAllTags:"默认打开所有标签",expandAll:"展开所有 {label}",expandAllResponses:"展开所有响应",hideClientButton:"隐藏客户端按钮",hideDarkModeToggle:"隐藏深色模式开关",hideModels:"隐藏 {label}",hideSearch:"隐藏搜索",showOperationId:"显示操作 ID",hideTestRequestButton:"隐藏测试请求按钮",scalarDocs:"Scalar Docs",deployDescription:"将你的文档部署到 Scalar，这是适用于 API 等内容的现代文档平台。",shareTitle:"分享你的 API Reference",shareDescription:"上传 OpenAPI 文档，与其他人分享你的 API Reference。只需点击按钮即可。",uploadDocument:"上传文档",temporaryLinkExpiration:"你的文档将在 7 天后自动删除。",deployOnScalar:"部署到 Scalar",deployFree:"免费部署你的文档。",additionalFeaturesMightRequire:"其他功能可能需要",generate:"生成",passwordProtection:"密码保护",customDomains:"自定义域名",freeFormContent:"自由内容",cdnInfrastructure:"CDN 基础设施",pullFromGitHub:"从 GitHub 拉取",markdownMdx:"Markdown/MDX",spectralLinting:"Spectral Linting",jsonSchemaHosting:"JSON Schema 托管",askAi:"询问 AI",mcpServers:"MCP 服务器",unableToExportDocument:"无法导出当前文档",unknownError:"发生未知错误"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"欢迎使用 Scalar API References + Swagger Editor，这是一款免费开源工具，可将你的 Swagger/OAS 文件生成精美的 API References。",showExample:"显示示例",uploadFile:"上传文件",integrations:"集成",theming:"主题",features:"功能",customize:"自定义",customizeDescription:"使用你的排版和调色板，或使用我们的主题！",testing:"测试",testingDescription:"深度集成的 REST API Client（同样免费且开源）",search:"搜索",searchDescription:"完整集成的搜索（使用 fuse.js）",hosting:"托管",hostingDescription:"在 https://apidocumentation.com 上免费托管子域名",openApiSwagger:"OpenAPI 和 Swagger",openApiSwaggerDescription:"支持 OpenAPI 3.1、OpenAPI 3.0 和 Swagger 2.0",codeSamples:"代码示例",codeSamplesDescription:"用最流行语言展示你的 API 的代码示例"},footer:{poweredByScalar:"由 Scalar 提供支持"},authentication:{title:"身份验证",accepts:"接受",allOf:"全部：",authentication:"身份认证",optional:"身份认证可选",oneOf:"其中之一：",required:"需要身份认证",requires:"需要",scopes:"OAuth 作用域"}},ar:{common:{additionalProperties:"خصائص إضافية",const:"ثابت",deprecated:"مهمل",description:"الوصف",discriminator:"المميّز",enum:"تعداد",format:"التنسيق",greaterThan:"أكبر من",httpMethod:"طريقة HTTP",keys:"المفاتيح",lessThan:"أقل من",max:"الحد الأقصى",min:"الحد الأدنى",maxLength:"أقصى طول",minLength:"أدنى طول",multipleOf:"مضاعف لـ",nullable:"يقبل null",path:"المسار",propertyNames:"أسماء الخصائص",pattern:"النمط",copyPattern:"نسخ النمط",readOnly:"قراءة فقط",required:"مطلوب",hideValues:"إخفاء القيم",showAllValues:"عرض كل القيم",type:"النوع",unique:"فريد",values:"القيم",writeOnly:"كتابة فقط"},search:{label:"بحث",inputLabel:"أدخل استعلام البحث",open:"فتح البحث",placeholder:"بحث...",clear:"مسح البحث",keyboardShortcut:"اختصار لوحة المفاتيح:",command:"مفتاح الأوامر",control:"مفتاح التحكم",results:"نتائج البحث في المرجع",navigate:"تنقّل",select:"اختيار",instructions:"اضغط السهم للأعلى أو للأسفل للتنقل، Enter للاختيار، واكتب لتصفية النتائج",entryHeading:"عنوان",entryOperation:"عملية",entryTag:"وسم",entryTagGroup:"مجموعة وسوم",entryWebhook:"خطاف ويب"},navigation:{introduction:"المقدمة",closeGroup:"إغلاق المجموعة",closeMenu:"إغلاق القائمة",openGroup:"فتح المجموعة",openMenu:"فتح القائمة",operations:"العمليات",endpoints:"نقاط نهاية {name}",showAllEndpoints:"إظهار كل نقاط نهاية {name}",sidebarFor:"الشريط الجانبي لـ {name}",mainContent:"وثائق واجهة برمجة التطبيقات لـ {name}",collapsed:"مطوي",webhooks:"خطافات الويب",channels:"القنوات"},server:{label:"الخادم",select:"اختر خادماً"},info:{termsOfService:"شروط الخدمة"},asyncapi:{servers:"الخوادم",protocols:"البروتوكولات"},clientLibraries:{heading:"مكتبات العملاء",more:"المزيد",selectAll:"اختر من جميع العملاء"},operation:{body:"الجسم",cookies:"ملفات تعريف الارتباط",headers:"الرؤوس",pathParameters:"معاملات المسار",queryParameters:"معاملات الاستعلام",requestBody:"جسم الطلب",responses:"الاستجابات",testRequest:"اختبار الطلب",webhook:"خطاف ويب",selectedContentType:"نوع المحتوى المحدد",hideHeaders:"إخفاء الرؤوس",showHeaders:"إظهار الرؤوس",callbacks:"عمليات الاستدعاء"},response:{exampleResponses:"أمثلة الاستجابات",noBody:"لا يوجد جسم",showSchema:"عرض المخطط",status:"الحالة"},schema:{example:"مثال",examples:"أمثلة",default:"الافتراضي",schema:"المخطط",emptyObject:"كائن فارغ",showAdditionalProperties:"إظهار الخصائص الإضافية",childAttributes:"السمات الفرعية",hideChildAttributes:"إخفاء {name}",showChildAttributes:"إظهار {name}",forName:"لـ {name}",showSchemaDetails:"إظهار تفاصيل المخطط",oneOf:"واحد من",anyOf:"أي من",allOf:"كل من",not:"ليس",unknownType:"نوع غير معروف"},download:{openapi:"تنزيل مستند OpenAPI",asyncapi:"تنزيل مستند AsyncAPI"},models:{label:"النماذج"},actions:{copyLink:"نسخ الرابط",copyLinkTo:"نسخ الرابط إلى {name}",copyToClipboard:"نسخ الرابط إلى الحافظة",copyEndpointUrl:"نسخ رابط endpoint",showMore:"عرض المزيد"},agent:{askAi:"اسأل الذكاء الاصطناعي",askAiAgent:"اسأل وكيل الذكاء الاصطناعي",close:"إغلاق العميل"},mcp:{generate:"إنشاء MCP",connect:"ربط MCP"},developerTools:{title:"أدوات المطورين",configure:"الإعداد",share:"مشاركة",deploy:"نشر",scalarConfiguration:"إعدادات Scalar",theme:"السمة",layout:"التخطيط",layoutOptions:"خيارات التخطيط",intro:"تتيح لك أدوات المطورين تخصيص مظهر الوثائق وسلوكها. يمكنك أيضًا مشاركة وثائقك باستخدام Scalar Registry.",disableToolbarBefore:"لتعطيل شريط الأدوات، عيّن",disableToolbarAfter:"في الإعدادات.",localhostOnly:"لن تظهر أدوات المطورين إلا عند التشغيل على localhost.",layoutModern:"حديث",layoutClassic:"كلاسيكي",showSidebar:"إظهار الشريط الجانبي",defaultOpenFirstTag:"فتح أول وسم افتراضيًا",defaultOpenAllTags:"فتح كل الوسوم افتراضيًا",expandAll:"توسيع كل {label}",expandAllResponses:"توسيع كل الاستجابات",hideClientButton:"إخفاء زر العميل",hideDarkModeToggle:"إخفاء مفتاح الوضع الداكن",hideModels:"إخفاء {label}",hideSearch:"إخفاء البحث",showOperationId:"إظهار معرّف العملية",hideTestRequestButton:"إخفاء زر طلب الاختبار",scalarDocs:"Scalar Docs",deployDescription:"انشر وثائقك على Scalar، منصة الوثائق الحديثة لواجهة API الخاصة بك وكل شيء آخر.",shareTitle:"مشاركة API Reference",shareDescription:"حمّل مستند OpenAPI لمشاركة API Reference مع الآخرين. الأمر بسيط كضغط زر.",uploadDocument:"تحميل المستند",temporaryLinkExpiration:"سيتم حذف المستند تلقائيًا بعد 7 أيام.",deployOnScalar:"النشر على Scalar",deployFree:"انشر وثائقك مجانًا.",additionalFeaturesMightRequire:"قد تتطلب الميزات الإضافية",generate:"إنشاء",passwordProtection:"الحماية بكلمة مرور",customDomains:"نطاقات مخصصة",freeFormContent:"محتوى حر",cdnInfrastructure:"بنية CDN التحتية",pullFromGitHub:"السحب من GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"فحص Spectral",jsonSchemaHosting:"استضافة JSON Schema",askAi:"اسأل الذكاء الاصطناعي",mcpServers:"خوادم MCP",unableToExportDocument:"تعذر تصدير المستند النشط",unknownError:"حدث خطأ غير معروف"},gettingStarted:{swaggerEditor:"Swagger Editor",description:"مرحبًا بك في Scalar API References + Swagger Editor، أداة مجانية ومفتوحة المصدر تأخذ ملف Swagger/OAS الخاص بك وتنشئ API References جميلة.",showExample:"إظهار مثال",uploadFile:"تحميل ملف",integrations:"التكاملات",theming:"السمات",features:"الميزات",customize:"التخصيص",customizeDescription:"استخدم الخطوط ولوحات الألوان الخاصة بك، أو استخدم سماتنا!",testing:"الاختبار",testingDescription:"REST API Client مدمج بعمق (مجاني ومفتوح المصدر أيضًا)",search:"البحث",searchDescription:"بحث مدمج بالكامل (باستخدام fuse.js)",hosting:"الاستضافة",hostingDescription:"استضافة مجانية لنطاق فرعي على https://apidocumentation.com",openApiSwagger:"OpenAPI و Swagger",openApiSwaggerDescription:"دعم OpenAPI 3.1 و OpenAPI 3.0 و Swagger 2.0",codeSamples:"أمثلة التعليمات البرمجية",codeSamplesDescription:"أمثلة تعليمات برمجية لعرض API الخاص بك بأشهر اللغات"},footer:{poweredByScalar:"مدعوم من Scalar"},authentication:{title:"المصادقة",accepts:"يقبل",allOf:"كل ما يلي:",authentication:"المصادقة",optional:"المصادقة اختيارية",oneOf:"واحد من:",required:"المصادقة مطلوبة",requires:"يتطلب",scopes:"نطاقات OAuth"}},pt:{common:{additionalProperties:"propriedades adicionais",const:"const",deprecated:"obsoleto",description:"Descrição",discriminator:"Discriminador",enum:"enum",format:"Formato",greaterThan:"maior que",httpMethod:"Método HTTP",keys:"chaves",lessThan:"menor que",max:"máx",min:"mín",maxLength:"tamanho máximo",minLength:"tamanho mínimo",multipleOf:"múltiplo de",nullable:"aceita nulo",path:"Caminho",propertyNames:"nomes de propriedades",pattern:"Padrão",copyPattern:"Copiar padrão",readOnly:"somente leitura",required:"obrigatório",hideValues:"Ocultar valores",showAllValues:"Mostrar todos os valores",type:"Tipo",unique:"único",values:"valores",writeOnly:"somente escrita"},search:{label:"Buscar",inputLabel:"Digite o termo de busca",open:"Abrir Busca",placeholder:"Buscar...",clear:"Limpar Busca",keyboardShortcut:"Atalho de Teclado:",command:"Command",control:"Control",results:"Resultados da Busca de Referência",navigate:"Navegar",select:"Selecionar",instructions:"Pressione seta para cima / seta para baixo para navegar, enter para selecionar, digite para filtrar resultados",entryHeading:"Título",entryOperation:"Operação",entryTag:"Tag",entryTagGroup:"Grupo de Tags",entryWebhook:"Webhook"},navigation:{introduction:"Introdução",closeGroup:"Fechar Grupo",closeMenu:"Fechar Menu",openGroup:"Abrir Grupo",openMenu:"Abrir Menu",operations:"Operações",endpoints:"Endpoints de {name}",showAllEndpoints:"Mostrar todos os endpoints de {name}",sidebarFor:"Barra lateral de {name}",mainContent:"Documentação da API para {name}",collapsed:"Recolhido",webhooks:"Webhooks",channels:"Canais"},server:{label:"Servidor",select:"Selecione um servidor"},info:{termsOfService:"Termos de Serviço"},asyncapi:{servers:"Servidores",protocols:"Protocolos"},clientLibraries:{heading:"Bibliotecas Cliente",more:"Mais",selectAll:"Selecionar de todos os clientes"},operation:{body:"Corpo",cookies:"Cookies",headers:"Cabeçalhos",pathParameters:"Parâmetros de Caminho",queryParameters:"Parâmetros de Consulta",requestBody:"Corpo da Requisição",responses:"Respostas",testRequest:"Testar Requisição",webhook:"Webhook",selectedContentType:"Tipo de Conteúdo Selecionado",hideHeaders:"Ocultar Cabeçalhos",showHeaders:"Mostrar Cabeçalhos",callbacks:"Callbacks"},response:{exampleResponses:"Exemplos de Respostas",noBody:"Sem Corpo",showSchema:"Mostrar Schema",status:"Status"},schema:{example:"Exemplo",examples:"Exemplos",default:"Padrão",schema:"Schema",emptyObject:"Objeto vazio",showAdditionalProperties:"Mostrar propriedades adicionais",childAttributes:"Atributos Filhos",hideChildAttributes:"Ocultar {name}",showChildAttributes:"Mostrar {name}",forName:"para {name}",showSchemaDetails:"Mostrar Detalhes do Schema",oneOf:"Um de",anyOf:"Qualquer um de",allOf:"Todos de",not:"Não",unknownType:"tipo desconhecido"},download:{openapi:"Baixar Documento OpenAPI",asyncapi:"Baixar Documento AsyncAPI"},models:{label:"Modelos"},actions:{copyLink:"Copiar link",copyLinkTo:"Copiar link para {name}",copyToClipboard:"Copiar link para a área de transferência",copyEndpointUrl:"Copiar URL do endpoint",showMore:"Mostrar Mais"},agent:{askAi:"Perguntar à IA",askAiAgent:"Perguntar ao Agente de IA",close:"Fechar Cliente"},mcp:{generate:"Gerar MCP",connect:"Conectar MCP"},developerTools:{title:"Ferramentas de Desenvolvedor",configure:"Configurar",share:"Compartilhar",deploy:"Implantar",scalarConfiguration:"Configuração do Scalar",theme:"Tema",layout:"Layout",layoutOptions:"Opções de Layout",intro:"As ferramentas de desenvolvedor permitem personalizar a aparência e o comportamento da sua documentação. Você também pode compartilhar sua documentação usando o Scalar Registry.",disableToolbarBefore:"Para desativar a barra de ferramentas, defina",disableToolbarAfter:"na sua configuração.",localhostOnly:"As ferramentas de desenvolvedor só aparecerão ao rodar em localhost.",layoutModern:"Moderno",layoutClassic:"Clássico",showSidebar:"Mostrar Barra Lateral",defaultOpenFirstTag:"Abrir Primeira Tag por Padrão",defaultOpenAllTags:"Abrir Todas as Tags por Padrão",expandAll:"Expandir Todos {label}",expandAllResponses:"Expandir Todas as Respostas",hideClientButton:"Ocultar Botão do Cliente",hideDarkModeToggle:"Ocultar Alternador de Modo Escuro",hideModels:"Ocultar {label}",hideSearch:"Ocultar Busca",showOperationId:"Mostrar ID da Operação",hideTestRequestButton:"Ocultar Botão de Testar Requisição",scalarDocs:"Documentação do Scalar",deployDescription:"Implante sua documentação no Scalar, a plataforma de documentação moderna para sua API e tudo mais.",shareTitle:"Compartilhe sua Referência de API",shareDescription:"Envie seu documento OpenAPI para compartilhar sua Referência de API com outras pessoas. Tão fácil quanto apertar um botão.",uploadDocument:"Enviar Documento",temporaryLinkExpiration:"Seu documento será excluído automaticamente após 7 dias.",deployOnScalar:"Implantar no Scalar",deployFree:"Implante sua documentação gratuitamente.",additionalFeaturesMightRequire:"Recursos adicionais podem exigir",generate:"Gerar",passwordProtection:"Proteção por Senha",customDomains:"Domínios Personalizados",freeFormContent:"Conteúdo de formato livre",cdnInfrastructure:"Infraestrutura de CDN",pullFromGitHub:"Importar do GitHub",markdownMdx:"Markdown/MDX",spectralLinting:"Linting com Spectral",jsonSchemaHosting:"Hospedagem de JSON Schema",askAi:"Perguntar à IA",mcpServers:"Servidores MCP",unableToExportDocument:"Não foi possível exportar o documento ativo",unknownError:"Ocorreu um erro desconhecido"},gettingStarted:{swaggerEditor:"Editor Swagger",description:"Bem-vindo às Referências de API Scalar + Editor Swagger, uma ferramenta gratuita e de código aberto que transforma seu arquivo Swagger/OAS em belas referências de API.",showExample:"Mostrar Exemplo",uploadFile:"Enviar Arquivo",integrations:"INTEGRAÇÕES",theming:"TEMAS",features:"Recursos",customize:"Personalizar",customizeDescription:"Traga sua tipografia e paletas de cores, ou use nossos temas!",testing:"Testes",testingDescription:"Um Cliente de API REST profundamente integrado (Também gratuito e de código aberto)",search:"Busca",searchDescription:"Busca totalmente integrada (usando fuse.js)",hosting:"Hospedagem",hostingDescription:"Hospedagem gratuita de subdomínio em https://apidocumentation.com",openApiSwagger:"OpenAPI e Swagger",openApiSwaggerDescription:"Suporte para OpenAPI 3.1, OpenAPI 3.0 e Swagger 2.0",codeSamples:"Exemplos de Código",codeSamplesDescription:"Exemplos de código para mostrar sua API nas linguagens mais populares"},footer:{poweredByScalar:"Desenvolvido com Scalar"},authentication:{title:"Autenticação",accepts:"Aceita",allOf:"todos de:",authentication:"autenticação",optional:"Autenticação Opcional",oneOf:"um de:",required:"Autenticação Obrigatória",requires:"Requer",scopes:"Escopos OAuth"}}},mLt=new Set(["ar","fa","he","ur"]);J_(),Bc();var fLt=Symbol("LOCALIZATION"),gLt=e=>{if(e?.direction&&"auto"!==e.direction)return e.direction;let t=(e?.locale??"en").replace("_","-").split("-")[0]?.toLowerCase();return t&&mLt.has(t)?"rtl":"ltr"},vLt=e=>{let t=e?.locale??"en",a=(e=>{if(!e)return"en";if(e in hLt)return e;let t=e.replace("_","-").toLowerCase();if(t.startsWith("zh"))return"zh-CN";let a=t.split("-")[0];return Object.keys(hLt).find(e=>e.toLowerCase()===a)??"en"})(t),r=pLt(pLt(hLt.en,hLt[a]),e?.translations);return{locale:t,direction:gLt(e),translations:r}},bLt=(e,t,a)=>{let r=((e,t)=>t.split(".").reduce((e,t)=>{if(z_(e))return e[t]},e))(e,t),n="string"==typeof r?r:t;return a?Object.entries(a).reduce((e,[t,a])=>e.replaceAll(`{${t}}`,String(a)),n):n},yLt=e=>{let t=il(()=>vLt(Qa(e)));return{locale:il(()=>t.value.locale),direction:il(()=>t.value.direction),translations:il(()=>t.value.translations),translate:(e,a)=>bLt(t.value.translations,e,a)}},wLt=()=>dn(fLt,yLt(void 0));PY(),Bc();var xLt=Symbol(),OLt=Ha(null);function kLt(){let e=dn(xLt,void 0);return il(()=>e??OLt.value??void 0)}Bc(),Xk();var SLt=Cn({__name:"AgentScalarButton",setup(e){let t=kLt(),{translate:a}=wLt();return(e,r)=>(Ho(),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:r[0]||=e=>qa(t)?.toggleAgent()},[Fs(qa(ew)),ei(" "+Yt(qa(a)("agent.askAi")),1)]))}});function ALt(e,t){return{code:e,detail:t}}var TLt,_Lt=V(()=>{}),CLt=V(()=>{J(),TLt=x({id:h(),title:h(),namespace:h(),currentVersion:h(),logoUrl:O([h(),f()]),slug:h()})});function ELt(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 PLt(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 MLt(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 NLt,$Lt=V(()=>{NLt={safeFn:ELt,fromUnsafe:PLt,resultsToResult:MLt}});function ILt({getAccessToken:e,getAgentKey:t}){let a=e?.(),r=t?.();return{...a&&{Authorization:`Bearer ${a}`},...r&&{"x-scalar-agent-key":r}}}function RLt({baseUrl:e,getAccessToken:t,getAgentKey:a}){let r=x({message:h(),code:h()}),n=NLt.safeFn(async({path:n,method:i="get",query:s,body:l,responseSchema:c})=>{let u=`${e}${n}${s?`?${new URLSearchParams(s)}`:""}`,p=await NLt.fromUnsafe(async()=>fetch(u,{method:i,...l&&{body:JSON.stringify(l)},headers:{...ILt({getAccessToken:t,getAgentKey:a})}}),e=>ALt("FAILED_TO_FETCH",e));if(!p.success)return p;let h=await NLt.fromUnsafe(async()=>p.data.json(),e=>ALt("FAILED_TO_FETCH_DATA",e));if(!h.success)return{success:!1,error:ALt("UNKNOWN_ERROR","Unknown error occurred. Please contact support.")};if(!p.data.ok){if(!o(r,h.data))return{success:!1,error:ALt("UNKNOWN_ERROR","Unknown error occurred. Please contact support.")};let e=d(r,h.data);return{success:!1,error:ALt(e.code,e.message)}}return o(c,h.data)?{success:!0,data:d(c,h.data)}:{success:!1,error:ALt("INVALID_RESPONSE","Invalid response. Please contact support")}});return{search:async e=>n({path:"/vector/registry/search",query:{query:e},responseSchema:x({results:y(TLt)})}),getDocument:async e=>n({path:`/vector/registry/document/${e.namespace}/${e.slug}`,responseSchema:TLt}),getKeyDocuments:async()=>n({path:"/vector/registry/documents",responseSchema:x({documents:y(TLt)})}),getCuratedDocuments:async()=>n({path:"/vector/registry/curated",responseSchema:x({results:y(TLt)})})}}var DLt=V(()=>{_Lt(),CLt(),J(),$Lt()});function LLt(e,t){return`${e}/${t}`}var BLt,jLt,ULt,zLt,HLt,ZLt,VLt,qLt,QLt,FLt,WLt,GLt,XLt,YLt,KLt,JLt,eBt,tBt,aBt,rBt,nBt,oBt,iBt,sBt,lBt,cBt,uBt,dBt,pBt,hBt,mBt,fBt,gBt,vBt,bBt,yBt,wBt,xBt,OBt,kBt,SBt,ABt,TBt,_Bt,CBt,EBt,PBt,MBt,NBt,$Bt,IBt,RBt,DBt,LBt,BBt,jBt,UBt,zBt,HBt,ZBt,VBt,qBt,QBt,FBt,WBt,GBt,XBt,YBt,KBt,JBt,ejt,tjt,ajt,rjt,njt,ojt,ijt,sjt,ljt,cjt,ujt,djt,pjt,hjt,mjt,fjt,gjt,vjt,bjt,yjt,wjt,xjt,Ojt,kjt,Sjt,Ajt,Tjt,_jt,Cjt,Ejt,Pjt,Mjt,Njt,$jt,Ijt,Rjt,Djt,Ljt,Bjt,jjt,Ujt,zjt=V(()=>{}),Hjt=V(()=>{J(),BLt="execute-request",x({method:h(),path:h(),headers:S(w(h(),h())),body:S(h()),documentName:h(),documentIdentifier:h({typeComment:"Needed for legacy support for old clients"})})}),Zjt=V(()=>{jLt=e=>{let t=ULt(e,0);if(void 0===t||!HLt(e[t]))return;let a=ULt(e,t+1);return void 0!==a?ZLt(e,t,a):void 0},ULt=(e,t)=>{for(let a=t;a<e.length;a+=1){let t=e[a];if(!zLt(t))return a}},zLt=e=>" "===e||"\t"===e||"\n"===e||"\r"===e,HLt=e=>"{"===e||"["===e,ZLt=(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 VLt(r);if(void 0===r)r=t;else{if(r[0]!==t)return;r+=t}}},VLt=e=>void 0===e?0:" "===e[0]?e.length:e}),Vjt=V(()=>{qLt=(e,t)=>{let a=QLt(e,"toPrecision",t,t);return void 0===a?QLt(e,"toExponential",t,t):a},QLt=(e,t,a,r)=>{let n=e[t](r).replace(FLt,"$1").replace(WLt,"$1");return n.length<=a?n:1===r?void 0:QLt(e,t,a,r-1)},FLt=/(e)\+/iu,WLt=/\.?0*($|e)/iu}),qjt=V(()=>{GLt=(e,t)=>{if("string"!=typeof e)throw TypeError(`Input must be a JSON string: ${e}`);XLt(t)},XLt=e=>{if(YLt(e),e<0)throw TypeError(`"maxSize" argument must be positive: ${e}`);if(e<7)throw TypeError(`"maxSize" argument must be at least 7: ${e}`)},YLt=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}`)}}),Qjt=V(()=>{KLt=(e,t,a)=>{let r=oBt(t,a);return JLt(e,t,r)},JLt=(e,t,a)=>{if(a>=t)return a;let r=e[a];return r>=uBt&&r<=dBt?JLt(e,t,a+1):a},eBt=(e,t,a)=>{if(void 0===a)return a;let r=oBt(t,a);return tBt(e,r)},tBt=(e,t)=>aBt(e,t)?t-3:rBt(e,t)?t-2:nBt(e,t)?t-1:t,aBt=(e,t)=>t>=3&&e[t-3]>=iBt&&e[t-3]<=sBt,rBt=(e,t)=>t>=2&&e[t-2]>=lBt,nBt=(e,t)=>t>=1&&e[t-1]>=cBt,oBt=(e,t)=>t<0||Object.is(t,-0)?Math.max(e+t,0):t,iBt=240,sBt=244,lBt=224,cBt=194,uBt=128,dBt=191}),Fjt=V(()=>{Qjt(),pBt=(e,t,a)=>{let r=globalThis.Buffer.from(e),n=KLt(r,r.length,t),o=eBt(r,r.length,a);return 0===n&&o>=r.length?r.toString():r.toString("utf8",n,o)}}),Wjt=V(()=>{hBt=55296,mBt=56319,fBt=56320,gBt=57343,vBt=/[\uD800-\uDFFF]/gu}),Gjt=V(()=>{Wjt(),bBt=e=>yBt(e)?e.replace(vBt,"�"):e,yBt=e=>{for(let t=0;t<e.length;t+=1){let a=e.codePointAt(t);if(a>=55296&&a<=57343)return!0}return!1}}),Xjt=V(()=>{Wjt(),wBt=({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}}),Yjt=V(()=>{Wjt(),Xjt(),xBt=(e,t,a)=>t<0||Object.is(t,-0)?kBt(e,t,a):OBt(e,t,a),OBt=(e,t,a)=>wBt({input:e,targetByteCount:t,firstStartSurrogate:hBt,lastStartSurrogate:mBt,firstEndSurrogate:fBt,lastEndSurrogate:gBt,increment:1,canBacktrack:a,shift:0,charIndexInit:0}),kBt=(e,t,a)=>wBt({input:e,targetByteCount:-t,firstStartSurrogate:fBt,lastStartSurrogate:gBt,firstEndSurrogate:hBt,lastEndSurrogate:mBt,increment:-1,canBacktrack:!a,shift:1,charIndexInit:e.length-1})}),Kjt=V(()=>{Gjt(),Yjt(),SBt=(e,t,a)=>{let r=xBt(e,t,!1),n=ABt(e,a);return bBt(0===r&&void 0===n?e:e.slice(r,n))},ABt=(e,t)=>{if(void 0===t)return t;let a=xBt(e,t,!0);return a===e.length?void 0:a}}),Jjt=V(()=>{Qjt(),TBt=(e,t,a)=>{let{textEncoder:r,textDecoder:n}=_Bt(),o=PBt(e),{written:i}=r.encodeInto(e,o),s=KLt(o,i,t),l=eBt(o,i,a),c=void 0===l?i:Math.min(l,i),u=o.subarray(s,c);return n.decode(u)},_Bt=()=>(void 0===CBt&&(CBt=new globalThis.TextEncoder,EBt=new globalThis.TextDecoder("utf8",{fatal:!1})),{textEncoder:CBt,textDecoder:EBt}),PBt=e=>{let t=3*e.length;return t>1e5?new Uint8Array(t):((void 0===MBt||MBt.length<t)&&(MBt=new Uint8Array(t)),MBt)}}),eUt=V(()=>{NBt=(e,t)=>{if(void 0===t)return t;let a=$Bt(e,t);return a>=e.length*IBt?void 0:a},$Bt=(e,t)=>t<=e.length*-IBt?0:t,IBt=4}),tUt=V(()=>{RBt=(e,t,a)=>{if("string"!=typeof e)throw TypeError(`First argument must be a string: ${e}`);DBt(t),LBt(a)},DBt=e=>{if(void 0===e)throw TypeError("Second argument is required.");BBt("Second",e)},LBt=e=>{void 0!==e&&BBt("Third",e)},BBt=(e,t)=>{if(!Number.isInteger(t))throw TypeError(`${e} argument must be an integer: ${t}`)}}),aUt=V(()=>{Wjt(),jBt=e=>{let t=!0,a=0;for(let r=0;r<zBt;r+=1){let n=UBt(e,r);n<=127||(t&&=!1,n>2047&&(a+=1))}return{asciiOnly:t,longCharsPercentage:a/zBt}},UBt=(e,t)=>{let a=zBt-1,r=1-(a-t)/a,n=Math.round(r*(e.length-1));return e.charCodeAt(n)},zBt=50}),rUt=V(()=>{Fjt(),Kjt(),Jjt(),eUt(),Gjt(),tUt(),aUt(),HBt=(e,t,a)=>{if(RBt(e,t,a),""===e)return e;let r=$Bt(e,t),n=NBt(e,a);return void 0===n&&Object.is(r,0)?bBt(e):ZBt(e,r,n)},ZBt=(e,t,a)=>{if(e.length<=VBt)return SBt(e,t,a);let{asciiOnly:r,longCharsPercentage:n}=jBt(e);return r?QBt(e,t,a):n>=qBt?SBt(e,t,a):FBt(e,t,a)},VBt=200,qBt=.4,QBt=(e,t,a)=>"Buffer"in globalThis&&"from"in globalThis.Buffer?pBt(e,t,a):FBt(e,t,a),FBt=(e,t,a)=>"TextEncoder"in globalThis?TBt(e,t,a):SBt(e,t,a)}),nUt=V(()=>{rUt(),WBt=(e,t)=>{let a=JSON.stringify(e),r=HBt(YBt(a),0,t-ejt.length-2*JBt.length),n=`${GBt(r)}${ejt}`;return KBt(n)},GBt=e=>e.replace(XBt,""),XBt=/(\\|\\u[0-9a-fA-F]{0,3})$/u,YBt=e=>e.slice(JBt.length,-JBt.length),KBt=e=>`${JBt}${e}${JBt}`,JBt='"',ejt="..."}),oUt=V(()=>{tjt=e=>globalThis.Buffer.byteLength(e)}),iUt=V(()=>{ajt=e=>{let t=e.length,a=t;for(let r=0;r<t;r+=1){let t=e.charCodeAt(r);if(t<=rjt)continue;if(t<=njt){a+=1;continue}if(a+=2,t<ojt||t>ijt)continue;let n=e.charCodeAt(r+1);n<sjt||n>ljt||(r+=1)}return a},rjt=127,njt=2047,ojt=55296,ijt=56319,sjt=56320,ljt=57343}),sUt=V(()=>{cjt=()=>ujt.bind(void 0,new TextEncoder),ujt=(e,t)=>{let a=djt(t);return e.encodeInto(t,a).written},djt=e=>{let t=3*e.length;return t>1e5?new Uint8Array(t):((void 0===pjt||pjt.length<t)&&(pjt=new Uint8Array(t)),pjt)}}),lUt=V(()=>{oUt(),iUt(),sUt(),hjt=()=>"Buffer"in globalThis&&"byteLength"in globalThis.Buffer?tjt:"TextEncoder"in globalThis?mjt.bind(void 0,cjt()):ajt,mjt=(e,t)=>t.length<100?ajt(t):e(t),fjt=hjt()}),cUt=V(()=>{lUt(),gjt=e=>{if(null===e)return vjt;if(!0===e)return bjt;if(!1===e)return yjt;let t=typeof e;return"object"===t?wjt:"number"===t?JSON.stringify(e).length:xjt(e)},vjt=4,bjt=4,yjt=5,wjt=2,xjt=e=>fjt(JSON.stringify(e))}),uUt=V(()=>{cUt(),Ojt=({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}},kjt=e=>gjt(e),Sjt=(e,t,a)=>_jt({empty:e,indent:t,depth:a,keySpaceSize:0})+Ejt(e),Ajt=({key:e,empty:t,indent:a,depth:r})=>{let n=_jt({empty:t,indent:a,depth:r,keySpaceSize:1}),o=xjt(e),i=Ejt(t);return n+o+Tjt+i},Tjt=1,_jt=({empty:e,indent:t,depth:a,keySpaceSize:r})=>{if(void 0===t)return 0;return r+(Cjt+t*(a+1))+(e?Cjt+t*a:0)},Cjt=1,Ejt=e=>e?0:Pjt,Pjt=1}),dUt=V(()=>{uUt(),Mjt=({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}=Ojt({size:s,increment:r,maxSize:n,truncatedProps:t,path:p,value:d});return m?{empty:i,size:h,truncatedProps:f}:Njt({value:d,truncatedProps:t,path:p,maxSize:n,empty:i,size:s,newSize:h,truncateValue:l,indent:c,depth:u})},Njt=({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}}}),pUt=V(()=>{dUt(),uUt(),$jt=({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=Sjt(c.empty,i,s);c=Mjt({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}}}),hUt=V(()=>{dUt(),uUt(),Ijt=({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=Ajt({key:t,empty:c.empty,indent:i,depth:s});c=Mjt({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}}}),mUt=V(()=>{pUt(),hUt(),uUt(),Rjt=({value:e,truncatedProps:t,path:a,size:r,maxSize:n,indent:o,depth:i})=>{let{size:s,stop:l,truncatedProps:c}=Ojt({size:r,increment:kjt(e),maxSize:n,truncatedProps:t,path:a,value:e});return l?{value:void 0,size:s,truncatedProps:c}:Djt({value:e,truncatedProps:c,path:a,size:s,maxSize:n,indent:o,depth:i})},Djt=({value:e,truncatedProps:t,path:a,size:r,maxSize:n,indent:o,depth:i})=>"object"==typeof e&&e?Array.isArray(e)?$jt({array:e,truncatedProps:t,path:a,size:r,maxSize:n,truncateValue:Rjt,indent:o,depth:i}):Ijt({object:e,truncatedProps:t,path:a,size:r,maxSize:n,truncateValue:Rjt,indent:o,depth:i}):{value:e,size:r,truncatedProps:t}}),fUt=V(()=>{Zjt(),Vjt(),qjt(),nUt(),mUt(),Ljt=(e,t)=>{GLt(e,t);let a=Bjt(e),r=jjt(e),{value:n,truncatedProps:o}=Rjt({value:r,truncatedProps:[],path:[],size:0,maxSize:t,indent:a,depth:0});return{jsonString:Ujt({newValue:n,value:r,maxSize:t,indent:a}),truncatedProps:o}},Bjt=e=>{let t=jLt(e);return"string"==typeof t?t.length:t},jjt=e=>{try{return JSON.parse(e)}catch(t){throw TypeError(`Invalid JSON string: "${e}"\n${t.message}`)}},Ujt=({newValue:e,value:t,maxSize:a,indent:r})=>void 0===e?"number"==typeof t?qLt(t,a):WBt(t,a):JSON.stringify(e,void 0,r)});var gUt,vUt,bUt,yUt,wUt,xUt,OUt,kUt=V(()=>{_Lt(),Hjt(),$Lt(),MY(),RK(),NY(),fUt(),gUt=NLt.safeFn(async e=>"application/json"===e.headers.get("content-type")?{success:!0,data:await e.json()}:{success:!0,data:await e.text()},e=>ALt("FAILED_TO_PARSE_RESPONSE_BODY",{originalError:e})),vUt=e=>JSON.parse(Ljt(JSON.stringify(e),5e4).jsonString),bUt=NLt.safeFn(async(e,t)=>{let a=await fetch(e,t),r=await gUt(a);return a.ok?r.success?{success:!0,data:{status:a.status,responseBody:vUt(r.data),headers:Object.fromEntries(a.headers.entries())}}:r:{success:!1,error:ALt("REQUEST_NOT_OK",{status:a.status,url:a.url,responseBody:vUt(r.success?r.data:void 0),headers:Object.fromEntries(a.headers.entries())})}},e=>ALt("FAILED_TO_FETCH",{originalError:e})),yUt=NLt.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:ALt("DOCUMENT_SETTINGS_COULD_NOT_BE_DETERMINED",{documentName:l})};let u=wX(c.securitySchemes).reduce((e,t)=>{let a="basic"===t.format?`Basic ${HF(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 bUt(function({path:e,activeServer:t,proxyUrl:a,queryParams:r}){return CF(a,yX({path:e,server:t,urlParams:r}))}({path:o,activeServer:c.activeServer,proxyUrl:r,queryParams:u.queryParams}),p);return a.addToolOutput({tool:BLt,toolCallId:t,output:h,state:"output-available"}),h},e=>ALt("FAILED_TO_EXECUTE_REQUEST",e))}),SUt=V(()=>{wUt={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"}}),AUt=V(()=>{xUt={SELECTED_CLIENT:"scalar-reference-selected-client-v2",AUTH:"scalar-reference-auth"},OUt=()=>typeof window>"u"?{getItem:()=>null,setItem:()=>null,removeItem:()=>null}:localStorage});function TUt(e,t,a){let r=EY(t?.components?.securitySchemes,{},a,e),n=cY(t.security),o=gY(a.getAuthSelectedSchemas({type:"document",documentName:e}),void 0,n);return dY(r,o.selectedSchemes[o.selectedIndex]??{})}function _Ut(e){let t=[];for(let[a,r]of Object.entries(e.workspace.documents))QX(r)&&t.push([a,r]);return Object.fromEntries(t.map(([t,a])=>[t,{activeServer:bK(a,null,null,vK(a.servers,{documentUrl:a["x-scalar-original-source-url"]})),securitySchemes:TUt(t,a,e.auth)}]))}var CUt,EUt,PUt,MUt=V(()=>{RK(),AUt(),Wht(),aK(),Bq(),CUt=OUt(),EUt=()=>{let e=e=>`${xUt.AUTH}-${e}`;return{getAuth:t=>jj(Zpt,JSON.parse(CUt.getItem(e(t))??"{}")),setAuth:(t,a)=>{CUt.setItem(e(t),JSON.stringify(a))}}},PUt=({documentName:e,workspaceStore:t})=>{let a=EUt().getAuth(e);t.auth.load({[e]:a})}});var NUt,$Ut=V(()=>{Bc(),NUt="scalar/agent-terms-accepted"});function IUt(){let e=Pqt(),t=Ha();function a(t){let a=`${e.baseUrl}${t}`;return CF(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(DUt,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},RUt),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 RUt,DUt,LUt,BUt,jUt,UUt=V(()=>{$qt(),Bc(),J(),MY(),RUt=5e3,DUt="scalar-tmp-doc",LUt=x({namespace:h(),slug:h()})}),zUt=V(()=>{MUt(),n7e(),BUt=({debounceDelay:e=500,maxWait:t=1e4,persistAuth:a=!1})=>{let{execute:r}=H5e({delay:e,maxWait:t}),n=EUt();return{hooks:{onWorkspaceStateChanges(e){("function"==typeof a?a():a)&&"auth"===e.type&&r("auth",()=>n.setAuth(e.documentName,e.value))}}}}}),HUt=V(()=>{_Lt(),zjt(),MUt(),$Lt(),kNt(),HNt(),jUt=NLt.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 bNt(u.toString(),{plugins:[PNt({headers:d})],treeShake:!1}),m=LLt(e,t);return await a.addDocument({name:m,document:h},i),a.update("x-scalar-active-document",m),PUt({documentName:m,workspaceStore:a}),{success:!0,data:c.data}},e=>ALt("UNABLE_TO_LOAD_DOCUMENT",e))});function ZUt(e){return null==e?"unknown error":"string"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}var VUt,qUt,QUt,FUt,WUt,GUt,XUt,YUt,KUt,JUt,ezt,tzt,azt,rzt,nzt,ozt,izt,szt,lzt,czt,uzt,dzt,pzt,hzt,mzt,fzt,gzt,vzt,bzt,yzt,wzt=V(()=>{VUt="vercel.ai.error",qUt=Symbol.for(VUt),WUt=class e extends(FUt=Error,QUt=qUt,FUt){constructor({name:e,message:t,cause:a}){super(t),this[QUt]=!0,this.name=e,this.cause=a}static isInstance(t){return e.hasMarker(t,VUt)}static hasMarker(e,t){let a=Symbol.for(t);return"object"==typeof e&&!!e&&a in e&&"boolean"==typeof e[a]&&!0===e[a]}},XUt=`vercel.ai.error.${GUt="AI_InvalidArgumentError"}`,YUt=Symbol.for(XUt),ezt=class extends(JUt=WUt,KUt=YUt,JUt){constructor({message:e,cause:t,argument:a}){super({name:GUt,message:e,cause:t}),this[KUt]=!0,this.argument=a}static isInstance(e){return WUt.hasMarker(e,XUt)}},azt=`vercel.ai.error.${tzt="AI_JSONParseError"}`,rzt=Symbol.for(azt),izt=class extends(ozt=WUt,nzt=rzt,ozt){constructor({text:e,cause:t}){super({name:tzt,message:`JSON parsing failed: Text: ${e}.\nError message: ${ZUt(t)}`,cause:t}),this[nzt]=!0,this.text=e}static isInstance(e){return WUt.hasMarker(e,azt)}},lzt=`vercel.ai.error.${szt="AI_TypeValidationError"}`,czt=Symbol.for(lzt),pzt=class e extends(dzt=WUt,uzt=czt,dzt){constructor({value:e,cause:t}){super({name:szt,message:`Type validation failed: Value: ${JSON.stringify(e)}.\nError message: ${ZUt(t)}`,cause:t}),this[uzt]=!0,this.value=e}static isInstance(e){return WUt.hasMarker(e,lzt)}static wrap({value:t,cause:a}){return e.isInstance(a)&&a.value===t?a:new e({value:t,cause:a})}}}),xzt=V(()=>{Fpt(),Fpt()}),Ozt=V(()=>{xzt()}),kzt=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})(hzt||={}),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(mzt||={}),fzt=hzt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),gzt=e=>{switch(typeof e){case"undefined":return fzt.undefined;case"string":return fzt.string;case"number":return Number.isNaN(e)?fzt.nan:fzt.number;case"boolean":return fzt.boolean;case"function":return fzt.function;case"bigint":return fzt.bigint;case"symbol":return fzt.symbol;case"object":return Array.isArray(e)?fzt.array:null===e?fzt.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?fzt.promise:typeof Map<"u"&&e instanceof Map?fzt.map:typeof Set<"u"&&e instanceof Set?fzt.set:typeof Date<"u"&&e instanceof Date?fzt.date:fzt.object;default:return fzt.unknown}}}),Szt=V(()=>{kzt(),vzt=hzt.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"]),bzt=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,hzt.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()}},bzt.create=e=>new bzt(e)}),Azt=V(()=>{Szt(),kzt(),yzt=(e,t)=>{let a;switch(e.code){case vzt.invalid_type:a=e.received===fzt.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case vzt.invalid_literal:a=`Invalid literal value, expected ${JSON.stringify(e.expected,hzt.jsonStringifyReplacer)}`;break;case vzt.unrecognized_keys:a=`Unrecognized key(s) in object: ${hzt.joinValues(e.keys,", ")}`;break;case vzt.invalid_union:a="Invalid input";break;case vzt.invalid_union_discriminator:a=`Invalid discriminator value. Expected ${hzt.joinValues(e.options)}`;break;case vzt.invalid_enum_value:a=`Invalid enum value. Expected ${hzt.joinValues(e.options)}, received '${e.received}'`;break;case vzt.invalid_arguments:a="Invalid function arguments";break;case vzt.invalid_return_type:a="Invalid function return type";break;case vzt.invalid_date:a="Invalid date";break;case vzt.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}"`:hzt.assertNever(e.validation):a="regex"===e.validation?"Invalid":`Invalid ${e.validation}`;break;case vzt.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 vzt.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 vzt.custom:a="Invalid input";break;case vzt.invalid_intersection_types:a="Intersection results could not be merged";break;case vzt.not_multiple_of:a=`Number must be a multiple of ${e.multipleOf}`;break;case vzt.not_finite:a="Number must be finite";break;default:a=t.defaultError,hzt.assertNever(e)}return{message:a}}});function Tzt(){return _zt}var _zt,Czt=V(()=>{Azt(),_zt=yzt});function Ezt(e,t){let a=Tzt(),r=Pzt({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,a,a===yzt?void 0:yzt].filter(e=>!!e)});e.common.issues.push(r)}var Pzt,Mzt,Nzt,$zt,Izt,Rzt,Dzt,Lzt,Bzt,jzt,Uzt=V(()=>{Czt(),Azt(),Pzt=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}},Mzt=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 Nzt;"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 Nzt;"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}}},Nzt=Object.freeze({status:"aborted"}),$zt=e=>({status:"dirty",value:e}),Izt=e=>({status:"valid",value:e}),Rzt=e=>"aborted"===e.status,Dzt=e=>"dirty"===e.status,Lzt=e=>"valid"===e.status,Bzt=e=>typeof Promise<"u"&&e instanceof Promise}),zzt=V(()=>{}),Hzt=V(()=>{!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:e?.message}(jzt||={})});function Zzt(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 Vzt(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 qzt(e){return RegExp(`^${Vzt(e)}$`)}function Qzt(e){let t=`${bHt}T${Vzt(e)}`,a=[];return a.push(e.local?"Z?":"Z"),e.offset&&a.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${a.join("|")})`,RegExp(`^${t}$`)}function Fzt(e,t){return!(("v4"!==t&&t||!pHt.test(e))&&("v6"!==t&&t||!mHt.test(e)))}function Wzt(e,t){if(!lHt.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 Gzt(e,t){return!(("v4"!==t&&t||!hHt.test(e))&&("v6"!==t&&t||!fHt.test(e)))}function Xzt(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 Yzt(e){if(e instanceof $Ht){let t={};for(let a in e.shape){let r=e.shape[a];t[a]=QHt.create(Yzt(r))}return new $Ht({...e._def,shape:()=>t})}return e instanceof NHt?new NHt({...e._def,type:Yzt(e.element)}):e instanceof QHt?QHt.create(Yzt(e.unwrap())):e instanceof FHt?FHt.create(Yzt(e.unwrap())):e instanceof LHt?LHt.create(e.items.map(e=>Yzt(e))):e}function Kzt(e,t){let a=gzt(e),r=gzt(t);if(e===t)return{valid:!0,data:e};if(a===fzt.object&&r===fzt.object){let a=hzt.objectKeys(t),r=hzt.objectKeys(e).filter(e=>-1!==a.indexOf(e)),n={...e,...t};for(let a of r){let r=Kzt(e[a],t[a]);if(!r.valid)return{valid:!1};n[a]=r.data}return{valid:!0,data:n}}if(a===fzt.array&&r===fzt.array){if(e.length!==t.length)return{valid:!1};let a=[];for(let r=0;r<e.length;r++){let n=Kzt(e[r],t[r]);if(!n.valid)return{valid:!1};a.push(n.data)}return{valid:!0,data:a}}return a===fzt.date&&r===fzt.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}function Jzt(e,t){return new HHt({values:e,typeName:eZt.ZodEnum,...Zzt(t)})}var eHt,tHt,aHt,rHt,nHt,oHt,iHt,sHt,lHt,cHt,uHt,dHt,pHt,hHt,mHt,fHt,gHt,vHt,bHt,yHt,wHt,xHt,OHt,kHt,SHt,AHt,THt,_Ht,CHt,EHt,PHt,MHt,NHt,$Ht,IHt,RHt,DHt,LHt,BHt,jHt,UHt,zHt,HHt,ZHt,VHt,qHt,QHt,FHt,WHt,GHt,XHt,YHt,KHt,JHt,eZt,tZt=V(()=>{Szt(),Czt(),Hzt(),Uzt(),kzt(),eHt=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}},tHt=(e,t)=>{if(Lzt(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(){if(this._error)return this._error;let t=new bzt(e.common.issues);return this._error=t,this._error}}},aHt=class{get description(){return this._def.description}_getType(e){return gzt(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:gzt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Mzt,ctx:{common:e.parent.common,data:e.data,parsedType:gzt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(Bzt(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:gzt(e)},r=this._parseSync({data:e,path:a.path,parent:a});return tHt(a,r)}"~validate"(e){let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:gzt(e)};if(!this["~standard"].async)try{let a=this._parseSync({data:e,path:[],parent:t});return Lzt(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=>Lzt(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:gzt(e)},r=this._parse({data:e,path:a.path,parent:a}),n=await(Bzt(r)?r:Promise.resolve(r));return tHt(a,n)}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:vzt.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 qHt({schema:this,typeName:eZt.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 QHt.create(this,this._def)}nullable(){return FHt.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return NHt.create(this)}promise(){return VHt.create(this,this._def)}or(e){return IHt.create([this,e],this._def)}and(e){return DHt.create(this,e,this._def)}transform(e){return new qHt({...Zzt(this._def),schema:this,typeName:eZt.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let t="function"==typeof e?e:()=>e;return new WHt({...Zzt(this._def),innerType:this,defaultValue:t,typeName:eZt.ZodDefault})}brand(){return new YHt({typeName:eZt.ZodBranded,type:this,...Zzt(this._def)})}catch(e){let t="function"==typeof e?e:()=>e;return new GHt({...Zzt(this._def),innerType:this,catchValue:t,typeName:eZt.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return KHt.create(this,e)}readonly(){return JHt.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},rHt=/^c[^\s-]{8,}$/i,nHt=/^[0-9a-z]+$/,oHt=/^[0-9A-HJKMNP-TV-Z]{26}$/i,iHt=/^[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,sHt=/^[a-z0-9_-]{21}$/i,lHt=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,cHt=/^[-+]?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)?)??$/,uHt=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,pHt=/^(?:(?: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])$/,hHt=/^(?:(?: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])$/,mHt=/^(([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]))$/,fHt=/^(([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])$/,gHt=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,vHt=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,bHt="((\\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])))",yHt=RegExp(`^${bHt}$`),wHt=class e extends aHt{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==fzt.string){let t=this._getOrReturnCtx(e);return Ezt(t,{code:vzt.invalid_type,expected:fzt.string,received:t.parsedType}),Nzt}let t,a=new Mzt;for(let r of this._def.checks)if("min"===r.kind)e.data.length<r.value&&(t=this._getOrReturnCtx(e,t),Ezt(t,{code:vzt.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),Ezt(t,{code:vzt.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?Ezt(t,{code:vzt.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}):o&&Ezt(t,{code:vzt.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}),a.dirty())}else if("email"===r.kind)uHt.test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"email",code:vzt.invalid_string,message:r.message}),a.dirty());else if("emoji"===r.kind)dHt||=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u"),dHt.test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"emoji",code:vzt.invalid_string,message:r.message}),a.dirty());else if("uuid"===r.kind)iHt.test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"uuid",code:vzt.invalid_string,message:r.message}),a.dirty());else if("nanoid"===r.kind)sHt.test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"nanoid",code:vzt.invalid_string,message:r.message}),a.dirty());else if("cuid"===r.kind)rHt.test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"cuid",code:vzt.invalid_string,message:r.message}),a.dirty());else if("cuid2"===r.kind)nHt.test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"cuid2",code:vzt.invalid_string,message:r.message}),a.dirty());else if("ulid"===r.kind)oHt.test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"ulid",code:vzt.invalid_string,message:r.message}),a.dirty());else if("url"===r.kind)try{new URL(e.data)}catch{t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"url",code:vzt.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),Ezt(t,{validation:"regex",code:vzt.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),Ezt(t,{code:vzt.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),Ezt(t,{code:vzt.invalid_string,validation:{startsWith:r.value},message:r.message}),a.dirty()):"endsWith"===r.kind?e.data.endsWith(r.value)||(t=this._getOrReturnCtx(e,t),Ezt(t,{code:vzt.invalid_string,validation:{endsWith:r.value},message:r.message}),a.dirty()):"datetime"===r.kind?Qzt(r).test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{code:vzt.invalid_string,validation:"datetime",message:r.message}),a.dirty()):"date"===r.kind?yHt.test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{code:vzt.invalid_string,validation:"date",message:r.message}),a.dirty()):"time"===r.kind?qzt(r).test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{code:vzt.invalid_string,validation:"time",message:r.message}),a.dirty()):"duration"===r.kind?cHt.test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"duration",code:vzt.invalid_string,message:r.message}),a.dirty()):"ip"===r.kind?Fzt(e.data,r.version)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"ip",code:vzt.invalid_string,message:r.message}),a.dirty()):"jwt"===r.kind?Wzt(e.data,r.alg)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"jwt",code:vzt.invalid_string,message:r.message}),a.dirty()):"cidr"===r.kind?Gzt(e.data,r.version)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"cidr",code:vzt.invalid_string,message:r.message}),a.dirty()):"base64"===r.kind?gHt.test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"base64",code:vzt.invalid_string,message:r.message}),a.dirty()):"base64url"===r.kind?vHt.test(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{validation:"base64url",code:vzt.invalid_string,message:r.message}),a.dirty()):hzt.assertNever(r);return{status:a.value,value:e.data}}_regex(e,t,a){return this.refinement(t=>e.test(t),{validation:t,code:vzt.invalid_string,...jzt.errToObj(a)})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}email(e){return this._addCheck({kind:"email",...jzt.errToObj(e)})}url(e){return this._addCheck({kind:"url",...jzt.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...jzt.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...jzt.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...jzt.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...jzt.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...jzt.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...jzt.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...jzt.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...jzt.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...jzt.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...jzt.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...jzt.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,...jzt.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,...jzt.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...jzt.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...jzt.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...jzt.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...jzt.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...jzt.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...jzt.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...jzt.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...jzt.errToObj(t)})}nonempty(e){return this.min(1,jzt.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}},wHt.create=e=>new wHt({checks:[],typeName:eZt.ZodString,coerce:e?.coerce??!1,...Zzt(e)}),xHt=class e extends aHt{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)!==fzt.number){let t=this._getOrReturnCtx(e);return Ezt(t,{code:vzt.invalid_type,expected:fzt.number,received:t.parsedType}),Nzt}let t,a=new Mzt;for(let r of this._def.checks)"int"===r.kind?hzt.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{code:vzt.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),Ezt(t,{code:vzt.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),Ezt(t,{code:vzt.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),a.dirty()):"multipleOf"===r.kind?0!==Xzt(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),Ezt(t,{code:vzt.not_multiple_of,multipleOf:r.value,message:r.message}),a.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),Ezt(t,{code:vzt.not_finite,message:r.message}),a.dirty()):hzt.assertNever(r);return{status:a.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,jzt.toString(t))}gt(e,t){return this.setLimit("min",e,!1,jzt.toString(t))}lte(e,t){return this.setLimit("max",e,!0,jzt.toString(t))}lt(e,t){return this.setLimit("max",e,!1,jzt.toString(t))}setLimit(t,a,r,n){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:a,inclusive:r,message:jzt.toString(n)}]})}_addCheck(t){return new e({...this._def,checks:[...this._def.checks,t]})}int(e){return this._addCheck({kind:"int",message:jzt.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:jzt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:jzt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:jzt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:jzt.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:jzt.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:jzt.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:-(2**53-1),message:jzt.toString(e)})._addCheck({kind:"max",inclusive:!0,value:2**53-1,message:jzt.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&&hzt.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)}},xHt.create=e=>new xHt({checks:[],typeName:eZt.ZodNumber,coerce:e?.coerce||!1,...Zzt(e)}),OHt=class e extends aHt{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)!==fzt.bigint)return this._getInvalidInput(e);let t,a=new Mzt;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),Ezt(t,{code:vzt.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),Ezt(t,{code:vzt.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),Ezt(t,{code:vzt.not_multiple_of,multipleOf:r.value,message:r.message}),a.dirty()):hzt.assertNever(r);return{status:a.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return Ezt(t,{code:vzt.invalid_type,expected:fzt.bigint,received:t.parsedType}),Nzt}gte(e,t){return this.setLimit("min",e,!0,jzt.toString(t))}gt(e,t){return this.setLimit("min",e,!1,jzt.toString(t))}lte(e,t){return this.setLimit("max",e,!0,jzt.toString(t))}lt(e,t){return this.setLimit("max",e,!1,jzt.toString(t))}setLimit(t,a,r,n){return new e({...this._def,checks:[...this._def.checks,{kind:t,value:a,inclusive:r,message:jzt.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:jzt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:jzt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:jzt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:jzt.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:jzt.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}},OHt.create=e=>new OHt({checks:[],typeName:eZt.ZodBigInt,coerce:e?.coerce??!1,...Zzt(e)}),kHt=class extends aHt{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==fzt.boolean){let t=this._getOrReturnCtx(e);return Ezt(t,{code:vzt.invalid_type,expected:fzt.boolean,received:t.parsedType}),Nzt}return Izt(e.data)}},kHt.create=e=>new kHt({typeName:eZt.ZodBoolean,coerce:e?.coerce||!1,...Zzt(e)}),SHt=class e extends aHt{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==fzt.date){let t=this._getOrReturnCtx(e);return Ezt(t,{code:vzt.invalid_type,expected:fzt.date,received:t.parsedType}),Nzt}if(Number.isNaN(e.data.getTime()))return Ezt(this._getOrReturnCtx(e),{code:vzt.invalid_date}),Nzt;let t,a=new Mzt;for(let r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(t=this._getOrReturnCtx(e,t),Ezt(t,{code:vzt.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),Ezt(t,{code:vzt.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),a.dirty()):hzt.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:jzt.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:jzt.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)}},SHt.create=e=>new SHt({checks:[],coerce:e?.coerce||!1,typeName:eZt.ZodDate,...Zzt(e)}),AHt=class extends aHt{_parse(e){if(this._getType(e)!==fzt.symbol){let t=this._getOrReturnCtx(e);return Ezt(t,{code:vzt.invalid_type,expected:fzt.symbol,received:t.parsedType}),Nzt}return Izt(e.data)}},AHt.create=e=>new AHt({typeName:eZt.ZodSymbol,...Zzt(e)}),THt=class extends aHt{_parse(e){if(this._getType(e)!==fzt.undefined){let t=this._getOrReturnCtx(e);return Ezt(t,{code:vzt.invalid_type,expected:fzt.undefined,received:t.parsedType}),Nzt}return Izt(e.data)}},THt.create=e=>new THt({typeName:eZt.ZodUndefined,...Zzt(e)}),_Ht=class extends aHt{_parse(e){if(this._getType(e)!==fzt.null){let t=this._getOrReturnCtx(e);return Ezt(t,{code:vzt.invalid_type,expected:fzt.null,received:t.parsedType}),Nzt}return Izt(e.data)}},_Ht.create=e=>new _Ht({typeName:eZt.ZodNull,...Zzt(e)}),CHt=class extends aHt{constructor(){super(...arguments),this._any=!0}_parse(e){return Izt(e.data)}},CHt.create=e=>new CHt({typeName:eZt.ZodAny,...Zzt(e)}),EHt=class extends aHt{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Izt(e.data)}},EHt.create=e=>new EHt({typeName:eZt.ZodUnknown,...Zzt(e)}),PHt=class extends aHt{_parse(e){let t=this._getOrReturnCtx(e);return Ezt(t,{code:vzt.invalid_type,expected:fzt.never,received:t.parsedType}),Nzt}},PHt.create=e=>new PHt({typeName:eZt.ZodNever,...Zzt(e)}),MHt=class extends aHt{_parse(e){if(this._getType(e)!==fzt.undefined){let t=this._getOrReturnCtx(e);return Ezt(t,{code:vzt.invalid_type,expected:fzt.void,received:t.parsedType}),Nzt}return Izt(e.data)}},MHt.create=e=>new MHt({typeName:eZt.ZodVoid,...Zzt(e)}),NHt=class e extends aHt{_parse(e){let{ctx:t,status:a}=this._processInputParams(e),r=this._def;if(t.parsedType!==fzt.array)return Ezt(t,{code:vzt.invalid_type,expected:fzt.array,received:t.parsedType}),Nzt;if(null!==r.exactLength){let e=t.data.length>r.exactLength.value,n=t.data.length<r.exactLength.value;(e||n)&&(Ezt(t,{code:e?vzt.too_big:vzt.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&&(Ezt(t,{code:vzt.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&&(Ezt(t,{code:vzt.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 eHt(t,e,t.path,a)))).then(e=>Mzt.mergeArray(a,e));let n=[...t.data].map((e,a)=>r.type._parseSync(new eHt(t,e,t.path,a)));return Mzt.mergeArray(a,n)}get element(){return this._def.type}min(t,a){return new e({...this._def,minLength:{value:t,message:jzt.toString(a)}})}max(t,a){return new e({...this._def,maxLength:{value:t,message:jzt.toString(a)}})}length(t,a){return new e({...this._def,exactLength:{value:t,message:jzt.toString(a)}})}nonempty(e){return this.min(1,e)}},NHt.create=(e,t)=>new NHt({type:e,minLength:null,maxLength:null,exactLength:null,typeName:eZt.ZodArray,...Zzt(t)}),$Ht=class e extends aHt{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(),t=hzt.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==fzt.object){let t=this._getOrReturnCtx(e);return Ezt(t,{code:vzt.invalid_type,expected:fzt.object,received:t.parsedType}),Nzt}let{status:t,ctx:a}=this._processInputParams(e),{shape:r,keys:n}=this._getCached(),o=[];if(!(this._def.catchall instanceof PHt&&"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 eHt(a,n,a.path,e)),alwaysSet:e in a.data})}if(this._def.catchall instanceof PHt){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&&(Ezt(a,{code:vzt.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 eHt(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=>Mzt.mergeObjectSync(t,e)):Mzt.mergeObjectSync(t,i)}get shape(){return this._def.shape()}strict(t){return jzt.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:jzt.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:eZt.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 hzt.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 hzt.objectKeys(this.shape))t[e]||(a[e]=this.shape[e]);return new e({...this._def,shape:()=>a})}deepPartial(){return Yzt(this)}partial(t){let a={};for(let e of hzt.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 hzt.objectKeys(this.shape))if(t&&!t[e])a[e]=this.shape[e];else{let t=this.shape[e];for(;t instanceof QHt;)t=t._def.innerType;a[e]=t}return new e({...this._def,shape:()=>a})}keyof(){return Jzt(hzt.objectKeys(this.shape))}},$Ht.create=(e,t)=>new $Ht({shape:()=>e,unknownKeys:"strip",catchall:PHt.create(),typeName:eZt.ZodObject,...Zzt(t)}),$Ht.strictCreate=(e,t)=>new $Ht({shape:()=>e,unknownKeys:"strict",catchall:PHt.create(),typeName:eZt.ZodObject,...Zzt(t)}),$Ht.lazycreate=(e,t)=>new $Ht({shape:e,unknownKeys:"strip",catchall:PHt.create(),typeName:eZt.ZodObject,...Zzt(t)}),IHt=class extends aHt{_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 bzt(e.ctx.common.issues));return Ezt(t,{code:vzt.invalid_union,unionErrors:a}),Nzt});{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 bzt(e));return Ezt(t,{code:vzt.invalid_union,unionErrors:n}),Nzt}}get options(){return this._def.options}},IHt.create=(e,t)=>new IHt({options:e,typeName:eZt.ZodUnion,...Zzt(t)}),RHt=e=>e instanceof UHt?RHt(e.schema):e instanceof qHt?RHt(e.innerType()):e instanceof zHt?[e.value]:e instanceof HHt?e.options:e instanceof ZHt?hzt.objectValues(e.enum):e instanceof WHt?RHt(e._def.innerType):e instanceof THt?[void 0]:e instanceof _Ht?[null]:e instanceof QHt?[void 0,...RHt(e.unwrap())]:e instanceof FHt?[null,...RHt(e.unwrap())]:e instanceof YHt||e instanceof JHt?RHt(e.unwrap()):e instanceof GHt?RHt(e._def.innerType):[],DHt=class extends aHt{_parse(e){let{status:t,ctx:a}=this._processInputParams(e),r=(e,r)=>{if(Rzt(e)||Rzt(r))return Nzt;let n=Kzt(e.value,r.value);return n.valid?((Dzt(e)||Dzt(r))&&t.dirty(),{status:t.value,value:n.data}):(Ezt(a,{code:vzt.invalid_intersection_types}),Nzt)};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}))}},DHt.create=(e,t,a)=>new DHt({left:e,right:t,typeName:eZt.ZodIntersection,...Zzt(a)}),LHt=class e extends aHt{_parse(e){let{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==fzt.array)return Ezt(a,{code:vzt.invalid_type,expected:fzt.array,received:a.parsedType}),Nzt;if(a.data.length<this._def.items.length)return Ezt(a,{code:vzt.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Nzt;!this._def.rest&&a.data.length>this._def.items.length&&(Ezt(a,{code:vzt.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 eHt(a,e,a.path,t)):null}).filter(e=>!!e);return a.common.async?Promise.all(r).then(e=>Mzt.mergeArray(t,e)):Mzt.mergeArray(t,r)}get items(){return this._def.items}rest(t){return new e({...this._def,rest:t})}},LHt.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new LHt({items:e,typeName:eZt.ZodTuple,rest:null,...Zzt(t)})},BHt=class extends aHt{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!==fzt.map)return Ezt(a,{code:vzt.invalid_type,expected:fzt.map,received:a.parsedType}),Nzt;let r=this._def.keyType,n=this._def.valueType,o=[...a.data.entries()].map(([e,t],o)=>({key:r._parse(new eHt(a,e,a.path,[o,"key"])),value:n._parse(new eHt(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 Nzt;("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 Nzt;("dirty"===r.status||"dirty"===n.status)&&t.dirty(),e.set(r.value,n.value)}return{status:t.value,value:e}}}},BHt.create=(e,t,a)=>new BHt({valueType:t,keyType:e,typeName:eZt.ZodMap,...Zzt(a)}),jHt=class e extends aHt{_parse(e){let{status:t,ctx:a}=this._processInputParams(e);if(a.parsedType!==fzt.set)return Ezt(a,{code:vzt.invalid_type,expected:fzt.set,received:a.parsedType}),Nzt;let r=this._def;null!==r.minSize&&a.data.size<r.minSize.value&&(Ezt(a,{code:vzt.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&&(Ezt(a,{code:vzt.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 Nzt;"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 eHt(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:jzt.toString(a)}})}max(t,a){return new e({...this._def,maxSize:{value:t,message:jzt.toString(a)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}},jHt.create=(e,t)=>new jHt({valueType:e,minSize:null,maxSize:null,typeName:eZt.ZodSet,...Zzt(t)}),UHt=class extends aHt{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})}},UHt.create=(e,t)=>new UHt({getter:e,typeName:eZt.ZodLazy,...Zzt(t)}),zHt=class extends aHt{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return Ezt(t,{received:t.data,code:vzt.invalid_literal,expected:this._def.value}),Nzt}return{status:"valid",value:e.data}}get value(){return this._def.value}},zHt.create=(e,t)=>new zHt({value:e,typeName:eZt.ZodLiteral,...Zzt(t)}),HHt=class e extends aHt{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),a=this._def.values;return Ezt(t,{expected:hzt.joinValues(a),received:t.parsedType,code:vzt.invalid_type}),Nzt}if(this._cache||=new Set(this._def.values),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),a=this._def.values;return Ezt(t,{received:t.data,code:vzt.invalid_enum_value,options:a}),Nzt}return Izt(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})}},HHt.create=Jzt,ZHt=class extends aHt{_parse(e){let t=hzt.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==fzt.string&&a.parsedType!==fzt.number){let e=hzt.objectValues(t);return Ezt(a,{expected:hzt.joinValues(e),received:a.parsedType,code:vzt.invalid_type}),Nzt}if(this._cache||=new Set(hzt.getValidEnumValues(this._def.values)),!this._cache.has(e.data)){let e=hzt.objectValues(t);return Ezt(a,{received:a.data,code:vzt.invalid_enum_value,options:e}),Nzt}return Izt(e.data)}get enum(){return this._def.values}},ZHt.create=(e,t)=>new ZHt({values:e,typeName:eZt.ZodNativeEnum,...Zzt(t)}),VHt=class extends aHt{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==fzt.promise&&!1===t.common.async?(Ezt(t,{code:vzt.invalid_type,expected:fzt.promise,received:t.parsedType}),Nzt):Izt((t.parsedType===fzt.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}},VHt.create=(e,t)=>new VHt({type:e,typeName:eZt.ZodPromise,...Zzt(t)}),qHt=class extends aHt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===eZt.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=>{Ezt(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 Nzt;let r=await this._def.schema._parseAsync({data:e,path:a.path,parent:a});return"aborted"===r.status?Nzt:"dirty"===r.status||"dirty"===t.value?$zt(r.value):r});{if("aborted"===t.value)return Nzt;let r=this._def.schema._parseSync({data:e,path:a.path,parent:a});return"aborted"===r.status?Nzt:"dirty"===r.status||"dirty"===t.value?$zt(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?Nzt:("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?Nzt:("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(!Lzt(e))return Nzt;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=>Lzt(e)?Promise.resolve(r.transform(e.value,n)).then(e=>({status:t.value,value:e})):Nzt)}hzt.assertNever(r)}},qHt.create=(e,t,a)=>new qHt({schema:e,typeName:eZt.ZodEffects,effect:t,...Zzt(a)}),qHt.createWithPreprocess=(e,t,a)=>new qHt({schema:t,effect:{type:"preprocess",transform:e},typeName:eZt.ZodEffects,...Zzt(a)}),QHt=class extends aHt{_parse(e){return this._getType(e)===fzt.undefined?Izt(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}},QHt.create=(e,t)=>new QHt({innerType:e,typeName:eZt.ZodOptional,...Zzt(t)}),FHt=class extends aHt{_parse(e){return this._getType(e)===fzt.null?Izt(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}},FHt.create=(e,t)=>new FHt({innerType:e,typeName:eZt.ZodNullable,...Zzt(t)}),WHt=class extends aHt{_parse(e){let{ctx:t}=this._processInputParams(e),a=t.data;return t.parsedType===fzt.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:t.path,parent:t})}removeDefault(){return this._def.innerType}},WHt.create=(e,t)=>new WHt({innerType:e,typeName:eZt.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...Zzt(t)}),GHt=class extends aHt{_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 Bzt(r)?r.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new bzt(a.common.issues)},input:a.data})})):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new bzt(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}},GHt.create=(e,t)=>new GHt({innerType:e,typeName:eZt.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...Zzt(t)}),XHt=class extends aHt{_parse(e){if(this._getType(e)!==fzt.nan){let t=this._getOrReturnCtx(e);return Ezt(t,{code:vzt.invalid_type,expected:fzt.nan,received:t.parsedType}),Nzt}return{status:"valid",value:e.data}}},XHt.create=e=>new XHt({typeName:eZt.ZodNaN,...Zzt(e)}),YHt=class extends aHt{_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}},KHt=class e extends aHt{_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?Nzt:"dirty"===e.status?(t.dirty(),$zt(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?Nzt:"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:eZt.ZodPipeline})}},JHt=class extends aHt{_parse(e){let t=this._def.innerType._parse(e),a=e=>(Lzt(e)&&(e.value=Object.freeze(e.value)),e);return Bzt(t)?t.then(e=>a(e)):a(t)}unwrap(){return this._def.innerType}},JHt.create=(e,t)=>new JHt({innerType:e,typeName:eZt.ZodReadonly,...Zzt(t)}),$Ht.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"}(eZt||={}),wHt.create,xHt.create,XHt.create,OHt.create,kHt.create,SHt.create,AHt.create,THt.create,_Ht.create,CHt.create,EHt.create,PHt.create,MHt.create,NHt.create,$Ht.create,$Ht.strictCreate,IHt.create,DHt.create,LHt.create,BHt.create,jHt.create,UHt.create,zHt.create,HHt.create,ZHt.create,VHt.create,qHt.create,QHt.create,FHt.create,qHt.createWithPreprocess,KHt.create}),aZt=V(()=>{Czt(),Uzt(),zzt(),kzt(),tZt(),Szt()}),rZt=V(()=>{aZt()});function nZt(e){}function oZt(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=nZt,onError:r=nZt,onRetry:n=nZt,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 iZt(`Invalid \`retry\` value: "${a}"`,{type:"invalid-retry",value:a,line:o}));break;default:r(new iZt(`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 iZt,sZt,lZt=V(()=>{iZt=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}}}),cZt=V(()=>{lZt(),sZt=class extends TransformStream{constructor({onError:e,onRetry:t,onComment:a}={}){let r;super({start(n){r=oZt({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)}})}}}),uZt=V(()=>{});function dZt(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 pZt(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 hZt(e,...t){let a=new Headers(pZt(e)),r=a.get("user-agent")||"";return a.set("user-agent",[r,...t].filter(Boolean).join(" ")),Object.fromEntries(a.entries())}function mZt(e){let t=JSON.parse(e);return"object"!=typeof t||!t||!1===UZt.test(e)&&!1===zZt.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 fZt(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]=gZt(t[e])}null!=e.items&&(e.items=Array.isArray(e.items)?e.items.map(gZt):gZt(e.items)),null!=e.anyOf&&(e.anyOf=e.anyOf.map(gZt)),null!=e.allOf&&(e.allOf=e.allOf.map(gZt)),null!=e.oneOf&&(e.oneOf=e.oneOf.map(gZt));let{definitions:t}=e;if(null!=t)for(let e of Object.keys(t))t[e]=gZt(t[e]);return e}function gZt(e){return"boolean"==typeof e?e:fZt(e)}function vZt(e,t){return _Zt(e.type._def,t)}function bZt(e,t,a){let r=a??t.dateStrategy;if(Array.isArray(r))return{anyOf:r.map((a,r)=>bZt(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 QZt(e)}}function yZt(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":xZt(a,"email",r.message,t);break;case"format:idn-email":xZt(a,"idn-email",r.message,t);break;case"pattern:zod":OZt(a,GZt.email,r.message,t)}break;case"url":xZt(a,"uri",r.message,t);break;case"uuid":xZt(a,"uuid",r.message,t);break;case"regex":OZt(a,r.regex,r.message,t);break;case"cuid":OZt(a,GZt.cuid,r.message,t);break;case"cuid2":OZt(a,GZt.cuid2,r.message,t);break;case"startsWith":OZt(a,RegExp(`^${wZt(r.value,t)}`),r.message,t);break;case"endsWith":OZt(a,RegExp(`${wZt(r.value,t)}$`),r.message,t);break;case"datetime":xZt(a,"date-time",r.message,t);break;case"date":xZt(a,"date",r.message,t);break;case"time":xZt(a,"time",r.message,t);break;case"duration":xZt(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":OZt(a,RegExp(wZt(r.value,t)),r.message,t);break;case"ip":"v6"!==r.version&&xZt(a,"ipv4",r.message,t),"v4"!==r.version&&xZt(a,"ipv6",r.message,t);break;case"base64url":OZt(a,GZt.base64url,r.message,t);break;case"jwt":OZt(a,GZt.jwt,r.message,t);break;case"cidr":"v6"!==r.version&&OZt(a,GZt.ipv4Cidr,r.message,t),"v4"!==r.version&&OZt(a,GZt.ipv6Cidr,r.message,t);break;case"emoji":OZt(a,GZt.emoji(),r.message,t);break;case"ulid":OZt(a,GZt.ulid,r.message,t);break;case"base64":switch(t.base64Strategy){case"format:binary":xZt(a,"binary",r.message,t);break;case"contentEncoding:base64":a.contentEncoding="base64";break;case"pattern:zod":OZt(a,GZt.base64,r.message,t)}break;case"nanoid":OZt(a,GZt.nanoid,r.message,t)}return a}function wZt(e,t){return"escape"===t.patternStrategy?function(e){let t="";for(let a=0;a<e.length;a++)XZt.has(e[a])||(t+="\\"),t+=e[a];return t}(e):e}function xZt(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 OZt(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:kZt(t,r),...a&&r.errorMessages&&{errorMessage:{pattern:a}}})):e.pattern=kZt(t,r)}function kZt(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 SZt(e,t){let a={type:"object",additionalProperties:_Zt(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]})??t.allowedAdditionalProperties};if(e.keyType?._def.typeName===eZt.ZodString&&e.keyType._def.checks?.length){let{type:r,...n}=yZt(e.keyType._def,t);return{...a,propertyNames:n}}if(e.keyType?._def.typeName===eZt.ZodEnum)return{...a,propertyNames:{enum:e.keyType._def.values}};if(e.keyType?._def.typeName===eZt.ZodBranded&&e.keyType._def.type._def.typeName===eZt.ZodString&&e.keyType._def.type._def.checks?.length){let{type:r,...n}=vZt(e.keyType._def,t);return{...a,propertyNames:n}}return a}function AZt(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=TZt(o),s=_Zt(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 _Zt(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 TZt(e){try{return e.isOptional()}catch{return!0}}function _Zt(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!==HZt)return n}if(r&&!a){let e=nVt(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=aVt(e,e.typeName,t),i="function"==typeof o?_Zt(o(),t):o;if(i&&oVt(e,t,i),t.postProcess){let a=t.postProcess(i,e,t);return n.jsonSchema=i,a}return n.jsonSchema=i,i}function CZt(e,{validate:t}={}){return{[lVt]:!0,_type:void 0,get jsonSchema(){return"function"==typeof e&&(e=e()),e},validate:t}}function EZt(e){return null==e?CZt({properties:{},additionalProperties:!1}):function(e){return"object"==typeof e&&!!e&&lVt in e&&!0===e[lVt]&&"jsonSchema"in e&&"validate"in e}(e)?e:"~standard"in e?"zod"===e["~standard"].vendor?MZt(e):function(e){return CZt(()=>fZt(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 pzt({value:t,cause:a.issues})}}})}(e):e()}function PZt(e,t){let a=t?.useReferences??!1;return CZt(()=>fZt(function(e,t){if("_idmap"in e){let a=e,r=yct({...t,processors:put}),n={};for(let e of a._idmap.entries()){let[t,a]=e;wct(a,r)}let o={};r.external={registry:a,uri:t?.uri,defs:n};for(let e of a._idmap.entries()){let[t,a]=e;xct(r,a),o[t]=Oct(r,a)}return Object.keys(n).length>0&&(o.__shared={["draft-2020-12"===r.target?"$defs":"definitions"]:n}),{schemas:o}}let a=yct({...t,processors:put});return wct(e,a),xct(a,e),Oct(a,e)}(e,{target:"draft-7",io:"input",reused:a?"ref":"inline"})),{validate:async t=>{let a=await Eut(e,t);return a.success?{success:!0,value:a.data}:{success:!1,error:a.error}}})}function MZt(e,t){return function(e){return"_zod"in e}(e)?PZt(e,t):function(e,t){let a=t?.useReferences??!1;return CZt(()=>sVt(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 NZt({value:e,schema:t}){let a=await $Zt({value:e,schema:t});if(!a.success)throw pzt.wrap({value:e,cause:a.error});return a.value}async function $Zt({value:e,schema:t}){let a=EZt(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:pzt.wrap({value:e,cause:t.error}),rawValue:e}}catch(t){return{success:!1,error:pzt.wrap({value:e,cause:t}),rawValue:e}}}async function IZt({text:e,schema:t}){try{let a=function(e){let{stackTraceLimit:t}=Error;try{Error.stackTraceLimit=0}catch{return mZt(e)}try{return mZt(e)}finally{Error.stackTraceLimit=t}}(e);return null==t?{success:!0,value:a,rawValue:a}:await $Zt({value:a,schema:t})}catch(t){return{success:!1,error:izt.isInstance(t)?t:new izt({text:e,cause:t}),rawValue:void 0}}}async function RZt(e){return"function"==typeof e&&(e=e()),Promise.resolve(e)}var DZt,LZt,BZt,jZt,UZt,zZt,HZt,ZZt,VZt,qZt,QZt,FZt,WZt,GZt,XZt,YZt,KZt,JZt,eVt,tVt,aVt,rVt,nVt,oVt,iVt,sVt,lVt,cVt=V(()=>{wzt(),Ozt(),rZt(),cZt(),uZt(),({btoa:DZt,atob:LZt}=globalThis),BZt=({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 ezt({argument:"separator",message:`The separator "${r}" must not be part of the alphabet "${a}".`});return()=>`${e}${r}${n()}`},jZt=BZt(),UZt=/"__proto__"\s*:/,zZt=/"constructor"\s*:/,HZt=Symbol("Let zodToJsonSchema decide on which parser to use"),ZZt={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"},VZt=e=>"string"==typeof e?{...ZZt,name:e}:{...ZZt,...e},qZt=(e,t)=>_Zt(e.innerType._def,t),QZt=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},FZt=e=>(!("type"in e)||"string"!==e.type)&&"allOf"in e,WZt=void 0,GZt={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===WZt&&(WZt=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),WZt),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-_]*$/},XZt=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789"),YZt={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"},KZt=(e,t)=>{let a=(e.options instanceof Map?Array.from(e.options.values()):e.options).map((e,a)=>_Zt(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},JZt=(e,t)=>{if(t.currentPath.toString()===t.propertyPath?.toString())return _Zt(e.innerType._def,t);let a=_Zt(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","1"]});return a?{anyOf:[{not:{}},a]}:{}},eVt=(e,t)=>{if("input"===t.pipeStrategy)return _Zt(e.in._def,t);if("output"===t.pipeStrategy)return _Zt(e.out._def,t);let a=_Zt(e.in._def,{...t,currentPath:[...t.currentPath,"allOf","0"]});return{allOf:[a,_Zt(e.out._def,{...t,currentPath:[...t.currentPath,"allOf",a?"1":"0"]})].filter(e=>void 0!==e)}},tVt=(e,t)=>_Zt(e.innerType._def,t),aVt=(e,t,a)=>{switch(t){case eZt.ZodString:return yZt(e,a);case eZt.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 eZt.ZodObject:return AZt(e,a);case eZt.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 eZt.ZodBoolean:return{type:"boolean"};case eZt.ZodDate:return bZt(e,a);case eZt.ZodUndefined:return{not:{}};case eZt.ZodNull:return{type:"null"};case eZt.ZodArray:return function(e,t){let a={type:"array"};return e.type?._def&&e.type?._def?.typeName!==eZt.ZodAny&&(a.items=_Zt(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 eZt.ZodUnion:case eZt.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 YZt&&(!e._def.checks||!e._def.checks.length))){let e=a.reduce((e,t)=>{let a=YZt[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 KZt(e,t)}(e,a);case eZt.ZodIntersection:return function(e,t){let a=[_Zt(e.left._def,{...t,currentPath:[...t.currentPath,"allOf","0"]}),_Zt(e.right._def,{...t,currentPath:[...t.currentPath,"allOf","1"]})].filter(e=>!!e),r=[];return a.forEach(e=>{if(FZt(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 eZt.ZodTuple:return function(e,t){return e.rest?{type:"array",minItems:e.items.length,items:e.items.map((e,a)=>_Zt(e._def,{...t,currentPath:[...t.currentPath,"items",`${a}`]})).reduce((e,t)=>void 0===t?e:[...e,t],[]),additionalItems:_Zt(e.rest._def,{...t,currentPath:[...t.currentPath,"additionalItems"]})}:{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map((e,a)=>_Zt(e._def,{...t,currentPath:[...t.currentPath,"items",`${a}`]})).reduce((e,t)=>void 0===t?e:[...e,t],[])}}(e,a);case eZt.ZodRecord:return SZt(e,a);case eZt.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 eZt.ZodEnum:return function(e){return{type:"string",enum:Array.from(e.values)}}(e);case eZt.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 eZt.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:[YZt[e.innerType._def.typeName],"null"]};let a=_Zt(e.innerType._def,{...t,currentPath:[...t.currentPath,"anyOf","0"]});return a&&{anyOf:[a,{type:"null"}]}}(e,a);case eZt.ZodOptional:return JZt(e,a);case eZt.ZodMap:return function(e,t){return"record"===t.mapStrategy?SZt(e,t):{type:"array",maxItems:125,items:{type:"array",items:[_Zt(e.keyType._def,{...t,currentPath:[...t.currentPath,"items","items","0"]})||{},_Zt(e.valueType._def,{...t,currentPath:[...t.currentPath,"items","items","1"]})||{}],minItems:2,maxItems:2}}}(e,a);case eZt.ZodSet:return function(e,t){let a={type:"array",uniqueItems:!0,items:_Zt(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 eZt.ZodLazy:return()=>e.getter()._def;case eZt.ZodPromise:return function(e,t){return _Zt(e.type._def,t)}(e,a);case eZt.ZodNaN:case eZt.ZodNever:return{not:{}};case eZt.ZodEffects:return function(e,t){return"input"===t.effectStrategy?_Zt(e.schema._def,t):{}}(e,a);case eZt.ZodAny:case eZt.ZodUnknown:return{};case eZt.ZodDefault:return function(e,t){return{..._Zt(e.innerType._def,t),default:e.defaultValue()}}(e,a);case eZt.ZodBranded:return vZt(e,a);case eZt.ZodReadonly:return tVt(e,a);case eZt.ZodCatch:return qZt(e,a);case eZt.ZodPipeline:return eVt(e,a);case eZt.ZodFunction:case eZt.ZodVoid:case eZt.ZodSymbol:default:return}},rVt=(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("/")},nVt=(e,t)=>{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:rVt(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}},oVt=(e,t,a)=>(e.description&&(a.description=e.description),a),iVt=e=>{let t=VZt(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}]))}},sVt=(e,t)=>{let a=iVt(t),r="object"==typeof t&&t.definitions?Object.entries(t.definitions).reduce((e,[t,r])=>({...e,[t]:_Zt(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=_Zt(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},lVt=Symbol.for("vercel.ai.schema")});function uVt(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?uVt(o,n):n}return a}function dVt(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 pVt(e){if(void 0===e)return{value:void 0,state:"undefined-input"};let t=await IZt({text:e});return t.success?{value:t.value,state:"successful-parse"}:(t=await IZt({text:dVt(e)}),t.success?{value:t.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"})}function hVt(e){return e.type.startsWith("tool-")}function mVt(e){return hVt(e)||function(e){return"dynamic-tool"===e.type}(e)}function fVt(e){return e.type.split("-").slice(1).join("-")}function gVt({lastMessage:e,messageId:t}){return{message:"assistant"===e?.role?e:{id:t,metadata:void 0,role:"assistant",parts:[]},activeTextParts:{},activeReasoningParts:{},partialToolCalls:{}}}function vVt({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(mVt).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=>hVt(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:uVt(r.message.metadata,e);null!=t&&await NZt({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(hVt);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 pVt(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:fVt(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:fVt(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 NZt({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 bVt(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 yVt({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(mVt).filter(e=>!e.providerExecuted);return r.length>0&&r.every(e=>"output-available"===e.state||"output-error"===e.state)}var wVt,xVt,OVt,kVt,SVt,AVt,TVt,_Vt,CVt,EVt,PVt,MVt,NVt,$Vt,IVt,RVt,DVt,LVt,BVt,jVt,UVt,zVt,HVt,ZVt,VVt,qVt,QVt,FVt,WVt,GVt,XVt,YVt,KVt,JVt,eqt=V(()=>{cVt(),wzt(),Ozt(),wVt=Object.defineProperty,xVt=(e,t)=>{for(var a in t)wVt(e,a,{get:t[a],enumerable:!0})},kVt=`vercel.ai.error.${OVt="AI_NoObjectGeneratedError"}`,SVt=Symbol.for(kVt),TVt=class extends WUt{constructor({message:e="No object generated.",cause:t,text:a,response:r,usage:n,finishReason:o}){super({name:OVt,message:e,cause:t}),this[AVt]=!0,this.text=a,this.response=r,this.usage=n,this.finishReason=o}static isInstance(e){return WUt.hasMarker(e,kVt)}},AVt=SVt,_Vt="6.0.33",CVt=Kut([Hut(),ldt(Uint8Array),ldt(ArrayBuffer),idt(e=>globalThis.Buffer?.isBuffer(e)??!1,{message:"Must be a Buffer"})]),EVt=function(e){return new rpt({type:"lazy",getter:e})}(()=>Kut([Qut(),Hut(),Zut(),qut(),edt(Hut(),EVt.optional()),Gut(EVt)])),PVt=edt(Hut(),edt(Hut(),EVt.optional())),MVt=Xut({type:adt("text"),text:Hut(),providerOptions:PVt.optional()}),NVt=Xut({type:adt("image"),image:Kut([CVt,ldt(URL)]),mediaType:Hut().optional(),providerOptions:PVt.optional()}),$Vt=Xut({type:adt("file"),data:Kut([CVt,ldt(URL)]),filename:Hut().optional(),mediaType:Hut(),providerOptions:PVt.optional()}),IVt=Xut({type:adt("reasoning"),text:Hut(),providerOptions:PVt.optional()}),RVt=Xut({type:adt("tool-call"),toolCallId:Hut(),toolName:Hut(),input:Fut(),providerOptions:PVt.optional(),providerExecuted:qut().optional()}),DVt=Jut("type",[Xut({type:adt("text"),value:Hut(),providerOptions:PVt.optional()}),Xut({type:adt("json"),value:EVt,providerOptions:PVt.optional()}),Xut({type:adt("execution-denied"),reason:Hut().optional(),providerOptions:PVt.optional()}),Xut({type:adt("error-text"),value:Hut(),providerOptions:PVt.optional()}),Xut({type:adt("error-json"),value:EVt,providerOptions:PVt.optional()}),Xut({type:adt("content"),value:Gut(Kut([Xut({type:adt("text"),text:Hut(),providerOptions:PVt.optional()}),Xut({type:adt("media"),data:Hut(),mediaType:Hut()}),Xut({type:adt("file-data"),data:Hut(),mediaType:Hut(),filename:Hut().optional(),providerOptions:PVt.optional()}),Xut({type:adt("file-url"),url:Hut(),providerOptions:PVt.optional()}),Xut({type:adt("file-id"),fileId:Kut([Hut(),edt(Hut(),Hut())]),providerOptions:PVt.optional()}),Xut({type:adt("image-data"),data:Hut(),mediaType:Hut(),providerOptions:PVt.optional()}),Xut({type:adt("image-url"),url:Hut(),providerOptions:PVt.optional()}),Xut({type:adt("image-file-id"),fileId:Kut([Hut(),edt(Hut(),Hut())]),providerOptions:PVt.optional()}),Xut({type:adt("custom"),providerOptions:PVt.optional()})]))})]),LVt=Xut({type:adt("tool-result"),toolCallId:Hut(),toolName:Hut(),output:DVt,providerOptions:PVt.optional()}),BVt=Xut({type:adt("tool-approval-request"),approvalId:Hut(),toolCallId:Hut()}),jVt=Xut({type:adt("tool-approval-response"),approvalId:Hut(),approved:qut(),reason:Hut().optional()}),UVt=Xut({role:adt("system"),content:Hut(),providerOptions:PVt.optional()}),zVt=Xut({role:adt("user"),content:Kut([Hut(),Gut(Kut([MVt,NVt,$Vt]))]),providerOptions:PVt.optional()}),HVt=Xut({role:adt("assistant"),content:Kut([Hut(),Gut(Kut([MVt,$Vt,IVt,RVt,LVt,BVt]))]),providerOptions:PVt.optional()}),ZVt=Xut({role:adt("tool"),content:Gut(Kut([LVt,jVt])),providerOptions:PVt.optional()}),Kut([UVt,zVt,HVt,ZVt]),xVt({},{array:()=>QVt,choice:()=>FVt,json:()=>WVt,object:()=>qVt,text:()=>VVt}),VVt=()=>({name:"text",responseFormat:Promise.resolve({type:"text"}),parseCompleteOutput:async({text:e})=>e,parsePartialOutput:async({text:e})=>({partial:e}),createElementStreamTransform(){}}),qVt=({schema:e,name:t,description:a})=>{let r=EZt(e);return{name:"object",responseFormat:RZt(r.jsonSchema).then(e=>({type:"json",schema:e,...null!=t&&{name:t},...null!=a&&{description:a}})),async parseCompleteOutput({text:e},t){let a=await IZt({text:e});if(!a.success)throw new TVt({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 $Zt({value:a.value,schema:r});if(!n.success)throw new TVt({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 pVt(e);switch(t.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return{partial:t.value}}},createElementStreamTransform(){}}},QVt=({element:e,name:t,description:a})=>{let r=EZt(e);return{name:"array",responseFormat:RZt(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 IZt({text:e});if(!a.success)throw new TVt({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 TVt({message:"No object generated: response did not match schema.",cause:new pzt({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 $Zt({value:a,schema:r});if(!n.success)throw new TVt({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 pVt(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 $Zt({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])}})}}},FVt=({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 IZt({text:t});if(!r.success)throw new TVt({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 TVt({message:"No object generated: response did not match schema.",cause:new pzt({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 pVt(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(){}}),WVt=({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 IZt({text:e});if(!a.success)throw new TVt({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 pVt(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(){}}),BZt({prefix:"aitxt",size:24}),TransformStream,GVt=function(e){let t;return()=>(t??=e(),t)}(()=>MZt(Kut([Yut({type:adt("text-start"),id:Hut(),providerMetadata:PVt.optional()}),Yut({type:adt("text-delta"),id:Hut(),delta:Hut(),providerMetadata:PVt.optional()}),Yut({type:adt("text-end"),id:Hut(),providerMetadata:PVt.optional()}),Yut({type:adt("error"),errorText:Hut()}),Yut({type:adt("tool-input-start"),toolCallId:Hut(),toolName:Hut(),providerExecuted:qut().optional(),dynamic:qut().optional(),title:Hut().optional()}),Yut({type:adt("tool-input-delta"),toolCallId:Hut(),inputTextDelta:Hut()}),Yut({type:adt("tool-input-available"),toolCallId:Hut(),toolName:Hut(),input:Fut(),providerExecuted:qut().optional(),providerMetadata:PVt.optional(),dynamic:qut().optional(),title:Hut().optional()}),Yut({type:adt("tool-input-error"),toolCallId:Hut(),toolName:Hut(),input:Fut(),providerExecuted:qut().optional(),providerMetadata:PVt.optional(),dynamic:qut().optional(),errorText:Hut(),title:Hut().optional()}),Yut({type:adt("tool-approval-request"),approvalId:Hut(),toolCallId:Hut()}),Yut({type:adt("tool-output-available"),toolCallId:Hut(),output:Fut(),providerExecuted:qut().optional(),dynamic:qut().optional(),preliminary:qut().optional()}),Yut({type:adt("tool-output-error"),toolCallId:Hut(),errorText:Hut(),providerExecuted:qut().optional(),dynamic:qut().optional()}),Yut({type:adt("tool-output-denied"),toolCallId:Hut()}),Yut({type:adt("reasoning-start"),id:Hut(),providerMetadata:PVt.optional()}),Yut({type:adt("reasoning-delta"),id:Hut(),delta:Hut(),providerMetadata:PVt.optional()}),Yut({type:adt("reasoning-end"),id:Hut(),providerMetadata:PVt.optional()}),Yut({type:adt("source-url"),sourceId:Hut(),url:Hut(),title:Hut().optional(),providerMetadata:PVt.optional()}),Yut({type:adt("source-document"),sourceId:Hut(),mediaType:Hut(),title:Hut(),filename:Hut().optional(),providerMetadata:PVt.optional()}),Yut({type:adt("file"),url:Hut(),mediaType:Hut(),providerMetadata:PVt.optional()}),Yut({type:idt(e=>"string"==typeof e&&e.startsWith("data-"),{message:'Type must start with "data-"'}),id:Hut().optional(),data:Fut(),transient:qut().optional()}),Yut({type:adt("start-step")}),Yut({type:adt("finish-step")}),Yut({type:adt("start"),messageId:Hut().optional(),messageMetadata:Fut().optional()}),Yut({type:adt("finish"),finishReason:tdt(["stop","length","content-filter","tool-calls","error","other"]).optional(),messageMetadata:Fut().optional()}),Yut({type:adt("abort"),reason:Hut().optional()}),Yut({type:adt("message-metadata"),messageMetadata:Fut()})]))),BZt({prefix:"aitxt",size:24}),BZt({prefix:"aiobj",size:24}),XVt=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()})}},BZt({prefix:"aiobj",size:24}),YVt=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 RZt(this.body),r=await RZt(this.headers),n=await RZt(this.credentials),o={...pZt(r),...pZt(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:pZt(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:hZt({"Content-Type":"application/json",...l},`ai-sdk/${_Vt}`,dZt()),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 RZt(this.body),a=await RZt(this.headers),r=await RZt(this.credentials),n={...pZt(a),...pZt(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:pZt(o.headers),l=o?.credentials??r,c=await(this.fetch??globalThis.fetch)(i,{method:"GET",headers:hZt(s,`ai-sdk/${_Vt}`,dZt()),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)}},KVt=class extends YVt{constructor(e={}){super(e)}processResponseStream(e){return function({stream:e,schema:t}){return e.pipeThrough(new TextDecoderStream).pipeThrough(new sZt).pipeThrough(new TransformStream({async transform({data:e},a){"[DONE]"!==e&&a.enqueue(await IZt({text:e,schema:t}))}}))}({stream:e,schema:GVt}).pipeThrough(new TransformStream({async transform(e,t){if(!e.success)throw e.error;t.enqueue(e.value)}}))}},JVt=class{constructor({generateId:e=jZt,id:t=e(),transport:a=new KVt,messageMetadataSchema:r,dataPartSchemas:n,state:o,onError:i,onToolCall:s,onFinish:l,onData:c,sendAutomaticallyWhen:u}){this.activeResponse=void 0,this.jobExecutor=new XVt,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 bVt(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=>mVt(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=>mVt(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:gVt({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:vVt({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 tqt,aqt,rqt=V(()=>{tqt=new WeakMap,aqt=0});function nqt(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]):tqt.has(e[a])?r=tqt.get(e[a]):(r=aqt,tqt.set(e[a],aqt++)),t+="@"+r}return t}(e):String(e||""),e}var oqt,iqt=V(()=>{rqt(),oqt=function(){function e(e){void 0===e&&(e=0),this.items=new Map,this.ttl=e}return e.prototype.serializeKey=function(e){return nqt(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 sqt(){return void 0===navigator.onLine||navigator.onLine}function lqt(){return!(typeof document<"u"&&void 0!==document.visibilityState)||"hidden"!==document.visibilityState}var cqt,uqt,dqt=V(()=>{cqt=function(e){return fetch(e).then(function(e){return e.json()})},uqt={isOnline:sqt,isDocumentVisible:lqt,fetcher:cqt}});function pqt(){for(var e=this,t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];var r,n,o=hqt({},xqt),i=!1,s=!1,l=Ys(),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=hqt(hqt({},o),t[2]));var d=u?o.serverTTL:o.ttl,p="function"==typeof r?r:Ha(r);void 0===n&&(n=o.fetcher);var h=null;h||=Pa({data:void 0,error:void 0,isValidating:!0,isLoading:!0,key:null});var m=function(t,a){return mqt(e,void 0,void 0,function(){var e,r,s,l,c,u,f=this;return fqt(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 mqt(f,void 0,void 0,function(){var e,t,n;return fqt(this,function(s){switch(s.label){case 0:return(e=wqt.get(r))?[3,2]:(t=Array.isArray(r)?r:[r],n=c.apply(void 0,vqt([],gqt(t),!1)),wqt.set(r,n,o.dedupingInterval),[4,Oqt(r,n,o.cache,d)]);case 1:return s.sent(),[3,4];case 2:return[4,Oqt(r,e.data,o.cache,d)];case 3:s.sent(),s.label=4;case 4:return h.isValidating=!1,h.isLoading=!1,wqt.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 mqt(f,void 0,void 0,function(){return fqt(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 mqt(e,void 0,void 0,function(){return fqt(this,function(e){return[2,m(null,{shouldRetryOnError:!1})]})})},g=null;as(function(){var t=function(){return mqt(e,void 0,void 0,function(){return fqt(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))}),is(function(){i=!0,g&&clearTimeout(g),o.revalidateOnFocus&&(document.removeEventListener("visibilitychange",f,!1),window.removeEventListener("focus",f,!1));var e=yqt.get(p.value);e&&(e.data=e.data.filter(function(e){return e!==h}))});try{hn(p,function(e){Da(p)||(p.value=e),h.key=e,h.isValidating=!!e,function(e,t,a){var r=yqt.get(e);r?r.data.push(t):yqt.set(e,[t],a>0?a+5e3:a)}(p.value,h,d),!u&&!s&&p.value&&m(),s=!1},{immediate:!0})}catch{}return hqt(hqt({},function(e){let t=vt(e)?Array(e.length):{};for(let a in e)t[a]=Xa(e,a);return t}(h)),{mutate:function(e,t){return m(e,hqt(hqt({},t),{forceRevalidate:!0}))}})}var hqt,mqt,fqt,gqt,vqt,bqt,yqt,wqt,xqt,Oqt,kqt,Sqt,Aqt,Tqt=V(()=>{Bc(),dqt(),iqt(),hqt=function(){return hqt=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},hqt.apply(this,arguments)},mqt=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())})},fqt=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}}},gqt=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},vqt=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))},bqt=new oqt,yqt=new oqt,wqt=new oqt,xqt={cache:bqt,refreshInterval:0,ttl:0,serverTTL:1e3,dedupingInterval:2e3,revalidateOnFocus:!0,revalidateDebounce:0,shouldRetryOnError:!0,errorRetryInterval:5e3,errorRetryCount:5,fetcher:uqt.fetcher,isOnline:uqt.isOnline,isDocumentVisible:uqt.isDocumentVisible},Oqt=function(e,t,a,r){return void 0===a&&(a=bqt),void 0===r&&(r=xqt.ttl),mqt(void 0,void 0,void 0,function(){var n,o,i,s,l,c;return fqt(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=yqt.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]}})})}}),_qt=V(()=>{Tqt(),kqt=pqt}),Cqt=V(()=>{_qt(),eqt(),Bc(),kqt.default,Sqt=class{constructor(e){this.statusRef=Ha("ready"),this.errorRef=Ha(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=Ha(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}},Aqt=class extends JVt{constructor({messages:e,...t}){super({...t,state:new Sqt(e)})}},kqt.default});function Eqt({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=Ha(u?.value??""),m=Ha([]),f=Pa({}),g=Ha([]),v=Ha(wUt.DEFAULT_PROXY_URL),b=il(()=>v.value?.trim()||wUt.DEFAULT_PROXY_URL),y=Ha(),w=function(){let e=Ha(!1);return as(()=>{e.value="true"===localStorage.getItem(NUt)}),{accepted:e,accept:function(){e.value=!0,localStorage.setItem(NUt,"true")}}}(),x=Z5e(),O=aLt({plugins:[BUt({persistAuth:!0})]}),k=il(()=>d(I,{proxyUrl:b.value,persistAuth:!0})),S=function({registryDocuments:e,workspaceStore:t,baseUrl:a,proxyUrl:r,getAccessToken:n,getAgentKey:o}){let i=new Aqt({sendAutomaticallyWhen:yVt,transport:new KVt({api:`${a}/vector/openapi/chat`,headers:()=>ILt({getAccessToken:n,getAgentKey:o}),body:()=>({registryDocuments:e.value})}),async onToolCall({toolCall:e}){e.dynamic||"execute-request"===e.toolName&&"get"===e.input.method.toLowerCase()&&await yUt({documentSettings:_Ut(t),input:e.input,toolCallId:e.toolCallId,chat:i,proxyUrl:r.value})}});return i}({registryDocuments:m,workspaceStore:O,baseUrl:n,proxyUrl:b,getAccessToken:s,getAgentKey:l}),A=RLt({baseUrl:n,getAccessToken:s,getAgentKey:l}),T=il(()=>"submitted"===S.status||"streaming"===S.status&&!S.lastMessage?.parts.some(e=>"text"===e.type));hn(()=>S.status,()=>{"streaming"===S.status&&(h.value="")}),u&&hn(u,async e=>{e&&(h.value=e,w.accepted.value&&await S.sendMessage({text:h.value}))});let _=prt();async function C({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 jUt({namespace:e,slug:a,workspaceStore:O,registryUrl:t,registryDocuments:m,config:k.value,getAccessToken:s,api:A,removable:r});if(f[o]=!1,!i.success)throw n?(localStorage.getItem(DUt)&&localStorage.removeItem(DUt),i.error):(console.warn("[AGENT]: Unable to load document",i.error),Nqt(`Unable to load the document @${e}/${a}`,"warn"),i.error)}return e.forEach(({namespace:e,slug:t})=>C({namespace:e,slug:t,removable:!1})),{prompt:h,chat:S,workspaceStore:O,eventBus:x,loading:T,settingsModal:_,config:k,registryUrl:t,dashboardUrl:a,platformProxyUrl:r,baseUrl:n,registryDocuments:m,pendingDocuments:f,proxyUrl:b,proxyUrlRaw:v,mode:o,terms:w,isLoggedIn:i,addDocument:C,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 NLt.fromUnsafe(()=>fetch(`${n}/vector/registry/embeddings/${e}/${a}`,{method:"GET"}),e=>ALt("FAILED_TO_GET_EMBEDDING_STATUS",e));if(i.success&&i.data.ok){let n=await jUt({namespace:e,slug:a,workspaceStore:O,registryUrl:t,registryDocuments:m,config:k.value,getAccessToken:s,api:A,removable:r});n.success||(console.warn("[AGENT]: Unable to load document",n.error),Nqt(`Unable to load the document @${e}/${a}`,"warn"))}else console.warn("[AGENT]: Document could not be embedded"),Nqt(`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)),O.deleteDocument(LLt(e,t))},getAccessToken:s,getAgentKey:l,api:A,uploadedTmpDocumentUrl:y,curatedDocuments:g,getActiveDocumentJson:c,hideAddApi:p}}function Pqt(){let e=dn(Mqt);if(!e)throw Error("No state provided.");return e}var Mqt,Nqt,$qt=V(()=>{_Lt(),DLt(),zjt(),kUt(),SUt(),MUt(),$Ut(),UUt(),zUt(),HUt(),Bc(),zot(),Cqt(),Snt(),J(),eqt(),$Lt(),Mqt=Symbol("STATE_SYMBOL"),({toast:Nqt}=Bot())});var Iqt=V(()=>{$qt(),Bc(),zot()});var Rqt=V(()=>{$qt(),Bc()});var Dqt,Lqt,Bqt=V(()=>{$qt(),Bc()}),jqt=V(()=>{Dqt=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a}}),Uqt=V(()=>{J(),Lqt="ask-for-authentication",x({documentName:h(),uniqueIdentifier:h({typeComment:"Needed for legacy support for old clients"})})});function zqt(e,t){return Ho(),Qo("div",Hqt,[...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 Hqt,Zqt,Vqt=V(()=>{jqt(),Bc(),Hqt={class:"authenticationProvided"},Zqt=Dqt({},[["render",zqt],["__scopeId","data-v-e3416cd5"]])});function qqt(e,t){return Ho(),Qo("div",Qqt,[...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 Qqt,Fqt,Wqt,Gqt,Xqt,Yqt,Kqt,Jqt,eQt,tQt=V(()=>{jqt(),Bc(),Qqt={class:"authenticationRequired"},Fqt=Dqt({},[["render",qqt],["__scopeId","data-v-d15ef40b"]])}),aQt=V(()=>{rmt()}),rQt=V(()=>{$qt(),Bc(),RK(),aQt(),iie(),Wqt=Cn({__name:"Auth",props:{options:{},name:{},authStore:{},document:{},eventBus:{},selectedServer:{},environment:{}},setup(e){let{workspaceStore:t}=Pqt(),a=il(()=>cY(e.document?.security)),r=il(()=>EY(e.document?.components?.securitySchemes??{},e.options.authentication?.securitySchemes,e.authStore,e.name)),n=il(()=>gY(e.authStore.getAuthSelectedSchemas({type:"document",documentName:e.name}),void 0,a.value,r.value,e.options.authentication?.preferredSecurityScheme)),o=Za(),{focused:i}=function(e,t={}){let{window:a=Qoe}=t,r=il(()=>Noe(e)),n=Za(!1),o=il(()=>n.value);if(!a||!Boe(t).value)return{focused:o};let i={passive:!0};return $oe(r,Xoe,()=>n.value=!0,i),$oe(r,Yoe,()=>{var e;return n.value=((e=r.value)?.matches)?.call(e,Koe)??!1},i),{focused:o}}(o);return hn(i,a=>{a&&t.update("x-scalar-active-document",e.name)}),(t,i)=>(Ho(),Qo("div",{ref_key:"focusRef",ref:o,tabindex:"0"},[Object.keys(r.value).length?(Ho(),Fo(qa(Cht),{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))}})}),nQt=V(()=>{rQt(),Gqt=Wqt}),oQt=V(()=>{Uqt(),$qt(),Vqt(),tQt(),nQt(),Bc(),RK(),aK(),mae(),Xk(),Xqt={class:"toggleButton"},Yqt={class:"authContent"},Kqt={class:"authContentInner"},Jqt=Cn({__name:"AskForAuthentication",props:{messagePart:{}},setup(e){let{workspaceStore:t,eventBus:a,config:r,chat:n}=Pqt(),o=il(()=>e.messagePart.value.input?.documentName),i=il(()=>{if(!o.value)return;let e=t.workspace.documents[o.value];return QX(e)?e:void 0}),s=il(()=>{if(i.value)return XX(t,i.value).environment}),l=il(()=>{if(!i.value)return;let e=vK(i.value.servers,{documentUrl:i.value["x-scalar-original-source-url"]});return bK(i.value,null,null,e)}),c=il(()=>o.value&&s.value&&l.value);async function u(){await n.addToolOutput({toolCallId:e.messagePart.value.toolCallId,output:"Authentication provided.",tool:Lqt,state:"output-available"})}return(n,d)=>(Ho(),Qo("div",{class:tt(["askForAuthentication",{open:c.value}])},[Xo("div",Xqt,["output-available"===e.messagePart.value.state?(Ho(),Fo(Zqt,{key:0})):ai("",!0),"input-available"===e.messagePart.value.state?(Ho(),Fo(Fqt,{key:1})):ai("",!0),"input-available"===e.messagePart.value.state?(Ho(),Fo(qa(sae),{key:2,class:"authorizeButton",size:"xs",onClick:u},{default:sn(()=>[d[0]||=ei(" Authorize ",-1),Fs(qa($h),{weight:"bold"})]),_:1})):ai("",!0)]),Xo("div",Yqt,[Xo("div",Kqt,[o.value&&i.value&&s.value&&l.value?(Ho(),Fo(Gqt,{key:0,authStore:qa(t).auth,document:i.value,environment:s.value,eventBus:qa(a),name:o.value,options:qa(r),selectedServer:l.value},null,8,["authStore","document","environment","eventBus","name","options","selectedServer"])):ai("",!0)])])],2))}})}),iQt=V(()=>{jqt(),oQt(),eQt=Dqt(Jqt,[["__scopeId","data-v-19cedfcd"]])});function sQt(e,t){return Ho(),Qo("div",lQt,[...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 lQt,cQt,uQt=V(()=>{jqt(),Bc(),lQt={class:"autosendPaused"},cQt=Dqt({},[["render",sQt],["__scopeId","data-v-d08225db"]])});function dQt(e,t){return Ho(),Qo("div",pQt,[...t[0]||=[Xo("div",{class:"playIcon"},[Xo("svg",{fill:"currentColor",height:"32",viewBox:"0 0 256 256",width:"32",xmlns:"http://www.w3.org/2000/svg"},[Xo("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 pQt,hQt,mQt=V(()=>{jqt(),Bc(),pQt={class:"buildingRequest"},hQt=Dqt({},[["render",dQt],["__scopeId","data-v-5a1d2b16"]])});function fQt(e,t){return Ho(),Qo("div",gQt,[...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 gQt,vQt,bQt=V(()=>{jqt(),Bc(),gQt={class:"requestApproved"},vQt=Dqt({},[["render",fQt],["__scopeId","data-v-bb311586"]])});function yQt(e,t){return Ho(),Qo("div",wQt,[...t[0]||=[Xo("i",{class:"requestFailedIcon"},[Xo("svg",{fill:"currentColor",height:"100%",viewBox:"0 0 256 256",width:"100%",xmlns:"http://www.w3.org/2000/svg"},[Xo("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 wQt,xQt,OQt=V(()=>{jqt(),Bc(),wQt={class:"requestFailed"},xQt=Dqt({},[["render",yQt],["__scopeId","data-v-29140773"]])});function kQt(e,t){return Ho(),Qo("div",SQt,[...t[0]||=[Xo("svg",{fill:"currentColor",height:"16",viewBox:"0 0 256 256",width:"16",xmlns:"http://www.w3.org/2000/svg"},[Xo("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 SQt,AQt,TQt=V(()=>{jqt(),Bc(),SQt={class:"requestRejected"},AQt=Dqt({},[["render",kQt],["__scopeId","data-v-9803a54c"]])});function _Qt(e,t){return Ho(),Qo("div",CQt,[...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 CQt,EQt,PQt=V(()=>{jqt(),Bc(),CQt={class:"requestSuccess"},EQt=Dqt({},[["render",_Qt],["__scopeId","data-v-acc2c0d8"]])});var MQt,NQt=V(()=>{MQt={"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/x-ndjson":{extension:".ndjson",raw:!0,language:"json"},"application/ndjson":{extension:".ndjson",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 $Qt(e){let t="";if(e){let a=e.match(/filename\*=UTF-8''([^;]+)/)?.[1]??e.match(/filename\s*=\s*"?([^";]+)"?/)?.[1];a&&(t=IQt(a.trim()))}return t}var IQt,RQt,DQt,LQt=V(()=>{kS(),IQt=e=>{try{return decodeURIComponent(e)}catch{return e}},RQt=e=>e instanceof Blob,DQt=e=>e?Object.keys(e).map(t=>({name:t,value:e[t]??""})):[]});function BQt(e,t){return Ho(),Qo("div",jQt,[Xo("div",UQt,[Kn(e.$slots,"default")])])}var jQt,UQt,zQt,HQt,ZQt,VQt,qQt,QQt,FQt,WQt,GQt,XQt,YQt,KQt,JQt,eFt,tFt=V(()=>{jqt(),Bc(),jQt={class:"flex justify-center px-2 py-3"},UQt={class:"text-c-3 p-2 text-sm"},zQt=Dqt({},[["render",BQt]])}),aFt=V(()=>{tFt(),Bc(),HQt=["src"],ZQt=["src","type"],VQt=["src","type"],qQt=["data","type"],QQt=Cn({__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean,default:!1}},setup(e){let t=Ha(!1);return hn(()=>e.src,()=>{t.value=!1}),(a,r)=>!t.value&&e.src?(Ho(),Qo("div",{key:0,class:tt(["flex justify-center overflow-auto rounded-b",{"bg-preview p-2":e.alpha}])},["image"===e.mode?(Ho(),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,HQt)):"video"===e.mode?(Ho(),Qo("video",{key:1,autoplay:"",controls:"",width:"100%",onError:r[1]||=e=>t.value=!0},[Xo("source",{src:e.src,type:e.type},null,8,ZQt)],32)):"audio"===e.mode?(Ho(),Qo("audio",{key:2,class:"my-12",controls:"",onError:r[2]||=e=>t.value=!0},[Xo("source",{src:e.src,type:e.type},null,8,VQt)],32)):(Ho(),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,qQt))],2)):(Ho(),Fo(zQt,{key:1},{default:sn(()=>[...r[4]||=[ei("Preview unavailable",-1)]]),_:1}))}})}),rFt=V(()=>{jqt(),aFt(),FQt=Dqt(QQt,[["__scopeId","data-v-92f84612"]])}),nFt=V(()=>{Bc(),W5e(),WQt=Cn({__name:"ResponseBodyRaw",props:{content:{},language:{}},setup(e){let t=e;return(a,r)=>(Ho(),Fo(qa(S5e),{class:"codeBlock",content:t.content,lang:e.language},null,8,["content","lang"]))}})}),oFt=V(()=>{nFt(),GQt=WQt}),iFt=V(()=>{tFt(),rFt(),oFt(),Bc(),XQt=Cn({__name:"ResponseBody",props:{data:{},responseBody:{},mediaConfig:{},display:{}},setup:e=>(t,a)=>(Ho(),Qo(Bs,null,[e.mediaConfig?.raw&&"raw"===e.display&&e.mediaConfig.language?(Ho(),Fo(GQt,{key:e.responseBody.dataUrl,content:e.data,language:e.mediaConfig.language},null,8,["content","language"])):ai("",!0),e.mediaConfig?.preview&&"preview"===e.display?(Ho(),Fo(FQt,{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):(Ho(),Fo(zQt,{key:2},{default:sn(()=>[...a[0]||=[ei(" Binary file ",-1)]]),_:1}))],64))})}),sFt=V(()=>{iFt(),YQt=XQt}),lFt=V(()=>{Bc(),KQt={class:"text-c-3 text-xxs -my-1 flex justify-center gap-0.5 rounded p-0.5"},JQt=Cn({__name:"ResponseBodyToggle",props:{modelValue:{}},emits:["toggle"],setup(e,{emit:t}){let a=t;return(t,r)=>(Ho(),Qo("div",KQt,[Xo("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]||=Cc(e=>a("toggle","preview"),["stop"])}," Preview ",2),Xo("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]||=Cc(e=>a("toggle","raw"),["stop"])}," Raw ",2)]))}})}),cFt=V(()=>{lFt(),eFt=JQt});function uFt(e,t){return Ho(),Qo("div",dFt,[...t[0]||=[Xo("div",{class:"playIcon"},[Xo("svg",{fill:"currentColor",height:"32",viewBox:"0 0 256 256",width:"32",xmlns:"http://www.w3.org/2000/svg"},[Xo("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 dFt,pFt,hFt,mFt,fFt,gFt,vFt,bFt,yFt,wFt,xFt,OFt=V(()=>{jqt(),Bc(),dFt={class:"sendingRequest"},pFt=Dqt({},[["render",uFt],["__scopeId","data-v-a375f414"]])}),kFt=V(()=>{uQt(),mQt(),bQt(),OQt(),TQt(),PQt(),NQt(),LQt(),sFt(),cFt(),OFt(),Bc(),Xk(),W5e(),hFt={key:1,class:"autosendContainer"},mFt={key:2,class:"autosendContainer"},fFt={class:"requestContent"},gFt={class:"requestContentInner"},vFt={key:0,class:"code"},bFt={key:1,class:"code"},yFt={class:"requestHeaderContainer"},wFt=Cn({__name:"RequestPreview",props:{request:{},response:{},state:{}},setup(e){let t=il(()=>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=Ha(!1),r=il(()=>"requestFailed"===e.state||"requiresApproval"===e.state||a.value),n=il(()=>function({data:e,headers:t}){let a=DQt(t),r=a.find(e=>"content-type"===e.name.toLowerCase()),n=r?.value?hS(r.value):void 0;return{mimeType:n,attachmentFilename:$Qt(a.find(e=>"content-disposition"===e.name.toLowerCase())?.value??""),dataUrl:RQt(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=il(()=>function(e){let t=MQt[e];return t||(e.endsWith("+json")?{extension:".json",raw:!0,language:"json"}:void 0)}(n.value.mimeType?.essence??"")),i=Ha();function s(e){i.value=e}let l=il(()=>i.value?i.value:o.value?.raw&&!o.value.preview?"raw":o.value?.preview?"preview":"raw");return(i,c)=>(Ho(),Qo("div",{class:tt(["requestPreview",{open:r.value,succeeded:"requestSucceeded"===e.state}])},["approved"===e.state?(Ho(),Fo(vQt,{key:0})):"buildingRequest"===e.state?(Ho(),Qo("div",hFt,[Fs(hQt)])):"requiresApproval"===e.state?(Ho(),Qo("div",mFt,[Fs(cQt)])):"sendingRequest"===e.state?(Ho(),Qo("button",{key:3,class:"toggleButton",type:"button",onClick:c[0]||=e=>a.value=!a.value},[Fs(pFt),r.value?(Ho(),Fo(qa(Rm),{key:0})):(Ho(),Fo(qa(Zm),{key:1}))])):"requestSucceeded"===e.state?(Ho(),Qo("button",{key:4,class:"toggleButton",type:"button",onClick:c[1]||=e=>a.value=!a.value},[Fs(EQt),r.value?(Ho(),Fo(qa(Rm),{key:0})):(Ho(),Fo(qa(Zm),{key:1}))])):"rejected"===e.state?(Ho(),Qo("button",{key:5,class:"toggleButton",type:"button",onClick:c[2]||=e=>a.value=!a.value},[Fs(AQt),r.value?(Ho(),Fo(qa(Rm),{key:0})):(Ho(),Fo(qa(Zm),{key:1}))])):"requestFailed"===e.state?(Ho(),Fo(xQt,{key:6})):ai("",!0),Xo("div",fFt,[Xo("div",gFt,[e.request?(Ho(),Qo("div",vFt,[c[4]||=Xo("div",{class:"requestHeaderContainer"},[Xo("h1",null,"Request")],-1),Fs(qa(S5e),{class:"codeBlock",content:JSON.stringify(e.request,null,2),lang:"json"},null,8,["content"])])):ai("",!0),t.value?(Ho(),Qo("div",bFt,[Xo("div",yFt,[c[5]||=Xo("h1",null,"Response",-1),o.value?.raw&&o.value.preview?(Ho(),Fo(eFt,{key:0,modelValue:l.value,"onUpdate:modelValue":c[3]||=e=>l.value=e,onToggle:s},null,8,["modelValue"])):ai("",!0)]),Fs(YQt,{data:t.value.data,display:l.value,mediaConfig:o.value,responseBody:n.value},null,8,["data","display","mediaConfig","responseBody"])])):ai("",!0)])])],2))}})}),SFt=V(()=>{jqt(),kFt(),xFt=Dqt(wFt,[["__scopeId","data-v-1e1f4549"]])});function AFt(e){return"tool-execute-request"===e.type&&"input-available"===e.state&&"get"!==e.input?.method?.toLowerCase()}var TFt,_Ft,CFt,EFt=V(()=>{Hjt(),kUt(),MUt(),$qt(),Bc()}),PFt=V(()=>{$qt(),SFt(),EFt(),Bc(),TFt={class:"executeRequestTool"},_Ft=Cn({__name:"ExecuteRequestTool",props:{messagePart:{}},setup(e){let t=Pqt(),a=il(()=>"input-streaming"===e.messagePart.value.state?"buildingRequest":"approval-responded"===e.messagePart.value.state&&"submitted"===t.chat.status?"sendingRequest":AFt(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)=>(Ho(),Qo("div",TFt,[a.value?(Ho(),Fo(xFt,{key:0,request:e.messagePart.value.input,response:e.messagePart.value.output,state:a.value},null,8,["request","response","state"])):ai("",!0)]))}})}),MFt=V(()=>{jqt(),PFt(),CFt=Dqt(_Ft,[["__scopeId","data-v-9025b7d4"]])});function NFt(e,t){return Ho(),Qo("div",$Ft,[...t[0]||=[Xo("div",{class:"playIcon"},null,-1),ei(" Loading APIs... ",-1)]])}var $Ft,IFt,RFt,DFt,LFt,BFt,jFt,UFt,zFt=V(()=>{jqt(),Bc(),$Ft={class:"loadingApiSpecs"},IFt=Dqt({},[["render",NFt],["__scopeId","data-v-0248d9dc"]])}),HFt=V(()=>{zFt(),Bc(),RFt={key:0},DFt=Cn({__name:"GetOpenAPISpecsSummary",props:{messagePart:{},message:{}},setup(e){let t=Ha(!1);return hn(()=>e.message,()=>{let a=e.message.parts,r=a.findIndex(t=>"toolCallId"in t&&t.toolCallId===e.messagePart.value.toolCallId);t.value=!!a[r+1]}),(e,a)=>t.value?ai("",!0):(Ho(),Qo("div",RFt,[Fs(IFt)]))}})}),ZFt=V(()=>{HFt(),LFt=DFt}),VFt=V(()=>{Bc(),BFt={class:"contextItemText"},jFt=Cn({__name:"ContextItem",props:{loading:{type:Boolean}},setup:e=>(t,a)=>(Ho(),Qo("div",{class:tt(["contextItem",{shimmer:e.loading}])},[Xo("span",BFt,[Kn(t.$slots,"default",{},void 0,!0)])],2))})}),qFt=V(()=>{jqt(),VFt(),UFt=Dqt(jFt,[["__scopeId","data-v-0509fef2"]])});function QFt(e,t){return Ho(),Qo("div",FFt,[...t[0]||=[Xo("div",{class:"playIcon"},null,-1),ei(" Retrieving relevant information... ",-1)]])}var FFt,WFt,GFt,XFt,YFt,KFt,JFt,eWt,tWt,aWt,rWt,nWt=V(()=>{jqt(),Bc(),FFt={class:"sendingRequest"},WFt=Dqt({},[["render",QFt],["__scopeId","data-v-43864661"]])}),oWt=V(()=>{MUt(),$qt(),qFt(),nWt(),Bc(),SQe(),GFt={key:0},XFt={key:1,class:"operations"},YFt={class:"overflowPopover"},KFt=Cn({__name:"SearchOpenAPIOperationsTool",props:{messagePart:{},message:{}},setup(e){let t=Ha(!1);hn(()=>e.message,()=>{let a=e.message.parts,r=a.findIndex(t=>"toolCallId"in t&&t.toolCallId===e.messagePart.value.toolCallId);t.value=!!a[r+1]});let a=il(()=>{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=il(()=>a.value?.slice(0,5)),n=il(()=>a.value?.slice(5)??[]),o=Pqt();return(i,s)=>(Ho(),Qo(Bs,null,["input-available"===e.messagePart.value.state&&"streaming"===qa(o).chat.status?(Ho(),Qo("div",GFt,[Fs(WFt)])):ai("",!0),a.value?(Ho(),Qo("div",XFt,[(Ho(!0),Qo(Bs,null,Xn(r.value,e=>(Ho(),Fo(UFt,{key:e,loading:!t.value},{default:sn(()=>[ei(Yt(e),1)]),_:2},1032,["loading"]))),128)),n.value.length?(Ho(),Fo(qa(Uqe),{key:0,placement:"bottom-start"},{popover:sn(()=>[Xo("div",YFt,[(Ho(!0),Qo(Bs,null,Xn(n.value,e=>(Ho(),Fo(UFt,{key:e,loading:!t.value},{default:sn(()=>[ei(Yt(e),1)]),_:2},1032,["loading"]))),128))])]),default:sn(()=>[Fs(UFt,{loading:!t.value},{default:sn(()=>[ei(" +"+Yt(n.value.length),1)]),_:1},8,["loading"])]),_:1})):ai("",!0)])):ai("",!0)],64))}})}),iWt=V(()=>{jqt(),oWt(),JFt=Dqt(KFt,[["__scopeId","data-v-cbff70ed"]])}),sWt=V(()=>{Bc(),xQe(),eWt=Cn({__name:"Text",props:{messagePart:{}},setup:e=>(t,a)=>(Ho(),Fo(qa(Rqe),{value:e.messagePart.value.text},null,8,["value"]))})}),lWt=V(()=>{sWt(),tWt=eWt}),cWt=V(()=>{aWt={LIMIT_REACHED:"LIMIT_REACHED"}}),uWt=V(()=>{rWt=1e4});function dWt(){let{api:e}=Pqt(),t=Ha(""),a=function(e,t=200,a={}){return xoe(Ooe(t,a),e)}(async t=>{let a=await e.search(t);a.success&&(n.value=a.data.results)},200),r=il({get:()=>t.value,set:e=>{a(e),t.value=e}}),n=Ha([]);return a(""),{query:r,results:n}}var pWt,hWt,mWt,fWt,gWt,vWt,bWt,yWt,wWt,xWt,OWt,kWt,SWt,AWt,TWt,_Wt,CWt,EWt,PWt,MWt,NWt,$Wt,IWt=V(()=>{$qt(),Bc(),iie()}),RWt=V(()=>{$qt(),IWt(),Bc(),Snt(),Yte(),Fnt(),pWt={key:0,class:"catalog custom-scroll"},hWt=["onClick"],mWt={class:"left"},fWt=["src"],gWt={class:"right"},vWt={class:"item-top"},bWt={class:"version"},yWt={class:"description"},wWt=Cn({__name:"Catalog",props:{modal:{}},setup(e){let t=dWt(),a=Pqt(),r=il(()=>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)=>(Ho(),Fo(qa(grt),{class:"catalogModal",state:e.modal},{default:sn(()=>[Fs(qa(pnt),{autofocus:"",class:"searchInput",modelValue:qa(t).query.value,"onUpdate:modelValue":o[0]||=e=>qa(t).query.value=e??""},null,8,["modelValue"]),r.value.length?(Ho(),Qo("div",pWt,[(Ho(!0),Qo(Bs,null,Xn(r.value,t=>(Ho(),Qo("button",{key:t.id,class:"item",type:"button",onClick:()=>{qa(a).addDocument(t),e.modal.hide()}},[Xo("div",mWt,[t.logoUrl?(Ho(),Qo("img",{key:0,class:"logo",src:t.logoUrl},null,8,fWt)):(Ho(),Fo(qa(Dte),{key:1,class:"logo",logo:"Openapi"}))]),Xo("div",gWt,[Xo("div",vWt,[Xo("span",null,Yt(t.title),1),Xo("span",bWt,"v"+Yt(t.currentVersion),1)]),Xo("span",yWt," @"+Yt(t.namespace)+"/"+Yt(t.slug),1)])],8,hWt))),128))])):ai("",!0)]),_:1},8,["state"]))}})}),DWt=V(()=>{jqt(),RWt(),xWt=Dqt(wWt,[["__scopeId","data-v-18b2aea2"]])}),LWt=V(()=>{DWt(),Bc(),Snt(),Xk(),Pie(),OWt={class:"dropdown-item"},kWt={class:"dropdown-item"},SWt=Cn({__name:"ActionsDropdown",emits:["uploadApi"],setup(e){let t=prt();return(e,a)=>(Ho(),Qo(Bs,null,[Fs(qa(aie),{offset:{crossAxis:-5,mainAxis:5}},{items:sn(()=>[Fs(qa(gie),{onClick:a[0]||=t=>e.$emit("uploadApi")},{default:sn(()=>[Xo("div",OWt,[Fs(qa(Ww)),a[2]||=ei(" Upload API ",-1)])]),_:1}),Fs(qa(gie),{onClick:a[1]||=e=>qa(t).show()},{default:sn(()=>[Xo("div",kWt,[Fs(qa(Vb)),a[3]||=ei(" Search Catalog ",-1)])]),_:1})]),default:sn(()=>[Kn(e.$slots,"default",{},void 0,!0)]),_:3}),qa(t).open?(Ho(),Fo(xWt,{key:0,modal:qa(t)},null,8,["modal"])):ai("",!0)],64))}})}),BWt=V(()=>{jqt(),LWt(),AWt=Dqt(SWt,[["__scopeId","data-v-e2c3bd19"]])}),jWt=V(()=>{Bc(),Xk(),TWt={class:"approvalSection"},_Wt={class:"approvalText flex items-center gap-1.5"},CWt={class:"approveContainer"},EWt=Cn({__name:"ApprovalSection",emits:["approve","reject"],setup(e,{emit:t}){let a=t;return(e,t)=>(Ho(),Qo("div",TWt,[Xo("strong",_Wt,[Fs(qa(nb),{class:"text-blue size-4",weight:"bold"}),t[2]||=ei(" One or more requests require approval. ",-1)]),Xo("div",CWt,[Xo("button",{type:"button",class:"actionButton rejectButton",onClick:t[0]||=e=>a("reject")}," Reject "),Xo("button",{type:"button",class:"actionButton approveButton",onClick:t[1]||=e=>a("approve")}," Approve ")])]))}})}),UWt=V(()=>{jqt(),jWt(),PWt=Dqt(EWt,[["__scopeId","data-v-fb5102df"]])}),zWt=V(()=>{cWt(),Bc(),Xk(),MWt={key:0,class:"error gap-1.5"},NWt=Cn({__name:"ErrorMessage",props:{error:{}},setup(e){let t=[aWt.LIMIT_REACHED];return(a,r)=>t.includes(e.error.code)?ai("",!0):(Ho(),Qo("div",MWt,[Fs(qa(nb),{class:"text-red size-4",weight:"bold"}),ei(" "+Yt(e.error.message),1)]))}})}),HWt=V(()=>{jqt(),zWt(),$Wt=Dqt(NWt,[["__scopeId","data-v-130cb1d5"]])});function ZWt(){let{dashboardUrl:e,mode:t,uploadedTmpDocumentUrl:a}=Pqt(),r=il(()=>"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 VWt,qWt,QWt,FWt,WWt,GWt,XWt,YWt,KWt,JWt,eGt,tGt,aGt,rGt,nGt,oGt,iGt,sGt,lGt,cGt,uGt,dGt,pGt,hGt,mGt,fGt,gGt,vGt,bGt,yGt,wGt,xGt,OGt,kGt,SGt,AGt,TGt=V(()=>{$qt(),Bc()}),_Gt=V(()=>{SUt(),TGt(),Bc(),Xk(),VWt={class:"freeMessagesInfoSection"},qWt={class:"infoText flex items-center gap-1.5"},QWt=["href"],FWt={class:"actionsContainer"},WWt=["href"],GWt=Cn({__name:"FreeMessagesInfoSection",setup(e){let t=Ha(!1),{signupLink:a}=ZWt();function r(){t.value=!0}return(e,n)=>ln((Ho(),Qo("div",VWt,[Xo("strong",qWt,[Fs(qa(nb),{class:"text-blue size-4",weight:"bold"}),Xo("a",{class:"underline",href:qa(a),target:"_blank"},"Sign up for Agent Scalar",8,QWt),n[0]||=ei(" to continue without hitting limits. ",-1)]),Xo("div",FWt,[Xo("a",{class:"actionButton upgradeButton",href:qa(wUt).AGENT_SCALAR_DOCUMENTATION,target:"_blank",type:"button"}," Read more ",8,WWt),Xo("button",{"aria-label":"Close",class:"closeButton",type:"button",onClick:r},[Fs(qa(Ix),{class:"size-4",weight:"bold"})])])],512)),[[nc,!t.value]])}})}),CGt=V(()=>{jqt(),_Gt(),XWt=Dqt(GWt,[["__scopeId","data-v-1921dede"]])}),EGt=V(()=>{TGt(),Bc(),Xk(),YWt={class:"paymentSection"},KWt={class:"approvalText flex items-center gap-1.5"},JWt={class:"paymentContainer"},eGt=Cn({__name:"PaymentSection",setup(e){let{navigateToSignup:t}=ZWt();return(e,a)=>(Ho(),Qo("div",YWt,[Xo("strong",KWt,[Fs(qa(nb),{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)]),Xo("div",JWt,[Xo("button",{class:"actionButton approveButton",type:"button",onClick:a[0]||=(...e)=>qa(t)&&qa(t)(...e)}," Sign up "),a[2]||=ti('<div class="paymentInfo" data-v-9d163ea1><h3 data-v-9d163ea1>$0 <span data-v-9d163ea1>/ month</span></h3><div class="paymentInfoSection" data-v-9d163ea1><div class="paymentInfoItem" data-v-9d163ea1><span data-v-9d163ea1>Credits</span><span data-v-9d163ea1>100</span></div><div class="paymentInfoItem" data-v-9d163ea1><span data-v-9d163ea1>MCP Servers</span><span data-v-9d163ea1>Unlimited</span></div><div class="paymentInfoItem" data-v-9d163ea1><span data-v-9d163ea1>Base monthly total</span><span data-v-9d163ea1>$0.00</span></div></div><div class="paymentInfoSection" data-v-9d163ea1><div class="paymentInfoItem" data-v-9d163ea1><span data-v-9d163ea1>Additional Credits</span><span data-v-9d163ea1>+ $0.02 per Credit</span></div></div></div>',1)])]))}})}),PGt=V(()=>{jqt(),EGt(),tGt=Dqt(eGt,[["__scopeId","data-v-9d163ea1"]])}),MGt=V(()=>{iJe(),h_(),Bc(),aGt={class:"flex items-center flex-1 relative"},rGt={key:0,class:"select-none whitespace-nowrap text-transparent"},nGt=["aria-readonly","readonly"],oGt={key:1,class:"absolute flex items-center inset-0 select-none overflow-hidden whitespace-nowrap"},iGt={key:0,class:"text-c-2"},sGt={class:"text-transparent"},lGt={key:1,class:"text-c-2"},cGt=Cn({inheritAttrs:!1,__name:"ScalarTextInput",props:oo({readonly:{type:Boolean}},{modelValue:{},modelModifiers:{}}),emits:oo(["click"],["update:modelValue"]),setup(e,{emit:t}){let a=t,r=xo(e,"modelValue"),n=Ha(),{stylingAttrsCx:o,otherAttrs:i}=c_();function s(t){a("click",t),e.readonly?n.value?.select():n.value?.focus()}return as(()=>{"autofocus"in i.value&&n.value?.focus()}),(t,a)=>(Ho(),Fo(qa(vKe),ii({is:"div"},qa(o)("cursor-text bg-b-1 text-c-1 dark:bg-b-1.5"),{onClick:s}),{default:sn(()=>[Xo("div",aGt,[t.$slots.prefix?(Ho(),Qo("div",rGt,[Kn(t.$slots,"prefix")])):ai("",!0),ln(Xo("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},qa(i)),null,16,nGt),[[Ac,r.value]]),t.$slots.prefix||t.$slots.suffix?(Ho(),Qo("div",oGt,[t.$slots.prefix?(Ho(),Qo("span",iGt,[Kn(t.$slots,"prefix")])):ai("",!0),Xo("span",sGt,Yt(r.value||t.$attrs.placeholder),1),t.$slots.suffix?(Ho(),Qo("span",lGt,[Kn(t.$slots,"suffix")])):ai("",!0)])):ai("",!0)]),Kn(t.$slots,"aside")]),_:3},16))}})}),NGt=V(()=>{MGt(),uGt=cGt}),$Gt=V(()=>{u5e(),p5e(),NGt(),Bc(),iie(),dGt=Cn({__name:"ScalarTextInputCopy",props:oo({duration:{default:1500},editable:{type:Boolean},immediate:{type:Boolean}},{modelValue:{},modelModifiers:{},copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:["update:modelValue","update:copied"],setup(e){as(()=>{e.immediate&&t.value&&r(t.value)});let t=xo(e,"modelValue"),a=xo(e,"copied"),{copy:r,copied:n}=Uoe({legacy:!0,copiedDuring:e.duration});return hn(n,e=>a.value=e),(o,i)=>(Ho(),Fo(uGt,{modelValue:t.value,"onUpdate:modelValue":i[1]||=e=>t.value=e,readonly:!e.editable,onClick:i[2]||=e=>t.value&&qa(r)(t.value)},{aside:sn(()=>[Fs(qa(_3e),{class:"z-1 bg-b-1 hover:bg-b-1.5 dark:bg-b-2 dark:hover:bg-b-2",copied:a.value||qa(n),placement:"left",onClick:i[0]||=Cc(e=>t.value&&qa(r)(t.value),["stop"])},Yn({backdrop:sn(()=>[Fs(qa(x3e),{class:"bg-b-1 group-hover/copy-button:bg-b-1.5 dark:bg-b-1.5 dark:group-hover/copy-button:bg-b-1.5"})]),_:2},[o.$slots.copy?{name:"copy",fn:sn(()=>[Kn(o.$slots,"copy")]),key:"0"}:void 0,o.$slots.copied?{name:"copied",fn:sn(()=>[Kn(o.$slots,"copied")]),key:"1"}:void 0]),1032,["copied"])]),_:3},8,["modelValue","readonly"]))}})}),IGt=V(()=>{$Gt(),pGt=dGt}),RGt=V(()=>{NGt(),IGt()}),DGt=V(()=>{$qt(),IWt(),Bc(),Xk(),SQe(),RGt(),hGt=["onClick"],mGt=["src"],fGt={key:1,class:"searchResultsEmpty"},gGt=Cn({__name:"SearchPopover",setup(e){let t=Pqt(),a=dWt(),r=il(()=>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)=>(Ho(),Fo(qa(Uqe),{offset:0,placement:"top-start",resize:"",style:{width:"220px"}},{popover:sn(({close:e})=>[Fs(qa(uGt),{autofocus:"",class:"searchInput",modelValue:qa(a).query.value,placeholder:"Add an API","onUpdate:modelValue":n[0]||=e=>qa(a).query.value=e??""},{prefix:sn(()=>[Fs(qa(Vb),{class:"searchIcon"})]),_:1},8,["modelValue"]),r.value.length?(Ho(!0),Qo(Bs,{key:0},Xn(r.value,a=>(Ho(),Qo("button",{key:a.id,class:"searchItem",type:"button",onClick:()=>{qa(t).addDocument(a),e()}},[a.logoUrl?(Ho(),Qo("img",{key:0,class:"searchItemLogo",src:a.logoUrl},null,8,mGt)):ai("",!0),Xo("span",null,Yt(a.title),1)],8,hGt))),128)):(Ho(),Qo("span",fGt," No APIs found "))]),default:sn(()=>[Kn(e.$slots,"default",{},void 0,!0)]),_:3}))}})}),LGt=V(()=>{jqt(),DGt(),vGt=Dqt(gGt,[["__scopeId","data-v-3e0405c7"]])}),BGt=V(()=>{Bc(),Xk(),Vot(),bGt={key:0,class:"flex items-center gap-1.5"},yGt={key:0,class:"uploadText"},wGt={key:1,class:"uploadText"},xGt={key:2,class:"uploadText"},OGt={key:1,class:"uploadText flex items-center gap-1.5"},kGt={key:2,class:"uploadText flex items-center gap-1.5"},SGt=Cn({__name:"UploadSection",props:{uploadState:{}},setup(e){let t=Hot(),a=il(()=>["uploading","processing","loading"].includes(e.uploadState.type));return(r,n)=>(Ho(),Qo("div",{class:tt(["uploadSection",{error:"error"===e.uploadState.type,done:"done"===e.uploadState.type}])},[a.value?(Ho(),Qo("div",bGt,[Fs(qa(rae),{class:"text-blue",loader:{...qa(t),isLoading:!0},size:"lg"},null,8,["loader"]),"loading"===e.uploadState.type?(Ho(),Qo("strong",yGt," Loading OpenAPI document… ")):"processing"===e.uploadState.type?(Ho(),Qo("strong",wGt," Processing OpenAPI document… ")):(Ho(),Qo("strong",xGt," Uploading OpenAPI document… "))])):ai("",!0),"done"===e.uploadState.type?(Ho(),Qo("strong",OGt,[Fs(qa(mf),{class:"icon text-green"}),n[0]||=ei(" Your OpenAPI document has been processed successfully. ",-1)])):ai("",!0),"error"===e.uploadState.type?(Ho(),Qo("strong",kGt,[Fs(qa(Hx),{class:"icon text-red"}),ei(" "+Yt(e.uploadState.error),1)])):ai("",!0)],2))}})}),jGt=V(()=>{jqt(),BGt(),AGt=Dqt(SGt,[["__scopeId","data-v-9621c76b"]])});function UGt(){let{chat:e}=Pqt();return il(()=>{if(!e.error)return;let t=function(e){try{return JSON.parse(e)}catch{return}}(e.error.message);return t&&o(zGt,t)?d(zGt,t):{message:e.error.message,code:"UNKNOWN_ERROR"}})}var zGt,HGt=V(()=>{MUt(),$qt(),Bc(),J(),zGt=x({message:h(),code:h(),status:S(p())})});function ZGt(e){return e.type.startsWith("tool")&&"input-available"===e.state}var VGt,qGt,QGt,FGt,WGt,GGt,XGt,YGt,KGt,JGt,eXt,tXt,aXt,rXt,nXt,oXt,iXt,sXt,lXt,cXt,uXt,dXt,pXt,hXt=V(()=>{$qt(),Bc()}),mXt=V(()=>{cWt(),uWt(),UUt(),$qt(),EFt(),BWt(),UWt(),HWt(),CGt(),PGt(),LGt(),jGt(),HGt(),hXt(),Bc(),Xk(),EQe(),Vot(),Vle(),VGt={class:"actionContainer"},qGt=["disabled"],QGt={class:"inputActionsContainer"},FGt={class:"inputActionsLeft"},WGt={class:"addAPIButton",type:"button"},GGt={class:"addAPIButton",type:"button"},XGt=["src"],YGt=["onClick"],KGt={class:"inputActionsRight"},JGt={class:"sendCheckboxContinue"},eXt={key:0,class:"relative flex items-center gap-1.5"},tXt={class:"termsAgree",for:"agentTermsAgree"},aXt={key:5,class:"addMoreContext"},rXt={class:"ml-auto flex items-center gap-1"},nXt=["onClick"],oXt=["alt","src"],iXt=Cn({__name:"PromptForm",emits:["submit","uploadApi"],setup(e,{expose:t,emit:a}){let r=a;t({focusPrompt:function(){n.value?.focus()}});let n=Mn("agentPrompt"),o=Pqt(),i=il(()=>o.prompt.value.trim().length>0),s=il(()=>o.prompt.value.trim().length>rWt),l=il(()=>o.chat.messages.length>1&&!o.getAgentKey?.()&&b?.value?.code!==aWt.LIMIT_REACHED);function c(e){e.isComposing||o.loading.value||"Enter"===e.key&&!e.shiftKey&&(e.preventDefault(),v(),window.scrollTo(0,document.body.scrollHeight))}hn(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"}}),hn(()=>o.chat.status,e=>{("ready"===e||"error"===e)&&n.value?.focus()});let{approvalRequiredParts:u,respondToRequestApprovals:d}=function(){let e=Pqt(),t=il(()=>e.chat.messages.filter(e=>e.parts.some(AFt)).flatMap(e=>e.parts).filter(AFt));return{approvalRequiredParts:t,respondToRequestApprovals:async function(a){let r=t.value.map(async t=>{if(!a)return await e.chat.addToolOutput({tool:BLt,toolCallId:t.toolCallId,state:"output-error",errorText:"The user denied the request."});await yUt({documentSettings:_Ut(e.workspaceStore),proxyUrl:e.proxyUrl.value,input:t.input,toolCallId:t.toolCallId,chat:e.chat})});await Promise.all(r)}}}(),{pendingClientToolParts:p}=function(){let e=Pqt();return{pendingClientToolParts:il(()=>e.chat.messages.filter(e=>e.parts.some(ZGt)).flatMap(e=>e.parts).filter(ZGt))}}(),h=IUt();function m(){o.terms.accept(),"preview"===o.mode&&o.getActiveDocumentJson&&h.uploadTempDocument(o.getActiveDocumentJson(),!0)}let f=il(()=>Object.values(o.pendingDocuments).some(Boolean)),g=il(()=>{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=UGt();return(e,t)=>(Ho(),Qo("div",VGt,[qa(h).uploadState.value||f.value?(Ho(),Fo(AGt,{key:0,uploadState:qa(h).uploadState.value??{type:"loading"}},null,8,["uploadState"])):ai("",!0),qa(b)?(Ho(),Fo($Wt,{key:1,error:qa(b)},null,8,["error"])):ai("",!0),qa(u).length?(Ho(),Fo(PWt,{key:2,onApprove:t[0]||=e=>qa(d)(!0),onReject:t[1]||=e=>qa(d)(!1)})):ai("",!0),qa(b)?.code===qa(aWt).LIMIT_REACHED?(Ho(),Fo(tGt,{key:3})):ai("",!0),l.value?(Ho(),Fo(XWt,{key:4})):ai("",!0),Xo("form",{class:"promptForm",onSubmit:Cc(v,["prevent"])},[t[6]||=Xo("label",{class:"agentLabel",for:"agentTextarea"}," Type a Request To get Started ",-1),ln(Xo("textarea",{id:"agentTextarea",ref:"agentPrompt","onUpdate:modelValue":t[2]||=e=>qa(o).prompt.value=e,class:"prompt custom-scroll",disabled:qa(o).loading.value,name:"prompt",placeholder:"Ask me anything…",onKeydown:c},null,40,qGt),[[xc,qa(o).prompt.value]]),Xo("div",QGt,[Xo("div",FGt,[qa(o).hideAddApi?ai("",!0):(Ho(),Qo(Bs,{key:0},[qa(o).isLoggedIn?.value?(Ho(),Fo(AWt,{key:1,onUploadApi:t[3]||=t=>e.$emit("uploadApi")},{default:sn(()=>[Xo("button",GGt,[Fs(qa(By),{class:"size-4",weight:"bold"})])]),_:1})):(Ho(),Fo(vGt,{key:0},{default:sn(()=>[Xo("button",WGt,[Fs(qa(By),{class:"size-4",weight:"bold"})])]),_:1}))],64)),(Ho(!0),Qo(Bs,null,Xn(qa(o).registryDocuments.value,e=>(Ho(),Qo("div",{key:e.id,class:"apiPill"},[e.logoUrl?(Ho(),Qo("img",{key:0,class:"apiPillLogo",src:e.logoUrl},null,8,XGt)):ai("",!0),ei(" "+Yt(e.title)+" ",1),e.removable?(Ho(),Qo("button",{key:1,class:"apiPillRemove",type:"button",onClick:t=>qa(o).removeDocument(e)},[Fs(qa(Ix),{class:"size-4",weight:"bold"})],8,YGt)):ai("",!0)]))),128))]),Xo("div",KGt,[qa(o).loading.value?ai("",!0):(Ho(),Fo(qa(Dle),{key:0,content:"Settings"},{default:sn(()=>[Fs(qa(tQe),{class:"settingsButton h-7 w-7 p-1.5",icon:qa(Cb),label:"Scalar",size:"md",weight:"bold",onClick:t[4]||=e=>qa(o).settingsModal.show()},null,8,["icon"])]),_:1})),Xo("div",JGt,[qa(o).terms.accepted.value||"preview"!==qa(o).mode?ai("",!0):(Ho(),Qo("div",eXt,[Xo("input",{id:"agentTermsAgree",class:"sr-only",type:"checkbox",onChange:m},null,32),Xo("label",tXt,[Fs(qa(mf),{class:"termsAgreeIcon",weight:"bold"}),t[5]||=ei(" Agree to Terms & Conditions ",-1)])])),qa(o).loading.value?(Ho(),Fo(qa(rae),{key:2,class:"loader h-7 w-7",loader:{isLoading:qa(o).loading.value,isValid:!1,clear:async()=>{},invalidate:async()=>{},isInvalid:!1,isActive:!1,validate:async()=>{},start:()=>{}},size:"2xl"},null,8,["loader"])):(Ho(),Fo(qa(tQe),{key:1,class:"sendButton h-7 w-7 p-1.5",disabled:g.value,icon:qa(zh),label:"Scalar",size:"md",type:"submit",weight:"bold"},null,8,["disabled","icon"]))])])])],32),qa(o).chat.messages.length<=1&&!qa(o).hideAddApi?(Ho(),Qo("div",aXt,[t[7]||=Xo("span",null,"Load additional APIs",-1),Xo("div",rXt,[(Ho(!0),Qo(Bs,null,Xn(qa(o).curatedDocuments.value,e=>(Ho(),Qo("button",{key:e.id,class:"addAPIContext",type:"button",onClick:t=>qa(o).addDocument(e)},[e.logoUrl?(Ho(),Qo("img",{key:0,alt:e.title,class:"size-4",src:e.logoUrl},null,8,oXt)):ai("",!0)],8,nXt))),128))])])):ai("",!0)]))}})}),fXt=V(()=>{jqt(),mXt(),sXt=Dqt(iXt,[["__scopeId","data-v-ba1161a7"]])}),gXt=V(()=>{$qt(),iQt(),MFt(),ZFt(),iWt(),lWt(),fXt(),Bc(),lXt={class:"chat"},cXt={key:0},uXt={class:"formContainer"},dXt=Cn({__name:"Chat",emits:["submit","uploadApi"],setup(e,{emit:t}){let a=t,r=Pqt();return(e,t)=>(Ho(),Qo(Bs,null,[Xo("div",lXt,[(Ho(!0),Qo(Bs,null,Xn(qa(r).chat.messages,e=>(Ho(),Qo(Bs,{key:e.id},["user"===e.role?(Ho(!0),Qo(Bs,{key:0},Xn(e.parts,(t,a)=>(Ho(),Qo("div",{key:`${e.id}-${a}`,class:"userMessage"},["text"===t.type?(Ho(),Qo("p",cXt,Yt(t.text),1)):ai("",!0)]))),128)):ai("",!0),"assistant"===e.role?(Ho(!0),Qo(Bs,{key:1},Xn(e.parts,(t,a)=>(Ho(),Qo("div",{key:`${e.id}-${a}`},["text"===t.type?(Ho(),Fo(tWt,{key:0,messagePart:Ga(t)},null,8,["messagePart"])):ai("",!0),t.type===`tool-${qa("execute-request")}`?(Ho(),Fo(CFt,{key:1,messagePart:Ga(t)},null,8,["messagePart"])):ai("",!0),t.type===`tool-${qa("search-openapi-operations")}`?(Ho(),Fo(JFt,{key:2,message:Pa(e),messagePart:Ga(t)},null,8,["message","messagePart"])):ai("",!0),t.type===`tool-${qa("summarize-openapi-specs")}`?(Ho(),Fo(LFt,{key:3,message:Pa(e),messagePart:Ga(t)},null,8,["message","messagePart"])):ai("",!0),t.type===`tool-${qa("ask-for-authentication")}`?(Ho(),Fo(eQt,{key:4,message:Pa(e),messagePart:Ga(t)},null,8,["message","messagePart"])):ai("",!0)]))),128)):ai("",!0)],64))),128)),t[2]||=Xo("div",{class:"spacer"},null,-1)]),Xo("div",uXt,[Fs(sXt,{onSubmit:t[0]||=e=>a("submit"),onUploadApi:t[1]||=e=>a("uploadApi")})])],64))}})}),vXt=V(()=>{jqt(),gXt(),pXt=Dqt(dXt,[["__scopeId","data-v-6573ec87"]])});function bXt(e,t){return Ho(),Qo("svg",yXt,[...t[0]||=[Xo("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 yXt,wXt,xXt,OXt,kXt,SXt,AXt,TXt,_Xt,CXt,EXt,PXt,MXt,NXt,$Xt,IXt,RXt,DXt,LXt,BXt,jXt,UXt,zXt,HXt,ZXt,VXt,qXt,QXt,FXt,WXt,GXt,XXt=V(()=>{jqt(),Bc(),yXt={fill:"none",height:"54",viewBox:"0 0 64 54",width:"64",xmlns:"http://www.w3.org/2000/svg"},wXt=Dqt({},[["render",bXt]])}),YXt=V(()=>{SUt(),$qt(),fXt(),XXt(),Bc(),xXt={class:"startContainer"},OXt={class:"disclaimerText"},kXt=["href"],SXt=["href"],AXt=Cn({__name:"Start",emits:["submit","uploadApi"],setup(e,{emit:t}){let a=t,{mode:r}=Pqt();return(e,t)=>(Ho(),Qo("div",xXt,[Fs(wXt,{class:"agentLogo"}),t[4]||=Xo("p",{class:"promptText"},"How can I help you today?",-1),Fs(sXt,{ref:"promptFormField",onSubmit:t[0]||=e=>a("submit"),onUploadApi:t[1]||=e=>a("uploadApi")},null,512),Xo("p",OXt,["preview"===qa(r)?(Ho(),Qo(Bs,{key:0},[ei(" By messaging Agent Scalar your OpenAPI document will be temporarily uploaded to Scalar's servers. You must agree to our ")],64)):(Ho(),Qo(Bs,{key:1},[ei("By messaging Agent Scalar you agree to our ")],64)),Xo("a",{class:"disclaimerLink",href:qa(wUt).TERMS_AND_CONDITIONS,target:"_blank"},"Terms",8,kXt),t[2]||=ei(" and ",-1),Xo("a",{class:"disclaimerLink",href:qa(wUt).PRIVACY_POLICY,target:"_blank"},"Privacy Policy",8,SXt),t[3]||=ei(". ",-1)])]))}})}),KXt=V(()=>{jqt(),YXt(),TXt=Dqt(AXt,[["__scopeId","data-v-f9ec1d34"]])}),JXt=V(()=>{$qt(),vXt(),KXt(),Bc(),_Xt={class:"wrapper"},CXt=Cn({__name:"Layout",emits:["submit","uploadApi"],setup(e,{emit:t}){let a=t,{chat:r}=Pqt();return(e,t)=>(Ho(),Qo("div",_Xt,[qa(r).messages.length&&(qa(r).messages.length>1||"submitted"!==qa(r).status)?(Ho(),Fo(pXt,{key:0,onSubmit:t[0]||=e=>a("submit"),onUploadApi:t[1]||=e=>a("uploadApi")})):(Ho(),Fo(TXt,{key:1,onSubmit:t[2]||=e=>a("submit"),onUploadApi:t[3]||=e=>a("uploadApi")}))]))}})}),eYt=V(()=>{jqt(),JXt(),EXt=Dqt(CXt,[["__scopeId","data-v-f1eee0af"]])}),tYt=V(()=>{Bc(),mae(),Xk(),sJe(),PXt={class:"overflow-x-auto"},MXt={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"},NXt={class:"overflow-x-auto"},$Xt=Cn({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){let r=a,n=il(()=>e.servers.map(e=>({id:e.url,label:e.url}))),o=il(()=>e.selectedServer?.url?.replace(/\/$/,"")||""),i=il(()=>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?(Ho(),Fo(qa(pKe),{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:sn(()=>[Fs(qa(sae),{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:sn(()=>[a[1]||=Xo("span",{class:"sr-only"},"Server:",-1),Xo("span",PXt,Yt(o.value||"Select a server"),1),Fs(qa(Rm),{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"])):(Ho(),Qo("div",MXt,[a[2]||=Xo("span",{class:"sr-only"},"Server:",-1),Xo("span",NXt,Yt(o.value),1)]))}})}),aYt=V(()=>{tYt(),IXt=$Xt}),rYt=V(()=>{ybt()}),nYt=V(()=>{aYt(),Bc(),xQe(),rYt(),RXt=["id"],DXt=Cn({__name:"ServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=En(),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)=>(Ho(),Qo(Bs,null,[o[0]||=Xo("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),Xo("div",{id:qa(t),class:tt(["border",{"rounded-b-xl":!e.selectedServer?.description&&!e.selectedServer?.variables}])},[e.servers.length?(Ho(),Fo(IXt,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:qa(t),"onUpdate:modelValue":a},null,8,["selectedServer","servers","target"])):ai("",!0)],10,RXt),Fs(qa(avt),{layout:"reference",variables:e.selectedServer?.variables,"onUpdate:variable":r},null,8,["variables"]),e.selectedServer?.description?(Ho(),Fo(qa(Rqe),{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))}})}),oYt=V(()=>{nYt(),LXt=DXt}),iYt=V(()=>{$qt(),nQt(),oYt(),Bc(),RK(),BXt={class:"docSettings"},jXt=Cn({__name:"DocSettings",props:{document:{},name:{}},setup(e){let{workspaceStore:t,config:a,eventBus:r}=Pqt(),n=il(()=>XX(t,e.document).environment),o=il(()=>{let t=vK(e.document.servers,{documentUrl:e.document["x-scalar-original-source-url"]});return bK(e.document,null,null,t)}),i=il(()=>e.document.components?.securitySchemes??{});return(s,l)=>(Ho(),Qo("div",BXt,[Xo("div",null,[Fs(Gqt,{authStore:qa(t).auth,document:e.document,environment:n.value,eventBus:qa(r),name:e.name,options:qa(a),securitySchemes:i.value,selectedServer:o.value},null,8,["authStore","document","environment","eventBus","name","options","securitySchemes","selectedServer"])]),Xo("div",null,[Fs(LXt,{eventBus:qa(r),selectedServer:o.value,servers:e.document.servers??[]},null,8,["eventBus","selectedServer","servers"])])]))}})}),sYt=V(()=>{jqt(),iYt(),UXt=Dqt(jXt,[["__scopeId","data-v-01a25619"]])}),lYt=V(()=>{SUt(),$qt(),sYt(),Bc(),Snt(),aK(),Xk(),RGt(),zXt={class:"settingsHeading"},HXt={class:"documentList"},ZXt=["onClick"],VXt={key:0},qXt={key:1,class:"noDocuments"},QXt={class:"proxyUrlContainer"},FXt=["href"],WXt=Cn({__name:"Settings",props:{modalState:{}},setup(e){let{workspaceStore:t,proxyUrlRaw:a}=Pqt();function r(e){t.update("x-scalar-active-document",e)}return(n,o)=>(Ho(),Fo(qa(grt),{class:"settingsModal",state:e.modalState},{default:sn(()=>[Xo("div",zXt,[o[1]||=Xo("h1",null,"Settings",-1),Fs(qa(fyt),{class:"colorToggle ml-auto"})]),Xo("div",HXt,[Object.entries(qa(t).workspace.documents).length?(Ho(!0),Qo(Bs,{key:0},Xn(Object.entries(qa(t).workspace.documents),([e,a])=>(Ho(),Qo("div",{key:e,class:"document"},[Xo("button",{class:tt(["documentName",{documentNameActive:qa(t).workspace.activeDocument===a}]),type:"button",onClick:t=>r(e)},[ei(" @"+Yt(e)+" ",1),qa(t).workspace.activeDocument===a?(Ho(),Fo(qa(Rm),{key:0})):(Ho(),Fo(qa(Zm),{key:1}))],10,ZXt),qa(t).workspace.activeDocument===a&&qa(QX)(a)?(Ho(),Qo("div",VXt,[Fs(UXt,{document:a,name:e},null,8,["document","name"])])):ai("",!0)]))),128)):(Ho(),Qo("div",qXt," There's no API definition loaded. Use the + button to load APIs. "))]),Xo("div",QXt,[o[3]||=Xo("label",{for:"proxyUrl"},"CORS Proxy",-1),Xo("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),Xo("a",{class:"underline",href:qa(wUt).PROXY_SOURCE_CODE,target:"_blank"}," Read more ",8,FXt)]),Fs(qa(uGt),{id:"proxyUrl",modelValue:qa(a),"onUpdate:modelValue":o[0]||=e=>za(a)?a.value=e:null,label:"Proxy URL",placeholder:qa(wUt).DEFAULT_PROXY_URL},null,8,["modelValue","placeholder"])])]),_:1},8,["state"]))}})}),cYt=V(()=>{jqt(),lYt(),GXt=Dqt(WXt,[["__scopeId","data-v-dd2544e6"]])});var uYt,dYt=V(()=>{Bc(),$at(),uYt=(e,t,a)=>async r=>{let n=await(a[e]?.onBeforeExecute?.(r))??r;return await t(n),await(a[e]?.onAfterExecute?.(n)),n}});function pYt({eventBus:e,isSidebarOpen:t,requestBodyCompositionSelection:a,sidebarState:r,modalState:n,store:o}){(function({eventBus:e,store:t,hooks:a}){let r=il(()=>pat(t.value)),n=({collectionType:e})=>"document"===e?r.value.active():r.value.workspace();e.on("workspace:update:active-proxy",e=>uYt("workspace:update:active-proxy",r.value.workspace().workspace.updateActiveProxy,a)(e)),e.on("workspace:update:color-mode",e=>uYt("workspace:update:color-mode",r.value.workspace().workspace.updateColorMode,a)(e)),e.on("workspace:update:theme",e=>uYt("workspace:update:theme",r.value.workspace().workspace.updateTheme,a)(e)),e.on("workspace:update:selected-client",e=>uYt("workspace:update:selected-client",r.value.workspace().workspace.updateSelectedClient,a)(e)),e.on("workspace:update:selected-example",e=>uYt("workspace:update:selected-example",r.value.workspace().workspace.updateSelectedExample,a)(e)),e.on("workspace:update:active-environment",e=>uYt("workspace:update:active-environment",r.value.workspace().workspace.updateActiveEnvironment,a)(e)),e.on("document:update:extension",e=>uYt("document:update:extension",r.value.active().document.updateDocumentExtension,a)(e)),e.on("document:update:icon",e=>uYt("document:update:icon",r.value.active().document.updateDocumentIcon,a)(e)),e.on("document:update:info",e=>uYt("document:update:info",r.value.active().document.updateDocumentInfo,a)(e)),e.on("document:update:watch-mode",e=>uYt("document:update:watch-mode",r.value.active().document.updateWatchMode,a)(e)),e.on("document:create:empty-document",e=>uYt("document:create:empty-document",r.value.active().document.createEmptyDocument,a)(e)),e.on("document:delete:document",e=>uYt("document:delete:document",r.value.active().document.deleteDocument,a)(e)),e.on("environment:upsert:environment",e=>uYt("environment:upsert:environment",n(e).environment.upsertEnvironment,a)(e)),e.on("environment:delete:environment",e=>uYt("environment:delete:environment",n(e).environment.deleteEnvironment,a)(e)),e.on("environment:upsert:environment-variable",e=>uYt("environment:upsert:environment-variable",n(e).environment.upsertEnvironmentVariable,a)(e)),e.on("environment:delete:environment-variable",e=>uYt("environment:delete:environment-variable",n(e).environment.deleteEnvironmentVariable,a)(e)),e.on("cookie:upsert:cookie",async e=>{await uYt("cookie:upsert:cookie",n(e).cookie.upsertCookie,a)(e)}),e.on("cookie:delete:cookie",async e=>{await uYt("cookie:delete:cookie",n(e).cookie.deleteCookie,a)(e)}),e.on("auth:delete:security-scheme",e=>uYt("auth:delete:security-scheme",r.value.active().auth.deleteSecurityScheme,a)(e)),e.on("auth:update:active-index",e=>uYt("auth:update:active-index",r.value.active().auth.updateSelectedAuthTab,a)(e)),e.on("auth:update:security-scheme",e=>uYt("auth:update:security-scheme",r.value.active().auth.updateSecurityScheme,a)(e)),e.on("auth:update:selected-scopes",e=>uYt("auth:update:selected-scopes",r.value.active().auth.updateSelectedScopes,a)(e)),e.on("auth:upsert:scopes",e=>uYt("auth:upsert:scopes",r.value.active().auth.upsertScope,a)(e)),e.on("auth:delete:scopes",e=>uYt("auth:delete:scopes",r.value.active().auth.deleteScope,a)(e)),e.on("auth:update:selected-security-schemes",e=>uYt("auth:update:selected-security-schemes",r.value.active().auth.updateSelectedSecuritySchemes,a)(e)),e.on("auth:clear:selected-security-schemes",e=>uYt("auth:clear:selected-security-schemes",r.value.active().auth.clearSelectedSecuritySchemes,a)(e)),e.on("auth:update:security-scheme-secrets",e=>uYt("auth:update:security-scheme-secrets",r.value.active().auth.updateSecuritySchemeSecrets,a)(e)),e.on("auth:clear:security-scheme-secrets",e=>uYt("auth:clear:security-scheme-secrets",r.value.active().auth.clearSecuritySchemeSecrets,a)(e)),e.on("server:initialize:servers",e=>uYt("server:initialize:servers",r.value.active().server.initializeServers,a)(e)),e.on("server:add:server",e=>uYt("server:add:server",r.value.active().server.addServer,a)(e)),e.on("server:update:server",e=>uYt("server:update:server",r.value.active().server.updateServer,a)(e)),e.on("server:delete:server",e=>uYt("server:delete:server",r.value.active().server.deleteServer,a)(e)),e.on("server:clear:servers",e=>uYt("server:clear:servers",r.value.active().server.clearServers,a)(e)),e.on("server:update:variables",e=>uYt("server:update:variables",r.value.active().server.updateServerVariables,a)(e)),e.on("server:update:selected",e=>uYt("server:update:selected",r.value.active().server.updateSelectedServer,a)(e)),e.on("asyncapi-server:update:selected",e=>uYt("asyncapi-server:update:selected",r.value.active().server.updateSelectedAsyncApiServer,a)(e)),e.on("asyncapi-server:update:variables",e=>uYt("asyncapi-server:update:variables",r.value.active().server.updateAsyncApiServerVariables,a)(e)),e.on("operation:create:operation",e=>uYt("operation:create:operation",r.value.active().operation.createOperation,a)(e)),e.on("operation:update:pathMethod",e=>uYt("operation:update:pathMethod",r.value.active().operation.updateOperationPathMethod,a)(e)),e.on("operation:update:meta",e=>uYt("operation:update:meta",r.value.active().operation.updateOperationMeta,a)(e)),e.on("operation:delete:operation",e=>uYt("operation:delete:operation",r.value.active().operation.deleteOperation,a)(e)),e.on("operation:create:draft-example",e=>uYt("operation:create:draft-example",r.value.active().operation.createOperationDraftExample,a)(e)),e.on("operation:delete:example",e=>uYt("operation:delete:example",r.value.active().operation.deleteOperationExample,a)(e)),e.on("operation:rename:example",e=>uYt("operation:rename:example",r.value.active().operation.renameOperationExample,a)(e)),e.on("operation:upsert:parameter",e=>uYt("operation:upsert:parameter",r.value.active().operation.upsertOperationParameter,a)(e)),e.on("operation:update:extra-parameters",e=>uYt("operation:update:extra-parameters",r.value.active().operation.updateOperationExtraParameters,a)(e)),e.on("operation:delete:parameter",e=>uYt("operation:delete:parameter",r.value.active().operation.deleteOperationParameter,a)(e)),e.on("operation:delete-all:parameters",e=>uYt("operation:delete-all:parameters",r.value.active().operation.deleteAllOperationParameters,a)(e)),e.on("operation:update:extension",e=>uYt("operation:update:extension",r.value.active().operation.updateOperationExtension,a)(e)),e.on("operation:update:requestBody:contentType",e=>uYt("operation:update:requestBody:contentType",r.value.active().operation.updateOperationRequestBodyContentType,a)(e)),e.on("operation:update:requestBody:value",e=>uYt("operation:update:requestBody:value",r.value.active().operation.updateOperationRequestBodyExample,a)(e)),e.on("operation:update:requestBody:formValue",e=>uYt("operation:update:requestBody:formValue",r.value.active().operation.updateOperationRequestBodyFormValue,a)(e)),e.on("operation:reload:history",e=>uYt("operation:reload:history",r.value.active().operation.reloadOperationHistory,a)(e)),e.on("tag:create:tag",e=>uYt("tag:create:tag",r.value.active().tag.createTag,a)(e)),e.on("tag:edit:tag",e=>uYt("tag:edit:tag",r.value.active().tag.editTag,a)(e)),e.on("tag:delete:tag",e=>uYt("tag:delete:tag",r.value.active().tag.deleteTag,a)(e)),e.on("tabs:add:tab",e=>uYt("tabs:add:tab",r.value.workspace().tabs.addTab,a)(e)),e.on("tabs:close:tab",e=>uYt("tabs:close:tab",r.value.workspace().tabs.closeTab,a)(e)),e.on("tabs:close:other-tabs",e=>uYt("tabs:close:other-tabs",r.value.workspace().tabs.closeOtherTabs,a)(e)),e.on("tabs:focus:tab",e=>uYt("tabs:focus:tab",r.value.workspace().tabs.focusTab,a)(e)),e.on("tabs:focus:tab-last",e=>uYt("tabs:focus:tab-last",r.value.workspace().tabs.focusLastTab,a)(e)),e.on("tabs:navigate:previous",e=>uYt("tabs:navigate:previous",r.value.workspace().tabs.navigatePreviousTab,a)(e)),e.on("tabs:navigate:next",e=>uYt("tabs:navigate:next",r.value.workspace().tabs.navigateNextTab,a)(e)),e.on("tabs:update:tabs",e=>uYt("tabs:update:tabs",r.value.workspace().tabs.updateTabs,a)(e)),e.on("hooks:on:request:complete",e=>uYt("hooks:on:request:complete",r.value.active().operation.addResponseToHistory,a)(e))})({eventBus:e,store:Ha(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=>{let t=e&&"requestBodyCompositionSelection"in e&&e.requestBodyCompositionSelection?e.requestBodyCompositionSelection:hYt;if(!e)return a.value=t,void n.show();let i=r.state.selectedItem.value;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:QX(t)?t["x-scalar-navigation"]?.id??"":"",path:e.path,method:e.method,example:e.exampleName})?.id??"")}n.open&&r.state.selectedItem.value===i||(a.value=t),n.show()})}var hYt,mYt,fYt,gYt,vYt,bYt,yYt,wYt,xYt,OYt,kYt,SYt,AYt,TYt,_Yt,CYt,EYt,PYt,MYt,NYt,$Yt,IYt=V(()=>{dYt(),Bc(),aK(),hYt=Object.freeze({})}),RYt=V(()=>{hJe(),cK(),mYt=e=>{if(!0===e)return[];if(!e||Array.isArray(e)&&0===e.length)return CKe;let t=new Set(CKe);if(Array.isArray(e))for(let a of e){let e=_Ke[a];if(e)for(let r of e)t.delete(`${a}/${r}`);else if(a.includes("/"))t.delete(a);else for(let e of uY(_Ke))t.delete(`${e}/${a}`)}else if("object"==typeof e)for(let[a,r]of Object.entries(e))if(!0===r){let e=_Ke[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)}}),DYt=V(()=>{aK(),oK(),nK(),rat(),fYt=e=>"example"===e.type,gYt=e=>{let t=e.store.workspace.documents[e.documentSlug??""];return QX(t)?t:void 0},vYt=(e,t)=>{if("default"!==t||void 0!==e.workspace.documents[t])return t;let a=e.workspace["x-scalar-active-document"];return a&&QX(e.workspace.documents[a])?a:Object.entries(e.workspace.documents).find(([,e])=>QX(e))?.[0]},bYt=(e,t,a=!1)=>{let r=gYt(e);if(r)return"default"===t?Object.keys(a?r.webhooks??{}:r.paths??{})[0]:t},yYt=(e,t,a,r=!1)=>{let n=gYt(e);if(n&&t){if("default"===a){let e=JX(r?n.webhooks?.[t]:n.paths?.[t]);return e?Object.keys(e).filter(YX)[0]:void 0}return YX(a)?a:void 0}},wYt=(e,t,a)=>{if(!gYt(e)||"operation"!==t?.type)return"default";let r=t.children?.filter(fYt)??[],n=r.find(e=>e.name===a);return n?n.name:"default"===a?r[0]?.name??"default":"default"},xYt=(e,t)=>{let a=vYt(e,t.documentSlug),r={store:e,documentSlug:a},n=t.isWebhook??!1,o=bYt(r,t.path,n),i=yYt(r,o,t.method,n),s=n?{isWebhook:!0}:{},l=gYt(r)?.["x-scalar-navigation"];if(!l)return{documentSlug:a,path:o,method:i,example:"default",...s};let c=b9e(l).get(`${o}|${i}`)?.find(e=>e.type===(n?"webhook":"operation"));return{documentSlug:a,path:o,method:i,example:wYt(r,c,t.example),...s}}}),LYt=V(()=>{B_(),OYt=({document:e,path:t,method:a,example:r,isWebhook:n=!1})=>JSON.stringify([e,n?"webhook":void 0,t,a,r].filter(N_))}),BYt=V(()=>{LYt(),Bc(),aK(),rat(),kYt=({workspaceStore:e,documentSlug:t,path:a,method:r,exampleName:n,isWebhook:o,route:i})=>{let s=o??il(()=>!1),l=il(()=>{let a=e?.workspace.documents[Qa(t)??""];return QX(a)?a["x-scalar-navigation"]?.children??[]:[]}),c=VEt(l),u=il(()=>ZEt({items:l.value,nestedKey:"children",filter:e=>"operation"===e.type||"example"===e.type||"webhook"===e.type,getId:e=>{if("webhook"===e.type)return OYt({document:Qa(t)??"",path:e.name,method:e.method,isWebhook:!0});let a=f9e("operation",e);return OYt({document:Qa(t)??"",path:a?.path,method:a?.method,example:"example"===e.type?e.name:void 0})}})),d=e=>u.value.get(OYt({document:e.document,path:e.path,method:e.method,example:e.example,isWebhook:e.isWebhook}))||u.value.get(OYt({document:e.document,path:e.path,method:e.method,isWebhook:e.isWebhook}));return hn([t,a,r,n,s],([e,t,a,r,n])=>{if(!e)return void c.setSelected(null);let o=d({document:e,path:t,method:a,example:r,isWebhook:n});o&&(c.setSelected(o.id),c.setExpanded(o.id,!0))},{immediate:!0}),{handleSelectItem:e=>{let a=c.getEntryById(e);if(a){if("operation"===a.type||"example"===a.type){if(c.isSelected(e))return void c.setExpanded(e,!c.isExpanded(e));let r=f9e("operation",a),n=qEt("example",a);return n?(c.setSelected(n.id),c.setExpanded(n.id,!0)):c.setSelected(e),r?i({documentSlug:Qa(t),path:r.path,method:r.method,example:n?.name??"default"}):void 0}if("webhook"===a.type)return c.setSelected(e),i({documentSlug:Qa(t),path:a.name,method:a.method,example:"default",isWebhook:!0});c.setExpanded(e,!c.isExpanded(e))}else console.warn(`Could not find sidebar entry with id ${e} to select`)},state:c,getEntryByLocation:d}}}),jYt=V(()=>{_le(),AYt={web:SYt={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:{...SYt,Escape:{event:"ui:close:client-modal",modifiers:[]},l:{event:"ui:focus:send-button",modifiers:["default"]}},desktop:{...SYt,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"]}}},TYt=new Set(["Escape","ArrowDown","ArrowUp","Enter"]),_Yt=(e,t)=>t.length>0&&t.map(e=>"default"===e?Sle()?"metaKey":"ctrlKey":e).every(t=>!0===e[t]),CYt=(e,t)=>{if(!(e.target instanceof HTMLElement))return!1;let a=e.target;return"INPUT"===a.tagName?!TYt.has(t):"TEXTAREA"===a.tagName||"true"===a.contentEditable||a.hasAttribute("contenteditable")},EYt=(e,t,a)=>{let r=" "===e.key?"Space":e.key,n=AYt[a][r];if(!n)return;let o={event:e};"Escape"!==r?_Yt(e,n.modifiers)?t.emit(n.event,o,{skipUnpackProxy:!0}):n.modifiers.length>0||CYt(e,r)||t.emit(n.event,o,{skipUnpackProxy:!0}):t.emit(n.event,o,{skipUnpackProxy:!0})}}),UYt=V(()=>{jYt(),Bc(),PYt=(e,t,a)=>{let r=r=>{Qa(a)||EYt(r,e,t)};as(()=>window.addEventListener("keydown",r)),os(()=>window.removeEventListener("keydown",r))}}),zYt=V(()=>{Bc(),MYt="scalar-dragging",NYt=Cn({__name:"Resize",props:{width:{}},emits:["update:width"],setup(e,{emit:t}){let a=t,r=Ha(!1),n=t=>{t.preventDefault();let n=t.clientX,o=e.width,i=e=>{r.value=!0,document.body.classList.add(MYt);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(MYt),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)=>(Ho(),Qo("div",{class:"relative",style:Je({width:`${e.width}px`})},[Kn(t.$slots,"default",{},void 0,!0),Xo("div",{class:"resizer",onMousedown:n},null,32)],4))}})}),HYt=V(()=>{kh(),zYt(),$Yt=yh(NYt,[["__scopeId","data-v-e2c54c18"]])});var ZYt=V(()=>{ole()});function VYt(e){let t=[];function a(e,r){e.forEach(e=>{(function(e,t,a){if("operation"===e.type){let r=q_(eY(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&&!0!==e.isTagGroup)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.isTagGroup)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 qYt,QYt,FYt,WYt,GYt,XYt,YYt,KYt,JYt,eKt,tKt,aKt,rKt,nKt,oKt,iKt,sKt,lKt,cKt,uKt,dKt,pKt,hKt,mKt,fKt,gKt,vKt,bKt,yKt,wKt,xKt,OKt,kKt,SKt,AKt,TKt,_Kt,CKt,EKt,PKt,MKt,NKt,$Kt,IKt,RKt,DKt,LKt,BKt,jKt,UKt,zKt,HKt,ZKt,VKt,qKt,QKt,FKt,WKt,GKt,XKt,YKt,KKt,JKt,eJt,tJt,aJt,rJt,nJt,oJt,iJt,sJt=V(()=>{eC(),oK()}),lJt=V(()=>{ZYt(),sJt(),Bc(),qYt=e=>{let t=il(()=>{let t=new Gse([],{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(VYt(Qa(e))),t}),a=Ha("");return{results:il(()=>0===a.value.length?null:t.value.search(a.value,{limit:25}).flatMap(e=>"operation"===e.item.entry.type?e.item.entry:[])),query:a}}}),cJt=V(()=>{h_(),Bc(),QYt=Cn({inheritAttrs:!1,__name:"ScalarHeaderButton",props:{is:{default:"button"},cta:{type:Boolean}},setup(e){let t=a_({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}=c_();return(r,n)=>(Ho(),Fo(Fn(e.is),ii({type:"button"===e.is?"button":void 0},qa(a)(qa(t)({cta:e.cta}))),{default:sn(()=>[Kn(r.$slots,"default")]),_:3},16,["type"]))}})}),uJt=V(()=>{cJt(),FYt=QYt}),dJt=V(()=>{uJt(),Wte(),Bc(),Xk(),WYt={class:"h-5 w-auto"},GYt={key:0,class:"ml-1 truncate text-sm font-medium"},XYt={class:"sr-only"},YYt=Cn({__name:"ScalarMenuButton",props:{open:{type:Boolean}},setup:e=>(t,a)=>(Ho(),Fo(qa(FYt),{class:"gap-0.75 px-2 py-1.5 text-c-header-1 hover:bg-b-header-2"},{default:sn(()=>[Xo("div",WYt,[Kn(t.$slots,"logo",{},()=>[Fs(qa(Dte),{icon:"Logo",size:"lg"})])]),t.$slots.title?(Ho(),Qo("span",GYt,[Kn(t.$slots,"title")])):ai("",!0),Xo("span",XYt,[Kn(t.$slots,"label",{},()=>[ei(Yt(e.open?"Close Menu":"Open Menu"),1)])]),Fs(qa(Rm),{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}))})}),pJt=V(()=>{dJt(),KYt=YYt}),hJt=V(()=>{uie(),Xte(),h_(),Bc(),JYt={key:1,class:"size-3"},eKt=Cn({inheritAttrs:!1,__name:"ScalarMenuLink",props:{is:{default:"a"},icon:{type:[Object,Function]},strong:{type:Boolean},submenu:{type:Boolean}},setup(t){let{cx:a}=c_();return(r,n)=>(Ho(),Fo(qa(nie),ii(qa(a)("flex items-center"),{is:t.submenu?qa(e.DropdownMenu).SubTrigger:qa(e.DropdownMenu).Item,as:t.is}),{default:sn(()=>[t.icon?(Ho(),Fo(qa(Bte),{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"])):(Ho(),Qo("div",JYt)),Xo("div",{class:tt(["flex items-center flex-1 min-w-0 truncate",t.strong?"font-medium":"font-normal"])},[Kn(r.$slots,"default")],2)]),_:3},16,["is","as"]))}})}),mJt=V(()=>{hJt(),tKt=eKt}),fJt=V(()=>{mJt(),h_(),Bc(),aKt=Cn({inheritAttrs:!1,__name:"ScalarMenuProduct",props:{is:{default:"a"},selected:{type:Boolean},icon:{type:[Object,Function]}},setup(e){let{cx:t}=c_(),a=a_({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)=>(Ho(),Fo(qa(tKt),ii({is:e.is,icon:e.icon,strong:"",target:"_blank"},qa(t)(qa(a)({selected:e.selected}))),{default:sn(()=>[Kn(r.$slots,"default")]),_:3},16,["is","icon"]))}})}),gJt=V(()=>{fJt(),rKt=aKt}),vJt=V(()=>{gJt(),h_(),Bc(),Xk(),nKt=Cn({inheritAttrs:!1,__name:"ScalarMenuProducts",props:{selected:{},showDocs:{type:Boolean},hrefs:{}},emits:["open"],setup(e){let{cx:t}=c_();return(a,r)=>(Ho(),Qo("div",at(Ko(qa(t)("flex flex-col"))),[Fs(rKt,{href:e.hrefs?.dashboard??"https://dashboard.scalar.com",icon:qa(Xv),selected:"dashboard"===e.selected,onClick:r[0]||=e=>a.$emit("open",e,"dashboard")},{default:sn(()=>[...r[4]||=[ei(" Dashboard ",-1)]]),_:1},8,["href","icon","selected"]),e.showDocs||"docs"===e.selected?(Ho(),Fo(rKt,{key:0,href:e.hrefs?.docs??"https://docs.scalar.com",icon:qa(rm),selected:"docs"===e.selected,onClick:r[1]||=e=>a.$emit("open",e,"docs")},{default:sn(()=>[...r[5]||=[ei(" Docs ",-1)]]),_:1},8,["href","icon","selected"])):ai("",!0),Fs(rKt,{href:e.hrefs?.editor??"https://editor.scalar.com",icon:qa(iy),selected:"editor"===e.selected,onClick:r[2]||=e=>a.$emit("open",e,"editor")},{default:sn(()=>[...r[6]||=[ei(" Editor ",-1)]]),_:1},8,["href","icon","selected"]),Fs(rKt,{href:e.hrefs?.client??"https://client.scalar.com",icon:qa(Gh),selected:"client"===e.selected,onClick:r[3]||=e=>a.$emit("open",e,"client")},{default:sn(()=>[...r[7]||=[ei(" Client ",-1)]]),_:1},8,["href","icon","selected"])],16))}})}),bJt=V(()=>{vJt(),oKt=nKt}),yJt=V(()=>{_ie(),Bc(),iKt=Cn({inheritAttrs:!1,__name:"ScalarMenuSection",setup:e=>(e,t)=>(Ho(),Qo(Bs,null,[Fs(qa(mie)),Kn(e.$slots,"default")],64))})}),wJt=V(()=>{yJt(),sKt=iKt}),xJt=V(()=>{mJt(),wJt(),Bc(),Xk(),lKt=Cn({__name:"ScalarMenuResources",setup:e=>(e,t)=>(Ho(),Fo(sKt,null,{title:sn(()=>[...t[0]||=[ei("Resources",-1)]]),default:sn(()=>[Fs(tKt,{href:"mailto:support@scalar.com",icon:qa(Qf),target:"_blank"},{default:sn(()=>[...t[1]||=[ei(" Sales & Support ",-1)]]),_:1},8,["icon"]),Fs(tKt,{href:"https://scalar.com/terms-and-conditions",icon:qa(Ng),target:"_blank"},{default:sn(()=>[...t[2]||=[ei(" Terms & Conditions ",-1)]]),_:1},8,["icon"]),Fs(tKt,{href:"https://scalar.com/privacy-policy",icon:qa(ym),target:"_blank"},{default:sn(()=>[...t[3]||=[ei(" Privacy Policy ",-1)]]),_:1},8,["icon"])]),_:1}))})}),OJt=V(()=>{xJt(),cKt=lKt}),kJt=V(()=>{goe(),pJt(),bJt(),OJt(),Bc(),uKt=Cn({inheritAttrs:!1,__name:"ScalarMenu",setup(t){let a=Ha(!1);function r(){a.value=!1}return(t,n)=>(Ho(),Fo(qa(e.DropdownMenu).Root,{open:a.value,"onUpdate:open":n[0]||=e=>a.value=e},{default:sn(()=>[Fs(qa(e.DropdownMenu).Trigger,{asChild:""},{default:sn(()=>[Kn(t.$slots,"button",{open:a.value},()=>[Fs(KYt,{class:"min-w-0",open:a.value},Yn({_:2},[t.$slots.logo?{name:"logo",fn:sn(()=>[Kn(t.$slots,"logo")]),key:"0"}:void 0,t.$slots.title?{name:"title",fn:sn(()=>[Kn(t.$slots,"title")]),key:"1"}:void 0,t.$slots.label?{name:"label",fn:sn(()=>[Kn(t.$slots,"label")]),key:"2"}:void 0]),1032,["open"])])]),_:3}),Fs(qa(e.DropdownMenu).Content,ii({align:"start",as:qa(aoe),class:"max-h-radix-popper z-context",sideOffset:5},t.$attrs),{default:sn(()=>[Kn(t.$slots,"products",{close:r},()=>[Fs(oKt)]),Kn(t.$slots,"profile",{close:r}),Kn(t.$slots,"sections",{close:r},()=>[Fs(cKt)])]),_:3},16,["as"])]),_:3},8,["open"]))}})}),SJt=V(()=>{kJt(),dKt=uKt}),AJt=V(()=>{mJt(),wJt(),Bc(),Xk(),pKt=Cn({__name:"ScalarMenuSupport",setup:e=>(e,t)=>(Ho(),Fo(sKt,null,{title:sn(()=>[...t[0]||=[ei("Resources",-1)]]),default:sn(()=>[Fs(tKt,{href:"https://discord.gg/scalar",icon:qa(Bf),target:"_blank"},{default:sn(()=>[...t[1]||=[ei(" Discord ",-1)]]),_:1},8,["icon"]),Fs(tKt,{href:"https://github.com/scalar/scalar",icon:qa(bv),target:"_blank"},{default:sn(()=>[...t[2]||=[ei(" GitHub ",-1)]]),_:1},8,["icon"])]),_:1}))})}),TJt=V(()=>{AJt(),hKt=pKt}),_Jt=V(()=>{Uae(),goe(),uie(),mJt(),Bc(),Xk(),mKt={class:"flex h-full items-center gap-1 flex-1 truncate"},fKt=Cn({inheritAttrs:!1,__name:"ScalarMenuWorkspacePicker",props:oo({workspaceOptions:{}},{modelValue:{},modelModifiers:{}}),emits:oo(["createWorkspace"],["update:modelValue"]),setup(t,{emit:a}){let r=a,n=xo(t,"modelValue");return(a,o)=>(Ho(),Fo(qa(e.DropdownMenu).Sub,null,{default:sn(()=>[Fs(tKt,ii({icon:qa(lw),submenu:""},a.$attrs),{default:sn(()=>[o[2]||=Xo("div",null,"Change workspace",-1),Fs(qa(Zm),{class:"ml-auto text-c-2 -mr-px size-3",weight:"bold"})]),_:1},16,["icon"]),Fs(qa(e.DropdownMenu).Portal,null,{default:sn(()=>[Fs(qa(e.DropdownMenu).SubContent,{as:qa(aoe),class:"max-h-radix-popper z-context-plus",sideOffset:3},{default:sn(()=>[Fs(qa(e.DropdownMenu).RadioGroup,{modelValue:n.value,"onUpdate:modelValue":o[0]||=e=>n.value=e,class:"contents"},{default:sn(()=>[(Ho(!0),Qo(Bs,null,Xn(t.workspaceOptions,(a,r)=>(Ho(),Qo(Bs,{key:r},[a.label?(Ho(),Fo(qa(e.DropdownMenu).Label,{key:0,class:"px-3 py-1.5 text-xs font-medium text-c-3 select-none"},{default:sn(()=>[ei(Yt(a.label),1)]),_:2},1024)):ai("",!0),(Ho(!0),Qo(Bs,null,Xn(a.options,t=>(Ho(),Fo(qa(e.DropdownMenu).RadioItem,{key:t.id,as:qa(nie),class:"group/item flex items-center",value:t.id},{default:sn(()=>[Xo("div",mKt,Yt(t.label),1),Fs(qa(bae),{class:"ml-auto",selected:t.id===n.value},null,8,["selected"])]),_:2},1032,["as","value"]))),128)),r<t.workspaceOptions.length-1?(Ho(),Fo(qa(e.DropdownMenu).Separator,{key:1,class:"h-px bg-b-3 my-1.5"})):ai("",!0)],64))),128))]),_:1},8,["modelValue"]),Fs(qa(e.DropdownMenu).Item,{as:qa(nie),class:"flex items-center",onClick:o[1]||=e=>r("createWorkspace")},{default:sn(()=>[Fs(qa(By),{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}))}})}),CJt=V(()=>{_Jt(),gKt=fKt}),EJt=V(()=>{bJt(),mJt(),wJt(),OJt(),SJt(),TJt(),CJt()}),PJt=V(()=>{Bc(),Xk(),EJt(),vKt=Cn({__name:"SidebarMenu",props:{activeWorkspace:{},workspaces:{}},emits:["create:workspace","select:workspace","navigate:to:settings"],setup(e,{emit:t}){let a=t;return(t,r)=>(Ho(),Fo(qa(dKt),null,{products:sn(()=>[Fs(qa(oKt),{selected:"client"})]),sections:sn(({close:n})=>[Fs(qa(sKt),null,{default:sn(()=>[Kn(t.$slots,"sidebarMenuActions",{},()=>[Fs(qa(gKt),{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"]),Fs(qa(tKt),{is:"button",icon:qa(Wg),onClick:()=>{n(),a("navigate:to:settings")}},{default:sn(()=>[...r[2]||=[ei(" Settings ",-1)]]),_:1},8,["icon","onClick"])])]),_:2},1024),Fs(qa(cKt)),Fs(qa(hKt))]),_:3}))}})}),MJt=V(()=>{PJt(),bKt=vKt}),NJt=V(()=>{HYt(),lJt(),MJt(),Bc(),Xk(),EQe(),aK(),ext(),lPt(),yKt={key:1},wKt=Cn({__name:"Sidebar",props:oo({sidebarState:{},layout:{},activeWorkspace:{},workspaces:{},documents:{},isDroppable:{type:[Boolean,Function]}},{sidebarWidth:{required:!0,default:288},sidebarWidthModifiers:{}}),emits:oo(["selectItem","select:workspace","create:workspace","reorder","navigate:to:settings"],["update:sidebarWidth"]),setup(e,{emit:t}){let a=t,r=to(),n=Ha(!1),o=xo(e,"sidebarWidth"),i=e=>"example"===e.type&&"draft"===e.title,{query:s,results:l}=qYt(()=>e.documents.filter(QX)),c=il(()=>l.value??e.sidebarState.items.value),u=e=>{a("selectItem",e),s.value="",n.value=!1};return(t,l)=>(Ho(),Fo(qa($Yt),{width:o.value,"onUpdate:width":l[6]||=e=>o.value=e,class:"flex flex-col"},{default:sn(()=>[Fs(qa(HEt),{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},Yn({header:sn(()=>[l[7]||=Xo("div",{class:"mac:h-12 mac:app-drag-region h-2"},null,-1),Xo("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):(Ho(),Qo("div",{key:0,class:tt(["flex items-center justify-between",{"max-md:pl-10":"desktop"===e.layout}])},["modal"===e.layout?"modal"===e.layout?(Ho(),Qo("div",yKt)):ai("",!0):(Ho(),Fo(bKt,{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:sn(()=>[Kn(t.$slots,"sidebarMenuActions")]),_:3},8,["activeWorkspace","workspaces"])),Fs(qa(tQe),{class:"hover:bg-b-2 active:text-c-1 size-8 rounded p-2",icon:qa(Vb),label:"Search",size:"sm",onClick:l[3]||=e=>n.value=!n.value},null,8,["icon"])],2)),n.value||"web"===e.layout?(Ho(),Fo(qa(dwt),{key:1,modelValue:qa(s),"onUpdate:modelValue":l[4]||=e=>za(s)?s.value=e:null,autofocus:"web"!==e.layout},null,8,["modelValue","autofocus"])):ai("",!0)],2)]),spacer:sn(()=>[l[8]||=Xo("div",{class:"flex-1"},null,-1)]),icon:sn(e=>[r.icon||i(e.item)?(Ho(),Qo(Bs,{key:0},[i(e.item)?(Ho(),Fo(qa(gg),{key:0})):ai("",!0),Kn(t.$slots,"icon",at(Ko(e)))],64)):ai("",!0)]),before:sn(()=>[Kn(t.$slots,"workspaceButton")]),footer:sn(()=>[Kn(t.$slots,"footer")]),_:2},[r.decorator?{name:"decorator",fn:sn(e=>[Kn(t.$slots,"decorator",at(Ko(e)))]),key:"0"}:void 0,r.empty?{name:"empty",fn:sn(e=>[Kn(t.$slots,"empty",at(Ko(e)))]),key:"1"}:void 0]),1032,["isDraggable","isDroppable","isExpanded","isSelected","items","options"])]),_:3},8,["width"]))}})}),$Jt=V(()=>{NJt(),xKt=wKt}),IJt=V(()=>{Bc(),OKt=["aria-pressed"],kKt={class:"sr-only"},SKt={class:"size-4",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},AKt={"clip-path":"url(#mask)"},TKt=Cn({__name:"SidebarToggle",props:{modelValue:{type:Boolean,required:!0},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=xo(e,"modelValue");return(e,a)=>(Ho(),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},[Xo("span",kKt,Yt(t.value?"Hide":"Show")+" sidebar",1),(Ho(),Qo("svg",SKt,[a[1]||=Xo("defs",null,[Xo("clipPath",{id:"mask"},[Xo("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),Xo("g",AKt,[Xo("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]||=Xo("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,OKt))}})}),RJt=V(()=>{IJt(),_Kt=TKt}),DJt=V(()=>{
/*!
* tabbable 6.4.0
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/
EKt=(CKt=["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(","),PKt=typeof Element>"u",MKt=PKt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,NKt=!PKt&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},$Kt=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]"):$Kt(e.parentNode))},IKt=function(e){var t=e?.getAttribute?.call(e,"contenteditable");return""===t||"true"===t},RKt=function(e,t,a){if($Kt(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(EKt));return t&&MKt.call(e,EKt)&&r.unshift(e),r=r.filter(a)},DKt=function(e,t,a){for(var r=[],n=Array.from(e);n.length;){var o=n.shift();if(!$Kt(o,!1))if("SLOT"===o.tagName){var i=o.assignedElements(),s=DKt(i.length?i:o.children,!0,a);a.flatten?r.push.apply(r,s):r.push({scopeParent:o,candidates:s})}else{MKt.call(o,EKt)&&a.filter(o)&&(t||!e.includes(o))&&r.push(o);var l=o.shadowRoot||"function"==typeof a.getShadowRoot&&a.getShadowRoot(o),c=!$Kt(l,!1)&&(!a.shadowRootFilter||a.shadowRootFilter(o));if(l&&c){var u=DKt(!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},LKt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},BKt=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||IKt(e))&&!LKt(e)?0:e.tabIndex},jKt=function(e,t){var a=BKt(e);return a<0&&t&&!LKt(e)?0:a},UKt=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},zKt=function(e){return"INPUT"===e.tagName},HKt=function(e){return zKt(e)&&"hidden"===e.type},ZKt=function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})},VKt=function(e,t){for(var a=0;a<e.length;a++)if(e[a].checked&&e[a].form===t)return e[a]},qKt=function(e){if(!e.name)return!0;var t,a=e.form||NKt(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=VKt(t,e.form);return!n||n===e},QKt=function(e){return zKt(e)&&"radio"===e.type},FKt=function(e){return QKt(e)&&!qKt(e)},WKt=function(e){var t,a,r,n=e&&NKt(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=NKt(o),o=n?.host,i=!(null==(s=o)||null==(l=s.ownerDocument)||!l.contains(o))}return i},GKt=function(e){var t=e.getBoundingClientRect(),a=t.width,r=t.height;return 0===a&&0===r},XKt=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=MKt.call(e,"details>summary:first-of-type")?e.parentElement:e;if(MKt.call(n,"details:not([open]) *"))return!0;if(a&&"full"!==a&&"full-native"!==a&&"legacy-full"!==a){if("non-zero-area"===a)return GKt(e)}else{if("function"==typeof r){for(var o=e;e;){var i=e.parentElement,s=NKt(e);if(i&&!i.shadowRoot&&!0===r(i))return GKt(e);e=e.assignedSlot?e.assignedSlot:i||s===e.ownerDocument?i:s.host}e=o}if(WKt(e))return!e.getClientRects().length;if("legacy-full"!==a)return!0}return!1},YKt=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!!MKt.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1},KKt=function(e,t){return!(t.disabled||HKt(t)||XKt(t,e)||ZKt(t)||YKt(t))},JKt=function(e,t){return!(FKt(t)||BKt(t)<0||!KKt(e,t))},eJt=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},tJt=function(e){var t=[],a=[];return e.forEach(function(e,r){var n=!!e.scopeParent,o=n?e.scopeParent:e,i=jKt(o,n),s=n?tJt(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(UKt).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},aJt=function(e,t){t||={};var a=t.getShadowRoot?DKt([e],t.includeContainer,{filter:JKt.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:eJt}):RKt(e,t.includeContainer,JKt.bind(null,t));return tJt(a)},rJt=function(e,t){return t||={},t.getShadowRoot?DKt([e],t.includeContainer,{filter:KKt.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):RKt(e,t.includeContainer,KKt.bind(null,t))},nJt=function(e,t){if(t||={},!e)throw Error("No node provided");return!1!==MKt.call(e,EKt)&&JKt(t,e)},oJt=CKt.concat("iframe:not([inert]):not([inert] *)").join(","),iJt=function(e,t){if(t||={},!e)throw Error("No node provided");return!1!==MKt.call(e,oJt)&&KKt(t,e)}});
/*!
* focus-trap 7.8.0
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
*/function LJt(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 BJt(e,t){var a=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!a){if(Array.isArray(e)||(a=ZJt(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 jJt(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 UJt(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 zJt(e){for(var t=1;t<arguments.length;t++){var a=null==arguments[t]?{}:arguments[t];t%2?UJt(Object(a),!0).forEach(function(t){jJt(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):UJt(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function HJt(e){return function(e){if(Array.isArray(e))return LJt(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ZJt(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 ZJt(e,t){if(e){if("string"==typeof e)return LJt(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)?LJt(e,t):void 0}}var VJt,qJt,QJt,FJt,WJt,GJt,XJt,YJt,KJt,JJt,e0t,t0t=V(()=>{DJt(),VJt={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){t!==VJt.getActiveTrap(e)&&VJt.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),VJt.unpauseTrap(e)},pauseTrap:function(e){VJt.getActiveTrap(e)?._setPausedState(!0)},unpauseTrap:function(e){var t=VJt.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},qJt=function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select},QJt=function(e){return"Escape"===e?.key||"Esc"===e?.key||27===e?.keyCode},FJt=function(e){return"Tab"===e?.key||9===e?.keyCode},WJt=function(e){return FJt(e)&&!e.shiftKey},GJt=function(e){return FJt(e)&&e.shiftKey},XJt=function(e){return setTimeout(e,0)},YJt=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},KJt=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},JJt=[],e0t=function(e,t){var a,r=t?.document||document,n=t?.trapStack||JJt,o=zJt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:WJt,isKeyBackward:GJt},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,HJt(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&&!iJt(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=aJt(e,o.tabbableOptions),a=rJt(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 nJt(e)}),s=a.slice().reverse().find(function(e){return nJt(e)});return{container:e,tabbableNodes:t,focusableNodes:a,posTabIndexesFound:!!t.find(function(e){return BKt(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 nJt(e)}):a.slice(0,a.indexOf(e)).reverse().find(function(e){return nJt(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,qJt(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||=KJt(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||iJt(t,o.tabbableOptions)&&!nJt(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=BKt(t)>=0?f.lastTabbableNode:f.lastDomTabbableNode}else FJt(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||iJt(t,o.tabbableOptions)&&!nJt(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=BKt(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode}else FJt(a)||(s=p.nextTabbableNode(t))}}else s=c("fallbackFocus");return s},g=function(e){if(!(l(KJt(e),e)>=0)){if(YJt(o.clickOutsideDeactivates,e))return void a.deactivate({returnFocus:o.returnFocusOnDeactivate});YJt(o.allowOutsideClick,e)||e.preventDefault()}},v=function(e){var t=KJt(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(BKt(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 BKt(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&&(FJt(e)&&e.preventDefault(),h(a))}(e,o.isKeyBackward(e))},y=function(e){QJt(e)&&!1!==YJt(o.escapeDeactivates,e)&&(e.preventDefault(),a.deactivate())},w=function(e){l(KJt(e),e)>=0||YJt(o.clickOutsideDeactivates,e)||YJt(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},x=function(){if(i.active)return VJt.activateTrap(n,a),i.delayInitialFocusTimer=o.delayInitialFocus?XJt(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",w,{capture:!0,passive:!1}),r.addEventListener("keydown",b,{capture:!0,passive:!1}),r.addEventListener("keydown",y),a},O=function(){if(i.active)return r.removeEventListener("focusin",v,!0),r.removeEventListener("mousedown",g,!0),r.removeEventListener("touchstart",g,!0),r.removeEventListener("click",w,!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=VJt.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===VJt.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=zJt({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(),O(),i.active=!1,i.paused=!1,S(),VJt.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(){XJt(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=BJt(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=BJt(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?.(),O(),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 a0t,r0t,n0t,o0t,i0t,s0t,l0t,c0t,u0t,d0t,p0t,h0t,m0t,f0t,g0t,v0t,b0t,y0t,w0t,x0t,O0t,k0t=V(()=>{iie(),Moe(),t0t(),Bc()}),S0t=V(()=>{Bc(),Rie(),k0t(),a0t={class:"scalar scalar-app z-overlay relative"},r0t=Cn({__name:"ModalClientContainer",props:{modalState:{}},emits:["open","close"],setup(e,{emit:t}){let a=e,r=t,n=Ha(null),{activate:o,deactivate:i}=function(e,t={}){let a,{immediate:r,...n}=t,o=Za(!1),i=Za(!1),s=e=>a&&a.activate(e),l=e=>a&&a.deactivate(e);return hn(il(()=>koe(Qa(e)).map(e=>{let t=Qa(e);return"string"==typeof t?t:Noe(t)}).filter(Aoe)),e=>{if(e.length)if(a){let t=a?.active;a?.updateContainerElements(e),!t&&r&&s()}else a=e0t(e,{...n,onActivate(){o.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){o.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&s()},{flush:"post"}),yoe(()=>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 ts(()=>wyt()),hn(()=>a.modalState.open,async e=>{e?(await Kr(),o(),r("open")):(i(),r("close"))},{immediate:!1}),os(()=>{i()}),(t,a)=>(Ho(),Qo("div",a0t,[Xo("div",{class:tt(["scalar-container",{"scalar-client--open":e.modalState.open}])},[Xo("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"}),[Fs(qa(Tie),null,{default:sn(()=>[Kn(t.$slots,"default",{},void 0,!0)]),_:3})],16),Xo("div",{class:"scalar-app-exit",onClick:a[0]||=t=>e.modalState.hide()})],2)]))}})}),A0t=V(()=>{kh(),S0t(),n0t=yh(r0t,[["__scopeId","data-v-77897d1c"]])}),T0t=V(()=>{o0t="1.68.0"}),_0t=V(()=>{nyt(),T0t(),RYt(),Bc(),RK(),JS(),i0t={key:1,class:"flex h-full w-full items-center justify-center"},s0t=Cn({__name:"Operation",props:{documentSlug:{},document:{},eventBus:{},layout:{},path:{},method:{},exampleName:{},isWebhook:{type:Boolean,default:!1},environment:{},workspaceStore:{},plugins:{},options:{},requestBodyCompositionSelection:{}},setup(e){let t=il(()=>{if(!(e.path&&e.method&&e.exampleName&&e.document))return null;let t=yK(e.workspaceStore,e.documentSlug,{path:e.path,method:e.method,exampleName:e.exampleName,isWebhook:e.isWebhook},{baseServerUrl:Qa(e.options)?.baseServerURL,fallbackDocument:e.document,isElectron:NS(),layout:"web"===e.layout?"web":"other",servers:Qa(e.options)?.servers,appVersion:o0t,authentication:Qa(e.options)?.authentication});return t.ok?t.data:null}),a=il(()=>t.value?.operation??null),r=il(()=>t.value?.cookies.workspace??[]),n=il(()=>t.value?.cookies.document??[]),o=il(()=>t.value?.servers.list??[]),i=il(()=>t.value?.servers.selected??null),s=il(()=>t.value?.servers.meta??{type:"document"}),l=il(()=>t.value?.security.schemes??{}),c=il(()=>t.value?.security.selected??{selectedIndex:-1,selectedSchemes:[]}),u=il(()=>t.value?.security.selectedSchemes??[]),d=il(()=>t.value?.security.requirements??[]),p=il(()=>t.value?.security.meta??{type:"document"}),h=il(()=>t.value?.headers.default??{}),m=il(()=>Array.from(new Set(Object.keys({...e.document?.["x-scalar-environments"],...e.workspaceStore.workspace["x-scalar-environments"]})))),f=il(()=>mYt(Qa(e.options)?.hiddenClients));return(t,g)=>e.path&&e.method&&e.exampleName&&a.value&&e.document?(Ho(),Fo(qa(Qbt),{key:0,activeEnvironment:e.workspaceStore.workspace["x-scalar-active-environment"],appVersion:qa(o0t),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:Qa(e.options)?.hideClientButton??!1,history:e.workspaceStore.history.getHistory(e.documentSlug,e.path,e.method),httpClients:f.value,layout:e.layout,method:e.method,isWebhook:e.isWebhook,operation:a.value,options:e.options,path:e.path,plugins:e.plugins,proxyUrl:qa(lY)(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.isWebhook.operation.options.path.plugins.proxyUrl.requestBodyCompositionSelection.securityRequirements.securitySchemes.selectedClient.selectedSecurity.selectedSecuritySchemes.server.serverMeta.servers.workspaceCookies".split("."))):(Ho(),Qo("div",i0t,[...g[0]||=[Xo("span",{class:"text-c-3"},"Select an operation to view details",-1)]]))}})}),C0t=V(()=>{_0t(),l0t=s0t}),E0t=V(()=>{Bc(),c0t=e=>{let t=Ha(""),a=Ha(!1),r=()=>{let a=Qa(e);a&&(t.value=a.style.overflow,a.style.overflow="hidden")},n=()=>{let a=Qa(e);a&&(""===t.value?a.style.removeProperty("overflow"):a.style.overflow=t.value)},o=il({get:()=>a.value,set:e=>{a.value=e,e?r():n()}});return os(()=>{a.value&&n()}),o}}),P0t=V(()=>{UYt(),$Jt(),RJt(),A0t(),IYt(),C0t(),E0t(),Bc(),RK(),zot(),u0t={key:0,class:"relative flex h-full min-h-0 w-full flex-1"},d0t={key:1,class:"flex h-full w-full items-center justify-center"},p0t=Cn({__name:"Modal",props:{workspaceStore:{},document:{},path:{},eventBus:{},method:{},exampleName:{},isWebhook:{},requestBodyCompositionSelection:{},modalState:{},sidebarState:{},plugins:{},options:{}},setup(e,{expose:t}){let a={label:"default",id:"default"},r=Ha(!1);pYt({eventBus:e.eventBus,isSidebarOpen:r,requestBodyCompositionSelection:e.requestBodyCompositionSelection,sidebarState:e.sidebarState,modalState:e.modalState,store:e.workspaceStore}),PYt(e.eventBus,"modal",()=>!e.modalState.open);let n=()=>{e.eventBus.emit("operation:cancel:request")},o=c0t(()=>typeof window<"u"?window.document.body:null);hn(()=>e.modalState.open,e=>{o.value=e,e||n()}),os(()=>n());let i=il(()=>e.workspaceStore?.workspace?.["x-scalar-sidebar-width"]??288),s=t=>e.workspaceStore?.update("x-scalar-sidebar-width",t),l=il(()=>XX(e.workspaceStore,e.document.value).environment);return t({sidebarWidth:i,environment:l}),(t,n)=>(Ho(),Fo(n0t,{modalState:e.modalState},{default:sn(()=>[Fs(qa(Uot)),e.document.value&&e.path?.value&&e.method?.value?(Ho(),Qo("main",u0t,[Fs(qa(_Kt),{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"]),ln(Fs(qa(xKt),{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"]),[[nc,r.value]]),Fs(l0t,{activeWorkspace:a,class:"flex-1",document:e.document.value,documentSlug:e.document.value["x-scalar-navigation"]?.name??"",environment:l.value,eventBus:e.eventBus,exampleName:e.exampleName?.value,isWebhook:e.isWebhook.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","isWebhook","method","options","path","plugins","requestBodyCompositionSelection","workspaceStore"])])):(Ho(),Qo("div",d0t,[...n[2]||=[Xo("span",{class:"text-c-3"},"No document selected",-1)]]))]),_:1},8,["modalState"]))}})}),M0t=V(()=>{P0t(),h0t=p0t}),N0t=V(()=>{DYt(),BYt(),M0t(),Bc(),Snt(),sgt(),aK(),i7e(),m0t=0,f0t=({el:e,eventBus:t=Z5e({debug:!1}),mountOnInitialize:a=!0,plugins:r=[],workspaceStore:n,options:o={}})=>{let i=Ha({}),s=za(o)?o:Ha(Qa(o)),l={path:"default",method:"default",example:"default",documentSlug:n.workspace["x-scalar-active-document"]||"default",isWebhook:!1},c=Pa({...l}),u=e=>{Object.assign(c,l,e)},d=il(()=>xYt(n,c)),p=il(()=>d.value.documentSlug),h=il(()=>d.value.path),m=il(()=>d.value.method),f=il(()=>d.value.example),g=il(()=>d.value.isWebhook??!1),v=il(()=>{let e=n.workspace.documents[p.value??""];return QX(e)?e:null}),b=kYt({workspaceStore:n,documentSlug:p,path:h,method:m,exampleName:f,isWebhook:g,route:u}),y=prt(),w=Rc(h0t,{document:v,eventBus:t,exampleName:f,isWebhook:g,method:m,modalState:y,path:h,plugins:r,requestBodyCompositionSelection:i,sidebarState:b,workspaceStore:n,options:s}),x=[];for(let e of r)e.lifecycle?.onInit?.(),x.push(Aft(t,e));w.onUnmount(()=>{for(let e of x)e();for(let e of r)e.lifecycle?.onDestroy?.()}),hn(()=>Qa(s).proxyUrl,e=>n.update("x-scalar-active-proxy",e),{immediate:!0}),w.config.idPrefix="scalar-client-"+m0t++;let O=(t=e)=>{t?w.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&&O(),{app:w,open:e=>{i.value={},y.open=!0,e&&u(e)},mount:O,route:u,modalState:y,updateOptions:(e,t=!1)=>{s.value=t?e:{...s.value,...e}}}}}),$0t=q({createApiClientModal:()=>f0t,initializeModalEvents:()=>pYt,mapHiddenClientsConfig:()=>mYt}),I0t=V(()=>{IYt(),RYt(),N0t()}),R0t=V(()=>{UUt(),$qt(),Iqt(),Rqt(),Bqt(),eYt(),cYt(),Bc(),I0t(),g0t={ref:"clientModal"},v0t=Cn({__name:"Chat",emits:["uploadApi"],setup(e){let{chat:t,prompt:a,settingsModal:r,eventBus:n,workspaceStore:o,config:i,mode:s,addDocument:l}=Pqt(),c=Mn("clientModal"),u=Ha(null);async function p(){await t.sendMessage({text:a.value})}return as(async()=>{let e=function(){let e=localStorage.getItem(DUt);if(e)return d(LUt,JSON.parse(e))}();"preview"===s&&e&&await l({namespace:e.namespace,slug:e.slug,removable:!1,tmp:!0}),c.value&&(u.value=f0t({el:c.value,options:i,eventBus:n,workspaceStore:o}))}),os(()=>{u.value?.app.unmount()}),function(){let e=Pqt();hn([()=>e.chat.status,()=>function(e){let t=e?.parts.at(-1);if(t&&"text"===t.type)return t.text}(e.chat.lastMessage)],async()=>{await Kr(),window.scrollTo(0,document.body.scrollHeight)})}(),function(){let{api:e,addDocument:t,mode:a,getAgentKey:r}=Pqt(),{toast:n}=Bot();as(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}=Pqt();as(async()=>{let a=await e.getCuratedDocuments();a.success&&(t.value=a.data.results)})}(),(e,t)=>(Ho(),Qo(Bs,null,[Xo("div",g0t,null,512),Fs(EXt,{onSubmit:p,onUploadApi:t[0]||=t=>e.$emit("uploadApi")}),Fs(GXt,{modalState:qa(r)},null,8,["modalState"])],64))}})}),D0t=V(()=>{R0t(),b0t=v0t}),L0t=V(()=>{$qt(),D0t(),Bc(),y0t=Cn({__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=Eqt({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 un(Mqt,a),t({addDocumentAsync:a.addDocumentAsync}),(e,t)=>(Ho(),Fo(b0t,{onUploadApi:t[0]||=t=>e.$emit("uploadApi")}))}})}),B0t=V(()=>{L0t(),w0t=y0t}),j0t=V(()=>{B0t()}),U0t=V(()=>{Bc(),j0t(),x0t=Cn({__name:"AgentScalarChatInterface",props:{agentScalarConfiguration:{},externalUrls:{},workspaceStore:{},prefilledMessage:{}},setup:e=>(t,a)=>(Ho(),Fo(qa(w0t),{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"]))})}),z0t=q({default:()=>O0t}),H0t=V(()=>{U0t(),U0t(),O0t=x0t});Bc(),EQe(),Xk();var Z0t={class:"agent-scalar-container custom-scroll custom-scroll-self-contain-overflow overflow-auto px-6"},V0t=Cn({__name:"AgentScalarDrawer",props:{agentScalarConfiguration:{},externalUrls:{},workspaceStore:{}},setup(e){let t=kLt(),{translate:a}=wLt(),r=Bn(async()=>Promise.resolve().then(()=>(H0t(),z0t)));return(n,o)=>(Ho(),Qo(Bs,null,[Fs(Kl,{enterActiveClass:"transition-opacity duration-500",enterFromClass:"opacity-0",enterToClass:"opacity-100",leaveActiveClass:"transition-opacity duration-200",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"},{default:sn(()=>[ln(Xo("div",{class:"agent-scalar-overlay bg-backdrop fixed inset-0 z-10 ease-[cubic-bezier(0.77,0,0.175,1)]",onClick:o[0]||=e=>qa(t)?.closeAgent()},null,512),[[nc,qa(t)?.showAgent.value]])]),_:1}),Fs(Kl,{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:sn(()=>[ln(Xo("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:o[2]||=Pc(e=>qa(t)?.closeAgent(),["escape"])},[Xo("div",Z0t,[Fs(qa(r),{agentScalarConfiguration:e.agentScalarConfiguration,externalUrls:e.externalUrls,prefilledMessage:qa(t)?.prefilledMessage,workspaceStore:e.workspaceStore},null,8,["agentScalarConfiguration","externalUrls","prefilledMessage","workspaceStore"])]),Fs(qa(tQe),{class:"agent-scalar-exit-button absolute top-2 right-2",icon:qa(Ix),label:qa(a)("agent.close"),weight:"bold",onClick:o[1]||=e=>qa(t)?.closeAgent()},null,8,["icon","label"])],544),[[nc,qa(t)?.showAgent.value]])]),_:1})],64))}}),q0t=(e,t)=>{let a=e.__vccOpts||e;for(let[e,r]of t)a[e]=r;return a},Q0t=q0t(V0t,[["__scopeId","data-v-3496197b"]]);async function F0t(e,t){let a=JSON.stringify({document:e}),r=`${t.apiBaseUrl}/core/share/upload/apis`,n=await fetch(CF(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}MY(),Bc(),Vot(),Xk(),ayt(),zot();var W0t={class:"scalar-mcp-layer"},G0t=q0t(Cn({__name:"OpenMCPButton",props:oo({config:{},externalUrls:{},url:{},workspace:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){let t=e,{copyToClipboard:a}=zbt(),{translate:r}=wLt(),{toast:n}=Bot(),o=Hot(),i=t.config?.name||t.config?.url,s=btoa(JSON.stringify(t.config??{})),l=`cursor://anysphere.cursor-deeplink/mcp/install?name=${encodeURIComponent(t.config?.name??"")}&config=${s}`,c=`vscode:mcp/install?${encodeURIComponent(JSON.stringify(t.config??{}))}`,u=xo(e,"url");async function d(){if(o.isLoading||!t.workspace)return;if(u.value&&function(e){try{return!!new URL(e)}catch{return!1}}(u.value))return void p(u.value);o.start();let e=t.workspace.exportActiveDocument("json");if(!e)return n(r("developerTools.unableToExportDocument"),"error"),void await o.invalidate();try{u.value=await F0t(e,t.externalUrls),await o.validate(),p(u.value),await Kr(),await o.clear()}catch(e){let t=e instanceof Error?e.message:r("developerTools.unknownError");n(t,"error"),await o.invalidate()}}function p(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,n)=>(Ho(),Qo("div",W0t,[(Ho(),Fo(Fn(qa(i)?"a":"button"),{class:"scalar-mcp-layer-link",href:qa(i)?c:void 0,target:qa(i)?"_blank":void 0,type:qa(i)?void 0:"button",onClick:n[0]||=e=>{qa(i)||(e.preventDefault(),d())}},{default:sn(()=>[n[3]||=Xo("svg",{class:"mcp-logo",fill:"currentColor",height:"800",viewBox:"0 0 32 32",width:"800",xmlns:"http://www.w3.org/2000/svg"},[Xo("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),n[4]||=ei(" VS Code ",-1),Fs(qa(Gh),{class:"mcp-nav ml-auto size-4"})]),_:1},8,["href","target","type"])),(Ho(),Fo(Fn(qa(i)?"a":"button"),{class:"scalar-mcp-layer-link",href:qa(i)?l:void 0,target:qa(i)?"_blank":void 0,type:qa(i)?void 0:"button",onClick:n[1]||=e=>{qa(i)||(e.preventDefault(),d())}},{default:sn(()=>[n[5]||=Xo("svg",{class:"mcp-logo",viewBox:"0 0 466.73 532.09",xmlns:"http://www.w3.org/2000/svg"},[Xo("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),n[6]||=ei(" Cursor ",-1),Fs(qa(Gh),{class:"mcp-nav ml-auto size-4"})]),_:1},8,["href","target","type"])),qa(i)?(Ho(),Qo("div",{key:1,class:"scalar-mcp-layer-link",onClick:n[2]||=t=>qa(a)(e.config?.url??"")},[ei(Yt(qa(r)("mcp.connect"))+" ",1),n[8]||=Xo("svg",{class:"mcp-logo ml-auto",fill:"none",height:"173",viewBox:"0 0 156 173",width:"156",xmlns:"http://www.w3.org/2000/svg"},[Xo("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"}),Xo("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"}),Xo("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)])):(Ho(),Qo("div",{key:0,class:"scalar-mcp-layer-link",onClick:d},[n[7]||=Xo("svg",{class:"mcp-logo",fill:"none",height:"173",viewBox:"0 0 156 173",width:"156",xmlns:"http://www.w3.org/2000/svg"},[Xo("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"}),Xo("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"}),Xo("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),ei(" "+Yt(qa(r)("mcp.generate"))+" ",1),Fs(qa(Gh),{class:"mcp-nav ml-auto size-4"})]))]))}}),[["__scopeId","data-v-24b70070"]]);Bc();var X0t={class:"references-classic-header-container"},Y0t={class:"references-classic-header"},K0t={class:"references-classic-header-content"};var J0t=q0t({},[["render",function(e,t){return Ho(),Qo("div",X0t,[Xo("div",Y0t,[Xo("div",K0t,[Kn(e.$slots,"default",{},void 0,!0)]),Kn(e.$slots,"dark-mode-toggle",{},void 0,!0)])])}],["__scopeId","data-v-8a3822ca"]]);Bc(),mae(),sJe(),Xk();var e1t={class:"sr-only"},t1t={class:"overflow-x-auto"},a1t={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"},r1t={class:"sr-only"},n1t={class:"overflow-x-auto"},o1t=Cn({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){let r=a,{translate:n}=wLt(),o=il(()=>e.servers.map(e=>({id:e.name,label:e.url}))),i=il(()=>e.selectedServer?.url?.replace(/\/$/,"")||""),s=il(()=>o.value.find(t=>t.id===e.selectedServer?.name));return t({servers:e.servers,serverUrlWithoutTrailingSlash:i,serverOptions:o,selectedServer:e.selectedServer}),(t,a)=>o.value.length>1?(Ho(),Fo(qa(pKe),{key:0,ref:"elem",class:"group",modelValue:s.value,options:o.value,placement:"bottom-start",resize:"",target:e.target,"onUpdate:modelValue":a[0]||=e=>r("update:modelValue",e.id)},{default:sn(()=>[Fs(qa(sae),{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:sn(()=>[Xo("span",e1t,Yt(qa(n)("server.label"))+":",1),Xo("span",t1t,Yt(i.value||qa(n)("server.select")),1),Fs(qa(Rm),{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"])):(Ho(),Qo("div",a1t,[Xo("span",r1t,Yt(qa(n)("server.label"))+":",1),Xo("span",n1t,Yt(i.value),1)]))}});Bc(),rYt(),xQe(),eC();var i1t={class:"bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium"},s1t=["id"],l1t=Cn({__name:"AsyncApiServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=En(),{translate:a}=wLt(),r=il(()=>{let t=e.selectedServer?.server.variables;if(t)return Object.fromEntries(Object.entries(t).map(([e,t])=>{let a=q_(t);return[e,{default:a.default??"",enum:a.enum,description:a.description}]}))}),n=t=>{e.eventBus.emit("asyncapi-server:update:selected",{name:t})},o=(t,a)=>{e.selectedServer&&e.eventBus.emit("asyncapi-server:update:variables",{name:e.selectedServer.name,key:t,value:a})};return(i,s)=>(Ho(),Qo(Bs,null,[Xo("label",i1t,Yt(qa(a)("server.label")),1),Xo("div",{id:qa(t),class:tt(["border",{"rounded-b-xl":!e.selectedServer?.description&&!r.value}])},[e.servers.length?(Ho(),Fo(o1t,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:qa(t),"onUpdate:modelValue":n},null,8,["selectedServer","servers","target"])):ai("",!0)],10,s1t),Fs(qa(avt),{layout:"reference",variables:r.value,"onUpdate:variable":o},null,8,["variables"]),e.selectedServer?.description?(Ho(),Fo(qa(Rqe),{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))}}),c1t=["shell/curl","ruby/native","node/undici","php/guzzle","python/python3"],u1t=(e,t=c1t)=>!(!e||!t.includes(e));Bc(),Iat(),moe(),Yte(),e7e();var d1t={"aria-hidden":"true",class:"client-libraries-icon__more"},p1t={key:1,class:"client-libraries-icon",height:"50",role:"presentation",viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},h1t={key:0,class:"client-libraries-text client-libraries-text-more"},m1t={class:"sr-only"},f1t=q0t(Cn({__name:"ClientDropdown",props:{clientOptions:{},selectedClient:{},eventBus:{}},setup(e){let t=Ha(),{translate:a}=wLt(),r=e=>`programming-language-${"js"===e?"javascript":e}`,n=a=>{if(!t.value)return;let r=$5e(t.value);setTimeout(()=>{r()},300),"custom"!==a.clientKey&&e.eventBus.emit("workspace:update:selected-client",a.id)},o=il(()=>e.selectedClient?.split("/")[0]);return(i,s)=>(Ho(),Qo("div",{ref_key:"containerRef",ref:t,class:"client-libraries-more"},[Fs(qa(Xne),{filterFn:qa(TKe),modelValue:qa(m6e)(e.clientOptions,e.selectedClient),options:e.clientOptions,placement:"bottom-end",teleport:"","onUpdate:modelValue":s[0]||=e=>n(e)},{default:sn(()=>[Xo("button",{class:tt(["client-libraries client-libraries__select",{"client-libraries__active":e.selectedClient&&!qa(u1t)(e.selectedClient)}]),type:"button"},[Xo("div",d1t,[e.selectedClient&&!qa(u1t)(e.selectedClient)?(Ho(),Qo("div",{key:0,class:tt(`client-libraries-icon__${o.value}`)},[o.value?(Ho(),Fo(qa(Dte),{key:0,class:"client-libraries-icon",icon:r(o.value)},null,8,["icon"])):ai("",!0)],2)):(Ho(),Qo("svg",p1t,[...s[1]||=[Xo("g",{fill:"currentColor","fill-rule":"nonzero"},[Xo("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?(Ho(),Qo("span",h1t,Yt(qa(a)("clientLibraries.more")),1)):ai("",!0),Xo("span",m1t,Yt(qa(a)("clientLibraries.selectAll")),1)],2)]),_:1},8,["filterFn","modelValue","options"])],512))}}),[["__scopeId","data-v-da3e3bd2"]]);Bc(),Oh(),Iat(),Yte();var g1t={key:0,ref:"wrapper-ref"},v1t=["id"],b1t={class:"client-libraries-list"},y1t={class:"client-libraries-text"},w1t=["id"],x1t=q0t(Cn({__name:"ClientSelector",props:{clientOptions:{},selectedClient:{default:()=>d6e},eventBus:{}},setup(e,{expose:t}){let a=En(),r=En(),{translate:n}=wLt(),o=e=>!!e?.startsWith("custom/"),i=Ha(o(e.selectedClient)?d6e:e.selectedClient);hn(()=>e.selectedClient,e=>{o(e)||(i.value=e)});let s=il(()=>e.clientOptions.flatMap(e=>e.options.find(e=>e.id===i.value)??[])[0]),l=il(()=>((e,t=c1t)=>{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)),c=il(()=>l.value.findIndex(e=>e.id===i.value)),u=Mn("wrapper-ref"),d=e=>`programming-language-${"js"===e?"javascript":e}`,p=t=>{let a=l.value[t];!a||!u.value||e.eventBus.emit("workspace:update:selected-client",a.id)};return t({selectedClientOption:s}),(t,o)=>e.clientOptions.length?(Ho(),Qo("div",g1t,[Fs(qa(mh),{manual:"",selectedIndex:c.value,onChange:p},{default:sn(()=>[Xo("div",{id:qa(a),class:"client-libraries-heading"},Yt(qa(n)("clientLibraries.heading")),9,v1t),Xo("div",b1t,[Fs(qa(fh),{"aria-labelledby":qa(a),class:"client-libraries-tabs",style:Je({flexGrow:l.value.length})},{default:sn(()=>[(Ho(!0),Qo(Bs,null,Xn(l.value,e=>(Ho(),Fo(qa(gh),{key:e.clientKey,class:tt(["client-libraries rendered-code-sdks",{"client-libraries__active":e.id===i.value}])},{default:sn(()=>[Xo("div",{class:tt(`client-libraries-icon__${e.targetKey}`)},[Fs(qa(Dte),{class:"client-libraries-icon",icon:d(e.targetKey)},null,8,["icon"])],2),Xo("span",y1t,Yt(e.targetTitle),1)]),_:2},1032,["class"]))),128))]),_:1},8,["aria-labelledby","style"]),Fs(f1t,{clientOptions:e.clientOptions,eventBus:e.eventBus,selectedClient:i.value},null,8,["clientOptions","eventBus","selectedClient"])]),Fs(qa(vh),null,{default:sn(()=>[qa(u1t)(i.value)?(Ho(!0),Qo(Bs,{key:0},Xn(l.value,e=>(Ho(),Fo(qa(bh),{key:e.id,class:"selected-client card-footer -outline-offset-2"},{default:sn(()=>[ei(Yt(e.title),1)]),_:2},1024))),128)):(Ho(),Qo("div",{key:1,id:qa(r),class:"selected-client card-footer -outline-offset-2",role:"tabpanel",tabindex:"0"},Yt(s.value?.title),9,w1t))]),_:1})]),_:1},8,["selectedIndex"])],512)):ai("",!0)}}),[["__scopeId","data-v-34beffcc"]]),O1t=new Set(["http:","https:","mailto:","tel:","ftp:","ftps:","sms:"]),k1t=/^([a-z][a-z0-9+.-]*):/i,S1t=/[\u0000-\u0020\u007f-\u009f]/g,A1t=e=>(e=>{if(!e)return!1;let t=e.replace(S1t,"");if(!t)return!1;let a=k1t.exec(t)?.[1];return!a||O1t.has(`${a.toLowerCase()}:`)})(e)?e:void 0;Bc(),h_();var T1t=q0t(Cn({inheritAttrs:!1,__name:"Badge",props:{color:{}},setup(e){let{cx:t}=c_(),a=il(()=>e.color?{backgroundColor:e.color,color:`color-mix(in srgb, ${e.color}, black 40%)`}:void 0);return(e,r)=>(Ho(),Qo("div",ii(qa(t)("badge inline-block rounded-2xl border bg-b-2 px-1.5 py-0.5 text-c-2 text-sm"),{style:a.value}),[Kn(e.$slots,"default",{},void 0,!0)],16))}}),[["__scopeId","data-v-3f3e4ac3"]]);Bc();var _1t=["href"],C1t=q0t(Cn({__name:"DownloadLink",props:{documentDownloadType:{},eventBus:{},documentUrl:{},documentType:{default:"openapi"}},setup(e){let{translate:t}=wLt(),a=il(()=>"asyncapi"===e.documentType?t("download.asyncapi"):t("download.openapi")),r=il(()=>A1t(e.documentUrl)),n=t=>{e.eventBus.emit("ui:download:document",{format:t})};return(t,o)=>["yaml","json","both"].includes(e.documentDownloadType)||"direct"===e.documentDownloadType&&r.value?(Ho(),Qo("div",{key:0,class:tt(["download-container group",{"download-both":"both"===e.documentDownloadType}])},["direct"===e.documentDownloadType&&r.value?(Ho(),Qo("a",{key:0,class:"download-link download-button",href:r.value},[Xo("span",null,Yt(a.value),1)],8,_1t)):ai("",!0),"json"===e.documentDownloadType||"both"===e.documentDownloadType?(Ho(),Qo("button",{key:1,class:"download-button",type:"button",onClick:o[0]||=Cc(()=>n("json"),["prevent"])},[Xo("span",null,Yt(a.value),1),Fs(T1t,{class:"extension hidden group-hover:flex"},{default:sn(()=>[...o[2]||=[ei("json",-1)]]),_:1})])):ai("",!0),"yaml"===e.documentDownloadType||"both"===e.documentDownloadType?(Ho(),Qo("button",{key:2,class:"download-button",type:"button",onClick:o[1]||=Cc(()=>n("yaml"),["prevent"])},[Xo("span",null,Yt(a.value),1),Fs(T1t,{class:"extension hidden group-hover:flex"},{default:sn(()=>[...o[3]||=[ei("yaml",-1)]]),_:1})])):ai("",!0)],2)):ai("",!0)}}),[["__scopeId","data-v-0aba6db2"]]);Bc();var E1t=q0t(Cn({__name:"IntroductionCard",props:{row:{type:Boolean}},setup:e=>(t,a)=>(Ho(),Qo("div",{class:tt(["introduction-card",{"introduction-card-row":e.row}])},[Kn(t.$slots,"default",{},void 0,!0)],2))}),[["__scopeId","data-v-e60166e1"]]);iie(),Bc();var P1t=(e,t,a)=>{as(()=>{let r={rootMargin:a?.immediate?"0px 0px 0px 0px":"-49% 0px -49% 0px",threshold:0};e.value&&zoe(e,([e])=>{e?.isIntersecting?t():a?.onExit?.()},r)})};Bc();var M1t=q0t(Cn({__name:"Section",emits:["intersecting"],setup(e,{emit:t}){let a=t,r=Mn("section");return P1t(r,()=>a("intersecting")),(e,t)=>(Ho(),Qo("section",{ref_key:"section",ref:r,class:"section"},[Kn(e.$slots,"default",{},void 0,!0)],512))}}),[["__scopeId","data-v-be4443e9"]]);Bc(),Oh(),Xk(),iie();var N1t={class:"section-accordion-button-content"},$1t={key:0,class:"section-accordion-button-actions"},I1t={key:0,class:"section-accordion-description"},R1t={class:"section-accordion-content-card"},D1t=q0t(Cn({__name:"SectionAccordion",props:{transparent:{type:Boolean},modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){let a=t,r=Ha(),n=function(e,t={}){let a,{delayEnter:r=0,delayLeave:n=0,triggerOnRemoval:o=!1,window:i=Qoe}=t,s=Za(!1),l=e=>{let t=e?r:n;a&&=void clearTimeout(a),t?a=setTimeout(()=>s.value=e,t):s.value=e};return i?($oe(e,"mouseenter",()=>l(!0),{passive:!0}),$oe(e,"mouseleave",()=>l(!1),{passive:!0}),o&&Doe(il(()=>Noe(e)),()=>l(!1)),s):s}(r);return(t,o)=>(Ho(),Fo(qa(yp),{as:"section",class:tt(["section-accordion",{"section-accordion-transparent":e.transparent}])},{default:sn(()=>[Fs(qa(wp),{ref_key:"button",ref:r,class:"section-accordion-button",onClick:o[0]||=()=>a("update:modelValue",!e.modelValue)},{default:sn(()=>[Xo("div",N1t,[Kn(t.$slots,"title",{},void 0,!0)]),t.$slots.actions?(Ho(),Qo("div",$1t,[Kn(t.$slots,"actions",{active:qa(n)||e.modelValue},void 0,!0)])):ai("",!0),Fs(qa(Zm),{class:tt(["section-accordion-chevron size-4.5 transition-transform",{"rotate-90":e.modelValue}])},null,8,["class"])]),_:3},512),e.modelValue?(Ho(),Fo(qa(xp),{key:0,class:"section-accordion-content",static:""},{default:sn(()=>[t.$slots.description?(Ho(),Qo("div",I1t,[Kn(t.$slots,"description",{},void 0,!0)])):ai("",!0),Xo("div",R1t,[Kn(t.$slots,"default",{},void 0,!0)])]),_:3})):ai("",!0)]),_:3},8,["class"]))}}),[["__scopeId","data-v-ff689b94"]]);Bc();var L1t={class:"section-column"};var B1t=q0t({},[["render",function(e,t){return Ho(),Qo("div",L1t,[Kn(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-699c28e3"]]);Bc();var j1t={class:"section-columns"};var U1t=q0t({},[["render",function(e,t){return Ho(),Qo("div",j1t,[Kn(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-8b9602bf"]]);Bc();var z1t={key:1,class:"section-container"},H1t=q0t(Cn({__name:"SectionContainer",props:{omit:{type:Boolean}},setup:e=>(t,a)=>e.omit?Kn(t.$slots,"default",{},void 0,!0,0):(Ho(),Qo("div",z1t,[Kn(t.$slots,"default",{},void 0,!0)]))}),[["__scopeId","data-v-20a1472a"]]);Bc(),Oh(),Xk();var Z1t={class:"section-accordion-wrapper"},V1t={class:"section-accordion-title"},q1t=q0t(Cn({__name:"SectionContainerAccordion",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){let a=t;return(t,r)=>(Ho(),Qo("section",Z1t,[Fs(qa(yp),{as:"div",class:"section-accordion"},{default:sn(()=>[Fs(qa(wp),{class:"section-accordion-button",onClick:r[0]||=t=>a("update:modelValue",!e.modelValue)},{default:sn(()=>[Fs(qa(Zm),{class:tt(["section-accordion-chevron size-5 transition-transform",{"rotate-90":e.modelValue}])},null,8,["class"]),Xo("div",V1t,[Kn(t.$slots,"title",{},void 0,!0)])]),_:3}),e.modelValue?(Ho(),Fo(qa(xp),{key:0,class:"section-accordion-content",static:""},{default:sn(()=>[Kn(t.$slots,"default",{},void 0,!0)]),_:3})):ai("",!0)]),_:3})]))}}),[["__scopeId","data-v-9419dd23"]]);Bc();var Q1t={class:"section-content"};var F1t=q0t({},[["render",function(e,t){return Ho(),Qo("div",Q1t,[Kn(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-6101128d"]]);Bc();var W1t={class:"section-header-wrapper narrow:grid-cols-1 narrow:gap-0 grid grid-cols-2 gap-12"},G1t=q0t(Cn({__name:"SectionHeader",props:{tight:{type:Boolean},removeMargin:{type:Boolean,default:!1}},setup:e=>(t,a)=>(Ho(),Qo("div",W1t,[Xo("div",{class:tt(["section-header",{tight:e.tight,"mb-3":!e.removeMargin}])},[Kn(t.$slots,"default",{},void 0,!0)],2),t.$slots.links?Kn(t.$slots,"links",{},void 0,!0,0):ai("",!0)]))}),[["__scopeId","data-v-7607c44e"]]);Bc();var X1t=q0t(Cn({__name:"SectionHeaderTag",props:{level:{default:1}},setup:e=>(t,a)=>(Ho(),Fo(Fn(`h${e.level}`),{class:"section-header-label"},{default:sn(()=>[Kn(t.$slots,"default",{},void 0,!0)]),_:3}))}),[["__scopeId","data-v-f1ac6c38"]]);Bc();var Y1t={key:0,class:"screenreader-only"},K1t=q0t(Cn({__name:"ScreenReader",props:{if:{type:Boolean,default:!0}},setup:e=>(e,t)=>e.$props.if?(Ho(),Qo("span",Y1t,[Kn(e.$slots,"default",{},void 0,!0)])):Kn(e.$slots,"default",{},void 0,!0,1)}),[["__scopeId","data-v-df2e1026"]]);Bc(),mae(),Xk(),h_();var J1t=["id"],e2t={class:"relative"},t2t=Cn({__name:"Anchor",emits:["copyAnchorUrl"],setup(e,{emit:t}){let a=t,r=En(),{translate:n}=wLt(),{cx:o}=c_();return(e,t)=>(Ho(),Qo("span",at(Ko(qa(o)("group/heading wrap-break-word relative"))),[Xo("span",{id:qa(r),class:"contents"},[Kn(e.$slots,"default")],8,J1t),Xo("span",e2t,[t[1]||=Xo("span",null,"​",-1),Fs(qa(sae),{"aria-describedby":qa(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]||=Cc(()=>a("copyAnchorUrl"),["stop"])},{default:sn(()=>[Fs(qa(Hv),{"aria-hidden":"true",class:"size-4.5"}),Fs(K1t,null,{default:sn(()=>[ei(Yt(qa(n)("actions.copyLink")),1)]),_:1})]),_:1},8,["aria-describedby"])])],16))}});Bc(),Xk();var a2t=["id"],r2t={class:"sr-only"},n2t=Cn({__name:"WithBreadcrumb",props:{breadcrumb:{},eventBus:{}},setup(e){let{translate:t}=wLt(),a=il(()=>t("actions.copyLinkTo",{name:e.breadcrumb?.[e.breadcrumb.length-1]??""}));return(t,r)=>e.breadcrumb&&e.breadcrumb.length>0?(Ho(),Qo("div",{key:0,id:e.breadcrumb.join("."),class:"relative scroll-mt-24"},[Kn(t.$slots,"default"),Xo("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:r[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.breadcrumb.join(".")})},[Fs(qa(pb),{class:"size-3",weight:"bold"}),Xo("span",r2t,[Kn(t.$slots,"sr-label",{},()=>[ei(Yt(a.value),1)])])])],8,a2t)):Kn(t.$slots,"default",{},void 0,void 0,1)}});Bc(),Xk();var o2t=["aria-label"],i2t=["id","aria-controls","aria-expanded","aria-labelledby"],s2t=["id"],l2t=q0t(Cn({__name:"CompactSection",props:{id:{},label:{},modelValue:{type:Boolean}},emits:["update:modelValue","copyAnchorUrl"],setup(e,{emit:t}){let a=t,r=il(()=>`${e.id}-content`),n=En();return(t,o)=>(Ho(),Qo("section",{"aria-label":e.label,class:"collapsible-section"},[Xo("button",{id:e.id,"aria-controls":e.modelValue?r.value:void 0,"aria-expanded":e.modelValue,"aria-labelledby":qa(n),class:tt(["collapsible-section-trigger",{"collapsible-section-trigger-open":e.modelValue}]),type:"button",onClick:o[1]||=t=>a("update:modelValue",!e.modelValue)},[Fs(qa(Zm),{class:tt(["size-3 transition-transform duration-100",{"rotate-90":e.modelValue}]),weight:"bold"},null,8,["class"]),Fs(qa(t2t),{class:"collapsible-section-header",onCopyAnchorUrl:o[0]||=()=>a("copyAnchorUrl")},{default:sn(()=>[Xo("span",{id:qa(n),class:"contents"},[Kn(t.$slots,"heading",{},void 0,!0)],8,s2t)]),_:3})],10,i2t),e.modelValue?(Ho(),Fo(M1t,{key:0,id:r.value,class:"collapsible-section-content",label:e.label},{default:sn(()=>[Kn(t.$slots,"default",{},void 0,!0)]),_:3},8,["id","label"])):ai("",!0)],8,o2t))}}),[["__scopeId","data-v-ea5f870d"]]);Bc();var c2t={document:1,tag:2,channel:2,modelGroup:2,operation:3,model:3,message:4},u2t=Symbol("DOCUMENT_OUTLINE_ROOT"),d2t=e=>Math.min(6,Math.max(1,e)),p2t=e=>{let t=dn(u2t,null);return t||un(u2t,e),{level:d2t(c2t[e]-c2t[t??e]+1)}},h2t=e=>e?Object.fromEntries(Object.entries(e).filter(([e])=>e.startsWith("x-"))):{},m2t=["content.start","content.end"],f2t=(e,t,a,r)=>`${e}/plugin-view/${t}/${a}/${r}`,g2t=({plugins:e=[],auth:t})=>{let a=new Map,r=t??{export:()=>({}),getAuthSecrets:()=>{},getAuthSelectedSchemas:()=>{}};return e.forEach(e=>{let t=e();a.set(t.name,t)}),{getSpecificationExtensions:e=>{let t=[];for(let r of a.values())for(let a of r.extensions)a.name===e&&t.push(a);return t},getViewComponents:(e,t)=>{let r=[];for(let n of a.values()){let a=n.views?.[e];a&&a.forEach((a,o)=>{r.push({...a,id:f2t(t,n.name,e,o)})})}return r},notifyInit:e=>{for(let t of a.values())t.hooks?.onInit?.({config:e,auth:r})},notifyConfigChange:e=>{for(let t of a.values())t.hooks?.onConfigChange?.({config:e,auth:r})},getAuthState:()=>r,notifyDestroy:()=>{for(let e of a.values())e.hooks?.onDestroy?.()},getApiClientPlugins:()=>{let e=[];for(let t of a.values())t.apiClientPlugins&&e.push(...t.apiClientPlugins);return e},getSidebarEntries:e=>{let t=[];for(let r of a.values())for(let a of m2t)(r.views?.[a])?.forEach((n,o)=>{n.sidebar?.show&&n.sidebar.label&&t.push({id:f2t(e,r.name,a,o),label:n.sidebar.label,viewName:a})});return t}}};Bc();var v2t=Symbol(),b2t=()=>dn(v2t)||g2t({});AUt(),Wht(),Bq();var y2t=OUt(),w2t=()=>{let e=xUt.SELECTED_CLIENT;return{get:()=>y2t.getItem(e),set:t=>{y2t.setItem(e,t)}}},x2t=()=>{let e=e=>`${xUt.AUTH}-${e}`;return{getAuth:t=>jj(Zpt,JSON.parse(y2t.getItem(e(t))??"{}")),setAuth:(t,a)=>{y2t.setItem(e(t),JSON.stringify(a))}}};n7e();var O2t=({debounceDelay:e=500,maxWait:t=1e4,persistAuth:a=!1})=>{let{execute:r}=H5e({delay:e,maxWait:t}),n=x2t(),o=w2t();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))}}}};Bc(),Lat();var k2t={key:0,class:"text-base"},S2t=Cn({__name:"SpecificationExtension",props:{value:{}},setup(e){let{getSpecificationExtensions:t}=b2t();let a=il(()=>function(e){return Object.keys(e??{}).filter(e=>e.startsWith("x-"))}(e.value)),r=il(()=>function(e){return e.flatMap(e=>t(e)).filter(e=>e.component)}(a.value));return(t,a)=>"object"==typeof e.value&&r.value.length?(Ho(),Qo("div",k2t,[(Ho(!0),Qo(Bs,null,Xn(r.value,t=>(Ho(),Fo(qa(gat),null,{default:sn(()=>[t.renderer?(Ho(),Fo(Fn(t.renderer),ii({key:0,ref_for:!0},{[t.name]:e.value?.[t.name],component:t.component}),null,16)):(Ho(),Fo(Fn(t.component),ii({key:1,ref_for:!0},{[t.name]:e.value?.[t.name]}),null,16))]),_:2},1024))),256))])):ai("",!0)}});Bc(),xQe();var A2t=["id"],T2t=Cn({__name:"InfoMarkdownSection",props:{id:{},content:{},transformHeading:{type:Function},eventBus:{}},setup(e){let t=Mn("element");return P1t(t,()=>e.id?e.eventBus?.emit("intersecting:nav-item",{id:e.id}):void 0),(a,r)=>(Ho(),Qo("div",{id:e.id,ref_key:"element",ref:t,class:"introduction-description-heading scroll-mt-16"},[Fs(qa(Rqe),{transform:e.transformHeading,transformType:"heading",value:e.content,withImages:""},null,8,["transform","value"])],8,A2t))}});Bc(),fQe(),net();var _2t={key:0,class:"introduction-description mt-6 flex flex-col"},C2t=q0t(Cn({__name:"InfoDescription",props:{eventBus:{},headingSlugGenerator:{type:Function},description:{}},setup(e){let t=il(()=>{if(!e.description)return[];let{slug:t}=aet();return WHe(e.description).map(a=>{let r=function(e,t=1){let a=QHe(e),r=[];return J_e(a,"heading",e=>{let a=FHe(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(!Oqe(t))return t;let{slug:a}=aet(),r=FHe(t);return t.data={hProperties:{id:e.headingSlugGenerator({depth:t.depth,value:r,slug:a(r)})}},t};return(r,n)=>e.description?(Ho(),Qo("div",_2t,[(Ho(!0),Qo(Bs,null,Xn(t.value,t=>(Ho(),Fo(T2t,{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"]]);Bc();var E2t=q0t(Cn({__name:"LinkList",setup(e){let t=Ha(),a=Ha(!1),r=()=>{if(!t.value)return;let{scrollWidth:e,clientWidth:r}=t.value;a.value=e>r},n=null;return as(()=>{r(),window.addEventListener("resize",r),t.value&&(n=new MutationObserver(()=>{r()}),n.observe(t.value,{childList:!0,subtree:!0}))}),is(()=>{window.removeEventListener("resize",r),n&&=(n.disconnect(),null)}),(e,r)=>(Ho(),Qo("div",{ref_key:"containerRef",ref:t,class:tt(["custom-scroll narrow:mb-3 mb-1.5 flex h-auto min-h-8 max-w-full items-center gap-2 overflow-x-auto text-base whitespace-nowrap",{"icons-only":a.value}])},[Kn(e.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-dc833d99"]]);Bc(),Xk();var P2t={key:0,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},M2t={key:0,class:"ml-1 empty:hidden"},N2t={key:1,class:"ml-1 empty:hidden"},$2t=Cn({__name:"ExternalDocs",props:{value:{}},setup(e){let t=il(()=>A1t(e.value?.url));return(a,r)=>e.value?(Ho(),Qo("div",P2t,[(Ho(),Fo(Fn(t.value?"a":"span"),{class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:t.value,rel:t.value?"noopener noreferrer":void 0,target:t.value?"_blank":void 0},{default:sn(()=>[Fs(qa(rm),{class:"size-3 text-current",weight:"bold"}),e.value.description?(Ho(),Qo("span",M2t,Yt(e.value.description),1)):(Ho(),Qo("span",N2t,Yt(e.value.url),1))]),_:1},8,["href","rel","target"]))])):ai("",!0)}});Bc(),Xk(),h_();var I2t={key:0,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},R2t=["href"],D2t={class:"ml-1 empty:hidden"},L2t={key:1,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},B2t=["href"],j2t={class:"ml-1 empty:hidden"},U2t={key:2,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},z2t=Cn({__name:"Contact",props:{value:{}},setup(e){let t=il(()=>A1t(e.value?.url)),a=a_({base:"text-c-1 mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 group-last:mr-0 narrow:border",variants:{link:{true:"no-underline hover:bg-b-2"}}});return(r,n)=>e.value?(Ho(),Qo(Bs,{key:0},[e.value.email?(Ho(),Qo("div",I2t,[Xo("a",{class:tt(qa(a)({link:!0})),href:`mailto:${e.value.email}`},[Fs(qa(Qf),{class:"size-3 text-current",weight:"bold"}),Xo("span",D2t,Yt(e.value.name),1)],10,R2t)])):ai("",!0),t.value?(Ho(),Qo("div",L2t,[Xo("a",{class:tt(qa(a)({link:!0})),href:t.value,rel:"noopener noreferrer",target:"_blank"},[Fs(qa(pb),{class:"size-3 text-current",weight:"bold"}),Xo("span",j2t,Yt(e.value.email?"":e.value.name),1)],10,B2t)])):!e.value.email&&e.value.name?(Ho(),Qo("div",U2t,[Xo("span",{class:tt(qa(a)({link:!1}))},Yt(e.value.name),3)])):ai("",!0)],64)):ai("",!0)}});Bc(),Xk();var H2t={class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},Z2t=["href"],V2t={class:"ml-1 empty:hidden"},q2t={class:"ml-1 empty:hidden"},Q2t=Cn({__name:"InfoLink",props:{name:{},url:{}},setup(e){let t=il(()=>A1t(e.url));return(a,r)=>(Ho(),Qo("div",H2t,[t.value?(Ho(),Qo("a",{key:0,class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:t.value,rel:"noopener noreferrer",target:"_blank"},[Fs(qa(pb),{class:"size-3 text-current",weight:"bold"}),Xo("span",V2t,Yt(e.name),1)],8,Z2t)):(Ho(),Qo(Bs,{key:1},[Fs(qa(pb),{class:"size-3 text-current",weight:"bold"}),Xo("span",q2t,Yt(e.name),1)],64))]))}});Bc(),Xk();var F2t={class:"group narrow:border-r-0 narrow:first:ml-0 flex h-fit items-center border-r first:ml-auto last:border-r-0"},W2t=["href"],G2t={class:"ml-1 empty:hidden"},X2t={class:"ml-1 empty:hidden"},Y2t=Cn({__name:"License",props:{value:{}},setup(e){let t=il(()=>A1t(e.value?.url));return(a,r)=>(Ho(),Qo("div",F2t,[t.value?(Ho(),Qo("a",{key:0,class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:t.value,rel:"noopener noreferrer",target:"_blank"},[Fs(qa(Ug),{class:"size-3 text-current",weight:"bold"}),Xo("span",G2t,Yt(e.value?.name||e.value&&"identifier"in e.value&&e.value.identifier||t.value),1)],8,W2t)):(Ho(),Qo(Bs,{key:1},[Fs(qa(Ug),{class:"size-3 text-current",weight:"bold"}),Xo("span",X2t,Yt(e.value?.name),1)],64))]))}});Bc(),Xk();var K2t={key:0,class:"group narrow:border-r-0 narrow:first:ml-0 flex items-center border-r first:ml-auto last:border-r-0"},J2t=["href"],e8t={class:"ml-1 empty:hidden"},t8t=Cn({__name:"TermsOfService",props:{value:{}},setup(e){let{translate:t}=wLt(),a=il(()=>A1t(e.value));return(e,r)=>a.value?(Ho(),Qo("div",K2t,[Xo("a",{class:"text-c-1 hover:bg-b-2 narrow:border mr-2 flex min-h-7 min-w-7 items-center rounded-lg px-2 py-1 no-underline group-last:mr-0",href:a.value,rel:"noopener noreferrer",target:"_blank"},[Fs(qa(Qy),{class:"size-3 text-current",weight:"bold"}),Xo("span",e8t,Yt(qa(t)("info.termsOfService")),1)],8,J2t)])):ai("",!0)}});Bc(),eC();var a8t=Cn({__name:"InfoLinks",props:{info:{},externalDocs:{}},setup(e){let t=il(()=>{let t=e.info["x-scalar-links"];return Array.isArray(t)?t.filter(e=>"string"==typeof e?.name&&"string"==typeof e?.url):[]}),a=il(()=>!!(e.externalDocs||e.info.contact||e.info.license||e.info.termsOfService||t.value.length));return(r,n)=>a.value?(Ho(),Fo(qa(E2t),{key:0},{default:sn(()=>[e.externalDocs?(Ho(),Fo(qa($2t),{key:0,value:e.externalDocs},null,8,["value"])):ai("",!0),e.info.contact?(Ho(),Fo(qa(z2t),{key:1,value:e.info.contact},null,8,["value"])):ai("",!0),e.info.license?(Ho(),Fo(qa(Y2t),{key:2,value:qa(q_)(e.info.license)},null,8,["value"])):ai("",!0),e.info.termsOfService?(Ho(),Fo(qa(t8t),{key:3,value:e.info.termsOfService},null,8,["value"])):ai("",!0),(Ho(!0),Qo(Bs,null,Xn(t.value,e=>(Ho(),Fo(qa(Q2t),{key:e.url,name:e.name,url:e.url},null,8,["name","url"]))),128))]),_:1})):ai("",!0)}});Bc();var r8t=Cn({__name:"InfoVersion",props:{version:{}},setup(e){let t=il(()=>{if(null==e.version)return e.version;let t=String(e.version);return/^\d/.test(t)?`v${t}`:t});return(e,a)=>t.value?(Ho(),Fo(qa(T1t),{key:0},{default:sn(()=>[ei(Yt(t.value),1)]),_:1})):ai("",!0)}});Bc();var n8t={"aria-hidden":"true",class:"introduction-loading flex flex-col gap-5"},o8t={key:0,class:"narrow:flex-col narrow:gap-3 flex gap-6"},i8t=q0t(Cn({__name:"IntroductionLoading",props:{hasAside:{type:Boolean,default:!0}},setup:e=>(t,a)=>(Ho(),Qo("div",n8t,[a[3]||=ti('<div class="flex gap-1.5" data-v-41a61989><div class="introduction-skeleton h-6 w-14 rounded-full" data-v-41a61989></div><div class="introduction-skeleton h-6 w-24 rounded-full" data-v-41a61989></div></div><div class="narrow:grid-cols-1 narrow:gap-3 grid grid-cols-2 gap-12" data-v-41a61989><div class="introduction-skeleton h-9 w-3/5 rounded-lg" data-v-41a61989></div><div class="narrow:justify-start flex flex-wrap items-center justify-end gap-2" data-v-41a61989><div class="introduction-skeleton h-5 w-28 rounded" data-v-41a61989></div><div class="introduction-skeleton h-5 w-28 rounded" data-v-41a61989></div><div class="introduction-skeleton h-5 w-12 rounded" data-v-41a61989></div></div></div>',2),Fs(qa(U1t),null,{default:sn(()=>[Fs(qa(B1t),null,{default:sn(()=>[...a[0]||=[Xo("div",{class:"flex flex-col gap-3"},[Xo("div",{class:"introduction-skeleton mb-2 h-5 w-56 rounded"}),Xo("div",{class:"introduction-skeleton h-4 w-full rounded"}),Xo("div",{class:"introduction-skeleton h-4 w-11/12 rounded"}),Xo("div",{class:"introduction-skeleton h-4 w-4/5 rounded"}),Xo("div",{class:"introduction-skeleton mt-4 h-6 w-40 rounded"}),Xo("div",{class:"introduction-skeleton h-4 w-3/4 rounded"}),Xo("div",{class:"introduction-skeleton h-4 w-2/3 rounded"}),Xo("div",{class:"introduction-skeleton h-4 w-1/2 rounded"})],-1)]]),_:1}),e.hasAside?(Ho(),Fo(qa(B1t),{key:0},{default:sn(()=>[...a[1]||=[Xo("div",{class:"sticky-cards gap-3"},[Xo("div",{class:"introduction-skeleton h-20 w-full rounded-lg"}),Xo("div",{class:"introduction-skeleton h-28 w-full rounded-lg"}),Xo("div",{class:"introduction-skeleton h-28 w-full rounded-lg"})],-1)]]),_:1})):ai("",!0)]),_:1}),e.hasAside?ai("",!0):(Ho(),Qo("div",o8t,[...a[2]||=[Xo("div",{class:"introduction-skeleton h-28 w-full flex-1 rounded-lg"},null,-1),Xo("div",{class:"introduction-skeleton h-28 w-full flex-1 rounded-lg"},null,-1),Xo("div",{class:"introduction-skeleton h-28 w-full flex-1 rounded-lg"},null,-1)]]))]))}),[["__scopeId","data-v-41a61989"]]);Bc(),aK();var s8t=Cn({__name:"SpecificationVersion",props:{documentType:{default:"openapi"},version:{}},setup(e){let t=il(()=>GX(e.documentType));return(a,r)=>e.version?(Ho(),Fo(qa(T1t),{key:0},{default:sn(()=>[ei(Yt(t.value)+" "+Yt(e.version),1)]),_:1})):ai("",!0)}});Bc();var l8t={class:"flex gap-1.5"},c8t={class:"sticky-cards"},u8t=q0t(Cn({__name:"IntroductionLayout",props:{id:{},documentType:{},specificationVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},headingSlugGenerator:{type:Function},eventBus:{}},setup(e){let{translate:t}=wLt(),{level:a}=p2t("document");return(r,n)=>(Ho(),Fo(qa(H1t),null,{default:sn(()=>[Fs(qa(M1t),{id:e.id,"aria-label":qa(t)("navigation.introduction"),class:"introduction-section z-1 gap-12",onIntersecting:n[0]||=()=>e.id&&e.eventBus?.emit("intersecting:nav-item",{id:e.id})},{default:sn(()=>[Fs(qa(F1t),null,{default:sn(()=>[e.info?(Ho(),Qo(Bs,{key:1},[Xo("div",l8t,[Fs(r8t,{version:e.info?.version},null,8,["version"]),Fs(s8t,{documentType:e.documentType,version:e.specificationVersion},null,8,["documentType","version"])]),Fs(qa(G1t),{tight:""},{links:sn(()=>[Fs(a8t,{externalDocs:e.externalDocs,info:e.info},null,8,["externalDocs","info"])]),default:sn(()=>[Fs(qa(X1t),{level:qa(a)},{default:sn(()=>[ei(Yt(e.info?.title),1)]),_:1},8,["level"])]),_:1}),Fs(qa(U1t),null,{default:sn(()=>[Fs(qa(B1t),null,{default:sn(()=>[Kn(r.$slots,"download-link",{},void 0,!0),Fs(C2t,{description:e.info?.description,eventBus:e.eventBus,headingSlugGenerator:e.headingSlugGenerator},null,8,["description","eventBus","headingSlugGenerator"])]),_:3}),r.$slots.aside?(Ho(),Fo(qa(B1t),{key:0},{default:sn(()=>[Xo("div",c8t,[Kn(r.$slots,"aside",{},void 0,!0)])]),_:3})):ai("",!0)]),_:3}),Fs(qa(S2t),{value:e.documentExtensions},null,8,["value"]),Fs(qa(S2t),{value:e.infoExtensions},null,8,["value"])],64)):(Ho(),Fo(i8t,{key:0,hasAside:!!r.$slots.aside},null,8,["hasAside"]))]),_:3}),Kn(r.$slots,"after",{},void 0,!0)]),_:3},8,["id","aria-label"])]),_:3}))}}),[["__scopeId","data-v-8b2934cb"]]);Bc();var d8t=Cn({__name:"InfoBlock",props:{id:{},specificationVersion:{},info:{},externalDocs:{},documentExtensions:{},infoExtensions:{},eventBus:{},headingSlugGenerator:{type:Function},layout:{},documentDownloadType:{default:"both"},documentUrl:{},documentType:{}},setup(e){let t=il(()=>"classic"===e.layout?"after":"aside");return(a,r)=>(Ho(),Fo(u8t,{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]:sn(()=>[Fs(E1t,{row:"classic"===e.layout},{default:sn(()=>[Kn(a.$slots,"selectors")]),_:3},8,["row"])]),"download-link":sn(()=>[Fs(C1t,{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"]))}});Bc();var p8t={class:"introduction-card-item"};var h8t=q0t({},[["render",function(e,t){return Ho(),Qo("div",p8t,[Kn(e.$slots,"default",{},void 0,!0)])}],["__scopeId","data-v-dfab866f"]]),m8t={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",julia:"programming-language-julia",jl:"programming-language-julia",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"},f8t=e=>m8t[e.trim().toLowerCase()],g8t=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}`},v8t=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&&g8t(a)].filter(Boolean).join("\n\n");return[{lang:e.lang,description:r}]}):[];Bc(),Iat(),moe(),Yte(),xQe();var b8t={key:0},y8t=["id"],w8t={class:"client-libraries-content"},x8t=["aria-labelledby"],O8t=["id","aria-selected","tabindex","onClick","onKeydown"],k8t={class:"client-libraries-text"},S8t={class:"client-libraries-text"},A8t={"aria-hidden":"true",class:"client-libraries-measure-clip"},T8t={class:"client-libraries-text"},_8t={class:"client-libraries"},C8t={class:"client-libraries-text"},E8t=["aria-labelledby"],P8t=q0t(Cn({__name:"SdkInstallationInstructions",props:{xScalarSdkInstallation:{},selectedClient:{},eventBus:{}},setup(e){let t=En(),a=En(),r=`${a}-panel`,{translate:n}=wLt(),o=il(()=>v8t(e.xScalarSdkInstallation).map(e=>({...e,icon:f8t(e.lang)}))),i=Ha(0),s=il(()=>o.value[i.value]),l=il(()=>f6e(o.value.map(e=>({lang:e.lang,source:""})))),c=t=>{i.value=t;let a=l.value[t];a&&e.eventBus?.emit("workspace:update:selected-client",a)};hn([()=>e.selectedClient,l],([e,t])=>{let a=e?t.findIndex(t=>t===e):-1;a>=0?i.value=a:i.value>t.length-1&&(i.value=0)},{immediate:!0}),hn(()=>o.value.map(e=>e.lang).join("\n"),()=>{Kr(v)});let u,d=Ha(),p=Ha(),h=Ha(),m=Ha(0),f=Ha([]),g=Ha(0),v=()=>{let e=h.value,t=d.value;if(!e||!t)return;let a=Array.from(e.children).map(e=>e.offsetWidth);f.value=a.slice(0,o.value.length),g.value=a[o.value.length]??0,m.value=t.clientWidth},b=il(()=>!f.value.length||m.value<=0?o.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))})(f.value,m.value,g.value)),y=il(()=>o.value.slice(0,b.value)),w=il(()=>i.value>=b.value),x=il(()=>o.value.slice(b.value).map((e,t)=>({id:String(b.value+t),label:e.lang}))),O=il(()=>x.value.find(e=>e.id===String(i.value))),k=e=>{e&&c(Number(e.id))},S=il(()=>w.value?t:`${a}-tab-${i.value}`),A=il(()=>w.value?-1:i.value),T=(e,t)=>{let a=b.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(),c(r),(e=>{Kr(()=>{p.value?.querySelectorAll('[role="tab"]')[e]?.focus()})})(r)},_=0,C=()=>{typeof requestAnimationFrame>"u"?v():(cancelAnimationFrame(_),_=requestAnimationFrame(v))};return as(()=>{typeof ResizeObserver<"u"&&(u=new ResizeObserver(C),d.value&&u.observe(d.value),h.value&&u.observe(h.value)),v()}),os(()=>{u?.disconnect(),typeof cancelAnimationFrame<"u"&&cancelAnimationFrame(_)}),(e,l)=>o.value.length?(Ho(),Qo("div",b8t,[Xo("div",{id:qa(t),class:"client-libraries-heading"},Yt(qa(n)("clientLibraries.heading")),9,y8t),Xo("div",w8t,[Xo("div",{ref_key:"rowRef",ref:d,class:"client-libraries-row"},[Xo("div",{ref_key:"tabsRef",ref:p,"aria-labelledby":qa(t),class:"client-libraries-tabs",role:"tablist"},[(Ho(!0),Qo(Bs,null,Xn(y.value,(e,t)=>(Ho(),Qo("button",{id:`${qa(a)}-tab-${t}`,key:t,"aria-controls":r,"aria-selected":t===i.value,class:tt(["client-libraries",{"client-libraries__active":t===i.value}]),role:"tab",tabindex:t===A.value?0:-1,type:"button",onClick:e=>c(t),onKeydown:e=>T(e,t)},[e.icon?(Ho(),Fo(qa(Dte),{key:0,class:"client-libraries-icon",icon:e.icon},null,8,["icon"])):ai("",!0),Xo("span",k8t,Yt(e.lang),1)],42,O8t))),128))],8,x8t),b.value<o.value.length?(Ho(),Fo(qa(Xne),{key:0,modelValue:O.value,options:x.value,placement:"bottom-end",teleport:"","onUpdate:modelValue":k},{default:sn(()=>[Xo("button",{class:tt(["client-libraries client-libraries-more",{"client-libraries__active":w.value}]),type:"button"},[Fs(qa(Dte),{class:"client-libraries-icon",icon:w.value&&s.value?.icon?s.value.icon:"Ellipses"},null,8,["icon"]),Xo("span",S8t,Yt(qa(n)("clientLibraries.more")),1)],2)]),_:1},8,["modelValue","options"])):ai("",!0)],512),Xo("div",A8t,[Xo("div",{ref_key:"measureRef",ref:h,class:"client-libraries-row client-libraries-row--measure"},[(Ho(!0),Qo(Bs,null,Xn(o.value,(e,t)=>(Ho(),Qo("span",{key:t,class:"client-libraries"},[e.icon?(Ho(),Fo(qa(Dte),{key:0,class:"client-libraries-icon",icon:e.icon},null,8,["icon"])):ai("",!0),Xo("span",T8t,Yt(e.lang),1)]))),128)),Xo("span",_8t,[Fs(qa(Dte),{class:"client-libraries-icon",icon:"Ellipses"}),Xo("span",C8t,Yt(qa(n)("clientLibraries.more")),1)])],512)])]),s.value?.description?(Ho(),Qo("div",{key:0,id:r,"aria-labelledby":S.value,class:"selected-client",role:"tabpanel",tabindex:"0"},[Fs(qa(Rqe),{value:s.value.description},null,8,["value"])],8,E8t)):ai("",!0)])):ai("",!0)}}),[["__scopeId","data-v-76e5ff4d"]]);Bc(),mae(),sJe(),Xk();var M8t={class:"sr-only"},N8t={class:"overflow-x-auto"},$8t={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"},I8t={class:"sr-only"},R8t={class:"overflow-x-auto"},D8t=Cn({__name:"Selector",props:{selectedServer:{},servers:{},target:{}},emits:["update:modelValue"],setup(e,{expose:t,emit:a}){let r=a,{translate:n}=wLt(),o=il(()=>e.servers.map(e=>({id:e.url,label:e.url}))),i=il(()=>e.selectedServer?.url?.replace(/\/$/,"")||""),s=il(()=>o.value.find(t=>t.id===e.selectedServer?.url));return t({servers:e.servers,serverUrlWithoutTrailingSlash:i,serverOptions:o,selectedServer:e.selectedServer}),(t,a)=>o.value.length>1?(Ho(),Fo(qa(pKe),{key:0,ref:"elem",class:"group",modelValue:s.value,options:o.value,placement:"bottom-start",resize:"",target:e.target,"onUpdate:modelValue":a[0]||=e=>r("update:modelValue",e.id)},{default:sn(()=>[Fs(qa(sae),{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:sn(()=>[Xo("span",M8t,Yt(qa(n)("server.label"))+":",1),Xo("span",N8t,Yt(i.value||qa(n)("server.select")),1),Fs(qa(Rm),{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"])):(Ho(),Qo("div",$8t,[Xo("span",I8t,Yt(qa(n)("server.label"))+":",1),Xo("span",R8t,Yt(i.value),1)]))}});Bc(),rYt(),xQe();var L8t={class:"bg-b-2 flex h-8 items-center rounded-t-xl border-x border-t px-3 py-2.5 font-medium"},B8t=["id"],j8t=Cn({__name:"ServerSelector",props:{eventBus:{},selectedServer:{},servers:{}},setup(e){let t=En(),{translate:a}=wLt(),r=t=>{e.eventBus.emit("server:update:selected",{url:e.selectedServer?.url===t?"":t,meta:{type:"document"}})},n=(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(o,i)=>(Ho(),Qo(Bs,null,[Xo("label",L8t,Yt(qa(a)("server.label")),1),Xo("div",{id:qa(t),class:tt(["border",{"rounded-b-xl":!e.selectedServer?.description&&!e.selectedServer?.variables}])},[e.servers.length?(Ho(),Fo(D8t,{key:0,selectedServer:e.selectedServer,servers:e.servers,target:qa(t),"onUpdate:modelValue":r},null,8,["selectedServer","servers","target"])):ai("",!0)],10,B8t),Fs(qa(avt),{layout:"reference",variables:e.selectedServer?.variables,"onUpdate:variable":n},null,8,["variables"]),e.selectedServer?.description?(Ho(),Fo(qa(Rqe),{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))}});K9e();var U8t=e=>{let t=e.length;for(;t>0&&"/"===e[t-1];)--t;return e.slice(0,t)},z8t=e=>U8t((e=>{let t=0;for(;t<e.length&&"/"===e[t];)t+=1;return e.slice(t)})(e)),H8t=e=>e.startsWith("#"),Z8t=e=>U8t(e.replace(/^#+/,"")),V8t=(e,t)=>t?`${t}${e?"/":""}${e}`:e,q8t=(e,t)=>e===t?"":e.startsWith(`${t}/`)?e.slice(t.length+1):null,Q8t=e=>e?`/${e.split("/").map(e=>encodeURIComponent(e)).join("/")}`:"",F8t=(e,t,a)=>"string"==typeof t?H8t(t)?((e,t,a)=>{let r="string"==typeof e?new URL(e):e,n=q8t(decodeURIComponent(r.hash.slice(1)),Z8t(t));return null===n?a??"":V8t(n,a)})(e,t,a):((e,t,a)=>{let r="string"==typeof e?new URL(e):e,n=Q8t(z8t(t));if(r.pathname.startsWith(n)){let e=r.pathname.slice(n.length);return V8t(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 V8t(decodeURIComponent(a.hash.slice(1)),t)})(e,a),W8t=e=>{let t=e.endsWith("/"),a=e.split("/").filter(Boolean).slice(1).join("/");return t&&a?`${a}/`:a},G8t=(e,t,a)=>{if(typeof window>"u")return;let r=a?e:W8t(e),n=new URL(window.location.href);return"string"==typeof t?H8t(t)?n.hash=[Z8t(t),r].filter(Boolean).join("/"):n.pathname=`${z8t(t)}/${r}`:n.hash=r,n},X8t=(e,t,a)=>{let r=a?e:W8t(e),n=new URL("http://scratch");return"string"==typeof t?H8t(t)?(n.hash=[Z8t(t),r].filter(Boolean).join("/"),n.hash||"#"):(n.pathname=`${z8t(t)}/${r}`,n.pathname.replace(/^\/+/,"/")):(n.hash=r,n.hash||"#")},Y8t=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),K8t=e=>({value:decodeURIComponent(e.hash.slice(1)),write:t=>{e.hash=t}}),J8t=(e,t)=>{for(let{match:a,replace:r}of t){let t=e.replace(a,r);if(t!==e)return t}return e},e4t="(?:(?:tag-group/[^/]+/)?tag/[^/]+/)?",t4t=({modelsSectionSlug:e,documentSlug:t,isMultiDocument:a})=>{let r=Y8t(t),n=a?`${r}/${e4t}`:`(?:${r}/${e4t})?`,o=t=>({match:RegExp(`^(${n})${Y8t(t)}/`),replace:(t,a)=>`${a}${e}/`}),i=[o("model")];return"models"!==e&&i.push(o("models")),i},a4t=[".body.",".path.",".query.",".header.",".responses."],r4t=e=>{let t=(e,t)=>`${e.toUpperCase()}/${t}`,a=new Set,r=new Map;for(let{name:n,method:o,id:i}of e){a.add(t(o,i.slice(i.lastIndexOf("/")+1)));let e=F9e(n);if(e){let a=t(o,e);r.set(a,(r.get(a)??0)+1)}}let n=`(?=$|/|${a4t.map(Y8t).join("|")})`,o=[];for(let{name:i,method:s,id:l}of e){let e=s.toUpperCase(),c=l.slice(l.lastIndexOf("/")+1),u=F9e(i),d=t(s,u);!u||u===c||a.has(d)||(r.get(d)??0)>1||o.push({match:RegExp(`(^|/)webhook/${Y8t(e)}/${Y8t(u)}${n}`),replace:(t,a)=>`${a}webhook/${e}/${c}`})}return o},n4t=(e,t,a,r,n,o=[])=>{if(!a)return null;let i=new URL("string"==typeof e?e:e.toString()),s=[...t4t({modelsSectionSlug:t,documentSlug:a,isMultiDocument:r}),...r4t(o)],l=!1;for(let e of((e,t)=>{if("string"!=typeof t)return[K8t(e)];if(H8t(t)){let a=Z8t(t);return[{value:q8t(decodeURIComponent(e.hash.slice(1)),a)??"",write:t=>{e.hash=[a,t].filter(Boolean).join("/")}},K8t(e)]}let a=z8t(t),r=q8t(e.pathname,Q8t(a));return[{value:null===r?"":decodeURIComponent(r),write:t=>{e.pathname=a?`/${a}/${t}`:`/${t}`}},K8t(e)]})(i,n)){let t=J8t(e.value,s);t!==e.value&&(e.write(t),l=!0)}return l?i:null};iie(),u_e(),Bc();var o4t=Pa(new Set),i4t=Pa(new Set),s4t=Pa(new Set),l4t=Ha(!1),c4t=Ha(!1),u4t=Ha(""),d4t=e=>{u4t.value===e&&(u4t.value="")},p4t=Pa(new Set),h4t=new Set,m4t=Pa(new Map),f4t=(e,t)=>{!Number.isFinite(t)||t<=0||m4t.set(e,Math.round(t))},g4t=()=>{let e=ZTe();return p4t.add(e),()=>setTimeout(()=>p4t.delete(e),100)},v4t=il(()=>0===p4t.size),b4t=()=>{if(typeof window>"u"||l4t.value)return;l4t.value=!0;let e=async()=>{let e=[...o4t],t=[...i4t];if(0===e.length&&0===t.length)return h4t.forEach(e=>e()),h4t.clear(),l4t.value=!1,void(c4t.value=!0);for(let t of e)s4t.add(t),o4t.delete(t);for(let e of t)s4t.add(e),i4t.delete(e);await Kr(),h4t.forEach(e=>e()),h4t.clear(),l4t.value=!1,c4t.value=!0};window.requestIdleCallback?window.requestIdleCallback(e,{timeout:1500}):Kr(e)};!function(e,t,a={}){let{debounce:r=0,maxWait:n,...o}=a;(function(e,t,a={}){let{eventFilter:r=Poe,...n}=a;hn(e,xoe(r,t),n)})(e,t,{...o,eventFilter:Ooe(r,{maxWait:n})})}([()=>i4t.size,()=>o4t.size,()=>l4t.value],()=>{(i4t.size>0||o4t.size>0)&&!l4t.value&&b4t()},{debounce:300,maxWait:1500});var y4t=e=>{e&&!o4t.has(e)&&o4t.add(e)},w4t=(e,t=!1)=>{!e||s4t.has(e)||(t?y4t(e):(e=>{e&&!s4t.has(e)&&!o4t.has(e)&&i4t.add(e)})(e),l4t.value||b4t())};function x4t(e){return os(()=>{(e=>{o4t.delete(e),i4t.delete(e),s4t.delete(e),m4t.delete(e)})(e)}),{isReady:il(()=>typeof window>"u"||o4t.has(e)||s4t.has(e))}}var O4t=(e,t,a)=>{let r=a(e),n=!s4t.has(e)||r?.children?.some(e=>!s4t.has(e.id))?S4t(e):void 0;(e=>{e&&h4t.add(e)})(n);let o=g4t(),{rawId:i}=(e=>{let t=-1;for(let a of a4t){let r=e.indexOf(a);-1!==r&&(-1===t||r<t)&&(t=r)}return-1===t?{rawId:e,params:""}:{rawId:e.slice(0,t),params:e.slice(t+1)}})(e);if(u4t.value=e,y4t(e),y4t(i),r?.children&&r.children.slice(0,2).forEach(e=>y4t(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=>y4t(e.id))}t(i,!0);let s=e=>{let r=a(e)?.parent;r&&(y4t(r.id),t(r.id,!0),s(r.id))};s(i),Kr(()=>{k4t(e,Date.now()+3e3,o,n)})},k4t=(e,t,a,r)=>{let n=document.getElementById(e);n?(n.scrollIntoView({block:"start"}),d4t(e),a()):Date.now()<t?requestAnimationFrame(()=>k4t(e,t,a,r)):(d4t(e),a(),r?.())},S4t=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}};zC(),Bc();var A4t=Symbol("schema-dynamic-scope"),T4t=[],_4t=()=>dn(A4t,T4t),C4t=(e,t)=>MC(e)?DC(e.$dynamicRef,t)??e:e;Yk();var E4t=e=>{if(!e)return null;let t=e.match(Zx.REF_NAME);return t?t[1]:null},P4t=/^#\/components\/schemas\/([^/]+)$/,M4t=["oneOf","anyOf","allOf","not"];eC(),dF();var N4t=["allOf","oneOf","anyOf"],$4t=e=>"type"in e&&e.type?Array.isArray(e.type)?e.type.includes("object"):"object"===e.type:"properties"in e,I4t=e=>"$ref"in e||"discriminator"in e||N4t.some(t=>t in e),R4t=e=>{if(!e||!VV(e)||"object"!=typeof e.items)return!1;if("$ref"in e.items)return!0;let t=q_(e.items);return!!t&&(!(!I4t(t)&&!$4t(t))||(e=>{if(!VV(e)||"object"!=typeof e.items)return!1;if("$ref"in e.items)return!0;let t=q_(e.items);return!!t&&($4t(t)||I4t(t)||VV(t))})(t))};dF();B_(),sF(),dF();var D4t=(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=E4t(a),n=r?dV.schema(t.components?.schemas?.[r]):void 0;if(n)return{$ref:a,"$ref-value":n}}).filter(N_);return 0===a.length?null:{...dV.schema(e),oneOf:a}},L4t=(e,t)=>{if(!e)return[];let a=D4t(e,t);return M4t.map(t=>"oneOf"===t&&a?{composition:t,value:a}:((e,t)=>{if(!e||!VV(e))return!1;let a=e.items;return!(!a||"object"!=typeof a||!(t in a)||R4t(e))})(e,t)&&VV(e)&&e.items?{composition:t,value:dV.schema(e.items)}:!e[t]||VV(e)&&e.items&&"object"==typeof e.items&&t in e.items?null:{composition:t,value:dV.schema(e)}).filter(N_)},B4t=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)},j4t=e=>{if(!B4t(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};cK(),eC(),sF(),dF();var U4t=new Set(["description","title"]),z4t=(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=dV.schema(t);e.allOf?H4t(r,z4t(e,void 0,a),!1,a):H4t(r,e,!1,a)}return Object.keys(o).length>0&&H4t(r,o,!0,a),t&&"object"==typeof t&&(t.allOf?H4t(r,z4t(t,void 0,a),!0,a):H4t(r,t,!0,a)),r},H4t=(e,t,a=!1,r=new Set)=>{let n=uY(t);if(0!==n.length)for(let o of n){let n=q_(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||={},Z4t(e.properties,n,r));else if("items"===o){let a=dV.schema(n);if(a)if(VV(t))if(e.items||={},a.allOf){let t=z4t(a,void 0,r);Object.assign(e.items,t)}else V4t(q_(e.items),a,r);else if(a.allOf){let t=z4t(a,void 0,r);"properties"in t&&("properties"in e||(e.properties={}),"properties"in e&&Z4t(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)Array.isArray(n)&&n.length>0&&(a||void 0===e[o])&&(e[o]=n);else{if("allOf"===o)continue;(a||U4t.has(o)||void 0===e[o])&&(e[o]=n)}}},Z4t=(e,t,a=new Set)=>{let r=Object.keys(t??{});if(t&&e&&0!==r.length)for(let n of r){let r=dV.schema(t[n]);if(!r){delete e[n];continue}if("object"!=typeof r){e[n]=r;continue}if(!e[n]){let o=t[n],i=o?.$ref;if(o&&"string"==typeof i&&a.has(i)){e[n]=o;continue}let s="string"==typeof i?new Set(a).add(i):a;r.allOf?e[n]=z4t(r,void 0,s):VV(r)&&dV.schema(r.items)?.allOf?e[n]={...r,items:z4t(dV.schema(r.items),void 0,a)}:t[n]&&(e[n]=t[n]);continue}let o=dV.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]=z4t({allOf:[o,...r.allOf]},void 0,s);else if(VV(r)&&VV(o)&&r.items){let t=dV.schema(o.items);e[n]={...o,type:"array",items:t?q4t(t,dV.schema(r.items),s):dV.schema(r.items)}}else if("properties"in o&&"properties"in r){let t={...o,...r};t.properties={...o.properties},Z4t(t.properties,r.properties,s),e[n]=t}else e[n]={...r,...o}}},V4t=(e,t,a=new Set)=>{if(t.allOf||e.allOf){let r=[];if(e.allOf)for(let t of e.allOf)r.push(dV.schema(t));else r.push(e);if(t.allOf)for(let e of t.allOf)r.push(dV.schema(e));else r.push(t);let n=z4t({allOf:r},void 0,a);return void Object.assign(e,n)}Object.assign(e,t),"properties"in e&&"properties"in t&&Z4t(e.properties,t.properties,a)},q4t=(e,t,a=new Set)=>{let r=t.$ref;return"string"==typeof r?a.has(r)?e:Q4t(e,t,new Set(a).add(r)):Q4t(e,t,a)},Q4t=(e,t,a=new Set)=>{if(e.allOf||t.allOf){let r=[];if(e.allOf)for(let t of e.allOf)r.push(dV.schema(t));else r.push(e);if(t.allOf)for(let e of t.allOf)r.push(dV.schema(e));else r.push(t);return z4t({allOf:r},void 0,a)}let r={...e,...t};return"properties"in e&&"properties"in t&&(r.properties={...e.properties},Z4t(r.properties,t.properties,a)),r},F4t=Symbol("schema-ancestors"),W4t=e=>{if(e&&"object"==typeof e)return"$ref"in e&&"string"==typeof e.$ref?e.$ref:e},G4t=Symbol();sF(),dF();var X4t=(e,t=!1)=>{if(!e.items)return"array";let a=(e=>e?`array ${e.includes(" | ")?`(${e})`:e}[]`:"array")(Y4t(dV.schema(e.items)));return t?a:e.nullable?`${a} | null`:a},Y4t=e=>{if(!e)return"";let t=dV.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=X4t(t,!0),a=t.type.filter(e=>"array"!==e);return a.length>0?`${e} | ${a.join(" | ")}`:e}return t.type.join(" | ")}return VV(t)?X4t(t,!1):"type"in t&&t.type&&t.contentEncoding?`${t.type} • ${t.contentEncoding}`:"type"in t?t.type:""};sF();var K4t=["oneOf","anyOf"],J4t=(e,t,a)=>{let{allOf:r,oneOf:n,anyOf:o,not:i,if:s,then:l,else:c,...u}=e;Object.keys(u).length>0&&t.push({kind:"object",schema:u});for(let e of K4t){let a="oneOf"===e?n:o;Array.isArray(a)&&a.length>0&&t.push({kind:"choice",composition:e,value:{[e]:a}})}if(Array.isArray(r))for(let e of r)if(e&&"object"==typeof e){let r=dV.schema(e),n=r.$ref;if("string"==typeof n){if(a.has(n))continue;J4t(r,t,new Set(a).add(n))}else J4t(r,t,a)}};sF(),dF();var e6t=e=>{if(!e)return null;let t=dV.schema(e),a="$ref"in e?(e=>{if(!e)return null;let t=e.match(P4t);return t?.[1]?decodeURIComponent(t[1]):null})(e.$ref):null;if(t.title)return{schemaKey:a,label:t.title};if(t.name)return{schemaKey:a,label:t.name};if("$ref"in e){let t=E4t(e.$ref);if(t)return{schemaKey:a,label:t}}return null},t6t=e=>{let t=e6t(e);if(t)return t;let a=dV.schema(e);if(VV(a)&&a.items){let e=e6t(a.items);if(e)return{schemaKey:e.schemaKey,label:`${e.label}[]`}}return null};Bc(),sJe(),B_(),Xk(),sF();var a6t={class:"property-rule"},r6t={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"},n6t={class:"text-c-2"},o6t={key:0,class:"text-red"},i6t={class:"composition-panel"},s6t=Cn({__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,{translate:a}=wLt(),r=il(()=>"allOf"===t.composition?(e=>{if(!e)return{segments:[]};let{allOf:t,oneOf:a,anyOf:r,not:n,if:o,then:i,else:s,...l}=e;if(!Array.isArray(t))return{segments:[{kind:"object",schema:e}]};let c=[];Object.keys(l).length>0&&c.push({kind:"object",schema:l});let u=new Set;for(let e of t)if(e&&"object"==typeof e){let t=dV.schema(e),a=t.$ref;J4t(t,c,"string"==typeof a?new Set(u).add(a):u)}let d=[],p=[],h=0,m=()=>{if(0===p.length)return;let e=1===p.length?p[0]:z4t({allOf:p});d.push({kind:"object",schema:e}),p=[]};for(let e of c)"object"===e.kind?p.push(e.schema):(m(),d.push({kind:"choice",composition:e.composition,value:e.value,choiceIndex:h++}));return m(),{segments:d}})(t.schema).segments:[]),n=il(()=>[t.schema[t.composition]].flat().map(e=>({value:dV.schema(e),original:e})).filter(e=>N_(e.value))),o=il(()=>n.value.map((e,t)=>{let r=dV.schema(e.original),n=(t6t(r)?.label??Y4t(r))||a("schema.schema");return{id:String(t),label:n}})),i=il(()=>t.compositionPath?.length?[...t.compositionPath,t.composition].join("."):""),s=dn(G4t,void 0),l=il(()=>{if("requestBody"!==t.schemaContext||!s?.value||!i.value)return 0;let e=s.value[i.value];return"number"!=typeof e||Number.isNaN(e)?0:Math.max(0,Math.min(e,o.value.length-1))}),c=Ha();hn([o,l],([e,t])=>{(!c.value||!e.some(e=>e.id===c.value?.id))&&(c.value=e[t]??e[0])},{immediate:!0});let u=e=>a(`schema.${e}`),d=il(()=>n.value[Number(c.value?.id??"0")]?.value),p=il(()=>"requestBody"===t.schemaContext&&1===t.compositionPath?.length),h=il(()=>W4t(n.value[Number(c.value?.id??"0")]?.original)),m=Ha(!!t.options.expandAllSchemaProperties);return s&&"requestBody"===t.schemaContext&&i.value&&hn(c,e=>{let t=e?Number(e.id):0;Number.isNaN(t)||(s.value={...s.value,[i.value]:t})},{immediate:!0}),(n,i)=>{let s=Qn("SchemaComposition",!0);return Ho(),Qo("div",a6t,["allOf"===t.composition?(Ho(!0),Qo(Bs,{key:0},Xn(r.value,(t,a)=>(Ho(),Qo(Bs,{key:a},["object"===t.kind?(Ho(),Fo(g3t,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,discriminator:e.discriminator,eventBus:e.eventBus,hideDescription:p.value,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:!0,options:e.options,schema:t.schema,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideDescription","hideHeading","hideModelNames","level","name","options","schema","schemaContext"])):(Ho(),Fo(s,{key:1,breadcrumb:e.breadcrumb,compact:e.compact,composition:t.composition,compositionPath:[...e.compositionPath??[],String(t.choiceIndex)],eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,options:e.options,schema:t.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","composition","compositionPath","eventBus","hideHeading","hideModelNames","level","options","schema","schemaContext"]))],64))),128)):(Ho(),Qo(Bs,{key:1},[Fs(qa(pKe),{modelValue:c.value,"onUpdate:modelValue":i[0]||=e=>c.value=e,options:o.value,resize:""},{default:sn(()=>[Xo("button",r6t,[Xo("span",n6t,Yt(u(t.composition)),1),Xo("span",{class:tt(["composition-selector-label text-c-1",{"line-through":d.value?.deprecated}])},Yt(c.value?.label||qa(a)("schema.schema")),3),d.value?.deprecated?(Ho(),Qo("div",o6t,Yt(qa(a)("common.deprecated")),1)):ai("",!0),Fs(qa(Rm))])]),_:1},8,["modelValue","options"]),Xo("div",i6t,[!m.value&&e.level>2?(Ho(),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:i[1]||=e=>m.value=!0},[ei(Yt(qa(a)("schema.showSchemaDetails"))+" ",1),Fs(qa(Rm),{class:"h-3 w-3"})])):(Ho(),Fo(g3t,{key:c.value?.id??"0",breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,cycleKey:h.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:d.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","cycleKey","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"]))])],64))])}}});Bc(),Nbt(),dF();var l6t={key:0,class:"schema-type"},c6t=["title"],u6t=q0t(Cn({__name:"SchemaHeading",props:{value:{},name:{}},setup(e){let{translate:t}=wLt(),a=il(()=>"type"in e.value?e.value.type:e.value.enum?"enum":VV(e.value)&&e.value.items?"array":B4t(e.value)&&(e.value.properties||e.value.additionalProperties)?"object":"unknown");return(r,n)=>"object"==typeof e.value?(Ho(),Qo("span",l6t,[Xo("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(" | "):qa(t)("schema.unknownType")},[qa(B4t)(e.value)?(Ho(),Qo(Bs,{key:0},[ei(" {} ")],64)):ai("",!0),qa(VV)(e.value)?(Ho(),Qo(Bs,{key:1},[ei(" [] ")],64)):ai("",!0),e.value.enum?(Ho(),Qo(Bs,{key:2},[ei(" enum ")],64)):ai("",!0)],8,c6t),e.name?(Ho(),Fo(qa(Svt),{key:0,preset:"property",text:e.name},null,8,["text"])):(Ho(),Qo(Bs,{key:1},[ei(Yt(a.value),1)],64))])):ai("",!0)}}),[["__scopeId","data-v-e2018ca6"]]);sF();var d6t=(e,t)=>e.reduce((e,a)=>{let r=t?.[a];return r&&(e[a]=r),e},{}),p6t=(e,t,{hideReadOnly:a=!1,hideWriteOnly:r=!1,orderSchemaPropertiesBy:n="alpha",orderRequiredPropertiesFirst:o=!0}={})=>{if(!B4t(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&&dV.schema(e.properties[t]);return!(a&&!0===n?.readOnly||r&&!0===n?.writeOnly)})};sF(),dF();dF();var h6t={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"}};function m6t(...e){let t={},a={},r=new Set,n=!1,o=!1;for(let i of e)if(i)for(let[e,s]of Object.entries(i))if("properties"===e&&s&&"object"==typeof s)Object.assign(a,s),n=!0;else if("required"===e&&Array.isArray(s)){for(let e of s)r.add(e);o=!0}else t[e]=s;return n&&(t.properties=a),o&&(t.required=[...r]),t}function f6t(e){if(!e||"object"!=typeof e)return e;let t=M4t.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=dV.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=m6t(s[0],o);return c&&(e.nullable=!0),e}if(("oneOf"===t||"anyOf"===t)&&(i||s.some(e=>e.allOf))){let a=s.map(e=>{let t=dV.schema(e);if(1===t.allOf?.length){let{allOf:e,...a}=t,r=dV.schema(e[0]);if("properties"in a||"required"in a||"$ref"in a){let{$ref:e,title:t,name:n,...i}=r;return m6t(o,a,i)}return m6t(o,a,r)}return m6t(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}}sF();Bc(),xQe(),Nbt();var g6t={class:"property-enum-value"},v6t={class:"property-enum-value-content"},b6t={class:"property-enum-value-label"},y6t={key:0,class:"property-enum-value-description"},w6t=q0t(Cn({__name:"SchemaEnumPropertyItem",props:{label:{},description:{}},setup:e=>(t,a)=>(Ho(),Qo("li",g6t,[Xo("div",v6t,[Xo("span",b6t,[Fs(qa(Svt),{text:e.label,preset:"property"},null,8,["text"])]),e.description?(Ho(),Qo("span",y6t,[Fs(qa(Rqe),{value:e.description},null,8,["value"])])):ai("",!0)])]))}),[["__scopeId","data-v-4375ecfd"]]);Bc(),mae(),Xk(),sF(),dF();var x6t={key:0,class:"property-enum"},O6t={key:0,class:"property-enum-property-names"},k6t={key:1,class:"property-enum-property-names"},S6t={class:"property-enum-values"},A6t={key:1},T6t=q0t(Cn({__name:"SchemaEnums",props:{value:{},propertyNames:{type:Boolean}},setup(e){let{translate:t}=wLt(),a=il(()=>{if(e.value)return e.value.enum?e.value:VV(e.value)?dV.schema(e.value.items):void 0}),r=il(()=>a.value?.enum??[]),n=il(()=>r.value.length>9),o=il(()=>n.value?5:r.value.length),i=il(()=>r.value.slice(0,o.value)),s=il(()=>r.value.slice(o.value)),l=(e,t)=>{let r=a.value,n=r?.["x-enumDescriptions"]??r?.["x-enum-descriptions"];if(n){if(Array.isArray(n))return n[t];if("object"==typeof n&&n)return n[String(e)]}},c=(e,t)=>{let r=a.value?.["x-enum-varnames"]??a.value?.["x-enumNames"],n=Array.isArray(r)?r[t]:void 0;return n?`${e} = ${n}`:String(e)},u=Ha(!1),d=()=>{u.value=!u.value};return(a,p)=>r.value.length>0?(Ho(),Qo("div",x6t,[e.propertyNames?(Ho(),Qo("div",O6t,Yt(qa(t)("common.propertyNames")),1)):(Ho(),Qo("div",k6t,Yt(qa(t)("common.values")),1)),Xo("ul",S6t,[(Ho(!0),Qo(Bs,null,Xn(i.value,(e,t)=>(Ho(),Fo(w6t,{key:String(e),description:l(e,t),label:c(e,t)},null,8,["description","label"]))),128)),n.value&&u.value?(Ho(!0),Qo(Bs,{key:0},Xn(s.value,(e,t)=>(Ho(),Fo(w6t,{key:String(e),description:l(e,o.value+t),label:c(e,o.value+t)},null,8,["description","label"]))),128)):ai("",!0),n.value?(Ho(),Qo("li",A6t,[Fs(qa(sae),{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:d},{default:sn(()=>[Fs(qa(By),{class:tt({"rotate-45":u.value}),weight:"bold"},null,8,["class"]),ei(" "+Yt(u.value?qa(t)("common.hideValues"):qa(t)("common.showAllValues")),1)]),_:1})])):ai("",!0)])])):ai("",!0)}}),[["__scopeId","data-v-602e2e26"]]);Bc();var _6t={class:"text-c-3 hover:text-c-1 underline",type:"button"};var C6t=q0t({},[["render",function(e,t){return Ho(),Qo("button",_6t,[Kn(e.$slots,"default")])}]]);eC(),Y9e();var E6t=(e,{hideModels:t,document:a})=>{if(!e||t)return!1;let r=a?.components?.schemas?.[e];return!z9e(q_(r,V_))};Bc();var P6t=Cn({__name:"RenderString",props:{value:{}},setup(e){let t=il(()=>""===e.value?"''":null===e.value?"null":void 0===e.value?"undefined":e.value);return(e,a)=>Yt(t.value)}});function M6t(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()}Bc(),Yte(),ayt();var N6t={key:0,class:"property-default"},$6t={class:"property-default-label",type:"button"},I6t={class:"property-default-value-list"},R6t=q0t(Cn({__name:"SchemaPropertyDefault",props:{value:{}},setup(e){let{copyToClipboard:t}=zbt(),{translate:a}=wLt();return(r,n)=>void 0===e.value?ai("",!0):(Ho(),Qo("div",N6t,[Xo("button",$6t,[Xo("span",null,Yt(qa(a)("schema.default")),1)]),Xo("div",I6t,[Xo("button",{class:"property-default-value group",type:"button",onClick:n[0]||=a=>qa(t)(qa(M6t)(e.value))},[Xo("span",null,Yt(qa(M6t)(e.value)),1),Fs(qa(Dte),{class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})])])]))}}),[["__scopeId","data-v-cc878a44"]]);Bc();var D6t={key:0,class:"property-detail-prefix"},L6t={key:1,class:"property-detail-value"},B6t={key:2,class:"property-detail-value"},j6t=q0t(Cn({__name:"SchemaPropertyDetail",props:{truncate:{type:Boolean},code:{type:Boolean}},setup:e=>(t,a)=>(Ho(),Qo("span",{class:tt(["property-detail",{"property-detail-truncate":e.truncate}])},[t.$slots.prefix?(Ho(),Qo("div",D6t,[Kn(t.$slots,"prefix",{},void 0,!0),a[0]||=ei("  ",-1)])):ai("",!0),e.code?(Ho(),Qo("code",L6t,[Kn(t.$slots,"default",{},void 0,!0)])):(Ho(),Qo("span",B6t,[Kn(t.$slots,"default",{},void 0,!0)]))],2))}),[["__scopeId","data-v-1295f965"]]);function U6t(e){let t=e.trim();return""===t?e:t}function z6t(e){return Array.isArray(e)?`[${e.map(e=>"string"==typeof e?`"${U6t(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":U6t("string"==typeof e?e:e.toString())}Bc(),Yte(),J_(),ayt();var H6t={key:0,class:"property-example"},Z6t={class:"property-example-value-list"},V6t={key:1,class:"property-example"},q6t={class:"property-example-value-list"},Q6t=["onClick"],F6t=q0t(Cn({__name:"SchemaPropertyExamples",props:{examples:{},example:{}},setup(e){let{copyToClipboard:t}=zbt(),{translate:a}=wLt(),r=il(()=>void 0!==e.example),n=il(()=>e.examples&&"object"==typeof e.examples?e.examples:{}),o=il(()=>Object.keys(n.value).length>0),i=il(()=>1===Object.keys(n.value).length?a("schema.example"):a("schema.examples"));function s(e){if(z_(e)){if("value"in e)return e.value;if("externalValue"in e)return e.externalValue}return e}return(l,c)=>(Ho(),Qo(Bs,null,[r.value?(Ho(),Qo("div",H6t,[Fs(C6t,{class:"decoration-dotted"},{default:sn(()=>[ei(Yt(qa(a)("schema.example")),1)]),_:1}),Xo("div",Z6t,[Xo("button",{class:"property-example-value group",type:"button",onClick:c[0]||=a=>qa(t)(qa(z6t)(e.example))},[Xo("span",null,Yt(qa(z6t)(e.example)),1),Fs(qa(Dte),{class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})])])])):ai("",!0),o.value?(Ho(),Qo("div",V6t,[Fs(C6t,{class:"decoration-dotted"},{default:sn(()=>[ei(Yt(i.value),1)]),_:1}),Xo("div",q6t,[(Ho(!0),Qo(Bs,null,Xn(n.value,(e,a)=>(Ho(),Qo("button",{key:a,class:"property-example-value group",type:"button",onClick:a=>qa(t)(qa(z6t)(s(e)))},[Xo("span",null,Yt(qa(z6t)(s(e))),1),Fs(qa(Dte),{class:"text-c-3 group-hover:text-c-1 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})],8,Q6t))),128))])])):ai("",!0)],64))}}),[["__scopeId","data-v-370db0bd"]]);Bc(),Yte(),ayt(),iie();var W6t={class:"property-pattern-popup"},G6t=["aria-label"],X6t=q0t(Cn({__name:"SchemaPropertyPattern",props:{pattern:{}},setup(e){let{copyToClipboard:t}=zbt(),{translate:a}=wLt(),r=Ha(null),n=Ha(!1),o=()=>{n.value=!n.value},i=()=>{n.value=!1};return Ioe(r,i),Loe("Escape",()=>{n.value&&i()}),(i,s)=>(Ho(),Qo("div",{ref_key:"rootRef",ref:r,class:tt(["property-pattern",{"is-open":n.value}])},[Fs(C6t,{class:"decoration-dotted",onClick:o},{default:sn(()=>[ei(Yt(qa(a)("common.pattern")),1)]),_:1}),Xo("div",W6t,[Xo("button",{class:"property-pattern-value group",type:"button","aria-label":`${qa(a)("common.copyPattern")}: ${e.pattern}`,onClick:s[0]||=a=>qa(t)(e.pattern)},[Xo("code",null,Yt(e.pattern),1),Fs(qa(Dte),{"aria-hidden":"true",class:"group-hover:text-c-1 text-c-3 ml-auto min-h-3 min-w-3",icon:"Clipboard",size:"xs"})],8,G6t)])],2))}}),[["__scopeId","data-v-2034a630"]]);Bc(),B_(),sF(),dF();var Y6t={class:"property-heading"},K6t={key:1,class:"property-discriminator"},J6t={key:3,class:"property-additional"},e3t={key:4,class:"property-deprecated"},t3t={key:5,class:"property-const"},a3t={key:7,class:"property-write-only"},r3t={key:8,class:"property-read-only"},n3t={key:9,class:"property-required"},o3t=q0t(Cn({__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},modelLinkOptions:{},modelName:{},propertyNames:{},eventBus:{default:null}},setup(e){let t=e,{translate:a}=wLt(),r=Ga(t,"value"),n=il(()=>{if(!r.value)return;let e=r.value;if(void 0!==e.const)return e.const;if(1===e.enum?.length)return e.enum[0];if(VV(e)&&e.items){let t=dV.schema(e.items);if(N_(t.const))return t.const;if(1===t.enum?.length)return t.enum[0]}}),o=e=>{let t=[];return qV(e)&&(e.minLength&&t.push({key:"min-length",prefix:`${a("common.minLength")}: `,value:e.minLength}),e.maxLength&&t.push({key:"max-length",prefix:`${a("common.maxLength")}: `,value:e.maxLength})),(qV(e)||QV(e))&&e.format&&t.push({key:"format",value:e.format,truncate:!0}),QV(e)&&(N_(e.exclusiveMinimum)&&t.push({key:"exclusive-minimum",prefix:`${a("common.greaterThan")}: `,value:e.exclusiveMinimum}),N_(e.minimum)&&t.push({key:"minimum",prefix:`${a("common.min")}: `,value:e.minimum}),N_(e.exclusiveMaximum)&&t.push({key:"exclusive-maximum",prefix:`${a("common.lessThan")}: `,value:e.exclusiveMaximum}),N_(e.maximum)&&t.push({key:"maximum",prefix:`${a("common.max")}: `,value:e.maximum}),N_(e.multipleOf)&&t.push({key:"multiple-of",prefix:`${a("common.multipleOf")}: `,value:e.multipleOf})),t},i=il(()=>{if(!r.value)return[];let e=r.value,t=[];return VV(e)&&((e.minItems||e.maxItems)&&t.push({key:"array-range",value:`${e.minItems||""}…${e.maxItems||""}`}),e.uniqueItems&&t.push({key:"unique-items",value:`${a("common.unique")}!`})),t.push(...o(e)),VV(e)&&e.items&&t.push(...o(dV.schema(e.items))),t}),s=il(()=>!t.value||t.hideModelNames?null:t.modelName?{schemaKey:t.modelName,label:t.modelName}:t6t(t.value)),l=il(()=>E6t(s.value?.schemaKey,t.modelLinkOptions??{})),c=il(()=>!(!t.value||!("type"in t.value))&&("array"===t.value.type||!n.value)),u=il(()=>t.value?Y4t(t.value):""),d=il(()=>{let e=t.propertyNames;if(!e)return;let a=[Y4t(e)];"format"in e&&"string"==typeof e.format&&a.push(e.format);let r=a.filter(Boolean).join(" · ");return r.length>0?r:void 0}),p=il(()=>{if(t.value&&"example"in t.value&&void 0!==t.value.example)return t.value.example;if(t.value&&VV(t.value)){let e=dV.schema(t.value.items);if(e&&"example"in e&&void 0!==e.example)return e.example}}),h=il(()=>{let e=r.value;if(e){if(qV(e)&&e.pattern)return e.pattern;if(VV(e)&&e.items){let t=dV.schema(e.items);if(qV(t)&&t.pattern)return t.pattern}}});return(e,r)=>(Ho(),Qo("div",Y6t,[e.$slots.name?(Ho(),Qo("div",{key:0,class:tt(["property-name",{deprecated:t.value?.deprecated}])},[Kn(e.$slots,"name",{},void 0,!0)],2)):ai("",!0),t.isDiscriminator?(Ho(),Qo("div",K6t,Yt(qa(a)("common.discriminator")),1)):ai("",!0),t.value?(Ho(),Qo(Bs,{key:2},[c.value?(Ho(),Fo(j6t,{key:0,truncate:""},{default:sn(()=>[Fs(K1t,null,{default:sn(()=>[ei(Yt(qa(a)("common.type"))+":",1)]),_:1}),ei(" "+Yt(u.value)+" ",1),s.value?(Ho(),Qo(Bs,{key:0},[r[1]||=ei(" · ",-1),t.eventBus&&s.value.schemaKey&&l.value?(Ho(),Fo(C6t,{key:0,onClick:r[0]||=e=>t.eventBus.emit("scroll-to:model-by-name",{name:s.value.schemaKey})},{default:sn(()=>[ei(Yt(s.value.label),1)]),_:1})):(Ho(),Qo(Bs,{key:1},[ei(Yt(s.value.label),1)],64))],64)):ai("",!0)]),_:1})):ai("",!0),d.value?(Ho(),Fo(j6t,{key:1,truncate:""},{prefix:sn(()=>[ei(Yt(qa(a)("common.keys"))+":",1)]),default:sn(()=>[ei(" "+Yt(d.value),1)]),_:1})):ai("",!0),(Ho(!0),Qo(Bs,null,Xn(i.value,e=>(Ho(),Fo(j6t,{key:e.key,code:e.code,truncate:e.truncate},Yn({default:sn(()=>["format"===e.key?(Ho(),Fo(K1t,{key:0},{default:sn(()=>[ei(Yt(qa(a)("common.format"))+": ",1)]),_:1})):ai("",!0),ei(" "+Yt(e.value),1)]),_:2},[e.prefix?{name:"prefix",fn:sn(()=>[ei(Yt(e.prefix),1)]),key:"0"}:void 0]),1032,["code","truncate"]))),128)),t.enum?(Ho(),Fo(j6t,{key:2},{default:sn(()=>[ei(Yt(qa(a)("common.enum")),1)]),_:1})):ai("",!0)],64)):ai("",!0),t.additional?(Ho(),Qo("div",J6t,[t.value?.["x-additionalPropertiesName"]?(Ho(),Qo(Bs,{key:0},[ei(Yt(t.value["x-additionalPropertiesName"]),1)],64)):(Ho(),Qo(Bs,{key:1},[ei(Yt(qa(a)("common.additionalProperties")),1)],64))])):ai("",!0),t.value?.deprecated?(Ho(),Qo("div",e3t,[Fs(qa(T1t),null,{default:sn(()=>[ei(Yt(qa(a)("common.deprecated")),1)]),_:1})])):ai("",!0),void 0===n.value?(Ho(),Qo(Bs,{key:6},[!0===t.value?.nullable?(Ho(),Fo(j6t,{key:0},{default:sn(()=>[ei(Yt(qa(a)("common.nullable")),1)]),_:1})):ai("",!0)],64)):(Ho(),Qo("div",t3t,[Fs(j6t,{truncate:""},{prefix:sn(()=>[ei(Yt(qa(a)("common.const"))+": ",1)]),default:sn(()=>[Fs(P6t,{value:n.value},null,8,["value"])]),_:1})])),t.value?.writeOnly?(Ho(),Qo("div",a3t,Yt(qa(a)("common.writeOnly")),1)):t.value?.readOnly?(Ho(),Qo("div",r3t,Yt(qa(a)("common.readOnly")),1)):ai("",!0),t.required?(Ho(),Qo("div",n3t,Yt(qa(a)("common.required")),1)):ai("",!0),Fs(R6t,{value:t.value?.default},null,8,["value"]),h.value?(Ho(),Fo(X6t,{key:10,pattern:h.value},null,8,["pattern"])):ai("",!0),t.withExamples?(Ho(),Fo(F6t,{key:11,example:p.value,examples:t.value?.examples},null,8,["example","examples"])):ai("",!0)]))}}),[["__scopeId","data-v-46933849"]]);Bc(),xQe(),Nbt(),zC(),sF(),dF();var i3t={key:0,class:"property-name-pattern-properties"},s3t={key:1,class:"property-name-additional-properties"},l3t={key:1,class:"property-description"},c3t={key:4,class:"children"},u3t={key:5,class:"children"},d3t=q0t(Cn({__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:{},propertyNamesSchema:{},schemaContext:{},compositionPath:{},compositionPathSegment:{},cycleKey:{}},setup(e){let t=["oneOf","anyOf","allOf"],a=e,r=_4t(),n=il(()=>f6t(C4t(a.schema,r))),o=il(()=>a.breadcrumb?a.name?[...a.breadcrumb,a.name]:a.breadcrumb:void 0),i=il(()=>a.compositionPathSegment?[...a.compositionPath??[],a.compositionPathSegment]:a.compositionPath??[]),s=il(()=>[...i.value,"items"]),l=il(()=>a.level<=2),c=il(()=>{let e=n.value;if(!e||!VV(e)||!MC(e.items))return e;let t=DC(e.items.$dynamicRef,r);return t?{...e,items:t}:e}),u=il(()=>R4t(c.value)),d=il(()=>m.value.length>0),p=il(()=>{let e=n.value;if(!e||!("properties"in e)&&!("additionalProperties"in e)||"allOf"in e)return!1;let t=e.type,a="string"==typeof t&&"object"!==t;return B4t(e)||!a}),h=il(()=>{let e=n.value;return!(!e||!VV(e)||"object"!=typeof e.items)&&u.value}),m=il(()=>(e=>{if(!e)return[];if(e.enum)return e.enum;if(VV(e)&&"object"==typeof e.items){let t=dV.schema(e.items);if(t&&"enum"in t&&t.enum)return t.enum}return[]})(n.value)),f=il(()=>(e=>{if(!FV(e))return null;let t=Array.isArray(e.type)?e.type[0]:e.type;if(!t)return null;let a=h6t[t];return a?a["format"in e&&e.format||"contentEncoding"in e&&e.contentEncoding||"_default"]??null:null})(n.value)),g=il(()=>((e,t)=>!e||e.allOf?null:t&&e.description?t===e.description?t:`${t}\n\n${e.description}`:t||e.description||null)(n.value,a.description)),v=il(()=>{let e=n.value;if(!e)return e;let{oneOf:t,anyOf:a,allOf:r,not:o,discriminator:i,...s}=e;if(g.value&&"description"in s){let{description:e,...t}=s;return t}return s}),b=il(()=>((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))(n.value,a.name,a.required)),y=il(()=>L4t(n.value,a.options.document)),w=e=>"allOf"===e?a.schema?.discriminator??a.discriminator:a.schema?.discriminator,x=il(()=>{let e=c.value;if(!e||!VV(e)||"object"!=typeof e.items)return;let a=dV.schema(e.items);return t.some(e=>Array.isArray(a?.[e])&&1===a[e]?.length)?f6t(a):a}),O=il(()=>{let e=n.value;if(e&&VV(e))return W4t(e.items)}),k=il(()=>!(!a.name||a.discriminator?.propertyName!==a.name));return(t,a)=>(Ho(),Fo(Fn(e.is??"li"),{class:tt(["property",[`property--level-${e.level}`,{"property--compact":e.compact,"property--deprecated":n.value?.deprecated}]])},{default:sn(()=>[b.value?(Ho(),Fo(o3t,{key:0,class:"group",enum:d.value,eventBus:e.eventBus,hideModelNames:e.hideModelNames,isDiscriminator:k.value,modelLinkOptions:{hideModels:e.options.hideModels,document:e.options.document},modelName:e.modelName,propertyNames:e.propertyNamesSchema,required:e.required,value:n.value},Yn({_:2},[e.name?{name:"name",fn:sn(()=>[Fs(qa(n2t),{breadcrumb:l.value?o.value:void 0,eventBus:e.eventBus},{default:sn(()=>["patternProperties"===e.variant?(Ho(),Qo("span",i3t,[Fs(qa(Svt),{preset:"property",text:e.name},null,8,["text"])])):"additionalProperties"===e.variant?(Ho(),Qo("span",s3t,[Fs(qa(Svt),{preset:"property",text:e.name},null,8,["text"])])):(Ho(),Fo(qa(Svt),{key:2,preset:"property",text:e.name},null,8,["text"]))]),_:1},8,["breadcrumb","eventBus"])]),key:"0"}:void 0,void 0===n.value?.example?void 0:{name:"example",fn:sn(()=>[ei(" Example: "+Yt(n.value.example),1)]),key:"1"}]),1032,["enum","eventBus","hideModelNames","isDiscriminator","modelLinkOptions","modelName","propertyNames","required","value"])):ai("",!0),g.value||f.value?(Ho(),Qo("div",l3t,[Fs(qa(Rqe),{value:g.value||f.value||""},null,8,["value"])])):ai("",!0),e.propertyNamesEnum&&e.propertyNamesEnum.length>0?(Ho(),Fo(T6t,{key:2,propertyNames:"",value:{enum:e.propertyNamesEnum}},null,8,["value"])):ai("",!0),m.value.length>0&&!h.value?(Ho(),Fo(T6t,{key:3,value:n.value},null,8,["value"])):ai("",!0),p.value?(Ho(),Qo("div",c3t,[Fs(g3t,{breadcrumb:o.value,compact:e.compact,compositionPath:i.value,cycleKey:e.cycleKey,eventBus:e.eventBus,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:v.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","cycleKey","eventBus","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"])])):ai("",!0),h.value&&x.value?(Ho(),Qo("div",u3t,[Fs(g3t,{compact:e.compact,compositionPath:s.value,cycleKey:O.value,eventBus:e.eventBus,hideModelNames:e.hideModelNames,level:e.level+1,name:e.name,noncollapsible:e.noncollapsible,options:e.options,schema:qa(dV).schema(x.value),schemaContext:e.schemaContext},null,8,["compact","compositionPath","cycleKey","eventBus","hideModelNames","level","name","noncollapsible","options","schema","schemaContext"])])):ai("",!0),(Ho(!0),Qo(Bs,null,Xn(y.value,t=>(Ho(),Fo(s6t,{key:t.composition,breadcrumb:e.breadcrumb,compact:e.compact,composition:t.composition,compositionPath:i.value,discriminator:w(t.composition),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)),Fs(qa(S2t),{value:n.value},null,8,["value"])]),_:1},8,["class"]))}}),[["__scopeId","data-v-933ce0d5"]]);Bc(),sF();var p3t=Cn({__name:"SchemaObjectProperties",props:{schema:{},discriminator:{},compact:{type:Boolean},hideHeading:{type:Boolean},level:{},hideModelNames:{type:Boolean},breadcrumb:{},eventBus:{},options:{},schemaContext:{},compositionPath:{}},setup(e){let t=il(()=>p6t(e.schema,e.discriminator,e.options)),a=(e,t)=>{let a="boolean"==typeof e?e:dV.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=dV.schema(t);if(e?.title)return e.title}return"propertyName"},r=il(()=>{if(B4t(e.schema)&&e.schema.additionalProperties)return(e=>{if(!e)return;let t=dV.schema(e);return t&&"enum"in t&&Array.isArray(t.enum)&&t.enum.length>0?t.enum:void 0})(e.schema.propertyNames)}),n=il(()=>{if(B4t(e.schema)&&e.schema.additionalProperties)return e.schema.propertyNames?dV.schema(e.schema.propertyNames):void 0}),o=e=>{if(e)return dV.schema(e)},i=e=>{if(e)return"string"==typeof e.description?e.description:void 0},s=e=>{let t="boolean"==typeof e?e:dV.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(l,c)=>(Ho(),Qo(Bs,null,[qa(B4t)(e.schema)&&e.schema.properties?(Ho(!0),Qo(Bs,{key:0},Xn(t.value,t=>(Ho(),Fo(d3t,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:t,cycleKey:qa(W4t)(e.schema.properties[t]),description:i(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:o(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),qa(B4t)(e.schema)&&e.schema.patternProperties?(Ho(!0),Qo(Bs,{key:1},Xn(Object.entries(e.schema.patternProperties),([t,a])=>(Ho(),Fo(d3t,{key:t,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:t,cycleKey:qa(W4t)(a),description:i(a),discriminator:e.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:t,options:e.options,schema:o(a),schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","description","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"]))),128)):ai("",!0),qa(B4t)(e.schema)&&e.schema.additionalProperties?(Ho(),Fo(d3t,{key:2,breadcrumb:e.breadcrumb,compact:e.compact,compositionPath:e.compositionPath,compositionPathSegment:a(e.schema.additionalProperties,e.schema.propertyNames),cycleKey:qa(W4t)(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,propertyNamesSchema:n.value,schema:s(e.schema.additionalProperties),schemaContext:e.schemaContext,variant:"additionalProperties"},null,8,["breadcrumb","compact","compositionPath","compositionPathSegment","cycleKey","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","propertyNamesEnum","propertyNamesSchema","schema","schemaContext"])):ai("",!0)],64))}});Bc(),Oh(),Yte(),xQe(),zC(),sF();var h3t={key:0,class:"schema-card-description"},m3t={key:1,class:"pt-2"},f3t={key:0,class:"schema-properties"},g3t=q0t(Cn({__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{translate:t}=wLt(),a=_4t(),r=il(()=>{if(!e.schema||"object"!=typeof e.schema)return e.schema;let t=C4t(e.schema,a);return"$ref"in t?dV.schema(t):t}),n=e.schema?C4t(e.schema,a):void 0;un(A4t,n?RC(a,n):a);let o=dn(F4t,void 0),i=il(()=>null!=e.cycleKey&&!!o?.has(e.cycleKey)),s=new Set(o??[]);null!=e.cycleKey&&s.add(e.cycleKey),un(F4t,s);let l=il(()=>!!e.options.expandAllSchemaProperties&&!i.value),c=il(()=>!e.noncollapsible&&e.level>0),u=il(()=>{if(!e.breadcrumb?.length)return!1;let t=e.breadcrumb.join("."),a=u4t.value;return a===t||a.startsWith(`${t}.`)}),d=il(()=>e.noncollapsible||l.value||u.value),p=il(()=>e.schema?.title??t("schema.childAttributes")),h=il(()=>{let t=r.value;return e.hideDescription?null:e.schema?.allOf&&e.schema.allOf.length>0&&"Request Body"===e.name?z4t(e.schema)?.description||null:t?.description&&"string"==typeof t.description&&!t.enum&&("properties"in t||"patternProperties"in t||"additionalProperties"in t||"allOf"in t)?t.description:null}),m=il(()=>e.schema&&!e.discriminator&&B4t(e.schema)?D4t(e.schema,e.options.document):null),f=t=>{e.noncollapsible&&t.stopPropagation()};return(a,n)=>r.value&&Object.keys(r.value).length?(Ho(),Fo(qa(yp),{key:0,defaultOpen:d.value},{default:sn(({open:a})=>[Xo("div",{class:tt(["schema-card",[`schema-card--level-${e.level}`,{"schema-card--compact":e.compact,"schema-card--open":a},{"border-t":e.additionalProperties&&a}]])},[h.value?(Ho(),Qo("div",h3t,[Fs(qa(Rqe),{value:h.value},null,8,["value"])])):ai("",!0),qa(j4t)(r.value)?(Ho(),Qo("div",m3t,Yt(qa(t)("schema.emptyObject")),1)):ai("",!0),Xo("div",{class:tt(["schema-properties",{"schema-properties-open":a}])},[e.additionalProperties?ln((Ho(),Qo("div",f3t,[Fs(qa(wp),{as:"button",class:"schema-card-title schema-card-title--compact",onClickCapture:f},{default:sn(()=>[Fs(qa(Dte),{class:"schema-card-title-icon",icon:"Add",size:"sm"}),ei(" "+Yt(qa(t)("schema.showAdditionalProperties"))+" ",1),e.name?(Ho(),Fo(K1t,{key:0},{default:sn(()=>[ei(Yt(qa(t)("schema.forName",{name:e.name})),1)]),_:1})):ai("",!0)]),_:1})],512)),[[nc,!a]]):c.value?ln((Ho(),Fo(qa(wp),{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:f},{default:sn(()=>[e.compact?(Ho(),Qo(Bs,{key:0},[Fs(qa(Dte),{class:tt(["schema-card-title-icon",{"schema-card-title-icon--open":a}]),icon:"Add",size:"sm"},null,8,["class"]),a?(Ho(),Qo(Bs,{key:0},[ei(Yt(qa(t)("schema.hideChildAttributes",{name:p.value})),1)],64)):(Ho(),Qo(Bs,{key:1},[ei(Yt(qa(t)("schema.showChildAttributes",{name:p.value})),1)],64)),e.name?(Ho(),Fo(K1t,{key:2},{default:sn(()=>[ei(Yt(qa(t)("schema.forName",{name:e.name})),1)]),_:1})):ai("",!0)],64)):(Ho(),Qo(Bs,{key:1},[Fs(qa(Dte),{class:tt(["schema-card-title-icon",{"schema-card-title-icon--open":a}]),icon:"Add",size:"sm"},null,8,["class"]),Fs(u6t,{name:r.value?.title??e.name,value:r.value},null,8,["name","value"])],64))]),_:2},1032,["as","class","style"])),[[nc,!(e.hideHeading||e.noncollapsible&&e.compact)]]):ai("",!0),!e.additionalProperties||a?(Ho(),Fo(qa(xp),{key:2,as:"ul",static:!c.value},{default:sn(()=>[m.value?(Ho(),Fo(s6t,{key:0,breadcrumb:e.breadcrumb,compact:e.compact,composition:"oneOf",compositionPath:e.compositionPath,discriminator:e.schema?.discriminator,eventBus:e.eventBus,hideHeading:e.hideHeading,hideModelNames:e.hideModelNames,level:e.level,name:e.name,options:e.options,schema:m.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","name","options","schema","schemaContext"])):qa(B4t)(r.value)?(Ho(),Fo(p3t,{key:1,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:r.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","eventBus","hideHeading","hideModelNames","level","options","schema","schemaContext"])):(Ho(),Qo(Bs,{key:2},[r.value?(Ho(),Fo(d3t,{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,options:e.options,schema:r.value,schemaContext:e.schemaContext},null,8,["breadcrumb","compact","compositionPath","discriminator","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-77b16bb4"]]);Bc(),sF();var v3t={key:0,class:"properties"},b3t={key:1},y3t=q0t(Cn({__name:"ClassicLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},options:{}},setup(e){let{level:t}=p2t("model");return(a,r)=>(Ho(),Fo(qa(D1t),{"aria-label":e.schema.title??e.name,modelValue:!e.isCollapsed,"onUpdate:modelValue":r[1]||=t=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:t})},{title:sn(()=>[Fs(qa(t2t),{class:"reference-models-anchor",eventBus:e.eventBus,onCopyAnchorUrl:r[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id})},{default:sn(()=>[Fs(qa(X1t),{level:qa(t)},{default:sn(()=>[Fs(qa(u6t),{class:"reference-models-label",name:e.schema.title??e.name,value:e.schema},null,8,["name","value"])]),_:1},8,["level"])]),_:1},8,["eventBus"])]),default:sn(()=>["properties"in e.schema?(Ho(),Qo("div",v3t,[(Ho(!0),Qo(Bs,null,Xn(Object.entries(e.schema.properties??{}),([t,a])=>(Ho(),Fo(qa(d3t),{key:t,eventBus:e.eventBus,hideModelNames:e.options.hideModels,name:t,options:{...e.options,document:e.document},required:e.schema.required?.includes(t),schema:qa(dV).schema(a)},null,8,["eventBus","hideModelNames","name","options","required","schema"]))),128))])):(Ho(),Qo("div",b3t,[Fs(qa(d3t),{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-df54aefe"]]);Bc(),Lat();var w3t=Cn({__name:"ModernLayout",props:{id:{},name:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{},options:{}},setup(e){let{level:t}=p2t("model");return(a,r)=>(Ho(),Fo(qa(l2t),{id:e.id,key:e.name,label:e.name,modelValue:!e.isCollapsed,onCopyAnchorUrl:r[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id}),"onUpdate:modelValue":r[1]||=t=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:t})},{heading:sn(()=>[Fs(qa(X1t),{level:qa(t)},{default:sn(()=>[Fs(qa(u6t),{name:e.schema.title??e.name,value:e.schema},null,8,["name","value"])]),_:1},8,["level"])]),default:sn(()=>[Fs(qa(gat),null,{default:sn(()=>[Fs(qa(g3t),{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"]))}});Bc();var x3t=Cn({__name:"Model",props:{id:{},name:{},options:{},schema:{},isCollapsed:{type:Boolean},eventBus:{},document:{}},setup(e){let t=Mn("section");return P1t(t,()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id})),(a,r)=>e.schema?(Ho(),Qo("div",{key:0,ref_key:"section",ref:t},["classic"===e.options.layout?(Ho(),Fo(y3t,{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"])):(Ho(),Fo(w3t,{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)}});Bc(),Xk();var O3t={class:"show-more",type:"button"},k3t=q0t(Cn({__name:"ShowMoreButton",setup(e){let{translate:t}=wLt();return(e,a)=>(Ho(),Qo("button",O3t,[ei(Yt(qa(t)("actions.showMore"))+" ",1),Fs(qa(Rm),{class:"text-c-2 mt-0.25 size-3",weight:"bold"})]))}}),[["__scopeId","data-v-bb0811ed"]]);Bc(),W();var S3t=Cn({__name:"ModelTag",props:{id:{},isCollapsed:{type:Boolean},eventBus:{},layout:{},modelsSectionLabel:{default:()=>t}},setup(e){let{level:t}=p2t("modelGroup");return(a,r)=>"modern"===e.layout?(Ho(),Fo(H1t,{key:0},{default:sn(()=>[Fs(qa(M1t),{id:e.id,"aria-label":e.modelsSectionLabel,onIntersecting:r[1]||=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id})},{default:sn(()=>[Fs(qa(G1t),null,{default:sn(()=>[Fs(X1t,{level:qa(t)},{default:sn(()=>[ei(Yt(e.modelsSectionLabel),1)]),_:1},8,["level"])]),_:1}),e.isCollapsed?(Ho(),Fo(k3t,{key:1,id:e.id,class:"top-0",onClick:r[0]||=()=>e.eventBus.emit("toggle:nav-item",{id:e.id,open:!0})},null,8,["id"])):Kn(a.$slots,"default",{},void 0,void 0,0)]),_:3},8,["id","aria-label"])]),_:3})):(Ho(),Fo(q1t,{key:1,"aria-label":e.modelsSectionLabel,class:"pb-12",modelValue:!e.isCollapsed,"onUpdate:modelValue":r[2]||=()=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:e.isCollapsed})},{title:sn(()=>[Fs(qa(G1t),null,{default:sn(()=>[Fs(X1t,{level:qa(t)},{default:sn(()=>[ei(Yt(e.modelsSectionLabel),1)]),_:1},8,["level"])]),_:1})]),default:sn(()=>[Kn(a.$slots,"default")]),_:3},8,["aria-label","modelValue"]))}});Bc(),xQe();var A3t=q0t(Cn({__name:"ClassicLayout",props:{tag:{},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean}},setup(e){let{level:t}=p2t("tag");return(a,r)=>(Ho(),Fo(qa(q1t),{"aria-label":e.tag.title,class:tt(["tag-section",{"tag-section-group":e.tag.isGroup,"tag-section-nested":e.nested}]),modelValue:!e.isCollapsed,"onUpdate:modelValue":r[1]||=t=>e.eventBus?.emit("toggle:nav-item",{id:e.tag.id,open:t})},{title:sn(()=>[Fs(qa(G1t),{class:tt(["tag-name",{"tag-group-name":e.tag.isGroup}])},{default:sn(()=>[Fs(qa(t2t),{onCopyAnchorUrl:r[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.tag.id})},{default:sn(()=>[Fs(qa(X1t),{level:qa(t)},{default:sn(()=>[ei(Yt(e.tag.title),1)]),_:1},8,["level"])]),_:1})]),_:1},8,["class"]),Fs(qa(Rqe),{class:"tag-description",value:e.tag?.description,withImages:""},null,8,["value"])]),default:sn(()=>[Kn(a.$slots,"default",{},void 0,!0)]),_:3},8,["aria-label","class","modelValue"]))}}),[["__scopeId","data-v-fafcaa8a"]]);Bc(),l5e();var T3t=["aria-label"],_3t=["onClick"],C3t=q0t(Cn({__name:"ChannelsList",props:{tag:{},eventBus:{}},setup(e){let{translate:t}=wLt(),a=il(()=>e.tag.children?.filter(e=>"asyncapi-channel"===e.type)??[]);return(r,n)=>a.value.length?(Ho(),Fo(qa(d3e),{key:0,class:"channels-card"},{default:sn(()=>[Fs(qa(y3e),{muted:""},{default:sn(()=>[Fs(K1t,null,{default:sn(()=>[ei(Yt(e.tag.title),1)]),_:1}),ei(" "+Yt(qa(t)("navigation.channels")),1)]),_:1}),Fs(qa(h3e),{class:"custom-scroll max-h-[60vh]"},{default:sn(()=>[Xo("ul",{"aria-label":qa(t)("navigation.channels"),class:"channels"},[(Ho(!0),Qo(Bs,null,Xn(a.value,t=>(Ho(),Qo("li",{key:t.id,class:"contents"},[Xo("a",{class:"channel",onClick:Cc(()=>e.eventBus?.emit("scroll-to:nav-item",{id:t.id}),["prevent"])},Yt(t.title||t.channelAddress),9,_3t)]))),128))],8,T3t)]),_:1})]),_:1})):ai("",!0)}}),[["__scopeId","data-v-817abeb3"]]);Bc(),G3e(),X3e();var E3t=Cn({__name:"HttpMethod",props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,a=il(()=>a3e(String(t.method||""))),r=il(()=>n3e(t.method));return(t,n)=>(Ho(),Fo(Fn(e.as??"span"),{class:"uppercase",style:Je({[e.property||"color"]:a.value.colorVar})},{default:sn(()=>[Kn(t.$slots,"default"),ei(" "+Yt(e.short?a.value.short:r.value),1)]),_:3},8,["style"]))}});Bc(),G3e(),Xk();var P3t=q0t(Cn({__name:"OperationsListItem",props:{operation:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let t=il(()=>"path"in e.operation?e.operation.path:e.operation.title),a=e=>"webhook"===e.type,{level:r}=p2t("operation");return(n,o)=>(Ho(),Qo("li",{key:e.operation.id,class:"contents"},[e.isCollapsed?(Ho(),Fo(qa(X1t),{key:0,class:"sr-only",level:qa(r)},{default:sn(()=>[ei(Yt(e.operation.title)+" (Hidden) ",1)]),_:1},8,["level"])):ai("",!0),Xo("a",{class:"endpoint",onClick:o[0]||=Cc(()=>e.eventBus?.emit("scroll-to:nav-item",{id:e.operation.id}),["prevent"])},[Fs(qa(E3t),{class:"endpoint-method items-center justify-end gap-2",method:e.operation.method},{default:sn(()=>[a(e.operation)?(Ho(),Fo(qa(Tx),{key:0,class:"size-3.5",style:Je({color:qa(a3e)(e.operation.method).colorVar})},null,8,["style"])):ai("",!0)]),_:1},8,["method"]),Xo("span",{class:tt(["endpoint-path",{deprecated:e.operation.isDeprecated}])},Yt(t.value),3)])]))}}),[["__scopeId","data-v-d54500d7"]]);Bc(),l5e();var M3t=["aria-label"],N3t=q0t(Cn({__name:"OperationsList",props:{tag:{},eventBus:{}},setup(e){let{translate:t}=wLt(),a=il(()=>e.tag.children?.filter(e=>"operation"===e.type||"webhook"===e.type)??[]);return(r,n)=>e.tag.children&&e.tag.children?.length>0?(Ho(),Fo(qa(d3e),{key:0,class:"endpoints-card"},{default:sn(()=>[Fs(qa(y3e),{muted:""},{default:sn(()=>[Fs(K1t,null,{default:sn(()=>[ei(Yt(e.tag.title),1)]),_:1}),ei(" "+Yt(e.tag.isWebhooks?qa(t)("navigation.webhooks"):qa(t)("navigation.operations")),1)]),_:1}),Fs(qa(h3e),{class:"custom-scroll max-h-[60vh]"},{default:sn(()=>[Xo("ul",{"aria-label":qa(t)("navigation.endpoints",{name:e.tag.title}),class:"endpoints"},[(Ho(!0),Qo(Bs,null,Xn(a.value,t=>(Ho(),Fo(P3t,{key:t.id,eventBus:e.eventBus,operation:t},null,8,["eventBus","operation"]))),128))],8,M3t)]),_:1})]),_:1})):ai("",!0)}}),[["__scopeId","data-v-0315c99b"]]);Bc(),xQe();var $3t=Cn({__name:"TagSection",props:{tag:{},headingLevel:{default:1},headerId:{},isCollapsed:{type:Boolean},eventBus:{}},setup(e){let{translate:t}=wLt(),a=il(()=>e.tag.children?.some(e=>"asyncapi-channel"===e.type)??!1);return(r,n)=>e.tag?(Ho(),Fo(qa(M1t),{key:0,id:e.tag.id,role:"none",onIntersecting:n[1]||=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.tag.id})},{default:sn(()=>[Fs(qa(G1t),null,{default:sn(()=>[Fs(qa(t2t),{onCopyAnchorUrl:n[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.tag.id})},{default:sn(()=>[Fs(qa(X1t),{id:e.headerId,level:e.headingLevel},{default:sn(()=>[ei(Yt(e.tag.title)+" ",1),e.isCollapsed?(Ho(),Fo(K1t,{key:0},{default:sn(()=>[ei(" ("+Yt(qa(t)("navigation.collapsed"))+") ",1)]),_:1})):ai("",!0)]),_:1},8,["id","level"])]),_:1})]),_:1}),Fs(qa(F1t),null,{default:sn(()=>[Fs(qa(U1t),null,{default:sn(()=>[Fs(qa(B1t),null,{default:sn(()=>[Fs(qa(Rqe),{clamp:e.isCollapsed?7:void 0,value:e.tag?.description??"",withImages:""},null,8,["clamp","value"])]),_:1}),Fs(qa(B1t),null,{default:sn(()=>[a.value?(Ho(),Fo(C3t,{key:0,eventBus:e.eventBus,tag:e.tag},null,8,["eventBus","tag"])):(Ho(),Fo(qa(N3t),{key:1,eventBus:e.eventBus,tag:e.tag},null,8,["eventBus","tag"]))]),_:1})]),_:1})]),_:1}),Fs(qa(S2t),{value:e.tag.xKeys},null,8,["value"])]),_:1},8,["id"])):ai("",!0)}});Bc();var I3t={key:2,class:"contents divide-y"},R3t=q0t(Cn({__name:"ModernLayout",props:{tag:{},moreThanOneTag:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean,default:!1}},setup(e){let{translate:t}=wLt(),a=En(),r=il(()=>e.moreThanOneTag||"default"!==e.tag?.title||""!==e.tag?.description),n=il(()=>(e.tag?.children?.length??0)>0),o=il(()=>e.moreThanOneTag||e.nested),i=il(()=>e.isCollapsed&&o.value),s=il(()=>i.value&&n.value),l=il(()=>s.value&&!e.nested),{level:c}=p2t("tag");return(n,o)=>(Ho(),Fo(qa(H1t),{"aria-labelledby":qa(a),class:tt(["tag-section-container",{"tag-section-collapsed":l.value,"tag-section-nested":e.nested}]),role:"region"},{default:sn(()=>[r.value?(Ho(),Fo($3t,{key:0,headingLevel:qa(c),eventBus:e.eventBus,headerId:qa(a),isCollapsed:e.isCollapsed,tag:e.tag},null,8,["headingLevel","eventBus","headerId","isCollapsed","tag"])):ai("",!0),s.value?(Ho(),Fo(k3t,{key:1,id:e.tag.id,"aria-label":qa(t)("navigation.showAllEndpoints",{name:e.tag.title}),onClick:o[0]||=()=>e.eventBus?.emit("toggle:nav-item",{id:e.tag.id,open:!0})},null,8,["id","aria-label"])):ai("",!0),i.value?ai("",!0):(Ho(),Qo("div",I3t,[Kn(n.$slots,"default",{},void 0,!0)]))]),_:3},8,["aria-labelledby","class"]))}}),[["__scopeId","data-v-b6a490f4"]]);Bc();var D3t=Cn({__name:"Tag",props:{tag:{},layout:{},moreThanOneTag:{type:Boolean},isCollapsed:{type:Boolean},eventBus:{},nested:{type:Boolean}},setup:e=>(t,a)=>"classic"===e.layout?(Ho(),Fo(A3t,{key:0,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,nested:e.nested,tag:e.tag},{default:sn(()=>[Kn(t.$slots,"default")]),_:3},8,["eventBus","isCollapsed","layout","nested","tag"])):(Ho(),Fo(R3t,{key:1,eventBus:e.eventBus,isCollapsed:e.isCollapsed,layout:e.layout,moreThanOneTag:e.moreThanOneTag,nested:e.nested,tag:e.tag},{default:sn(()=>[Kn(t.$slots,"default")]),_:3},8,["eventBus","isCollapsed","layout","moreThanOneTag","nested","tag"]))});Bc(),iie();var L3t=["id","data-placeholder"],B3t=Cn({__name:"Lazy",props:{id:{},expanded:{type:Boolean,default:!1}},setup(e){let{isReady:t}=x4t(e.id),a=Ha(null),r=Ha((e=>m4t.get(e))(e.id)??760),n=null,o=il(()=>t.value||e.expanded);return as(()=>{if(!(typeof window>"u")){if(!("IntersectionObserver"in window))return void w4t(e.id,!0);zoe(a,([a])=>{a?.isIntersecting&&!t.value&&w4t(e.id,!0)},{rootMargin:"1200px 0px"})}}),hn(()=>o.value,(t,n)=>{if(n&&!t&&a.value){let t=a.value.offsetHeight;Number.isFinite(t)&&t>0&&(r.value=t,f4t(e.id,t))}},{flush:"pre"}),hn(()=>o.value,t=>{if(!t)return n?.disconnect(),void(n=null);Kr(()=>{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,f4t(e.id,t))}),n.observe(a.value);let t=a.value.offsetHeight;Number.isFinite(t)&&t>0&&(r.value=t,f4t(e.id,t))})},{immediate:!0}),os(()=>{n?.disconnect()}),(t,n)=>(Ho(),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?Kn(t.$slots,"default",{},void 0,void 0,0):ai("",!0)],12,L3t))}});J_(),eC();var j3t=e=>{if(void 0===e)return;let t=q_(e),a=z_(t)&&"schemaFormat"in t?q_(t.schema):t;return(e=>z_(e))(a)?a:void 0};eC();var U3t=(e,t)=>{if(!e.components)return;let a=q_(e.components,V_).schemas?.[t];return j3t(a)};Bc(),mae(),sJe(),Xk(),h_();var z3t=Cn({inheritAttrs:!1,__name:"ContentTypeSelect",props:oo({content:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let{translate:t}=wLt(),a=xo(e,"modelValue"),r=il(()=>Object.keys(e.content??{})),n=il({get:()=>o.value.find(e=>e.id===a.value),set:e=>{e&&(a.value=e.id)}}),o=il(()=>r.value.map(e=>({id:e,label:e}))),i=a_({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,s)=>r.value.length>1?(Ho(),Fo(qa(pKe),{key:0,modelValue:n.value,"onUpdate:modelValue":s[1]||=e=>n.value=e,options:o.value,placement:"bottom-end",teleport:"",onClick:s[2]||=Cc(()=>{},["stop"])},{default:sn(({open:r})=>[Fs(qa(sae),ii({class:["h-fit",qa(i)({dropdown:!0})],variant:"ghost"},e.$attrs,{onClick:s[0]||=Cc(()=>{},["stop"])}),{default:sn(()=>[Fs(K1t,null,{default:sn(()=>[ei(Yt(qa(t)("operation.selectedContentType"))+": ",1)]),_:1}),Xo("span",null,Yt(a.value),1),Fs(qa(Rm),{class:tt(["size-2.75 transition-transform duration-100",{"rotate-180":r}]),weight:"bold"},null,8,["class"])]),_:2},1040,["class"])]),_:1},8,["modelValue","options"])):(Ho(),Qo("div",ii({key:1,class:["selected-content-type",qa(i)({dropdown:!1})]},e.$attrs,{tabindex:"0"}),[Xo("span",null,Yt(a.value),1)],16))}});Bc(),eC();var H3t=Cn({__name:"Header",props:{header:{},name:{},breadcrumb:{},eventBus:{},document:{},orderSchemaPropertiesBy:{},orderRequiredPropertiesFirst:{type:Boolean},expandAllSchemaProperties:{type:Boolean},hideModels:{type:Boolean}},setup:e=>(t,a)=>"schema"in e.header&&e.header.schema?(Ho(),Fo(d3t,{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,hideModels:e.hideModels,document:e.document},schema:qa(q_)(e.header.schema)},null,8,["breadcrumb","description","eventBus","name","options","schema"])):ai("",!0)});Bc(),Oh(),Yte(),eC();var Z3t=q0t(Cn({__name:"Headers",props:{headers:{},breadcrumb:{},eventBus:{},document:{},orderRequiredPropertiesFirst:{type:Boolean},orderSchemaPropertiesBy:{},expandAllSchemaProperties:{type:Boolean},hideModels:{type:Boolean}},setup(e){let{translate:t}=wLt();return(a,r)=>(Ho(),Fo(qa(yp),null,{default:sn(({open:a})=>[Xo("div",{class:tt(["headers-card headers-card--compact",[{"headers-card--open":a}]])},[Xo("div",{class:tt(["headers-properties",{"headers-properties-open":a}])},[Fs(qa(wp),{class:"headers-card-title headers-card-title--compact",style:{top:"calc(var(--refs-viewport-offset)))"}},{default:sn(()=>[Fs(qa(Dte),{class:tt(["headers-card-title-icon",{"headers-card-title-icon--open":a}]),icon:"Add",size:"sm"},null,8,["class"]),a?(Ho(),Qo(Bs,{key:0},[ei(Yt(qa(t)("operation.hideHeaders")),1)],64)):(Ho(),Qo(Bs,{key:1},[ei(Yt(qa(t)("operation.showHeaders")),1)],64))]),_:2},1024),Fs(qa(xp),null,{default:sn(()=>[(Ho(!0),Qo(Bs,null,Xn(e.headers,(t,a)=>(Ho(),Fo(H3t,{key:a,breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,document:e.document,eventBus:e.eventBus,expandAllSchemaProperties:e.expandAllSchemaProperties,header:qa(q_)(t),hideModels:e.hideModels,name:a,orderRequiredPropertiesFirst:e.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.orderSchemaPropertiesBy},null,8,["breadcrumb","document","eventBus","expandAllSchemaProperties","header","hideModels","name","orderRequiredPropertiesFirst","orderSchemaPropertiesBy"]))),128))]),_:1})],2)],2)]),_:1}))}}),[["__scopeId","data-v-9ba640f2"]]);J_();var V3t=e=>void 0!==e;Bc(),Oh(),xQe(),Nbt(),Xk(),eC();var q3t={class:"parameter-item group/parameter-item"},Q3t={class:"parameter-item-name min-w-0"},F3t={key:1,class:"flex-1"},W3t=q0t(Cn({__name:"ParameterListItem",props:{parameter:{},name:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},document:{},options:{}},emits:["update:selectedContentType"],setup(e,{emit:t}){let a=t,r=Ha(!1),n=il(()=>"schema"in e.parameter&&e.parameter.schema?q_(e.parameter.schema):null),o=il(()=>"content"in e.parameter&&e.parameter.content&&0!==Object.keys(e.parameter.content).length?e.parameter.content:null),i=Ha(Object.keys(o.value||{})[0]??"");hn(i,e=>{a("update:selectedContentType",e)});let s=il(()=>"headers"in e.parameter&&e.parameter.headers?e.parameter.headers:null),l=il(()=>o.value?o.value?.[i.value]?.schema:"schema"in e.parameter&&e.parameter.schema?e.parameter.schema:null),c=il(()=>{let e=l.value;return e&&"$ref"in e?E4t(e.$ref):null}),u=il(()=>{let t=l.value,a=o.value?q_(t):n.value,r="deprecated"in e.parameter?e.parameter.deprecated:n.value?.deprecated,s=(({parameter:e,schemaExamples:t,contentExamples:a})=>{let r="examples"in e&&H_(e.examples)?e.examples:{},n=Object.values({...r,...H_(a)?a:{}}).filter(V3t),o=0===n.length&&"example"in e&&void 0!==e.example?[e.example]:[],i=(t??o).filter(V3t);return[...n,...i]})({parameter:e.parameter,schemaExamples:n.value?.examples,contentExamples:o.value?.[i.value]?.examples});return{...a,deprecated:r,examples:s}}),d=il(()=>!!(o.value||s.value||n.value||r.value)),p=il(()=>e.collapsableItems&&e.breadcrumb&&e.name?[...e.breadcrumb,e.name]:e.breadcrumb),h=il(()=>{let e=p.value?.join(".");if(!e)return!1;let t=u4t.value;return t===e||t.startsWith(`${e}.`)});return(t,a)=>(Ho(),Qo("li",q3t,[Fs(qa(yp),{defaultOpen:h.value},{default:sn(({open:t})=>[e.collapsableItems?(Ho(),Fo(Fn(d.value?qa(wp):"div"),{key:0,class:tt(["parameter-item-trigger",{"parameter-item-trigger-open":t}])},{default:sn(()=>[Xo("div",Q3t,[d.value?(Ho(),Fo(qa(Zm),{key:0,class:tt(["parameter-item-icon size-3 transition-transform duration-100",{"rotate-90":t}]),weight:"bold"},null,8,["class"])):ai("",!0),Xo("div",null,[Fs(qa(Svt),{preset:"property",text:e.name},null,8,["text"])])]),!t&&e.parameter.description?(Ho(),Fo(qa(Bqe),{key:0,truncated:r.value,"onUpdate:truncated":a[0]||=e=>r.value=e,class:"parameter-item-description-summary min-w-0 flex-1",controlled:"",value:e.parameter.description},null,8,["truncated","value"])):(Ho(),Qo("div",F3t))]),_:2},1032,["class"])):ai("",!0),Fs(qa(xp),{class:"parameter-item-container parameter-item-container-markdown",static:!e.collapsableItems},{default:sn(()=>[e.collapsableItems&&e.parameter.description?(Ho(),Fo(qa(Rqe),{key:0,class:"parameter-item-description",value:e.parameter.description},null,8,["value"])):ai("",!0),s.value?(Ho(),Fo(Z3t,{key:1,breadcrumb:e.breadcrumb,document:e.document,eventBus:e.eventBus,expandAllSchemaProperties:e.options.expandAllSchemaProperties,headers:s.value,hideModels:e.options.hideModels,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy},null,8,["breadcrumb","document","eventBus","expandAllSchemaProperties","headers","hideModels","orderRequiredPropertiesFirst","orderSchemaPropertiesBy"])):ai("",!0),Fs(d3t,{is:"div",breadcrumb:p.value,compact:"",description:e.collapsableItems?"":e.parameter.description,eventBus:e.eventBus,hideWriteOnly:!0,modelName:c.value,name:e.collapsableItems?"":e.name,noncollapsible:!0,options:{hideWriteOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,hideModels:e.options.hideModels,document:e.document},required:"required"in e.parameter&&e.parameter.required,schema:u.value},null,8,["breadcrumb","description","eventBus","modelName","name","options","required","schema"])]),_:1},8,["static"]),d.value&&o.value?(Ho(),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":!t}])},[a[2]||=Xo("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),Fs(z3t,{modelValue:i.value,"onUpdate:modelValue":a[1]||=e=>i.value=e,content:o.value},null,8,["modelValue","content"])],2)):ai("",!0)]),_:1},8,["defaultOpen"])]))}}),[["__scopeId","data-v-ce052837"]]);Bc();var G3t={key:0,class:"mt-6"},X3t=["id"],Y3t=["aria-labelledby"],K3t=Cn({__name:"ParameterList",props:{parameters:{},breadcrumb:{},eventBus:{},collapsableItems:{type:Boolean},document:{},options:{}},setup(e){let t=En();return(a,r)=>e.parameters?.length?(Ho(),Qo("div",G3t,[Xo("div",{id:qa(t),class:"text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium"},[Kn(a.$slots,"title")],8,X3t),Xo("ul",{"aria-labelledby":qa(t),class:"mb-3 list-none p-0 text-sm"},[(Ho(!0),Qo(Bs,null,Xn(e.parameters,t=>(Ho(),Fo(W3t,{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,Y3t)])):ai("",!0)}});Bc();var J3t={key:0,class:"async-api-labels"},e5t={class:"sr-only"},t5t={class:"sr-only"},a5t=q0t(Cn({__name:"AsyncApiLabels",props:{servers:{default:()=>[]},protocols:{default:()=>[]}},setup(e){let{translate:t}=wLt(),a=il(()=>e.servers.length>0||e.protocols.length>0);return(r,n)=>a.value?(Ho(),Qo("div",J3t,[e.servers.length?(Ho(),Qo(Bs,{key:0},[Xo("span",e5t,Yt(qa(t)("asyncapi.servers"))+":",1),(Ho(!0),Qo(Bs,null,Xn(e.servers,e=>(Ho(),Fo(qa(T1t),{key:`server-${e}`,class:"async-api-label--server",title:e},{default:sn(()=>[ei(Yt(e),1)]),_:2},1032,["title"]))),128))],64)):ai("",!0),e.protocols.length?(Ho(),Qo(Bs,{key:1},[Xo("span",t5t,Yt(qa(t)("asyncapi.protocols"))+":",1),(Ho(!0),Qo(Bs,null,Xn(e.protocols,e=>(Ho(),Fo(qa(T1t),{key:`protocol-${e}`,class:"async-api-label--protocol",title:e},{default:sn(()=>[ei(Yt(e),1)]),_:2},1032,["title"]))),128))],64)):ai("",!0)])):ai("",!0)}}),[["__scopeId","data-v-6f21951e"]]);eC();var r5t=e=>({orderRequiredPropertiesFirst:e?.orderRequiredPropertiesFirst??!1,orderSchemaPropertiesBy:e?.orderSchemaPropertiesBy??"preserve",expandAllSchemaProperties:e?.expandAllSchemaProperties??!1}),n5t=(e,t)=>(e??[]).filter(e=>e.type===t),o5t=(e,t)=>{let a=CPt(e,{channel:t??null,webSocketOnly:!1});return{servers:a.map(e=>e.name),protocols:[...new Set(a.map(e=>e.protocol).filter(Boolean))]}},i5t=(...e)=>{for(let t of e){let e=t?.trim();if(e)return e}return""};eC();var s5t=(e,t)=>{let a=e.channels?.[t];return a?q_(a,V_):void 0};eC(),x9e();var l5t=(e,t)=>{let a=e?.security??t.security??[],r=t.components?.securitySchemes??{},n=!1,o=[];for(let e of a){if(!u7e(e)){n=!0;continue}let t=Object.entries(e).map(([e,t])=>({name:e,scheme:q_(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}},c5t=e=>e.scheme&&"oauth2"!==e.scheme.type&&"openIdConnect"!==e.scheme.type?[]:e.scopes,u5t=e=>{let t=[];for(let a of e.requirements){let e=new Set;for(let t of a.schemes)for(let a of c5t(t))e.add(a);e.size>0&&t.push([...e])}return t};Bc();var d5t={key:0,class:"mt-6"},p5t={class:"text-c-1 mt-3 mb-3 text-lg leading-[1.45] font-medium"},h5t={key:0,class:"text-c-2 mb-2 text-sm"},m5t=Cn({__name:"OperationScopes",props:{requiredSecurity:{}},setup(e){let{translate:t}=wLt(),a=il(()=>u5t(e.requiredSecurity)),r=il(()=>e.requiredSecurity.requirements.some(e=>e.schemes.every(e=>0===c5t(e).length))),n=il(()=>a.value.length>1||a.value.length>0&&r.value);return(e,r)=>a.value.length?(Ho(),Qo("div",d5t,[Xo("div",p5t,Yt(qa(t)("authentication.scopes")),1),n.value?(Ho(),Qo("div",h5t,Yt(qa(t)("authentication.oneOf")),1)):ai("",!0),(Ho(!0),Qo(Bs,null,Xn(a.value,(e,t)=>(Ho(),Qo("ul",{key:t,class:tt(["mb-3 list-none p-0 text-sm",{"mt-3 border-t pt-3":a.value.length>1&&t>0}])},[(Ho(!0),Qo(Bs,null,Xn(e,e=>(Ho(),Qo("li",{key:e,class:"font-code text-c-2"},Yt(e),1))),128))],2))),128))])):ai("",!0)}});Bc(),xQe(),eC();var f5t=["id"],g5t={class:"message-heading"},v5t={key:1,class:"message-schema"},b5t={key:2,class:"message-schema"},y5t=q0t(Cn({__name:"Message",props:{message:{},document:{},eventBus:{},options:{},expandedItems:{default:()=>({})}},setup(e){let t=En(),a=Mn("section");P1t(a,()=>e.eventBus?.emit("intersecting:nav-item",{id:e.message.id}));let r=il(()=>((e,t,a)=>{let r=s5t(e,t)?.messages?.[a];return r?q_(r,V_):void 0})(e.document,e.message.channelName,e.message.messageName)),n=il(()=>i5t(r.value?.title,e.message.title,e.message.messageName)),o=il(()=>r.value?.description||r.value?.summary||""),i=il(()=>{let e=r.value?.bindings;if(!e)return[];let t=q_(e);return Object.entries(t).filter(([,e])=>null!=e).map(([e])=>e.toLowerCase())}),s=il(()=>{let t=s5t(e.document,e.message.channelName),{protocols:a}=o5t(e.document,t);return[...new Set([...a,...i.value])]}),l=il(()=>r.value?(e=>j3t(e.payload))(r.value):void 0),c=il(()=>r.value?(e=>j3t(e.headers))(r.value):void 0),u=il(()=>({hideReadOnly:!1,...r5t(e.options)})),d=Ha(e.expandedItems[e.message.id]??!1);hn(()=>e.expandedItems[e.message.id],e=>{void 0!==e&&(d.value=e)});let p=t=>{d.value=t,e.eventBus?.emit("toggle:nav-item",{id:e.message.id,open:t})},{level:h}=p2t("message");return(r,i)=>(Ho(),Qo("div",{id:e.message.id,ref_key:"section",ref:a,class:"message"},[Fs(qa(D1t),{class:"message-accordion",modelValue:d.value,"onUpdate:modelValue":p},{title:sn(()=>[Fs(qa(t2t),{onCopyAnchorUrl:i[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.message.id})},{default:sn(()=>[Xo("span",g5t,[Fs(qa(X1t),{id:qa(t),class:"message-title",level:qa(h)},{default:sn(()=>[ei(Yt(n.value),1)]),_:1},8,["id","level"]),Fs(a5t,{protocols:s.value},null,8,["protocols"])])]),_:1})]),default:sn(()=>[o.value?(Ho(),Fo(qa(Rqe),{key:0,class:"message-description",value:o.value,withImages:""},null,8,["value"])):ai("",!0),c.value?(Ho(),Qo("div",v5t,[i[1]||=Xo("div",{class:"message-schema-title"},"Headers",-1),Fs(qa(g3t),{compact:"",eventBus:e.eventBus,name:"Headers",noncollapsible:"",options:u.value,schema:c.value},null,8,["eventBus","options","schema"])])):ai("",!0),l.value?(Ho(),Qo("div",b5t,[i[2]||=Xo("div",{class:"message-schema-title"},"Payload",-1),Fs(qa(g3t),{compact:"",eventBus:e.eventBus,name:"Payload",noncollapsible:"",options:u.value,schema:l.value},null,8,["eventBus","options","schema"])])):ai("",!0)]),_:1},8,["modelValue"])],8,f5t))}}),[["__scopeId","data-v-08f2cf5d"]]);Bc(),xQe();var w5t=["id"],x5t={class:"operation-header"},O5t=q0t(Cn({__name:"Operation",props:{operation:{},document:{},eventBus:{},options:{},expandedItems:{default:()=>({})}},setup(e){let t=En(),a=Mn("section");P1t(a,()=>e.eventBus?.emit("intersecting:nav-item",{id:e.operation.id}));let r=il(()=>((e,t)=>{let a=e.operations?.[t];return a?DPt(q_(a,V_)):void 0})(e.document,e.operation.operationName)),n=il(()=>i5t(r.value?.title,e.operation.title,e.operation.operationName)),o=il(()=>r.value?.description||r.value?.summary||""),i=il(()=>n5t(e.operation.children,"asyncapi-message")),s=il(()=>((e,t)=>l5t({security:RPt(e,t,null)},{components:void 0}))(e.document,r.value)),{level:l}=p2t("operation");return(r,c)=>(Ho(),Qo("div",{id:e.operation.id,ref_key:"section",ref:a,class:tt(["operation",`operation--${e.operation.action}`])},[Xo("div",x5t,[Xo("span",{class:tt(["operation-action",`operation-action--${e.operation.action}`])},Yt(e.operation.action),3),Fs(qa(t2t),{onCopyAnchorUrl:c[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.operation.id})},{default:sn(()=>[Fs(qa(X1t),{id:qa(t),class:"operation-title",level:qa(l)},{default:sn(()=>[ei(Yt(n.value),1)]),_:1},8,["id","level"])]),_:1})]),o.value?(Ho(),Fo(qa(Rqe),{key:0,class:"operation-description",value:o.value,withImages:""},null,8,["value"])):ai("",!0),Fs(m5t,{requiredSecurity:s.value},null,8,["requiredSecurity"]),(Ho(!0),Qo(Bs,null,Xn(i.value,t=>(Ho(),Fo(y5t,{key:t.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,message:t,options:e.options},null,8,["document","eventBus","expandedItems","message","options"]))),128))],10,w5t))}}),[["__scopeId","data-v-a929e624"]]);Bc(),xQe();var k5t=q0t(Cn({__name:"Channel",props:{channel:{},document:{},layout:{},isCollapsed:{type:Boolean},eventBus:{},options:{},expandedItems:{default:()=>({})},level:{default:0}},setup(e){let t=En(),a=il(()=>s5t(e.document,e.channel.channelName)),r=il(()=>a.value?.description??""),n=il(()=>i5t(a.value?.title,e.channel.channelAddress)),o=il(()=>(e=>e?Object.entries(e).map(([e,t])=>{let a=q_(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=il(()=>({hideModels:e.options?.hideModels??!1,...r5t(e.options)})),s=il(()=>o5t(e.document,a.value)),l=il(()=>n5t(e.channel.children,"asyncapi-operation")),{level:c}=p2t("channel");return(a,u)=>"classic"===e.layout?(Ho(),Fo(qa(q1t),{key:0,"aria-label":n.value,class:"channel-section",modelValue:!e.isCollapsed,"onUpdate:modelValue":u[1]||=t=>e.eventBus?.emit("toggle:nav-item",{id:e.channel.id,open:t})},{title:sn(()=>[Fs(qa(G1t),{class:"channel-name"},{default:sn(()=>[Fs(qa(t2t),{onCopyAnchorUrl:u[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.channel.id})},{default:sn(()=>[Fs(qa(X1t),{level:qa(c)},{default:sn(()=>[ei(Yt(n.value),1)]),_:1},8,["level"])]),_:1})]),_:1}),Fs(a5t,{class:"channel-labels",protocols:s.value.protocols,servers:s.value.servers},null,8,["protocols","servers"]),Fs(qa(Rqe),{class:"channel-description",value:r.value,withImages:""},null,8,["value"])]),default:sn(()=>[o.value.length?(Ho(),Fo(K3t,{key:0,eventBus:e.eventBus,options:i.value,parameters:o.value},{title:sn(()=>[...u[4]||=[ei("Parameters",-1)]]),_:1},8,["eventBus","options","parameters"])):ai("",!0),(Ho(!0),Qo(Bs,null,Xn(l.value,t=>(Ho(),Fo(O5t,{key:t.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,operation:t,options:e.options},null,8,["document","eventBus","expandedItems","operation","options"]))),128))]),_:1},8,["aria-label","modelValue"])):(Ho(),Fo(qa(H1t),{key:1,"aria-labelledby":qa(t),omit:0!==e.level,role:"region"},{default:sn(()=>[Fs(qa(M1t),{id:e.channel.id,role:"none",onIntersecting:u[3]||=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.channel.id})},{default:sn(()=>[Fs(qa(G1t),null,{default:sn(()=>[Fs(qa(t2t),{onCopyAnchorUrl:u[2]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.channel.id})},{default:sn(()=>[Fs(qa(X1t),{id:qa(t),level:qa(c)},{default:sn(()=>[ei(Yt(n.value),1)]),_:1},8,["id","level"])]),_:1})]),_:1}),Fs(qa(F1t),null,{default:sn(()=>[Fs(a5t,{class:"channel-labels",protocols:s.value.protocols,servers:s.value.servers},null,8,["protocols","servers"]),Fs(qa(Rqe),{value:r.value,withImages:""},null,8,["value"]),o.value.length?(Ho(),Fo(K3t,{key:0,eventBus:e.eventBus,options:i.value,parameters:o.value},{title:sn(()=>[...u[5]||=[ei("Parameters",-1)]]),_:1},8,["eventBus","options","parameters"])):ai("",!0),(Ho(!0),Qo(Bs,null,Xn(l.value,t=>(Ho(),Fo(O5t,{key:t.id,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,operation:t,options:e.options},null,8,["document","eventBus","expandedItems","operation","options"]))),128))]),_:1})]),_:1},8,["id"])]),_:1},8,["aria-labelledby","omit"]))}}),[["__scopeId","data-v-c60febe5"]]);Bc(),eC();var S5t=Cn({__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=il(()=>e.document.components?q_(e.document.components,V_).schemas:void 0),s=t=>U3t(e.document,t);return(l,c)=>{let u=Qn("AsyncApiTraversedEntry",!0);return Ho(!0),Qo(Bs,null,Xn(e.entries,l=>(Ho(),Fo(B3t,{id:l.id,key:`${l.id}-${e.options.layout}`,expanded:!!e.expandedItems[l.id]},{default:sn(()=>[r(l)?(Ho(),Fo(k5t,{key:0,channel:l,document:e.document,eventBus:e.eventBus,expandedItems:e.expandedItems,isCollapsed:!e.expandedItems[l.id],layout:e.options.layout,level:e.level,options:e.options},null,8,["channel","document","eventBus","expandedItems","isCollapsed","layout","level","options"])):a(l)||t(l)&&"classic"===e.options.layout?(Ho(),Fo(qa(D3t),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],layout:e.options.layout,moreThanOneTag:e.entries.filter(a).length>1,tag:l},{default:sn(()=>[l.children?.length?(Ho(),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)?(Ho(),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?(Ho(),Fo(S3t,{key:3,id:l.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],layout:e.options.layout,modelsSectionLabel:e.options.modelsSectionLabel},{default:sn(()=>[Fs(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)?(Ho(),Fo(x3t,{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)}}});Bc(),aQt(),RK(),aK();var A5t=Cn({__name:"Auth",props:{options:{},authStore:{},document:{},eventBus:{},securitySchemes:{},selectedServer:{},environment:{}},setup(e){let{translate:t}=wLt(),a=il(()=>QX(e.document)||FX(e.document)?e.document["x-scalar-navigation"]?.name??"":""),r=il(()=>WX(e.document)),n=il(()=>FX(e.document)?(e=>{let t=e.servers?q_(e.servers):void 0;if(!t)return[];let a=Object.values(t).map(e=>q_(e)),r=a.map(t=>RPt(e,null,t)),n=r.flat(),o=r.some(e=>e.length>0),i=a.some(e=>!e?.security?.length);return o&&i&&n.push({}),NPt(n)})(e.document):cY(QX(e.document)?e.document.security:void 0)),o=il(()=>e.authStore.getAuthSelectedSchemas({type:"document",documentName:a.value})),i=il(()=>gY(o.value,void 0,n.value,e.securitySchemes,e.options.authentication?.preferredSecurityScheme));return(a,o)=>Object.keys(e.securitySchemes).length?(Ho(),Fo(qa(Cht),{key:0,canDeleteSchemes:!1,createAnySecurityScheme:e.options.authentication?.createAnySecurityScheme??!1,documentType:r.value,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:n.value,securitySchemes:e.securitySchemes,selectedSecurity:i.value,server:e.selectedServer,title:qa(t)("authentication.title")},null,8,["createAnySecurityScheme","documentType","environment","eventBus","options","persistAuth","proxyUrl","securityRequirements","securitySchemes","selectedSecurity","server","title"])):ai("",!0)}}),T5t=e=>"ellipsis"in e,_5t=(e,t)=>{let a=(e,r)=>{for(let n of e){let e="tag"!==n.type||!0===n.isTagGroup&&"classic"!==t?r:[...r,{id:n.id,title:n.title}];if(e.length>=2)return e;if("children"in n&&void 0!==n.children){let t=a(n.children,e);if(t.length>=2)return t}}return[]};return a(e,[])};Bc(),Xk();var C5t=["aria-hidden","aria-label","data-stuck"],E5t=["title"],P5t={key:2,"aria-current":"page",class:"text-c-1 shrink-0 font-medium whitespace-nowrap"},M5t=["onClick"],N5t=q0t(Cn({__name:"ContextBar",props:{chain:{}},emits:["navigate"],setup(e,{emit:t}){let a=t,r=Ha(null),n=Ha(!1),o=Ha(!1),i=il(()=>e.chain.length>=2),s=il(()=>i.value?n.value?(e=>{if(e.length<4)return e;let[t]=e,a=e.slice(-2);return[...t?[t]:[],{ellipsis:!0,hiddenTitles:e.slice(1,-2).map(e=>e.title)},...a]})(e.chain):e.chain:[]),l=e=>e===s.value.length-1,c=()=>{let e=r.value;if(!e)return;let t=getComputedStyle(e),a=Number.parseFloat(t.columnGap)||0,o=e.clientWidth-Number.parseFloat(t.paddingLeft)-Number.parseFloat(t.paddingRight),i=Array.from(e.children),s=i.reduce((e,t)=>e+t.getBoundingClientRect().width,0)+a*Math.max(0,i.length-1);n.value=s>o+1},u=null,d=null,p=null,h=()=>{if(n.value=!1,null===d){if(typeof requestAnimationFrame>"u")return void Kr(c);d=requestAnimationFrame(()=>{d=null,Kr(c)})}},m=()=>{let e=r.value;if(!e)return;let t=Number.parseFloat(getComputedStyle(e).top)||0;o.value=e.getBoundingClientRect().top<=t},f=()=>{if(null===p){if(typeof requestAnimationFrame>"u")return void m();p=requestAnimationFrame(()=>{p=null,m()})}};return hn(r,e=>{u?.disconnect(),e&&typeof ResizeObserver<"u"&&(u=new ResizeObserver(()=>{h(),f()}),u.observe(e),h(),f())},{immediate:!0}),hn(()=>e.chain,h,{flush:"post"}),as(()=>{window.addEventListener("scroll",f,{capture:!0,passive:!0}),window.addEventListener("resize",f,{passive:!0}),f()}),os(()=>{u?.disconnect(),window.removeEventListener("scroll",f,!0),window.removeEventListener("resize",f),null!==d&&typeof cancelAnimationFrame<"u"&&cancelAnimationFrame(d),null!==p&&typeof cancelAnimationFrame<"u"&&cancelAnimationFrame(p)}),(e,t)=>(Ho(),Qo("nav",{ref_key:"navRef",ref:r,"aria-hidden":!i.value,"aria-label":i.value?"Breadcrumb":void 0,class:"context-bar bg-b-1.5 text-c-2 sticky top-(--refs-header-height) z-10 flex items-center gap-1.5 text-sm","data-stuck":o.value||void 0},[(Ho(!0),Qo(Bs,null,Xn(s.value,(e,t)=>(Ho(),Qo(Bs,{key:qa(T5t)(e)?`ellipsis-${t}`:e.id},[t>0?(Ho(),Fo(qa(Zm),{key:0,class:"text-c-3 size-2.5 shrink-0",weight:"bold"})):ai("",!0),qa(T5t)(e)?(Ho(),Qo("span",{key:1,class:"text-c-3 shrink-0",title:e.hiddenTitles.join(" › ")}," … ",8,E5t)):l(t)?(Ho(),Qo("span",P5t,Yt(e.title),1)):(Ho(),Qo("button",{key:3,class:"hover:text-c-1 shrink-0 cursor-pointer whitespace-nowrap transition-colors",type:"button",onClick:t=>(e=>a("navigate",e))(e.id)},Yt(e.title),9,M5t))],64))),128))],8,C5t))}}),[["__scopeId","data-v-5f62f72b"]]);RK();var $5t=e=>Object.keys(e).sort().join(",");Bc();var I5t={key:0},R5t=q0t(Cn({__name:"OperationPath",props:{path:{},deprecated:{type:Boolean}},setup(e){let t=e,a=e=>e.startsWith("{")&&e.endsWith("}"),r=il(()=>t.path.split(/({[^}]+})/));return(t,n)=>(Ho(),Qo("span",{class:tt(["operation-path",{deprecated:e.deprecated}])},[(Ho(!0),Qo(Bs,null,Xn(r.value,(e,t)=>(Ho(),Qo(Bs,{key:t},[a(e)?(Ho(),Qo("em",I5t,Yt(e),1)):(Ho(),Qo(Bs,{key:1},[ei(Yt(e),1)],64))],64))),128))],2))}}),[["__scopeId","data-v-ec6c8861"]]);u5e(),v5e(),K5e(),h_(),Bc();var D5t=Cn({inheritAttrs:!1,__name:"ScalarVirtualCodeBlock",props:{content:{},lang:{default:"plaintext"},copy:{type:[String,Boolean],default:"hover"},lineHeight:{default:20}},setup(e){let{cx:t}=c_();return(a,r)=>(Ho(),Qo("div",at(Ko(qa(t)("scalar-code-block group/code-block flex flex-col","relative bg-b-1 min-h-0 min-w-0"))),[Fs(N5e,{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?(Ho(),Fo($3e,{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:sn(()=>[Fs(x3e,{class:"scalar-code-copy-backdrop -right-1.5 -top-1"})]),_:1},8,["class","content","lang"])):ai("",!0)],16))}});Bc(),Iat(),W5e(),q5e();var L5t=Cn({__name:"ExampleSchema",props:{id:{},schema:{}},setup(e){let t=il(()=>{if(e.schema)return b5e(CC(e.schema))}),a=il(()=>(t.value?.length??0)>2e4);return(r,n)=>a.value?(Ho(),Fo(qa(D5t),{key:1,id:e.id,class:"bg-b-2",content:t.value??"",lang:"json"},null,8,["id","content"])):(Ho(),Fo(qa(S5e),{key:0,id:e.id,class:"bg-b-2",lang:"json",prettyPrintedContent:t.value??""},null,8,["id","prettyPrintedContent"]))}});Bc(),Iat(),W5e(),q5e(),RK();var B5t={key:2,class:"empty-state"},j5t=q0t(Cn({__name:"ExampleResponse",props:{response:{},example:{}},setup(e){let{translate:t}=wLt(),a=()=>void 0!==e.example?CC(e.example)?.value??"":e.response?.schema?jV(CC(e.response.schema),{emptyString:"string",mode:"read"}):void 0,r=il(()=>{let e=a();if(void 0!==e)return b5e(e)}),n=il(()=>void 0!==r.value&&r.value.length>2e4);return(e,a)=>void 0===r.value||n.value?void 0!==r.value&&n.value?(Ho(),Fo(qa(D5t),{key:1,class:"bg-b-2",content:r.value,lang:"json"},null,8,["content"])):(Ho(),Qo("div",B5t,Yt(qa(t)("response.noBody")),1)):(Ho(),Fo(qa(S5e),{key:0,class:"bg-b-2",lang:"json",prettyPrintedContent:r.value},null,8,["prettyPrintedContent"]))}}),[["__scopeId","data-v-ce6cfefc"]]);Bc(),Oh();var U5t=q0t(Cn({__name:"ExampleResponseTab",setup:e=>(e,t)=>(Ho(),Fo(qa(gh),{as:"template"},{default:sn(({selected:t})=>[Xo("button",{class:tt(["tab",{"tab-selected":t}]),type:"button"},[Xo("span",null,[Kn(e.$slots,"default",{},void 0,!0)])],2)]),_:3}))}),[["__scopeId","data-v-804dba49"]]);Bc(),Oh(),l5e();var z5t=q0t(Cn({__name:"ExampleResponseTabList",emits:["change"],setup(e,{emit:t}){let a=t,r=e=>{a("change",e)};return(e,t)=>(Ho(),Fo(qa(y3e),{class:"scalar-card-header scalar-card-header-tabs"},{actions:sn(()=>[Kn(e.$slots,"actions",{},void 0,!0)]),default:sn(()=>[Fs(qa(mh),{onChange:r},{default:sn(()=>[Fs(qa(fh),{class:"tab-list custom-scroll"},{default:sn(()=>[Kn(e.$slots,"default",{},void 0,!0)]),_:3})]),_:3})]),_:3}))}}),[["__scopeId","data-v-49a8c0af"]]);function H5t(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}cK(),Bc(),Iat(),l5e(),Yte(),xQe(),cK(),ayt(),eC(),RK();var Z5t={key:1,class:"scalar-card-checkbox"},V5t=["aria-controls"],q5t={class:"response-description"},Q5t=q0t(Cn({__name:"ExampleResponses",props:{responses:{},selectedExample:{},eventBus:{},selectedContentTypes:{}},setup(e){let{translate:t}=wLt(),a=En(),{copyToClipboard:r}=zbt(),n=il(()=>Object.keys(e.responses??{}).sort()),o=il(()=>n.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=H5t(e?.content),r=uY(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]??""])}(q_(e.responses?.[t]),t))),i=Ha(0);hn(o,t=>{if(0===t.length)i.value=0;else{if(!(i.value>=t.length))return;i.value=t.length-1}d.value=p(e.selectedExample)});let s=il(()=>{let t=Qa(o)[Qa(i)]??"";return q_(e.responses?.[t])}),l=il(()=>H5t(s.value?.content)),c=il(()=>{let t=l.value;if(!t)return;let a=Qa(o)[Qa(i)]??"",r=e.selectedContentTypes?.[a],n=uY(t);return t[r&&n.includes(r)?r:n[0]??""]}),u=il(()=>!!c.value?.examples&&Object.keys(c.value?.examples??{}).length>1),d=Ha(""),p=e=>{let t=Object.keys(c.value?.examples??{});return e&&t.includes(e)?e:d.value&&t.includes(d.value)?d.value:t[0]??""};d.value=p(e.selectedExample),hn(()=>e.selectedExample,e=>{d.value=p(e)});let h=t=>{d.value=t,e.eventBus?.emit("workspace:update:selected-example",t)},m=il(()=>{if(c.value)return u.value&&d.value?c.value.examples?.[d.value]:PC(c.value,void 0,void 0)}),f=t=>{i.value=t,d.value=p(e.selectedExample)},g=Ha(!1);return(e,n)=>o.value.length?(Ho(),Fo(qa(d3e),{key:0,"aria-label":qa(t)("response.exampleResponses"),class:"response-card",role:"region"},{default:sn(()=>[Fs(z5t,{onChange:f},{actions:sn(()=>[c.value?.example?(Ho(),Qo("button",{key:0,class:"code-copy",type:"button",onClick:n[0]||=()=>qa(r)(c.value?.example)},[Fs(qa(Dte),{icon:"Clipboard",width:"12px"})])):ai("",!0),c.value?.schema?(Ho(),Qo("label",Z5t,[ei(Yt(qa(t)("response.showSchema"))+" ",1),ln(Xo("input",{"onUpdate:modelValue":n[1]||=e=>g.value=e,"aria-controls":qa(a),class:"scalar-card-checkbox-input",type:"checkbox"},null,8,V5t),[[Oc,g.value]]),n[2]||=Xo("span",{class:"scalar-card-checkbox-checkmark"},null,-1)])):ai("",!0)]),default:sn(()=>[(Ho(!0),Qo(Bs,null,Xn(o.value,e=>(Ho(),Fo(U5t,{key:e,"aria-controls":qa(a)},{default:sn(()=>[Fs(K1t,null,{default:sn(()=>[ei(Yt(qa(t)("response.status"))+":",1)]),_:1}),ei(" "+Yt(e),1)]),_:2},1032,["aria-controls"]))),128))]),_:1}),Fs(qa(h3e),{class:"grid flex-1"},{default:sn(()=>[c.value?.schema&&g.value?(Ho(),Fo(L5t,{key:0,id:qa(a),schema:c.value?.schema},null,8,["id","schema"])):(Ho(),Fo(j5t,{key:1,id:qa(a),example:m.value,response:c.value},null,8,["id","example","response"]))]),_:1}),s.value?.description||u.value?(Ho(),Fo(qa(f3e),{key:0,class:"response-card-footer"},{default:sn(()=>[u.value?(Ho(),Fo(qa(e3e),{key:0,class:"response-example-selector px-0",examples:c.value?.examples,modelValue:d.value,"onUpdate:modelValue":h},null,8,["examples","modelValue"])):ai("",!0),Xo("div",q5t,[s.value?.description?(Ho(),Fo(qa(Rqe),{key:0,class:"response-description-markdown",value:s.value.description},null,8,["value"])):ai("",!0)])]),_:1})):ai("",!0)]),_:1},8,["aria-label"])):ai("",!0)}}),[["__scopeId","data-v-c999f4a2"]]);eC(),dF();var F5t=e=>q_(e),W5t=(e,t,a)=>{if(!t.properties)return[e];let r=new Set(t.required??[]),n=Object.entries(t.properties).flatMap(([t,n])=>{let o=F5t(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 ZV(o)&&o.properties?W5t(s,o,i):[s]});return n.length>0?n:[e]};Bc(),xQe(),eC();var G5t=["aria-label"],X5t={class:"request-body-header"},Y5t={class:"request-body-title"},K5t={key:0,class:"text-c-2 text-xs leading-none font-normal","data-testid":"request-body-schema-name"},J5t={class:"flex items-center gap-2"},e7t={key:0,class:"request-body-required"},t7t={key:0,class:"request-body-description"},a7t={key:0,class:"request-body-schema"},r7t={key:1,class:"request-body-schema"},n7t=q0t(Cn({__name:"RequestBody",props:oo({breadcrumb:{},requestBody:{},eventBus:{},document:{},options:{}},{selectedContentType:{default:"application/json"},selectedContentTypeModifiers:{}}),emits:["update:selectedContentType"],setup(e){let{translate:t}=wLt(),a=il(()=>Object.keys(e.requestBody?.content??{})),r=xo(e,"selectedContentType");e.requestBody?.content&&a.value[0]&&(r.value=a.value[0]);let n=il(()=>e.requestBody?.content?.[r.value]?.schema),o=il(()=>q_(n.value)),i=il(()=>(n.value&&e6t(n.value))??null),s=il(()=>E6t(i.value?.schemaKey,{hideModels:e.options.hideModels,document:e.document})),l=il(()=>{if(!o.value||!B4t(o.value)||D4t(o.value,e.document))return null;let t=p6t(o.value,o.value.discriminator,{hideReadOnly:!0,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst});if(t.length<=12)return null;let{properties:a,...r}=o.value;return a?{visibleProperties:{...r,properties:d6t(t.slice(0,12),a)},collapsedProperties:{...r,properties:d6t(t.slice(12),a)}}:null}),c=il(()=>Object.keys(e.requestBody?.content??{}).length>0||e.requestBody?.description||e.requestBody?.required);return(a,n)=>e.requestBody&&c.value?(Ho(),Qo("div",{key:0,"aria-label":qa(t)("operation.requestBody"),class:"request-body",role:"group"},[Xo("div",X5t,[Xo("div",Y5t,[Kn(a.$slots,"title",{},void 0,!0),i.value?(Ho(),Qo("span",K5t,[n[2]||=Xo("span",{class:"text-c-3 mx-1.5"},"·",-1),e.eventBus&&i.value.schemaKey&&s.value?(Ho(),Fo(C6t,{key:0,onClick:n[0]||=t=>e.eventBus.emit("scroll-to:model-by-name",{name:i.value.schemaKey})},{default:sn(()=>[ei(Yt(i.value.label),1)]),_:1})):(Ho(),Qo(Bs,{key:1},[ei(Yt(i.value.label),1)],64))])):ai("",!0)]),Xo("div",J5t,[e.requestBody.required?(Ho(),Qo("div",e7t,Yt(qa(t)("common.required")),1)):ai("",!0),Fs(z3t,{modelValue:r.value,"onUpdate:modelValue":n[1]||=e=>r.value=e,content:e.requestBody.content},null,8,["modelValue","content"])]),e.requestBody.description?(Ho(),Qo("div",t7t,[Fs(qa(Rqe),{value:e.requestBody.description},null,8,["value"])])):ai("",!0)]),l.value?(Ho(),Qo("div",a7t,[Fs(qa(g3t),{breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,name:qa(t)("operation.requestBody"),noncollapsible:"",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,hideModels:e.options.hideModels,document:e.document},schema:l.value.visibleProperties,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","name","options","schema"]),Fs(qa(g3t),{additionalProperties:"",breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,hideDescription:"",name:qa(t)("operation.requestBody"),options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,hideModels:e.options.hideModels,document:e.document},schema:l.value.collapsedProperties,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","name","options","schema"])])):o.value?(Ho(),Qo("div",r7t,[Fs(qa(g3t),{breadcrumb:e.breadcrumb,compact:"",compositionPath:["requestBody"],eventBus:e.eventBus,hideReadOnly:!0,name:qa(t)("operation.requestBody"),noncollapsible:"",options:{hideReadOnly:!0,orderRequiredPropertiesFirst:e.options.orderRequiredPropertiesFirst,orderSchemaPropertiesBy:e.options.orderSchemaPropertiesBy,expandAllSchemaProperties:e.options.expandAllSchemaProperties,hideModels:e.options.hideModels,document:e.document},schema:o.value,schemaContext:"requestBody"},null,8,["breadcrumb","eventBus","name","options","schema"])])):ai("",!0)],8,G5t)):ai("",!0)}}),[["__scopeId","data-v-75896209"]]);Bc(),eC(),Y9e();var o7t=Cn({__name:"OperationParameters",props:oo({breadcrumb:{},parameters:{default:()=>[]},requestBody:{},eventBus:{},document:{},options:{}},{selectedContentType:{},selectedContentTypeModifiers:{}}),emits:["update:selectedContentType"],setup(e){let{translate:t}=wLt(),a=xo(e,"selectedContentType"),r=il(()=>(e.parameters??[]).reduce((e,t)=>{let a=q_(t);return z9e(a)||(e=>{if("query"!==e.in||!(e=>"schema"in e&&void 0!==e.schema)(e)||"deepObject"!==e.style)return[e];let t=F5t(e.schema);return t&&ZV(t)?W5t(e,t,e.name):[e]})(a).forEach(t=>{e[t.in].push(t)}),e},{cookie:[],header:[],path:[],query:[]}));return(n,o)=>(Ho(),Qo(Bs,null,[Fs(K3t,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"path"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.path},{title:sn(()=>[ei(Yt(qa(t)("operation.pathParameters")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),Fs(K3t,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"query"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.query},{title:sn(()=>[ei(Yt(qa(t)("operation.queryParameters")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),Fs(K3t,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"headers"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.header},{title:sn(()=>[ei(Yt(qa(t)("operation.headers")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),Fs(K3t,{breadcrumb:e.breadcrumb?[...e.breadcrumb,"cookies"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,parameters:r.value.cookie},{title:sn(()=>[ei(Yt(qa(t)("operation.cookies")),1)]),_:1},8,["breadcrumb","document","eventBus","options","parameters"]),e.requestBody?(Ho(),Fo(n7t,{key:0,selectedContentType:a.value,"onUpdate:selectedContentType":o[0]||=e=>a.value=e,breadcrumb:e.breadcrumb?[...e.breadcrumb,"body"]:void 0,document:e.document,eventBus:e.eventBus,options:e.options,requestBody:e.requestBody},{title:sn(()=>[ei(Yt(qa(t)("operation.body")),1)]),_:1},8,["selectedContentType","breadcrumb","document","eventBus","options","requestBody"])):ai("",!0)],64))}});Bc(),eC();var i7t={key:0,class:"mt-6"},s7t={class:"text-c-1 mt-3 mb-3 leading-[1.45] font-medium"},l7t=["aria-label"],c7t=Cn({__name:"OperationResponses",props:{responses:{},breadcrumb:{},collapsableItems:{type:Boolean},eventBus:{},document:{},selectedContentTypes:{default:()=>({})},options:{}},emits:["update:selectedContentTypes"],setup(e,{emit:t}){let a=t,{translate:r}=wLt();return(t,n)=>Object.keys(e.responses??{}).length?(Ho(),Qo("div",i7t,[Xo("div",s7t,Yt(qa(r)("operation.responses")),1),Xo("ul",{"aria-label":qa(r)("operation.responses"),class:"mb-3 list-none p-0 text-sm"},[(Ho(!0),Qo(Bs,null,Xn(e.responses,(t,r)=>(Ho(),Fo(W3t,{key:r,breadcrumb:e.breadcrumb?[...e.breadcrumb,"responses"]:void 0,collapsableItems:e.collapsableItems,document:e.document,eventBus:e.eventBus,name:r,options:e.options,parameter:qa(q_)(t),"onUpdate:selectedContentType":t=>a("update:selectedContentTypes",{...e.selectedContentTypes,[r]:t})},null,8,["breadcrumb","collapsableItems","document","eventBus","name","options","parameter","onUpdate:selectedContentType"]))),128))],8,l7t)])):ai("",!0)}});Bc(),Xk(),eC();var u7t={class:"group callback-list-item"},d7t={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"},p7t={class:"text-c-1 min-w-0 flex-1 truncate text-sm leading-5 font-bold group-open:whitespace-normal"},h7t={class:"text-c-2 font-normal"},m7t={class:"callback-operation-container flex flex-col gap-2"},f7t=q0t(Cn({__name:"Callback",props:{callback:{},method:{},name:{},url:{},eventBus:{},document:{},options:{}},setup:e=>(t,a)=>(Ho(),Qo("details",u7t,[Xo("summary",d7t,[Fs(qa(Zm),{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"}),Fs(qa(E3t),{as:"span",class:"request-method py-0.75 font-bold",method:e.method},null,8,["method"]),Xo("div",p7t,[ei(Yt(e.name)+" ",1),Xo("span",h7t,Yt(e.url),1)])]),Xo("div",m7t,[Fs(o7t,{document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.callback.parameters?.map(e=>qa(q_)(e))??[],requestBody:qa(q_)(e.callback.requestBody)},null,8,["document","eventBus","options","parameters","requestBody"]),Fs(c7t,{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"]]);Bc(),nK(),VY(),eC();var g7t=["aria-label"],v7t={class:"callbacks-title text-c-1 my-3 text-lg font-medium"},b7t=Cn({__name:"Callbacks",props:{path:{},callbacks:{},eventBus:{},document:{},options:{}},setup(e){let{translate:t}=wLt(),a=il(()=>{let t=[];return vX(e.callbacks).forEach(([e,a])=>{vX(q_(a)).forEach(([a,r])=>{"object"!=typeof r||!r||vX(r).forEach(([r,n])=>{YX(r)&&t.push({name:e,url:a,method:r,callback:n})})})}),t});return(r,n)=>(Ho(),Qo("div",{"aria-label":qa(t)("operation.callbacks"),class:"callbacks-list gap-3",role:"group"},[Xo("div",v7t,Yt(qa(t)("operation.callbacks")),1),(Ho(!0),Qo(Bs,null,Xn(a.value,({callback:t,method:a,name:r,url:n})=>(Ho(),Fo(f7t,{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))],8,g7t))}});Bc();var y7t={key:0},w7t={key:1},x7t=Cn({__name:"SecurityRequirementBadgeScheme",props:{is:{default:"li"},scheme:{}},setup:e=>(t,a)=>(Ho(),Fo(Fn(e.is),{class:"markdown"},{default:sn(()=>[ei(Yt(e.scheme.name)+" ",1),e.scheme.scheme?.type?(Ho(),Qo("code",y7t,Yt(e.scheme.scheme.type),1)):ai("",!0),e.scheme.scopes.length?(Ho(),Qo("ul",w7t,[(Ho(!0),Qo(Bs,null,Xn(e.scheme.scopes,e=>(Ho(),Qo("li",{key:e,class:"font-code text-c-2"},Yt(e),1))),128))])):ai("",!0)]),_:1}))});Bc(),Obt(),Xk(),iie();var O7t,k7t=["aria-expanded"],S7t={key:2},A7t={class:"flex max-w-xs min-w-48 flex-col gap-1.5 p-2 text-sm"},T7t={class:"font-medium"},_7t={key:0,class:"contents"},C7t={key:1,class:"contents"},E7t={key:1,class:"contents"},P7t=Cn({__name:"SecurityRequirementBadge",props:{requiredSecurity:{},hideLabel:{type:Boolean,default:!1}},setup(e){let t,{translate:a}=wLt(),r=Ha(null),n=Ha(null),o=Ha(!1),i=Ha(!1),s=()=>{i.value||(clearTimeout(t),t=setTimeout(()=>{o.value=!1},120))},l=()=>clearTimeout(t),c=()=>{l(),o.value=!0},u=()=>{l(),o.value=!1,i.value=!1},d=()=>{i.value?u():(l(),o.value=!0,i.value=!0)};Ioe(r,u,{ignore:[n]}),Loe("Escape",()=>{o.value&&u()}),os(()=>clearTimeout(t));let p=il(()=>"required"===e.requiredSecurity.state?a("authentication.required"):a("authentication.optional")),h=il(()=>"required"===e.requiredSecurity.state?a("authentication.requires"):a("authentication.accepts")),m=il(()=>1===e.requiredSecurity.requirements.length&&1===e.requiredSecurity.requirements[0]?.schemes.length),f=il(()=>1===e.requiredSecurity.requirements.length&&(e.requiredSecurity.requirements[0]?.schemes.length??0)>1),g=il(()=>e.requiredSecurity.requirements.length>1);return(t,i)=>"none"===e.requiredSecurity.state?ai("",!0):(Ho(),Fo(qa(Vne),{key:0,placement:"bottom-end"},{floating:sn(()=>[o.value?(Ho(),Qo("div",{key:0,ref_key:"panelRef",ref:n,class:"relative flex flex-col p-0.75",onClick:i[0]||=Cc(()=>{},["stop"]),onMouseenter:l,onMouseleave:s},[Xo("div",A7t,[Xo("div",T7t,[ei(Yt(h.value)+" ",1),m.value?(Ho(),Fo(x7t,{key:0,is:"span",class:"contents",scheme:e.requiredSecurity.requirements[0].schemes[0]},null,8,["scheme"])):g.value?(Ho(),Qo(Bs,{key:1},[ei(Yt(qa(a)("authentication.oneOf")),1)],64)):f.value?(Ho(),Qo(Bs,{key:2},[ei(Yt(qa(a)("authentication.allOf")),1)],64)):(Ho(),Qo(Bs,{key:3},[ei(Yt(qa(a)("authentication.authentication")),1)],64))]),g.value?(Ho(),Qo("ul",_7t,[(Ho(!0),Qo(Bs,null,Xn(e.requiredSecurity.requirements,(e,t)=>(Ho(),Qo("li",{key:t,class:"markdown"},[1===e.schemes.length?(Ho(),Fo(x7t,{key:0,is:"span",class:"contents",scheme:e.schemes[0]},null,8,["scheme"])):(Ho(),Qo("ul",C7t,[(Ho(!0),Qo(Bs,null,Xn(e.schemes,(e,t)=>(Ho(),Fo(x7t,{key:t,scheme:e},null,8,["scheme"]))),128))]))]))),128))])):f.value?(Ho(),Qo("ul",E7t,[(Ho(!0),Qo(Bs,null,Xn(e.requiredSecurity.requirements[0].schemes,(e,t)=>(Ho(),Fo(x7t,{key:t,scheme:e},null,8,["scheme"]))),128))])):ai("",!0)]),Fs(qa(Qne))],544)):ai("",!0)]),default:sn(()=>[Xo("button",{ref_key:"triggerRef",ref:r,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","aria-expanded":o.value,"aria-haspopup":"dialog",onClick:Cc(d,["stop"]),onMouseenter:c,onMouseleave:s},["required"===e.requiredSecurity.state?(Ho(),Fo(qa(Cb),{key:0,class:"size-3",weight:"bold"})):(Ho(),Fo(qa(Db),{key:1,class:"size-3",weight:"bold"})),e.hideLabel?ai("",!0):(Ho(),Qo("span",S7t,Yt(p.value),1))],42,k7t)]),_:1}))}});!function(e){e.Deprecated="deprecated",e.Experimental="experimental",e.Stable="stable"}(O7t||={});var M7t=e=>e.deprecated||e["x-scalar-stability"]===O7t.Deprecated,N7t=e=>e.deprecated?O7t.Deprecated:e["x-scalar-stability"],$7t=e=>{switch(N7t(e)){case O7t.Deprecated:return"text-red";case O7t.Experimental:return"text-orange";case O7t.Stable:return"text-green";default:return""}};Bc(),Xk();var I7t=["method"],R7t=q0t(Cn({__name:"TestRequestButton",props:{id:{},method:{},path:{},eventBus:{},exampleName:{},requestBodyCompositionSelection:{}},setup(e){let{translate:t}=wLt(),a=()=>{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(r,n)=>(Ho(),Qo("button",{class:"show-api-client-button",method:e.method,type:"button",onClick:Cc(a,["stop"])},[Fs(qa(Oy),{class:"size-3",weight:"fill"}),Xo("span",null,Yt(qa(t)("operation.testRequest")),1),Fs(K1t,null,{default:sn(()=>[ei("("+Yt(e.method)+" "+Yt(e.path)+")",1)]),_:1})],8,I7t))}}),[["__scopeId","data-v-ad72d914"]]);Bc();var D7t=Cn({__name:"XBadges",props:{position:{},badges:{}},setup(e){let t=il(()=>Array.isArray(e.badges)?e.badges.filter(t=>t.position===e.position||"after"===e.position&&!t.position):[]);return(e,a)=>t.value.length?(Ho(!0),Qo(Bs,{key:0},Xn(t.value,e=>(Ho(),Fo(qa(T1t),{key:e.name,color:e.color},{default:sn(()=>[ei(Yt(e.name),1)]),_:2},1032,["color"]))),128)):ai("",!0)}});Bc(),Iat(),Lat(),EQe(),xQe(),Xk(),ayt(),eC();var L7t={class:"operation-title"},B7t={class:"operation-details"},j7t={class:"endpoint-label-path"},U7t={class:"endpoint-label-name"},z7t={key:1,class:"font-code text-sm"},H7t={class:"endpoint-content"},Z7t={class:"operation-details-card"},V7t={key:0,class:"operation-details-card-item"},q7t={key:1,class:"operation-details-card-item"},Q7t={class:"operation-details-card-item"},F7t={class:"operation-details-card-item"},W7t={key:2,class:"operation-details-card-item"},G7t=q0t(Cn({__name:"ClassicLayout",props:{id:{},method:{},options:{},path:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{},requiredSecurity:{},document:{}},setup(e){let{translate:t}=wLt(),a=il(()=>e.operation.summary||e.path||""),r=il(()=>h2t(e.operation)),n=il(()=>u5t(e.requiredSecurity).length>0),o=Ha(),i=Ha(""),s=Ha({}),l=il(()=>({...s.value})),c=il(()=>JSON.stringify(l.value));un(G4t,s);let u=Ha({}),{copyToClipboard:d}=zbt(),{level:p}=p2t("operation");return(s,h)=>(Ho(),Fo(qa(D1t),{id:e.id,"aria-label":a.value,class:"reference-endpoint",modelValue:!e.isCollapsed,transparent:"","onUpdate:modelValue":h[5]||=t=>e.eventBus?.emit("toggle:nav-item",{id:e.id,open:t})},Yn({title:sn(()=>[Xo("div",L7t,[Xo("div",B7t,[Fs(qa(E3t),{class:"endpoint-type",method:e.method,short:""},null,8,["method"]),Fs(qa(t2t),{class:"endpoint-anchor",onCopyAnchorUrl:h[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id})},{default:sn(()=>[(Ho(),Fo(Fn(`h${qa(p)}`),{class:"endpoint-label"},{default:sn(()=>[Xo("div",j7t,[Fs(R5t,{deprecated:qa(M7t)(e.operation),path:e.path},null,8,["deprecated","path"])]),Xo("div",U7t,Yt(a.value),1),qa(N7t)(e.operation)?(Ho(),Fo(qa(T1t),{key:0,class:tt(["capitalize",qa($7t)(e.operation)])},{default:sn(()=>[ei(Yt(qa(N7t)(e.operation)),1)]),_:1},8,["class"])):ai("",!0),e.isWebhook?(Ho(),Fo(qa(T1t),{key:1,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:sn(()=>[Fs(qa(Tx),{weight:"bold"}),ei(" "+Yt(qa(t)("operation.webhook")),1)]),_:1})):ai("",!0),Fs(qa(D7t),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])]),_:1}))]),_:1})])])]),actions:sn(({active:a})=>[Fs(P7t,{hideLabel:"",requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"]),Fs(qa(D7t),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"]),e.options.hideTestRequestButton?ai("",!0):(Ho(),Qo(Bs,{key:0},[a?(Ho(),Fo(qa(R7t),{key:0,id:e.id,eventBus:e.eventBus,exampleName:i.value,method:e.method,path:e.path,requestBodyCompositionSelection:l.value},null,8,["id","eventBus","exampleName","method","path","requestBodyCompositionSelection"])):(Ho(),Fo(qa(Oy),{key:1,class:"endpoint-try-hint size-4.5"}))],64)),e.options.showOperationId&&e.operation.operationId?(Ho(),Qo("span",z7t,Yt(e.operation.operationId),1)):ai("",!0),Fs(qa(tQe),{class:"endpoint-copy p-0.5",icon:qa(Pf),label:qa(t)("actions.copyEndpointUrl"),size:"xs",variant:"ghost",onClick:h[1]||=Cc(t=>qa(d)(e.path),["stop"])},null,8,["icon","label"])]),default:sn(()=>[Xo("div",H7t,[Xo("div",Z7t,[Object.keys(r.value).length>0?(Ho(),Qo("div",V7t,[Fs(S2t,{value:r.value},null,8,["value"])])):ai("",!0),n.value?(Ho(),Qo("div",q7t,[Fs(m5t,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"])])):ai("",!0),Xo("div",Q7t,[Fs(o7t,{selectedContentType:o.value,"onUpdate:selectedContentType":h[2]||=e=>o.value=e,document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,requestBody:qa(q_)(e.operation.requestBody)},null,8,["selectedContentType","document","eventBus","options","parameters","requestBody"])]),Xo("div",F7t,[Fs(c7t,{selectedContentTypes:u.value,"onUpdate:selectedContentTypes":h[3]||=e=>u.value=e,document:e.document,eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,["selectedContentTypes","document","eventBus","options","responses"])]),e.operation?.callbacks?(Ho(),Qo("div",W7t,[Fs(b7t,{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?(Ho(),Fo(qa(Q5t),{key:0,class:"operation-example-card",eventBus:e.eventBus,responses:e.operation.responses,selectedContentTypes:u.value,selectedExample:e.selectedExample},null,8,["eventBus","responses","selectedContentTypes","selectedExample"])):ai("",!0),Xo("div",null,[e.operation.externalDocs?(Ho(),Fo(qa(E2t),{key:0},{default:sn(()=>[Fs(qa($2t),{value:e.operation.externalDocs},null,8,["value"])]),_:1})):ai("",!0),Fs(qa(gat),null,{default:sn(()=>[(Ho(),Fo(qa(z5e),{key:c.value,class:"operation-example-card",clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:l.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:o.value,selectedExample:e.selectedExample,selectedServer:e.selectedServer,"onUpdate:exampleKey":h[4]||=e=>i.value=e},null,8,["clientOptions","eventBus","isWebhook","method","operation","path","requestBodyCompositionSelection","securitySchemes","selectedClient","selectedContentType","selectedExample","selectedServer"]))]),_:1})])])]),_:2},[e.operation.description?{name:"description",fn:sn(()=>[Fs(qa(Rqe),{anchorPrefix:e.id,"aria-label":qa(t)("common.description"),role:"group",transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","aria-label","value"])]),key:"0"}:void 0]),1032,["id","aria-label","modelValue"]))}}),[["__scopeId","data-v-d70f7395"]]);Bc(),Xk();var X7t={class:"ask-agent-scalar-input-label"},Y7t=["placeholder"],K7t={class:"ask-agent-scalar-send",type:"submit"},J7t=q0t(Cn({__name:"AskAgentButton",setup(e){let t=kLt(),{translate:a}=wLt(),r=Ha(""),n=Ha();return(e,o)=>qa(t)?.agentEnabled.value?(Ho(),Qo("form",{key:0,class:"agent-button-container",onClick:o[1]||=e=>n.value?.focus(),onSubmit:o[2]||=Cc(e=>(t.value?.openAgent(r.value),void(r.value="")),["prevent"])},[Fs(qa(ew),{class:"size-3 shrink-0",weight:"fill"}),Xo("div",X7t,Yt(qa(a)("agent.askAiAgent")),1),ln(Xo("input",{ref_key:"inputRef",ref:n,"onUpdate:modelValue":o[0]||=e=>r.value=e,class:tt(["ask-agent-scalar-input",{"ask-agent-scalar-input-not-empty":r.value.length>0}]),placeholder:qa(a)("agent.askAiAgent")},null,10,Y7t),[[xc,r.value]]),Xo("button",K7t,[Fs(qa(zh),{class:"size-3",weight:"bold"})])],32)):ai("",!0)}}),[["__scopeId","data-v-10a4fb90"]]);Bc(),Iat(),Lat(),xQe(),Xk(),eC();var e9t={class:"flex flex-row justify-between gap-1"},t9t={class:"flex gap-1"},a9t={class:"flex gap-1"},r9t={class:"operation-layout"},n9t={class:"operation-auth"},o9t={class:"operation-description"},i9t={class:"operation-details"},s9t={class:"examples"},l9t={class:"flex"},c9t=q0t(Cn({__name:"ModernLayout",props:{id:{},method:{},options:{},path:{},clientOptions:{},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},operation:{},selectedServer:{},selectedSecuritySchemes:{},requiredSecurity:{},document:{}},setup(e){let{translate:t}=wLt(),a=il(()=>e.operation.summary||e.path||""),r=En(),n=il(()=>h2t(e.operation)),o=Ha(),i=Ha({}),s=il(()=>({...i.value})),l=il(()=>JSON.stringify(s.value));un(G4t,i);let c=Ha({}),{level:u}=p2t("operation");return(i,d)=>(Ho(),Fo(qa(M1t),{id:e.id,"aria-labelledby":qa(r),label:a.value,tabindex:"-1",onIntersecting:d[3]||=()=>e.eventBus?.emit("intersecting:nav-item",{id:e.id})},{default:sn(()=>[Fs(qa(F1t),null,{default:sn(()=>[Xo("div",e9t,[Xo("div",t9t,[e.options?.showOperationId&&e.operation.operationId?(Ho(),Fo(qa(T1t),{key:0},{default:sn(()=>[ei(Yt(e.operation.operationId),1)]),_:1})):ai("",!0),qa(N7t)(e.operation)?(Ho(),Fo(qa(T1t),{key:1,class:tt(["capitalize",qa($7t)(e.operation)])},{default:sn(()=>[ei(Yt(qa(N7t)(e.operation)),1)]),_:1},8,["class"])):ai("",!0),e.isWebhook?(Ho(),Fo(qa(T1t),{key:2,class:"font-code text-green flex w-fit items-center justify-center gap-1"},{default:sn(()=>[Fs(qa(Tx),{weight:"bold"}),ei(" "+Yt(qa(t)("operation.webhook")),1)]),_:1})):ai("",!0),Fs(qa(D7t),{badges:e.operation["x-badges"],position:"before"},null,8,["badges"])]),Xo("div",a9t,[Fs(qa(D7t),{badges:e.operation["x-badges"],position:"after"},null,8,["badges"])])]),Xo("div",r9t,[Xo("div",{class:tt(["operation-title",qa(M7t)(e.operation)&&"deprecated"])},[Fs(qa(t2t),{onCopyAnchorUrl:d[0]||=()=>e.eventBus?.emit("copy-url:nav-item",{id:e.id})},{default:sn(()=>[Fs(qa(X1t),{id:qa(r),level:qa(u)},{default:sn(()=>[ei(Yt(a.value),1)]),_:1},8,["id","level"])]),_:1})],2),Xo("div",n9t,[Fs(P7t,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"])]),Xo("div",o9t,[Fs(S2t,{value:n.value},null,8,["value"]),Fs(qa(Rqe),{anchorPrefix:e.id,"aria-label":qa(t)("common.description"),role:"group",transformType:"heading",value:e.operation.description,withAnchors:"",withImages:""},null,8,["anchorPrefix","aria-label","value"])]),Xo("div",i9t,[Fs(m5t,{requiredSecurity:e.requiredSecurity},null,8,["requiredSecurity"]),Fs(o7t,{selectedContentType:o.value,"onUpdate:selectedContentType":d[1]||=e=>o.value=e,breadcrumb:[e.id],document:e.document,eventBus:e.eventBus,options:e.options,parameters:e.operation.parameters,requestBody:qa(q_)(e.operation.requestBody)},null,8,["selectedContentType","breadcrumb","document","eventBus","options","parameters","requestBody"]),Fs(c7t,{selectedContentTypes:c.value,"onUpdate:selectedContentTypes":d[2]||=e=>c.value=e,breadcrumb:[e.id],collapsableItems:!e.options.expandAllResponses,document:e.document,eventBus:e.eventBus,options:e.options,responses:e.operation.responses},null,8,["selectedContentTypes","breadcrumb","collapsableItems","document","eventBus","options","responses"]),Fs(qa(gat),null,{default:sn(()=>[e.operation.callbacks?(Ho(),Fo(b7t,{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})]),Xo("div",s9t,[e.operation.externalDocs?(Ho(),Fo(qa(E2t),{key:0},{default:sn(()=>[Fs(qa($2t),{value:e.operation.externalDocs},null,8,["value"])]),_:1})):ai("",!0),Fs(qa(gat),null,{default:sn(()=>[(Ho(),Fo(qa(z5e),{key:l.value,clientOptions:e.clientOptions,eventBus:e.eventBus,fallback:"",isWebhook:e.isWebhook,method:e.method,operation:e.operation,path:e.path,requestBodyCompositionSelection:s.value,securitySchemes:e.selectedSecuritySchemes,selectedClient:e.selectedClient,selectedContentType:o.value,selectedExample:e.selectedExample,selectedServer:e.selectedServer},{header:sn(()=>[Fs(R5t,{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"])]),footer:sn(({exampleName:t})=>[Xo("div",l9t,[Fs(J7t),e.options.hideTestRequestButton?ai("",!0):(Ho(),Fo(qa(R7t),{key:0,id:e.id,eventBus:e.eventBus,exampleName:t,method:e.method,path:e.path,requestBodyCompositionSelection:s.value},null,8,["id","eventBus","exampleName","method","path","requestBodyCompositionSelection"]))])]),_:1},8,["clientOptions","eventBus","isWebhook","method","operation","path","requestBodyCompositionSelection","securitySchemes","selectedClient","selectedContentType","selectedExample","selectedServer"]))]),_:1}),Fs(qa(gat),null,{default:sn(()=>[e.operation.responses?(Ho(),Fo(qa(Q5t),{key:0,eventBus:e.eventBus,responses:e.operation.responses,selectedContentTypes:c.value,selectedExample:e.selectedExample,style:{"margin-top":"12px"}},null,8,["eventBus","responses","selectedContentTypes","selectedExample"])):ai("",!0)]),_:1})])])]),_:1})]),_:1},8,["id","aria-labelledby","label"]))}}),[["__scopeId","data-v-29191aa0"]]);Bc(),s7e(),eC(),RK();var u9t=Cn({__name:"Operation",props:{id:{},method:{},options:{},document:{},path:{},pathValue:{},server:{},securitySchemes:{},clientOptions:{},isCollapsed:{type:Boolean},isWebhook:{type:Boolean},selectedClient:{},selectedExample:{},eventBus:{},authStore:{}},setup(e){let t=il(()=>{let t=q_(e.pathValue?.[e.method]);if(!t)return null;let a=iY(e.pathValue?.parameters,t.parameters);return{...t,parameters:a}}),a=il(()=>V5e(t.value?.servers??null,e.pathValue?.servers??null,e.server)),r=il(()=>l5t(t.value,e.document)),n=il(()=>((e,t,a,r,n={})=>{let o=t?.security??e.security??[],i=gY(a,r,o),s=new Set(o.map(e=>$5t(e))),l=i.selectedSchemes[i.selectedIndex];if(l&&s.has($5t(l)))return dY(n,l);for(let e of i.selectedSchemes)if(s.has($5t(e)))return dY(n,e);return t?.security?.length?dY(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?(Ho(),Qo(Bs,{key:0},["classic"===e.options.layout?(Ho(),Fo(G7t,{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,selectedExample:e.selectedExample,selectedSecuritySchemes:n.value,selectedServer:a.value},null,8,["id","clientOptions","document","eventBus","isCollapsed","isWebhook","method","operation","options","path","requiredSecurity","selectedClient","selectedExample","selectedSecuritySchemes","selectedServer"])):(Ho(),Fo(c9t,{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,selectedExample:e.selectedExample,selectedSecuritySchemes:n.value,selectedServer:a.value},null,8,["id","clientOptions","document","eventBus","isWebhook","method","operation","options","path","requiredSecurity","selectedClient","selectedExample","selectedSecuritySchemes","selectedServer"]))],64)):ai("",!0)}});Bc(),oK(),eC();var d9t=["id"],p9t=Cn({__name:"TraversedEntry",props:{authStore:{},level:{default:0},insideTagContainer:{type:Boolean,default:!1},entries:{},document:{},clientOptions:{},options:{},selectedServer:{},securitySchemes:{},selectedClient:{},selectedExample:{},expandedItems:{},eventBus:{}},setup(e){let t=e=>"tag"===e.type&&!0===e.isGroup&&!0===e.isTagGroup,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)?JX(e.document.webhooks?.[t.name]):JX(e.document.paths?.[t.path])}return(l,c)=>{let u=Qn("TraversedEntry",!0);return Ho(!0),Qo(Bs,null,Xn(e.entries,l=>(Ho(),Fo(B3t,{id:l.id,key:`${l.id}-${e.options.layout}`,expanded:!!e.expandedItems[l.id]},{default:sn(()=>[r(l)||n(l)?(Ho(),Fo(qa(H1t),{key:0,omit:0!==e.level},{default:sn(()=>[Fs(qa(u9t),{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,selectedExample:e.selectedExample,server:e.selectedServer},null,8,["id","authStore","clientOptions","document","eventBus","isCollapsed","isWebhook","method","options","path","pathValue","securitySchemes","selectedClient","selectedExample","server"])]),_:2},1032,["omit"])):a(l)||t(l)&&"classic"===e.options.layout?(Ho(),Fo(qa(D3t),{key:1,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],layout:e.options.layout,moreThanOneTag:e.entries.filter(a).length>1,nested:e.insideTagContainer,tag:l},{default:sn(()=>["children"in l&&l.children?.length?(Ho(),Fo(u,{key:0,authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:l.children,eventBus:e.eventBus,expandedItems:e.expandedItems,insideTagContainer:!0,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedExample","selectedServer"])):ai("",!0)]),_:2},1032,["eventBus","isCollapsed","layout","moreThanOneTag","nested","tag"])):t(l)?(Ho(),Qo("div",{key:2,id:l.id},[Fs(u,{authStore:e.authStore,clientOptions:e.clientOptions,document:e.document,entries:l.children||[],eventBus:e.eventBus,expandedItems:e.expandedItems,insideTagContainer:e.insideTagContainer,level:e.level+1,options:e.options,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedExample:e.selectedExample,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","insideTagContainer","level","options","securitySchemes","selectedClient","selectedExample","selectedServer"])],8,d9t)):o(l)&&e.document.components?.schemas?(Ho(),Fo(S3t,{key:3,id:l.id,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],layout:e.options.layout,modelsSectionLabel:e.options.modelsSectionLabel},{default:sn(()=>[Fs(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,selectedExample:e.selectedExample,selectedServer:e.selectedServer},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","level","options","securitySchemes","selectedClient","selectedExample","selectedServer"])]),_:2},1032,["id","eventBus","isCollapsed","layout","modelsSectionLabel"])):i(l)&&e.document.components?.schemas?.[l.name]?(Ho(),Fo(x3t,{key:4,id:l.id,document:e.document,eventBus:e.eventBus,isCollapsed:!e.expandedItems[l.id],name:l.name,options:e.options,schema:qa(q_)(e.document.components.schemas[l.name])},null,8,["id","document","eventBus","isCollapsed","name","options","schema"])):ai("",!0)]),_:2},1032,["id","expanded"]))),128)}}});Bc(),Lat();var h9t=["id"],m9t=Cn({__name:"RenderPluginView",props:{item:{},options:{},eventBus:{}},setup(e){let t=Mn("el");return P1t(t,()=>{e.item.sidebar?.show&&e.eventBus?.emit("intersecting:nav-item",{id:e.item.id})}),(a,r)=>(Ho(),Qo("div",{id:e.item.id,ref_key:"el",ref:t},[Fs(qa(gat),null,{default:sn(()=>[e.item.renderer?(Ho(),Fo(Fn(e.item.renderer),at(ii({key:0},{component:e.item.component,options:e.options,...e.item.props})),null,16)):(Ho(),Fo(Fn(e.item.component),at(ii({key:1},{options:e.options,...e.item.props})),null,16))]),_:1})],8,h9t))}});Bc();var f9t={key:0,class:"plugin-view"},g9t=Cn({__name:"RenderPlugins",props:{viewName:{},options:{},eventBus:{},documentSlug:{}},setup(e){let{getViewComponents:t}=b2t(),a=il(()=>t(e.viewName,e.documentSlug));return(t,r)=>a.value.length?(Ho(),Qo("div",f9t,[(Ho(!0),Qo(Bs,null,Xn(a.value,t=>(Ho(),Fo(m9t,{key:t.id,eventBus:e.eventBus,item:t,options:e.options},null,8,["eventBus","item","options"]))),128))])):ai("",!0)}});Bc();var v9t={class:"section-flare"};var b9t=q0t({},[["render",function(e,t){return Ho(),Qo("div",v9t,[...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"]]);Bc(),RYt(),Iat(),Lat(),eC(),RK(),aK();var y9t={class:"narrow-references-container"},w9t={key:3,class:"h-dvh"},x9t=Cn({__name:"Content",props:{infoSectionId:{},contextChain:{default:()=>[]},documentSlug:{},options:{},document:{},clientDocument:{},authStore:{},xScalarDefaultClient:{},xScalarDefaultExample:{},items:{},expandedItems:{},eventBus:{},environment:{},headingSlugGenerator:{type:Function}},setup(e){let t=il(()=>g6e(mYt(e.options.hiddenClients))),a=il(()=>((e,t)=>_5t(e,t).length>=2)(e.items,e.options.layout)),r=il(()=>e.contextChain.length>=2?e.contextChain:_5t(e.items,e.options.layout)),n=il(()=>v8t(o.value?.info?.["x-scalar-sdk-installation"])),o=il(()=>QX(e.document)?e.document:void 0),i=il(()=>QX(e.clientDocument)?e.clientDocument:void 0),s=il(()=>FX(e.document)?e.document:void 0),l=il(()=>FX(e.clientDocument)?e.clientDocument:void 0),c=il(()=>WX(e.document)),u=il(()=>FX(e.document)?e.document["x-original-aas-version"]??e.document.asyncapi:o.value?.["x-original-oas-version"]),d=il(()=>h2t(e.document)),p=il(()=>h2t(e.document?.info)),h=il(()=>vK(e.options?.servers??i.value?.servers,{baseServerUrl:e.options?.baseServerURL,documentUrl:e.clientDocument?.["x-scalar-original-source-url"]})),m=il(()=>bK(i.value??null,null,null,h.value)),f=il(()=>l.value?CPt(l.value,{webSocketOnly:!1}):[]),g=il(()=>((e,t)=>{if(!FX(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})(l.value??null,f.value)),v=il(()=>{let t=l.value??i.value;return EY((t?.components?q_(t.components):void 0)?.securitySchemes,e.options.authentication?.securitySchemes,e.authStore,t?.["x-scalar-navigation"]?.name??"",e.options.oauth2RedirectUri)}),b=il(()=>!(!e.document||!s.value&&e.options.hideTestRequestButton));return as(()=>{typeof window>"u"||window.setTimeout(()=>b4t(),400)}),(e=>{un(u2t,e)})("document"),(i,l)=>(Ho(),Qo(Bs,null,[Fs(qa(b9t)),Xo("div",y9t,[Kn(i.$slots,"start"),Fs(qa(g9t),{documentSlug:e.documentSlug,eventBus:e.eventBus,options:e.options,viewName:"content.start"},null,8,["documentSlug","eventBus","options"]),Fs(qa(d8t),{id:e.infoSectionId,documentDownloadType:e.options.documentDownloadType,documentExtensions:d.value,documentType:c.value,documentUrl:e.document?.["x-scalar-original-source-url"],eventBus:e.eventBus,externalDocs:o.value?.externalDocs,headingSlugGenerator:e.headingSlugGenerator,info:e.document?.info,infoExtensions:p.value,layout:e.options.layout,specificationVersion:u.value},{selectors:sn(()=>[Fs(qa(gat),null,{default:sn(()=>[h.value?.length?(Ho(),Fo(qa(h8t),{key:0,class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"},{default:sn(()=>[Fs(qa(j8t),{eventBus:e.eventBus,selectedServer:m.value,servers:h.value},null,8,["eventBus","selectedServer","servers"])]),_:1})):ai("",!0)]),_:1}),Fs(qa(gat),null,{default:sn(()=>[f.value.length?(Ho(),Fo(qa(h8t),{key:0,class:"scalar-reference-intro-server scalar-client introduction-card-item text-base leading-normal [--scalar-address-bar-height:0px]"},{default:sn(()=>[Fs(qa(l1t),{eventBus:e.eventBus,selectedServer:g.value,servers:f.value},null,8,["eventBus","selectedServer","servers"])]),_:1})):ai("",!0)]),_:1}),Fs(qa(gat),null,{default:sn(()=>[b.value?(Ho(),Fo(qa(h8t),{key:0,class:"scalar-reference-intro-auth scalar-client introduction-card-item leading-normal"},{default:sn(()=>[Fs(qa(A5t),{authStore:e.authStore,document:e.clientDocument,environment:e.environment,eventBus:e.eventBus,options:e.options,securitySchemes:v.value,selectedServer:m.value},null,8,["authStore","document","environment","eventBus","options","securitySchemes","selectedServer"])]),_:1})):ai("",!0)]),_:1}),Fs(qa(gat),null,{default:sn(()=>[n.value.length?(Ho(),Fo(qa(h8t),{key:0,class:"introduction-card-item scalar-reference-intro-clients"},{default:sn(()=>[Fs(qa(P8t),{class:"introduction-card-item scalar-reference-intro-clients",eventBus:e.eventBus,selectedClient:e.xScalarDefaultClient,xScalarSdkInstallation:n.value},null,8,["eventBus","selectedClient","xScalarSdkInstallation"])]),_:1})):t.value.length&&!s.value?(Ho(),Fo(qa(h8t),{key:1,class:"introduction-card-item scalar-reference-intro-clients"},{default:sn(()=>[Fs(qa(x1t),{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"]),a.value?(Ho(),Fo(qa(N5t),{key:0,chain:r.value,onNavigate:l[0]||=t=>e.eventBus.emit("scroll-to:nav-item",{id:t})},null,8,["chain"])):ai("",!0),e.items.length&&o.value?(Ho(),Fo(p9t,{key:1,authStore:e.authStore,clientOptions:t.value,document:o.value,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options,securitySchemes:v.value,selectedClient:e.xScalarDefaultClient,selectedExample:e.xScalarDefaultExample,selectedServer:m.value},null,8,["authStore","clientOptions","document","entries","eventBus","expandedItems","options","securitySchemes","selectedClient","selectedExample","selectedServer"])):e.items.length&&s.value?(Ho(),Fo(qa(S5t),{key:2,document:s.value,entries:e.items,eventBus:e.eventBus,expandedItems:e.expandedItems,options:e.options},null,8,["document","entries","eventBus","expandedItems","options"])):ai("",!0),Fs(qa(g9t),{documentSlug:e.documentSlug,eventBus:e.eventBus,options:e.options,viewName:"content.end"},null,8,["documentSlug","eventBus","options"]),Kn(i.$slots,"end"),qa(c4t)?ai("",!0):(Ho(),Qo("div",w9t))])],64))}});Bc(),lPt();var O9t={key:0,"aria-hidden":"true","data-scalar-crawler-nav":"",hidden:""},k9t=["href"],S9t=Cn({__name:"CrawlerNav",props:{items:{},basePath:{},isMultiDocument:{type:Boolean},options:{}},setup(e){let t=il(()=>{let t=[],a=r=>{for(let n of lxt("reference",r,e.options?.hideOperationDefaultExamples)){let r=X8t(n.id,e.basePath,e.isMultiDocument);r&&t.push({id:n.id,href:r,title:n.title}),"children"in n&&n.children&&a(n.children)}};return a(e.items),t});return(e,a)=>t.value.length>0?(Ho(),Qo("nav",O9t,[Xo("ul",null,[(Ho(!0),Qo(Bs,null,Xn(t.value,e=>(Ho(),Qo("li",{key:e.id},[Xo("a",{href:e.href},Yt(e.title),9,k9t)]))),128))])])):ai("",!0)}});Bc(),EQe(),Xk(),h_();var A9t={class:"flex h-(--scalar-header-height) w-full items-center border-b bg-inherit px-2"},T9t={key:1,class:"flex-1 text-sm font-medium whitespace-nowrap"},_9t={class:"flex h-6 items-center gap-1 pl-1"},C9t=Cn({__name:"MobileHeader",props:{breadcrumb:{},isSidebarOpen:{type:Boolean},showSidebar:{type:Boolean}},emits:["toggleSidebar"],setup(e,{emit:t}){let{translate:a}=wLt(),r=t,n=a_({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,o)=>(Ho(),Qo(Bs,null,[Kn(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]"}))),Xo("div",{class:tt(["t-doc__header",qa(n)({open:e.isSidebarOpen})])},[Xo("header",A9t,[e.showSidebar?(Ho(),Fo(qa(tQe),{key:0,icon:e.isSidebarOpen?qa(Ix):qa(wb),label:e.isSidebarOpen?qa(a)("navigation.closeMenu"):qa(a)("navigation.openMenu"),size:"md",onClick:o[0]||=e=>r("toggleSidebar")},null,8,["icon","label"])):ai("",!0),e.showSidebar?(Ho(),Qo("span",T9t,Yt(e.breadcrumb),1)):Kn(t.$slots,"search",{},void 0,void 0,2),Xo("div",_9t,[Kn(t.$slots,"actions")])]),e.isSidebarOpen?Kn(t.$slots,"sidebar",at(Ko({sidebarClasses:"overflow-y-auto custom-scrollbar min-h-0 flex-1 w-full border-none"})),void 0,void 0,0):ai("",!0)],2)],64))}});Bc(),Obt(),SQe(),Xk();var E9t={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"},P9t={class:"custom-scroll bg-b-1 flex flex-col gap-7 rounded-lg p-7 pb-6"},M9t={class:"text-c-2 flex items-center justify-center gap-1 p-2 text-sm"},N9t=Cn({__name:"ApiReferenceToolbarPopover",setup(e){let{translate:t}=wLt();return(e,a)=>(Ho(),Fo(qa(Uqe),{class:"max-h-[inherit] max-w-[inherit] p-0 text-base",placement:"bottom-end",teleport:""},{default:sn(({open:t})=>[Kn(e.$slots,"button",{open:t},()=>[Xo("button",E9t,[Kn(e.$slots,"label"),Fs(qa(Rm),{class:tt(["size-3",{"rotate-180":t}])},null,8,["class"])])])]),popover:sn(a=>[Xo("div",P9t,[Kn(e.$slots,"default",at(Ko(a)))]),Xo("div",M9t,[Fs(qa(nb),{class:"size-3.5 shrink-0"}),Xo("div",null,[Kn(e.$slots,"info",{},()=>[ei(Yt(qa(t)("developerTools.localhostOnly")),1)])])])]),backdrop:sn(()=>[Fs(qa(Qne),{class:"bg-b-2 rounded-lg"})]),_:3}))}});Bc(),EQe(),Xk(),ayt();var $9t={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"},I9t={class:"-m-2 flex flex-col gap-2 leading-relaxed"},R9t={class:"bg-b-2 inline-flex items-center gap-0.5 rounded border px-1 py-0.5 text-sm"},D9t='showDeveloperTools: "never"',L9t=Cn({__name:"ApiReferenceToolbarTitle",setup(e){let{copyToClipboard:t}=zbt(),{translate:a}=wLt();return(e,r)=>(Ho(),Fo(N9t,{class:"w-120",placement:"bottom-start"},{button:sn(()=>[Xo("button",$9t,[Fs(qa(nb)),ei(" "+Yt(qa(a)("developerTools.title")),1)])]),info:sn(()=>[ei(Yt(qa(a)("developerTools.localhostOnly")),1)]),default:sn(()=>[Xo("div",I9t,[Xo("div",null,Yt(qa(a)("developerTools.intro")),1),Xo("div",null,[ei(Yt(qa(a)("developerTools.disableToolbarBefore"))+" ",1),Xo("div",R9t,[Xo("code",{class:"font-code"},Yt(D9t)),Fs(qa(tQe),{class:"-m-1 p-1.25",icon:qa(Pf),label:qa(a)("actions.copyToClipboard"),size:"sm",onClick:r[0]||=e=>qa(t)(D9t)},null,8,["icon","label"])]),ei(" "+Yt(qa(a)("developerTools.disableToolbarAfter")),1)])])]),_:1}))}});h_(),Bc();var B9t={key:0,class:"flex items-start justify-between gap-2 text-sm/none text-c-1 whitespace-nowrap font-medium"},j9t=Cn({inheritAttrs:!1,__name:"ScalarFormField",props:{is:{default:"label"}},setup(e){let{cx:t}=c_();return(a,r)=>(Ho(),Fo(Fn(e.is),at(Ko(qa(t)("flex flex-col gap-1.5 rounded"))),{default:sn(()=>[a.$slots.label?(Ho(),Qo("div",B9t,[Kn(a.$slots,"label")])):ai("",!0),Kn(a.$slots,"default"),a.$slots.below?(Ho(),Qo("span",{key:1,class:tt(qa(t)("-mt-1.5 text-sm"))},[Kn(a.$slots,"below")],2)):ai("",!0)]),_:3},16))}});nJe(),h_(),Bc();var U9t=Cn({inheritAttrs:!1,__name:"ScalarFormInputGroup",props:{is:{default:"div"}},setup(e){let{cx:t}=c_();return fKe(),(a,r)=>(Ho(),Fo(Fn(e.is),at(Ko(qa(t)("flex flex-col border rounded divide-y"))),{default:sn(()=>[Kn(a.$slots,"default")]),_:3},16))}});zK(),Bc();var z9t={class:"flex min-w-0 flex-col gap-3"},H9t={class:"contents"},Z9t={class:"text-base font-medium text-c-1"};var V9t=MK({},[["render",function(e,t,a,r,n,o){return Ho(),Qo("fieldset",z9t,[Xo("legend",H9t,[Xo("span",Z9t,[Kn(e.$slots,"label")])]),Kn(e.$slots,"default")])}]]);Bc();var q9t={class:"text-c-3 [&_code]:font-code [&_a:hover]:text-c-1 text-center leading-normal [&_a]:underline"};var Q9t=q0t({},[["render",function(e,t){return Ho(),Qo("p",q9t,[Kn(e.$slots,"default")])}]]);Bc(),mae(),Vot(),zot();var F9t=Cn({__name:"ApiReferenceToolbarRegisterButton",props:oo({workspace:{},externalUrls:{},sdks:{default:()=>[]}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){let t=xo(e,"url"),{toast:a}=Bot(),r=Hot(),{translate:n}=wLt();function o(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 i(){if(r.isLoading||!e.workspace)return;if(t.value)return void o(t.value);r.start();let i=e.workspace.exportActiveDocument("json");if(!i)return a(n("developerTools.unableToExportDocument"),"error"),void await r.invalidate();try{t.value=await F0t(i,e.externalUrls),await r.validate(),o(t.value),await Kr(),await r.clear()}catch(e){let t=e instanceof Error?e.message:n("developerTools.unknownError");a(t,"error"),await r.invalidate()}}return(e,t)=>(Ho(),Fo(qa(sae),{class:"h-auto p-2.5",loader:qa(r),onClick:i},{default:sn(()=>[Kn(e.$slots,"default",{},()=>[ei(Yt(qa(n)("developerTools.generate")),1)])]),_:3},8,["loader"]))}});Bc(),Xk();var W9t={class:"text-c-2 mb-2 grid grid-cols-2 gap-2.5 font-medium"},G9t=Cn({__name:"ApiReferenceToolbarShareRegister",props:{workspace:{},externalUrls:{}},setup(e){let{translate:t}=wLt(),a=[{icon:Cb,labelKey:"developerTools.passwordProtection"},{icon:Iv,labelKey:"developerTools.customDomains"},{icon:dm,labelKey:"developerTools.freeFormContent"},{icon:Of,labelKey:"developerTools.cdnInfrastructure"},{icon:uv,labelKey:"developerTools.pullFromGitHub"},{icon:Sg,labelKey:"developerTools.markdownMdx"},{icon:bx,labelKey:"developerTools.spectralLinting"},{icon:_m,labelKey:"developerTools.jsonSchemaHosting"},{icon:ew,labelKey:"developerTools.askAi"},{icon:Py,labelKey:"developerTools.mcpServers"}];return(r,n)=>(Ho(),Qo(Bs,null,[Xo("ul",W9t,[(Ho(),Qo(Bs,null,Xn(a,e=>Xo("li",{key:e.labelKey,class:"flex items-center gap-2"},[(Ho(),Fo(Fn(e.icon),{class:"text-c-3 size-3.5",weight:"bold"})),ei(" "+Yt(qa(t)(e.labelKey)),1)])),64))]),Fs(F9t,{externalUrls:e.externalUrls,workspace:e.workspace},{default:sn(()=>[ei(Yt(qa(t)("developerTools.deployOnScalar")),1)]),_:1},8,["externalUrls","workspace"]),Fs(Q9t,null,{default:sn(()=>[ei(Yt(qa(t)("developerTools.deployFree"))+" ",1),n[0]||=Xo("br",null,null,-1),ei(" "+Yt(qa(t)("developerTools.additionalFeaturesMightRequire"))+" ",1),n[1]||=Xo("span",null,[Xo("a",{href:"https://scalar.com/products/docs/getting-started",rel:"noopener noreferrer",target:"_blank"}," Scalar Pro. ")],-1)]),_:1})],64))}});Bc();var X9t={class:"text-c-2 mb-2 leading-normal"},Y9t=Cn({__name:"DeployApiReference",props:{workspace:{},externalUrls:{}},setup(e){let{translate:t}=wLt();return(a,r)=>(Ho(),Fo(N9t,{class:"w-120"},{label:sn(()=>[ei(Yt(qa(t)("developerTools.deploy")),1)]),default:sn(()=>[Fs(qa(V9t),null,{label:sn(()=>[ei(Yt(qa(t)("developerTools.scalarDocs")),1)]),default:sn(()=>[Xo("p",X9t,Yt(qa(t)("developerTools.deployDescription")),1),Fs(G9t,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])]),_:1})]),_:1}))}});Bc(),Xk();var K9t=Cn({__name:"ScalarCheckbox",props:{selected:{type:Boolean},indeterminate:{type:Boolean,default:!1},type:{default:"checkbox"}},setup(e){let t=e;return(e,a)=>(Ho(),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?(Ho(),Fo(qa(mf),{key:0,class:"size-3",weight:"bold"})):t.indeterminate&&"checkbox"===t.type?(Ho(),Fo(qa(Kb),{key:1,"aria-hidden":"true",class:"size-3",weight:"bold"})):ai("",!0)],2))}});iJe(),h_(),Bc();var J9t={class:"flex-1 text-left min-w-0 truncate"},eea=["type"],tea=Cn({inheritAttrs:!1,__name:"ScalarCheckboxInput",props:oo({type:{default:"checkbox"},indeterminate:{type:Boolean,default:!1}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=e,a=xo(e,"modelValue"),{stylingAttrsCx:r,otherAttrs:n}=c_();return(e,o)=>(Ho(),Fo(qa(vKe),ii({is:"label"},qa(r)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":a.value})),{default:sn(()=>[Fs(K9t,{class:"shrink-0",indeterminate:t.indeterminate&&"checkbox"===t.type,selected:a.value,type:t.type},null,8,["indeterminate","selected","type"]),Xo("div",J9t,[Kn(e.$slots,"default")]),ln(Xo("input",ii({ref:"inputEl","onUpdate:modelValue":o[0]||=e=>a.value=e,class:"sr-only",type:t.type},qa(n)),null,16,eea),[[Ac,a.value]])]),_:3},16))}});Bc();var aea=Cn({__name:"ScalarCheckboxRadioGroup",props:oo({options:{default:()=>[]}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=xo(e,"modelValue"),a=En();return(r,n)=>(Ho(),Fo(qa(U9t),null,{default:sn(()=>[(Ho(!0),Qo(Bs,null,Xn(e.options,e=>(Ho(),Fo(tea,{key:e.value,modelValue:t.value?.value===e.value,name:qa(a),type:"radio",value:e.value,"onUpdate:modelValue":a=>t.value=a?e:void 0},{default:sn(()=>[ei(Yt(e.label),1)]),_:2},1032,["modelValue","name","value","onUpdate:modelValue"]))),128))]),_:1}))}});Bc();var rea=Cn({__name:"ApiReferenceToolbarConfigLayout",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=xo(e,"modelValue"),{translate:a}=wLt(),r=il(()=>[{label:a("developerTools.layoutModern"),value:"modern"},{label:a("developerTools.layoutClassic"),value:"classic"}]),n=il({get:()=>r.value.find(e=>e.value===t.value)??r.value[0],set:e=>t.value=e.value});return(e,t)=>(Ho(),Fo(qa(aea),{modelValue:n.value,"onUpdate:modelValue":t[0]||=e=>n.value=e,options:r.value},null,8,["modelValue","options"]))}});h_(),Bc();var nea=["aria-disabled"],oea={key:0,class:"sr-only"},iea=Cn({inheritAttrs:!1,__name:"ScalarToggleSlider",props:{thumb:{default:"start"},disabled:{type:Boolean},label:{}},setup(e){let t=a_({base:"relative h-3.5 min-w-6 w-6 cursor-pointer rounded-full bg-b-3 transition-colors duration-300",variants:{disabled:{true:"cursor-not-allowed opacity-40"}}}),{cx:a}=c_();return(r,n)=>(Ho(),Qo("button",ii({"aria-disabled":e.disabled,type:"button"},qa(a)(qa(t)({disabled:e.disabled}))),[Xo("div",{class:tt(["absolute left-px top-px flex h-3 w-3 items-center justify-center rounded-full bg-b-1 transition-transform duration-300",{"translate-x-1.25":"center"===e.thumb,"translate-x-2.5":"end"===e.thumb}])},null,2),e.label?(Ho(),Qo("span",oea,Yt(e.label),1)):ai("",!0)],16,nea))}});Bc();var sea=Cn({__name:"ScalarToggle",props:oo({disabled:{type:Boolean},label:{}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=e,a=xo(e,"modelValue");function r(){t.disabled||(a.value=!a.value)}return(t,n)=>(Ho(),Fo(iea,{"aria-checked":a.value,class:tt(a.value?"bg-c-accent":""),disabled:e.disabled,label:e.label,role:"switch",thumb:a.value?"end":"start",onClick:r},null,8,["aria-checked","class","disabled","label","thumb"]))}});iJe(),h_(),Bc();var lea={class:"flex-1 text-left min-w-0 truncate"},cea=Cn({inheritAttrs:!1,__name:"ScalarToggleInput",props:{modelValue:{type:Boolean},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=xo(e,"modelValue"),{stylingAttrsCx:a,otherAttrs:r}=c_();return(e,n)=>(Ho(),Fo(qa(vKe),ii({is:"label"},qa(a)("cursor-pointer gap-2 hover:bg-b-2",{"text-c-1":t.value})),{default:sn(()=>[Xo("div",lea,[Kn(e.$slots,"default")]),Fs(sea,ii({modelValue:t.value,"onUpdate:modelValue":n[0]||=e=>t.value=e,class:"shrink-0"},qa(r)),null,16,["modelValue"])]),_:3},16))}});Bc(),W();var uea=Cn({__name:"ApiReferenceToolbarConfigLayoutOptions",props:oo({configuration:{}},{modelValue:{default:()=>({})},modelModifiers:{}}),emits:["update:modelValue"],setup(e){let t=xo(e,"modelValue"),{translate:a}=wLt();function r(a,r=!1){return t.value[a]??e.configuration?.[a]??r}function n(e,a,r=!1){t.value=a===r?Object.fromEntries(Object.entries(t.value).filter(([t])=>e!==t)):{...t.value,[e]:a}}let o=il(()=>e.configuration?.modelsSectionLabel??"Models"),i=il(()=>a("developerTools.expandAll",{label:o.value})),s=il(()=>a("developerTools.hideModels",{label:o.value}));return(e,t)=>(Ho(),Fo(qa(U9t),null,{default:sn(()=>[Fs(qa(cea),{modelValue:r("showSidebar",!0),"onUpdate:modelValue":t[0]||=e=>n("showSidebar",!!e,!0)},{default:sn(()=>[ei(Yt(qa(a)("developerTools.showSidebar")),1)]),_:1},8,["modelValue"]),Fs(qa(cea),{modelValue:r("defaultOpenFirstTag",!0),"onUpdate:modelValue":t[1]||=e=>n("defaultOpenFirstTag",!!e,!0)},{default:sn(()=>[ei(Yt(qa(a)("developerTools.defaultOpenFirstTag")),1)]),_:1},8,["modelValue"]),Fs(qa(cea),{modelValue:r("defaultOpenAllTags"),"onUpdate:modelValue":t[2]||=e=>n("defaultOpenAllTags",!!e)},{default:sn(()=>[ei(Yt(qa(a)("developerTools.defaultOpenAllTags")),1)]),_:1},8,["modelValue"]),Fs(qa(cea),{modelValue:r("expandAllModelSections"),"onUpdate:modelValue":t[3]||=e=>n("expandAllModelSections",!!e)},{default:sn(()=>[ei(Yt(i.value),1)]),_:1},8,["modelValue"]),Fs(qa(cea),{modelValue:r("expandAllResponses"),"onUpdate:modelValue":t[4]||=e=>n("expandAllResponses",!!e)},{default:sn(()=>[ei(Yt(qa(a)("developerTools.expandAllResponses")),1)]),_:1},8,["modelValue"]),Fs(qa(cea),{modelValue:r("hideClientButton"),"onUpdate:modelValue":t[5]||=e=>n("hideClientButton",!!e)},{default:sn(()=>[ei(Yt(qa(a)("developerTools.hideClientButton")),1)]),_:1},8,["modelValue"]),Fs(qa(cea),{modelValue:r("hideDarkModeToggle"),"onUpdate:modelValue":t[6]||=e=>n("hideDarkModeToggle",!!e)},{default:sn(()=>[ei(Yt(qa(a)("developerTools.hideDarkModeToggle")),1)]),_:1},8,["modelValue"]),Fs(qa(cea),{modelValue:r("hideModels"),"onUpdate:modelValue":t[7]||=e=>n("hideModels",!!e)},{default:sn(()=>[ei(Yt(s.value),1)]),_:1},8,["modelValue"]),Fs(qa(cea),{modelValue:r("hideSearch"),"onUpdate:modelValue":t[8]||=e=>n("hideSearch",!!e)},{default:sn(()=>[ei(Yt(qa(a)("developerTools.hideSearch")),1)]),_:1},8,["modelValue"]),Fs(qa(cea),{modelValue:r("showOperationId"),"onUpdate:modelValue":t[9]||=e=>n("showOperationId",!!e)},{default:sn(()=>[ei(Yt(qa(a)("developerTools.showOperationId")),1)]),_:1},8,["modelValue"]),Fs(qa(cea),{modelValue:r("hideTestRequestButton"),"onUpdate:modelValue":t[10]||=e=>n("hideTestRequestButton",!!e)},{default:sn(()=>[ei(Yt(qa(a)("developerTools.hideTestRequestButton")),1)]),_:1},8,["modelValue"])]),_:1}))}});Bc();var dea=["--scalar-color-1","--scalar-color-2","--scalar-color-3","--scalar-background-1","--scalar-background-2","--scalar-background-3","--scalar-color-accent"];function pea(e,t){let a=[...t.matchAll(RegExp(`(${e}): ([^;]+);`,"gm"))];return 0===a.length?{}:Object.fromEntries(a.map(e=>[e[1],e[2]]))}function hea(e){return e?{...pea("--scalar-color-[1-3]",e),...pea("--scalar-background-[1-3]",e),...pea("--scalar-color-accent",e)}:{}}h_(),Bc();var mea=Cn({inheritAttrs:!1,__name:"ScalarThemeSwatches",props:{css:{}},setup(e){let{colors:t}=function(e){return{colors:il(()=>({light:hea(Qa(e).match(/\.light-mode[^{]*{[^}]*}/m)?.[0]),dark:hea(Qa(e).match(/\.dark-mode[^{]*{[^}]*}/m)?.[0])}))}}(()=>e.css),{cx:a}=c_();return(e,r)=>(Ho(),Qo("div",ii({style:{"--bg-light":qa(t).light["--scalar-background-1"],"--bg-dark":qa(t).dark["--scalar-background-1"]}},qa(a)("flex *:size-3 overflow-hidden rounded","bg-(--bg-light) dark:bg-(--bg-dark)")),[(Ho(!0),Qo(Bs,null,Xn(qa(dea),e=>(Ho(),Qo("div",{key:e,class:"bg-(--bg-light) dark:bg-(--bg-dark)",style:Je({"--bg-light":qa(t).light[e],"--bg-dark":qa(t).dark[e]})},null,4))),128))],16))}});Bc(),moe(),iJe(),sJe(),Xk();var fea={class:"min-w-0 flex-1 truncate text-left"},gea={class:"text-c-1 inline-block min-w-0 flex-1 truncate"},vea=Cn({__name:"ApiReferenceToolbarConfigTheme",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){let t=xo(e,"modelValue"),a=il(()=>cPt.filter(e=>"none"!==e).map(e=>({id:e,label:uPt[e],css:dPt[e].theme}))),r=il({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)=>(Ho(),Fo(qa(Xne),{modelValue:r.value,"onUpdate:modelValue":t[0]||=e=>r.value=e,options:a.value,resize:""},{default:sn(({open:e})=>[Fs(qa(vKe),null,{default:sn(()=>[Xo("div",fea,Yt(r.value.label),1),Fs(qa(mea),{class:"mr-2",css:r.value.css},null,8,["css"]),Fs(qa(Rm),{class:tt(["size-3.5 transition-transform",{"rotate-180":e}])},null,8,["class"])]),_:2},1024)]),option:sn(({selected:e,option:t})=>[Fs(qa(bae),{selected:e},null,8,["selected"]),Xo("span",gea,Yt(t.label),1),Fs(qa(mea),{css:t.css},null,8,["css"])]),_:1},8,["modelValue","options"]))}});Bc(),W5e(),q5e();var bea={class:"flex flex-col gap-4"},yea=Cn({__name:"ModifyConfiguration",props:oo({configuration:{}},{overrides:{},overridesModifiers:{}}),emits:["update:overrides"],setup(e){let t=xo(e,"overrides"),{translate:a}=wLt(),r=il(()=>b5e({...t.value,...e.configuration,...t.value})),n=il({get:()=>t.value?.theme??e.configuration?.theme??"default",set:e=>t.value={...t.value,theme:e}}),o=il({get:()=>t.value?.layout??e.configuration?.layout??"modern",set:e=>t.value={...t.value,layout:e}});return(i,s)=>(Ho(),Fo(N9t,{class:"w-120"},{label:sn(()=>[ei(Yt(qa(a)("developerTools.configure")),1)]),default:sn(()=>[Fs(qa(V9t),null,{label:sn(()=>[ei(Yt(qa(a)("developerTools.scalarConfiguration")),1)]),default:sn(()=>[Fs(qa(S5e),{class:"bg-b-1.5 flex max-h-40 flex-col rounded border text-sm",content:r.value,lang:"json"},null,8,["content"])]),_:1}),Xo("div",bea,[Fs(qa(j9t),null,{label:sn(()=>[ei(Yt(qa(a)("developerTools.theme")),1)]),default:sn(()=>[Fs(vea,{modelValue:n.value,"onUpdate:modelValue":s[0]||=e=>n.value=e},null,8,["modelValue"])]),_:1}),Fs(qa(j9t),null,{label:sn(()=>[ei(Yt(qa(a)("developerTools.layout")),1)]),default:sn(()=>[Fs(rea,{modelValue:o.value,"onUpdate:modelValue":s[1]||=e=>o.value=e},null,8,["modelValue"])]),_:1}),Fs(qa(j9t),{is:"div"},{label:sn(()=>[ei(Yt(qa(a)("developerTools.layoutOptions")),1)]),default:sn(()=>[Fs(uea,{modelValue:t.value,"onUpdate:modelValue":s[2]||=e=>t.value=e,configuration:e.configuration},null,8,["modelValue","configuration"])]),_:1})])]),_:1}))}});Bc(),mae(),Vot(),RGt(),zot();var wea=Cn({__name:"ApiReferenceToolbarShareTemporary",props:oo({workspace:{},externalUrls:{}},{url:{},urlModifiers:{}}),emits:["update:url"],setup(e){let{toast:t}=Bot(),a=Hot(),{translate:r}=wLt(),n=xo(e,"url");async function o(){if(a.isLoading||!e.workspace||n.value)return;a.start();let o=e.workspace.exportActiveDocument("json");if(!o)return t(r("developerTools.unableToExportDocument"),"error"),void await a.invalidate();try{let t=await F0t(o,e.externalUrls);await a.validate({duration:900,persist:!0}),n.value=t}catch(e){let n=e instanceof Error?e.message:r("developerTools.unknownError");t(n,"error"),await a.invalidate()}}return(t,i)=>(Ho(),Qo(Bs,null,[n.value?(Ho(),Fo(qa(pGt),{key:0,immediate:"",modelValue:n.value,name:"temporary-link",placeholder:`${e.externalUrls.registryUrl}/share/apis/…`},null,8,["modelValue","placeholder"])):(Ho(),Fo(qa(sae),{key:1,class:"h-auto p-2.5",loader:qa(a),variant:"gradient",onClick:o},{default:sn(()=>[ei(Yt(qa(r)("developerTools.uploadDocument")),1)]),_:1},8,["loader"])),Fs(Q9t,{class:"-mt-1"},{default:sn(()=>[ei(Yt(qa(r)("developerTools.temporaryLinkExpiration")),1)]),_:1})],64))}});Bc();var xea={class:"text-c-2 mb-2 leading-normal"},Oea=Cn({__name:"ShareApiReference",props:{workspace:{},externalUrls:{}},setup(e){let{translate:t}=wLt();return(a,r)=>(Ho(),Fo(N9t,{class:"w-120"},{label:sn(()=>[ei(Yt(qa(t)("developerTools.share")),1)]),default:sn(()=>[Fs(qa(V9t),null,{label:sn(()=>[ei(Yt(qa(t)("developerTools.shareTitle")),1)]),default:sn(()=>[Xo("p",xea,Yt(qa(t)("developerTools.shareDescription")),1),Fs(wea,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])]),_:1})]),_:1}))}});Bc(),PY();var kea=["aria-label"],Sea={class:"-mx-2 flex max-w-(--refs-content-max-width) flex-1 items-center"},Aea={class:"flex flex-1 items-center"},Tea=Cn({__name:"DeveloperTools",props:oo({workspace:{},configuration:{},externalUrls:{}},{overrides:{},overridesModifiers:{}}),emits:["update:overrides"],setup(e){let t=xo(e,"overrides"),{translate:a}=wLt(),r=il(()=>"always"===e.configuration?.showDeveloperTools||!("never"===e.configuration?.showDeveloperTools||typeof window>"u")&&AF(window.location.href));return(n,o)=>r.value?(Ho(),Qo("header",{key:0,"aria-label":qa(a)("developerTools.title"),class:"api-reference-toolbar bg-b-1 relative z-1 flex h-10 justify-center border-b px-15"},[Xo("div",Sea,[Xo("div",Aea,[Fs(L9t)]),Fs(yea,{overrides:t.value,"onUpdate:overrides":o[0]||=e=>t.value=e,configuration:e.configuration},null,8,["overrides","configuration"]),e.workspace?(Ho(),Qo(Bs,{key:0},[Fs(Oea,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"]),Fs(Y9t,{externalUrls:e.externalUrls,workspace:e.workspace},null,8,["externalUrls","workspace"])],64)):ai("",!0)])],8,kea)):ai("",!0)}});Bc(),sJe(),Xk();var _ea={key:0,class:"document-selector px-3 pt-3"},Cea={class:"group/dropdown-label text-c-2 hover:text-c-1 flex w-full cursor-pointer items-center gap-1 font-medium",type:"button"},Eea={class:"overflow-hidden text-base text-ellipsis"},Pea=Cn({__name:"DocumentSelector",props:{options:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){let a=e,r=t,n=il(()=>a.options.map(e=>({id:e.id,label:e.label}))),o=il(()=>n.value.find(e=>e.id===a.modelValue));return(t,a)=>e.options.length>1?(Ho(),Qo("div",_ea,[Fs(qa(pKe),{modelValue:o.value,options:n.value,resize:"","onUpdate:modelValue":a[0]||=e=>r("update:modelValue",e.id)},{default:sn(({open:e})=>[Xo("button",Cea,[Xo("span",Eea,Yt(o.value?.label||"Select API"),1),Fs(qa(Rm),{class:tt(["size-3 text-current transition-transform",{"rotate-180":e}]),weight:"bold"},null,8,["class"])])]),_:1},8,["modelValue","options"])])):ai("",!0)}});Xte(),h_(),Bc();var Mea=["aria-selected"],Nea={key:0,class:"flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1"},$ea={class:"flex min-w-0 flex-1 flex-col gap-0.5"},Iea={class:"flex items-center gap-1"},Rea={class:"flex-1 truncate zoomed:whitespace-normal! wrap-break-word font-medium"},Dea={key:0,class:"text-base text-c-2"},Lea={key:0,class:"truncate zoomed:whitespace-normal! wrap-break-word text-c-2"},Bea=Cn({inheritAttrs:!1,__name:"ScalarSearchResultItem",props:{icon:{type:[Object,Function]},selected:{type:Boolean}},setup(e){let{cx:t}=c_();return(a,r)=>(Ho(),Qo("a",ii({"aria-selected":e.selected,role:"option",tabindex:"-1"},qa(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?(Ho(),Qo("div",Nea,[Kn(a.$slots,"icon",{},()=>[e.icon?(Ho(),Fo(qa(Bte),{key:0,class:"size-4",icon:e.icon},null,8,["icon"])):ai("",!0)]),r[0]||=Xo("span",null," ",-1)])):ai("",!0),Xo("div",$ea,[Xo("div",Iea,[Xo("div",Rea,[Kn(a.$slots,"default")]),a.$slots.addon?(Ho(),Qo("div",Dea,[Kn(a.$slots,"addon")])):ai("",!0)]),a.$slots.description?(Ho(),Qo("div",Lea,[Kn(a.$slots,"description")])):ai("",!0)])],16,Mea))}});h_(),Bc();var jea=Cn({inheritAttrs:!1,__name:"ScalarSearchResultList",props:{noResults:{type:Boolean}},setup(e){let{cx:t}=c_();return(a,r)=>(Ho(),Qo("div",ii({role:"listbox"},qa(t)("flex flex-col")),[e.noResults?Kn(a.$slots,"noResults",{},()=>[r[0]||=Xo("div",{class:"flex flex-col items-center gap-2 px-3 py-4"},[Xo("div",{class:"text-base font-medium text-c-2",role:"alert"}," No results found ")],-1)],void 0,0):ai("",!0),Kn(a.$slots,"default")],16))}});ole();var Uea=e=>"text"===e.type&&"string"==typeof e.id&&e.id.endsWith("/description/introduction");eC(),dF();function zea(e){return"object"==typeof e&&e&&"$ref"in e?(e=>"object"==typeof e&&!!e)(e["$ref-value"])?e["$ref-value"]:void 0:e}function Hea(e,t){t&&(e.includes(t)||e.push(t))}function Zea(e,t,a=0){!e||t.visited.has(e)||(t.visited.add(e),[...e.oneOf??[],...e.anyOf??[],...e.allOf??[]].forEach(e=>{Zea(zea(e),t,a)}),ZV(e)&&e.properties&&Object.entries(e.properties).forEach(([e,r])=>{let n=zea(r);t.visit(e,n),a+1<t.maxPropertyDepth&&Zea(n,t,a+1)}))}function Vea(e,t){let a=q_(e?.requestBody)?.content;if(!a)return;let r=new Set;Object.values(a).forEach(e=>{Zea(q_(q_(e)?.schema),{visit:t,visited:r,maxPropertyDepth:2})})}function qea(e){if("string"==typeof e)return e;try{return JSON.stringify(e)}catch{return""}}function Qea(e){return e?Object.values(e).flatMap(e=>{let t=q_(e);return t?.content?Object.values(t.content).flatMap(e=>{let t=q_(e);return t?function(e){let t=Object.values(e.examples??{}).flatMap(e=>{let t=q_(e);return t&&"value"in t?qea(t.value):[]}).filter(e=>e.length>0),a="example"in e&&void 0!==e.example?qea(e.example):"";return a?[a,...t]:t}(t):[]}):[]}).filter(e=>e.length>0):[]}W(),oK(),eC(),RK(),aK();var Fea={heading:"Heading",tagGroup:"Tag Group",webhook:"Webhook",webhooks:"Webhooks",introduction:"Introduction"};function Wea(e,t){let a=[],r=t?.modelsSectionLabel??"Models",n=t?.labels??Fea;return function t(o){o.forEach(o=>{(function(e,t,a,r,n){let o=QX(a)?a:void 0;if("operation"===e.type){let a=JX(o?.paths?.[e.path]),r=q_(eY(o?.paths?.[e.path],e.method))??{},n={...r,parameters:iY(a?.parameters,r.parameters)},i=function(e){let t=[];return e.forEach(e=>{let a=q_(e);Hea(t,a?.name)}),t}(n.parameters??[]),s=function(e){let t=[];return e.forEach(e=>{let a=q_(e);Hea(t,a?.description)}),t}(n.parameters??[]),l=function(e){let t=[];return Vea(e,e=>{Hea(t,e)}),t}(n),c=function(e){let t=[];return Vea(e,(e,a)=>{a&&"description"in a&&"string"==typeof a.description&&Hea(t,a.description)}),t}(n),u=Qea(n.responses);return void t.push({type:"operation",title:e.title,id:e.id,description:n.description||"",method:e.method,path:e.path,body:l,bodyDescriptions:c,parameters:i,parameterDescriptions:s,responseExamples:u,operationId:n.operationId,entry:e})}if("webhook"===e.type){let a=q_(eY(o?.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 QX(e)?q_(e.components?.schemas?.[t]):FX(e)?U3t(e,t):void 0}(a,e.name),o=n?.description??"",i=function(e){let t=[];return Zea(e,{visit:e=>Hea(t,e),visited:new Set,maxPropertyDepth:2}),t}(n),s=function(e){let t=[];return Zea(e,{visit:(e,a)=>{a&&"description"in a&&"string"==typeof a.description&&Hea(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:r,description:n.heading,body:"",entry:e});if("tag"===e.type&&!0===e.isWebhooks)return void t.push({id:e.id,type:"heading",title:n.webhooks,description:n.heading,body:"",entry:e});if("tag"===e.type&&!0!==e.isTagGroup)return void t.push({id:e.id,title:e.title,description:e.description||"",type:"tag",body:"",entry:e});if("tag"===e.type&&!0===e.isTagGroup)return void t.push({id:e.id,title:e.title,description:n.tagGroup,type:"tag",body:"",entry:e});if("text"===e.type)t.push({id:e.id,type:"heading",title:Uea(e)?n.introduction:e.title??"",description:n.heading,body:"",entry:e})})(o,a,e,r,n),"children"in o&&o.children&&t(o.children)})}(e?.["x-scalar-navigation"]?.children??[]),a}W(),Bc();function Gea(e,a=t,r={heading:"Heading",tagGroup:"Tag Group",webhook:"Webhook",webhooks:"Webhooks",introduction:"Introduction"}){let n=il(()=>Wea(Qa(e),{labels:Qa(r),modelsSectionLabel:Qa(a)??"Models"})),o=il(()=>{let e=new Gse([],{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(n.value),e}),i=Ha("");return{results:il(()=>0===i.value.length?n.value.slice(0,25).map((e,t)=>({item:e,refIndex:t})):o.value.search(i.value,{limit:25})),query:i}}Bc(),Xk(),lPt(),W();var Xea={class:"sr-only"},Yea={class:"inline-flex items-center gap-1"},Kea={class:"sr-only"},Jea={class:"sr-only"},eta={class:"sr-only"},tta=Cn({__name:"SearchResult",props:{id:{},isSelected:{type:Boolean},result:{},modelsSectionLabel:{default:()=>t}},setup(e){let{translate:t}=wLt(),a={heading:Nw,model:_m,operation:Sw,tag:gw,webhook:Tx},r=il(()=>({heading:t("search.entryHeading"),operation:t("search.entryOperation"),tag:t("search.entryTag"),model:e.modelsSectionLabel,webhook:t("search.entryWebhook")}));return(n,o)=>(Ho(),Fo(qa(Bea),{id:e.id,icon:a[e.result.item.type],selected:e.isSelected},Yn({default:sn(()=>[Xo("span",{class:tt({"text-decoration-line":"operation"===e.result.item.entry.type&&e.result.item.entry.isDeprecated})},[Xo("span",Xea,[ei(Yt(r.value[e.result.item.type])+":  ",1),"operation"===e.result.item.entry.type&&e.result.item.entry.isDeprecated?(Ho(),Qo(Bs,{key:0},[ei(" ("+Yt(qa(t)("common.deprecated"))+")  ",1)],64)):ai("",!0)]),ei(" "+Yt(e.result.item.title)+" ",1),o[0]||=Xo("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:sn(()=>[Xo("span",Yea,["operation"===e.result.item.type?(Ho(),Qo(Bs,{key:0},[Fs(qa(ixt),{"aria-hidden":"true",method:e.result.item.method??"get"},null,8,["method"]),Xo("span",Kea,Yt(qa(t)("common.httpMethod"))+": "+Yt(e.result.item.method??"get"),1)],64)):ai("",!0),Xo("span",Jea,Yt(qa(t)("common.path"))+": ",1),ei(" "+Yt(e.result.item.path),1)])]),key:"0"}:e.result.item.description?{name:"description",fn:sn(()=>[Xo("span",eta,Yt(qa(t)("common.description"))+": ",1),ei(" "+Yt(e.result.item.description),1)]),key:"1"}:void 0]),1032,["id","icon","selected"]))}});Bc(),Snt(),Fnt();var ata={class:"mb-0 flex flex-col",role:"search"},rta={"aria-hidden":"true",class:"contents"},nta={class:"sr-only"},ota=q0t(Cn({__name:"SearchModal",props:{modalState:{},document:{},eventBus:{},modelsSectionLabel:{}},setup(e){let t=e,{translate:a}=wLt(),r=En(),n=`${r}-search-result`,o=`${r}-search-instructions`,{query:i,results:s}=Gea(()=>t.document,()=>t.modelsSectionLabel,()=>({heading:a("search.entryHeading"),tagGroup:a("search.entryTagGroup"),webhook:a("search.entryWebhook"),webhooks:a("navigation.webhooks"),introduction:a("navigation.introduction")})),l=Ha(void 0);hn(()=>t.modalState.open,e=>{e&&(i.value="")});let c=e=>{let t="up"===e?-1:1,a=s.value.length;"number"==typeof l.value?l.value=(l.value+t+a)%a:l.value=-1===t?a-1:0};function u(e){if("number"!=typeof e||!s.value[e])return;let a=s.value[e];t.modalState.hide(),t.eventBus.emit("scroll-to:nav-item",{id:a.item.id})}let d=il(()=>{let e=s.value[l.value??-1];return e?`search-result-${e.item.id}`:void 0});return(r,p)=>(Ho(),Fo(qa(grt),{"aria-label":qa(a)("search.label"),state:e.modalState,variant:"search"},{default:sn(()=>[Xo("div",ata,[Fs(qa(pnt),{modelValue:qa(i),"onUpdate:modelValue":p[0]||=e=>za(i)?i.value=e:null,"aria-activedescendant":d.value,"aria-autocomplete":"list","aria-controls":n,"aria-describedby":o,clearLabel:qa(a)("search.clear"),label:qa(a)("search.inputLabel"),placeholder:qa(a)("search.placeholder"),role:"combobox",onBlur:p[1]||=e=>l.value=void 0,onKeydown:[p[2]||=Pc(Cc(e=>c("down"),["stop","prevent"]),["down"]),p[3]||=Pc(Cc(()=>u(l.value),["stop","prevent"]),["enter"]),p[4]||=Pc(Cc(e=>c("up"),["stop","prevent"]),["up"])]},null,8,["modelValue","aria-activedescendant","clearLabel","label","placeholder"])]),Fs(qa(jea),{id:n,"aria-label":qa(a)("search.results"),class:"custom-scroll px-1 pb-1",noResults:!qa(s).length},{query:sn(()=>[ei(Yt(qa(i)),1)]),default:sn(()=>[(Ho(!0),Qo(Bs,null,Xn(qa(s),(e,a)=>(Ho(),Fo(tta,{id:`search-result-${e.item.id}`,key:e.refIndex,isSelected:l.value===a,modelsSectionLabel:t.modelsSectionLabel,result:e,onClick:Cc(()=>u(a),["prevent"])},null,8,["id","isSelected","modelsSectionLabel","result","onClick"]))),128))]),_:1},8,["aria-label","noResults"]),Xo("div",{id:o,class:"ref-search-meta"},[Xo("span",rta,[Xo("span",null,"↑↓ "+Yt(qa(a)("search.navigate")),1),Xo("span",null,"⏎ "+Yt(qa(a)("search.select")),1)]),Xo("span",nta,Yt(qa(a)("search.instructions")),1)])]),_:1},8,["aria-label","state"]))}}),[["__scopeId","data-v-ae9b4ecb"]]);Bc(),EQe(),Snt(),ext(),_le(),Xk(),W();var ita={class:"sr-only"},sta={"aria-hidden":"true",class:"sidebar-search-placeholder"},lta={class:"sr-only"},cta={class:"sr-only"},uta=Cn({__name:"SearchButton",props:{forceIcon:{type:Boolean},searchHotKey:{default:"k"},hideModels:{type:Boolean},modelsSectionLabel:{default:()=>t},document:{},eventBus:{}},setup(e){let t=Ha(),a=prt(),{translate:r}=wLt(),n=Ha(!1);as(()=>{n.value=Sle()});let o=t=>{(Sle()?t.metaKey:t.ctrlKey)&&t.key===e.searchHotKey&&(t.preventDefault(),t.stopPropagation(),a.open?a.hide():a.show())};function i(){a.show()}return hn(()=>a.open,async(e,a)=>{!e&&a&&(await Kr(),t.value?.$el.focus())}),as(()=>window.addEventListener("keydown",o)),os(()=>window.removeEventListener("keydown",o)),(o,s)=>(Ho(),Qo(Bs,null,[e.forceIcon?(Ho(),Fo(qa(tQe),{key:0,icon:qa(Vb),label:qa(r)("search.label"),onClick:i},null,8,["icon","label"])):(Ho(),Fo(qa(lwt),{key:1,ref_key:"button",ref:t,class:tt(["w-full",o.$attrs.class]),shortcutLabel:qa(r)("search.keyboardShortcut"),onClick:i},{shortcut:sn(()=>[n.value?(Ho(),Qo(Bs,{key:0},[Xo("span",lta,Yt(qa(r)("search.command")),1),s[0]||=Xo("span",{"aria-hidden":"true"},"⌘",-1)],64)):(Ho(),Qo(Bs,{key:1},[Xo("span",cta,Yt(qa(r)("search.control")),1),s[1]||=Xo("span",{"aria-hidden":"true"},"⌃",-1)],64)),ei(" "+Yt(e.searchHotKey),1)]),default:sn(()=>[Xo("span",ita,Yt(qa(r)("search.open")),1),Xo("span",sta,Yt(qa(r)("search.label")),1)]),_:1},8,["class","shortcutLabel"])),Fs(ota,{document:e.document,eventBus:e.eventBus,modalState:qa(a),modelsSectionLabel:e.modelsSectionLabel},null,8,["document","eventBus","modalState","modelsSectionLabel"])],64))}});async function dta(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(()=>(HKe(),zKe));return t(e,{maxAliasCount:1e4,merge:!0})}}(e);if("json"===a)return JSON.stringify(r,null,2);let{stringify:n}=await Promise.resolve().then(()=>(HKe(),zKe));return n(r)}async function pta(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 dta(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)}Iat();eA(),RK(),Bc();var hta=(e,t)=>{let a={hooks:{}};return hn([()=>e.value.onBeforeRequest,()=>e.value.onRequestBuilt,()=>e.value.onRequestSent,()=>t.value],([e,t,r,n])=>{let o=gX(n);a.hooks||={},a.hooks.beforeRequest=e?async t=>{let a=lX(t.requestBuilder,{envVariables:o,allowMissingRequestServerBase:!0});a.ok?await e({request:RS(...a.data.requestPayload),requestBuilder:t.requestBuilder,envVariables:o}):console.error("[@scalar/api-reference] onBeforeRequest was not run because the request could not be built:",a.message??a.error)}:void 0,a.hooks.requestBuilt=t?async e=>{await t({request:e.request,requestBuilder:e.requestBuilder,envVariables:o})}:void 0,a.hooks.responseReceived=r?e=>{r(e.request.url)}:void 0},{immediate:!0}),[a]};Iat(),iie(),Bc();var mta=({config:e,store:t,isDarkMode:a})=>{hn(()=>Qa(e).defaultHttpClient,e=>{if(e){let{targetKey:a,clientKey:r}=e,n=`${a}/${r}`;p6e(n)&&t.update("x-scalar-default-client",n)}},{immediate:!0}),hn(()=>Qa(e).darkMode,e=>t.update("x-scalar-color-mode",e?"dark":"light")),hn(()=>a.value,e=>t.update("x-scalar-color-mode",e?"dark":"light"),{immediate:!0}),Qa(e).metaData&&function(e={},t={}){(t.head||zc()).use(Ye);let{title:a,titleTemplate:r,...n}=e;Hc({title:a,titleTemplate:r,_flatMeta:n},t)}(Qa(e).metaData),hn(()=>Qa(e).proxyUrl,e=>t.update("x-scalar-active-proxy",e),{immediate:!0}),Hoe(il(()=>Qa(e).favicon))};net(),sgt(),ne(),W();var fta=e=>!!e.url?.trim()||!!e.content,gta=e=>{let{slug:t}=aet(),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(fta).map((e,a)=>bta(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:vta(a)??{}}:{url:t}}}),r},vta=e=>e?"function"==typeof e?vta(e()):"string"==typeof e?jft(e):e:null,bta=(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}`};hK();Bc(),Oh(),wS(),ywt(),xwt(),ext(),K9e(),PY(),ne(),lPt(),W(),ayt(),gwt(),zot(),J(),rLt(),i7e(),RK(),aK(),iie();var yta=["dir","lang"],wta={key:1,class:"flex gap-1.5 px-3 pt-3"},xta={class:"no-underline hover:underline",href:"https://www.scalar.com",rel:"noopener noreferrer",target:"_blank"},Ota={key:1},kta=["aria-label","inert"],Sta={class:"w-64 empty:hidden"},Ata={key:3,class:"references-footer"};typeof window<"u"&&console.info("@scalar/api-reference@1.68.0");var Tta=q0t(Cn({__name:"ApiReference",props:{configuration:{}},setup(e,{expose:t}){let a=e,{copyToClipboard:r}=zbt(),n=Ha(!1);as(()=>{n.value=function(){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}()});let o=Z5e({debug:!1}),i=Ha(!1);!function(e){un(Gc,e)}(()=>En());let s=il(()=>gta(a.configuration)),l=il(()=>Object.keys(s.value).length>1),c=Ha(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=G8t(F8t(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=F8t(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(H8t(t)){let e=decodeURIComponent(a.hash);return e===t||e.startsWith(`${t}/`)}let r=Q8t(z8t(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=il(()=>Object.values(s.value).map(e=>({label:e.title,id:e.slug}))),p=Ha(""),h=Ha(""),m=il(()=>{let e=T.workspace.activeDocument;return FX(e)?e:null});hn(c,()=>{p.value="",h.value=""});let f=Ha({}),g=(e,t)=>{let a=vLt(e.localization),r=f.value.modelsSectionLabel??("Models"===t?.modelsSectionLabel?void 0:t?.modelsSectionLabel);return{...e,modelsSectionLabel:r??a.translations.models.label??"Models"}},v=il(()=>{let e=s.value[c.value]?.config,t={...d(I,{}),...e,...f.value};return g(t,e)}),b=(e=>{let t=yLt(e);return un(fLt,t),t})(()=>v.value.localization),y=il(()=>({...v.value,labels:{closeGroup:b.translate("navigation.closeGroup"),httpMethod:b.translate("common.httpMethod"),openGroup:b.translate("navigation.openGroup")}})),w=il(()=>b.locale.value.replace("_","-")),x=il(()=>v.value.pathRouting?.basePath),O=e=>X8t(e.id,x.value,l.value),k=il(()=>((e,t)=>{let{fonts:a=!0,layer:r="scalar-theme"}=t??{},n=[dPt[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, var(--scalar-background-1), transparent 10%);\n  --scalar-tooltip-color: var(--scalar-color-1);\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\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\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})(v.value.theme,{fonts:v.value.withDefaultFonts})),S=il(()=>`${v.value.customCss??""}\n${k.value}`.replace(/<\/style/gi,"<\\/style")),A=e=>e.flatMap(e=>{let t="children"in e&&e.children?A(e.children):[];return"webhook"===e.type?[{name:e.name,method:e.method,id:e.id},...t]:t});if(typeof window<"u"){let e=n4t(window.location.href,F9e(v.value.modelsSectionLabel??"Models"),c.value,l.value,v.value.pathRouting?.basePath);e&&window.history.replaceState({},"",e.toString())}if(v.value.redirect&&typeof window<"u"){let e=v.value.redirect((v.value.pathRouting?window.location.pathname:"")+window.location.hash);e&&window.history.replaceState({},"",e)}let T=aLt({verbose:!1}),_=aLt({verbose:!1,plugins:[O2t({persistAuth:()=>v.value.persistAuth??!1})]}),C=g2t({plugins:Object.values(s.value).flatMap(e=>e.config.plugins??[]),auth:{export:()=>_.auth.export(),getAuthSecrets:(e,t)=>cxt(_.auth.getAuthSecrets(e,t)),getAuthSelectedSchemas:e=>cxt(_.auth.getAuthSelectedSchemas(e))}});un(v2t,C),C.notifyInit(v.value),hn(v,e=>C.notifyConfigChange(e));let{toggleColorMode:E,isDarkMode:P}=uyt({initialColorMode:{true:"dark",false:"light",undefined:"system"}[String(v.value.darkMode)],overrideColorMode:v.value.forceDarkModeState}),M=il(()=>T.workspace.activeDocument),N=il(()=>C.getSidebarEntries(c.value).reduce((e,t)=>(e[t.viewName].push({id:t.id,title:t.label,type:"text"}),e),{"content.start":[],"content.end":[]})),$=e=>{let t=b.translate("navigation.introduction"),a=b.translate("navigation.webhooks"),r=v.value.modelsSectionLabel??"Models",n=e=>{let o=!1,i=e.map(e=>{let i=e;if(Uea(e)&&e.title!==t?i={...e,title:t}:"tag"!==e.type||!0!==e.isWebhooks||e.title===a&&e.name===a?"models"===e.type&&(e.title!==r||e.name!==r)&&(i={...e,title:r,name:r}):i={...e,title:a,name:a},"children"in e&&e.children){let t=n(e.children);t!==e.children&&(i=i===e?{...e}:i,i.children=t)}return i!==e&&(o=!0),i});return o?i:e};return n(e)},R=VEt(il(()=>Object.entries(T.workspace.documents).map(([e,t])=>{let a=t["x-scalar-navigation"]?.children??[],r=e===c.value?[...N.value["content.start"],...$(a),...N.value["content.end"]]:$(a);return{id:e,type:"document",description:t.info.description,name:t.info.title??e,title:t.info.title??e,children:r}})),{hooks:{}}),D=e=>{e.forEach(e=>{("tag"===e.type||"models"===e.type)&&R.setExpanded(e.id,!0),"children"in e&&e.children&&D(e.children)})},L=il(()=>{let e=v.value;if(!e)return[];let t=R.items.value.find(e=>e.id===c.value)?.children??[],a=m.value?((e,t,a)=>{if((({protocol:e,server:t})=>!(e&&"all"!==e||t&&"all"!==t))(a))return e;let r=PPt(t);return e.flatMap(e=>{let n=dLt(e,t,a,r);return n?[n]:[]})})(t,m.value,{protocol:p.value,server:h.value}):t;if(e.defaultOpenAllTags&&D(a),e.expandAllModelSections){let e=a.find(e=>"models"===e.type);e&&(R.setExpanded(e.id,!0),e.children?.forEach(e=>{R.setExpanded(e.id,!0)}))}return a}),B=il(()=>L.value.find(Uea)?.id??`${c.value}/description/introduction`),j=Ha(!0);as(()=>{j.value=!1});let U=Ha(""),z=il(()=>({breadcrumb:U.value})),H=e=>{let t=R.getEntryById(e);t&&"document"!==t.type?U.value=t.title:U.value=""},Z=il(()=>{let e=R.selectedItem.value;if(!e)return[];let t=[],a=R.getEntryById(e);for(;a;)"tag"===a.type&&(!0!==a.isTagGroup||"classic"===v.value.layout)&&t.unshift({id:a.id,title:a.title}),a=a.parent;return t}),V=e=>{H(e),R.setSelected(e),O4t(e,R.setExpanded,R.getEntryById)},q=e=>{let t=v.value?.setPageTitle,a=R.getEntryById(e);if(!t||typeof document>"u"||!a?.title)return;let r=T.workspace.activeDocument;document.title=t({title:a.title,document:{title:r?.info?.title??c.value,slug:c.value}})};mta({config:()=>v.value,store:T,isDarkMode:P}),mta({config:()=>v.value,store:_,isDarkMode:P});let Q=il(()=>XX(T,T.workspace.activeDocument??null).environment);typeof window<"u"&&(window.dataDumpWorkspace=()=>T),t({eventBus:o,workspaceStore:T,sidebarItems:L});let F=il(()=>(e=>{let t={},a=e=>{for(let r of e)"model"===r.type&&(t[r.name]??=r.id),"children"in r&&r.children?.length&&a(r.children)};return a(e),t})(L.value));o.on("scroll-to:model-by-name",({name:e})=>{let t=F.value[e];t&&V(t)});let W,G=async(e,t)=>{let a=await T.addDocument(e,t),r=_.workspace.documents[e.name],n=r&&"object"==typeof r?r["x-scalar-selected-server"]:void 0,o=(e=>typeof window>"u"?vY(e):window.structuredClone(e))(T.exportWorkspace().documents[e.name])??{openapi:"3.1.0",info:{title:"",version:""},"x-scalar-original-document-hash":""};return"string"==typeof n&&Object.assign(o,{"x-scalar-selected-server":n}),_.loadWorkspace({auth:{},documents:{[e.name]:o},intermediateDocuments:{},originalDocuments:{},overrides:{},history:{},meta:{}}),a},X=new Map,Y=e=>{if(T.workspace.documents[e])return Promise.resolve();let t=X.get(e);if(t)return t;let a=s.value[e];if(!a)return Promise.resolve();let r=g({...a.config,...f.value},a.config),n=(async()=>{let t=await G(a.source.url?{name:e,url:a.source.url,fetch:r.customFetch}:{name:e,document:a.source.content??{}},r),n=_.workspace.documents[e];if(!0===t&&QX(n)&&void 0===n["x-scalar-selected-server"]){let t=vK(a.config.servers??n.servers,{baseServerUrl:r.baseServerURL,documentUrl:a.source.url});t.length>0&&_.updateDocument(e,"x-scalar-selected-server",t[0].url)}!0===t&&r.defaultRequestBodyView&&QX(n)&&void 0===n["x-scalar-default-request-body-view"]&&_.updateDocument(e,"x-scalar-default-request-body-view",r.defaultRequestBodyView)})().finally(()=>{X.delete(e)});return X.set(e,n),n},K=!1,J=async(e,t)=>{let a=s.value[e];if(!a)return void console.warn(`Document ${e} not found in configList`);let r=g({...a.config,...f.value},a.config),n=r.onDocumentSelect?.();if(function(e,t,a){let r=G8t(t||e,a.pathRouting?.basePath,l.value);r&&window.history.replaceState({},"",r.toString()),c.value=e}(e,t,r),re.value?.route({documentSlug:e,method:"get",path:"/"}),await Y(e),T.update("x-scalar-active-document",e),_.update("x-scalar-active-document",e),t&&typeof window<"u"){let a=n4t(window.location.href,F9e(r.modelsSectionLabel??"Models"),e,l.value,r.pathRouting?.basePath,A(T.workspace.activeDocument?.["x-scalar-navigation"]?.children??[]));a&&(window.history.replaceState({},"",a.toString()),t=F8t(a.href,r.pathRouting?.basePath,l.value?void 0:e)||t)}if(r.persistAuth&&((e,t)=>{let a=x2t().getAuth(t);e.auth.load({[t]:a})})(_,e),(async()=>{await n,r.onLoaded?.(e)})(),t&&t!==e)V(t);else if(r.defaultOpenFirstTag){let e=L.value.find(e=>"tag"===e.type);e&&R.setExpanded(e.id,!0)}q(t&&t!==e?t:e)};hn(()=>Object.values(s.value),async(e,t)=>{let a=async(e,t)=>{let a=g({...e.config,...f.value},e.config),r=X.get(e.slug);if(r&&await r,T.workspace.documents[e.slug]){if(e.source.url&&e.source.url!==t?.source.url)return void await G({name:e.slug,url:e.source.url,fetch:a.customFetch},a);e.source.content&&oLt(e.source.content,t&&"content"in t.source?t.source.content??{}:{}).length&&await G({name:e.slug,document:e.source.content},a)}};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 J(r[0]??"")},{deep:!0}),ss(()=>J(c.value)),ts(async()=>{(e=>{let t=w2t().get();h6e(t)&&!e.workspace["x-scalar-default-client"]&&e.update("x-scalar-default-client",t)})(_),await J(c.value,F8t(window.location.href,s.value[c.value]?.config.pathRouting?.basePath,l.value?void 0:c.value)),(()=>{if(typeof window>"u")return;let e=Object.keys(s.value).filter(e=>!T.workspace.documents[e]),t=e=>{if("function"==typeof window.requestIdleCallback){let t=window.requestIdleCallback(e,{timeout:1500});W=()=>window.cancelIdleCallback(t)}else{let t=window.setTimeout(e,200);W=()=>window.clearTimeout(t)}},a=()=>{if(K)return;let r=e.shift();r&&Y(r).finally(()=>{K||t(a)})};t(a)})()});let ee=il(()=>s.value[c.value]?.source?.url),te=function(e){let t=Ha(!1),a=Ha(""),r={showAgent:t,agentEnabled:e.agentEnabled??il(()=>AF(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 OLt.value=r,r}({agentEnabled:il(()=>!s.value[c.value]?.agent?.disabled&&(!!(typeof window<"u"&&AF(window.location.href))||!!s.value[c.value]?.agent?.key))});un(xLt,te);let ae=Mn("modal"),re=Ha(null);as(async()=>{if(!ae.value)return;let{createApiClientModal:e}=await Promise.resolve().then(()=>(I0t(),$0t));ae.value&&(re.value=e({el:ae.value,eventBus:o,workspaceStore:_,options:v,plugins:[...C.getApiClientPlugins(),...hta(v,Q)]}))}),os(()=>{K=!0,W?.(),W=void 0,C.notifyDestroy(),re.value?.app.unmount()}),o.on("server:update:selected",({url:e})=>v.value.onServerChange?.(e)),o.on("asyncapi-server:update:selected",({name:e})=>{let t=_.workspace.activeDocument;if(!FX(t))return;let a=CPt(t,{webSocketOnly:!1}).find(t=>t.name===e);v.value.onServerChange?.(a?.url??e)}),o.on("ui:download:document",({format:e})=>{let t=T.exportActiveDocument(e);t?pta(t,c.value??"openapi",e):console.error("No document found to download")});let ne=(e,t)=>{let a=R.getEntryById(e);if(q(e),("tag"===a?.type||"models"===a?.type||"text"===a?.type)&&R.isExpanded(e)&&R.selectedItem.value===e){let t=g4t();return R.setExpanded(e,!1),void t()}"tag"!==a?.type&&"models"!==a?.type&&(i.value=!1),V(e);let r=G8t(e,x.value,l.value);r&&(window.history.pushState({},"",r),"sidebar"===t&&v.value.onSidebarClick?.(r.toString())),te.showAgent.value&&te.closeAgent()};o.on("select:nav-item",({id:e})=>ne(e)),o.on("scroll-to:nav-item",({id:e})=>ne(e)),o.on("intersecting:nav-item",({id:e})=>{if(!v4t.value)return;R.setSelected(e),H(e),q(e),GEt(e);let t=G8t(e,x.value,l.value);t&&T.workspace.activeDocument&&window.history.replaceState({},"",t.toString())}),o.on("toggle:nav-item",({id:e,open:t})=>{if(t){v.value.onShowMore?.(e);let t=R.getEntryById(e);if(t&&"children"in t&&t.children){let e=t.children[0];e&&y4t(e.id)}}R.setExpanded(e,t??!R.isExpanded(e))}),o.on("copy-url:nav-item",({id:e})=>{let t=G8t(e,x.value,l.value)?.toString();return t&&r(t)}),ts(()=>{window.history.scrollRestoration="manual",wyt(),window.addEventListener("popstate",()=>{let e=F8t(window.location.href,v.value.pathRouting?.basePath,l.value?void 0:c.value);e&&V(e)})});let oe=Mn("documentStartRef");P1t(oe,()=>{o.emit("intersecting:nav-item",{id:B.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 ie=il(()=>{let e=T.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}),se=function(e,t=!1){let a=Za(t),r=null,n="";hn(woe(e),e=>{let t=Zoe(Qa(e));if(t){let e=t;if(Joe.get(e)||Joe.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=Zoe(Qa(e));!t||a.value||(Eoe&&(r=$oe(t,"touchmove",e=>{qoe(e)},{passive:!1})),t.style.overflow="hidden",a.value=!0)},i=()=>{let t=Zoe(Qa(e));!t||!a.value||(Eoe&&r?.(),t.style.overflow=n,Joe.delete(t),a.value=!1)};return yoe(i),il({get:()=>a.value,set(e){e?o():i()}})}(typeof document<"u"?document.body:null);hn(te.showAgent,()=>se.value=te.showAgent.value);let le=il(()=>!v.value.mcp?.disabled&&!!(typeof window<"u"&&AF(window.location.href)||v.value.mcp));return(e,t)=>(Ho(),Qo("div",null,[(Ho(),Fo(Fn("style"),{innerHTML:S.value},null,8,["innerHTML"])),Xo("div",{ref:"documentEl",class:tt(["scalar-app scalar-api-reference references-layout",[{"scalar-api-references-standalone-mobile":v.value.showSidebar,"scalar-scrollbars-obtrusive":n.value,"references-editable":v.value.isEditable,"references-sidebar":v.value.showSidebar,"references-sidebar-mobile-open":i.value,"references-classic":"classic"===v.value.layout},e.$attrs.class]]),dir:qa(b).direction.value,lang:w.value},[qa(te).agentEnabled.value?(Ho(),Fo(qa(Q0t),{key:0,agentScalarConfiguration:s.value[c.value]?.agent,externalUrls:v.value.externalUrls,workspaceStore:qa(T)},null,8,["agentScalarConfiguration","externalUrls","workspaceStore"])):ai("",!0),"modern"===v.value.layout?(Ho(),Fo(C9t,{key:1,breadcrumb:U.value,isSidebarOpen:i.value,showSidebar:v.value.showSidebar,onToggleSidebar:t[5]||=()=>i.value=!i.value},{search:sn(()=>[v.value.hideSearch?ai("",!0):(Ho(),Fo(uta,{key:0,class:"my-2",document:M.value,eventBus:qa(o),hideModels:v.value.hideModels,modelsSectionLabel:v.value.modelsSectionLabel,searchHotKey:v.value.searchHotKey,showSidebar:v.value.showSidebar},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey","showSidebar"]))]),sidebar:sn(({sidebarClasses:a})=>[v.value.showSidebar&&"modern"===v.value.layout?(Ho(),Fo(qa(HEt),{key:0,"aria-label":qa(b).translate("navigation.sidebarFor",{name:qa(T).workspace.activeDocument?.info?.title??""}),class:tt(["t-doc__sidebar",a]),getHref:O,isExpanded:qa(R).isExpanded,isSelected:qa(R).isSelected,items:L.value,layout:"reference",options:y.value,onSelectItem:t[3]||=e=>ne(e,"sidebar"),onToggleGroup:t[4]||=e=>qa(R).setExpanded(e,!qa(R).isExpanded(e))},{header:sn(()=>[u.value.length>1?(Ho(),Fo(Pea,{key:0,modelValue:c.value,options:u.value,"onUpdate:modelValue":J},null,8,["modelValue","options"])):ai("",!0),v.value.hideSearch?ai("",!0):(Ho(),Qo("div",wta,[Fs(uta,{document:M.value,eventBus:qa(o),hideModels:v.value.hideModels,modelsSectionLabel:v.value.modelsSectionLabel,searchHotKey:v.value.searchHotKey},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey"]),qa(te).agentEnabled.value?(Ho(),Fo(qa(SLt),{key:0})):ai("",!0)])),Kn(e.$slots,"sidebar-start",at(Ko(z.value)),void 0,!0)]),before:sn(()=>[Fs(qa(cLt),{protocol:p.value,"onUpdate:protocol":t[0]||=e=>p.value=e,server:h.value,"onUpdate:server":t[1]||=e=>h.value=e,document:m.value},null,8,["protocol","server","document"]),m.value?(Ho(),Fo(qa(mwt),{key:0,class:"asyncapi-sidebar-document-section"},{default:sn(()=>[...t[8]||=[ei(" Document ",-1)]]),_:1})):ai("",!0)]),footer:sn(()=>[Kn(e.$slots,"sidebar-end",at(Ko(z.value)),()=>[Fs(qa(Nyt),{class:"darklight-reference"},{description:sn(()=>[Xo("a",xta,Yt(qa(b).translate("footer.poweredByScalar")),1)]),toggle:sn(()=>[v.value.hideDarkModeToggle||v.value.forceDarkModeState?(Ho(),Qo("span",Ota)):(Ho(),Fo(qa(Ybt),{key:0,modelValue:"dark"===ie.value,"onUpdate:modelValue":t[2]||=()=>qa(E)()},null,8,["modelValue"]))]),default:sn(()=>[v.value.hideClientButton||le.value?ai("",!0):(Ho(),Fo(qa(oS),{key:0,buttonSource:"sidebar",integration:v.value._integration,isDevelopment:qa(!1),url:ee.value},null,8,["integration","isDevelopment","url"])),le.value?(Ho(),Fo(qa(G0t),{key:1,config:v.value.mcp,externalUrls:v.value.externalUrls,isDevelopment:qa(!1),url:ee.value,workspace:qa(T)},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),j.value?(Ho(),Fo(S9t,{key:2,basePath:x.value,isMultiDocument:l.value,items:L.value,options:y.value},null,8,["basePath","isMultiDocument","items","options"])):ai("",!0),Xo("main",{"aria-label":qa(b).translate("navigation.mainContent",{name:qa(T).workspace.activeDocument?.info?.title??""}),class:"references-rendered",inert:qa(te).showAgent.value},[Fs(x9t,{authStore:qa(_).auth,clientDocument:qa(_).workspace.activeDocument,contextChain:Z.value,document:qa(T).workspace.activeDocument,documentSlug:c.value,environment:Q.value,eventBus:qa(o),expandedItems:qa(R).expandedItems.value,headingSlugGenerator:v.value.generateHeadingSlug??(e=>`${c.value}/description/${e.slug}`),infoSectionId:B.value,items:L.value,options:v.value,xScalarDefaultClient:qa(_).workspace["x-scalar-default-client"],xScalarDefaultExample:qa(_).workspace["x-scalar-default-example"]},Yn({start:sn(()=>[Xo("div",{ref_key:"documentStartRef",ref:oe},null,512),qa(T).workspace.activeDocument?(Ho(),Fo(qa(Tea),{key:0,overrides:f.value,"onUpdate:overrides":t[6]||=e=>f.value=e,class:"references-developer-tools",configuration:v.value,externalUrls:v.value.externalUrls,workspace:qa(T)},null,8,["overrides","configuration","externalUrls","workspace"])):ai("",!0),"classic"===v.value.layout?(Ho(),Fo(J0t,{key:1},{"dark-mode-toggle":sn(()=>[v.value.hideDarkModeToggle||v.value.forceDarkModeState?ai("",!0):(Ho(),Fo(qa(Wbt),{key:0,class:"text-c-2 hover:text-c-1",mode:ie.value,style:{transform:"scale(1.4)"},variant:"icon",onClick:t[7]||=()=>qa(E)()},null,8,["mode"]))]),default:sn(()=>[Xo("div",Sta,[u.value.length>1?(Ho(),Fo(Pea,{key:0,modelValue:c.value,options:u.value,"onUpdate:modelValue":J},null,8,["modelValue","options"])):ai("",!0)]),v.value.hideSearch?ai("",!0):(Ho(),Fo(uta,{key:0,class:"t-doc__sidebar max-w-64",document:M.value,eventBus:qa(o),hideModels:v.value.hideModels,modelsSectionLabel:v.value.modelsSectionLabel,searchHotKey:v.value.searchHotKey},null,8,["document","eventBus","hideModels","modelsSectionLabel","searchHotKey"]))]),_:1})):ai("",!0),Kn(e.$slots,"content-start",at(Ko(z.value)),void 0,!0)]),end:sn(()=>[Kn(e.$slots,"content-end",at(Ko(z.value)),void 0,!0)]),_:2},[v.value.isEditable?{name:"empty-state",fn:sn(()=>[Kn(e.$slots,"editor-placeholder",at(Ko(z.value)),void 0,!0)]),key:"0"}:void 0]),1032,["authStore","clientDocument","contextChain","document","documentSlug","environment","eventBus","expandedItems","headingSlugGenerator","infoSectionId","items","options","xScalarDefaultClient","xScalarDefaultExample"])],8,kta),e.$slots.footer?(Ho(),Qo("div",Ata,[Kn(e.$slots,"footer",at(Ko(z.value)),void 0,!0)])):ai("",!0),Xo("div",{ref_key:"modal",ref:ae},null,512)],10,yta),Fs(qa(Uot))]))}}),[["__scopeId","data-v-1450c140"]]),_ta=async e=>{try{let t=(await(e=>import(e))(e))?.default;return"function"!=typeof t?void console.error(`[@scalar/api-reference] The module at ${e} does not export an API Reference plugin as its default export.`):t}catch(t){return void console.error(`[@scalar/api-reference] Failed to load the plugin module at ${e}:`,t)}},Cta=e=>Array.isArray(e)?e:[e];ne(),Bc();var Eta=e=>e.getElementById("api-reference"),Pta="scalar-style",Mta=new WeakMap,Nta=e=>{let t=Mta.get(e);if(t)return t;let a={count:0,detachedStyle:null};return Mta.set(e,a),a};var $ta=(e,t)=>{let a=null,r=Eta(e);return r?(a=e.createElement("div"),r?.parentNode?.insertBefore(a,r)):t&&(a=t),a},Ita=(e,t)=>{let a=Pa({configuration:t??e??{}}),r=(e=!1)=>{let t=e?Dc(()=>hi(Tta,a)):Rc(()=>hi(Tta,a));return t.use(Zc()),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;if(t)if(n){let e=()=>{o.mount(n),i=!0,(e=>{let t=Nta(e);t.count+=1,t.detachedStyle&&!e.getElementById(Pta)&&(e.head.appendChild(t.detachedStyle),t.detachedStyle=null)})(document)};(e=>Cta(e).some(e=>!!e.pluginUrls?.length))(a.configuration)?(async e=>{let t=new Map,a=e=>{let a=t.get(e)??_ta(e);return t.set(e,a),a};await Promise.all(Cta(e).map(async e=>{if(!e.pluginUrls?.length)return;let t=(await Promise.all(e.pluginUrls.map(a))).filter(e=>void 0!==e);t.length&&(e.plugins=[...e.plugins??[],...t])}))})(a.configuration).then(()=>{s.signal.aborted||e()}):e()}else 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={},i&&(i=!1,o.unmount(),(e=>{let t=Nta(e);if(t.count=Math.max(0,t.count-1),t.count>0)return;let a=e.getElementById(Pta);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:Ita}),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=$ta(e,a||r);n&&Ita(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=Eta(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=Eta(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=Eta(e);if(t){let e=t.getAttribute("data-proxy-url");if(e)return e.trim()}};if(a||t||Eta(e)){let e=i()?{content:i()}:{url:o()};return L({_integration:"html",proxyUrl:s(),...n(),...e})}return L({_integration:"html"})}(document))});
//# sourceMappingURL=/sm/21c021bf9ad483cc5f83741382805ef387f74fc684159e14e8bd033fb933e9b1.map